Commit d18530fa authored by 王源's avatar 王源 🎧

添加通过id列表获取shopify站点数组rpc方法

parent 23b84308
...@@ -20,4 +20,13 @@ interface ShopifyServiceInterface ...@@ -20,4 +20,13 @@ interface ShopifyServiceInterface
*/ */
public function pullOrder($orderId, $shopifySiteId): array; public function pullOrder($orderId, $shopifySiteId): array;
/**
* 通过id列表获取shopify站点数组
* @param array $ids shopify站点id数组,默认去重
* @param array $columns shopify站点表字段,默认['name', 'prefix', 'team_id', 'site_id', 'language_id', 'url', 'currency_id']
* @return array 默认keyBy('id')
* @author Zero
*/
public function getShopifySitesByIds(array $ids, $columns = ['name', 'prefix', 'team_id', 'site_id', 'language_id', 'url', 'currency_id']): array;
} }
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