Commit ad590c4d authored by 吴春's avatar 吴春

提交代码

parent ba43ebeb
......@@ -729,7 +729,7 @@ namespace Mall.Module.Education
Number = 1,//model.PeopleNum,
OriginalMoney = Convert.ToDecimal(model.Money) ,
UnitPrice = Convert.ToDecimal(model.Money) ,
Remark = umodel.Name + model.ActivityId + model.MerchantsNo
Remark = "微信昵称:"+umodel.Name +"活动id:"+ model.ActivityId + "订单号:"+Out_Trade_No
}
};
......
......@@ -59,8 +59,10 @@ namespace Mall.WebApi
List<string> corsArray = new List<string>()
{
"http://localhost:8081",
"http://localhost:8181",
"http://localhost:8080",
"http://localhost:8082",
"http://localhost:8083",
"http://127.0.0.1:50512",
"http://127.0.0.1:20224",
"http://127.0.0.1:28221",
......@@ -70,6 +72,7 @@ namespace Mall.WebApi
"http://mall.oytour.com",
"http://testmall.oytour.com",
"http://yx.oytour.com",
"https://mallapi.oytour.com"
};
services.AddCors(options => options.AddPolicy("AllowCors", policy => policy.AllowAnyHeader().AllowAnyMethod().AllowCredentials().WithOrigins(corsArray.ToArray())));
......
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