|
|
@@ -210,7 +210,7 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
//尾款结算2--维修的尾款订单信息增加
|
|
|
//获取工单信息
|
|
|
$request = $this->request->param();
|
|
|
-// $request = json_decode('{"opBizCode":"AE7MKOJAV67338LIC3UD0K5TGIO","msgType":"5810029","developerId":"114657","businessId":"58","sign":"01b0ddb70d91a22d7e22f04935e938413142e16e","msgId":"7475175529296583912","message":"{\"orderId\":\"61374467\",\"addPriceStatus\":\"0\",\"serialNumber\":\"8283252725\",\"amount\":\"1.00\"}","timestamp":"1741600285"}',true);
|
|
|
+// $request = json_decode('{"opBizCode":"AE7MKOJAV67338LIC3UD0K5TGIO","msgType":"5810029","developerId":"114657","businessId":"58","sign":"7f936c6c65ee05fa50a105fdc7bbb2652ccfe9b6","msgId":"2993785907604100573","message":"{\"orderId\":\"62737288\",\"addPriceStatus\":\"0\",\"serialNumber\":\"5962563697\",\"amount\":\"9.90\"}","timestamp":"1742907755"}',true);
|
|
|
Log::write('补价支付结果:'.json_encode($this->request->param(),JSON_UNESCAPED_UNICODE));
|
|
|
if(!empty($request['message'])){
|
|
|
Db::startTrans();
|
|
|
@@ -232,7 +232,7 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
if(count($orders)==1){
|
|
|
//判断是否是一口价预支付订单,支付成功后生成尾款订单,针对工程师未报价的订单
|
|
|
$good_order = $orders[0];
|
|
|
- $order_goods = OrderGoods::where('sn',$good_order->sn)->findOrEmpty();
|
|
|
+ $order_goods = OrderGoods::where('sn',$good_order['sn'])->findOrEmpty();
|
|
|
if(!$order_goods->isEmpty()){
|
|
|
//新增待支付尾款
|
|
|
$order_data = [
|
|
|
@@ -268,7 +268,7 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
//尾款结算1 //尾款结算3
|
|
|
//获取工单信息
|
|
|
$request = $this->request->param();
|
|
|
-// $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);
|
|
|
+// $request = json_decode('{"opBizCode":"AE7MKOJAV67338LIC3UD0K5TGIO","msgType":"5810031","developerId":"114657","businessId":"58","sign":"013a53f59601e5f7dd5fa1f716127384e24dbdd3","msgId":"-7483972612472674819","message":"{\"orderId\":\"62737288\",\"verifyStatus\":\"2\",\"verifyChannel\":\"1\",\"type\":\"2\",\"serialNumber\":\"1315233958\"}","timestamp":"1742907756"}',true);
|
|
|
Log::write('预订核销同步:'.json_encode($this->request->param(),JSON_UNESCAPED_UNICODE));
|
|
|
if(!empty($request['message'])){
|
|
|
Db::startTrans();
|