|
@@ -32,7 +32,7 @@ func NewEntAccountRecoveryLogic(ctx context.Context, svcCtx *svc.ServiceContext)
|
|
// EntAccountRecovery 权益收回
|
|
// EntAccountRecovery 权益收回
|
|
func (l *EntAccountRecoveryLogic) EntAccountRecovery(in *resourcesCenter.EntOperateReq) (*resourcesCenter.Response, error) {
|
|
func (l *EntAccountRecoveryLogic) EntAccountRecovery(in *resourcesCenter.EntOperateReq) (*resourcesCenter.Response, error) {
|
|
eCode, msg := func() (int64, string) {
|
|
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, "参数异常"
|
|
return entity.ErrorCode, "参数异常"
|
|
}
|
|
}
|
|
var (
|
|
var (
|