|
- package csjplatform
-
- import (
- "fmt"
- )
-
- func Activity(args map[string]string) (string, error) {
- params := map[string]interface{}{
- "external_info": args["external_info"],
- "material_id": args["material_id"],
- }
- if args["extra_params"] != "" {
- params["extra_params"] = args["extra_params"]
- }
-
- send, err := Send(args["app_id"], args["app_secret"], "aggregate/h5", params)
- fmt.Println(send)
- fmt.Println(err)
- return send, err
- }
|