| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.dto.vip.UserVIPLevel;
|
| | | import com.yeshi.fanli.entity.bus.user.vip.UserVIPPreInfo;
|
| | | import com.yeshi.fanli.service.inter.user.vip.UserVIPInfoService;
|
| | | import com.yeshi.fanli.service.inter.user.vip.UserVIPPreInfoService;
|
| | | import org.springframework.stereotype.Controller;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.yeshi.utils.DateUtil;
|
| | |
| | |
|
| | | @Resource
|
| | | private SwiperPictureService swiperPictureService;
|
| | |
|
| | | @Resource
|
| | | private UserVIPPreInfoService userVIPPreInfoService;
|
| | |
|
| | | /**
|
| | | * 查询开通记录
|
| | |
| | | }
|
| | |
|
| | |
|
| | | |
| | | /**
|
| | | * 设置状态
|
| | | *
|
| | |
| | | }
|
| | |
|
| | |
|
| | |
|
| | | /**
|
| | | * 删除云发单备选库
|
| | | *
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | CloudOrderMenuEnum typeEnum = CloudOrderMenuEnum.valueOf(type);
|
| | | if (typeEnum == null) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(1, "套餐选择出错"));
|
| | | return;
|
| | | }
|
| | |
|
| | | if (typeEnum == CloudOrderMenuEnum.robotMonthVip) {
|
| | | UserVIPPreInfo vip = userVIPPreInfoService.getLatestProcessInfo(uid);
|
| | | if (vip == null || vip.getProcess() < UserVIPLevel.LEVEL_7) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult(1, "用户等级不满足"));
|
| | | return;
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | // 创建支付信息
|
| | | String alipayForm = userCloudAlipayManager.getAlipayForm(uid, type);
|
| | |
|
| | |
| | |
|
| | | /**
|
| | | * 动态一键发单
|
| | | *
|
| | | * @param callback
|
| | | * @param acceptData
|
| | | * @param uid
|
| | |
| | |
|
| | | /**
|
| | | * 商品详情一键发单
|
| | | *
|
| | | * @param callback
|
| | | * @param acceptData
|
| | | * @param uid
|