Commit dae6db2c by 王召彬

测试生成公众号二维码的接口

parent 94e472d1
......@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of weapp service
*
* @method ResultInterface deferGetWxAccessToken(string $appId, string $appSecret)
* @method ResultInterface deferGetPAQrcodeUrl(string $scene)
*/
interface WeappInterface
{
......@@ -28,4 +29,11 @@ interface WeappInterface
*/
public function getWxAccessToken(string $appId, string $appSecret);
/**
* 生成公众号二维码
*
* @param string $scene 通过小程序码传递的参数
* @return string 成功返回二维码图片url
*/
public function getPAQrcodeUrl(string $scene);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment