resident_report

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package resident_report 政民沟通/居民上报

Index

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/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/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/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/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/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/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/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/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/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/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/arkii/wxwork/corporation"
	"github.com/arkii/wxwork/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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL