You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/service/wikeyun/rest.power.card_info.go

17 lines
479 B

2 years ago
package wikeyun
2 years ago
import (
"context"
"github.com/dtapps/go-library/utils/gorequest"
)
// PowerCardInfo 电费充值卡详情
// https://open.wikeyun.cn/#/apiDocument/9/document/333
2 years ago
func (c *Client) PowerCardInfo(ctx context.Context, notMustParams ...gorequest.Params) (body []byte, err error) {
2 years ago
// 参数
params := gorequest.NewParamsWith(notMustParams...)
2 years ago
// 请求
2 years ago
request, err := c.request(ctx, apiUrl+"/rest/Power/cardInfo", params)
return request.ResponseBody, err
2 years ago
}