hjl
2024-07-16 ec6d43aa07ee0e8faf34498057ebcfbb446aa015
ruoyi-api/ruoyi-api-admin/src/main/java/com/ruoyi/admin/api/feignClient/AdminClient.java
@@ -4,10 +4,9 @@
import com.ruoyi.admin.api.factory.AdminFallbackFactory;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@@ -38,21 +37,23 @@
    R<Agreement> dataInfo(@RequestParam("type") Integer type);
    /**
     * 新增订单改派
     *
     * @param changeDispatch 改派信息
     * @return 详细数据
     */
    @PostMapping(value = "/changeDispatch/save")
    R<Boolean> changeDispatchSave(@RequestBody ExchangeDispatch changeDispatch);
    /**
     * 系统通知列表
     *
     * @return 通知公告列表
     */
    @GetMapping(value = "/notices/list")
    @GetMapping(value = "/notices/noticesList")
    R<List<Notices>> noticesList();
    /**
     * 系统通知详情
     * -- 远程调用
     *
     * @param id 主键id
     * @return 详情
     */
    @ApiOperation(value = "系统通知详情", tags = {"后台-系统设置-系统通知管理"})
    @GetMapping(value = "/notices/noticesDetail")
    R<Notices> noticesDetail(@RequestParam("id") Integer id);
    /**
     * 轮播图列表
@@ -87,6 +88,15 @@
    R<List<Prize>> prizeList();
    /**
     * 奖品详情 -- 远程调用
     *
     * @param id 奖品id
     * @return 详情
     */
    @GetMapping(value = "/prize/prizeDetail")
    R<Prize> prizeDetail(@RequestParam("id") String id);
    /**
     * 修改系统设置-关闭/开启审核
     *
     * @return 操作结果
@@ -94,4 +104,13 @@
    @GetMapping(value = "/userManage/withdrawProcess")
    R<WithdrawalSetting> withdrawProcess();
    /**
     * 加盟商管辖城市详情
     *
     * @param id 加盟商信息id
     * @return 加盟商管辖城市详情
     */
    @GetMapping(value = "/franchisee/cityDetail")
    R<List<String>> cityDetail(@RequestParam("id") Integer id);
}