|
@@ -29,7 +29,7 @@ public class AppUtil {
|
|
|
public static JSONObject idCard(String imgUrl, String side) {
|
|
|
String host = "https://cardnumber.market.alicloudapi.com";
|
|
|
String path = "/rest/160601/ocr/ocr_idcard.json";
|
|
|
- String appcode = "afda0d1b5d984f3bad99a2b362ec9285";
|
|
|
+ String appcode = "9f9f3a419d0e4e0bbe1bed74813328e2";
|
|
|
Map<String, String> headers = new HashMap<String, String>();
|
|
|
headers.put("Authorization", "APPCODE " + appcode);
|
|
|
//根据API的要求,定义相对应的Content-Type
|