将草稿添加到代码模板库接口可以返回创建的代码模板id吗?
发布于 6 年前 作者 guiying55 5469 次浏览 来自 官方Issues

__将草稿添加到代码模板库接口 __https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/code_template/addtotemplate.html 可以返回创建的代码模板 id 吗?

否则还需要通过 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/code_template/gettemplatelist.html 获取代码模板列表接口 查询模板 id,问题我是怎么知道刚刚添加成的代码模板是哪个草稿添加的呢?还需要知道 app 版本?

同样地,上传草稿也有类似地问题,https://developers.weixin.qq.com/miniprogram/dev/devtools/ci.html,调用 uploadCode 接口,能否返回值中加入草稿 id?只能通过__获取代码草稿列表接口__ https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/code_template/gettemplatedraftlist.html 获取草稿 id 吗?

回到顶部