Commit 22994743 by lizefeng

修改缺货改零推送规则

parent 2a5620a5
...@@ -460,7 +460,7 @@ namespace AutoTurnOver.Services ...@@ -460,7 +460,7 @@ namespace AutoTurnOver.Services
/// </summary> /// </summary>
private static ShortagePush_ResponseDto ReturnGoodsPushApi(ShortagePush_RequestDto data) private static ShortagePush_ResponseDto ReturnGoodsPushApi(ShortagePush_RequestDto data)
{ {
string url = ConfigHelper.GetValue("PPS_Return_GoodsPush"); string url = ConfigHelper.GetValue("PPS_ShortagePush");
string resultStr = HttpHelper.Request(url, RequestType.POST, data.ToJson(), timeout: 1000 * 60 * 60 * 24, entype: "application/json"); string resultStr = HttpHelper.Request(url, RequestType.POST, data.ToJson(), timeout: 1000 * 60 * 60 * 24, entype: "application/json");
var result = resultStr.ToObj<ShortagePush_ResponseDto>(); var result = resultStr.ToObj<ShortagePush_ResponseDto>();
if (result == null) if (result == null)
......
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