/**
  * 查询所有导航
  *
  * @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";
 }
Ejemplo n.º 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";
  }
Ejemplo n.º 3
0
 /** 获取所有商品参数 */
 @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";
 }