Commit 2a9448c1 by 王召彬

根据商户平台id获取对应的小程序托管配置

parent 35226725
...@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface; ...@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* The interface of store service * The interface of store service
* *
* @method ResultInterface deferGetEntrustedData(int $storeId, array $fields = []) * @method ResultInterface deferGetEntrustedData(int $storeId, array $fields = [])
* @method ResultInterface deferGetEntrustedDataByMchid(int $mchid, array $fields = [])
* @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid) * @method ResultInterface deferGetWxpayCerts(int $storeId, $mchid)
*/ */
interface EntrustedInterface interface EntrustedInterface
...@@ -37,4 +38,14 @@ interface EntrustedInterface ...@@ -37,4 +38,14 @@ interface EntrustedInterface
* @return array * @return array
*/ */
public function getWxpayCerts(int $storeId, $mchid); 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