Commit 7d03b020 by 王召彬

添加获取access_token的接口

parent 795ff611
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace Hdll\Services\Store\Lib;
use Swoft\Core\ResultInterface;
/**
* The interface of store-commission service
*
* @method ResultInterface deferGetWxAccessToken(int $appId, string $appSecret)
*/
interface WeappInterface
{
/**
* 根据appId获取对应的access_token
*
* @Number(name="appId")
* @param int $appId
* @param string $appSecret
* @return string
*/
public function getWxAccessToken(int $appId, string $appSecret);
}
\ 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