智盟项目
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.

26 regels
655 B

  1. package svc
  2. import (
  3. offical "applet/app/db/official"
  4. "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/tik_tok"
  5. )
  6. func Base() map[string]string {
  7. tikTokCsjpAppId := offical.SysCfgByKeyStr("tik_tok_csjp_app_id")
  8. tikTokCsjpAppSecret := offical.SysCfgByKeyStr("tik_tok_csjp_app_secret")
  9. var tmp = map[string]string{
  10. "app_id": tikTokCsjpAppId,
  11. "app_secret": tikTokCsjpAppSecret,
  12. }
  13. return tmp
  14. }
  15. func CsjpOrder(tikTokArgs map[string]string) map[string]interface{} {
  16. base := Base()
  17. tikTokArgs["app_id"] = base["app_id"]
  18. tikTokArgs["app_secret"] = base["app_secret"]
  19. order := tik_tok.CsjpOrderList(tikTokArgs)
  20. return order
  21. }