-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
105 additions
and
16 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
marketing-api/api/qianchuan/report/long_transfer_order_config_get.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package report | ||
|
||
import ( | ||
"github.com/bububa/oceanengine/marketing-api/core" | ||
"github.com/bububa/oceanengine/marketing-api/model/qianchuan/report" | ||
) | ||
|
||
// LongTransferOrderConfigGet 获取长周期订单明细可用指标和维度 | ||
func LongTransferOrderConfigGet(clt *core.SDKClient, accessToken string, req *report.CustomConfigGetRequest) (*report.CustomConfigGetResult, error) { | ||
var resp report.CustomConfigGetResponse | ||
err := clt.Get("v1.0/qianchuan/report/long_transfer/order/config/get/", req, &resp, accessToken) | ||
if err != nil { | ||
return nil, err | ||
} | ||
return resp.Data, nil | ||
} |
16 changes: 16 additions & 0 deletions
16
marketing-api/api/qianchuan/report/long_transfer_order_data_get.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package report | ||
|
||
import ( | ||
"github.com/bububa/oceanengine/marketing-api/core" | ||
"github.com/bububa/oceanengine/marketing-api/model/qianchuan/report" | ||
) | ||
|
||
// LongTransferOrderDataGet 获取长周期订单数据 | ||
func LongTransferOrderDataGet(clt *core.SDKClient, accessToken string, req *report.CustomGetRequest) (*report.CustomGetResult, error) { | ||
var resp report.CustomGetResponse | ||
err := clt.Get("v1.0/qianchuan/report/long_transfer/order/data/get/", req, &resp, accessToken) | ||
if err != nil { | ||
return nil, err | ||
} | ||
return resp.Data, nil | ||
} |
16 changes: 16 additions & 0 deletions
16
marketing-api/api/qianchuan/report/today_live_room_config_get.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package report | ||
|
||
import ( | ||
"github.com/bububa/oceanengine/marketing-api/core" | ||
"github.com/bububa/oceanengine/marketing-api/model/qianchuan/report" | ||
) | ||
|
||
// TodayLiveRoomConfigGet 获取直播大屏可用指标和维度 | ||
func TodayLiveRoomConfigGet(clt *core.SDKClient, accessToken string, req *report.CustomConfigGetRequest) (*report.CustomConfigGetResult, error) { | ||
var resp report.CustomConfigGetResponse | ||
err := clt.Get("v1.0/qianchuan/report/today_live/room/config/get/", req, &resp, accessToken) | ||
if err != nil { | ||
return nil, err | ||
} | ||
return resp.Data, nil | ||
} |
16 changes: 16 additions & 0 deletions
16
marketing-api/api/qianchuan/report/today_live_room_data_get.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package report | ||
|
||
import ( | ||
"github.com/bububa/oceanengine/marketing-api/core" | ||
"github.com/bububa/oceanengine/marketing-api/model/qianchuan/report" | ||
) | ||
|
||
// TodayLiveRoomDataGet 获取直播大屏数据 | ||
func TodayLiveRoomDataGet(clt *core.SDKClient, accessToken string, req *report.CustomGetRequest) (*report.CustomGetResult, error) { | ||
var resp report.CustomGetResponse | ||
err := clt.Get("v1.0/qianchuan/report/today_live/room/data/get/", req, &resp, accessToken) | ||
if err != nil { | ||
return nil, err | ||
} | ||
return resp.Data, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters