Authored by tanling

彻底抛弃miniappId的想法

... ... @@ -13,7 +13,6 @@ public interface IMiniappMsgFormDAO {
MiniappMsgForm selectByPrimaryKey(Integer id);
MiniappMsgForm selectLastedAvailabByUid(@Param("uid") String uid, @Param("miniappType") String miniappType);
int updateByPrimaryKeySelective(MiniappMsgForm record);
... ...
... ... @@ -130,12 +130,11 @@ public class MiniServiceAppImpl implements IMiniAppService {
logger.info("Enter sendTemplateMsg param is {}", reqBO);
// AccessToken accessToken = miniAppAccessTokenService.getTokenCache(reqBO.getMiniappType());
AccessToken accessToken = miniAppAccessTokenService.getTokenCache(reqBO.getMiniappType());
StringBuilder urlBuilder = new StringBuilder(getMsgSendUrl());
urlBuilder.append("access_token=");
// urlBuilder.append(accessToken.getToken());
urlBuilder.append("11_rKmdZb5K-5eERU1n8KbhiFMkG9VE7O7FDtuaTRzlbjDuWh2vpN7pKILZHRdcTE5whAt4CHUzYcFwOGxmStrIFq1xgYIEd7p1OXTVL7PY2qqGTXP8UsmauZV6wHjWKs_92YD59LYOECbv36TqWAOfACACGU");
urlBuilder.append(accessToken.getToken());
Map<String, Object> bodyParam = Maps.newHashMap();
bodyParam.put("touser", reqBO.getTouser());
... ...