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