指定上货和订单服务器
This commit is contained in:
1 parent
1142c6f05a
commit
dc51a3729e
2 files changed
+6
-1
No files matched your search
@@ -191,7 +191,10 @@ namespace KJD_Web.BLL.WXXD
|
||||
var data = JsonUtils.SerializeObjectToString(user);
|
||||
|
||||
mySql.Close();
|
||||
return "{\"code\":200,\"msg\":\"success\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
var prodApiUrl = (System.Configuration.ConfigurationManager.ConnectionStrings["ProdApiUrl"]?.ConnectionString).ParseToString();
|
||||
var orderApiUrl = (System.Configuration.ConfigurationManager.ConnectionStrings["OrderApiUrl"]?.ConnectionString).ParseToString();
|
||||
return "{\"code\":200,\"msg\":\"success\",\"prod_api_url\":\"" + prodApiUrl + "\",\"order_api_url\":\"" + orderApiUrl +
|
||||
"\",\"data\":" + data + ",\"c\":\"" + EncrypUtil.Encryption(r2) + "\"}";
|
||||
}
|
||||
mySql.Close();
|
||||
return "{\"code\":1,\"msg\":\"用户名或密码错误\"}";
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
<add name="UpdateWxFindOrderUrl" connectionString="http://weidian.e57.cn/find_order_update/" />
|
||||
<add name="WxFindOrderLimitVersion" connectionString="172" />
|
||||
<add name="WxFindOrderLowVersion" connectionString="99" />
|
||||
<add name="OrderApiUrl" connectionString="http://119.45.29.75:9000" />
|
||||
<add name="ProdApiUrl" connectionString="http://1.13.195.131:9000" />
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<!-- 禁用 OWIN 启动类的自动发现,避免与现有项目结构冲突 -->
|
||||
|
||||
Reference in new issue
Block a user