新增一系列接口
This commit is contained in:
@@ -35,6 +35,10 @@ func (p DefParty) login() web_iris.Party {
|
||||
body, _ := io.ReadAll(ctx.Request().Body)
|
||||
var loginRequest LoginRequest
|
||||
json.Unmarshal(body, &loginRequest)
|
||||
if len(loginRequest.Code) == 0 {
|
||||
ParamError.Fail(ctx, nil)
|
||||
return
|
||||
}
|
||||
//获取code
|
||||
/*info, err := utils.GetWxUserInfo(loginRequest.Code)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user