|
@@ -182,6 +182,9 @@ public class TaContractServiceImpl extends ServiceImpl<TaContractMapper, TaContr
|
182
|
182
|
* @return
|
183
|
183
|
*/
|
184
|
184
|
private String getFddDownServerHost(String miniappId,String subUrl) {
|
|
185
|
+ if (StringUtils.isEmpty(subUrl)){
|
|
186
|
+ return subUrl;
|
|
187
|
+ }
|
185
|
188
|
TaMiniapp taMiniapp = taMiniappMapper.selectById(miniappId);
|
186
|
189
|
int index = subUrl.indexOf("/");
|
187
|
190
|
int twoIndex = subUrl.indexOf("/",index+1);
|
|
@@ -225,8 +228,8 @@ public class TaContractServiceImpl extends ServiceImpl<TaContractMapper, TaContr
|
225
|
228
|
req.setSign_keyword(taContractBusiness.getCustomerKeywords());
|
226
|
229
|
req.setKeyword_strategy(taContractBusiness.getCustomerStrategy());
|
227
|
230
|
req.setDoc_title(taContractBusiness.getContractTemplateName());
|
228
|
|
- String redirectUrl = URLEncoder.encode("/onlineSelling/pages/raiseMoney/signResult" + taContract.getInvoiceTargetId(), "utf-8");
|
229
|
|
- String return_url= fadadaProperties.getAuthReturnUrl() + "?appid=123&redirect="+ redirectUrl;
|
|
231
|
+ String redirectUrl = URLEncoder.encode("/onlineSelling/pages/raiseMoney/signResult?id=" + taContract.getInvoiceTargetId(), "utf-8");
|
|
232
|
+ String return_url= fadadaProperties.getRedirectUrl() + "?appid=123&redirect="+ redirectUrl;
|
230
|
233
|
req.setReturn_url(return_url);
|
231
|
234
|
req.setNotify_url(fadadaProperties.getSignNotify());
|
232
|
235
|
String signUrl = base.invokeExtSign(req);
|