Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以增加内置审批流程中添加附件功能? #161

Open
caozhq opened this issue Jan 27, 2020 · 2 comments
Open

是否可以增加内置审批流程中添加附件功能? #161

caozhq opened this issue Jan 27, 2020 · 2 comments

Comments

@caozhq
Copy link

caozhq commented Jan 27, 2020

请参考更新后的 api

https://work.weixin.qq.com/api/doc/90000/90135/91853

参数 说明
files 附件列表
└ file_id 文件id,该id为临时素材上传接口返回的的media_id,注:提单后将作为单据内容转换为长期文件存储;目前一个审批申请单,全局仅支持上传6个附件,否则将失败。
@JeffreySu
Copy link
Contributor

收到!这个应该是在 https://github.com/JeffreySu/WeiXinMPSDK 下面的吧?

@JeffreySu JeffreySu reopened this Jun 12, 2023
@JeffreySu
Copy link
Contributor

Senparc.Weixin.Work.AdvancedAPIs.OA.OaApi.ApplyEvent() 方法中的 ApplyEventRequest 参数,里面的 apply_data.contents 是一个 string 对象,可以用于存放所有类型的请求,直接把 json 序列化就行。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants