类 WechatBaseController

所有已实现的接口:
org.springframework.beans.factory.InitializingBean
直接已知子类:
WechatCallbackApi

public abstract class WechatBaseController extends PlatformAdapterController
  • 构造器详细资料

    • WechatBaseController

      public WechatBaseController()
  • 方法详细资料

    • pushNotificationWithTemplate

      protected void pushNotificationWithTemplate(String mark, List<com.walker.infrastructure.arguments.Variable> variableList, long userId)
      平台统一根据模板,发送提醒通知。
      参数:
      mark - 通知标识,如:发货、订单等,从:sf_notification 表查询
      variableList - 业务数据,key,value
      userId - 用户ID
    • acquireMiniAccessToken

      protected String acquireMiniAccessToken()
      获取微信小程序(access_token),并设置缓存。
      返回:
    • acquirePublicAccessToken

      protected String acquirePublicAccessToken()
      获取微信公众号(普通)access_token
      返回:
    • getWechatCache

      protected WechatCacheProvider getWechatCache()
      返回微信基础配置缓存对象。
      返回: