Browse Source

工程师加单逻辑

whitefang 1 year ago
parent
commit
30f6cc733e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/api/controller/ServiceOrderController.php

+ 2 - 0
app/api/controller/ServiceOrderController.php

@@ -4,6 +4,7 @@ namespace app\api\controller;
 use app\api\lists\recharge\ServiceOrderLists;
 use app\api\logic\ServiceOrderLogic;
 use app\api\validate\ServiceOrderValidate;
+use think\facade\Log;
 
 /**
  * 订单类
@@ -58,6 +59,7 @@ class ServiceOrderController extends BaseApiController
             'terminal' => $this->userInfo['terminal'],
             'user_info' => $this->userInfo
         ]);
+        Log::write(json_encode($params,JSON_UNESCAPED_UNICODE));
         $result = ServiceOrderLogic::submitOrder($params);
         if (false === $result) {
             return $this->fail(ServiceOrderLogic::getError());