From 7fd3525256b0e4a0dbb6f08405368990619adf36 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 20 十月 2023 14:08:26 +0800 Subject: [PATCH] 对接第三方分账接口 --- ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java index d40562c..731d44a 100644 --- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java +++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/shop/ShopService.java @@ -1,9 +1,11 @@ package com.ruoyi.shop.service.shop; +import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverRequest; import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverResult; +import com.ruoyi.common.core.domain.R; import com.ruoyi.shop.domain.dto.*; import com.ruoyi.shop.domain.vo.*; import com.ruoyi.system.api.domain.dto.MerBaseDto; @@ -190,6 +192,16 @@ */ List<MgtShopAuthPageVo> pageMgtShopAuth(Page page, MgtShopAuthPageDto mgtShopAuthPageDto); + + /** + * 商户进件列表数据(汇付天下) + * @param page + * @param mgtShopAuthPageDto + * @return + */ + List<MgtShopHFTXAuthPageVo> pageMgtShopHFTXAuth(Page page, MgtShopHFTXAuthPageDto mgtShopAuthPageDto); + + /** * @description boardShopTotal * @param @@ -219,6 +231,14 @@ void mgtShopHFTXAuth(MgtShopHFTXAuthDto mgtShopHFTXAuthDto); + /** + * 商户进件回调异步通知 + * @param jsonObject + * @return + */ + R<String> merchantBasicdataNotify(JSONObject vo); + + /** * @description 获取平台商户统计 @@ -246,6 +266,14 @@ * @return MgtShopAuthGetVo */ MgtShopAuthGetVo getMgtShopAuth(String authId); + + + /** + * 获取商户审核资料(汇付天下) + * @param shopId + * @return + */ + MgtShopHFTXAuthGetVo getMgtShopHFTXAuthInfo(Long shopId); /** * @description 获取商户验证信息 @@ -397,4 +425,19 @@ * @return void */ void addProfitSharingReceiver(MgtShopAuthGetDto mgtShopAuthGetDto); + + /** + * 设置分账比例 + * @param mgtShopShareRatioSetDto + * @return + */ + R setMgtShopShareRatio(MgtShopShareRatioSetDto mgtShopShareRatioSetDto); + + + /** + * 查询结算记录-第三方 + * @param merchantBasicdataSettlementDto + * @return + */ + R<List<MerchantBasicdataSettlementVo>> getMerchantBasicDataSettlement(MerchantBasicdataSettlementDto merchantBasicdataSettlementDto); } -- Gitblit v1.7.1