Przeglądaj źródła

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

theo 3 lat temu
rodzic
commit
6cdb2b1d28

+ 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);