如何通过api接口上传小程序代码,而不通过微信开发者工具上传?

小程序 文章 2022-02-18 15:00 1407 0 全屏看文

AI助手支持GPT4.0

如何通过api接口上传小程序代码,而不通过微信开发者工具上传?How to upload the applet code through the api interface without uploading through the WeChat developer tool?

如何通过api接口上传小程序代码,而不通过微信开发者工具上传?

比如:我有小程序A,小程序B(小程序appid不同的),我想要让小程序A和小程序B都使用同一套前端代码,这个可以实现吗?或者可不可以使用对应的后端接口,在前端调用,把项目代码上传到小程序(不使用微信开发工具)

For example, I have applet A and applet B (applet appids are different). I want applet A and applet B to use the same set of front-end code. Can this be realized? Or can you use the corresponding back-end interface to call at the front-end and upload the project code to the applet (without wechat development tools)

回答:

tomheng:

做成插件,A、B引入

dreamhunter:

可以做,不建议。系统设计会很复杂,不如独立部署方便。

不可以在前端调用后端接口

王一鸣:

可以使用同一套代码 这个不就是上传到第三方平台就可以了吗

不用开发者工具应该不可能

-EOF-

AI助手支持GPT4.0