|
|
@@ -53,7 +53,7 @@ func PlayletVideoOrder() { |
|
|
|
"page_size": pageSize, |
|
|
|
"page_index": pageNo, |
|
|
|
} |
|
|
|
count := getVideoOrder(uid, arg) |
|
|
|
count := GetVideoOrder(uid, arg) |
|
|
|
if count == 0 { |
|
|
|
goto ChkArg |
|
|
|
} |
|
|
@@ -113,7 +113,7 @@ func PlayletVideoOrderYesterDay() { |
|
|
|
"page_index": pageNo, |
|
|
|
"status": 2, |
|
|
|
} |
|
|
|
count := getVideoOrder(uid, arg) |
|
|
|
count := GetVideoOrder(uid, arg) |
|
|
|
if count == 0 { |
|
|
|
break |
|
|
|
} |
|
|
@@ -181,7 +181,7 @@ func PlayletVideoOrderMonth() { |
|
|
|
"page_size": pageSize, |
|
|
|
"page_index": pageNo, |
|
|
|
} |
|
|
|
count := getVideoOrder(uid, arg) |
|
|
|
count := GetVideoOrder(uid, arg) |
|
|
|
if count == 0 { |
|
|
|
break |
|
|
|
} |
|
|
@@ -201,7 +201,7 @@ func PlayletVideoOrderMonth() { |
|
|
|
注意 在选择status为2退款时,start,end的筛选字段将是退款时间,时间范围最大为30天 |
|
|
|
建议 所有订单:实时订单,延迟最多1分钟内。退款订单:建议每日凌晨1点后拉取一次昨日退款订单。 |
|
|
|
*/ |
|
|
|
func getVideoOrder(uids string, arg map[string]interface{}) int { |
|
|
|
func GetVideoOrder(uids string, arg map[string]interface{}) int { |
|
|
|
list := make([]map[string]string, 0) |
|
|
|
token := GetTpdarenToken(uids) |
|
|
|
paging, err := tpdaren.OrderFindPaging(token, arg) |
|
|
|