Commit 0abec82f authored by 吴春's avatar 吴春

提交代码

parent e4b3dfd2
...@@ -1963,6 +1963,10 @@ namespace Mall.Module.Product ...@@ -1963,6 +1963,10 @@ namespace Mall.Module.Product
customFormList = custom_FormRepository.GetCustomFormByIdsListRepository(new Model.Extend.TradePavilion.RB_Custom_Form_Extend { TenantId = demodel.TenantId, MallBaseId = demodel.MallBaseId }, formsIds); customFormList = custom_FormRepository.GetCustomFormByIdsListRepository(new Model.Extend.TradePavilion.RB_Custom_Form_Extend { TenantId = demodel.TenantId, MallBaseId = demodel.MallBaseId }, formsIds);
// var dataList = AnalyzeFormComponent(customFormModel.FormData, isGetAnswer: false); // var dataList = AnalyzeFormComponent(customFormModel.FormData, isGetAnswer: false);
} }
else
{
customFormList = custom_FormRepository.GetCustomFormByIdsListRepository(new Model.Extend.TradePavilion.RB_Custom_Form_Extend { TenantId = demodel.TenantId, MallBaseId = demodel.MallBaseId }, Config.CustomerFormId);
}
} }
#endregion #endregion
...@@ -2945,7 +2949,12 @@ namespace Mall.Module.Product ...@@ -2945,7 +2949,12 @@ namespace Mall.Module.Product
if (customFormList != null && customFormList.Any()) if (customFormList != null && customFormList.Any())
{ {
customFormModel = customFormList?.FirstOrDefault(x => x.Id == gmodel.FormsId); customFormModel = customFormList?.FirstOrDefault(x => x.Id == gmodel.FormsId);
if ((customFormModel?.Id ?? 0) == 0)
{
customFormModel= customFormList?.FirstOrDefault();
}
} }
goods_list.Add(new goods_list.Add(new
{ {
id = gmodel.Id, id = gmodel.Id,
...@@ -3015,7 +3024,7 @@ namespace Mall.Module.Product ...@@ -3015,7 +3024,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) > 1 ? AnalyzeFormComponent(customFormModel.FormData, isGetAnswer: false) : AnalyzeFormComponent(Mall.Common.Config.CustomerForms, isGetAnswer: false), form_data_json = (customFormModel?.Id ?? 0) > 1 ? AnalyzeFormComponent(customFormModel.FormData, isGetAnswer: false) : new List<Model.Extend.TradePavilion.FormDataItem>(),
marketingLogo = JsonHelper.Serialize(tempLogo), marketingLogo = JsonHelper.Serialize(tempLogo),
}); });
} }
......
...@@ -13,91 +13,92 @@ ...@@ -13,91 +13,92 @@
"ThinkConnection": "server=192.168.10.214;user id=reborn;password=Reborn@2018;database=reborn_think;CharSet=utf8mb4; Convert Zero Datetime=true; ", "ThinkConnection": "server=192.168.10.214;user id=reborn;password=Reborn@2018;database=reborn_think;CharSet=utf8mb4; Convert Zero Datetime=true; ",
"ThinkConnectionPName": "MySql.Data.MySqlClient" "ThinkConnectionPName": "MySql.Data.MySqlClient"
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
"Default": "Information", "Default": "Information",
"Microsoft": "Warning", "Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information" "Microsoft.Hosting.Lifetime": "Information"
} }
}, },
"AliSms": { "AliSms": {
"signName": "印象之旅", "signName": "印象之旅",
"accessKeyId": "LTAIwE7l9dImZSa3", "accessKeyId": "LTAIwE7l9dImZSa3",
"accessKeySecret": "j47Ajn0d0WzUCIX8Biyj3P2r8QDltI" "accessKeySecret": "j47Ajn0d0WzUCIX8Biyj3P2r8QDltI"
}, },
"JwtSecretKey": "@VIITTOREBORN*2018123", "CustomerFormId": "6",
"JwtExpirTime": 2592000, "JwtSecretKey": "@VIITTOREBORN*2018123",
"ApiExpirTime": 2592000, "JwtExpirTime": 2592000,
"AllowedHosts": "*", "ApiExpirTime": 2592000,
"OpenValidation": "False", "AllowedHosts": "*",
"UploadSiteUrl": "http://192.168.10.214:8120", "OpenValidation": "False",
"ViewFileSiteUrl": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com", "UploadSiteUrl": "http://192.168.10.214:8120",
"AliFileSiteUrl": "https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com", "ViewFileSiteUrl": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com",
"ImKey": "b612b31e837c79c68f141aeb719d2b20", "AliFileSiteUrl": "https://vt-im-bucket.oss-cn-chengdu.aliyuncs.com",
"ImSecret": "66000451fb72", "ImKey": "b612b31e837c79c68f141aeb719d2b20",
"Mongo": "mongodb://47.96.23.199:27017", "ImSecret": "66000451fb72",
"MongoDBName": "Mall", "Mongo": "mongodb://47.96.23.199:27017",
"ProjectUrl": "D:/project/GitProject/mallapp", "MongoDBName": "Mall",
"DeveloperKitsPort": "15720", "ProjectUrl": "D:/project/GitProject/mallapp",
"FirstPage": "pages/index/index.html", "DeveloperKitsPort": "15720",
"ByteDanceSendTemplate": "https://developer.toutiao.com/api/apps/game/template/send", "FirstPage": "pages/index/index.html",
"sTenpayNotify": "http://mallapi.oytour.com/api/WeChatNotify/Notify", //微信商品回调地址 "ByteDanceSendTemplate": "https://developer.toutiao.com/api/apps/game/template/send",
"sTenpayRechargeNotify": "http://mallapi.oytour.com/api/WeChatNotify/RechargeNotify", //微信充值回调地址 "sTenpayNotify": "http://mallapi.oytour.com/api/WeChatNotify/Notify", //微信商品回调地址
"sTenpayMemberBuyNotify": "http://mallapi.oytour.com/api/WeChatNotify/MemberBuyNotify", //微信充值回调地址 "sTenpayRechargeNotify": "http://mallapi.oytour.com/api/WeChatNotify/RechargeNotify", //微信充值回调地址
"sTenpayVipBuyNotify": "http://mallapi.oytour.com/api/WeChatNotify/VipBuyNotify", //微信购买VIP回调地址 "sTenpayMemberBuyNotify": "http://mallapi.oytour.com/api/WeChatNotify/MemberBuyNotify", //微信充值回调地址
"sTenpayActivityNotify": "http://mallapi.oytour.com/api/WeChatNotify/ActivityNotify", //赞羊教育活动在线支付回调地址 "sTenpayVipBuyNotify": "http://mallapi.oytour.com/api/WeChatNotify/VipBuyNotify", //微信购买VIP回调地址
"NetworkDirector": 1756, //网络主管的id,用于新建供应商账户的时候的创建人 "sTenpayActivityNotify": "http://mallapi.oytour.com/api/WeChatNotify/ActivityNotify", //赞羊教育活动在线支付回调地址
"RB_Branch_Id": 49, //所属公司id "NetworkDirector": 1756, //网络主管的id,用于新建供应商账户的时候的创建人
"IncomeDirector": 1756, //财务收入创建人 "RB_Branch_Id": 49, //所属公司id
"IncomeBranchId": 49, //财务收入创建人公司 "IncomeDirector": 1756, //财务收入创建人
"IncomeDepartment": 331, "IncomeBranchId": 49, //财务收入创建人公司
"ExpendDirector": 1756, //财务支出创建人 "IncomeDepartment": 331,
"ExpendBranchId": 49, //财务支出创建人公司 "ExpendDirector": 1756, //财务支出创建人
"ExpendDepartment": 331, "ExpendBranchId": 49, //财务支出创建人公司
"XuZongUserId": 111790, //徐总的id,用于区分线下订单 "ExpendDepartment": 331,
"RebornDMC": "reborn_dmc", "XuZongUserId": 111790, //徐总的id,用于区分线下订单
"PropertyDB": "test_property", "RebornDMC": "reborn_dmc",
"IncomeFinanceApi": "http://192.168.10.2:8083/api/Mall/InsertFinanceBatchForMallIn", "PropertyDB": "test_property",
"PaymentFinanceApi": "http://192.168.10.2:8083/api/Mall/InsertFinanceBatchForMallOut", "IncomeFinanceApi": "http://192.168.10.2:8083/api/Mall/InsertFinanceBatchForMallIn",
"ZYRefundFinanceApi": "http://192.168.10.2:8083/api/Mall/SetMallOrderSalesTheWayRefund", "PaymentFinanceApi": "http://192.168.10.2:8083/api/Mall/InsertFinanceBatchForMallOut",
"PropertyApi": "http://192.168.10.2:8087/api/ECWorkFlow/SetECSuppliesStockInFlow", "ZYRefundFinanceApi": "http://192.168.10.2:8083/api/Mall/SetMallOrderSalesTheWayRefund",
"EduOrderApi": "http://192.168.10.2:8017/api/Order/SetBatchClassOrder", "PropertyApi": "http://192.168.10.2:8087/api/ECWorkFlow/SetECSuppliesStockInFlow",
"EduUpdateGoodsSpecification": "http://192.168.10.17:8017/api/Order/UpdateGoodsSpecification", "EduOrderApi": "http://192.168.10.2:8017/api/Order/SetBatchClassOrder",
"EduPushOrderProperty": "http://192.168.10.2:8085/api/EudGoods/SetMallOrderWeChatMessage", "EduUpdateGoodsSpecification": "http://192.168.10.17:8017/api/Order/UpdateGoodsSpecification",
"FinanceKey": "FinanceMallInsertToERPViitto2020", "EduPushOrderProperty": "http://192.168.10.2:8085/api/EudGoods/SetMallOrderWeChatMessage",
"SettlementRate": "0.60", "FinanceKey": "FinanceMallInsertToERPViitto2020",
"EduSettlementRate": "0.54", "SettlementRate": "0.60",
"EduXuZongId": 2602, //徐总的id,用于区分线下订单 "EduSettlementRate": "0.54",
"EduActivityIncomeFinanceId": "9", "EduXuZongId": 2602, //徐总的id,用于区分线下订单
"EduActivityExpendFinanceId": "9", "EduActivityIncomeFinanceId": "9",
"EduRollCallActionCode": "ActivityRollCall", "EduActivityExpendFinanceId": "9",
"RedisSetting": { "EduRollCallActionCode": "ActivityRollCall",
"RedisServer": "192.168.10.214", "RedisSetting": {
"RedisPort": "6379", "RedisServer": "192.168.10.214",
"RedisPwd": "Viitto2018" "RedisPort": "6379",
}, "RedisPwd": "Viitto2018"
"VirtualDirectory": "WebFile", },
"FileService": "2", "VirtualDirectory": "WebFile",
"IsNormalServer": 2, "FileService": "2",
"IsFirtsShopAutoExamine": 1, //首店企业认证是否字段审核 "IsNormalServer": 2,
"FinanceSetting": { "IsFirtsShopAutoExamine": 1, //首店企业认证是否字段审核
"TenantId": 1, "FinanceSetting": {
"MallBaseId": 1, "TenantId": 1,
"RemitTypeId": 10, "MallBaseId": 1,
"RemitAccountId": 3012, "RemitTypeId": 10,
"ProcurementCTId": 224, //以下采购 "RemitAccountId": 3012,
"ProcurementFWId": 127, "ProcurementCTId": 224, //以下采购
"ProcurementDirector": 1756, "ProcurementFWId": 127,
"ProcurementBranchId": 49, "ProcurementDirector": 1756,
"ProcurementDepartment": 331, "ProcurementBranchId": 49,
"ProcurementCurrencyId": 1 "ProcurementDepartment": 331,
}, "ProcurementCurrencyId": 1
"MinProfitRate": { },
"TenantId1": 0.1 "MinProfitRate": {
}, "TenantId1": 0.1
"InitializeImages": { },
"GradeEntranceImage": "1234566778" "InitializeImages": {
}, "GradeEntranceImage": "1234566778"
},
"ShareConfig": { "ShareConfig": {
"ShareImg": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zanyang.png" "ShareImg": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zanyang.png"
}, },
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
"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, //财务收入创建人
......
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