智慧食堂
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.

enum_wx_official_account.go 344 B

1 vuosi sitten
12345678910111213141516171819
  1. package enum
  2. type WxOfficialAccountRequest string
  3. const (
  4. GetAccessToken = "cgi-bin/token"
  5. QrcodeCreate = "cgi-bin/qrcode/create"
  6. )
  7. func (gt WxOfficialAccountRequest) String() string {
  8. switch gt {
  9. case GetAccessToken:
  10. return "获取 Access token"
  11. case QrcodeCreate:
  12. return "生成带参二维码"
  13. default:
  14. return "未知"
  15. }
  16. }