Commit 307923e1a2ed6111046a76928defb73ad85fe211
1 parent
ba831bfc
update
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| @@ -242,9 +242,9 @@ public class VideosController extends BaseController { | @@ -242,9 +242,9 @@ public class VideosController extends BaseController { | ||
| 242 | Object avsampleImgs = JSON.parse(detailsContent.getAvsample_imgs()); | 242 | Object avsampleImgs = JSON.parse(detailsContent.getAvsample_imgs()); |
| 243 | String yuming = ""; | 243 | String yuming = ""; |
| 244 | Integer plat = detailsContent.getPlat(); | 244 | Integer plat = detailsContent.getPlat(); |
| 245 | - if (plat == CommonConst.QINIU_PLAT) { | 245 | + if (CommonConst.QINIU_PLAT.equals(plat)) { |
| 246 | yuming = qn_domain + "/"; | 246 | yuming = qn_domain + "/"; |
| 247 | - } else if (plat == CommonConst.KS_PLAT) { | 247 | + } else if (CommonConst.KS_PLAT.equals(plat)) { |
| 248 | yuming = ks_domain + "/"; | 248 | yuming = ks_domain + "/"; |
| 249 | } | 249 | } |
| 250 | detailsContent.setAttr_tags(CommonUtils.isEmpty(detailsContent.getAttr_tags()) ? "" : detailsContent.getAttr_tags()); | 250 | detailsContent.setAttr_tags(CommonUtils.isEmpty(detailsContent.getAttr_tags()) ? "" : detailsContent.getAttr_tags()); |