一物一码
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

smartycustomer.go 1.2 KiB

pirms 2 gadiem
123456789101112131415161718192021222324252627282930313233343536373839
  1. package md
  2. // 淘口令
  3. type SmartyCustomer struct {
  4. OfficialTel interface{} `json:"official_tel"`
  5. OfficialQq interface{} `json:"official_qq"`
  6. OfficialWx interface{} `json:"official_wx"`
  7. ContactCustomerButton interface{} `json:"contact_customer_button"`
  8. HintLanguage string `json:"hint_language"`
  9. }
  10. type MallInfo struct {
  11. Name string `json:"name"`
  12. Desc string `json:"desc"`
  13. }
  14. type ResponseCustomerDetail struct {
  15. SmartyCustomer
  16. MallInfo
  17. }
  18. //UserProfileResponse is userprofile response
  19. type UserProfileResponse1 struct {
  20. UserName string `json:"username"`
  21. Avatar string `json:"avatar"`
  22. InviteCode string `json:"InviteCode"`
  23. UserLvName string `json:"user_lv_name"`
  24. UserLvIcon string `json:"user_lv_icon"`
  25. IsTaobaoAuth bool `json:"is_taobao_auth"`
  26. IsWxTaobaoAuth bool `json:"is_wx_taobao_auth"`
  27. GridViews []UserProfileResponseGridView1 `json:"grid_views"`
  28. }
  29. //UserProfileResponseGridView is for UserProfileResponse
  30. type UserProfileResponseGridView1 struct {
  31. Name string `json:"name"`
  32. Value string `json:"value"`
  33. }