/**
  * 查询所有导航
  *
  * @return
  */
 @Action(
     value = "findAllSiteNavigationT",
     results = {@Result(name = "json", type = "json")})
 public String findAllSiteNavigationT() {
   if (StaticKey.SC.equals(this.getQtype())) {
     this.findDefaultAllSiteNavigation();
   } else {
     if (Validate.StrisNull(this.getQuery())) {
       return "json";
     } else {
       return "json";
     }
   }
   return "json";
 }
Пример #2
0
  /**
   * 根据goodsid查询所有评论数据
   *
   * @return
   */
  @Action(
      value = "findAllGoodsCommentListByGoodsId",
      results = {@Result(name = "json", type = "json")})
  public String findAllGoodsCommentListByGoodsId() {
    if (StaticKey.SC.equals(this.getQtype())) {
      this.finddefaultAllGoodsCommentByGoodsId();
    } else {
      if (StringUtils.isBlank(this.getQuery())) {
        return "json";
      } else {

        return "json";
      }
    }
    return "json";
  }
 /** 获取所有商品参数 */
 @Action(
     value = "findAllGoodsAttributeT",
     results = {@Result(name = "json", type = "json")})
 public String findAllGoodsAttributeT() {
   if (StaticKey.SC.equals(this.getQtype())) {
     this.findDefaultAllGoodsAttributeT();
   } else {
     if (Validate.StrisNull(this.getQuery())) {
       return "json";
     } else {
       if (this.getQtype().equals("goodsTypeName")) {
         findGoodsAttributeByParams();
       }
       return "json";
     }
   }
   return "json";
 }