Commit ce25a6e8 authored by liudong1993's avatar liudong1993

1

parent c0adf10e
...@@ -136,6 +136,7 @@ namespace Mall.Module.User ...@@ -136,6 +136,7 @@ namespace Mall.Module.User
{ {
var model = smallShops_InfoRepository.GetEntity(smallShopsId); var model = smallShops_InfoRepository.GetEntity(smallShopsId);
if (model == null) { return false; } if (model == null) { return false; }
if (model.AuditStatus != DistributorAuditStatusEnum.Audited) { return false; }
Dictionary<string, object> keyValues = new Dictionary<string, object>() { Dictionary<string, object> keyValues = new Dictionary<string, object>() {
{ nameof(RB_SmallShops_Info.UpdateDate),DateTime.Now}, { nameof(RB_SmallShops_Info.UpdateDate),DateTime.Now},
{ nameof(RB_SmallShops_Info.Commission),commission}, { nameof(RB_SmallShops_Info.Commission),commission},
......
...@@ -205,6 +205,7 @@ namespace Mall.WebApi.Controllers.User ...@@ -205,6 +205,7 @@ namespace Mall.WebApi.Controllers.User
return ApiResult.Failed(); return ApiResult.Failed();
} }
} }
#endregion #endregion
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment