contract.go 328 B

12345678910111213141516
  1. package services
  2. import (
  3. "eta/eta_data_push/models"
  4. "eta/eta_data_push/utils"
  5. )
  6. func GetContractList(source int) (list interface{}, err error) {
  7. gzObj := new(models.BaseFromTradeGuangzhouIndex)
  8. switch source {
  9. case utils.DATA_SOURCE_GFEX:
  10. list, err = gzObj.GetBaseFromTradeGuangzhouContract("")
  11. default:
  12. }
  13. return
  14. }