Skip to content

Commit 3d8f04b

Browse files
committed
Merge branch 'dev_demo' into 'master' (merge request !31)
dev_demo
2 parents 7427269 + 0ce8af7 commit 3d8f04b

File tree

5 files changed

+148
-150
lines changed

5 files changed

+148
-150
lines changed

ci_media.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,8 +1906,6 @@ func (m *CreateMediaWorkflowOptions) UnmarshalXML(d *xml.Decoder, start xml.Star
19061906
prefix := "<Nodes>"
19071907
postfix := "</Nodes>"
19081908
str := prefix + string(temp) + postfix
1909-
fmt.Println(str)
1910-
fmt.Println(123)
19111909
myMxjMap, _ := mxj.NewMapXml([]byte(str))
19121910
myMap, _ = myMxjMap["Nodes"].(map[string]interface{})
19131911
nodesMap := make(map[string]Node)

example/CI/media_process/media_inventory.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func log_status(err error) {
3535

3636
// DescribeInventoryTriggerJob TODO
3737
func DescribeInventoryTriggerJob() {
38-
u, _ := url.Parse("https://lilang-1253960454.cos.ap-chongqing.myqcloud.com")
39-
cu, _ := url.Parse("https://lilang-1253960454.ci.ap-chongqing.myqcloud.com")
38+
u, _ := url.Parse("https://test-123456789.cos.ap-chongqing.myqcloud.com")
39+
cu, _ := url.Parse("https://test-123456789.ci.ap-chongqing.myqcloud.com")
4040
b := &cos.BaseURL{BucketURL: u, CIURL: cu}
4141
c := cos.NewClient(b, &http.Client{
4242
Transport: &cos.AuthorizationTransport{
@@ -59,8 +59,8 @@ func DescribeInventoryTriggerJob() {
5959

6060
// DescribeInventoryTriggerJobs TODO
6161
func DescribeInventoryTriggerJobs() {
62-
u, _ := url.Parse("https://lilang-1253960454.cos.ap-chongqing.myqcloud.com")
63-
cu, _ := url.Parse("https://lilang-1253960454.ci.ap-chongqing.myqcloud.com")
62+
u, _ := url.Parse("https://test-123456789.cos.ap-chongqing.myqcloud.com")
63+
cu, _ := url.Parse("https://test-123456789.ci.ap-chongqing.myqcloud.com")
6464
b := &cos.BaseURL{BucketURL: u, CIURL: cu}
6565
c := cos.NewClient(b, &http.Client{
6666
Transport: &cos.AuthorizationTransport{
@@ -85,8 +85,8 @@ func DescribeInventoryTriggerJobs() {
8585

8686
// CreateInventoryTriggerJob TODO
8787
func CreateInventoryTriggerJob() {
88-
u, _ := url.Parse("https://lilang-1253960454.cos.ap-chongqing.myqcloud.com")
89-
cu, _ := url.Parse("https://lilang-1253960454.ci.ap-chongqing.myqcloud.com")
88+
u, _ := url.Parse("https://test-123456789.cos.ap-chongqing.myqcloud.com")
89+
cu, _ := url.Parse("https://test-123456789.ci.ap-chongqing.myqcloud.com")
9090
b := &cos.BaseURL{BucketURL: u, CIURL: cu}
9191
c := cos.NewClient(b, &http.Client{
9292
Transport: &cos.AuthorizationTransport{
@@ -105,7 +105,7 @@ func CreateInventoryTriggerJob() {
105105
opt := &cos.CreateInventoryTriggerJobOptions{
106106
Name: "trigger-" + strconv.Itoa(rand.Intn(100)),
107107
Input: &cos.InventoryTriggerJobInput{
108-
Manifest: "https://lilang-1253960454.cos.ap-chongqing.myqcloud.com/cos_bucket_inventory/1253960454/lilang/menu_instant_20220506171340/20220506/manifest.json",
108+
Manifest: "https://test-123456789.cos.ap-chongqing.myqcloud.com/cos_bucket_inventory/123456789/test/menu_instant_20220506171340/20220506/manifest.json",
109109
},
110110
Operation: &cos.InventoryTriggerJobOperation{
111111
WorkflowIds: "web6ac56c1ef54dbfa44d7f4103203be9",
@@ -122,8 +122,8 @@ func CreateInventoryTriggerJob() {
122122

123123
// CancelInventoryTriggerJobs TODO
124124
func CancelInventoryTriggerJobs() {
125-
u, _ := url.Parse("https://lilang-1253960454.cos.ap-chongqing.myqcloud.com")
126-
cu, _ := url.Parse("https://lilang-1253960454.ci.ap-chongqing.myqcloud.com")
125+
u, _ := url.Parse("https://test-123456789.cos.ap-chongqing.myqcloud.com")
126+
cu, _ := url.Parse("https://test-123456789.ci.ap-chongqing.myqcloud.com")
127127
b := &cos.BaseURL{BucketURL: u, CIURL: cu}
128128
c := cos.NewClient(b, &http.Client{
129129
Transport: &cos.AuthorizationTransport{

0 commit comments

Comments
 (0)