segchk商城接口层进行了整理
parent
e4f6b13dd6
commit
bda9c6054e
15
pom.xml
15
pom.xml
|
|
@ -205,10 +205,25 @@
|
|||
<version>${ruoyi.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- segchk服务层-->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-segchk</artifactId>
|
||||
<version>${ruoyi.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- segchk接口层-->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-segchk-web</artifactId>
|
||||
<version>${ruoyi.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<modules>
|
||||
<module>ruoyi-segchk</module>
|
||||
<module>ruoyi-segchk-web</module>
|
||||
<module>ruoyi-admin</module>
|
||||
<module>ruoyi-framework</module>
|
||||
<module>ruoyi-system</module>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|||
import com.ruoyi.segchk.domain.*;
|
||||
import com.ruoyi.segchk.service.ISegchkRecommenderIndexService;
|
||||
import com.ruoyi.segchk.service.ISegchkStoreIndexService;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
|
@ -22,6 +23,7 @@ import static com.ruoyi.common.core.domain.AjaxResult.DATA_TAG;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/default/index")
|
||||
@Api("商城开放接口")
|
||||
public class SegchkDefaultIndexController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
|
|
@ -36,6 +38,13 @@ public class SegchkDefaultIndexController extends BaseController
|
|||
* }
|
||||
*/
|
||||
@GetMapping("/getProviderByadcode")
|
||||
@ApiOperation(value = "查询运营商id", notes = "根据用户当前位置所在行政区代码或用户选择的行政区代码")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(paramType = "form", dataType = "Long", name = "adcode", value = "行政区代码"),
|
||||
})
|
||||
@ApiResponses({
|
||||
@ApiResponse(code = 200, message = "拼团促销图片信息", response = Long.class)
|
||||
})
|
||||
public AjaxResult get_provider_byadcode(Long adcode)
|
||||
{
|
||||
AjaxResult ajax = new AjaxResult();
|
||||
|
|
@ -96,6 +105,7 @@ public class SegchkDefaultIndexController extends BaseController
|
|||
*/
|
||||
@GetMapping("/listByProvider")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据运营商id查询seg首页推荐商户列表", notes = "不需要鉴权")
|
||||
public TableDataInfo list_by_provider(SegchkRecommenderStoreWebReq segchkRecommenderStoreWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -118,6 +128,7 @@ public class SegchkDefaultIndexController extends BaseController
|
|||
*/
|
||||
@GetMapping("/listByProviderwithLable")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据标签id,搜索商户列表", notes = "不需要鉴权")
|
||||
public TableDataInfo list_by_providerwith_lable(SegchkStoreWebReq segchkStoreWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -133,6 +144,7 @@ public class SegchkDefaultIndexController extends BaseController
|
|||
*/
|
||||
@GetMapping("/getBannersByProvider")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据运营商id,返回轮播图列表", notes = "不需要鉴权")
|
||||
public TableDataInfo get_banners_by_provider(Long providerId)
|
||||
{
|
||||
// AjaxResult ajax = new AjaxResult();
|
||||
|
|
@ -154,6 +166,7 @@ public class SegchkDefaultIndexController extends BaseController
|
|||
*/
|
||||
@GetMapping("/storeDetails")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据运营商,商户id,查询商户详情", notes = "不需要鉴权")
|
||||
public AjaxResult store_details(SegchkStoreWebReq segchkStoreWebReq)
|
||||
{
|
||||
// startPage();
|
||||
|
|
@ -171,6 +184,7 @@ public class SegchkDefaultIndexController extends BaseController
|
|||
*/
|
||||
@GetMapping("/storeCommentList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg商户评价列表", notes = "不需要鉴权")
|
||||
public TableDataInfo store_comment_list(SegchkStoreWebReq segchkStoreWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.segchk.domain.*;
|
||||
import com.ruoyi.segchk.service.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.transaction.annotation.Propagation;
|
||||
|
|
@ -28,6 +30,7 @@ import static com.ruoyi.common.core.domain.AjaxResult.*;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/default/provider")
|
||||
@Api("运营商小程序接口")
|
||||
public class SegchkDefaultProviderController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
|
|
@ -48,9 +51,10 @@ public class SegchkDefaultProviderController extends BaseController
|
|||
* }
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:provider_info:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:provider_info:query')")
|
||||
@PostMapping("/storeUserInfo")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg运营商中心信息", notes = "需要鉴权")
|
||||
public AjaxResult storeUserInfo(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
// startPage();
|
||||
|
|
@ -75,9 +79,10 @@ public class SegchkDefaultProviderController extends BaseController
|
|||
* "srcFlag": 0//*0核消汇总1售卡汇总
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:provider_service_sale:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:provider_service_sale:list')")
|
||||
@PostMapping("/providerServiceAndSaleList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据运营商id,角色等级,返回运营商下所有核消统计或售卡统计", notes = "需要鉴权")
|
||||
public TableDataInfo providerServiceAndSaleList(SegchkServiceAndSaleWebReq segchkServiceAndSaleWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -93,9 +98,10 @@ public class SegchkDefaultProviderController extends BaseController
|
|||
* "srcFlag": 0//*0核消详情1售卡详情
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:provider_service_sale:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:provider_service_sale:query')")
|
||||
@PostMapping("/providerServiceAndSaleDetails")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据运营商id,角色等级,返回运营商下核消统计或售卡统计", notes = "需要鉴权")
|
||||
public TableDataInfo providerServiceAndSaleDetails(SegchkServiceAndSaleWebReq segchkServiceAndSaleWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ import com.ruoyi.common.core.text.Convert;
|
|||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.segchk.domain.*;
|
||||
import com.ruoyi.segchk.service.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.transaction.annotation.Propagation;
|
||||
|
|
@ -31,6 +33,7 @@ import static com.ruoyi.common.core.domain.AjaxResult.*;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/default/store")
|
||||
@Api("商家小程序接口")
|
||||
public class SegchkDefaultStoreController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
|
|
@ -51,9 +54,10 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
* }
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:store_info:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:store_info:query')")
|
||||
@PostMapping("/storeUserInfo")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg商家中心信息", notes = "需要鉴权")
|
||||
public AjaxResult store_user_info(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
// startPage();
|
||||
|
|
@ -82,9 +86,10 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
* "srcFlag": 0//*0核消汇总1售卡汇总
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:store_service_sale:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:store_service_sale:list')")
|
||||
@PostMapping("/storeServiceAndSaleList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据商家id,运营商id,角色等级,返回核消统计或售卡统计", notes = "需要鉴权")
|
||||
public TableDataInfo store_service_and_sale_list(SegchkServiceAndSaleWebReq segchkServiceAndSaleWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -101,9 +106,10 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
* "srcFlag": 0
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:store_service_sale:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:store_service_sale:query')")
|
||||
@PostMapping("/storeServiceAndSaleDetails")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据商家id,运营商id,角色等级,返回核消统计或售卡统计", notes = "需要鉴权")
|
||||
public TableDataInfo store_service_and_sale_details(SegchkServiceAndSaleWebReq segchkServiceAndSaleWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -120,9 +126,10 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
* "staticMonth": "60"//测试
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:store_likego:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:store_likego:list')")
|
||||
@PostMapping("/storeUserLikeGoList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据商家id,运营商id,返回针对该商家的预约列表", notes = "需要鉴权")
|
||||
public TableDataInfo store_user_like_go_list(SegchkServiceAndSaleWebReq segchkServiceAndSaleWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -139,9 +146,10 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
* "providerId": 3//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:store_cash:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:store_cash:list')")
|
||||
@PostMapping("/storeCashList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "根据用户id,运营商id,查询seg商户提现列表", notes = "需要鉴权")
|
||||
public TableDataInfo store_cash_list(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -157,7 +165,8 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
* "storeId": "demoData"//*提交请求时携带
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:store_check:update')")
|
||||
@ApiOperation(value = "商家核消操作", notes = "需要鉴权")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:store_check:update')")
|
||||
@PostMapping( "/ServiceCheckTest")
|
||||
@ResponseBody
|
||||
@Transactional(propagation = Propagation.REQUIRED)
|
||||
|
|
@ -224,6 +233,7 @@ public class SegchkDefaultStoreController extends BaseController
|
|||
@Log(title = "seg提现结果回调", businessType = BusinessType.UPDATE)
|
||||
@PostMapping( "/userCashResult")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "提现结果回调接口", notes = "需要鉴权")
|
||||
public void userCashResult(String chargeId, int userLevel, int ret)
|
||||
{
|
||||
if(userLevel == 1) {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ import com.ruoyi.common.core.text.Convert;
|
|||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.segchk.domain.*;
|
||||
import com.ruoyi.segchk.service.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
|
@ -25,6 +27,7 @@ import static com.ruoyi.common.core.domain.AjaxResult.*;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/default/user")
|
||||
@Api("用户小程序接口")
|
||||
public class SegchkDefaultUserController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
|
|
@ -54,10 +57,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "mgtState": 0//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_collect:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_collect:add')")
|
||||
@Log(title = "seg用户收藏记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/addUserCollect")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "添加seg用户收藏记录", notes = "需要鉴权")
|
||||
public AjaxResult add_user_collect(SegchkUserCollect segchkUserCollect)
|
||||
{
|
||||
return toAjax(segchkUserCollectService.insertSegchkUserCollect(segchkUserCollect));
|
||||
|
|
@ -67,10 +71,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
/**
|
||||
* 删除seg用户收藏记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_collect:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_collect:remove')")
|
||||
@Log(title = "seg用户收藏记录", businessType = BusinessType.DELETE)
|
||||
@PostMapping( "/removeUserCollect")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "删除seg用户收藏记录", notes = "需要鉴权")
|
||||
public AjaxResult removeUserCollect(String ids)
|
||||
{
|
||||
return toAjax(segchkUserCollectService.deleteSegchkUserCollectByIds(ids));
|
||||
|
|
@ -79,10 +84,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
/**
|
||||
* 新增保存seg用户想去记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_likego:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_likego:add')")
|
||||
@Log(title = "seg用户想去记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/addOrderUserLikego")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "添加seg用户想去记录", notes = "需要鉴权")
|
||||
public AjaxResult add_order_user_likego(SegchkUserLikego segchkUserLikego)
|
||||
{
|
||||
return toAjax(segchkUserLikegoService.insertSegchkUserLikego(segchkUserLikego));
|
||||
|
|
@ -100,6 +106,7 @@ public class SegchkDefaultUserController extends BaseController
|
|||
// @PreAuthorize("@ss.hasPermi('segchk:user_info:query')")
|
||||
@PostMapping("/storeUserInfo")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户中心信息", notes = "需要鉴权")
|
||||
public AjaxResult store_user_info(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
// startPage();
|
||||
|
|
@ -124,9 +131,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "providerId": 4//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_check:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_check:list')")
|
||||
@PostMapping("/storeServiceCheckList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户核消列表", notes = "需要鉴权")
|
||||
public TableDataInfo store_service_check_list(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -137,9 +145,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
/**
|
||||
* 根据用户id,运营商id,查询seg用户可用会员卡列表或者优惠券列表 尹志颖
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_card:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_card:list')")
|
||||
@PostMapping("/userCardList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户可用会员卡列表或者优惠券列表", notes = "需要鉴权")
|
||||
public TableDataInfo user_card_list(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -155,9 +164,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "providerId": 4//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_collect:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_collect:list')")
|
||||
@PostMapping("/userCollectList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户收藏列表", notes = "需要鉴权")
|
||||
public TableDataInfo user_collect_list(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -174,9 +184,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "userLevel": 0//测试用
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_likego:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_likego:list')")
|
||||
@PostMapping("/userLikeGOList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户预约单列表", notes = "需要鉴权")
|
||||
public TableDataInfo userLikeGOList(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -188,10 +199,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
/**
|
||||
* 删除seg用户想去记录
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_likego:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_likego:remove')")
|
||||
@Log(title = "seg用户想去记录", businessType = BusinessType.DELETE)
|
||||
@PostMapping( "/removeOrderUserLikego")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "删除seg用户想去记录", notes = "需要鉴权")
|
||||
public AjaxResult removeOrderUserLikego(String ids)
|
||||
{
|
||||
return toAjax(segchkUserLikegoService.deleteSegchkUserLikegoByLikegoIds(Convert.toLongArray(ids)));
|
||||
|
|
@ -203,10 +215,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "commentId": 3//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_comment:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_comment:query')")
|
||||
@Log(title = "seg服务评价查看", businessType = BusinessType.OTHER)
|
||||
@PostMapping( "/getComment")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg服务评价查询", notes = "需要鉴权")
|
||||
public AjaxResult get_comment(SegchkServiceCommentUserReq segchkServiceCommentUserReq)
|
||||
{
|
||||
AjaxResult ajax = new AjaxResult();
|
||||
|
|
@ -226,10 +239,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
/**
|
||||
* seg服务评价提交
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_comment:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_comment:add')")
|
||||
@Log(title = "seg服务评价提交", businessType = BusinessType.INSERT)
|
||||
@PostMapping( "/addComment")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg服务评价提交", notes = "需要鉴权")
|
||||
public AjaxResult addComment(SegchkServiceCommentUserReq segchkServiceCommentUserReq)
|
||||
{
|
||||
return toAjax(segchkUserIndexService.insertSegchkServiceComment(segchkServiceCommentUserReq));
|
||||
|
|
@ -243,9 +257,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "providerId": 2//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_charge:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_charge:list')")
|
||||
@PostMapping("/userChargeList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户充值列表", notes = "需要鉴权")
|
||||
public TableDataInfo userChargeList(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -257,9 +272,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
/**
|
||||
* 根据用户id,运营商id,查询seg用户提现列表 尹志颖
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_cash:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_cash:list')")
|
||||
@PostMapping("/userCashList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户提现列表", notes = "需要鉴权")
|
||||
public TableDataInfo userCashList(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -277,9 +293,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "phoneNo": 1//测试
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_msg:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_msg:list')")
|
||||
@PostMapping("/userMsgList")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户消息列表", notes = "需要鉴权")
|
||||
public TableDataInfo userMsgList(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
startPage();
|
||||
|
|
@ -295,9 +312,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "providerId": 4
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_charge:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_charge:add')")
|
||||
@PostMapping( "/userChargePre")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "查询seg用户可充值列表", notes = "需要鉴权")
|
||||
public AjaxResult userChargePre(SegchkUserWebReq segchkUserWebReq)
|
||||
{
|
||||
List<SegchkUserChargeCard> segchkUserChargeCards = segchkUserIndexService.SegchkUserChargePre(segchkUserWebReq);
|
||||
|
|
@ -323,9 +341,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "providerId": 4
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_charge:pre')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_charge:pre')")
|
||||
@PostMapping( "/userChargeReq")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg用户可充值", notes = "需要鉴权")
|
||||
public AjaxResult userChargeReq(SegchkUserCharge segchkUserCharge)
|
||||
{
|
||||
AjaxResult ajax = new AjaxResult();
|
||||
|
|
@ -361,6 +380,7 @@ public class SegchkDefaultUserController extends BaseController
|
|||
@Log(title = "seg用户充值结果回调", businessType = BusinessType.UPDATE)
|
||||
@PostMapping( "/userChargeResult")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg用户充值结果回调", notes = "需要鉴权")
|
||||
public void userChargeResult(String chargeId, int ret)
|
||||
{
|
||||
segchkUserIndexService.chargeRet(chargeId, ret);
|
||||
|
|
@ -375,9 +395,10 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "userLevel": 2
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_cash:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_cash:add')")
|
||||
@PostMapping( "/userCashReq")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg用户提现请求", notes = "需要鉴权")
|
||||
public AjaxResult userCashReq(SegchkUserCashOpsReq segchkUserCashOpsReq)
|
||||
{
|
||||
AjaxResult ajax = new AjaxResult();
|
||||
|
|
@ -408,10 +429,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "userLevel": 2//*
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_set:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_set:add')")
|
||||
@Log(title = "seg设置用户信息", businessType = BusinessType.UPDATE)
|
||||
@PostMapping( "/SetInfo")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg设置用户信息", notes = "需要鉴权")
|
||||
public AjaxResult SetInfo(SegchkUserSetInfoReq segchkUserSetInfoReq)
|
||||
{
|
||||
int ret = 0;
|
||||
|
|
@ -436,10 +458,11 @@ public class SegchkDefaultUserController extends BaseController
|
|||
* "card2": "demoData"
|
||||
* }
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('segchk:user_certicify:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('segchk:user_certicify:add')")
|
||||
@Log(title = "seg设置用户实名信息", businessType = BusinessType.UPDATE)
|
||||
@PostMapping( "/userCerticify")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg设置用户实名信息", notes = "需要鉴权")
|
||||
public AjaxResult user_certicify(SegchkUserCertificationInfo segchkUserCertificationInfo)
|
||||
{
|
||||
int ret = 0;
|
||||
|
|
@ -460,6 +483,7 @@ public class SegchkDefaultUserController extends BaseController
|
|||
@Log(title = "seg提现结果回调", businessType = BusinessType.UPDATE)
|
||||
@PostMapping( "/userCashResult")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "seg提现结果回调", notes = "需要鉴权")
|
||||
public void userCashResult(String chargeId, int userLevel, int ret)
|
||||
{
|
||||
if(userLevel == 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue