admin
2020-07-07 c9cbad5f5d18c6b2ac5a063e41007933d7028329
fanli/src/main/java/com/yeshi/fanli/controller/CallBackController.java
@@ -64,10 +64,7 @@
import net.sf.json.JSONObject;
/**
 *
 *
 * @author Administrator
 *
 */
@Controller
@RequestMapping("client/v1/callback")
@@ -198,11 +195,11 @@
   /**
    * 支付宝支付回调
     *
     * @param out void 返回类型
     * @throws
    * @Title: alipay
    * @Description: 
    * @param out
    * void 返回类型
    * @throws
    */
   @RequestMapping(value = "alipay")
   public void alipay(PrintWriter out) {
@@ -245,12 +242,12 @@
   /**
    * 联盟好物圈
     *
     * @param request
     * @param out     void 返回类型
     * @throws
    * @Title: haoWuQuan
    * @Description: 
    * @param request
    * @param out
    * void 返回类型
    * @throws
    */
   @RequestMapping(value = "faquan/haowuquan")
   public void haoWuQuan(HttpServletRequest request, String content, PrintWriter out) {
@@ -271,7 +268,7 @@
      JSONArray array = data.optJSONObject("recommend").optJSONArray("resultList");
      long startTime = System.currentTimeMillis();
        for (SystemEnum system : SystemEnum.values())
      for (int i = array.size() - 1; i >= 0; i--) {
         JSONObject item = array.optJSONObject(i);
         String title = item.optString("itemName");
@@ -293,8 +290,8 @@
         if (goodsBrief == null)
            continue;
         // 商品VO
         ConfigParamsDTO paramsDTO = orderHongBaoMoneyComputeService.getShowComputeRate("android", "55");
         paramsDTO.setBaseFanliRate(hongBaoManageService.getBaseFanliRate());
                ConfigParamsDTO paramsDTO = orderHongBaoMoneyComputeService.getShowComputeRate("android", "55",system);
                paramsDTO.setBaseFanliRate(hongBaoManageService.getBaseFanliRate(SystemEnum.blks));
         GoodsDetailVO goodsVO = GoodsDetailVOFactory.convertTaoBao(goodsBrief, paramsDTO);
         if (imgList.size() > 3)
@@ -338,7 +335,7 @@
         ActivityUser user = ruleList.get((int) (ruleList.size() * Math.random())).getActivityUser();
         try {
            for(SystemEnum system:SystemEnum.values())
            goodsEvaluateService.addGoodsEvaluate(itemId + "", imageList, user, doc, null,
                  new Date(startTime - 1000 * 60 * 20L * i),system);
         } catch (GoodsEvaluateException e) {