|
@@ -74,6 +74,20 @@ class ApiNewCommissionPartner extends BaseController
|
|
|
$data = $this->partnerTool->getCommissionBalanceDetail($this->customerData["id"],$selectParams);
|
|
|
parent::sendOutput($data);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 获取提现记录
|
|
|
+ */
|
|
|
+ public function getPartnerApplyCashList(){
|
|
|
+ $params = $this->request->getRawJson();
|
|
|
+ if(empty($params)){
|
|
|
+ parent::sendOutput('参数为空', ErrorCode::$paramError);
|
|
|
+ }
|
|
|
+ $pageParams = pageToOffset($params['page'] ?: 1, $params['pageSize'] ?: 10);
|
|
|
+ $selectParams['limit'] = $pageParams['limit'];
|
|
|
+ $selectParams['offset'] = $pageParams['offset'];
|
|
|
+ $data = $this->partnerTool->getCommissionBalanceDetail($this->customerData["id"],$selectParams);
|
|
|
+ parent::sendOutput($data);
|
|
|
+ }
|
|
|
|
|
|
public function partnerApplyCash(){
|
|
|
// $cache = Factory::cache('systask');
|