17 lines
456 B
Smarty
17 lines
456 B
Smarty
|
package {{.PackageName}}
|
||
|
|
||
|
import (
|
||
|
"fusen-basic/basic"
|
||
|
"{{.ProjectName}}/gen/go/service"
|
||
|
)
|
||
|
|
||
|
func (l *{{.StructName}}) {{.MethodName}}Logic(req {{.ParamReq}}, userinfo *basic.UserInfo) (resp *basic.Response[{{.MethodResponse}}]) {
|
||
|
return resp.Set(basic.CodeOK)
|
||
|
}
|
||
|
|
||
|
|
||
|
// 自定义验证校验方法 VaildUserInfoHandler
|
||
|
// func (h *{{.MethodName}}Handler) VaildUserInfoHandler(ctx context.Context) *basic.UserInfo {
|
||
|
// return basic.ValidUserInfo(ctx)
|
||
|
// }
|