浏览代码

子商户进件小微加随机数

lcl 5 月之前
父节点
当前提交
317a857f9e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Areas/Api/Controllers/Main/MerchantAddInfoController.cs

+ 4 - 0
Areas/Api/Controllers/Main/MerchantAddInfoController.cs

@@ -256,6 +256,10 @@ namespace MySystem.Areas.Api.Controllers.v1
             {
             {
                 if(sub)
                 if(sub)
                 {
                 {
+                    if (SubjectType == "SUBJECT_TYPE_SMALL")
+                    {
+                        CertMerchantName += function.get_Random(00000000, 99999999);
+                    }
                     Dictionary<string, object> Fiel = new Dictionary<string, object>();
                     Dictionary<string, object> Fiel = new Dictionary<string, object>();
                     Fiel.Add("CertMerchantName", CertMerchantName);
                     Fiel.Add("CertMerchantName", CertMerchantName);
                     int ParentId = MerchantAddInfoId;
                     int ParentId = MerchantAddInfoId;