{
"responseField": {
// #region 个人用户相关的信息
"my": {
//#region geography 经纬度 点 注意 show 里面删除 geography
"showExtand": "{geography},null lng_lat",
"bridgeColumnExtand": "lng_lat",
"originalExtand": "0.0 lng,0.0 lat",
//#endregion geography 经纬度 点
"extend": "basis",
"auth": false,
"bridgeColumn": "address_id,user_id,telephone,real_name,nation,province,city,address,geography,create_time,modify_time",
"viewCountClosed": true,
"where": "{where_sql} and user_id=@_userId"
},
"my_detail": {
//#region geography 经纬度 点 注意 show 里面删除 geography
"showExtand": "{geography},null lng_lat",
"bridgeColumnExtand": "lng_lat",
"originalExtand": "0.0 lng,0.0 lat",
//#endregion geography 经纬度 点
"extend": "basis_detail",
//#region 设置默认值
"defaultParams": {
"userId": "_userId"
},
//#endregion 设置默认值
"bridgeColumn": "address_id,user_id,telephone,real_name,nation,province,city,address,geography,is_enabled",
"auth": false,
"viewCountClosed": false,
//#region 设置主键
"primaryWhere": "address_id=@addressId and user_id=@_userId",
//把内部值赋予key,用于解决内部参数,导致的错误
"primaryWhereMapper": [
{
"key": "userId",
"value": "@_userId"
}
]
//#endregion 设置主键
}
// #endregion 个人用户相关的信息
}
}
文档更新时间: 2022-05-19 13:25 作者:admin