1 Star 0 Fork 0

GoMods / wechat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
goods_audit.go 690 Bytes
一键复制 编辑 原始数据 按行查看 历史
wanglelecc 提交于 2022-01-11 18:47 . first commit
package livebroadcast
import (
"context"
"gitee.com/gomods/wechat/request"
)
const apiGoodsAudit = "/wxaapi/broadcast/goods/audit"
type GoodsAuditRequest struct {
// 商品ID
GoodsId int64 `json:"goodsId"`
}
type GoodsAuditResponse struct {
request.CommonError
// 审核单ID
AuditId int64 `json:"auditId"`
}
// 重新提交审核
func (cli *LiveBroadcast) GoodsAudit(ctx context.Context, req *GoodsAuditRequest) (*GoodsAuditResponse, error) {
api, err := cli.conbineURI(ctx, apiGoodsAudit, nil, true)
if err != nil {
return nil, err
}
res := new(GoodsAuditResponse)
err = cli.request.Post(ctx, api, req, res)
if err != nil {
return nil, err
}
return res, nil
}
1
https://gitee.com/gomods/wechat.git
git@gitee.com:gomods/wechat.git
gomods
wechat
wechat
v0.0.1

搜索帮助

53164aa7 5694891 3bd8fe86 5694891