Charlie 9 жил өмнө
parent
commit
992798727c

+ 1 - 1
www/protected/controllers/UserController.php

@@ -138,7 +138,7 @@ class UserController extends AdminController
         $user->name = $name;
 
         // 如果角色为技师
-        if (in_array('师', $roles)) {
+        if (in_array('保洁师', $roles)) {
             // 用户信息与美容师信息同步
             $techInfo = TechInfo::get($_id);
             if (!$techInfo) {