|
@@ -1,10 +1,6 @@
|
|
|
package org.dromara.system.controller;
|
|
package org.dromara.system.controller;
|
|
|
|
|
|
|
|
import cn.dev33.satoken.annotation.SaIgnore;
|
|
import cn.dev33.satoken.annotation.SaIgnore;
|
|
|
-import cn.hutool.core.date.DateUtil;
|
|
|
|
|
-import cn.hutool.core.util.StrUtil;
|
|
|
|
|
-import cn.hutool.json.JSONArray;
|
|
|
|
|
-import cn.hutool.json.JSONObject;
|
|
|
|
|
import cn.hutool.json.JSONUtil;
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import com.github.binarywang.wxpay.bean.notify.WxPayNotifyResponse;
|
|
import com.github.binarywang.wxpay.bean.notify.WxPayNotifyResponse;
|
|
|
import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
|
|
import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
|
|
@@ -14,48 +10,26 @@ import jakarta.servlet.http.HttpServletRequest;
|
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import okhttp3.OkHttpClient;
|
|
|
|
|
import org.apache.commons.io.IOUtils;
|
|
import org.apache.commons.io.IOUtils;
|
|
|
import org.dromara.common.core.domain.R;
|
|
import org.dromara.common.core.domain.R;
|
|
|
-import org.dromara.common.core.utils.SpringUtils;
|
|
|
|
|
import org.dromara.common.log.annotation.Log;
|
|
import org.dromara.common.log.annotation.Log;
|
|
|
import org.dromara.common.log.enums.BusinessType;
|
|
import org.dromara.common.log.enums.BusinessType;
|
|
|
-import org.dromara.common.mybatis.core.page.PageQuery;
|
|
|
|
|
-import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
|
|
|
-import org.dromara.common.redis.utils.CacheUtils;
|
|
|
|
|
-import org.dromara.common.redis.utils.RedisUtils;
|
|
|
|
|
-import org.dromara.system.domain.bo.SysDictDataBo;
|
|
|
|
|
|
|
+import org.dromara.common.web.core.BaseController;
|
|
|
import org.dromara.system.domain.bo.TblDzbcBannerBo;
|
|
import org.dromara.system.domain.bo.TblDzbcBannerBo;
|
|
|
import org.dromara.system.domain.bo.TblDzbcOrderBo;
|
|
import org.dromara.system.domain.bo.TblDzbcOrderBo;
|
|
|
-import org.dromara.system.domain.vo.SysDictDataVo;
|
|
|
|
|
-import org.dromara.system.domain.vo.TblDzbcBannerVo;
|
|
|
|
|
import org.dromara.system.domain.vo.TblDzbcOrderVo;
|
|
import org.dromara.system.domain.vo.TblDzbcOrderVo;
|
|
|
-import org.dromara.system.service.ISysDictDataService;
|
|
|
|
|
import org.dromara.system.service.ITblDzbcBannerService;
|
|
import org.dromara.system.service.ITblDzbcBannerService;
|
|
|
import org.dromara.system.service.ITblDzbcOrderService;
|
|
import org.dromara.system.service.ITblDzbcOrderService;
|
|
|
-import org.dromara.util.CabinetUtil;
|
|
|
|
|
-import org.dromara.util.MessageUtils;
|
|
|
|
|
-import org.dromara.util.YingshiHttp;
|
|
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
-import java.time.Duration;
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
|
-import java.util.HashMap;
|
|
|
|
|
-import java.util.List;
|
|
|
|
|
-import java.util.Map;
|
|
|
|
|
-
|
|
|
|
|
-import static org.dromara.util.CabinetUtil.CABINET_BOXS;
|
|
|
|
|
-import static org.dromara.util.CabinetUtil.CABINET_INFO;
|
|
|
|
|
-
|
|
|
|
|
@Validated
|
|
@Validated
|
|
|
@RequiredArgsConstructor
|
|
@RequiredArgsConstructor
|
|
|
@RestController
|
|
@RestController
|
|
|
-@Slf4j
|
|
|
|
|
@SaIgnore
|
|
@SaIgnore
|
|
|
-@RequestMapping("/common")
|
|
|
|
|
-public class CommonController extends TblBaseController {
|
|
|
|
|
|
|
+@Slf4j
|
|
|
|
|
+@RequestMapping("/system/commonOther")
|
|
|
|
|
+public class CommonOtherController extends BaseController {
|
|
|
|
|
|
|
|
private final ITblDzbcBannerService bannerService;
|
|
private final ITblDzbcBannerService bannerService;
|
|
|
|
|
|