...
|
...
|
@@ -44,7 +44,7 @@ func (controller *AuthController) MobileLogin() { |
|
|
// Login 手机端登录 获取authCode
|
|
|
func (controller *AuthController) Authorize() {
|
|
|
authService := &service.AuthService{}
|
|
|
loginCommand := &command.MobileLoginCommand{}
|
|
|
loginCommand := &command.AuthorizeCommand{}
|
|
|
_ = controller.Unmarshal(loginCommand)
|
|
|
resp, err := authService.Authorize(loginCommand)
|
|
|
controller.Response(resp, err)
|
...
|
...
|
|