|
|
@@ -0,0 +1,25 @@ |
|
|
|
package playlet_bihai |
|
|
|
|
|
|
|
//https://console-docs.apipost.cn/preview/6df4dac69ed4fe2e/e84becfee59b6d83?target_id=55e570ad-d893-4c3d-b469-91fe0f1eea30 |
|
|
|
func Login(args map[string]string) (string, error) { |
|
|
|
|
|
|
|
post, err := SendPost("api/v1/user/login/key", "", args) |
|
|
|
return post, err |
|
|
|
} |
|
|
|
|
|
|
|
func VideoList(token string, args map[string]string) (string, error) { |
|
|
|
post, err := SendPost("api/v1/open/video/list", token, args) |
|
|
|
return post, err |
|
|
|
} |
|
|
|
func CreateLink(token string, args map[string]string) (string, error) { |
|
|
|
post, err := SendPost("api/v1/open/create/link", token, args) |
|
|
|
return post, err |
|
|
|
} |
|
|
|
func OrderList(token string, args map[string]string) (string, error) { |
|
|
|
post, err := SendPost("api/v2/open/order/list", token, args) |
|
|
|
return post, err |
|
|
|
} |
|
|
|
func RefundOrderList(token string, args map[string]string) (string, error) { |
|
|
|
post, err := SendPost("api/v1/open/refund/order/list", token, args) |
|
|
|
return post, err |
|
|
|
} |