openid
外,其他所有参数都是非必填,接口会过滤掉任何非空字段。code=200
判断成功与否即可curl --location --request POST 'http://ming-owl.com/api/wechat/mini/v1/user/update' \
--header 'X-Requested-With;' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"openid": "aaaaaa",
"unionid": null,
"nickname": null,
"avatar_url": null,
"gender": 1,
"country": null,
"city": 1111,
"province": null,
"language": "zh_CN",
"phone": null,
"email": null
}'
{
"status": "success",
"code": 200,
"message": "更新成功",
"data": {},
"error": {}
}