Browse Source

提示语

shish 2 năm trước cách đây
mục cha
commit
0c8a84644a

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -845,7 +845,7 @@ class OrderController extends BaseController
 
 
         CustomClass::valid($custom, $this->shopId);
         CustomClass::valid($custom, $this->shopId);
         if (isset($custom['mainId']) && !empty($custom['mainId']) && $custom['mainId'] == $custom['ownMainId']) {
         if (isset($custom['mainId']) && !empty($custom['mainId']) && $custom['mainId'] == $custom['ownMainId']) {
-            util::fail('不能给自己的零售店开单');
+            util::fail('不能自己给自己开单');
         }
         }
         $post['ghsId'] = $custom['ghsId'] ?? 0;
         $post['ghsId'] = $custom['ghsId'] ?? 0;
         $post['customMobile'] = $custom['mobile'] ?? '';
         $post['customMobile'] = $custom['mobile'] ?? '';