1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00
Files
wechat/officialaccount
方航 5d9705ddc8 Update menu.go (#271)
* Update menu.go

json: cannot unmarshal string into Go struct field MatchRule.conditionalmenu.matchrule.group_id of type int32
接口返回是字符串
"matchrule": {
"group_id": "2"
}

结构体定义
//MatchRule 个性化菜单规则
type MatchRule struct {
GroupID int32 json:"group_id,omitempty"
...
}

* matchrule字段均是字符串

 "matchrule": {
        "tag_id": "2", 
        "sex": "1", 
        "country": "中国", 
        "province": "广东", 
        "city": "广州", 
        "client_platform_type": "2", 
        "language": "zh_CN"
    }
2020-05-31 17:40:29 +08:00
..
2020-05-29 23:17:04 +08:00
2020-05-22 14:37:58 +08:00
2020-05-22 14:37:58 +08:00
2020-05-30 06:58:15 +08:00
2020-05-31 17:40:29 +08:00
2020-05-22 14:37:58 +08:00
2020-05-26 21:50:17 +08:00
2020-05-29 23:17:04 +08:00
2020-05-29 23:17:04 +08:00
2020-01-20 13:54:04 +08:00