小程序/获取小程序code

简要描述

  • 获取小程序code。

请求URL

  • http://127.0.0.1:8888/api/

请求方式

  • POST

参数

参数名必选类型说明
typeint接口编号
appidstringwx开头的小程序id

请求示例

 {
  "type": 68,
  "appid": "wx..."
 } 

返回示例

  {
    "data": {
      "status": 0,
      "desc": "",
      "data": {}
    }
  }

返回参数说明

参数名类型说明
error_codeint错误代码
descriptionstring错误描述
datajson业务数据

备注