my = new MinCode($site_id); } /*** * 查询店铺 * @param $shop_id */ public function shopQuery($shop_id) { $info = $this->my->requestApi('ant.merchant.expand.shop.query', ['shop_id' => $shop_id]); return $info['ant_merchant_expand_shop_query_response']; } /*** * 创建支付宝门店 * @param $data * @return mixed */ public function StoreCreate($data) { $info = $this->my->requestApi('ant.merchant.expand.shop.create', $data); return $info['ant_merchant_expand_shop_create_response']; } /*** * 修改支付宝门店信息 * @param $data * @return mixed */ public function modifyStore($data) { $info = $this->my->requestApi('ant.merchant.expand.shop.modify', $data); return $info['ant_merchant_expand_shop_modify_response']; } /*** * 申请订单查询 * @param $order_id */ public function orderQuery($order_id) { $info = $this->my->requestApi('ant.merchant.expand.order.query', ['order_id' => $order_id]); return $info['ant_merchant_expand_order_query_response']; } /*** * 分页查询门店 * @param $pid 支付宝PID SIMD * @param int $page_num * @return mixed */ public function QueryStore($pid, $page_num = 1) { $info = $this->my->requestApi('ant.merchant.expand.shop.page.query', [ 'ip_role_id' => $pid, 'page_num' => $page_num, 'page_size' => 10, ]); return $info['ant_merchant_expand_shop_page_query_response']; } /*** * 关闭门店 * @param $shop_id * @return mixed */ public function CloseStore($shop_id) { $info = $this->my->requestApi('ant.merchant.expand.shop.close', ['shop_id' => $shop_id]); return $info['ant_merchant_expand_shop_close_response']; } /*** * 营业分类查询 * @return mixed */ public function mccQuery() { $info = $this->my->requestApi('ant.merchant.expand.mcc.query', []); return $info['ant_merchant_expand_mcc_query_response']; } }