| | |
| | | package com.ruioyi.shop; |
| | | |
| | | |
| | | import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverRequest; |
| | | import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverResult; |
| | | import com.ruoyi.shop.RuoYiShopApplication; |
| | | import com.ruoyi.shop.domain.vo.MgtPlTotalShopTotalVo; |
| | | import com.ruoyi.shop.service.shop.ShopService; |
| | | import com.ruoyi.system.api.domain.dto.MgtBasePlatformDto; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | |
| | | |
| | | @Test |
| | | public void main() { |
| | | |
| | | ProfitSharingReceiverRequest request = new ProfitSharingReceiverRequest(); |
| | | request.setAccount("1650744551"); |
| | | request.setName("泸州矗众信息科技有限责任公司"); |
| | | ProfitSharingReceiverResult result = shopService.addProfitSharingReceiver(request); |
| | | System.out.println(result); |
| | | MgtBasePlatformDto mgtBasePlatformDto = new MgtBasePlatformDto(); |
| | | mgtBasePlatformDto.setDeptId(121L); |
| | | mgtBasePlatformDto.setUserId(146L); |
| | | MgtPlTotalShopTotalVo mgtPlTotalShopTotalVo = shopService.getPlTotalShopTotal(mgtBasePlatformDto); |
| | | System.out.println(mgtPlTotalShopTotalVo); |
| | | } |
| | | } |