实现商户注册、管理员审核商户申请接口

This commit is contained in:
2025-06-04 15:10:56 +08:00
parent 00b889cfcc
commit caf3d42fe5
63 changed files with 1195 additions and 294 deletions

View File

@ -0,0 +1,20 @@
package consts
// 商户状态
const (
MerchantNormalStatus = iota + 1
MerchantDisabledStatus
)
// 商户审核状态
const (
MerchantPendingReview = iota
MerchantReviewPassed
MerchantReviewRejected
)
// 商户注册类型
const (
MerchantRegisterByAdmin = iota + 1
MerchantRegisterBySelf
)