custom_app

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

Jump to

Keyboard shortcuts

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