|
|
@ -620,11 +620,11 @@ namespace BBWY.Server.Business |
|
|
|
}, |
|
|
|
GetYunDingRequestHeader(), |
|
|
|
HttpMethod.Post); |
|
|
|
if (httpResult.StatusCode != System.Net.HttpStatusCode.OK) |
|
|
|
throw new BusinessException(httpResult.Content); |
|
|
|
var response = JsonConvert.DeserializeObject<ApiResponse>(httpResult.Content); |
|
|
|
if (!response.Success) |
|
|
|
throw new BusinessException(response.Msg); |
|
|
|
//if (httpResult.StatusCode != System.Net.HttpStatusCode.OK)
|
|
|
|
// throw new BusinessException(httpResult.Content);
|
|
|
|
//var response = JsonConvert.DeserializeObject<ApiResponse>(httpResult.Content);
|
|
|
|
//if (!response.Success)
|
|
|
|
// throw new BusinessException(response.Msg);
|
|
|
|
} |
|
|
|
|
|
|
|
fsql.Transaction(() => |
|
|
|