正在显示
7 个修改的文件
包含
116 行增加
和
116 行删除
@@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackAdd(pa | @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackAdd(pa | ||
15 | url := gateway.baseUrL + "/contract-undertaker-feedbacks" | 15 | url := gateway.baseUrL + "/contract-undertaker-feedbacks" |
16 | method := "POST" | 16 | method := "POST" |
17 | req := gateway.CreateRequest(url, method) | 17 | req := gateway.CreateRequest(url, method) |
18 | - log.Logger.Debug("向基础模块请求数据:创建共创合约反馈信息。", map[string]interface{}{ | 18 | + log.Logger.Debug("向业务模块请求数据:创建共创合约反馈信息。", map[string]interface{}{ |
19 | "api": method + ":" + url, | 19 | "api": method + ":" + url, |
20 | "param": param, | 20 | "param": param, |
21 | }) | 21 | }) |
@@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackAdd(pa | @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackAdd(pa | ||
28 | if err != nil { | 28 | if err != nil { |
29 | return nil, fmt.Errorf("获取创建共创合约反馈信息失败:%w", err) | 29 | return nil, fmt.Errorf("获取创建共创合约反馈信息失败:%w", err) |
30 | } | 30 | } |
31 | - log.Logger.Debug("获取基础模块请求数据:创建共创合约反馈信息。", map[string]interface{}{ | 31 | + log.Logger.Debug("获取业务模块请求数据:创建共创合约反馈信息。", map[string]interface{}{ |
32 | "result": string(byteResult), | 32 | "result": string(byteResult), |
33 | }) | 33 | }) |
34 | var result service_gateway.GatewayResponse | 34 | var result service_gateway.GatewayResponse |
@@ -47,7 +47,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackUpdate | @@ -47,7 +47,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackUpdate | ||
47 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId) | 47 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId) |
48 | method := "PUT" | 48 | method := "PUT" |
49 | req := gateway.CreateRequest(url, method) | 49 | req := gateway.CreateRequest(url, method) |
50 | - log.Logger.Debug("向基础模块请求数据:更新共创合约反馈信息。", map[string]interface{}{ | 50 | + log.Logger.Debug("向业务模块请求数据:更新共创合约反馈信息。", map[string]interface{}{ |
51 | "api": method + ":" + url, | 51 | "api": method + ":" + url, |
52 | "param": param, | 52 | "param": param, |
53 | }) | 53 | }) |
@@ -60,7 +60,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackUpdate | @@ -60,7 +60,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackUpdate | ||
60 | if err != nil { | 60 | if err != nil { |
61 | return nil, fmt.Errorf("获取更新共创合约反馈信息失败:%w", err) | 61 | return nil, fmt.Errorf("获取更新共创合约反馈信息失败:%w", err) |
62 | } | 62 | } |
63 | - log.Logger.Debug("获取基础模块请求数据:更新共创合约反馈信息。", map[string]interface{}{ | 63 | + log.Logger.Debug("获取业务模块请求数据:更新共创合约反馈信息。", map[string]interface{}{ |
64 | "result": string(byteResult), | 64 | "result": string(byteResult), |
65 | }) | 65 | }) |
66 | var result service_gateway.GatewayResponse | 66 | var result service_gateway.GatewayResponse |
@@ -79,7 +79,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackSearch | @@ -79,7 +79,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackSearch | ||
79 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/search" | 79 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/search" |
80 | method := "POST" | 80 | method := "POST" |
81 | req := gateway.CreateRequest(url, method) | 81 | req := gateway.CreateRequest(url, method) |
82 | - log.Logger.Debug("向基础模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{ | 82 | + log.Logger.Debug("向业务模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{ |
83 | "api": method + ":" + url, | 83 | "api": method + ":" + url, |
84 | "param": param, | 84 | "param": param, |
85 | }) | 85 | }) |
@@ -92,7 +92,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackSearch | @@ -92,7 +92,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackSearch | ||
92 | if err != nil { | 92 | if err != nil { |
93 | return nil, fmt.Errorf("获取查询共创承接方反馈信息失败:%w", err) | 93 | return nil, fmt.Errorf("获取查询共创承接方反馈信息失败:%w", err) |
94 | } | 94 | } |
95 | - log.Logger.Debug("获取基础模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{ | 95 | + log.Logger.Debug("获取业务模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{ |
96 | "result": string(byteResult), | 96 | "result": string(byteResult), |
97 | }) | 97 | }) |
98 | var result service_gateway.GatewayResponse | 98 | var result service_gateway.GatewayResponse |
@@ -111,7 +111,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackRemove | @@ -111,7 +111,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackRemove | ||
111 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId) | 111 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId) |
112 | method := "DELETE" | 112 | method := "DELETE" |
113 | req := gateway.CreateRequest(url, method) | 113 | req := gateway.CreateRequest(url, method) |
114 | - log.Logger.Debug("向基础模块请求数据:移除共创合约反馈信息。", map[string]interface{}{ | 114 | + log.Logger.Debug("向业务模块请求数据:移除共创合约反馈信息。", map[string]interface{}{ |
115 | "api": method + ":" + url, | 115 | "api": method + ":" + url, |
116 | "param": param, | 116 | "param": param, |
117 | }) | 117 | }) |
@@ -124,7 +124,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackRemove | @@ -124,7 +124,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackRemove | ||
124 | if err != nil { | 124 | if err != nil { |
125 | return nil, fmt.Errorf("获取移除共创合约反馈信息失败:%w", err) | 125 | return nil, fmt.Errorf("获取移除共创合约反馈信息失败:%w", err) |
126 | } | 126 | } |
127 | - log.Logger.Debug("获取基础模块请求数据:移除共创合约反馈信息。", map[string]interface{}{ | 127 | + log.Logger.Debug("获取业务模块请求数据:移除共创合约反馈信息。", map[string]interface{}{ |
128 | "result": string(byteResult), | 128 | "result": string(byteResult), |
129 | }) | 129 | }) |
130 | var result service_gateway.GatewayResponse | 130 | var result service_gateway.GatewayResponse |
@@ -143,7 +143,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackList(p | @@ -143,7 +143,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackList(p | ||
143 | url := gateway.baseUrL + "/contract-undertaker-feedbacks" | 143 | url := gateway.baseUrL + "/contract-undertaker-feedbacks" |
144 | method := "GET" | 144 | method := "GET" |
145 | req := gateway.CreateRequest(url, method) | 145 | req := gateway.CreateRequest(url, method) |
146 | - log.Logger.Debug("向基础模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{ | 146 | + log.Logger.Debug("向业务模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{ |
147 | "api": method + ":" + url, | 147 | "api": method + ":" + url, |
148 | "param": param, | 148 | "param": param, |
149 | }) | 149 | }) |
@@ -156,7 +156,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackList(p | @@ -156,7 +156,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackList(p | ||
156 | if err != nil { | 156 | if err != nil { |
157 | return nil, fmt.Errorf("获取返回共创合约反馈信息列表失败:%w", err) | 157 | return nil, fmt.Errorf("获取返回共创合约反馈信息列表失败:%w", err) |
158 | } | 158 | } |
159 | - log.Logger.Debug("获取基础模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{ | 159 | + log.Logger.Debug("获取业务模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{ |
160 | "result": string(byteResult), | 160 | "result": string(byteResult), |
161 | }) | 161 | }) |
162 | var result service_gateway.GatewayResponse | 162 | var result service_gateway.GatewayResponse |
@@ -174,7 +174,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackGet(pa | @@ -174,7 +174,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackGet(pa | ||
174 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId) | 174 | url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId) |
175 | method := "GET" | 175 | method := "GET" |
176 | req := gateway.CreateRequest(url, method) | 176 | req := gateway.CreateRequest(url, method) |
177 | - log.Logger.Debug("向基础模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{ | 177 | + log.Logger.Debug("向业务模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{ |
178 | "api": method + ":" + url, | 178 | "api": method + ":" + url, |
179 | "param": param, | 179 | "param": param, |
180 | }) | 180 | }) |
@@ -187,7 +187,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackGet(pa | @@ -187,7 +187,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackGet(pa | ||
187 | if err != nil { | 187 | if err != nil { |
188 | return nil, fmt.Errorf("获取返回共创合约反馈信息详情失败:%w", err) | 188 | return nil, fmt.Errorf("获取返回共创合约反馈信息详情失败:%w", err) |
189 | } | 189 | } |
190 | - log.Logger.Debug("获取基础模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{ | 190 | + log.Logger.Debug("获取业务模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{ |
191 | "result": string(byteResult), | 191 | "result": string(byteResult), |
192 | }) | 192 | }) |
193 | var result service_gateway.GatewayResponse | 193 | var result service_gateway.GatewayResponse |
@@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationUpdaet(par | @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationUpdaet(par | ||
15 | url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.CooperationApplicationId) | 15 | url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.CooperationApplicationId) |
16 | method := "PUT" | 16 | method := "PUT" |
17 | req := gateway.CreateRequest(url, method) | 17 | req := gateway.CreateRequest(url, method) |
18 | - log.Logger.Debug("向基础模块请求数据:更新共创申请。", map[string]interface{}{ | 18 | + log.Logger.Debug("向业务模块请求数据:更新共创申请。", map[string]interface{}{ |
19 | "api": method + ":" + url, | 19 | "api": method + ":" + url, |
20 | "param": param, | 20 | "param": param, |
21 | }) | 21 | }) |
@@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationUpdaet(par | @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationUpdaet(par | ||
28 | if err != nil { | 28 | if err != nil { |
29 | return nil, fmt.Errorf("获取更新共创申请失败:%w", err) | 29 | return nil, fmt.Errorf("获取更新共创申请失败:%w", err) |
30 | } | 30 | } |
31 | - log.Logger.Debug("获取基础模块请求数据:更新共创申请。", map[string]interface{}{ | 31 | + log.Logger.Debug("获取业务模块请求数据:更新共创申请。", map[string]interface{}{ |
32 | "result": string(byteResult), | 32 | "result": string(byteResult), |
33 | }) | 33 | }) |
34 | var result service_gateway.GatewayResponse | 34 | var result service_gateway.GatewayResponse |
@@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsBatchAppr | @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsBatchAppr | ||
46 | url := gateway.baseUrL + "/cooperation-applications/batch-approval" | 46 | url := gateway.baseUrL + "/cooperation-applications/batch-approval" |
47 | method := "POST" | 47 | method := "POST" |
48 | req := gateway.CreateRequest(url, method) | 48 | req := gateway.CreateRequest(url, method) |
49 | - log.Logger.Debug("向基础模块请求数据:共创申请一键审核。", map[string]interface{}{ | 49 | + log.Logger.Debug("向业务模块请求数据:共创申请一键审核。", map[string]interface{}{ |
50 | "api": method + ":" + url, | 50 | "api": method + ":" + url, |
51 | "param": param, | 51 | "param": param, |
52 | }) | 52 | }) |
@@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsBatchAppr | @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsBatchAppr | ||
59 | if err != nil { | 59 | if err != nil { |
60 | return nil, fmt.Errorf("获取共创申请一键审核失败:%w", err) | 60 | return nil, fmt.Errorf("获取共创申请一键审核失败:%w", err) |
61 | } | 61 | } |
62 | - log.Logger.Debug("获取基础模块请求数据:共创申请一键审核。", map[string]interface{}{ | 62 | + log.Logger.Debug("获取业务模块请求数据:共创申请一键审核。", map[string]interface{}{ |
63 | "result": string(byteResult), | 63 | "result": string(byteResult), |
64 | }) | 64 | }) |
65 | var result service_gateway.GatewayResponse | 65 | var result service_gateway.GatewayResponse |
@@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationCancel(par | @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationCancel(par | ||
77 | url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.ApplicationId) + "/cancel-application" | 77 | url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.ApplicationId) + "/cancel-application" |
78 | method := "POST" | 78 | method := "POST" |
79 | req := gateway.CreateRequest(url, method) | 79 | req := gateway.CreateRequest(url, method) |
80 | - log.Logger.Debug("向基础模块请求数据:取消共创申请。", map[string]interface{}{ | 80 | + log.Logger.Debug("向业务模块请求数据:取消共创申请。", map[string]interface{}{ |
81 | "api": method + ":" + url, | 81 | "api": method + ":" + url, |
82 | "param": param, | 82 | "param": param, |
83 | }) | 83 | }) |
@@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationCancel(par | @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationCancel(par | ||
90 | if err != nil { | 90 | if err != nil { |
91 | return nil, fmt.Errorf("获取取消共创申请失败:%w", err) | 91 | return nil, fmt.Errorf("获取取消共创申请失败:%w", err) |
92 | } | 92 | } |
93 | - log.Logger.Debug("获取基础模块请求数据:取消共创申请。", map[string]interface{}{ | 93 | + log.Logger.Debug("获取业务模块请求数据:取消共创申请。", map[string]interface{}{ |
94 | "result": string(byteResult), | 94 | "result": string(byteResult), |
95 | }) | 95 | }) |
96 | var result service_gateway.GatewayResponse | 96 | var result service_gateway.GatewayResponse |
@@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsAgree(par | @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsAgree(par | ||
108 | url := gateway.baseUrL + "/cooperation-applications/agree-cooperation-application" | 108 | url := gateway.baseUrL + "/cooperation-applications/agree-cooperation-application" |
109 | method := "POST" | 109 | method := "POST" |
110 | req := gateway.CreateRequest(url, method) | 110 | req := gateway.CreateRequest(url, method) |
111 | - log.Logger.Debug("向基础模块请求数据:审核-同意共创申请。", map[string]interface{}{ | 111 | + log.Logger.Debug("向业务模块请求数据:审核-同意共创申请。", map[string]interface{}{ |
112 | "api": method + ":" + url, | 112 | "api": method + ":" + url, |
113 | "param": param, | 113 | "param": param, |
114 | }) | 114 | }) |
@@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsAgree(par | @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsAgree(par | ||
121 | if err != nil { | 121 | if err != nil { |
122 | return nil, fmt.Errorf("获取审核-同意共创申请失败:%w", err) | 122 | return nil, fmt.Errorf("获取审核-同意共创申请失败:%w", err) |
123 | } | 123 | } |
124 | - log.Logger.Debug("获取基础模块请求数据:审核-同意共创申请。", map[string]interface{}{ | 124 | + log.Logger.Debug("获取业务模块请求数据:审核-同意共创申请。", map[string]interface{}{ |
125 | "result": string(byteResult), | 125 | "result": string(byteResult), |
126 | }) | 126 | }) |
127 | var result service_gateway.GatewayResponse | 127 | var result service_gateway.GatewayResponse |
@@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationReject(par | @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationReject(par | ||
139 | url := gateway.baseUrL + "/cooperation-applications/reject-cooperation-application" | 139 | url := gateway.baseUrL + "/cooperation-applications/reject-cooperation-application" |
140 | method := "POST" | 140 | method := "POST" |
141 | req := gateway.CreateRequest(url, method) | 141 | req := gateway.CreateRequest(url, method) |
142 | - log.Logger.Debug("向基础模块请求数据:审核-拒绝共创申请。", map[string]interface{}{ | 142 | + log.Logger.Debug("向业务模块请求数据:审核-拒绝共创申请。", map[string]interface{}{ |
143 | "api": method + ":" + url, | 143 | "api": method + ":" + url, |
144 | "param": param, | 144 | "param": param, |
145 | }) | 145 | }) |
@@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationReject(par | @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationReject(par | ||
152 | if err != nil { | 152 | if err != nil { |
153 | return nil, fmt.Errorf("获取审核-拒绝共创申请失败:%w", err) | 153 | return nil, fmt.Errorf("获取审核-拒绝共创申请失败:%w", err) |
154 | } | 154 | } |
155 | - log.Logger.Debug("获取基础模块请求数据:审核-拒绝共创申请。", map[string]interface{}{ | 155 | + log.Logger.Debug("获取业务模块请求数据:审核-拒绝共创申请。", map[string]interface{}{ |
156 | "result": string(byteResult), | 156 | "result": string(byteResult), |
157 | }) | 157 | }) |
158 | var result service_gateway.GatewayResponse | 158 | var result service_gateway.GatewayResponse |
@@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationAdd(param | @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationAdd(param | ||
170 | url := gateway.baseUrL + "/cooperation-applications" | 170 | url := gateway.baseUrL + "/cooperation-applications" |
171 | method := "POST" | 171 | method := "POST" |
172 | req := gateway.CreateRequest(url, method) | 172 | req := gateway.CreateRequest(url, method) |
173 | - log.Logger.Debug("向基础模块请求数据:创建共创申请。", map[string]interface{}{ | 173 | + log.Logger.Debug("向业务模块请求数据:创建共创申请。", map[string]interface{}{ |
174 | "api": method + ":" + url, | 174 | "api": method + ":" + url, |
175 | "param": param, | 175 | "param": param, |
176 | }) | 176 | }) |
@@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationAdd(param | @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationAdd(param | ||
183 | if err != nil { | 183 | if err != nil { |
184 | return nil, fmt.Errorf("获取创建共创申请失败:%w", err) | 184 | return nil, fmt.Errorf("获取创建共创申请失败:%w", err) |
185 | } | 185 | } |
186 | - log.Logger.Debug("获取基础模块请求数据:创建共创申请。", map[string]interface{}{ | 186 | + log.Logger.Debug("获取业务模块请求数据:创建共创申请。", map[string]interface{}{ |
187 | "result": string(byteResult), | 187 | "result": string(byteResult), |
188 | }) | 188 | }) |
189 | var result service_gateway.GatewayResponse | 189 | var result service_gateway.GatewayResponse |
@@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsSearch(pa | @@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsSearch(pa | ||
201 | url := gateway.baseUrL + "/cooperation-applications/search" | 201 | url := gateway.baseUrL + "/cooperation-applications/search" |
202 | method := "POST" | 202 | method := "POST" |
203 | req := gateway.CreateRequest(url, method) | 203 | req := gateway.CreateRequest(url, method) |
204 | - log.Logger.Debug("向基础模块请求数据:查询共创申请。", map[string]interface{}{ | 204 | + log.Logger.Debug("向业务模块请求数据:查询共创申请。", map[string]interface{}{ |
205 | "api": method + ":" + url, | 205 | "api": method + ":" + url, |
206 | "param": param, | 206 | "param": param, |
207 | }) | 207 | }) |
@@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsSearch(pa | @@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsSearch(pa | ||
214 | if err != nil { | 214 | if err != nil { |
215 | return nil, fmt.Errorf("获取查询共创申请失败:%w", err) | 215 | return nil, fmt.Errorf("获取查询共创申请失败:%w", err) |
216 | } | 216 | } |
217 | - log.Logger.Debug("获取基础模块请求数据:查询共创申请。", map[string]interface{}{ | 217 | + log.Logger.Debug("获取业务模块请求数据:查询共创申请。", map[string]interface{}{ |
218 | "result": string(byteResult), | 218 | "result": string(byteResult), |
219 | }) | 219 | }) |
220 | var result service_gateway.GatewayResponse | 220 | var result service_gateway.GatewayResponse |
@@ -232,7 +232,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsApply(par | @@ -232,7 +232,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsApply(par | ||
232 | url := gateway.baseUrL + "/cooperation-applications/apply-for-cooperation" | 232 | url := gateway.baseUrL + "/cooperation-applications/apply-for-cooperation" |
233 | method := "POST" | 233 | method := "POST" |
234 | req := gateway.CreateRequest(url, method) | 234 | req := gateway.CreateRequest(url, method) |
235 | - log.Logger.Debug("向基础模块请求数据:申请共创。", map[string]interface{}{ | 235 | + log.Logger.Debug("向业务模块请求数据:申请共创。", map[string]interface{}{ |
236 | "api": method + ":" + url, | 236 | "api": method + ":" + url, |
237 | "param": param, | 237 | "param": param, |
238 | }) | 238 | }) |
@@ -245,7 +245,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsApply(par | @@ -245,7 +245,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsApply(par | ||
245 | if err != nil { | 245 | if err != nil { |
246 | return nil, fmt.Errorf("获取申请共创失败:%w", err) | 246 | return nil, fmt.Errorf("获取申请共创失败:%w", err) |
247 | } | 247 | } |
248 | - log.Logger.Debug("获取基础模块请求数据:申请共创。", map[string]interface{}{ | 248 | + log.Logger.Debug("获取业务模块请求数据:申请共创。", map[string]interface{}{ |
249 | "result": string(byteResult), | 249 | "result": string(byteResult), |
250 | }) | 250 | }) |
251 | var result service_gateway.GatewayResponse | 251 | var result service_gateway.GatewayResponse |
@@ -263,7 +263,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationRemove(par | @@ -263,7 +263,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationRemove(par | ||
263 | url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.ApplicationId) | 263 | url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.ApplicationId) |
264 | method := "DELETE" | 264 | method := "DELETE" |
265 | req := gateway.CreateRequest(url, method) | 265 | req := gateway.CreateRequest(url, method) |
266 | - log.Logger.Debug("向基础模块请求数据:移除共创申请。", map[string]interface{}{ | 266 | + log.Logger.Debug("向业务模块请求数据:移除共创申请。", map[string]interface{}{ |
267 | "api": method + ":" + url, | 267 | "api": method + ":" + url, |
268 | "param": param, | 268 | "param": param, |
269 | }) | 269 | }) |
@@ -276,7 +276,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationRemove(par | @@ -276,7 +276,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationRemove(par | ||
276 | if err != nil { | 276 | if err != nil { |
277 | return nil, fmt.Errorf("获取移除共创申请失败:%w", err) | 277 | return nil, fmt.Errorf("获取移除共创申请失败:%w", err) |
278 | } | 278 | } |
279 | - log.Logger.Debug("获取基础模块请求数据:移除共创申请。", map[string]interface{}{ | 279 | + log.Logger.Debug("获取业务模块请求数据:移除共创申请。", map[string]interface{}{ |
280 | "result": string(byteResult), | 280 | "result": string(byteResult), |
281 | }) | 281 | }) |
282 | var result service_gateway.GatewayResponse | 282 | var result service_gateway.GatewayResponse |
@@ -294,7 +294,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationList(param | @@ -294,7 +294,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationList(param | ||
294 | url := gateway.baseUrL + "/cooperation-applications" | 294 | url := gateway.baseUrL + "/cooperation-applications" |
295 | method := "GET" | 295 | method := "GET" |
296 | req := gateway.CreateRequest(url, method) | 296 | req := gateway.CreateRequest(url, method) |
297 | - log.Logger.Debug("向基础模块请求数据:返回共创申请列表。", map[string]interface{}{ | 297 | + log.Logger.Debug("向业务模块请求数据:返回共创申请列表。", map[string]interface{}{ |
298 | "api": method + ":" + url, | 298 | "api": method + ":" + url, |
299 | "param": param, | 299 | "param": param, |
300 | }) | 300 | }) |
@@ -307,7 +307,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationList(param | @@ -307,7 +307,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationList(param | ||
307 | if err != nil { | 307 | if err != nil { |
308 | return nil, fmt.Errorf("获取返回共创申请列表失败:%w", err) | 308 | return nil, fmt.Errorf("获取返回共创申请列表失败:%w", err) |
309 | } | 309 | } |
310 | - log.Logger.Debug("获取基础模块请求数据:返回共创申请列表。", map[string]interface{}{ | 310 | + log.Logger.Debug("获取业务模块请求数据:返回共创申请列表。", map[string]interface{}{ |
311 | "result": string(byteResult), | 311 | "result": string(byteResult), |
312 | }) | 312 | }) |
313 | var result service_gateway.GatewayResponse | 313 | var result service_gateway.GatewayResponse |
@@ -325,7 +325,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationGet(param | @@ -325,7 +325,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationGet(param | ||
325 | url := gateway.baseUrL + "/cooperation-applications/{cooperationApplicationId}" | 325 | url := gateway.baseUrL + "/cooperation-applications/{cooperationApplicationId}" |
326 | method := "GET" | 326 | method := "GET" |
327 | req := gateway.CreateRequest(url, method) | 327 | req := gateway.CreateRequest(url, method) |
328 | - log.Logger.Debug("向基础模块请求数据:返回共创申请详情。", map[string]interface{}{ | 328 | + log.Logger.Debug("向业务模块请求数据:返回共创申请详情。", map[string]interface{}{ |
329 | "api": method + ":" + url, | 329 | "api": method + ":" + url, |
330 | "param": param, | 330 | "param": param, |
331 | }) | 331 | }) |
@@ -338,7 +338,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationGet(param | @@ -338,7 +338,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationGet(param | ||
338 | if err != nil { | 338 | if err != nil { |
339 | return nil, fmt.Errorf("获取返回共创申请详情失败:%w", err) | 339 | return nil, fmt.Errorf("获取返回共创申请详情失败:%w", err) |
340 | } | 340 | } |
341 | - log.Logger.Debug("获取基础模块请求数据:返回共创申请详情。", map[string]interface{}{ | 341 | + log.Logger.Debug("获取业务模块请求数据:返回共创申请详情。", map[string]interface{}{ |
342 | "result": string(byteResult), | 342 | "result": string(byteResult), |
343 | }) | 343 | }) |
344 | var result service_gateway.GatewayResponse | 344 | var result service_gateway.GatewayResponse |
@@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractAdd(param Req | @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractAdd(param Req | ||
15 | url := gateway.baseUrL + "/cooperation-contracts" | 15 | url := gateway.baseUrL + "/cooperation-contracts" |
16 | method := "POST" | 16 | method := "POST" |
17 | req := gateway.CreateRequest(url, method) | 17 | req := gateway.CreateRequest(url, method) |
18 | - log.Logger.Debug("向基础模块请求数据:创建共创合约。", map[string]interface{}{ | 18 | + log.Logger.Debug("向业务模块请求数据:创建共创合约。", map[string]interface{}{ |
19 | "api": method + ":" + url, | 19 | "api": method + ":" + url, |
20 | "param": param, | 20 | "param": param, |
21 | }) | 21 | }) |
@@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractAdd(param Req | @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractAdd(param Req | ||
28 | if err != nil { | 28 | if err != nil { |
29 | return nil, fmt.Errorf("获取创建共创合约失败:%w", err) | 29 | return nil, fmt.Errorf("获取创建共创合约失败:%w", err) |
30 | } | 30 | } |
31 | - log.Logger.Debug("获取基础模块请求数据:创建共创合约。", map[string]interface{}{ | 31 | + log.Logger.Debug("获取业务模块请求数据:创建共创合约。", map[string]interface{}{ |
32 | "result": string(byteResult), | 32 | "result": string(byteResult), |
33 | }) | 33 | }) |
34 | var result service_gateway.GatewayResponse | 34 | var result service_gateway.GatewayResponse |
@@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractUpdate(param | @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractUpdate(param | ||
46 | url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId) | 46 | url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId) |
47 | method := "PUT" | 47 | method := "PUT" |
48 | req := gateway.CreateRequest(url, method) | 48 | req := gateway.CreateRequest(url, method) |
49 | - log.Logger.Debug("向基础模块请求数据:更新共创合约。", map[string]interface{}{ | 49 | + log.Logger.Debug("向业务模块请求数据:更新共创合约。", map[string]interface{}{ |
50 | "api": method + ":" + url, | 50 | "api": method + ":" + url, |
51 | "param": param, | 51 | "param": param, |
52 | }) | 52 | }) |
@@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractUpdate(param | @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractUpdate(param | ||
59 | if err != nil { | 59 | if err != nil { |
60 | return nil, fmt.Errorf("获取更新共创合约失败:%w", err) | 60 | return nil, fmt.Errorf("获取更新共创合约失败:%w", err) |
61 | } | 61 | } |
62 | - log.Logger.Debug("获取基础模块请求数据:更新共创合约。", map[string]interface{}{ | 62 | + log.Logger.Debug("获取业务模块请求数据:更新共创合约。", map[string]interface{}{ |
63 | "result": string(byteResult), | 63 | "result": string(byteResult), |
64 | }) | 64 | }) |
65 | var result service_gateway.GatewayResponse | 65 | var result service_gateway.GatewayResponse |
@@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractSearch(param | @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractSearch(param | ||
77 | url := gateway.baseUrL + "/cooperation-contracts/search" | 77 | url := gateway.baseUrL + "/cooperation-contracts/search" |
78 | method := "POST" | 78 | method := "POST" |
79 | req := gateway.CreateRequest(url, method) | 79 | req := gateway.CreateRequest(url, method) |
80 | - log.Logger.Debug("向基础模块请求数据:查询共创合约。", map[string]interface{}{ | 80 | + log.Logger.Debug("向业务模块请求数据:查询共创合约。", map[string]interface{}{ |
81 | "api": method + ":" + url, | 81 | "api": method + ":" + url, |
82 | "param": param, | 82 | "param": param, |
83 | }) | 83 | }) |
@@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractSearch(param | @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractSearch(param | ||
90 | if err != nil { | 90 | if err != nil { |
91 | return nil, fmt.Errorf("获取查询共创合约失败:%w", err) | 91 | return nil, fmt.Errorf("获取查询共创合约失败:%w", err) |
92 | } | 92 | } |
93 | - log.Logger.Debug("获取基础模块请求数据:查询共创合约。", map[string]interface{}{ | 93 | + log.Logger.Debug("获取业务模块请求数据:查询共创合约。", map[string]interface{}{ |
94 | "result": string(byteResult), | 94 | "result": string(byteResult), |
95 | }) | 95 | }) |
96 | var result service_gateway.GatewayResponse | 96 | var result service_gateway.GatewayResponse |
@@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractsSearchByUnde | @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractsSearchByUnde | ||
108 | url := gateway.baseUrL + "/cooperation-contracts/search-by-undertaker" | 108 | url := gateway.baseUrL + "/cooperation-contracts/search-by-undertaker" |
109 | method := "POST" | 109 | method := "POST" |
110 | req := gateway.CreateRequest(url, method) | 110 | req := gateway.CreateRequest(url, method) |
111 | - log.Logger.Debug("向基础模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{ | 111 | + log.Logger.Debug("向业务模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{ |
112 | "api": method + ":" + url, | 112 | "api": method + ":" + url, |
113 | "param": param, | 113 | "param": param, |
114 | }) | 114 | }) |
@@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractsSearchByUnde | @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractsSearchByUnde | ||
121 | if err != nil { | 121 | if err != nil { |
122 | return nil, fmt.Errorf("获取根据承接人查询并返回共创项目合约失败:%w", err) | 122 | return nil, fmt.Errorf("获取根据承接人查询并返回共创项目合约失败:%w", err) |
123 | } | 123 | } |
124 | - log.Logger.Debug("获取基础模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{ | 124 | + log.Logger.Debug("获取业务模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{ |
125 | "result": string(byteResult), | 125 | "result": string(byteResult), |
126 | }) | 126 | }) |
127 | var result service_gateway.GatewayResponse | 127 | var result service_gateway.GatewayResponse |
@@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractRemove(param | @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractRemove(param | ||
139 | url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId) | 139 | url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId) |
140 | method := "DELETE" | 140 | method := "DELETE" |
141 | req := gateway.CreateRequest(url, method) | 141 | req := gateway.CreateRequest(url, method) |
142 | - log.Logger.Debug("向基础模块请求数据:移除共创合约。", map[string]interface{}{ | 142 | + log.Logger.Debug("向业务模块请求数据:移除共创合约。", map[string]interface{}{ |
143 | "api": method + ":" + url, | 143 | "api": method + ":" + url, |
144 | "param": param, | 144 | "param": param, |
145 | }) | 145 | }) |
@@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractRemove(param | @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractRemove(param | ||
152 | if err != nil { | 152 | if err != nil { |
153 | return nil, fmt.Errorf("获取移除共创合约失败:%w", err) | 153 | return nil, fmt.Errorf("获取移除共创合约失败:%w", err) |
154 | } | 154 | } |
155 | - log.Logger.Debug("获取基础模块请求数据:移除共创合约。", map[string]interface{}{ | 155 | + log.Logger.Debug("获取业务模块请求数据:移除共创合约。", map[string]interface{}{ |
156 | "result": string(byteResult), | 156 | "result": string(byteResult), |
157 | }) | 157 | }) |
158 | var result service_gateway.GatewayResponse | 158 | var result service_gateway.GatewayResponse |
@@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractList(param Re | @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractList(param Re | ||
170 | url := gateway.baseUrL + "/cooperation-contracts" | 170 | url := gateway.baseUrL + "/cooperation-contracts" |
171 | method := "GET" | 171 | method := "GET" |
172 | req := gateway.CreateRequest(url, method) | 172 | req := gateway.CreateRequest(url, method) |
173 | - log.Logger.Debug("向基础模块请求数据:返回共创合约列表。", map[string]interface{}{ | 173 | + log.Logger.Debug("向业务模块请求数据:返回共创合约列表。", map[string]interface{}{ |
174 | "api": method + ":" + url, | 174 | "api": method + ":" + url, |
175 | "param": param, | 175 | "param": param, |
176 | }) | 176 | }) |
@@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractList(param Re | @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractList(param Re | ||
183 | if err != nil { | 183 | if err != nil { |
184 | return nil, fmt.Errorf("获取返回共创合约列表失败:%w", err) | 184 | return nil, fmt.Errorf("获取返回共创合约列表失败:%w", err) |
185 | } | 185 | } |
186 | - log.Logger.Debug("获取基础模块请求数据:返回共创合约列表。", map[string]interface{}{ | 186 | + log.Logger.Debug("获取业务模块请求数据:返回共创合约列表。", map[string]interface{}{ |
187 | "result": string(byteResult), | 187 | "result": string(byteResult), |
188 | }) | 188 | }) |
189 | var result service_gateway.GatewayResponse | 189 | var result service_gateway.GatewayResponse |
@@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractGet(param Req | @@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractGet(param Req | ||
201 | url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId) | 201 | url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId) |
202 | method := "GET" | 202 | method := "GET" |
203 | req := gateway.CreateRequest(url, method) | 203 | req := gateway.CreateRequest(url, method) |
204 | - log.Logger.Debug("向基础模块请求数据:返回共创合约详情。", map[string]interface{}{ | 204 | + log.Logger.Debug("向业务模块请求数据:返回共创合约详情。", map[string]interface{}{ |
205 | "api": method + ":" + url, | 205 | "api": method + ":" + url, |
206 | "param": param, | 206 | "param": param, |
207 | }) | 207 | }) |
@@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractGet(param Req | @@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractGet(param Req | ||
214 | if err != nil { | 214 | if err != nil { |
215 | return nil, fmt.Errorf("获取返回共创合约详情失败:%w", err) | 215 | return nil, fmt.Errorf("获取返回共创合约详情失败:%w", err) |
216 | } | 216 | } |
217 | - log.Logger.Debug("获取基础模块请求数据:返回共创合约详情。", map[string]interface{}{ | 217 | + log.Logger.Debug("获取业务模块请求数据:返回共创合约详情。", map[string]interface{}{ |
218 | "result": string(byteResult), | 218 | "result": string(byteResult), |
219 | }) | 219 | }) |
220 | var result service_gateway.GatewayResponse | 220 | var result service_gateway.GatewayResponse |
@@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeAdd(param ReqCoop | @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeAdd(param ReqCoop | ||
15 | url := gateway.baseUrL + "/cooperation-modes" | 15 | url := gateway.baseUrL + "/cooperation-modes" |
16 | method := "post" | 16 | method := "post" |
17 | req := gateway.CreateRequest(url, method) | 17 | req := gateway.CreateRequest(url, method) |
18 | - log.Logger.Debug("向基础模块请求数据:创建共创模式。", map[string]interface{}{ | 18 | + log.Logger.Debug("向业务模块请求数据:创建共创模式。", map[string]interface{}{ |
19 | "api": method + ":" + url, | 19 | "api": method + ":" + url, |
20 | "param": param, | 20 | "param": param, |
21 | }) | 21 | }) |
@@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeAdd(param ReqCoop | @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeAdd(param ReqCoop | ||
28 | if err != nil { | 28 | if err != nil { |
29 | return nil, fmt.Errorf("获取创建共创模式失败:%w", err) | 29 | return nil, fmt.Errorf("获取创建共创模式失败:%w", err) |
30 | } | 30 | } |
31 | - log.Logger.Debug("获取基础模块请求数据:创建共创模式。", map[string]interface{}{ | 31 | + log.Logger.Debug("获取业务模块请求数据:创建共创模式。", map[string]interface{}{ |
32 | "result": string(byteResult), | 32 | "result": string(byteResult), |
33 | }) | 33 | }) |
34 | var result service_gateway.GatewayResponse | 34 | var result service_gateway.GatewayResponse |
@@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeList(param ReqCoo | @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeList(param ReqCoo | ||
46 | url := gateway.baseUrL + "/cooperation-modes" | 46 | url := gateway.baseUrL + "/cooperation-modes" |
47 | method := "get" | 47 | method := "get" |
48 | req := gateway.CreateRequest(url, method) | 48 | req := gateway.CreateRequest(url, method) |
49 | - log.Logger.Debug("向基础模块请求数据:返回共创模式列表。", map[string]interface{}{ | 49 | + log.Logger.Debug("向业务模块请求数据:返回共创模式列表。", map[string]interface{}{ |
50 | "api": method + ":" + url, | 50 | "api": method + ":" + url, |
51 | "param": param, | 51 | "param": param, |
52 | }) | 52 | }) |
@@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeList(param ReqCoo | @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeList(param ReqCoo | ||
59 | if err != nil { | 59 | if err != nil { |
60 | return nil, fmt.Errorf("获取返回共创模式列表失败:%w", err) | 60 | return nil, fmt.Errorf("获取返回共创模式列表失败:%w", err) |
61 | } | 61 | } |
62 | - log.Logger.Debug("获取基础模块请求数据:返回共创模式列表。", map[string]interface{}{ | 62 | + log.Logger.Debug("获取业务模块请求数据:返回共创模式列表。", map[string]interface{}{ |
63 | "result": string(byteResult), | 63 | "result": string(byteResult), |
64 | }) | 64 | }) |
65 | var result service_gateway.GatewayResponse | 65 | var result service_gateway.GatewayResponse |
@@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeGet(param ReqCoop | @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeGet(param ReqCoop | ||
77 | url := gateway.baseUrL + "/cooperation-modes/" + strconv.Itoa(param.CooperationModeId) | 77 | url := gateway.baseUrL + "/cooperation-modes/" + strconv.Itoa(param.CooperationModeId) |
78 | method := "get" | 78 | method := "get" |
79 | req := gateway.CreateRequest(url, method) | 79 | req := gateway.CreateRequest(url, method) |
80 | - log.Logger.Debug("向基础模块请求数据:返回共创模式详情。", map[string]interface{}{ | 80 | + log.Logger.Debug("向业务模块请求数据:返回共创模式详情。", map[string]interface{}{ |
81 | "api": method + ":" + url, | 81 | "api": method + ":" + url, |
82 | "param": param, | 82 | "param": param, |
83 | }) | 83 | }) |
@@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeGet(param ReqCoop | @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeGet(param ReqCoop | ||
90 | if err != nil { | 90 | if err != nil { |
91 | return nil, fmt.Errorf("获取返回共创模式详情失败:%w", err) | 91 | return nil, fmt.Errorf("获取返回共创模式详情失败:%w", err) |
92 | } | 92 | } |
93 | - log.Logger.Debug("获取基础模块请求数据:返回共创模式详情。", map[string]interface{}{ | 93 | + log.Logger.Debug("获取业务模块请求数据:返回共创模式详情。", map[string]interface{}{ |
94 | "result": string(byteResult), | 94 | "result": string(byteResult), |
95 | }) | 95 | }) |
96 | var result service_gateway.GatewayResponse | 96 | var result service_gateway.GatewayResponse |
@@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeUpdate(param ReqC | @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeUpdate(param ReqC | ||
108 | url := gateway.baseUrL + "/cooperation-modes" + strconv.Itoa(param.CooperationModeId) | 108 | url := gateway.baseUrL + "/cooperation-modes" + strconv.Itoa(param.CooperationModeId) |
109 | method := "put" | 109 | method := "put" |
110 | req := gateway.CreateRequest(url, method) | 110 | req := gateway.CreateRequest(url, method) |
111 | - log.Logger.Debug("向基础模块请求数据:更新共创模式。", map[string]interface{}{ | 111 | + log.Logger.Debug("向业务模块请求数据:更新共创模式。", map[string]interface{}{ |
112 | "api": method + ":" + url, | 112 | "api": method + ":" + url, |
113 | "param": param, | 113 | "param": param, |
114 | }) | 114 | }) |
@@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeUpdate(param ReqC | @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeUpdate(param ReqC | ||
121 | if err != nil { | 121 | if err != nil { |
122 | return nil, fmt.Errorf("获取更新共创模式失败:%w", err) | 122 | return nil, fmt.Errorf("获取更新共创模式失败:%w", err) |
123 | } | 123 | } |
124 | - log.Logger.Debug("获取基础模块请求数据:更新共创模式。", map[string]interface{}{ | 124 | + log.Logger.Debug("获取业务模块请求数据:更新共创模式。", map[string]interface{}{ |
125 | "result": string(byteResult), | 125 | "result": string(byteResult), |
126 | }) | 126 | }) |
127 | var result service_gateway.GatewayResponse | 127 | var result service_gateway.GatewayResponse |
@@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeRemove(param ReqC | @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeRemove(param ReqC | ||
139 | url := gateway.baseUrL + "/cooperation-modes/" + strconv.Itoa(param.CooperationModeId) | 139 | url := gateway.baseUrL + "/cooperation-modes/" + strconv.Itoa(param.CooperationModeId) |
140 | method := "delete" | 140 | method := "delete" |
141 | req := gateway.CreateRequest(url, method) | 141 | req := gateway.CreateRequest(url, method) |
142 | - log.Logger.Debug("向基础模块请求数据:移除共创模式。", map[string]interface{}{ | 142 | + log.Logger.Debug("向业务模块请求数据:移除共创模式。", map[string]interface{}{ |
143 | "api": method + ":" + url, | 143 | "api": method + ":" + url, |
144 | "param": param, | 144 | "param": param, |
145 | }) | 145 | }) |
@@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeRemove(param ReqC | @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeRemove(param ReqC | ||
152 | if err != nil { | 152 | if err != nil { |
153 | return nil, fmt.Errorf("获取移除共创模式失败:%w", err) | 153 | return nil, fmt.Errorf("获取移除共创模式失败:%w", err) |
154 | } | 154 | } |
155 | - log.Logger.Debug("获取基础模块请求数据:移除共创模式。", map[string]interface{}{ | 155 | + log.Logger.Debug("获取业务模块请求数据:移除共创模式。", map[string]interface{}{ |
156 | "result": string(byteResult), | 156 | "result": string(byteResult), |
157 | }) | 157 | }) |
158 | var result service_gateway.GatewayResponse | 158 | var result service_gateway.GatewayResponse |
@@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModesSearch(param Req | @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModesSearch(param Req | ||
170 | url := gateway.baseUrL + "/cooperation-modes/search" | 170 | url := gateway.baseUrL + "/cooperation-modes/search" |
171 | method := "post" | 171 | method := "post" |
172 | req := gateway.CreateRequest(url, method) | 172 | req := gateway.CreateRequest(url, method) |
173 | - log.Logger.Debug("向基础模块请求数据:查询共创模式。", map[string]interface{}{ | 173 | + log.Logger.Debug("向业务模块请求数据:查询共创模式。", map[string]interface{}{ |
174 | "api": method + ":" + url, | 174 | "api": method + ":" + url, |
175 | "param": param, | 175 | "param": param, |
176 | }) | 176 | }) |
@@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModesSearch(param Req | @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModesSearch(param Req | ||
183 | if err != nil { | 183 | if err != nil { |
184 | return nil, fmt.Errorf("获取查询共创模式失败:%w", err) | 184 | return nil, fmt.Errorf("获取查询共创模式失败:%w", err) |
185 | } | 185 | } |
186 | - log.Logger.Debug("获取基础模块请求数据:查询共创模式。", map[string]interface{}{ | 186 | + log.Logger.Debug("获取业务模块请求数据:查询共创模式。", map[string]interface{}{ |
187 | "result": string(byteResult), | 187 | "result": string(byteResult), |
188 | }) | 188 | }) |
189 | var result service_gateway.GatewayResponse | 189 | var result service_gateway.GatewayResponse |
@@ -14,7 +14,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectAdd(param ReqC | @@ -14,7 +14,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectAdd(param ReqC | ||
14 | url := gateway.baseUrL + "/cooperation-projects" | 14 | url := gateway.baseUrL + "/cooperation-projects" |
15 | method := "POST" | 15 | method := "POST" |
16 | req := gateway.CreateRequest(url, method) | 16 | req := gateway.CreateRequest(url, method) |
17 | - log.Logger.Debug("向基础模块请求数据:创建共创项目。", map[string]interface{}{ | 17 | + log.Logger.Debug("向业务模块请求数据:创建共创项目。", map[string]interface{}{ |
18 | "api": method + ":" + url, | 18 | "api": method + ":" + url, |
19 | "param": param, | 19 | "param": param, |
20 | }) | 20 | }) |
@@ -27,7 +27,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectAdd(param ReqC | @@ -27,7 +27,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectAdd(param ReqC | ||
27 | if err != nil { | 27 | if err != nil { |
28 | return nil, fmt.Errorf("获取创建共创项目失败:%w", err) | 28 | return nil, fmt.Errorf("获取创建共创项目失败:%w", err) |
29 | } | 29 | } |
30 | - log.Logger.Debug("获取基础模块请求数据:创建共创项目。", map[string]interface{}{ | 30 | + log.Logger.Debug("获取业务模块请求数据:创建共创项目。", map[string]interface{}{ |
31 | "result": string(byteResult), | 31 | "result": string(byteResult), |
32 | }) | 32 | }) |
33 | var result service_gateway.GatewayResponse | 33 | var result service_gateway.GatewayResponse |
@@ -45,7 +45,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectList(param Req | @@ -45,7 +45,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectList(param Req | ||
45 | url := gateway.baseUrL + "/cooperation-projects" | 45 | url := gateway.baseUrL + "/cooperation-projects" |
46 | method := "GET" | 46 | method := "GET" |
47 | req := gateway.CreateRequest(url, method) | 47 | req := gateway.CreateRequest(url, method) |
48 | - log.Logger.Debug("向基础模块请求数据:返回共创项目列表。", map[string]interface{}{ | 48 | + log.Logger.Debug("向业务模块请求数据:返回共创项目列表。", map[string]interface{}{ |
49 | "api": method + ":" + url, | 49 | "api": method + ":" + url, |
50 | "param": param, | 50 | "param": param, |
51 | }) | 51 | }) |
@@ -58,7 +58,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectList(param Req | @@ -58,7 +58,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectList(param Req | ||
58 | if err != nil { | 58 | if err != nil { |
59 | return nil, fmt.Errorf("获取返回共创项目列表失败:%w", err) | 59 | return nil, fmt.Errorf("获取返回共创项目列表失败:%w", err) |
60 | } | 60 | } |
61 | - log.Logger.Debug("获取基础模块请求数据:返回共创项目列表。", map[string]interface{}{ | 61 | + log.Logger.Debug("获取业务模块请求数据:返回共创项目列表。", map[string]interface{}{ |
62 | "result": string(byteResult), | 62 | "result": string(byteResult), |
63 | }) | 63 | }) |
64 | var result service_gateway.GatewayResponse | 64 | var result service_gateway.GatewayResponse |
@@ -76,7 +76,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectGet(param ReqC | @@ -76,7 +76,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectGet(param ReqC | ||
76 | url := gateway.baseUrL + "/cooperation-projects/" + strconv.Itoa(param.CooperationProjectId) | 76 | url := gateway.baseUrL + "/cooperation-projects/" + strconv.Itoa(param.CooperationProjectId) |
77 | method := "GET" | 77 | method := "GET" |
78 | req := gateway.CreateRequest(url, method) | 78 | req := gateway.CreateRequest(url, method) |
79 | - log.Logger.Debug("向基础模块请求数据:返回共创项目详情。", map[string]interface{}{ | 79 | + log.Logger.Debug("向业务模块请求数据:返回共创项目详情。", map[string]interface{}{ |
80 | "api": method + ":" + url, | 80 | "api": method + ":" + url, |
81 | "param": param, | 81 | "param": param, |
82 | }) | 82 | }) |
@@ -89,7 +89,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectGet(param ReqC | @@ -89,7 +89,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectGet(param ReqC | ||
89 | if err != nil { | 89 | if err != nil { |
90 | return nil, fmt.Errorf("获取返回共创项目详情失败:%w", err) | 90 | return nil, fmt.Errorf("获取返回共创项目详情失败:%w", err) |
91 | } | 91 | } |
92 | - log.Logger.Debug("获取基础模块请求数据:返回共创项目详情。", map[string]interface{}{ | 92 | + log.Logger.Debug("获取业务模块请求数据:返回共创项目详情。", map[string]interface{}{ |
93 | "result": string(byteResult), | 93 | "result": string(byteResult), |
94 | }) | 94 | }) |
95 | var result service_gateway.GatewayResponse | 95 | var result service_gateway.GatewayResponse |
@@ -107,7 +107,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectUpdate(param R | @@ -107,7 +107,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectUpdate(param R | ||
107 | url := gateway.baseUrL + "/cooperation-projects/{cooperationProjectId}" | 107 | url := gateway.baseUrL + "/cooperation-projects/{cooperationProjectId}" |
108 | method := "PUT" | 108 | method := "PUT" |
109 | req := gateway.CreateRequest(url, method) | 109 | req := gateway.CreateRequest(url, method) |
110 | - log.Logger.Debug("向基础模块请求数据:更新共创项目。", map[string]interface{}{ | 110 | + log.Logger.Debug("向业务模块请求数据:更新共创项目。", map[string]interface{}{ |
111 | "api": method + ":" + url, | 111 | "api": method + ":" + url, |
112 | "param": param, | 112 | "param": param, |
113 | }) | 113 | }) |
@@ -120,7 +120,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectUpdate(param R | @@ -120,7 +120,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectUpdate(param R | ||
120 | if err != nil { | 120 | if err != nil { |
121 | return nil, fmt.Errorf("获取更新共创项目失败:%w", err) | 121 | return nil, fmt.Errorf("获取更新共创项目失败:%w", err) |
122 | } | 122 | } |
123 | - log.Logger.Debug("获取基础模块请求数据:更新共创项目。", map[string]interface{}{ | 123 | + log.Logger.Debug("获取业务模块请求数据:更新共创项目。", map[string]interface{}{ |
124 | "result": string(byteResult), | 124 | "result": string(byteResult), |
125 | }) | 125 | }) |
126 | var result service_gateway.GatewayResponse | 126 | var result service_gateway.GatewayResponse |
@@ -138,7 +138,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectRemove(param R | @@ -138,7 +138,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectRemove(param R | ||
138 | url := gateway.baseUrL + "/cooperation-projects/" + strconv.Itoa(param.CooperationProjectID) | 138 | url := gateway.baseUrL + "/cooperation-projects/" + strconv.Itoa(param.CooperationProjectID) |
139 | method := "DELETE" | 139 | method := "DELETE" |
140 | req := gateway.CreateRequest(url, method) | 140 | req := gateway.CreateRequest(url, method) |
141 | - log.Logger.Debug("向基础模块请求数据:移除共创项目。", map[string]interface{}{ | 141 | + log.Logger.Debug("向业务模块请求数据:移除共创项目。", map[string]interface{}{ |
142 | "api": method + ":" + url, | 142 | "api": method + ":" + url, |
143 | "param": param, | 143 | "param": param, |
144 | }) | 144 | }) |
@@ -151,7 +151,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectRemove(param R | @@ -151,7 +151,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectRemove(param R | ||
151 | if err != nil { | 151 | if err != nil { |
152 | return nil, fmt.Errorf("获取移除共创项目失败:%w", err) | 152 | return nil, fmt.Errorf("获取移除共创项目失败:%w", err) |
153 | } | 153 | } |
154 | - log.Logger.Debug("获取基础模块请求数据:移除共创项目。", map[string]interface{}{ | 154 | + log.Logger.Debug("获取业务模块请求数据:移除共创项目。", map[string]interface{}{ |
155 | "result": string(byteResult), | 155 | "result": string(byteResult), |
156 | }) | 156 | }) |
157 | var result service_gateway.GatewayResponse | 157 | var result service_gateway.GatewayResponse |
@@ -169,7 +169,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsRelease(param | @@ -169,7 +169,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsRelease(param | ||
169 | url := gateway.baseUrL + "/cooperation-projects/release-cooperation-project" | 169 | url := gateway.baseUrL + "/cooperation-projects/release-cooperation-project" |
170 | method := "POST" | 170 | method := "POST" |
171 | req := gateway.CreateRequest(url, method) | 171 | req := gateway.CreateRequest(url, method) |
172 | - log.Logger.Debug("向基础模块请求数据:发布共创项目。", map[string]interface{}{ | 172 | + log.Logger.Debug("向业务模块请求数据:发布共创项目。", map[string]interface{}{ |
173 | "api": method + ":" + url, | 173 | "api": method + ":" + url, |
174 | "param": param, | 174 | "param": param, |
175 | }) | 175 | }) |
@@ -182,7 +182,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsRelease(param | @@ -182,7 +182,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsRelease(param | ||
182 | if err != nil { | 182 | if err != nil { |
183 | return nil, fmt.Errorf("获取发布共创项目失败:%w", err) | 183 | return nil, fmt.Errorf("获取发布共创项目失败:%w", err) |
184 | } | 184 | } |
185 | - log.Logger.Debug("获取基础模块请求数据:发布共创项目。", map[string]interface{}{ | 185 | + log.Logger.Debug("获取业务模块请求数据:发布共创项目。", map[string]interface{}{ |
186 | "result": string(byteResult), | 186 | "result": string(byteResult), |
187 | }) | 187 | }) |
188 | var result service_gateway.GatewayResponse | 188 | var result service_gateway.GatewayResponse |
@@ -200,7 +200,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsSearch(param | @@ -200,7 +200,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsSearch(param | ||
200 | url := gateway.baseUrL + "/cooperation-projects/search" | 200 | url := gateway.baseUrL + "/cooperation-projects/search" |
201 | method := "POST" | 201 | method := "POST" |
202 | req := gateway.CreateRequest(url, method) | 202 | req := gateway.CreateRequest(url, method) |
203 | - log.Logger.Debug("向基础模块请求数据:查询共创项目。", map[string]interface{}{ | 203 | + log.Logger.Debug("向业务模块请求数据:查询共创项目。", map[string]interface{}{ |
204 | "api": method + ":" + url, | 204 | "api": method + ":" + url, |
205 | "param": param, | 205 | "param": param, |
206 | }) | 206 | }) |
@@ -213,7 +213,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsSearch(param | @@ -213,7 +213,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsSearch(param | ||
213 | if err != nil { | 213 | if err != nil { |
214 | return nil, fmt.Errorf("获取查询共创项目失败:%w", err) | 214 | return nil, fmt.Errorf("获取查询共创项目失败:%w", err) |
215 | } | 215 | } |
216 | - log.Logger.Debug("获取基础模块请求数据:查询共创项目。", map[string]interface{}{ | 216 | + log.Logger.Debug("获取业务模块请求数据:查询共创项目。", map[string]interface{}{ |
217 | "result": string(byteResult), | 217 | "result": string(byteResult), |
218 | }) | 218 | }) |
219 | var result service_gateway.GatewayResponse | 219 | var result service_gateway.GatewayResponse |
@@ -231,7 +231,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsCheck(param R | @@ -231,7 +231,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsCheck(param R | ||
231 | url := gateway.baseUrL + "/cooperation-projects/check" | 231 | url := gateway.baseUrL + "/cooperation-projects/check" |
232 | method := "POST" | 232 | method := "POST" |
233 | req := gateway.CreateRequest(url, method) | 233 | req := gateway.CreateRequest(url, method) |
234 | - log.Logger.Debug("向基础模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{ | 234 | + log.Logger.Debug("向业务模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{ |
235 | "api": method + ":" + url, | 235 | "api": method + ":" + url, |
236 | "param": param, | 236 | "param": param, |
237 | }) | 237 | }) |
@@ -244,7 +244,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsCheck(param R | @@ -244,7 +244,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsCheck(param R | ||
244 | if err != nil { | 244 | if err != nil { |
245 | return nil, fmt.Errorf("获取判断当前勾选的承接对象是否存在用户失败:%w", err) | 245 | return nil, fmt.Errorf("获取判断当前勾选的承接对象是否存在用户失败:%w", err) |
246 | } | 246 | } |
247 | - log.Logger.Debug("获取基础模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{ | 247 | + log.Logger.Debug("获取业务模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{ |
248 | "result": string(byteResult), | 248 | "result": string(byteResult), |
249 | }) | 249 | }) |
250 | var result service_gateway.GatewayResponse | 250 | var result service_gateway.GatewayResponse |
@@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderAdd(param ReqDivid | @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderAdd(param ReqDivid | ||
15 | url := gateway.baseUrL + "/dividends-orders" | 15 | url := gateway.baseUrL + "/dividends-orders" |
16 | method := "POST" | 16 | method := "POST" |
17 | req := gateway.CreateRequest(url, method) | 17 | req := gateway.CreateRequest(url, method) |
18 | - log.Logger.Debug("向基础模块请求数据:创建分红订单。", map[string]interface{}{ | 18 | + log.Logger.Debug("向业务模块请求数据:创建分红订单。", map[string]interface{}{ |
19 | "api": method + ":" + url, | 19 | "api": method + ":" + url, |
20 | "param": param, | 20 | "param": param, |
21 | }) | 21 | }) |
@@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderAdd(param ReqDivid | @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderAdd(param ReqDivid | ||
28 | if err != nil { | 28 | if err != nil { |
29 | return nil, fmt.Errorf("获取创建分红订单失败:%w", err) | 29 | return nil, fmt.Errorf("获取创建分红订单失败:%w", err) |
30 | } | 30 | } |
31 | - log.Logger.Debug("获取基础模块请求数据:创建分红订单。", map[string]interface{}{ | 31 | + log.Logger.Debug("获取业务模块请求数据:创建分红订单。", map[string]interface{}{ |
32 | "result": string(byteResult), | 32 | "result": string(byteResult), |
33 | }) | 33 | }) |
34 | var result service_gateway.GatewayResponse | 34 | var result service_gateway.GatewayResponse |
@@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderUpdate(param ReqDi | @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderUpdate(param ReqDi | ||
46 | url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId) | 46 | url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId) |
47 | method := "PUT" | 47 | method := "PUT" |
48 | req := gateway.CreateRequest(url, method) | 48 | req := gateway.CreateRequest(url, method) |
49 | - log.Logger.Debug("向基础模块请求数据:更新分红订单。", map[string]interface{}{ | 49 | + log.Logger.Debug("向业务模块请求数据:更新分红订单。", map[string]interface{}{ |
50 | "api": method + ":" + url, | 50 | "api": method + ":" + url, |
51 | "param": param, | 51 | "param": param, |
52 | }) | 52 | }) |
@@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderUpdate(param ReqDi | @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderUpdate(param ReqDi | ||
59 | if err != nil { | 59 | if err != nil { |
60 | return nil, fmt.Errorf("获取更新分红订单失败:%w", err) | 60 | return nil, fmt.Errorf("获取更新分红订单失败:%w", err) |
61 | } | 61 | } |
62 | - log.Logger.Debug("获取基础模块请求数据:更新分红订单。", map[string]interface{}{ | 62 | + log.Logger.Debug("获取业务模块请求数据:更新分红订单。", map[string]interface{}{ |
63 | "result": string(byteResult), | 63 | "result": string(byteResult), |
64 | }) | 64 | }) |
65 | var result service_gateway.GatewayResponse | 65 | var result service_gateway.GatewayResponse |
@@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderSearch(param ReqDi | @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderSearch(param ReqDi | ||
77 | url := gateway.baseUrL + "/dividends-orders/search" | 77 | url := gateway.baseUrL + "/dividends-orders/search" |
78 | method := "POST" | 78 | method := "POST" |
79 | req := gateway.CreateRequest(url, method) | 79 | req := gateway.CreateRequest(url, method) |
80 | - log.Logger.Debug("向基础模块请求数据:查询分红订单。", map[string]interface{}{ | 80 | + log.Logger.Debug("向业务模块请求数据:查询分红订单。", map[string]interface{}{ |
81 | "api": method + ":" + url, | 81 | "api": method + ":" + url, |
82 | "param": param, | 82 | "param": param, |
83 | }) | 83 | }) |
@@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderSearch(param ReqDi | @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderSearch(param ReqDi | ||
90 | if err != nil { | 90 | if err != nil { |
91 | return nil, fmt.Errorf("获取查询分红订单失败:%w", err) | 91 | return nil, fmt.Errorf("获取查询分红订单失败:%w", err) |
92 | } | 92 | } |
93 | - log.Logger.Debug("获取基础模块请求数据:查询分红订单。", map[string]interface{}{ | 93 | + log.Logger.Debug("获取业务模块请求数据:查询分红订单。", map[string]interface{}{ |
94 | "result": string(byteResult), | 94 | "result": string(byteResult), |
95 | }) | 95 | }) |
96 | var result service_gateway.GatewayResponse | 96 | var result service_gateway.GatewayResponse |
@@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) SearchOrderNumber(param ReqSearc | @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) SearchOrderNumber(param ReqSearc | ||
108 | url := gateway.baseUrL + "/search-order-number" | 108 | url := gateway.baseUrL + "/search-order-number" |
109 | method := "POST" | 109 | method := "POST" |
110 | req := gateway.CreateRequest(url, method) | 110 | req := gateway.CreateRequest(url, method) |
111 | - log.Logger.Debug("向基础模块请求数据:模糊查询分红订单号。", map[string]interface{}{ | 111 | + log.Logger.Debug("向业务模块请求数据:模糊查询分红订单号。", map[string]interface{}{ |
112 | "api": method + ":" + url, | 112 | "api": method + ":" + url, |
113 | "param": param, | 113 | "param": param, |
114 | }) | 114 | }) |
@@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) SearchOrderNumber(param ReqSearc | @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) SearchOrderNumber(param ReqSearc | ||
121 | if err != nil { | 121 | if err != nil { |
122 | return nil, fmt.Errorf("获取模糊查询分红订单号失败:%w", err) | 122 | return nil, fmt.Errorf("获取模糊查询分红订单号失败:%w", err) |
123 | } | 123 | } |
124 | - log.Logger.Debug("获取基础模块请求数据:模糊查询分红订单号。", map[string]interface{}{ | 124 | + log.Logger.Debug("获取业务模块请求数据:模糊查询分红订单号。", map[string]interface{}{ |
125 | "result": string(byteResult), | 125 | "result": string(byteResult), |
126 | }) | 126 | }) |
127 | var result service_gateway.GatewayResponse | 127 | var result service_gateway.GatewayResponse |
@@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderRemove(param ReqDi | @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderRemove(param ReqDi | ||
139 | url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId) | 139 | url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId) |
140 | method := "DELETE" | 140 | method := "DELETE" |
141 | req := gateway.CreateRequest(url, method) | 141 | req := gateway.CreateRequest(url, method) |
142 | - log.Logger.Debug("向基础模块请求数据:移除分红订单。", map[string]interface{}{ | 142 | + log.Logger.Debug("向业务模块请求数据:移除分红订单。", map[string]interface{}{ |
143 | "api": method + ":" + url, | 143 | "api": method + ":" + url, |
144 | "param": param, | 144 | "param": param, |
145 | }) | 145 | }) |
@@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderRemove(param ReqDi | @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderRemove(param ReqDi | ||
152 | if err != nil { | 152 | if err != nil { |
153 | return nil, fmt.Errorf("获取移除分红订单失败:%w", err) | 153 | return nil, fmt.Errorf("获取移除分红订单失败:%w", err) |
154 | } | 154 | } |
155 | - log.Logger.Debug("获取基础模块请求数据:移除分红订单。", map[string]interface{}{ | 155 | + log.Logger.Debug("获取业务模块请求数据:移除分红订单。", map[string]interface{}{ |
156 | "result": string(byteResult), | 156 | "result": string(byteResult), |
157 | }) | 157 | }) |
158 | var result service_gateway.GatewayResponse | 158 | var result service_gateway.GatewayResponse |
@@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderList(param ReqDivi | @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderList(param ReqDivi | ||
170 | url := gateway.baseUrL + "/dividends-orders" | 170 | url := gateway.baseUrL + "/dividends-orders" |
171 | method := "GET" | 171 | method := "GET" |
172 | req := gateway.CreateRequest(url, method) | 172 | req := gateway.CreateRequest(url, method) |
173 | - log.Logger.Debug("向基础模块请求数据:返回分红订单列表。", map[string]interface{}{ | 173 | + log.Logger.Debug("向业务模块请求数据:返回分红订单列表。", map[string]interface{}{ |
174 | "api": method + ":" + url, | 174 | "api": method + ":" + url, |
175 | "param": param, | 175 | "param": param, |
176 | }) | 176 | }) |
@@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderList(param ReqDivi | @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderList(param ReqDivi | ||
183 | if err != nil { | 183 | if err != nil { |
184 | return nil, fmt.Errorf("获取返回分红订单列表失败:%w", err) | 184 | return nil, fmt.Errorf("获取返回分红订单列表失败:%w", err) |
185 | } | 185 | } |
186 | - log.Logger.Debug("获取基础模块请求数据:返回分红订单列表。", map[string]interface{}{ | 186 | + log.Logger.Debug("获取业务模块请求数据:返回分红订单列表。", map[string]interface{}{ |
187 | "result": string(byteResult), | 187 | "result": string(byteResult), |
188 | }) | 188 | }) |
189 | var result service_gateway.GatewayResponse | 189 | var result service_gateway.GatewayResponse |
@@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid | @@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid | ||
201 | url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId) | 201 | url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId) |
202 | method := "GET" | 202 | method := "GET" |
203 | req := gateway.CreateRequest(url, method) | 203 | req := gateway.CreateRequest(url, method) |
204 | - log.Logger.Debug("向基础模块请求数据:返回分红订单详情。", map[string]interface{}{ | 204 | + log.Logger.Debug("向业务模块请求数据:返回分红订单详情。", map[string]interface{}{ |
205 | "api": method + ":" + url, | 205 | "api": method + ":" + url, |
206 | "param": param, | 206 | "param": param, |
207 | }) | 207 | }) |
@@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid | @@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid | ||
214 | if err != nil { | 214 | if err != nil { |
215 | return nil, fmt.Errorf("获取返回分红订单详情失败:%w", err) | 215 | return nil, fmt.Errorf("获取返回分红订单详情失败:%w", err) |
216 | } | 216 | } |
217 | - log.Logger.Debug("获取基础模块请求数据:返回分红订单详情。", map[string]interface{}{ | 217 | + log.Logger.Debug("获取业务模块请求数据:返回分红订单详情。", map[string]interface{}{ |
218 | "result": string(byteResult), | 218 | "result": string(byteResult), |
219 | }) | 219 | }) |
220 | var result service_gateway.GatewayResponse | 220 | var result service_gateway.GatewayResponse |
@@ -14,7 +14,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateIncentive(param | @@ -14,7 +14,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateIncentive(param | ||
14 | url := gateway.baseUrL + "/dividends-estimates/estimate-dividends-incentives" | 14 | url := gateway.baseUrL + "/dividends-estimates/estimate-dividends-incentives" |
15 | method := "POST" | 15 | method := "POST" |
16 | req := gateway.CreateRequest(url, method) | 16 | req := gateway.CreateRequest(url, method) |
17 | - log.Logger.Debug("向基础模块请求数据:确定预算分红激励。", map[string]interface{}{ | 17 | + log.Logger.Debug("向业务模块请求数据:确定预算分红激励。", map[string]interface{}{ |
18 | "api": method + ":" + url, | 18 | "api": method + ":" + url, |
19 | "param": param, | 19 | "param": param, |
20 | }) | 20 | }) |
@@ -27,7 +27,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateIncentive(param | @@ -27,7 +27,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateIncentive(param | ||
27 | if err != nil { | 27 | if err != nil { |
28 | return nil, fmt.Errorf("获取确定预算分红激励失败:%w", err) | 28 | return nil, fmt.Errorf("获取确定预算分红激励失败:%w", err) |
29 | } | 29 | } |
30 | - log.Logger.Debug("获取基础模块请求数据:确定预算分红激励。", map[string]interface{}{ | 30 | + log.Logger.Debug("获取业务模块请求数据:确定预算分红激励。", map[string]interface{}{ |
31 | "result": string(byteResult), | 31 | "result": string(byteResult), |
32 | }) | 32 | }) |
33 | var result service_gateway.GatewayResponse | 33 | var result service_gateway.GatewayResponse |
@@ -45,7 +45,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateAdd(param ReqDi | @@ -45,7 +45,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateAdd(param ReqDi | ||
45 | url := gateway.baseUrL + "/dividends-estimates" | 45 | url := gateway.baseUrL + "/dividends-estimates" |
46 | method := "POST" | 46 | method := "POST" |
47 | req := gateway.CreateRequest(url, method) | 47 | req := gateway.CreateRequest(url, method) |
48 | - log.Logger.Debug("向基础模块请求数据:创建分红预算。", map[string]interface{}{ | 48 | + log.Logger.Debug("向业务模块请求数据:创建分红预算。", map[string]interface{}{ |
49 | "api": method + ":" + url, | 49 | "api": method + ":" + url, |
50 | "param": param, | 50 | "param": param, |
51 | }) | 51 | }) |
@@ -58,7 +58,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateAdd(param ReqDi | @@ -58,7 +58,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateAdd(param ReqDi | ||
58 | if err != nil { | 58 | if err != nil { |
59 | return nil, fmt.Errorf("获取创建分红预算失败:%w", err) | 59 | return nil, fmt.Errorf("获取创建分红预算失败:%w", err) |
60 | } | 60 | } |
61 | - log.Logger.Debug("获取基础模块请求数据:创建分红预算。", map[string]interface{}{ | 61 | + log.Logger.Debug("获取业务模块请求数据:创建分红预算。", map[string]interface{}{ |
62 | "result": string(byteResult), | 62 | "result": string(byteResult), |
63 | }) | 63 | }) |
64 | var result service_gateway.GatewayResponse | 64 | var result service_gateway.GatewayResponse |
@@ -76,7 +76,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re | @@ -76,7 +76,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re | ||
76 | url := gateway.baseUrL + "/dividends-estimates/{dividendsEstimateId}" | 76 | url := gateway.baseUrL + "/dividends-estimates/{dividendsEstimateId}" |
77 | method := "PUT" | 77 | method := "PUT" |
78 | req := gateway.CreateRequest(url, method) | 78 | req := gateway.CreateRequest(url, method) |
79 | - log.Logger.Debug("向基础模块请求数据:更新分红预算。", map[string]interface{}{ | 79 | + log.Logger.Debug("向业务模块请求数据:更新分红预算。", map[string]interface{}{ |
80 | "api": method + ":" + url, | 80 | "api": method + ":" + url, |
81 | "param": param, | 81 | "param": param, |
82 | }) | 82 | }) |
@@ -89,7 +89,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re | @@ -89,7 +89,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re | ||
89 | if err != nil { | 89 | if err != nil { |
90 | return nil, fmt.Errorf("获取更新分红预算失败:%w", err) | 90 | return nil, fmt.Errorf("获取更新分红预算失败:%w", err) |
91 | } | 91 | } |
92 | - log.Logger.Debug("获取基础模块请求数据:更新分红预算。", map[string]interface{}{ | 92 | + log.Logger.Debug("获取业务模块请求数据:更新分红预算。", map[string]interface{}{ |
93 | "result": string(byteResult), | 93 | "result": string(byteResult), |
94 | }) | 94 | }) |
95 | var result service_gateway.GatewayResponse | 95 | var result service_gateway.GatewayResponse |
@@ -107,7 +107,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends | @@ -107,7 +107,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends | ||
107 | url := gateway.baseUrL + "/dividends-estimates/search-dividends-incentives" | 107 | url := gateway.baseUrL + "/dividends-estimates/search-dividends-incentives" |
108 | method := "POST" | 108 | method := "POST" |
109 | req := gateway.CreateRequest(url, method) | 109 | req := gateway.CreateRequest(url, method) |
110 | - log.Logger.Debug("向基础模块请求数据:查询业绩分红。", map[string]interface{}{ | 110 | + log.Logger.Debug("向业务模块请求数据:查询业绩分红。", map[string]interface{}{ |
111 | "api": method + ":" + url, | 111 | "api": method + ":" + url, |
112 | "param": param, | 112 | "param": param, |
113 | }) | 113 | }) |
@@ -120,7 +120,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends | @@ -120,7 +120,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends | ||
120 | if err != nil { | 120 | if err != nil { |
121 | return nil, fmt.Errorf("获取查询业绩分红失败:%w", err) | 121 | return nil, fmt.Errorf("获取查询业绩分红失败:%w", err) |
122 | } | 122 | } |
123 | - log.Logger.Debug("获取基础模块请求数据:查询业绩分红。", map[string]interface{}{ | 123 | + log.Logger.Debug("获取业务模块请求数据:查询业绩分红。", map[string]interface{}{ |
124 | "result": string(byteResult), | 124 | "result": string(byteResult), |
125 | }) | 125 | }) |
126 | var result service_gateway.GatewayResponse | 126 | var result service_gateway.GatewayResponse |
@@ -138,7 +138,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R | @@ -138,7 +138,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R | ||
138 | url := gateway.baseUrL + "/dividends-estimates/search" | 138 | url := gateway.baseUrL + "/dividends-estimates/search" |
139 | method := "POST" | 139 | method := "POST" |
140 | req := gateway.CreateRequest(url, method) | 140 | req := gateway.CreateRequest(url, method) |
141 | - log.Logger.Debug("向基础模块请求数据:查询分红预算单。", map[string]interface{}{ | 141 | + log.Logger.Debug("向业务模块请求数据:查询分红预算单。", map[string]interface{}{ |
142 | "api": method + ":" + url, | 142 | "api": method + ":" + url, |
143 | "param": param, | 143 | "param": param, |
144 | }) | 144 | }) |
@@ -151,7 +151,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R | @@ -151,7 +151,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R | ||
151 | if err != nil { | 151 | if err != nil { |
152 | return nil, fmt.Errorf("获取查询分红预算单失败:%w", err) | 152 | return nil, fmt.Errorf("获取查询分红预算单失败:%w", err) |
153 | } | 153 | } |
154 | - log.Logger.Debug("获取基础模块请求数据:查询分红预算单。", map[string]interface{}{ | 154 | + log.Logger.Debug("获取业务模块请求数据:查询分红预算单。", map[string]interface{}{ |
155 | "result": string(byteResult), | 155 | "result": string(byteResult), |
156 | }) | 156 | }) |
157 | var result service_gateway.GatewayResponse | 157 | var result service_gateway.GatewayResponse |
@@ -169,7 +169,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa | @@ -169,7 +169,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa | ||
169 | url := gateway.baseUrL + "/dividends-estimates/search-money-incentives" | 169 | url := gateway.baseUrL + "/dividends-estimates/search-money-incentives" |
170 | method := "POST" | 170 | method := "POST" |
171 | req := gateway.CreateRequest(url, method) | 171 | req := gateway.CreateRequest(url, method) |
172 | - log.Logger.Debug("向基础模块请求数据:查询金额激励分红。", map[string]interface{}{ | 172 | + log.Logger.Debug("向业务模块请求数据:查询金额激励分红。", map[string]interface{}{ |
173 | "api": method + ":" + url, | 173 | "api": method + ":" + url, |
174 | "param": param, | 174 | "param": param, |
175 | }) | 175 | }) |
@@ -182,7 +182,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa | @@ -182,7 +182,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa | ||
182 | if err != nil { | 182 | if err != nil { |
183 | return nil, fmt.Errorf("获取查询金额激励分红失败:%w", err) | 183 | return nil, fmt.Errorf("获取查询金额激励分红失败:%w", err) |
184 | } | 184 | } |
185 | - log.Logger.Debug("获取基础模块请求数据:查询金额激励分红。", map[string]interface{}{ | 185 | + log.Logger.Debug("获取业务模块请求数据:查询金额激励分红。", map[string]interface{}{ |
186 | "result": string(byteResult), | 186 | "result": string(byteResult), |
187 | }) | 187 | }) |
188 | var result service_gateway.GatewayResponse | 188 | var result service_gateway.GatewayResponse |
@@ -200,7 +200,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R | @@ -200,7 +200,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R | ||
200 | url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) + "/cancel" | 200 | url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) + "/cancel" |
201 | method := "POST" | 201 | method := "POST" |
202 | req := gateway.CreateRequest(url, method) | 202 | req := gateway.CreateRequest(url, method) |
203 | - log.Logger.Debug("向基础模块请求数据:取消分红预算。", map[string]interface{}{ | 203 | + log.Logger.Debug("向业务模块请求数据:取消分红预算。", map[string]interface{}{ |
204 | "api": method + ":" + url, | 204 | "api": method + ":" + url, |
205 | "param": param, | 205 | "param": param, |
206 | }) | 206 | }) |
@@ -213,7 +213,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R | @@ -213,7 +213,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R | ||
213 | if err != nil { | 213 | if err != nil { |
214 | return nil, fmt.Errorf("获取取消分红预算失败:%w", err) | 214 | return nil, fmt.Errorf("获取取消分红预算失败:%w", err) |
215 | } | 215 | } |
216 | - log.Logger.Debug("获取基础模块请求数据:取消分红预算。", map[string]interface{}{ | 216 | + log.Logger.Debug("获取业务模块请求数据:取消分红预算。", map[string]interface{}{ |
217 | "result": string(byteResult), | 217 | "result": string(byteResult), |
218 | }) | 218 | }) |
219 | var result service_gateway.GatewayResponse | 219 | var result service_gateway.GatewayResponse |
@@ -231,7 +231,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys | @@ -231,7 +231,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys | ||
231 | url := gateway.baseUrL + "/dividends-estimates/estimate-money-incentives" | 231 | url := gateway.baseUrL + "/dividends-estimates/estimate-money-incentives" |
232 | method := "POST" | 232 | method := "POST" |
233 | req := gateway.CreateRequest(url, method) | 233 | req := gateway.CreateRequest(url, method) |
234 | - log.Logger.Debug("向基础模块请求数据:确定预算金额激励分红。", map[string]interface{}{ | 234 | + log.Logger.Debug("向业务模块请求数据:确定预算金额激励分红。", map[string]interface{}{ |
235 | "api": method + ":" + url, | 235 | "api": method + ":" + url, |
236 | "param": param, | 236 | "param": param, |
237 | }) | 237 | }) |
@@ -244,7 +244,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys | @@ -244,7 +244,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys | ||
244 | if err != nil { | 244 | if err != nil { |
245 | return nil, fmt.Errorf("获取确定预算金额激励分红失败:%w", err) | 245 | return nil, fmt.Errorf("获取确定预算金额激励分红失败:%w", err) |
246 | } | 246 | } |
247 | - log.Logger.Debug("获取基础模块请求数据:确定预算金额激励分红。", map[string]interface{}{ | 247 | + log.Logger.Debug("获取业务模块请求数据:确定预算金额激励分红。", map[string]interface{}{ |
248 | "result": string(byteResult), | 248 | "result": string(byteResult), |
249 | }) | 249 | }) |
250 | var result service_gateway.GatewayResponse | 250 | var result service_gateway.GatewayResponse |
@@ -263,7 +263,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti | @@ -263,7 +263,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti | ||
263 | url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) | 263 | url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) |
264 | method := "DELETE" | 264 | method := "DELETE" |
265 | req := gateway.CreateRequest(url, method) | 265 | req := gateway.CreateRequest(url, method) |
266 | - log.Logger.Debug("向基础模块请求数据:移除分红预算。", map[string]interface{}{ | 266 | + log.Logger.Debug("向业务模块请求数据:移除分红预算。", map[string]interface{}{ |
267 | "api": method + ":" + url, | 267 | "api": method + ":" + url, |
268 | "param": param, | 268 | "param": param, |
269 | }) | 269 | }) |
@@ -276,7 +276,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti | @@ -276,7 +276,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti | ||
276 | if err != nil { | 276 | if err != nil { |
277 | return nil, fmt.Errorf("获取移除分红预算失败:%w", err) | 277 | return nil, fmt.Errorf("获取移除分红预算失败:%w", err) |
278 | } | 278 | } |
279 | - log.Logger.Debug("获取基础模块请求数据:移除分红预算。", map[string]interface{}{ | 279 | + log.Logger.Debug("获取业务模块请求数据:移除分红预算。", map[string]interface{}{ |
280 | "result": string(byteResult), | 280 | "result": string(byteResult), |
281 | }) | 281 | }) |
282 | var result service_gateway.GatewayResponse | 282 | var result service_gateway.GatewayResponse |
@@ -294,7 +294,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(pa | @@ -294,7 +294,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(pa | ||
294 | url := gateway.baseUrL + "/dividends-estimates/list-dividends-incentives" | 294 | url := gateway.baseUrL + "/dividends-estimates/list-dividends-incentives" |
295 | method := "GET" | 295 | method := "GET" |
296 | req := gateway.CreateRequest(url, method) | 296 | req := gateway.CreateRequest(url, method) |
297 | - log.Logger.Debug("向基础模块请求数据:返回业绩激励分红详情。", map[string]interface{}{ | 297 | + log.Logger.Debug("向业务模块请求数据:返回业绩激励分红详情。", map[string]interface{}{ |
298 | "api": method + ":" + url, | 298 | "api": method + ":" + url, |
299 | "param": param, | 299 | "param": param, |
300 | }) | 300 | }) |
@@ -307,7 +307,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(pa | @@ -307,7 +307,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(pa | ||
307 | if err != nil { | 307 | if err != nil { |
308 | return nil, fmt.Errorf("获取返回业绩激励分红详情失败:%w", err) | 308 | return nil, fmt.Errorf("获取返回业绩激励分红详情失败:%w", err) |
309 | } | 309 | } |
310 | - log.Logger.Debug("获取基础模块请求数据:返回业绩激励分红详情。", map[string]interface{}{ | 310 | + log.Logger.Debug("获取业务模块请求数据:返回业绩激励分红详情。", map[string]interface{}{ |
311 | "result": string(byteResult), | 311 | "result": string(byteResult), |
312 | }) | 312 | }) |
313 | var result service_gateway.GatewayResponse | 313 | var result service_gateway.GatewayResponse |
@@ -325,7 +325,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqD | @@ -325,7 +325,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqD | ||
325 | url := gateway.baseUrL + "/dividends-estimates" | 325 | url := gateway.baseUrL + "/dividends-estimates" |
326 | method := "GET" | 326 | method := "GET" |
327 | req := gateway.CreateRequest(url, method) | 327 | req := gateway.CreateRequest(url, method) |
328 | - log.Logger.Debug("向基础模块请求数据:返回分红预算列表。", map[string]interface{}{ | 328 | + log.Logger.Debug("向业务模块请求数据:返回分红预算列表。", map[string]interface{}{ |
329 | "api": method + ":" + url, | 329 | "api": method + ":" + url, |
330 | "param": param, | 330 | "param": param, |
331 | }) | 331 | }) |
@@ -338,7 +338,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqD | @@ -338,7 +338,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqD | ||
338 | if err != nil { | 338 | if err != nil { |
339 | return nil, fmt.Errorf("获取返回分红预算列表失败:%w", err) | 339 | return nil, fmt.Errorf("获取返回分红预算列表失败:%w", err) |
340 | } | 340 | } |
341 | - log.Logger.Debug("获取基础模块请求数据:返回分红预算列表。", map[string]interface{}{ | 341 | + log.Logger.Debug("获取业务模块请求数据:返回分红预算列表。", map[string]interface{}{ |
342 | "result": string(byteResult), | 342 | "result": string(byteResult), |
343 | }) | 343 | }) |
344 | var result service_gateway.GatewayResponse | 344 | var result service_gateway.GatewayResponse |
@@ -356,7 +356,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDi | @@ -356,7 +356,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDi | ||
356 | url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) | 356 | url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) |
357 | method := "GET" | 357 | method := "GET" |
358 | req := gateway.CreateRequest(url, method) | 358 | req := gateway.CreateRequest(url, method) |
359 | - log.Logger.Debug("向基础模块请求数据:返回分红预算详情。", map[string]interface{}{ | 359 | + log.Logger.Debug("向业务模块请求数据:返回分红预算详情。", map[string]interface{}{ |
360 | "api": method + ":" + url, | 360 | "api": method + ":" + url, |
361 | "param": param, | 361 | "param": param, |
362 | }) | 362 | }) |
@@ -369,7 +369,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDi | @@ -369,7 +369,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDi | ||
369 | if err != nil { | 369 | if err != nil { |
370 | return nil, fmt.Errorf("获取返回分红预算详情失败:%w", err) | 370 | return nil, fmt.Errorf("获取返回分红预算详情失败:%w", err) |
371 | } | 371 | } |
372 | - log.Logger.Debug("获取基础模块请求数据:返回分红预算详情。", map[string]interface{}{ | 372 | + log.Logger.Debug("获取业务模块请求数据:返回分红预算详情。", map[string]interface{}{ |
373 | "result": string(byteResult), | 373 | "result": string(byteResult), |
374 | }) | 374 | }) |
375 | var result service_gateway.GatewayResponse | 375 | var result service_gateway.GatewayResponse |
@@ -387,7 +387,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(para | @@ -387,7 +387,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(para | ||
387 | url := gateway.baseUrL + "/dividends-estimates/list-money-incentives" | 387 | url := gateway.baseUrL + "/dividends-estimates/list-money-incentives" |
388 | method := "GET" | 388 | method := "GET" |
389 | req := gateway.CreateRequest(url, method) | 389 | req := gateway.CreateRequest(url, method) |
390 | - log.Logger.Debug("向基础模块请求数据:返回金额激励分红列表。", map[string]interface{}{ | 390 | + log.Logger.Debug("向业务模块请求数据:返回金额激励分红列表。", map[string]interface{}{ |
391 | "api": method + ":" + url, | 391 | "api": method + ":" + url, |
392 | "param": param, | 392 | "param": param, |
393 | }) | 393 | }) |
@@ -400,7 +400,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(para | @@ -400,7 +400,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(para | ||
400 | if err != nil { | 400 | if err != nil { |
401 | return nil, fmt.Errorf("获取返回金额激励分红列表失败:%w", err) | 401 | return nil, fmt.Errorf("获取返回金额激励分红列表失败:%w", err) |
402 | } | 402 | } |
403 | - log.Logger.Debug("获取基础模块请求数据:返回金额激励分红列表。", map[string]interface{}{ | 403 | + log.Logger.Debug("获取业务模块请求数据:返回金额激励分红列表。", map[string]interface{}{ |
404 | "result": string(byteResult), | 404 | "result": string(byteResult), |
405 | }) | 405 | }) |
406 | var result service_gateway.GatewayResponse | 406 | var result service_gateway.GatewayResponse |
-
请 注册 或 登录 后发表评论