feat(app): update
This commit is contained in:
18
pkg/dto/request/RefreshAccessTokenRequest.go
Normal file
18
pkg/dto/request/RefreshAccessTokenRequest.go
Normal file
@ -0,0 +1,18 @@
|
||||
package request
|
||||
|
||||
import "errors"
|
||||
|
||||
type RefreshAccessTokenRequest struct {
|
||||
BaseRequest
|
||||
}
|
||||
|
||||
// 注册用户信息签名验证
|
||||
func (request *RefreshAccessTokenRequest) CheckParameter() (err error) {
|
||||
|
||||
if len(request.AccessToken) == 0 {
|
||||
err = errors.New("AccessToken不能为空")
|
||||
return
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user