Commit 4b85ff72 by 王召彬

添加获取托管小程序支付证书的接口

parent 390b3310
......@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of store service
*
* @method ResultInterface deferGetEntrustedData(int $storeId, array $fields = [])
* @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid)
*/
interface EntrustedInterface
{
......@@ -28,4 +29,12 @@ interface EntrustedInterface
*/
public function getEntrustedData(int $storeId, array $fields = []);
/**
* 根据店铺id和商户平台id获取对应的支付证书
*
* @param int $storeId
* @param string $mchid
* @return array
*/
public function getWxpayCerts(int $storeId, $mchid);
}
\ 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