|
|
@ -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.ClientConfigMapper;
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.ClientMapper;
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.ClientMapper;
|
|
|
|
import au.com.royalpay.payment.manage.mappers.system.OrgMapper;
|
|
|
|
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.MailGunClient;
|
|
|
|
import au.com.royalpay.payment.tools.mail.SendMail;
|
|
|
|
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.
|
|
|
|
* Created by wangning on 05/01/2018.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@SpringBootTest
|
|
|
|
@SpringBootTest
|
|
|
|
@ActiveProfiles({ "proxy", "alipay", "wechat", "jd", "bestpay" })
|
|
|
|
@ActiveProfiles({ "dev", "alipay", "wechat", "jd", "bestpay" })
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
public class CustomerImpressionImplTest {
|
|
|
|
public class CustomerImpressionImplTest {
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
@ -53,6 +54,8 @@ public class CustomerImpressionImplTest {
|
|
|
|
private MailGunClient mailGunClient;
|
|
|
|
private MailGunClient mailGunClient;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientConfigMapper clientConfigMapper;
|
|
|
|
private ClientConfigMapper clientConfigMapper;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private ClientManager clientManager;
|
|
|
|
|
|
|
|
|
|
|
|
// @Test
|
|
|
|
// @Test
|
|
|
|
// public void redisQueue() {
|
|
|
|
// 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"),"",
|
|
|
|
JSONObject result = mailGunClient.addListMember(client.getString("contact_email"), "merchants@mail.royalpay.com.au", client.getString("contact_person"),"",
|
|
|
|
var);
|
|
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|