f01.go 412 B

12345678910111213141516171819202122
  1. package adm
  2. import (
  3. "gd_service/apis"
  4. "gd_service/consts"
  5. "gd_service/errors"
  6. )
  7. func F01(req *apis.ThirdpartRequest) (reply string, err error) {
  8. req.ProviderInfo.ThirdpartApiRouter = consts.F01
  9. str, err := AdmRequest(req)
  10. if err != nil {
  11. return "", err
  12. }
  13. if str == "" {
  14. return "", errors.VendorError
  15. }
  16. //respData := make(map[string]string)
  17. //utils.Convertion(respData, str)
  18. return str, nil
  19. }