Commit 7e2da9b9a9e3b357a4476aeff753a58c666f2c61
1 parent
c1ade408
调试bug
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| ... | ... | @@ -447,9 +447,9 @@ public class ContentServiceImpl { |
| 447 | 447 | if (jsonObject != null) { |
| 448 | 448 | Integer code = jsonObject.getInteger("code"); |
| 449 | 449 | String msg = jsonObject.getString("msg"); |
| 450 | - if (code != 200) { | |
| 450 | + if (code == 200) { | |
| 451 | 451 | // |0待发布 |1已发布 |2已下线 |
| 452 | - boolean flag = callback(shyContent.getContent_id(), "易盾机审未通过:" + msg, CommonConst.AUDIT_REFUSE, shyContent.getAuditor_id(), shyContent.getUpdater()); | |
| 452 | + callback(shyContent.getContent_id(), "易盾机审通过:" + msg, CommonConst.AUDIT_SUCCESS, "","机审通过"); | |
| 453 | 453 | } |
| 454 | 454 | JSONObject result = jsonObject.getJSONObject("result"); |
| 455 | 455 | String dataId = result.getString("dataId"); | ... | ... |