|
|
|
@ -162,7 +162,8 @@ public class AliRealNameAuthenticationController { |
|
|
|
|
String method = "POST"; |
|
|
|
|
Map<String, String> headers = new HashMap<String, String>(); |
|
|
|
|
//最后在header中的格式(中间是英文空格)为Authorization:APPCODE 83359fd73fe94948385f570e3c139105
|
|
|
|
|
headers.put("Authorization", "APPCODE " + AliRealNameAuthenticationConfig.ALI_API_APPCODE); |
|
|
|
|
// headers.put("Authorization", "APPCODE " + AliRealNameAuthenticationConfig.ALI_API_APPCODE);
|
|
|
|
|
headers.put("Authorization", "APPCODE " + "bd4ad25d0e41466eabb31d9baa16a79f"); |
|
|
|
|
//根据API的要求,定义相对应的Content-Type
|
|
|
|
|
headers.put("Content-Type", "application/json; charset=UTF-8"); |
|
|
|
|
Map<String, String> querys = new HashMap<String, String>(); |
|
|
|
|