Skip to content

comment_appends 评论-附属表

字段名字段类型字段注释默认值可空备注
idbigint UNSIGNED主键 IDNO自动递增
comment_idbigint UNSIGNED评论 IDNO关联字段 comments->id
is_plugin_editortinyint UNSIGNED是否仅在插件中编辑0NO0.否 / 1.是
editor_fskeyvarchar(64)内容编辑插件YES关联字段 plugins->fskey
can_deletetinyint UNSIGNED作者是否有权删除1NO0.否 / 1.是
is_close_btntinyint UNSIGNED是否关闭评论扩展按钮0NO0.否 / 1.是
对应字段 post_appends->is_comment_btn
is_change_btntinyint UNSIGNED是否更换评论扩展按钮0NO0.否 / 1.是
btn_name_keyvarchar(64)更换按钮的名称键名YES关联字段 configs->item_key
btn_stylevarchar(64)按钮风格YESprimary / secondary / success / danger / warning / info
more_jsonjson更多信息字段YES比如发布者 IP 位置名、设备名等
map_jsonjson地图-详细信息YES
map_idtinyint UNSIGNED地图-服务商编号YES来源地图服务商键值字典
map_continent_codevarchar(8)地图-洲代码YES亚洲 AS
map_country_codevarchar(8)地图-国家代码YES中国 CN
map_region_codevarchar(8)地图-省或州代码YES江苏 JS
map_city_codevarchar(8)地图-城市代码YES苏州 SZ
map_zipvarchar(32)地图-行政区划代码YES215000
map_poi_idvarchar(64)地图-POI IDYES地图服务商专属 ID
edit_countsmallint UNSIGNED编辑次数0NO共编辑了几次
created_attimestamp创建时间CURRENT_TIMESTAMPNO
updated_attimestamp更新时间YES
deleted_attimestamp删除时间YES

map_json 完整信息

json
{
    "mapId": 2,
    "latitude": 37.3185039,
    "longitude": -122.0288017,
    "scale": 14,
    "continent": "North America",
    "continentCode": "NA",
    "country": "United States",
    "countryCode": "US",
    "region": "California",
    "regionCode": "CA",
    "city": "Santa Clara",
    "cityCode": "SC",
    "district": "Cupertino",
    "address": "10800 Torre Ave, Cupertino, CA 95014",
    "zip": "95014",
    "poi": "Cupertino Library",
    "poiId": "TRDucfBPkhuzzR9a7",
}
json
{
    "mapId": 4,
    "latitude": 31.299,
    "longitude": 120.585,
    "scale": 6,
    "continent": "亚洲",
    "continentCode": "AS",
    "country": "中国",
    "countryCode": "CN",
    "region": "江苏",
    "regionCode": "JS",
    "city": "苏州",
    "cityCode": "SZ",
    "district": "工业园区",
    "address": "苏州工业园区星港街199号",
    "zip": "215000",
    "poi": "东方之门",
    "poiId": "B020017GRH",
}

Released under the Apache-2.0 License