|
@@ -4,6 +4,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
+import java.net.URLDecoder;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
import java.util.SortedMap;
|
|
@@ -39,6 +40,8 @@ public class WechatController extends BaseController {
|
|
|
@ApiOperation("获取签名")
|
|
|
@GetMapping(value = "/getSignature")
|
|
|
public Object getSignature(String url) throws Exception {
|
|
|
+
|
|
|
+ url = URLDecoder.decode(url);
|
|
|
|
|
|
String accessToken = getAccessToken(appId, secret);
|
|
|
|