|
@@ -31,6 +31,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
+import java.io.UnsupportedEncodingException;
|
|
|
+import java.net.URLDecoder;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
@@ -202,14 +204,19 @@ public class TestController {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) throws UnsupportedEncodingException {
|
|
|
+ String decode = URLDecoder.decode("hJrdWFpc2hvdS5zaG9wLmIuc3QSkAGKwcVSG", "utf-8");
|
|
|
+ System.err.println(decode);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
@GetMapping(value = "/unitList")
|
|
|
public void unitList() {
|
|
|
List<Long> accountList = new ArrayList<>();
|
|
|
accountList.add(13595231L);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ accountList.add(13469838L);
|
|
|
+ accountList.add(13595243L);
|
|
|
for (int i = 0; i < accountList.size(); i++) {
|
|
|
Long aLong = accountList.get(i);
|
|
|
CtopOauthToken oauthToken = oauthTokenService.getTokenByAccountId(aLong);
|