sdk

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Allocate

func Allocate(formId string, data map[string]string) string

分配

func Audit

func Audit(formId string, data map[string]string) string

审核

func BatchSave

func BatchSave(formId string, data map[string]string) string

批量保存

func BillQuery

func BillQuery(data map[string]string) string

单据查询(json) (官方在2023.9.4新增此接口)

func CancelAllocate

func CancelAllocate(formId string, data map[string]string) string

取消分配

func Delete

func Delete(formId string, data map[string]string) string

删除

func Disassembly

func Disassembly(formId string, data map[string]string) string

拆单

func Draft

func Draft(formId string, data map[string]string) string

暂存

func ExecuteBillQuery

func ExecuteBillQuery(data map[string]string) string

单据查询

func FlexSave

func FlexSave(formId string, data map[string]string) string

弹性域保存

func GetDataCenterList

func GetDataCenterList() string

获取数据中心列表

func GetHeaders

func GetHeaders(url string) map[string]interface{}

登录: 签名

func GetSysReportData

func GetSysReportData(formId string, data map[string]string) string

查询报表数据

func GroupDelete

func GroupDelete(data map[string]string) string

分组删除

func GroupSave

func GroupSave(formId string, data map[string]string) string

分组保存

func LoginForPassword

func LoginForPassword() string

登录: 用户名+密码

func LoginForSecret

func LoginForSecret() string

登录: 第三方授权应用ID+应用密钥

func Operation

func Operation(formId string, opNumber string, data map[string]string) string

操作

func Push

func Push(formId string, data map[string]string) string

下推

func QueryBusinessInfo

func QueryBusinessInfo(data map[string]string) string

元数据查询

func QueryGroupInfo

func QueryGroupInfo(data map[string]string) string

查询分组信息

func Save

func Save(formId string, data map[string]string) string

保存

func SendMsg

func SendMsg(data map[string]string) string

发送消息

func Submit

func Submit(formId string, data map[string]string) string

提交

func UnAudit

func UnAudit(formId string, data map[string]string) string

反审核

func View

func View(formId string, data map[string]string) string

详情

func WorkflowAudit

func WorkflowAudit(data map[string]string) string

工作流审批

Types

type K3CloudApiSdk

type K3CloudApiSdk struct {
	InitFunc              func()
	LoginForPasswordFunc  func()
	LoginForSecretFunc    func()
	GetHeadersFunc        func()
	ViewFunc              func()
	ExecuteBillQueryFunc  func()
	BillQueryFunc         func()
	QueryBusinessInfoFunc func()
	GetDataCenterListFunc func()
	SaveFunc              func()
	BatchSaveFunc         func()
	AuditFunc             func()
	UnAuditFunc           func()
	SubmitFunc            func()
	OperationFunc         func()
	PushFunc              func()
	DraftFunc             func()
	DeleteFunc            func()
	AllocateFunc          func()
	CancelAllocateFunc    func()
	FlexSaveFunc          func()
	SendMsgFunc           func()
	GroupSaveFunc         func()
	DisassemblyFunc       func()
	WorkflowAuditFunc     func()
	QueryGroupInfoFunc    func()
	GroupDeleteFunc       func()
	GetSysReportDataFunc  func()
}

func Init

func Init(conf map[string]string) *K3CloudApiSdk

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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