第三方api接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

activity.go 437 B

9 months ago
1234567891011121314151617181920
  1. package csjplatform
  2. import (
  3. "fmt"
  4. )
  5. func Activity(args map[string]string) (string, error) {
  6. params := map[string]interface{}{
  7. "external_info": args["external_info"],
  8. "material_id": args["material_id"],
  9. }
  10. if args["extra_params"] != "" {
  11. params["extra_params"] = args["extra_params"]
  12. }
  13. send, err := Send(args["app_id"], args["app_secret"], "aggregate/h5", params)
  14. fmt.Println(send)
  15. fmt.Println(err)
  16. return send, err
  17. }