|
|
@@ -127,17 +127,17 @@ class StoreOrderTakeServices extends BaseServices
|
|
|
$storeTitle = Str::substrUTf8($storeName, 20, 'UTF-8', '');
|
|
|
|
|
|
$res = $this->transaction(function () use ($order, $userInfo, $storeTitle) {
|
|
|
- //赠送积分
|
|
|
- $res1 = $this->gainUserIntegral($order, $userInfo, $storeTitle);
|
|
|
- //返佣
|
|
|
- $res2 = $this->backOrderBrokerage($order, $userInfo);
|
|
|
- //经验
|
|
|
- $res3 = $this->gainUserExp($order, $userInfo);
|
|
|
- //事业部
|
|
|
- $res4 = $this->divisionBrokerage($order, $userInfo);
|
|
|
- if (!($res1 && $res2 && $res3 && $res4)) {
|
|
|
- throw new ApiException(410205);
|
|
|
- }
|
|
|
+// //赠送积分
|
|
|
+// $res1 = $this->gainUserIntegral($order, $userInfo, $storeTitle);
|
|
|
+// //返佣
|
|
|
+// $res2 = $this->backOrderBrokerage($order, $userInfo);
|
|
|
+// //经验
|
|
|
+// $res3 = $this->gainUserExp($order, $userInfo);
|
|
|
+// //事业部
|
|
|
+// $res4 = $this->divisionBrokerage($order, $userInfo);
|
|
|
+// if (!($res1 && $res2 && $res3 && $res4)) {
|
|
|
+// throw new ApiException(410205);
|
|
|
+// }
|
|
|
return true;
|
|
|
}, $isTran);
|
|
|
|