Commit 7c3c9a51 by 王召彬
parents 7ce82a27 2a9448c1
......@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of store service
*
* @method ResultInterface deferGetEntrustedData(int $storeId, array $fields = [])
* @method ResultInterface deferGetEntrustedDataByMchid(int $mchid, array $fields = [])
* @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid)
*/
interface EntrustedInterface
......@@ -37,4 +38,14 @@ interface EntrustedInterface
* @return array
*/
public function getWxpayCerts(int $storeId, $mchid);
/**
* 根据商户平台id获取对应的小程序托管配置
*
* @param int $storeId
* @param array $fields 字段列表
* @return bool
*/
public function getEntrustedDataByMchid(int $mchid, array $fields = []);
}
\ 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