|
@@ -12,6 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
12
|
12
|
import org.springframework.stereotype.Component;
|
13
|
13
|
|
14
|
14
|
import java.io.File;
|
|
15
|
+import java.net.URLEncoder;
|
15
|
16
|
import java.util.ArrayList;
|
16
|
17
|
import java.util.HashMap;
|
17
|
18
|
import java.util.Map;
|
|
@@ -89,7 +90,7 @@ public class TaCompanySealUtil {
|
89
|
90
|
stringBuilder.append("contract_id="+contractId+"&");
|
90
|
91
|
stringBuilder.append("msg_digest="+msgDigest+"&");
|
91
|
92
|
stringBuilder.append("notify_url="+fadadaProperties.getAuthNotifyUrl()+"&");
|
92
|
|
- stringBuilder.append("return_url="+fadadaProperties.getAuthReturnUrl() + companyId);
|
|
93
|
+ stringBuilder.append("return_url="+ URLEncoder.encode(fadadaProperties.getAuthReturnUrl(), "UTF-8") + companyId);
|
93
|
94
|
|
94
|
95
|
return stringBuilder.toString();
|
95
|
96
|
}
|