Commit c8e4ab39 authored by 吴春's avatar 吴春

提交代码

parent 4bec7a05
...@@ -353,5 +353,16 @@ namespace Mall.Common ...@@ -353,5 +353,16 @@ namespace Mall.Common
} }
} }
/// <summary>
/// 数据库地址
/// </summary>
public static string RebornDMC
{
get
{
return new ConfigurationBuilder().Add(new JsonConfigurationSource { Path = "appsettings.json" }).Build().GetSection("RebornDMC").Value;
}
}
} }
} }
\ No newline at end of file
...@@ -43,7 +43,7 @@ namespace Mall.Repository.User ...@@ -43,7 +43,7 @@ namespace Mall.Repository.User
} }
if (dmodel.Type > 0) if (dmodel.Type > 0)
{ {
where += $@" and {nameof(RB_Member_Integral.Type)}={dmodel.Type}"; where += $@" and {nameof(RB_Member_Integral.Type)}={(int)dmodel.Type}";
} }
if (dmodel.UserId > 0) if (dmodel.UserId > 0)
{ {
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
"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", //微信回调地址
"NetworkDirector": 1756, //网络主管的id,用于新建供应商账户的时候的创建人 "NetworkDirector": 1756, //网络主管的id,用于新建供应商账户的时候的创建人
"RebornDMC": "reborn_dmc",
"RedisSetting": { "RedisSetting": {
"RedisServer": "192.168.2.214", "RedisServer": "192.168.2.214",
"RedisPort": "6379", "RedisPort": "6379",
......
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