Documentation ¶
Overview ¶
Package custom_app OA/自建应用
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOpenApprovalData ¶
func GetOpenApprovalData(ctx *corporation.App, payload []byte) (resp []byte, err error)
查询自建应用审批单当前状态
开发者也可主动查询审批单的当前审批状态。
See: https://work.weixin.qq.com/api/doc/90000/90135/90269
POST https://qyapi.weixin.qq.com/cgi-bin/corp/getopenapprovaldata?access_token=ACCESS_TOKEN
Example ¶
package main import ( "fmt" "github.com/cvblood/qywxapi/corporation" "github.com/cvblood/qywxapi/corporation/apis/oa/custom_app" ) func main() { var ctx *corporation.App payload := []byte("{}") resp, err := custom_app.GetOpenApprovalData(ctx, payload) fmt.Println(resp, err) }
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.