Commit 441afa8ca710694abab8e27476e1ba1f84473001
1 parent
95bfb593
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
| ... | ... | @@ -169,7 +169,7 @@ func CheckErr(err error) { |
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | func startServerHttpServe() { |
| 172 | - http.HandleFunc("/happycat/login", UserLogin) //登录 | |
| 172 | + http.HandleFunc("/api/account/login", UserLogin) //登录 | |
| 173 | 173 | http.HandleFunc("/happycat/getuserdata", GetUserData) //拉取用户数据 |
| 174 | 174 | http.HandleFunc("/happycat/exchangetwoPos", ExchangePos) //交换位置 |
| 175 | 175 | http.HandleFunc("/happycat/clickcatbox", ClickCatBox) //请求点击猫箱子 | ... | ... |