支付 to prod
This commit is contained in:
@@ -836,7 +836,8 @@ public class SendEmailUtil {
|
||||
public static void subscriptionEmailReminder(String type, SubscriptionEmailParamsDTO subscriptionEmailParamsDTO, String language, String receiverAddress) {
|
||||
try {
|
||||
// String merchantEmail = "kimwong@code-create.com.hk";
|
||||
String merchantEmail = "xupei3360@163.com";
|
||||
String developer = "xupei3360@163.com";
|
||||
String[] receiverEmail = {/*merchantEmail, */developer};
|
||||
Credential cred = new Credential(SECRET_ID, SECRET_KEy);
|
||||
// 实例化一个http选项,可选的,没有特殊需求可以跳过
|
||||
HttpProfile httpProfile = new HttpProfile();
|
||||
@@ -852,7 +853,7 @@ public class SendEmailUtil {
|
||||
user.setDestination(new String[]{receiverAddress});
|
||||
SendEmailRequest merchant = new SendEmailRequest();
|
||||
merchant.setFromEmailAddress(SEND_ADDRESS);
|
||||
merchant.setDestination(new String[]{merchantEmail});
|
||||
merchant.setDestination(receiverEmail);
|
||||
Template templateUser = new Template();
|
||||
Template templateMerchant = new Template();
|
||||
switch (type) {
|
||||
@@ -938,7 +939,7 @@ public class SendEmailUtil {
|
||||
private final static Long AFFILIATE_REFUSED = 132125L;
|
||||
private final static Long AFFILIATE_MONTHLY_SUMMARY = 132126L;
|
||||
|
||||
public static void affiliateEmailReminder(String receiverAddress, AffiliateEmailParamsDTO paramsDTO, String type) {
|
||||
public static void affiliateEmailReminder(String[] receiverAddress, AffiliateEmailParamsDTO paramsDTO, String type) {
|
||||
try {
|
||||
Credential cred = new Credential(SECRET_ID, SECRET_KEy);
|
||||
// 实例化一个http选项,可选的,没有特殊需求可以跳过
|
||||
@@ -952,7 +953,7 @@ public class SendEmailUtil {
|
||||
// 实例化一个请求对象,每个接口都会对应一个request对象
|
||||
SendEmailRequest req = new SendEmailRequest();
|
||||
req.setFromEmailAddress(SEND_ADDRESS);
|
||||
req.setDestination(new String[]{receiverAddress});
|
||||
req.setDestination(receiverAddress);
|
||||
Template template = new Template();
|
||||
switch (type) {
|
||||
case "new":
|
||||
|
||||
Reference in New Issue
Block a user