mini-program/operate-cloud-function
Description
- Utilize Mini Program Cloud Functions.
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
Parameter Name | Required | Parameter Type | Description |
---|
type | Yes | Integer | API id |
appid | Yes | String | Mini-Program ID |
apiName | Yes | String | Cloud Function Name |
apiParams | Yes | JSON | Cloud Function Parameters |
operateDirectly | Yes | Boolean | Immediate Operation? |
Request Example
{
"type": 71,
"appid": "wx....",
"apiName": "webapi_getwxaasyncsecinfo",
"apiParams": {"pub_version":"2.29.3"},
"operateDirectly": false
}
Return Example
{
"data": {
"status": 0,
"desc": "",
"data": []
}
}
Return Parameter Description
Parameter Name | Parameter Type | Description |
---|
error_code | int | Error code |
description | string | Error Description |
data | json | Business data |