修正分支合并

This commit is contained in:
MrZ626
2020-12-03 21:38:17 +08:00
parent 37d7dd5fe0
commit 391b2a95d3
9 changed files with 72 additions and 87 deletions

View File

@@ -7,19 +7,16 @@ function keyDown.login(key)
elseif #password==0 then
LOG.print(text.noPassword)return
end
local res=json.encode{
email=email,
password=password,
}
if res then
httpRequest(
TICK.httpREQ_newLogin,
PATH.api..PATH.auth,
"GET",
{["Content-Type"]="application/json"},
res
)
end
httpRequest(
TICK.httpREQ_newLogin,
PATH.api..PATH.auth,
"GET",
{["Content-Type"]="application/json"},
json.encode{
email=email,
password=password,
}
)
elseif key=="escape"then
SCN.back()
else