Documentation ¶
Index ¶
- type Client
- func (comp *Client) AddOrder(ctx context.Context, data *power.HashMap) (*response.ResponseExpressAddOrder, error)
- func (comp *Client) BatchGetOrder(ctx context.Context, orderList []*power.HashMap) (*response.ResponseExpressBatchOrderList, error)
- func (comp *Client) BindAccount(ctx context.Context, actionType string, bizID string, deliveryID string, ...) (*response2.ResponseMiniProgram, error)
- func (comp *Client) CancelOrder(ctx context.Context, orderID string, openID string, deliveryID string, ...) (*response.ResponseExpressCancelOrder, error)
- func (comp *Client) GetAllAccount(ctx context.Context) (*response.ResponseExpressAccountGetAll, error)
- func (comp *Client) GetAllDelivery(ctx context.Context) (*response.ResponseExpressDeliveryGetAll, error)
- func (comp *Client) GetContact(ctx context.Context, token string, waybillID string) (*response.ResponseExpressGetContact, error)
- func (comp *Client) GetOrder(ctx context.Context, orderID string, openID string, deliveryID string, ...) (*response.ResponseExpressGetOrder, error)
- func (comp *Client) GetPath(ctx context.Context, orderID string, openID string, deliveryID string, ...) (*response.ResponseExpressGetPath, error)
- func (comp *Client) GetPrinter(ctx context.Context) (*response.ResponseExpressGetPrinter, error)
- func (comp *Client) GetQuota(ctx context.Context, deliveryID string, bizID string) (*response.ResponseExpressGetQuota, error)
- func (comp *Client) PreviewTemplate(ctx context.Context, options *power.HashMap) (*response.ResponseExpressPreviewTemplate, error)
- func (comp *Client) TestUpdateOrder(ctx context.Context, BizID string, OrderID string, DeliveryID string, ...) (*response2.ResponseMiniProgram, error)
- func (comp *Client) UpdateBusiness(ctx context.Context, options *power.HashMap) (*response2.ResponseMiniProgram, error)
- func (comp *Client) UpdatePath(ctx context.Context, options *power.HashMap) (*response2.ResponseMiniProgram, error)
- func (comp *Client) UpdatePrinter(ctx context.Context, openID string, updateType string, tagidList string) (*response2.ResponseMiniProgram, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) AddOrder ¶
func (*Client) BatchGetOrder ¶
func (*Client) BindAccount ¶
func (*Client) CancelOrder ¶
func (*Client) GetAllAccount ¶
func (*Client) GetAllDelivery ¶
func (*Client) GetContact ¶
func (*Client) GetOrder ¶
func (*Client) GetPath ¶
func (*Client) GetPrinter ¶
func (*Client) GetQuota ¶
func (*Client) PreviewTemplate ¶
func (*Client) TestUpdateOrder ¶
func (comp *Client) TestUpdateOrder( ctx context.Context, BizID string, OrderID string, DeliveryID string, WaybillID string, ActionTime int64, ActionType int, ActionMsg string, ) (*response2.ResponseMiniProgram, error)
模拟快递公司更新订单状态, 该接口只能用户测试 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/express/by-business/logistics.testUpdateOrder.html
func (*Client) UpdateBusiness ¶
func (*Client) UpdatePath ¶
Click to show internal directories.
Click to hide internal directories.