1、修复gateway图片上传临时目录权限问题。2、修复docker etcd生产环境连接问题
This commit is contained in:
@@ -71,7 +71,12 @@ func (w *WestDexService) CallAPI(code string, reqData map[string]interface{}) (r
|
||||
logx.Errorf("【西部数据请求】发送请求错误: %v", err)
|
||||
return nil, errors.New("业务异常")
|
||||
}
|
||||
defer httpResp.Body.Close()
|
||||
defer func(Body io.ReadCloser) {
|
||||
err := Body.Close()
|
||||
if err != nil {
|
||||
|
||||
}
|
||||
}(httpResp.Body)
|
||||
|
||||
// 检查请求是否成功
|
||||
if httpResp.StatusCode == 200 {
|
||||
|
||||
Reference in New Issue
Block a user