소스 검색

Merge branch 'master' of http://git.huaml.com/zhh/huahuibao

林琦海 5 년 전
부모
커밋
b1bd3a9105
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      app-ghs/controllers/ApplyController.php

+ 1 - 2
app-ghs/controllers/ApplyController.php

@@ -35,13 +35,12 @@ class ApplyController extends BaseController
         $post['adminId'] = $this->adminId;
         $post['adminId'] = $this->adminId;
         $admin = $this->admin;
         $admin = $this->admin;
         if (isset($admin['currentShopId']) && !empty($admin['currentShopId'])) {
         if (isset($admin['currentShopId']) && !empty($admin['currentShopId'])) {
-            //util::fail('您已经是门店员工');
+            util::fail('您已经是门店员工');
         }
         }
         $post['adminName'] = $admin['name'] ?? '';
         $post['adminName'] = $admin['name'] ?? '';
         $post['long'] = isset($post['longitude']) ? $post['longitude'] : '';
         $post['long'] = isset($post['longitude']) ? $post['longitude'] : '';
         $post['lat'] = isset($post['latitude']) ? $post['latitude'] : '';
         $post['lat'] = isset($post['latitude']) ? $post['latitude'] : '';
         $post['from'] = ApplyClass::FROM_GHS;
         $post['from'] = ApplyClass::FROM_GHS;
-        dd($post);
         $name = $post['name'] ?? '';
         $name = $post['name'] ?? '';
         if (empty($name)) {
         if (empty($name)) {
             util::fail('名称不能为空');
             util::fail('名称不能为空');