123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?php
- namespace App\JsonRpc;
- use Hyperf\RpcClient\AbstractServiceClient;
- class OrderService extends AbstractServiceClient implements OrderServiceInterface
- {
- /**
- * 定义对应服务提供者的服务名称
- * @var string
- */
- protected string $serviceName = 'OrderService';
- /**
- * 定义对应服务提供者的服务协议
- * @var string
- */
- protected string $protocol = 'jsonrpc-http';
-
- /**
- * @param array $data
- * @return mixed
- */
- public function getAD(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getWebsiteAd(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getOrderListAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getOrderDetailAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function applyOrderStatusAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function editPriceOrderAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function rejectOrderAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function endOrderAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function delOrderAdmin(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getPrice(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function addAD(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getOrderList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getOrderDetail(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function cancelOrder(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function delOrderAD(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- /**
- * @param array $data
- * @return mixed
- */
- public function addShoppingCart(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getShoppingCartAD(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function addShoppingCartAD(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function delShoppingCartAD(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- *
- * @return mixed
- */
- public function getAdSize()
- {
- return $this->__request(__FUNCTION__, []);
- }
- }
|