Commit 307923e1a2ed6111046a76928defb73ad85fe211

Authored by 郑超
1 parent ba831bfc

update

src/main/java/com/cnlive/shenhe/controller/VideosController.java
... ... @@ -242,9 +242,9 @@ public class VideosController extends BaseController {
242 242 Object avsampleImgs = JSON.parse(detailsContent.getAvsample_imgs());
243 243 String yuming = "";
244 244 Integer plat = detailsContent.getPlat();
245   - if (plat == CommonConst.QINIU_PLAT) {
  245 + if (CommonConst.QINIU_PLAT.equals(plat)) {
246 246 yuming = qn_domain + "/";
247   - } else if (plat == CommonConst.KS_PLAT) {
  247 + } else if (CommonConst.KS_PLAT.equals(plat)) {
248 248 yuming = ks_domain + "/";
249 249 }
250 250 detailsContent.setAttr_tags(CommonUtils.isEmpty(detailsContent.getAttr_tags()) ? "" : detailsContent.getAttr_tags());
... ...