You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
<?php
|
|
|
|
namespace app\admin\controller;
|
|
|
|
use app\admin\service\WithdrawService;
|
|
|
|
class Withdraw extends AdminBaseController
|
|
{
|
|
|
|
public function index()
|
|
{
|
|
$service = new WithdrawService();
|
|
$result = $service->index($this->request->param(),$this->getAdminId());
|
|
return json($result);
|
|
}
|
|
public function info()
|
|
{
|
|
$service = new WithdrawService();
|
|
$result = $service->info($this->request->param(),$this->getAdminId());
|
|
return json($result);
|
|
}
|
|
public function change_status()
|
|
{
|
|
$service = new WithdrawService();
|
|
$result = $service->change_status($this->request->param(),$this->getAdminId());
|
|
return json($result);
|
|
}
|
|
public function get_balance()
|
|
{
|
|
$service = new WithdrawService();
|
|
$result = $service->get_balance($this->request->param(),$this->getAdminId());
|
|
return json($result);
|
|
}
|
|
public function channel_list()
|
|
{
|
|
$service = new WithdrawService();
|
|
$result = $service->channel_list($this->request->param(),$this->getAdminId());
|
|
return json($result);
|
|
}
|
|
|
|
}
|