Commit e4b3dfd2 authored by 吴春's avatar 吴春

提交和平商旅设置默认的自定义表单

parent a59cc434
...@@ -2941,7 +2941,11 @@ namespace Mall.Module.Product ...@@ -2941,7 +2941,11 @@ namespace Mall.Module.Product
} }
//进阶小课堂扩展字段 //进阶小课堂扩展字段
var eduData = goodsRepository.ParsingEduJsonRepository(gmodel.EduJsonData); var eduData = goodsRepository.ParsingEduJsonRepository(gmodel.EduJsonData);
var customFormModel = customFormList?.FirstOrDefault(x => x.Id == gmodel.FormsId); Model.Extend.TradePavilion.RB_Custom_Form_Extend customFormModel = new Model.Extend.TradePavilion.RB_Custom_Form_Extend();
if (customFormList != null && customFormList.Any())
{
customFormModel = customFormList?.FirstOrDefault(x => x.Id == gmodel.FormsId);
}
goods_list.Add(new goods_list.Add(new
{ {
id = gmodel.Id, id = gmodel.Id,
...@@ -3011,7 +3015,7 @@ namespace Mall.Module.Product ...@@ -3011,7 +3015,7 @@ namespace Mall.Module.Product
sign = "", sign = "",
confine_order_count = gmodel.LimitBuyOrderNum,//限制订单数量 confine_order_count = gmodel.LimitBuyOrderNum,//限制订单数量
form_id = gmodel.FormsId,//表单id form_id = gmodel.FormsId,//表单id
form_data_json = (customFormModel?.Id ?? 0) > 0 ? AnalyzeFormComponent(customFormModel.FormData, isGetAnswer: false) : new List<Model.Extend.TradePavilion.FormDataItem>(), form_data_json = (customFormModel?.Id ?? 0) > 1 ? AnalyzeFormComponent(customFormModel.FormData, isGetAnswer: false) : AnalyzeFormComponent(Mall.Common.Config.CustomerForms, isGetAnswer: false),
marketingLogo = JsonHelper.Serialize(tempLogo), marketingLogo = JsonHelper.Serialize(tempLogo),
}); });
} }
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"ApiExpirTime": 2592000, "ApiExpirTime": 2592000,
"AllowedHosts": "*", "AllowedHosts": "*",
"OpenValidation": "False", "OpenValidation": "False",
"UploadSiteUrl": "http://192.168.2.214:8120", "UploadSiteUrl": "http://192.168.10.214:8120",
"ViewFileSiteUrl": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com", "ViewFileSiteUrl": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com",
"ImKey": "b612b31e837c79c68f141aeb719d2b20", "ImKey": "b612b31e837c79c68f141aeb719d2b20",
"ImSecret": "66000451fb72", "ImSecret": "66000451fb72",
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
"ProjectUrl": "D:/project/GitProject/tripfriend", "ProjectUrl": "D:/project/GitProject/tripfriend",
"DeveloperKitsPort": "63994", "DeveloperKitsPort": "63994",
"FirstPage": "pages/index/index.html", "FirstPage": "pages/index/index.html",
"CustomerForms": "[{'CompKey':'SingleLineText','isCked': false,'CompData': {'Name': '姓名','WordsLength': 0,'IsRequire': true,'TextValue': '','Remark': ''}},{'CompKey':'MultiLineText','isCked': false, 'CompData': {'Name': '电话', 'WordsLength': 0, 'IsRequire': false, 'TextValue': '','Remark': '' } }]",
"ByteDanceSendTemplate": "https://developer.toutiao.com/api/apps/game/template/send", "ByteDanceSendTemplate": "https://developer.toutiao.com/api/apps/game/template/send",
"sTenpayNotify": "http://mallapi.oytour.com/api/WeChatNotify/Notify", //微信回调地址 "sTenpayNotify": "http://mallapi.oytour.com/api/WeChatNotify/Notify", //微信回调地址
"IncomeDirector": 1756, //财务收入创建人 "IncomeDirector": 1756, //财务收入创建人
...@@ -39,8 +40,8 @@ ...@@ -39,8 +40,8 @@
"NetworkDirector": 1756, //网络主管的id,用于新建供应商账户的时候的创建人 "NetworkDirector": 1756, //网络主管的id,用于新建供应商账户的时候的创建人
"RB_Branch_Id": 49, //所属公司id "RB_Branch_Id": 49, //所属公司id
"RebornDMC": "reborn_dmc", "RebornDMC": "reborn_dmc",
"IncomeFinanceApi": "http://192.168.2.16:8083/api/Mall/InsertFinanceBatchForMallIn", "IncomeFinanceApi": "http://192.168.10.16:8083/api/Mall/InsertFinanceBatchForMallIn",
"PaymentFinanceApi": "http://192.168.2.16:8083/api/Mall/InsertFinanceBatchForMallOut", "PaymentFinanceApi": "http://192.168.10.16:8083/api/Mall/InsertFinanceBatchForMallOut",
"EduUpdateGoodsSpecification": "http://192.168.10.17:8017/api/Order/UpdateGoodsSpecification", "EduUpdateGoodsSpecification": "http://192.168.10.17:8017/api/Order/UpdateGoodsSpecification",
"PayCertificateUrl": "D:/project/GitProject/Shopping/Mall.WebApi/", "PayCertificateUrl": "D:/project/GitProject/Shopping/Mall.WebApi/",
"SettlementRate": "0.60", "SettlementRate": "0.60",
......
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