mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update vin启动充电发送订阅消息
This commit is contained in:
@@ -185,8 +185,13 @@ public class WxAppletRemoteService {
|
||||
* @return
|
||||
*/
|
||||
public Map<String, String> startChargingSendMsg(WechatSendMsgDTO dto) {
|
||||
// 通过code查询openId并set
|
||||
String openId = getOpenIdByCode(dto.getCode());
|
||||
String openId = "";
|
||||
if (StringUtils.isNotBlank(dto.getOpenId())) {
|
||||
openId = dto.getOpenId();
|
||||
}else {
|
||||
// 通过code查询openId并set
|
||||
openId = getOpenIdByCode(dto.getCode());
|
||||
}
|
||||
if (StringUtils.isBlank(openId)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user