文档
测试
POST
http://127.0.0.1:8899/wxApi/scan

接口描述

需要支持原生微信扫码和小程序内部扫码,没实名的要先去实名认证

请求头

参数名
类型
描述
必填
content-type
application/x-www-form-urlencoded
必填
Cookie
Cookie
必填

请求参数

参数名
类型
描述
必填
channelId
int
通道的id,这个参数扫码获得
必填
userData
json字符串
json字符串:{ "id": 2, "userName": "张三", "identity": "身份证", "isDanger": "1", "address": "地址", "carNo": "车牌", "faceUrl": "人脸url", "phone": "电话", "avatar": "微信头像", "gender": "1" }
必填

示例

返回的data: { "communityAddress": "xxxxxxx", "phone": "xxxxx", "communityName": "xxxxxx", "communityId": 1, "userName": "xxxxx", "channelId": 1, "channelType": 1 //1-进口,2-出口 }