...
|
...
|
@@ -2,6 +2,7 @@ package controllers |
|
|
|
|
|
import (
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/application/auth"
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/log"
|
|
|
"gitlab.fjmaimaimai.com/mmm-go/partner/pkg/protocol"
|
|
|
"time"
|
|
|
)
|
...
|
...
|
@@ -27,7 +28,11 @@ func (this *AuthController) Login() { |
|
|
return
|
|
|
}
|
|
|
header := this.GetRequestHeader(this.Ctx)
|
|
|
msg = protocol.NewReturnResponse(auth.Login(header, request))
|
|
|
data, err := auth.Login(header, request)
|
|
|
if err != nil {
|
|
|
log.Error(err)
|
|
|
}
|
|
|
msg = protocol.NewReturnResponse(data, err)
|
|
|
}
|
|
|
|
|
|
//SmsCode
|
...
|
...
|
|