wesmiler 1 hete
szülő
commit
8c270a2c6f
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      app/Models/ActionLogModel.php
  2. 1 1
      app/Services/Common/LoginService.php

+ 1 - 1
app/Models/ActionLogModel.php

@@ -73,7 +73,7 @@ class ActionLogModel extends BaseModel
                   `update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
                   `mark` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '有效标识:1正常 0删除',
                   PRIMARY KEY (`id`) USING BTREE
-                ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COMMENT='系统行为日志表';";
+                ) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='系统行为日志表';";
             DB::select($sql);
         }
         return $tbl;

+ 1 - 1
app/Services/Common/LoginService.php

@@ -133,7 +133,7 @@ class LoginService extends BaseService
         }
         // 密码校验
         $password = get_password($password . $username);
-        //var_dump($password);
+        var_dump($password);
         if ($password != $info['password']) {
             return message("您的登录密码不正确", false);
         }