|
@@ -333,11 +333,10 @@ class Lave extends Api
|
|
$this->error('未找到签约信息!');
|
|
$this->error('未找到签约信息!');
|
|
}
|
|
}
|
|
$mch_id =Company::where('id', $where['cid'])->value('pay_weixin_mchid');
|
|
$mch_id =Company::where('id', $where['cid'])->value('pay_weixin_mchid');
|
|
-
|
|
+ $plan_id=$sign_info['plan_id'];
|
|
-
|
|
+ $contract_code=$sign_info['contract_code'];
|
|
- $contract_id=$sign_info['contract_id'];
|
|
|
|
|
|
|
|
- $rs=WechatService::deleteSign($mch_id,$contract_id,'1.0',[],$where['cid']);
|
|
+ $rs=WechatService::deleteSign($mch_id,$contract_code,$plan_id,'1.0',[],$where['cid']);
|
|
@file_put_contents("quanju.txt", json_encode($rs)."-解除签约返回结果\r\n", 8);
|
|
@file_put_contents("quanju.txt", json_encode($rs)."-解除签约返回结果\r\n", 8);
|
|
$this->success('解除签约成功!');
|
|
$this->success('解除签约成功!');
|
|
|
|
|