소스 검색

wip:新增企业套餐id

wangkaiyue 1 년 전
부모
커밋
13e10266a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rpc/internal/logic/entaccountrecoverylogic.go

+ 1 - 1
rpc/internal/logic/entaccountrecoverylogic.go

@@ -32,7 +32,7 @@ func NewEntAccountRecoveryLogic(ctx context.Context, svcCtx *svc.ServiceContext)
 // EntAccountRecovery 权益收回
 func (l *EntAccountRecoveryLogic) EntAccountRecovery(in *resourcesCenter.EntOperateReq) (*resourcesCenter.Response, error) {
 	eCode, msg := func() (int64, string) {
-		if config.ConfigJson.ProductMap[in.ResourceType] == nil || in.CompanyId == 0 || in.OperateAccountId == "" || in.EmpowerId == 0 {
+		if config.ConfigJson.ProductMap[in.ResourceType] == nil || in.CompanyId == 0 || in.OperateAccountId == "" {
 			return entity.ErrorCode, "参数异常"
 		}
 		var (