Commit 770924fa by 王召彬

增加接口:getByOemIdAndMobile

parent f0f0ab33
...@@ -29,6 +29,7 @@ use Swoft\Core\ResultInterface; ...@@ -29,6 +29,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferDeleteStore(int $storeId) * @method ResultInterface deferDeleteStore(int $storeId)
* @method ResultInterface deferGetStoreCount(int $startTime, int $endTime, $edition=null, $oemId=0) * @method ResultInterface deferGetStoreCount(int $startTime, int $endTime, $edition=null, $oemId=0)
* @method ResultInterface deferGetWxacodeUrl(int $storeId, int $type, string $page, string $scene) * @method ResultInterface deferGetWxacodeUrl(int $storeId, int $type, string $page, string $scene)
* @method ResultInterface deferGetByOemIdAndMobile(int $oemId, $mobile, array $fields = [])
*/ */
interface StoreInterface interface StoreInterface
{ {
...@@ -122,6 +123,15 @@ interface StoreInterface ...@@ -122,6 +123,15 @@ interface StoreInterface
public function getStoreByMobile(int $mobile, array $fields = []); public function getStoreByMobile(int $mobile, array $fields = []);
/** /**
* 根据oemId和手机号获取店铺信息
*
* @param integer $oemId
* @param integer $mobile
* @return array
*/
public function getByOemIdAndMobile(int $oemId, $mobile, array $fields = []);
/**
* 根据店铺ID修改店铺信息 * 根据店铺ID修改店铺信息
* *
* @param integer $storeId * @param integer $storeId
......
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