| | |
| | | var responseContent = new WebResponseContent(); |
| | | try |
| | | { |
| | | var url = "http://121.37.118.63:80/GYZ2/95fck/supplierInfo"; |
| | | var url = "http://192.168.1.100:80/GYZ2/95fck/supplierInfo"; |
| | | // 璇锋眰鍙傛暟 |
| | | if (string.IsNullOrEmpty(SearchDate)) SearchDate = DateTime.Now.ToString("yyyy-MM-dd:mm:ss"); |
| | | //璇锋眰鍙傛暟 |
| | |
| | | if (response.resultCode!="0") |
| | | { |
| | | //璋冪敤寮傚父鎺ュ彛 |
| | | SendErrorToUpstream(6, "", response.resultMsg ?? "涓婃父鎺ュ彛杩斿洖澶辫触", ""); |
| | | //SendErrorToUpstream(6, "", response.resultMsg ?? "涓婃父鎺ュ彛杩斿洖澶辫触", ""); |
| | | return responseContent.Error(response.resultMsg ?? "涓婃父鎺ュ彛杩斿洖澶辫触"); |
| | | } |
| | | if (response.data == null || !response.data.Any()) |
| | |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | SendErrorToUpstream(6, "", ex.Message, ""); |
| | | //SendErrorToUpstream(6, "", ex.Message, ""); |
| | | return responseContent.Error("鍚屾澶辫触: " + ex.Message); |
| | | } |
| | | } |
| | |
| | | { |
| | | try |
| | | { |
| | | var url = "http://121.37.118.63:80/GYZ2/95fck/exceptionLog"; |
| | | var url = "http://192.168.1.100:80/GYZ2/95fck/exceptionLog"; |
| | | |
| | | var requestData = new |
| | | { |