bug
jiangqs
2023-08-25 156e141e55a8abf486157d1fa89d25e23f4a06a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.service.shop.ShopService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 
import javax.annotation.Resource;
 
/**
 * @ClassName systemTest
 * @Description TODO
 * @Author jqs
 * @Date 2023/6/7 10:57
 * @Version 1.0
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = RuoYiShopApplication.class)
public class shopTest {
 
    @Resource
    private ShopService shopService;
 
    @Test
    public void main() {
 
        ProfitSharingReceiverRequest request = new ProfitSharingReceiverRequest();
        request.setAccount("1650744551");
        request.setName("泸州矗众信息科技有限责任公司");
        ProfitSharingReceiverResult result = shopService.addProfitSharingReceiver(request);
        System.out.println(result);
    }
}