Explorar o código

报单,推荐人和安置人编号前后去空格1695

theo %!s(int64=3) %!d(string=hai) anos
pai
achega
6cdb2b1d28
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      frontendApi/modules/v1/controllers/UserController.php

+ 3 - 1
frontendApi/modules/v1/controllers/UserController.php

@@ -348,7 +348,9 @@ class UserController extends BaseController {
             $post['province'] = $post['province'] ? :1;
             $post['city'] = $post['city'] ? :1;
             $post['county'] = $post['county'] ? :1;
-
+            $post['conUserName'] = trim($post['conUserName']);
+            $post['recUserName'] = trim($post['recUserName']);
+            
             // 针对于会员编号的判断
             $insertUserName = strtoupper($post['insertUserName']);
             $getRedisUserName = $redis->get('key_'.$insertUserName);