修改默认登录文件名称,并修改文件中的代码
This commit is contained in:
parent
6177a66193
commit
dd364d7ad1
|
|
@ -3,7 +3,7 @@
|
|||
######################################################
|
||||
#用户认证登陆相关
|
||||
location /api/user {
|
||||
content_by_lua_file '${APP_PATH}/src/api/system/auth.lua';
|
||||
content_by_lua_file '${APP_PATH}/src/api/system/login.lua';
|
||||
}
|
||||
|
||||
#账号信息数据接口
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
--解析url路由过滤库
|
||||
local radix = require("resty.radixtree")
|
||||
--数据表业务处理
|
||||
local authService = require("service.system.auth")
|
||||
local authService = require("service.system.login")
|
||||
|
||||
--定义相关路由,前端接口url地址
|
||||
local routes = {
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
--- DateTime: 2025/10/28 11:09
|
||||
--- 用于
|
||||
local resp = require("util.response")
|
||||
local authDao = require("dao.auth")
|
||||
local validator = require("validator.system.auth")
|
||||
local authDao = require("dao.login")
|
||||
local validator = require("validator.system.login")
|
||||
local cjson = require("cjson.safe")
|
||||
local token = require("util.token")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user