Commit 055dca1a by 王召彬

添加参数storeid

parent 4748da5d
......@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of weapp service
*
* @method ResultInterface deferGetWxAccessToken(string $appId, string $appSecret)
* @method ResultInterface deferGetMpQrcodeUrl(string $scene)
* @method ResultInterface deferGetMpQrcodeUrl(int $storeId, string $scene)
*/
interface WeappInterface
{
......@@ -32,8 +32,9 @@ interface WeappInterface
/**
* 生成公众号二维码
*
* @param string $storeId 店铺ID
* @param string $scene 通过小程序码传递的参数
* @return string 成功返回二维码图片url
*/
public function getMpQrcodeUrl(string $scene);
public function getMpQrcodeUrl(int $storeId, 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