头图

WeChat cloud development and WeChat cloud hosting, good partners for WeChat developers.

Fafa met with you in 18 years and has met more than one million developer partners. Guan Guan is a new model of cloud development. Developers who love the separation of front and back ends especially like it.

Yes, micro-channel cloud hosting has supported free authentication "cloud call" feature , cloud called through micro-channel cloud hosting, users do not need to maintain the access_token and other authentication information, you can easily call WeChat open service interface .

Taking the WeChat payment interface as an example, using WeChat Cloud to host cloud calls, developers do not need to care about certificates, authentication, WeChat payment server documents, etc., only need to call the corresponding interface, which is simple to use and can be called with one line of code.

In addition, WeChat cloud hosting is implemented based on WeChat's private protocol and does not rely on third-party modules, avoiding the risk of leaking other sensitive information such as certificates and payment status. At the same time, WeChat Cloud Hosting also supports receiving WeChat Pay for payment and refund callbacks, which is safe and efficient.

图片

Quick start

First visit on the PC browser side:

https://cloud.weixin.qq.com/

You can use WeChat cloud hosting.

The use of container open interface services is as follows:

1. Configuration interface : "Service Management-Cloud Call-WeChat Token" configuration required WeChat open service interface.

Example: Get small program code, /wxa/getcodeunlimited

2. Turn on : Turn on the "Service Management-Cloud Call-Open Interface Service" switch.

3. Send a request to : Use the HTTP or HTTPS protocol in the application code to initiate a request api.weixin.qq.com

Some language cloud call examples

For reference only, there may be some differences depending on the specific library and language version.

图片

message push

WeChat Cloud Hosting also supports receiving user messages and developer event pushes of mini programs and . supports all types of message push 161791520a5bf8.

图片

WeChat Cloud Hosting Console (please visit the following address on the PC side) https://cloud.weixin.qq.com/


CloudBase云开发
425 声望438 粉丝

云开发(Tencent CloudBase,TCB)是云端一体化的后端云服务 ,采用 serverless 架构,免去了移动应用构建中繁琐的服务器搭建和运维。同时云开发提供的静态托管、命令行工具(CLI)、Flutter SDK 等能力极大的降...