|
|
|
@ -4,6 +4,7 @@ import au.com.royalpay.payment.manage.mappers.payment.OrderMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.ClientConfigMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.ClientMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.OrgMapper;
|
|
|
|
|
import au.com.royalpay.payment.manage.merchants.core.ClientManager;
|
|
|
|
|
import au.com.royalpay.payment.tools.mail.MailGunClient;
|
|
|
|
|
import au.com.royalpay.payment.tools.mail.SendMail;
|
|
|
|
|
|
|
|
|
@ -37,7 +38,7 @@ import cn.yixblog.platform.http.HttpRequestResult;
|
|
|
|
|
* Created by wangning on 05/01/2018.
|
|
|
|
|
*/
|
|
|
|
|
@SpringBootTest
|
|
|
|
|
@ActiveProfiles({ "proxy", "alipay", "wechat", "jd", "bestpay" })
|
|
|
|
|
@ActiveProfiles({ "dev", "alipay", "wechat", "jd", "bestpay" })
|
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
|
public class CustomerImpressionImplTest {
|
|
|
|
|
@Resource
|
|
|
|
@ -53,6 +54,8 @@ public class CustomerImpressionImplTest {
|
|
|
|
|
private MailGunClient mailGunClient;
|
|
|
|
|
@Resource
|
|
|
|
|
private ClientConfigMapper clientConfigMapper;
|
|
|
|
|
@Resource
|
|
|
|
|
private ClientManager clientManager;
|
|
|
|
|
|
|
|
|
|
// @Test
|
|
|
|
|
// public void redisQueue() {
|
|
|
|
@ -185,4 +188,13 @@ public class CustomerImpressionImplTest {
|
|
|
|
|
JSONObject result = mailGunClient.addListMember(client.getString("contact_email"), "merchants@mail.royalpay.com.au", client.getString("contact_person"),"",
|
|
|
|
|
var);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void fd(){
|
|
|
|
|
JSONObject asd = clientManager.getByEmail("123@askdjh.com",1,1);
|
|
|
|
|
System.out.println(asd);
|
|
|
|
|
System.out.println(asd);
|
|
|
|
|
System.out.println(asd);
|
|
|
|
|
System.out.println(asd);
|
|
|
|
|
}
|
|
|
|
|
}
|