This commit is contained in:
damonyuan 2024-11-09 11:33:10 +08:00
parent 4d0d3933c4
commit 091ec422be
2 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@ public class LoginServiceImpl implements ILoginService {
*/
@Override
public LoginTokenVo accountLogin(LoginPwdValidate loginPwdValidate) {
log.error("test_accountLogin");
JSONArray config = JSONArray.parseArray(ConfigUtils.get("login", "login_way", "[]"));
if (config.contains(loginPwdValidate.getScene().toString()) == false) {
throw new OperateException("不支持的登录方式");

View File

@ -197,7 +197,7 @@ public class PcServiceImpI implements IPcService {
website.put("pc_keywords", ConfigUtils.get("website", "pc_keywords", ""));
response.put("admin_url", "");
response.put("admin_url", "111");
response.put("copyright", copyrightMap);
response.put("domain", UrlUtils.domain());
response.put("login", loginMap);