Cloud development series video www.bilibili.com/video/BV1yV… Using Tencent Cloud Services Space Development tool Hbuilder X

Service space creates and deploys a cloud function

Service space creation

From this site into service unicloud.dcloud.net.cn/home space management

If you don’t have an account, register one first

After landing

Choose Tencent cloud to choose the free version to wait for completion

Create a Uniapp project



Select your own service space when creating it

Create a new cloud function

In fact, and Tencent cloud SCF is not bad, but here is nodeJS environment

Right-click uniCloud to create CloudFunctions

Right-click CloudFunctions to create a new cloudfunction

After creation

We sent him back to code Husky

Then right click on the testone folder and select Upload Deployment

I’ve already created the deployment here so show the replacement

Configuring the Request URL

Enter the service space management just now. Click the list of cloud functions found after entering the service space. Click the details behind the cloud functions





Find the bottommost cloud function urlated edit and add path as required

test

Get request parameters

Modify the code



Upload again replace

test