cn.binarywang.wx.miniapp.api.WxMaSchemeService Maven / Gradle / Ivy
The newest version!
package cn.binarywang.wx.miniapp.api;
import cn.binarywang.wx.miniapp.bean.scheme.WxMaGenerateNfcSchemeRequest;
import cn.binarywang.wx.miniapp.bean.scheme.WxMaGenerateSchemeRequest;
import me.chanjar.weixin.common.error.WxErrorException;
/**
*
* 小程序Scheme码相关操作接口.
*
*
*
*
* @author : cofedream
* created on : 2021-01-26
*/
public interface WxMaSchemeService {
/**
* 获取小程序scheme码
*文档地址:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html
* @param request 请求参数
* @throws WxErrorException 生成失败时抛出,具体错误码请看文档
*/
String generate(WxMaGenerateSchemeRequest request) throws WxErrorException;
/**
* 获取NFC 的小程序 scheme
*文档地址:https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateNFCScheme.html
* @param request 请求参数
* @throws WxErrorException 生成失败时抛出,具体错误码请看文档
*/
String generateNFC(WxMaGenerateNfcSchemeRequest request) throws WxErrorException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy