添加门店管理员获取信息接口、调整微信登录账号生成逻辑
This commit is contained in:
15
api/storeAdmin/storeAdmin.go
Normal file
15
api/storeAdmin/storeAdmin.go
Normal file
@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package storeAdmin
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"server/api/storeAdmin/v1"
|
||||
)
|
||||
|
||||
type IStoreAdminV1 interface {
|
||||
Info(ctx context.Context, req *v1.InfoReq) (res *v1.InfoRes, err error)
|
||||
}
|
||||
12
api/storeAdmin/v1/storeAdmin.go
Normal file
12
api/storeAdmin/v1/storeAdmin.go
Normal file
@ -0,0 +1,12 @@
|
||||
package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
type InfoReq struct {
|
||||
g.Meta `path:"/store/info" method:"get" tags:"StoreAdmin" summary:"(门店管理员)获取门店管理员信息"`
|
||||
}
|
||||
|
||||
type InfoRes struct {
|
||||
Id int64 `json:"id"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
Reference in New Issue
Block a user