|
|
@@ -256,7 +256,7 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
//尾款结算1 //尾款结算3
|
|
|
//获取工单信息
|
|
|
$request = $this->request->param();
|
|
|
-// $request = json_decode('{"opBizCode":"AE7MKOJAV67338LIC3UD0K5TGIO","msgType":"5810031","developerId":"114657","businessId":"58","sign":"1cd993779d2e835ef3582c5e424d52b1d580b2da","msgId":"6219413406543364268","message":"{\"orderId\":\"61374467\",\"verifyStatus\":\"2\",\"verifyChannel\":\"1\",\"type\":\"2\",\"serialNumber\":\"5831711557\"}","timestamp":"1741600285"}',true);
|
|
|
+// $request = json_decode('{"opBizCode":"AE7MKOJAV67338LIC3UD0K5TGIO","msgType":"5810031","developerId":"114657","businessId":"58","sign":"d43ab164d41859ce7df2894e3e8f086d0c3182cb","msgId":"-1355174693375827369","message":"{\"orderId\":\"61659141\",\"verifyStatus\":\"2\",\"verifyChannel\":\"1\",\"type\":\"2\",\"serialNumber\":\"7843863751\"}","timestamp":"1741927727"}',true);
|
|
|
Log::write('预订核销同步:'.json_encode($this->request->param(),JSON_UNESCAPED_UNICODE));
|
|
|
if(!empty($request['message'])){
|
|
|
Db::startTrans();
|
|
|
@@ -272,6 +272,7 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
$work = ServiceWork::where('id',$order['work_id'])->findOrEmpty();
|
|
|
$order->verifyStatus = 2;
|
|
|
$order->save();
|
|
|
+
|
|
|
if(!$work->isEmpty()){
|
|
|
$work->work_pay_status = WorkEnum::IS_PAY_STATUS;
|
|
|
$orders = \app\common\model\orders\RechargeOrder::where(['work_id'=>$order->work_id])->select()->toArray();
|