实现商户注册、管理员审核商户申请接口
This commit is contained in:
5
internal/controller/merchantAdmin/merchantAdmin.go
Normal file
5
internal/controller/merchantAdmin/merchantAdmin.go
Normal file
@ -0,0 +1,5 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package merchantAdmin
|
||||
15
internal/controller/merchantAdmin/merchantAdmin_new.go
Normal file
15
internal/controller/merchantAdmin/merchantAdmin_new.go
Normal file
@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package merchantAdmin
|
||||
|
||||
import (
|
||||
"server/api/merchantAdmin"
|
||||
)
|
||||
|
||||
type ControllerV1 struct{}
|
||||
|
||||
func NewV1() merchantAdmin.IMerchantAdminV1 {
|
||||
return &ControllerV1{}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package merchantAdmin
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/gogf/gf/v2/errors/gcode"
|
||||
"github.com/gogf/gf/v2/errors/gerror"
|
||||
|
||||
"server/api/merchantAdmin/v1"
|
||||
)
|
||||
|
||||
func (c *ControllerV1) MerchantAdminInfo(ctx context.Context, req *v1.MerchantAdminInfoReq) (res *v1.MerchantAdminInfoRes, err error) {
|
||||
return nil, gerror.NewCode(gcode.CodeNotImplemented)
|
||||
}
|
||||
Reference in New Issue
Block a user