|
@@ -1036,12 +1036,12 @@ public class PayBillToolUtil {
|
|
|
public static Map<String,String> getNtscToken() {
|
|
|
Map<String,String> returnMap = new HashMap<>();
|
|
|
|
|
|
- Map<String, String> mapentity = CommonHelperUtils.getCommonParams("ntsc");
|
|
|
+ Map<String, String> mapentity = CommonHelperUtils.getCommonParams("nstc");
|
|
|
if(mapentity == null ){
|
|
|
log.info("PayBillTollUtil:nckd_entryentity is null");
|
|
|
|
|
|
returnMap.put("code", "1");
|
|
|
- returnMap.put("msg", "未配置SRM系统对接参数!");
|
|
|
+ returnMap.put("msg", "未配置九恒星系统对接参数!");
|
|
|
return returnMap;
|
|
|
}
|
|
|
|
|
@@ -1074,9 +1074,9 @@ public class PayBillToolUtil {
|
|
|
}
|
|
|
|
|
|
JSONObject resultJSON = new JSONObject(response);
|
|
|
- if (resultJSON !=null &&!StringUtils.isEmpty(resultJSON.get("access_token").toString())) {
|
|
|
+ if (resultJSON !=null &&!StringUtils.isEmpty(resultJSON.get("accessToken").toString())) {
|
|
|
returnMap.put("code", "0");
|
|
|
- returnMap.put("msg", resultJSON.get("access_token").toString());
|
|
|
+ returnMap.put("msg", resultJSON.get("accessToken").toString());
|
|
|
} else{
|
|
|
returnMap.put("code","1");
|
|
|
returnMap.put("msg", response);
|