update
This commit is contained in:
parent
dedd4e60e2
commit
a0a3da7a42
|
|
@ -115,7 +115,10 @@ public class MobV2PushUtil {
|
|||
pushDTO.setPushMessage(pushMessage);
|
||||
//此格式的透传消息由 unipush 做了特殊处理,会自动展示通知栏。开发者也可自定义其它格式,在客户端自己处理。
|
||||
//pushMessage.setTransmission(" {title:\"标题\",content:\"内容\",payload:\"快银到账1万元\"}");
|
||||
pushMessage.setTransmission(" {title:\"" + title + "\",content:\"" + content + "\"," + ext);
|
||||
|
||||
//pushMessage.setTransmission("{title:" + title + ", content:" + content + ext);
|
||||
|
||||
pushMessage.setTransmission("{title:\"" + title + "\",content:\"" + content + "\"," + ext);
|
||||
|
||||
// 设置接收人信息
|
||||
Audience audience = new Audience();
|
||||
|
|
@ -131,8 +134,8 @@ public class MobV2PushUtil {
|
|||
Ups ups = new Ups();
|
||||
ThirdNotification thirdNotification = new ThirdNotification();
|
||||
ups.setNotification(thirdNotification);
|
||||
thirdNotification.setTitle("安卓离线展示的标题");
|
||||
thirdNotification.setBody("安卓离线展示的内容");
|
||||
thirdNotification.setTitle(title);
|
||||
thirdNotification.setBody(content);
|
||||
thirdNotification.setClickType("intent");
|
||||
//注意:intent参数必须按下方文档(特殊参数说明)要求的固定格式传值,intent错误会导致客户端无法收到消息
|
||||
thirdNotification.setIntent("intent://io.dcloud.unipush/?#Intent;scheme=unipush;launchFlags=0x4000000;component=io.dcloud.HBuilder/io.dcloud.PandoraEntry;S.UP-OL-SU=true;S.title=测试标题;S.content=测试内容;S.payload=test;end");
|
||||
|
|
@ -141,8 +144,8 @@ public class MobV2PushUtil {
|
|||
|
||||
//ios离线apn通道推送的消息体
|
||||
Alert alert = new Alert();
|
||||
alert.setTitle("苹果离线通知栏标题");
|
||||
alert.setBody("苹果离线通知栏内容");
|
||||
alert.setTitle(title);
|
||||
alert.setBody(content);
|
||||
Aps aps = new Aps();
|
||||
aps.setContentAvailable(0);
|
||||
aps.setSound("default");
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public class GeneralPushUtil implements IPush {
|
|||
mobPushUtil.sendIOSByAlias(alias, notificationTitle, msgContent, extrasParam);
|
||||
userPushService.push(alias, notificationTitle, msgContent, extrasParam);*/
|
||||
|
||||
MobV2PushUtil.sendSingleByAlias(alias, "快银到账1万元", "快银到账1万元", "payload:{voice:\"快银到账1万元\",type:\"1\"}}\"");
|
||||
MobV2PushUtil.sendSingleByAlias(alias, "快银到账1万元", "快银到账1万元", "payload:{voice:\"快银到账1万元\",type:\"1\"}}");
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import cn.pluss.platform.api.Result;
|
|||
import cn.pluss.platform.api.ResultGenerator;
|
||||
import cn.pluss.platform.channel.BaseMerchantAuditService;
|
||||
import cn.pluss.platform.channel.MerchantAuditService;
|
||||
import cn.pluss.platform.channel.ys.YSAuditServiceV3;
|
||||
//import cn.pluss.platform.channel.ys.YSAuditServiceV3;
|
||||
import cn.pluss.platform.common.CommonRemarkService;
|
||||
import cn.pluss.platform.common.RiskBlacklistService;
|
||||
import cn.pluss.platform.converter.Converter;
|
||||
|
|
@ -174,7 +174,7 @@ public class UserAppServiceImpl extends ServiceImpl<UserAppMapper, UserApp> impl
|
|||
@Autowired
|
||||
private UserRoleMapper userRoleMapper;
|
||||
@Autowired
|
||||
private YSAuditServiceV3 ysAuditServiceV3;
|
||||
//private YSAuditServiceV3 ysAuditServiceV3;
|
||||
|
||||
|
||||
@Override
|
||||
|
|
@ -798,7 +798,7 @@ public class UserAppServiceImpl extends ServiceImpl<UserAppMapper, UserApp> impl
|
|||
case "4":
|
||||
// 银盛
|
||||
//ysAuditServiceV2.merchantAudit(userId, false);
|
||||
ysAuditServiceV3.merchantAuditV3(userId, false);
|
||||
//ysAuditServiceV3.merchantAuditV3(userId, false);
|
||||
break;
|
||||
default:
|
||||
MsgException.throwException("未知的进件通道");
|
||||
|
|
|
|||
Loading…
Reference in New Issue