package com.jeequan.jeepay.core.interfaces.wxmp;

import com.jeequan.jeepay.core.model.context.MchAppConfigContext;

/*
* 接口：获取小程序 URL Link
*
* @author zx
*
* @date 2021/5/8 15:14
*/
public interface IWxLiteUrlLinkService {

    /**
     * 获取小程序 URL Link接口
     * 接口文档: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html
     *
     * @param mchAppConfigContext
     * @param query
     * @param millisecond
     * @return link地址
     */
    String generateUrlLink(MchAppConfigContext mchAppConfigContext, String query, long millisecond);


    /**
     * 获取小程序 URL SCHEME接口
     * 接口文档: https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateScheme.html
     * @param mchAppConfigContext
     * @param query
     * @param millisecond
     * @return link地址
     */
    String generateSchemeLink(MchAppConfigContext mchAppConfigContext, String query, long millisecond);
}
