添加:手动打款 日志信息
This commit is contained in:
parent
4875d920f1
commit
6aef8bd411
|
|
@ -668,10 +668,12 @@ class PayedService
|
|||
*
|
||||
* @return bool
|
||||
*/
|
||||
private function manualWithdrawPay()
|
||||
{
|
||||
if($this->withdrawModel->manual_type == 4){
|
||||
private function manualWithdrawPay(){
|
||||
|
||||
// 第三方代发(汇优财)
|
||||
\Log::debug('------- 灵活务工 - 手动打款 - 打款类型 -----',$this->withdrawModel->manual_type);
|
||||
if($this->withdrawModel->manual_type == 4){
|
||||
try{
|
||||
$staff = UseStaff::getSingleInfo(['uid'=>$this->withdrawModel->member_id]);
|
||||
$info = [
|
||||
'uid' => $this->withdrawModel->member_id,
|
||||
|
|
@ -682,6 +684,9 @@ class PayedService
|
|||
$result = (new ExternalApi())->salaryModelOutOrder($info);
|
||||
if((int)$result['respCode'] === 2) return true;
|
||||
else throw new ShopException($result['respDesc']);
|
||||
}catch(\Exception $e){
|
||||
\Log::debug('------- 灵活务工 - 确认打款错误 -----',$e->getMessage());
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue