Browse Source

订单立即评价调整

zhangxiaobin 1 year ago
parent
commit
bba3ae961b
2 changed files with 2 additions and 1 deletions
  1. 1 0
      application/api/controller/Dispatch.php
  2. 1 1
      application/api/controller/Noble.php

+ 1 - 0
application/api/controller/Dispatch.php

@@ -690,6 +690,7 @@ class Dispatch extends Common
                 // 更新订单状态
                 $data = [];
                 $data["status"] = $status;
+                $data["is_comment"] = 1;//要求直接自动已评价,为了前端不显示立即评价按钮
                 $where = [];
                 $where["order_no"] = $order_no;
                 $res4 = $orderModel->update($data,$where);

+ 1 - 1
application/api/controller/Noble.php

@@ -242,7 +242,7 @@ class Noble extends Api
             'partyNotice' => $partyNotice,
         ];
         $tcpJson = json_encode($tcpArr);
-        //Gateway::sendToAll($tcpJson);//暂时注释
+        Gateway::sendToAll($tcpJson);//暂时注释
 
     }