...
|
...
|
@@ -104,7 +104,7 @@ func (c *AdminLoginController) Login() { |
|
|
|
|
|
//Login2 开发临时使用
|
|
|
func (c *AdminLoginController) Login2() {
|
|
|
newToken := `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTk4MzExNTQsImlhdCI6MTU5OTc4Nzk1NCwiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTU5OTc4Nzk1NCwidWlkIjozMjU0ODUxNzgyMTYzMjAwLCJjb21wYW55SWQiOjF9.GuBx5awkHtvgDddWLquzfRFam6FpkNlBvKXci7_gSYA`
|
|
|
newToken := `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDAwOTg5NzMsImlhdCI6MTYwMDA1NTc3MywiaXNzIjoibW1tX3BhcnRuZXJtZyIsIm5iZiI6MTYwMDA1NTc3MywidWlkIjozMjU0ODUxNzgyMTYzMjAwLCJjb21wYW55SWQiOjF9.UaV6XrZLH_XNB6L-Z8ueidCoGN1dou_kYcFAcK5r2-g`
|
|
|
returnData := map[string]interface{}{
|
|
|
"access": map[string]interface{}{
|
|
|
"accessToken": newToken,
|
...
|
...
|
|