Merge branch 'open_bohai' into 'master'
因百盛把评估不出来的改为正常状态,返回价格为0,导致状态码变为已审核状态,现加入价格判断 See merge request !467
This commit is contained in:
+2
-2
@@ -552,11 +552,11 @@ public class WeiXinEvaluationController {
|
||||
JSONObject dataObj = (JSONObject) bhApiResult.get("data");
|
||||
String queryId = (String) dataObj.get("queryId");
|
||||
Integer inquirePrice = (Integer) dataObj.get("inquirePrice");
|
||||
Integer auditStatus = null;
|
||||
Integer auditStatus = 0;
|
||||
String inquireRemark = (String) dataObj.get("remark");
|
||||
if((Integer) bhApiResult.get("errCode") == 1){//待人工核验
|
||||
auditStatus = 0;
|
||||
}else if((Integer) bhApiResult.get("errCode") == 0){//正常返回
|
||||
}else if((Integer) bhApiResult.get("errCode") == 0 && inquirePrice>0){//正常返回
|
||||
auditStatus = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.util.*;
|
||||
|
||||
public class BHBankUtils {
|
||||
|
||||
// public static String token = "bh";// 原:bohaifangjiatest
|
||||
// public static String token = "bohaifangjia";// 原:bohaifangjiatest
|
||||
// public static String uri = "http://shbreac.ruitingcc.com/API/";//测试 原:http://topen.shbrea.com.cn/API
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user