Documentation ¶
Overview ¶
Package resident_report 政民沟通/居民上报
Index ¶
- func CategoryStatistic(ctx *corporation.App, payload []byte) (resp []byte, err error)
- func GetCorpStatus(ctx *corporation.App, payload []byte) (resp []byte, err error)
- func GetGridInfo(ctx *corporation.App) (resp []byte, err error)
- func GetOrderInfo(ctx *corporation.App, payload []byte) (resp []byte, err error)
- func GetOrderList(ctx *corporation.App, payload []byte) (resp []byte, err error)
- func GetUserStatus(ctx *corporation.App, payload []byte) (resp []byte, err error)
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CategoryStatistic ¶
func CategoryStatistic(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取上报事件分类统计
See: https://work.weixin.qq.com/api/doc/90000/90135/93517
POST https://qyapi.weixin.qq.com/cgi-bin/report/resident/category_statistic?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/gov/resident_report" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := resident_report.CategoryStatistic(ctx, payload) fmt.Println(resp, err) }
Output:
func GetCorpStatus ¶
func GetCorpStatus(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取单位居民上报数据统计
See: https://work.weixin.qq.com/api/doc/90000/90135/93515
POST https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_corp_status?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/gov/resident_report" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := resident_report.GetCorpStatus(ctx, payload) fmt.Println(resp, err) }
Output:
func GetGridInfo ¶
func GetGridInfo(ctx *corporation.App) (resp []byte, err error)
获取配置的网格及网格负责人
See: https://work.weixin.qq.com/api/doc/90000/90135/93514
GET https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_grid_info?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/gov/resident_report" ) func main() { var ctx *corporation.App resp, err := resident_report.GetGridInfo(ctx) fmt.Println(resp, err) }
Output:
func GetOrderInfo ¶
func GetOrderInfo(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取居民上报的事件详情信息
See: https://work.weixin.qq.com/api/doc/90000/90135/93519
POST https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_order_info?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/gov/resident_report" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := resident_report.GetOrderInfo(ctx, payload) fmt.Println(resp, err) }
Output:
func GetOrderList ¶
func GetOrderList(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取居民上报事件列表
See: https://work.weixin.qq.com/api/doc/90000/90135/93518
POST https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_order_list?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/gov/resident_report" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := resident_report.GetOrderList(ctx, payload) fmt.Println(resp, err) }
Output:
func GetUserStatus ¶
func GetUserStatus(ctx *corporation.App, payload []byte) (resp []byte, err error)
获取个人居民上报数据统计
See: https://work.weixin.qq.com/api/doc/90000/90135/93516
POST https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_user_status?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/gov/resident_report" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := resident_report.GetUserStatus(ctx, payload) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.