|
@@ -12,27 +12,17 @@ import java.util.Iterator;
|
|
|
import java.util.regex.Matcher;
|
|
|
import java.util.regex.Pattern;
|
|
|
|
|
|
-
|
|
|
- *
|
|
|
- * 敬众 MOBILE_CHECK_VIP
|
|
|
- * Created by zhangqingxin Date : 16/11/6 Time : 10:41
|
|
|
- * <p/>
|
|
|
- * 参考一(HttpClient):http:
|
|
|
- * httpclient/3.1
|
|
|
- * 参考一(json-lib):http:
|
|
|
- */
|
|
|
public class QueryDemo_3rd {
|
|
|
|
|
|
|
|
|
* 测试地址
|
|
|
*/
|
|
|
-
|
|
|
- private static final String URL = "http://110.88.150.68:8000/gateway?api=credit.sec.data";
|
|
|
+ private static final String URL = "xxxxxx";
|
|
|
|
|
|
|
|
|
* 分配的appKey
|
|
|
*/
|
|
|
- private static final String appKey = "DATA_TEST";
|
|
|
+ private static final String appKey = "xxxxxx";
|
|
|
|
|
|
static String filename = "/Users/mashengyi/Desktop/";
|
|
|
static String logname = "编辑1.txt";
|
|
@@ -181,10 +171,10 @@ public class QueryDemo_3rd {
|
|
|
* 基本参数
|
|
|
*/
|
|
|
JSONObject paramJsonObj = new JSONObject();
|
|
|
- paramJsonObj.put("api", "CMCC_3RD_DETAIL_V20H");
|
|
|
+ paramJsonObj.put("api", "xxxxxx");
|
|
|
paramJsonObj.put("appKey", appKey);
|
|
|
paramJsonObj.put("appSecret",
|
|
|
- "C41DF125F0C23FBBB83E461F5045A30ACB3FF55A");
|
|
|
+ "xxxxxx");
|
|
|
|
|
|
|
|
|
|