Commit fb729edd1cdd116ea874cdad1e369648b2461ef1
1 parent
ec0cf505
update
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/utils/YiDunAntiFraudUtil.java
| @@ -201,6 +201,7 @@ public class YiDunAntiFraudUtil { | @@ -201,6 +201,7 @@ public class YiDunAntiFraudUtil { | ||
| 201 | int count = 0; | 201 | int count = 0; |
| 202 | if (code == 200 && "ok".equals(msg)) { | 202 | if (code == 200 && "ok".equals(msg)) { |
| 203 | StringBuffer strBuffer = new StringBuffer(); | 203 | StringBuffer strBuffer = new StringBuffer(); |
| 204 | + strBuffer.append("易盾图片审核"); | ||
| 204 | JSONArray antispam = jsonResult.getJSONArray("antispam"); | 205 | JSONArray antispam = jsonResult.getJSONArray("antispam"); |
| 205 | if (antispam != null && antispam.size() > 0) { | 206 | if (antispam != null && antispam.size() > 0) { |
| 206 | for (int i = 0; i < antispam.size(); i++) { | 207 | for (int i = 0; i < antispam.size(); i++) { |
| @@ -230,7 +231,7 @@ public class YiDunAntiFraudUtil { | @@ -230,7 +231,7 @@ public class YiDunAntiFraudUtil { | ||
| 230 | jsonObj.put("desc", strBuffer); | 231 | jsonObj.put("desc", strBuffer); |
| 231 | } else { | 232 | } else { |
| 232 | jsonObj.put("type", "PASS"); | 233 | jsonObj.put("type", "PASS"); |
| 233 | - jsonObj.put("desc", "易盾审核通过"); | 234 | + jsonObj.put("desc", "易盾图片审核通过"); |
| 234 | } | 235 | } |
| 235 | logger.info("审核云图片识别处理后结果:{}", jsonObj.toString()); | 236 | logger.info("审核云图片识别处理后结果:{}", jsonObj.toString()); |
| 236 | return jsonObj; | 237 | return jsonObj; |