|
|
@@ -191,6 +191,8 @@ class UserController extends FrontController
|
|
|
if (empty($name)) return $this->apiResponseError( '名称必填');
|
|
|
if (mb_strlen($name) > 10) return $this->apiResponseError('名称10字以内');
|
|
|
|
|
|
+ if (!empty($industry) && mb_strlen($industry) > 100) return $this->apiResponseError('行业信息过长');
|
|
|
+
|
|
|
if (empty($phone)) return $this->apiResponseError( '手机号必填');
|
|
|
if (!CommonServer::creatServer()->verifyPhoneNumber($phone)) {
|
|
|
return $this->apiResponseError('手机号格式错误');
|