parent
4657ccd8c8
commit
81117223d2
@ -1,10 +1,10 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
// RestOilCardAdd 添加充值卡
|
// RestOilCardAdd 添加充值卡
|
||||||
func (app *App) RestOilCardAdd(notMustParams ...Params) (body []byte, err error) {
|
func (c *Client) RestOilCardAdd(notMustParams ...Params) (body []byte, err error) {
|
||||||
// 参数
|
// 参数
|
||||||
params := app.NewParamsWith(notMustParams...)
|
params := c.NewParamsWith(notMustParams...)
|
||||||
// 请求
|
// 请求
|
||||||
request, err := app.request("https://router.wikeyun.cn/rest/Oil/addCard", params)
|
request, err := c.request("https://router.wikeyun.cn/rest/Oil/addCard", params)
|
||||||
return request.ResponseBody, err
|
return request.ResponseBody, err
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
// RestOilCardInfo 油卡详情
|
// RestOilCardInfo 油卡详情
|
||||||
func (app *App) RestOilCardInfo(notMustParams ...Params) (body []byte, err error) {
|
func (c *Client) RestOilCardInfo(notMustParams ...Params) (body []byte, err error) {
|
||||||
// 参数
|
// 参数
|
||||||
params := app.NewParamsWith(notMustParams...)
|
params := c.NewParamsWith(notMustParams...)
|
||||||
// 请求
|
// 请求
|
||||||
request, err := app.request("https://router.wikeyun.cn/rest/Oil/cardInfo", params)
|
request, err := c.request("https://router.wikeyun.cn/rest/Oil/cardInfo", params)
|
||||||
return request.ResponseBody, err
|
return request.ResponseBody, err
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
// RestOilCardDel 油卡删除
|
// RestOilCardDel 油卡删除
|
||||||
func (app *App) RestOilCardDel(notMustParams ...Params) (body []byte, err error) {
|
func (c *Client) RestOilCardDel(notMustParams ...Params) (body []byte, err error) {
|
||||||
// 参数
|
// 参数
|
||||||
params := app.NewParamsWith(notMustParams...)
|
params := c.NewParamsWith(notMustParams...)
|
||||||
// 请求
|
// 请求
|
||||||
request, err := app.request("https://router.wikeyun.cn/rest/Oil/delCard", params)
|
request, err := c.request("https://router.wikeyun.cn/rest/Oil/delCard", params)
|
||||||
return request.ResponseBody, err
|
return request.ResponseBody, err
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
// RestOilOrderPush 充值下单
|
// RestOilOrderPush 充值下单
|
||||||
func (app *App) RestOilOrderPush(notMustParams ...Params) (body []byte, err error) {
|
func (c *Client) RestOilOrderPush(notMustParams ...Params) (body []byte, err error) {
|
||||||
// 参数
|
// 参数
|
||||||
params := app.NewParamsWith(notMustParams...)
|
params := c.NewParamsWith(notMustParams...)
|
||||||
// 请求
|
// 请求
|
||||||
request, err := app.request("https://router.wikeyun.cn/rest/Oil/pushOrder", params)
|
request, err := c.request("https://router.wikeyun.cn/rest/Oil/pushOrder", params)
|
||||||
return request.ResponseBody, err
|
return request.ResponseBody, err
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
// RestOilOrderQuery 订单查询
|
// RestOilOrderQuery 订单查询
|
||||||
func (app *App) RestOilOrderQuery(notMustParams ...Params) (body []byte, err error) {
|
func (c *Client) RestOilOrderQuery(notMustParams ...Params) (body []byte, err error) {
|
||||||
// 参数
|
// 参数
|
||||||
params := app.NewParamsWith(notMustParams...)
|
params := c.NewParamsWith(notMustParams...)
|
||||||
// 请求
|
// 请求
|
||||||
request, err := app.request("https://router.wikeyun.cn/rest/Oil/query", params)
|
request, err := c.request("https://router.wikeyun.cn/rest/Oil/query", params)
|
||||||
return request.ResponseBody, err
|
return request.ResponseBody, err
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
// RestOilCardEdit 编辑充值卡
|
// RestOilCardEdit 编辑充值卡
|
||||||
func (app *App) RestOilCardEdit(notMustParams ...Params) (body []byte, err error) {
|
func (c *Client) RestOilCardEdit(notMustParams ...Params) (body []byte, err error) {
|
||||||
// 参数
|
// 参数
|
||||||
params := app.NewParamsWith(notMustParams...)
|
params := c.NewParamsWith(notMustParams...)
|
||||||
// 请求
|
// 请求
|
||||||
request, err := app.request("https://router.wikeyun.cn/rest/Oil/editCard", params)
|
request, err := c.request("https://router.wikeyun.cn/rest/Oil/editCard", params)
|
||||||
return request.ResponseBody, err
|
return request.ResponseBody, err
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
package wikeyun
|
package wikeyun
|
||||||
|
|
||||||
const Version = "1.0.0"
|
const Version = "1.0.1"
|
||||||
|
Loading…
Reference in new issue