Commit 77686ef9 by xmy

Merge branch 'buyer-agent' into test

parents 7107cd94 272010ad
...@@ -4,10 +4,19 @@ namespace Hdll\Services\Buyer\Lib; ...@@ -4,10 +4,19 @@ namespace Hdll\Services\Buyer\Lib;
/** /**
* @method ResultInterface deferGetByUnionId(string $unionId) * @method ResultInterface deferGetByUnionId(string $unionId)
* @method ResultInterface deferUsefulAgent(int $storeId, int $agentId)
* Interface AgentInterface * Interface AgentInterface
* @package Hdll\Services\Buyer\Lib * @package Hdll\Services\Buyer\Lib
*/ */
interface AgentInterface interface AgentInterface
{ {
public function getByUnionId(string $unionId); public function getByUnionId(string $unionId);
/**
* 代理是否可用
* @param int $storeId
* @param int $agentId
* @return bool
*/
public function usefulAgent(int $storeId, int $agentId);
} }
\ 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