Skip to content

Commit

Permalink
fix: goreportcard
Browse files Browse the repository at this point in the history
  • Loading branch information
bububa committed Jul 1, 2021
1 parent 9f5b94d commit 22cc484
Show file tree
Hide file tree
Showing 19,241 changed files with 260,325 additions and 528,628 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/bububa/opentaobao.svg)](https://pkg.go.dev/github.com/bububa/opentaobao)
[![Go](https://github.com/bububa/opentaobao/actions/workflows/go.yml/badge.svg)](https://github.com/bububa/opentaobao/actions/workflows/go.yml)
[![goreleaser](https://github.com/bububa/opentaobao/actions/workflows/goreleaser.yml/badge.svg)](https://github.com/bububa/opentaobao/actions/workflows/goreleaser.yml)
[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/bububa/opentaobao.svg)](https://github.com/bububa/opentaobao)


## 编译工具链
Expand Down
23 changes: 11 additions & 12 deletions api/admarket/YunosAdmarketAdBid.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package admarket

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/admarket"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/admarket"
)

/*
广告竞价服务
/* YunosAdmarketAdBid
广告竞价服务
yunos.admarket.ad.bid
广告竞价服务
*/
广告竞价服务 */
func YunosAdmarketAdBid(clt *core.SDKClient, req *admarket.YunosAdmarketAdBidAPIRequest, session string) (*admarket.YunosAdmarketAdBidAPIResponse, error) {
var resp admarket.YunosAdmarketAdBidAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp admarket.YunosAdmarketAdBidAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/admarket/YunosAdmarketMaterialAudit.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package admarket

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/admarket"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/admarket"
)

/*
广告平台创意审核
/* YunosAdmarketMaterialAudit
广告平台创意审核
yunos.admarket.material.audit
用于厂商上报广告平台审核结果
*/
用于厂商上报广告平台审核结果 */
func YunosAdmarketMaterialAudit(clt *core.SDKClient, req *admarket.YunosAdmarketMaterialAuditAPIRequest, session string) (*admarket.YunosAdmarketMaterialAuditAPIResponse, error) {
var resp admarket.YunosAdmarketMaterialAuditAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp admarket.YunosAdmarketMaterialAuditAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateCategoryGet.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
AE流量推广类目信息获取API
/* AliexpressAffiliateCategoryGet
AE流量推广类目信息获取API
aliexpress.affiliate.category.get
获取AE流量推广类目的API
*/
获取AE流量推广类目的API */
func AliexpressAffiliateCategoryGet(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateCategoryGetAPIRequest, session string) (*aecreatives.AliexpressAffiliateCategoryGetAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateCategoryGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateCategoryGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateFeaturedpromoGet.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
联盟主题推广活动信息获取
/* AliexpressAffiliateFeaturedpromoGet
联盟主题推广活动信息获取
aliexpress.affiliate.featuredpromo.get
获取联盟主题推广活动信息
*/
获取联盟主题推广活动信息 */
func AliexpressAffiliateFeaturedpromoGet(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateFeaturedpromoGetAPIRequest, session string) (*aecreatives.AliexpressAffiliateFeaturedpromoGetAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateFeaturedpromoGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateFeaturedpromoGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateFeaturedpromoProductsGet.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
联盟主题推广活动商品信息获取
/* AliexpressAffiliateFeaturedpromoProductsGet
联盟主题推广活动商品信息获取
aliexpress.affiliate.featuredpromo.products.get
根据联盟主题推广活动或主题品库查询对应的商品。如下品库为固定品库,可长期调用。品库类型和名称如下:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals)
*/
根据联盟主题推广活动或主题品库查询对应的商品。如下品库为固定品库,可长期调用。品库类型和名称如下:高佣品(Hot Product)、新品(New Arrival)、热销商品(Best Seller)、每周尖货(weeklydeals) */
func AliexpressAffiliateFeaturedpromoProductsGet(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateFeaturedpromoProductsGetAPIRequest, session string) (*aecreatives.AliexpressAffiliateFeaturedpromoProductsGetAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateFeaturedpromoProductsGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateFeaturedpromoProductsGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateHotproductDownload.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
联盟营销爆品下载接口
/* AliexpressAffiliateHotproductDownload
联盟营销爆品下载接口
aliexpress.affiliate.hotproduct.download
查询联盟爆品API
*/
查询联盟爆品API */
func AliexpressAffiliateHotproductDownload(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateHotproductDownloadAPIRequest, session string) (*aecreatives.AliexpressAffiliateHotproductDownloadAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateHotproductDownloadAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateHotproductDownloadAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateHotproductQuery.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
查询联盟爆品数据
/* AliexpressAffiliateHotproductQuery
查询联盟爆品数据
aliexpress.affiliate.hotproduct.query
查询联盟爆品API
*/
查询联盟爆品API */
func AliexpressAffiliateHotproductQuery(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateHotproductQueryAPIRequest, session string) (*aecreatives.AliexpressAffiliateHotproductQueryAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateHotproductQueryAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateHotproductQueryAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateImageSearch.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
图搜
/* AliexpressAffiliateImageSearch
图搜
aliexpress.affiliate.image.search
图片搜索接口
*/
图片搜索接口 */
func AliexpressAffiliateImageSearch(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateImageSearchAPIRequest, session string) (*aecreatives.AliexpressAffiliateImageSearchAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateImageSearchAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateImageSearchAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateProductQuery.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
联盟推广商品获取接口
/* AliexpressAffiliateProductQuery
联盟推广商品获取接口
aliexpress.affiliate.product.query
联盟推广商品搜索接口,用于搜索联盟推广商品数据
*/
联盟推广商品搜索接口,用于搜索联盟推广商品数据 */
func AliexpressAffiliateProductQuery(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateProductQueryAPIRequest, session string) (*aecreatives.AliexpressAffiliateProductQueryAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateProductQueryAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateProductQueryAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateProductSmartmatch.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
联盟物料智能推荐api
/* AliexpressAffiliateProductSmartmatch
联盟物料智能推荐api
aliexpress.affiliate.product.smartmatch
联盟物料算法智能推荐
*/
联盟物料算法智能推荐 */
func AliexpressAffiliateProductSmartmatch(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateProductSmartmatchAPIRequest, session string) (*aecreatives.AliexpressAffiliateProductSmartmatchAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateProductSmartmatchAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateProductSmartmatchAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}
23 changes: 11 additions & 12 deletions api/aecreatives/AliexpressAffiliateProductdetailGet.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
package aecreatives

import (
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
"github.com/bububa/opentaobao/core"
"github.com/bububa/opentaobao/model/aecreatives"
)

/*
联盟商品详情获取接口
/* AliexpressAffiliateProductdetailGet
联盟商品详情获取接口
aliexpress.affiliate.productdetail.get
联盟推广商品搜索接口,用于搜索联盟推广商品数据
*/
联盟推广商品搜索接口,用于搜索联盟推广商品数据 */
func AliexpressAffiliateProductdetailGet(clt *core.SDKClient, req *aecreatives.AliexpressAffiliateProductdetailGetAPIRequest, session string) (*aecreatives.AliexpressAffiliateProductdetailGetAPIResponse, error) {
var resp aecreatives.AliexpressAffiliateProductdetailGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
var resp aecreatives.AliexpressAffiliateProductdetailGetAPIResponse
err := clt.Post(req, &resp, session)
if err != nil {
return nil, err
}
return &resp, nil
}

0 comments on commit 22cc484

Please sign in to comment.