1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

小程序端扫门禁码跳转;门禁端调整;bugfix小程序端商品售价和划线价反了

This commit is contained in:
程序员小墨 2023-04-15 23:47:18 +08:00
parent 7f8a0f8d60
commit a6580355a2
20 changed files with 1315 additions and 665 deletions

View File

@ -1,7 +1,30 @@
还要做的部分 还要做的部分
社区、系统管理员后台管理 frontend项目
小程序扫门禁码之后门禁开门
购物车隐藏
首页密码修改
大门人员进出后台管理
首页加一个扫门禁码
订单发货小程序端显示
小程序扫门禁码之后门禁开门(扫码 websocket 推到门禁端)
门禁段显示大门开放状态
后台管理两个端分开
小程序提审(项目部署到服务器,提审时隐藏小商店)
数据库填充测试数据(以及创建一些测试账号)并备份,线上演示数据修改删除避免真删
小程序修改密码 小程序修改密码
# IP 配置 # IP 配置

View File

@ -47,6 +47,20 @@ public class GateController {
return Res.success(gateVOList); return Res.success(gateVOList);
} }
/**
* 获取大门详情小程序端
*
* @return
*/
@GetMapping("/miniprogram/detail")
@ResponseBody
public Res getGateDetail(String id) {
Long gateId = Long.valueOf(id);
Gate gate = gateService.getGateById(gateId);
GateVO gateVO = GateVO.convertFrom(gate);
return Res.success(gateVO);
}
/** /**
* 获取大门列表 * 获取大门列表
* *
@ -77,10 +91,10 @@ public class GateController {
"大门名称", FieldBuilder.EDIT_PLACEHOLDER_SAME_AS_ADD_PLACEHOLDER, "大门名称", FieldBuilder.EDIT_PLACEHOLDER_SAME_AS_ADD_PLACEHOLDER,
FieldRuleListBuilder.create() FieldRuleListBuilder.create()
.add(FieldRuleBuilder.create("大门名称").required()) .add(FieldRuleBuilder.create("大门名称").required())
.add(FieldRuleBuilder.create("大门名称").minMax(2, 15)), .add(FieldRuleBuilder.create("大门名称").minMax(2, 12)),
"DPD @cword(2, 15)" "DPD @cword(2, 12)"
) )
.add("open", "open", "状态", true, .add("open", "openStatus", "状态", true,
FieldType.TEXT, SearchType.SELECT, AddType.SELECT, EditType.SELECT, FieldType.TEXT, SearchType.SELECT, AddType.SELECT, EditType.SELECT,
FieldBuilder.SEARCH_PLACEHOLDER_SAME_AS_FIELDNAME, FieldBuilder.SEARCH_PLACEHOLDER_SAME_AS_FIELDNAME,
"状态", FieldBuilder.EDIT_PLACEHOLDER_SAME_AS_ADD_PLACEHOLDER, "状态", FieldBuilder.EDIT_PLACEHOLDER_SAME_AS_ADD_PLACEHOLDER,
@ -96,7 +110,7 @@ public class GateController {
stateMap.put(false, "禁止通行"); stateMap.put(false, "禁止通行");
// build // build
JSONArray fieldMapper = FieldMapperBuilder.create() JSONArray fieldMapper = FieldMapperBuilder.create()
.add("open", "open", stateMap) .add("open", "openStatus", stateMap)
.build(); .build();
// 拼装返回结果 // 拼装返回结果

View File

@ -17,6 +17,9 @@ public class GateService {
public Gate getGateById(Long id) { public Gate getGateById(Long id) {
if (id == null) {
return null;
}
return gateDao.getGateById(id); return gateDao.getGateById(id);
} }

View File

@ -1,81 +1,89 @@
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
html, html,
body { body {
height: 100%; height: 100%;
} }
.container { .container {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #0556c6; background-color: #0556c6;
display: grid; display: grid;
grid-template-columns: 3fr 4fr; grid-template-columns: 3fr 4fr;
place-items: center; grid-template-rows: 60px 1fr;
color: white; place-items: center;
color: white;
} }
.top-container {
grid-column-start: 1;
grid-column-end: 3;
}
.top-container,
.left-container { .left-container {
text-shadow: 2px 2px 2px #00000066; text-shadow: 2px 2px 2px #00000066;
} }
h1 { h1 {
margin-bottom: 30px; margin-bottom: 30px;
font-size: 4vw; font-size: 4vw;
} }
h3 { h3 {
margin-bottom: 10px; margin-bottom: 10px;
margin-top: 22px; margin-top: 22px;
font-size: 2vw; font-size: 2vw;
} }
p { p {
font-size: 1.4vw; font-size: 1.4vw;
line-height: 1.5em; line-height: 1.5em;
} }
.right-container { .right-container {
} }
#qrcode { #qrcode {
box-shadow: 0px 0px 17px 12px rgb(0 0 0 / 50%); box-shadow: 0px 0px 17px 12px rgb(0 0 0 / 50%);
border-radius: 50%; border-radius: 50%;
display: block; display: block;
width: min(40vw, 68vh); width: min(40vw, 68vh);
height: min(40vw, 68vh); height: min(40vw, 68vh);
} }
#refreshTimeCountDown { #refreshTimeCountDown {
text-align: center; text-align: center;
margin-top: 30px; margin-top: 30px;
font-size: 2em; font-size: 2em;
color: #ffffff9c; color: #ffffff9c;
} }
/* 右上角按钮 */ /* 右上角按钮 */
.ctrl-btn { .ctrl-btn {
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
padding: 10px; padding: 10px;
} }
.btn { .btn {
width: 32px; width: 32px;
height: 32px; height: 32px;
cursor: pointer; cursor: pointer;
filter: invert(1) opacity(0.8); filter: invert(1) opacity(0.8);
} }
.btn-ctrl { .btn-ctrl {
margin-left: 2px; margin-left: 2px;
vertical-align: middle; vertical-align: middle;
} }
#fullscreen-button { #fullscreen-button {
width: 28px; width: 28px;
height: 28px; height: 28px;
} }

View File

@ -1,66 +1,109 @@
.full-screen-mask { .full-screen-mask {
position: fixed; position: fixed;
width: 100%; width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
z-index: 10; z-index: 10;
background-color: black; background-color: black;
opacity: 0.35; opacity: 0.35;
} }
.setting-container { .setting-container {
position: fixed; position: fixed;
width: 100%; width: 100%;
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
z-index: 20; z-index: 20;
display: grid; display: grid;
place-items: center; place-items: center;
} }
.setting-panel { .setting-panel {
width: 320px; width: 320px;
height: 450px; height: 450px;
background-color: white; background-color: white;
border-radius: 40px; border-radius: 40px;
position: relative; position: relative;
padding: 14px; padding: 14px;
box-sizing: border-box; box-sizing: border-box;
} }
#close-setting-button { #close-setting-button {
position: absolute; position: absolute;
right: -17px; right: -17px;
top: -21px; top: -21px;
transform: rotate(12deg) scale(0.9); transform: rotate(12deg) scale(0.9);
transition: 0.3s; transition: 0.3s;
} }
#close-setting-button:hover { #close-setting-button:hover {
transform: rotate(102deg) scale(1.1); transform: rotate(102deg) scale(1.1);
} }
.save-button-container { .save-button-container {
position: absolute; position: absolute;
bottom: 20px; bottom: 20px;
left: 0; left: 0;
right: 0; right: 0;
} }
.save-setting-button { .save-setting-button {
width: 120px; width: 120px;
font-weight: 200; font-weight: 200;
font-size: 1.1em; font-size: 1.1em;
color: white; color: white;
background-color: #0556C6; background-color: #0556C6;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
height: 32px; height: 32px;
cursor: pointer; cursor: pointer;
} }
.hidden { .hidden {
display: none; display: none;
}
/* 弹窗列表样式 */
#gate-list {
width: 100%;
height: 70%;
/*box-shadow: 0 2px 10px 0 rgb(0 0 0 / 19%);*/
overflow-x: hidden;
overflow-y: scroll;
}
.gate-list-item {
display: grid;
grid-template-columns: 1fr 70px;
height: 50px;
margin: 8px 10px;
box-sizing: border-box;
place-items: center;
background-color: #f6f6f6;
}
.gate-list-item > p {
font-size: 14px;
}
.gate-list-item:hover {
background-color: #dcdcdc;
}
.gate-list-item.active {
background-color: #b7b7b7;
}
.status {
font-weight: bold;
}
.open {
color: green;
}
.closed {
color: red;
} }

View File

@ -25,6 +25,15 @@ DOMSettingPanel.addEventListener('click', function (e) {
e.stopPropagation() e.stopPropagation()
}) })
DOMSaveSettingButton.addEventListener('click', function (e) { DOMSaveSettingButton.addEventListener('click', function (e) {
closeSettingPanel()
e.stopPropagation() e.stopPropagation()
if (window.selectGateId) {
closeSettingPanel()
location.href = "./index.html?gateId=" + window.selectGateId
} else {
alert("请选择大门")
}
}) })
// 绑定到全局
window.showSettingPanel = showSettingPanel
window.closeSettingPanel = closeSettingPanel

View File

@ -8,49 +8,64 @@
<!-- Electron --> <!-- Electron -->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src *; img-src *; connect-src *;"> --> <!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src *; img-src *; connect-src *;"> -->
<title>社区疫情防控系统 - 门禁端</title> <title>社区疫情防控系统 - 门禁端</title>
<link rel="stylesheet" href="./assets/css/index.css" /> <link rel="stylesheet" href="./assets/css/index.css"/>
<link rel="stylesheet" href="./assets/css/setting-panel.css" /> <link rel="stylesheet" href="./assets/css/setting-panel.css"/>
</head> </head>
<body> <body>
<div class="ctrl-btn"> <div class="ctrl-btn">
<img class="btn btn-ctrl" id="setting-button" src="./assets/svg/setting.svg" alt=""> <img class="btn btn-ctrl" id="setting-button" src="./assets/svg/setting.svg" alt="">
<img class="btn btn-ctrl" id="fullscreen-button" src="./assets/svg/fullscreen.svg" alt=""> <img class="btn btn-ctrl" id="fullscreen-button" src="./assets/svg/fullscreen.svg" alt="">
</div>
<div class="container">
<div class="top-container">
<p id="gate-name" style="font-size: 28px;">Loading...</p>
</div> </div>
<div class="container"> <div class="left-container">
<div class="left-container"> <h1>进出社区请扫码</h1>
<h1>进出社区请扫码</h1> <h3>社区居民</h3>
<h3>社区居民</h3> <p>1. 打开 微信 > 扫一扫,扫描右侧小程序码</p>
<p>1. 打开 微信 > 扫一扫,扫描右侧小程序码</p> <p>2. 点击确认进入,门即开启</p>
<p>2. 点击确认进入,门即开启</p>
<h3>外来访客</h3> <h3>外来访客</h3>
<p>1. 打开 微信 > 扫一扫,扫描右侧小程序码</p> <p>1. 打开 微信 > 扫一扫,扫描右侧小程序码</p>
<p>2. 填写进入申请表</p> <p>2. 填写进入申请表</p>
<h3>长期租客</h3> <h3>长期租客</h3>
<p>1. 请联系管理员为你添加进出权限</p> <p>1. 请联系管理员为你添加进出权限</p>
</div>
<div class="right-container">
<img id="qrcode" src="">
<p id="refreshTimeCountDown"></p>
</div>
</div> </div>
<div class="right-container">
<h1 id="no-qrcode">请选择大门</h1>
<img id="qrcode" src="" style="display: none">
<p id="refreshTimeCountDown"></p>
</div>
</div>
<div id="full-screen-mask" class="full-screen-mask"></div> <div id="full-screen-mask" class="full-screen-mask hidden"></div>
<div id="setting-container" class="setting-container"> <div id="setting-container" class="setting-container hidden">
<div class="setting-panel"> <div class="setting-panel">
<!-- 关闭按钮 --> <!-- 关闭按钮 -->
<img id="close-setting-button" class="btn" src="./assets/svg/close.svg" alt=""> <img id="close-setting-button" class="btn" src="./assets/svg/close.svg" alt="">
<div class="save-button-container" style="text-align: center;"> <h3 style="text-align: center;">请选择大门</h3>
<button class="save-setting-button">保 存</button>
<div id="gate-list">
<div class="gate-list-item">
<p>大门1</p>
<p class="status open closed">
开放 封闭
</p>
</div> </div>
</div> </div>
<div class="save-button-container" style="text-align: center;">
<button class="save-setting-button">保 存</button>
</div>
</div> </div>
<script src="./renderer.js" type="module"></script> </div>
<script src="./assets/js/setting-panel.js" type="module"></script> <script src="./assets/js/setting-panel.js" type="module"></script>
<script src="./assets/js/websocket.js"></script> <script src="./renderer.js" type="module"></script>
<script src="./assets/js/websocket.js"></script>
</body> </body>
</html> </html>

View File

@ -1,3 +1,4 @@
// 定义常量
const url = "https://epp.only4.work/access/wechat/getUnlimitedQRCode" const url = "https://epp.only4.work/access/wechat/getUnlimitedQRCode"
const page = "pages/index/index" // "pages/scan/entrance" const page = "pages/index/index" // "pages/scan/entrance"
const envVersion = "develop" // 正式版为 "release",体验版为 "trial",开发版为 "develop" const envVersion = "develop" // 正式版为 "release",体验版为 "trial",开发版为 "develop"
@ -5,6 +6,36 @@ const autoColor = true
const isHyaline = false const isHyaline = false
const width = 500 const width = 500
// 页面上的元素
const image = document.getElementById('qrcode')
const noQrInfo = document.getElementById('no-qrcode')
const refreshTimeCountDown = document.getElementById('refreshTimeCountDown')
const DOMGateList = document.getElementById('gate-list')
// 大门列表
window.gateList = []
// 当前大门
window.currentGate = null
// 点击全屏
document.getElementById("fullscreen-button").addEventListener("click", function () {
if (document.fullscreenElement) {
document.exitFullscreen();
} else {
if (inElectron) {
// electron 中
const message = JSON.stringify({
action: 'fullscreen'
});
window.parent.postMessage(message, '*');
} else {
// 浏览器中
document.body.requestFullscreen()
}
}
})
// 获取 Url 参数 // 获取 Url 参数
function getUrlParams() { function getUrlParams() {
let params = {} let params = {}
@ -18,46 +49,19 @@ function getUrlParams() {
// console.log(params) // console.log(params)
return params return params
} }
let urlParams = getUrlParams()
console.log("urlParams", urlParams)
// 是否在 electron 中
const inElectron = urlParams['inElectron']
// 当前的门禁端
let gateId = urlParams['gateId'] || ""
if (!gateId) {
// 弹出选择框
}
// 点击全屏
document.getElementById("fullscreen-button").addEventListener("click", function () {
if (document.fullscreenElement) {
document.exitFullscreen();
} else {
if(inElectron) {
// electron 中
const message = JSON.stringify({
action: 'fullscreen'
});
window.parent.postMessage(message, '*');
} else {
// 浏览器中
document.body.requestFullscreen()
}
}
})
// 页面上的元素
const image = document.getElementById('qrcode')
const refreshTimeCountDown = document.getElementById('refreshTimeCountDown')
// 定时更新页面上的小程序码 // 定时更新页面上的小程序码
let i = 0, refreshTime = 10 + 1 let i = 0, refreshTime = 10 + 1
function updateQRCode() { function updateQRCode() {
// 取消图片隐藏
image.style.visibility = '';
image.style.display = '';
noQrInfo.style.display = 'none';
if (i % refreshTime == 0) { if (i % refreshTime == 0) {
let scene = encodeURIComponent(`guard&${Date.now()}`); // scene 最长支支持 32 位,所以这里不传入时间戳
let scene = encodeURIComponent(`guard&${window.currentGate.id}`); // &${Date.now()}
image.src = `${url}?page=${page}&scene=${scene}&envVersion=${envVersion}&width=${width}&autoColor=${autoColor}&isHyaline=${isHyaline}` image.src = `${url}?page=${page}&scene=${scene}&envVersion=${envVersion}&width=${width}&autoColor=${autoColor}&isHyaline=${isHyaline}`
console.log(image.src) console.log(image.src)
refreshTimeCountDown.innerHTML = `&nbsp;` refreshTimeCountDown.innerHTML = `&nbsp;`
@ -67,5 +71,76 @@ function updateQRCode() {
i = i % refreshTime + 1 i = i % refreshTime + 1
} }
updateQRCode() // 挂载到 window 上
setInterval(updateQRCode, 1000) window.updateQRCode = updateQRCode
// 弹窗中修改 item
function changePanelSelectGate(gateId) {
// 删除旧的 active
let activeList = document.querySelectorAll('.gate-list-item.active')
for (let a of activeList) {
a.classList.remove('active')
}
// 添加新的 active
let newActiveItem = document.getElementById(`gate-list-${gateId}`)
if (newActiveItem) {
newActiveItem.classList.add('active')
window.selectGateId = gateId
}
}
// 挂载到 window 上
window.changePanelSelectGate = changePanelSelectGate
// 发送请求,获取大门列表
async function getGateList() {
const response = await fetch('https://epp.only4.work/access/gate/guard-client/getGateList');
const data = await response.json();
return data.data;
}
window.onload = async function () {
// 获取 url 参数
let urlParams = getUrlParams()
console.log("urlParams", urlParams)
// 是否在 electron 中
const inElectron = urlParams['inElectron']
// 当前的门禁端
let gateId = urlParams['gateId'] || ""
// 获取大门列表
window.gateList = await getGateList()
console.log("gateList", window.gateList)
let domList = []
for (let gate of window.gateList) {
domList.push(`
<div id="gate-list-${gate.id}" class="gate-list-item" onclick="window.changePanelSelectGate('${gate.id}')">
<p>${gate.name}</p>
<p class="status ${gate.open ? 'open' : 'closed'}">
${gate.open ? '开放' : '封闭'}
</p>
</div>
`)
}
DOMGateList.innerHTML = domList.join('')
// 通过id 找门禁
window.currentGate = gateList.find((gate) => gate.id === gateId)
if (!window.currentGate) {
// 弹出选择框
window.showSettingPanel && window.showSettingPanel()
} else {
document.querySelector('#gate-name').textContent = window.currentGate.name
// 开始更新图片
updateQRCode()
setInterval(updateQRCode, 1000)
}
}

View File

@ -1,483 +1,484 @@
/* /*
Navicat Premium Data Transfer Navicat Premium Data Transfer
Source Server : localhost MySQL 8.0 123456 Source Server : localhost MySQL 8.0 123456
Source Server Type : MySQL Source Server Type : MySQL
Source Server Version : 80012 Source Server Version : 80012
Source Host : localhost:3306 Source Host : localhost:3306
Source Schema : epp Source Schema : epp
Target Server Type : MySQL Target Server Type : MySQL
Target Server Version : 80012 Target Server Version : 80012
File Encoding : 65001 File Encoding : 65001
Date: 14/04/2023 00:51:48 Date: 15/04/2023 18:50:35
*/ */
SET NAMES utf8mb4; SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0; SET FOREIGN_KEY_CHECKS = 0;
-- ---------------------------- -- ----------------------------
-- Table structure for access_log -- Table structure for access_log
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `access_log`; DROP TABLE IF EXISTS `access_log`;
CREATE TABLE `access_log` ( CREATE TABLE `access_log` (
`id` bigint(20) NOT NULL COMMENT '雪花id', `id` bigint(20) NOT NULL COMMENT '雪花id',
`time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '进出时间', `time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '进出时间',
`user_id` int(11) NOT NULL COMMENT '用户id', `user_id` int(11) NOT NULL COMMENT '用户id',
`user_real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户真实姓名', `user_real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户真实姓名',
`gate_id` bigint(20) NOT NULL COMMENT '大门id', `gate_id` bigint(20) NOT NULL COMMENT '大门id',
`type` enum('IN','OUT') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '类型(进门 OR 出门)' `type` enum('IN','OUT') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '类型(进门 OR 出门)'
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '人员进出记录表' ROW_FORMAT = Dynamic; ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '人员进出记录表' ROW_FORMAT = Dynamic;
-- ---------------------------- -- ----------------------------
-- Records of access_log -- Records of access_log
-- ---------------------------- -- ----------------------------
-- ---------------------------- -- ----------------------------
-- Table structure for apply1 -- Table structure for apply1
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `apply1`; DROP TABLE IF EXISTS `apply1`;
CREATE TABLE `apply1` ( CREATE TABLE `apply1` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`stu_id` int(11) NULL DEFAULT NULL COMMENT '用户id', `stu_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
`issue` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请事由', `issue` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请事由',
`transport` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出行方式', `transport` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出行方式',
`place` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目的地', `place` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '目的地',
`start_time` datetime NULL DEFAULT NULL COMMENT '开始时间', `start_time` datetime NULL DEFAULT NULL COMMENT '开始时间',
`end_time` datetime NULL DEFAULT NULL COMMENT '结束时间', `end_time` datetime NULL DEFAULT NULL COMMENT '结束时间',
`state` int(11) NULL DEFAULT 0 COMMENT '状态(0:审批中,1:通过,2:驳回)', `state` int(11) NULL DEFAULT 0 COMMENT '状态(0:审批中,1:通过,2:驳回)',
`reason` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '驳回原因', `reason` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '驳回原因',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of apply1 -- Records of apply1
-- ---------------------------- -- ----------------------------
INSERT INTO `apply1` VALUES (1, 1, '11', '飞机', '33', '2022-02-15 11:20:00', '2022-02-15 13:20:00', 2, '格式错误'); INSERT INTO `apply1` VALUES (1, 1, '11', '飞机', '33', '2022-02-15 11:20:00', '2022-02-15 13:20:00', 2, '格式错误');
INSERT INTO `apply1` VALUES (2, 2, '333', '大巴', '333', '2022-02-15 11:51:00', '2022-02-15 13:51:00', 1, ''); INSERT INTO `apply1` VALUES (2, 2, '333', '大巴', '333', '2022-02-15 11:51:00', '2022-02-15 13:51:00', 1, '');
INSERT INTO `apply1` VALUES (3, 2, '333', '大巴', '333', '2022-02-15 11:51:00', '2022-02-15 13:51:00', 2, '格式错误'); INSERT INTO `apply1` VALUES (3, 2, '333', '大巴', '333', '2022-02-15 11:51:00', '2022-02-15 13:51:00', 2, '格式错误');
INSERT INTO `apply1` VALUES (4, 2, '1', '动车', '2', '2022-03-12 13:45:00', '2022-03-12 15:45:00', 1, ''); INSERT INTO `apply1` VALUES (4, 2, '1', '动车', '2', '2022-03-12 13:45:00', '2022-03-12 15:45:00', 1, '');
INSERT INTO `apply1` VALUES (5, 2, '11', '飞机', '22', '2022-03-12 20:29:00', '2022-03-12 22:29:00', 1, ''); INSERT INTO `apply1` VALUES (5, 2, '11', '飞机', '22', '2022-03-12 20:29:00', '2022-03-12 22:29:00', 1, '');
INSERT INTO `apply1` VALUES (6, 1, '123', '飞机', '123', '2022-03-19 13:37:00', '2022-03-19 15:37:00', 1, ''); INSERT INTO `apply1` VALUES (6, 1, '123', '飞机', '123', '2022-03-19 13:37:00', '2022-03-19 15:37:00', 1, '');
INSERT INTO `apply1` VALUES (9, 10, '1', '飞机', '1', '2022-06-15 10:41:00', '2022-06-15 12:41:00', 1, ''); INSERT INTO `apply1` VALUES (9, 10, '1', '飞机', '1', '2022-06-15 10:41:00', '2022-06-15 12:41:00', 1, '');
INSERT INTO `apply1` VALUES (10, 12, '1', '飞机', '1', '2022-06-15 10:53:00', '2022-06-15 12:53:00', 2, '格式错误'); INSERT INTO `apply1` VALUES (10, 12, '1', '飞机', '1', '2022-06-15 10:53:00', '2022-06-15 12:53:00', 2, '格式错误');
INSERT INTO `apply1` VALUES (11, 2, '1', '飞机', '1', '2022-10-23 16:17:00', '2022-10-23 18:17:00', 1, ''); INSERT INTO `apply1` VALUES (11, 2, '1', '飞机', '1', '2022-10-23 16:17:00', '2022-10-23 18:17:00', 1, '');
INSERT INTO `apply1` VALUES (12, 13, '1', '飞机', '1', '2022-10-26 19:25:00', '2022-10-26 21:25:00', 1, ''); INSERT INTO `apply1` VALUES (12, 13, '1', '飞机', '1', '2022-10-26 19:25:00', '2022-10-26 21:25:00', 1, '');
-- ---------------------------- -- ----------------------------
-- Table structure for count1 -- Table structure for count1
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `count1`; DROP TABLE IF EXISTS `count1`;
CREATE TABLE `count1` ( CREATE TABLE `count1` (
`date` date NOT NULL COMMENT '日期', `date` date NOT NULL COMMENT '日期',
`time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '时间', `time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '时间',
`in_num` int(11) NULL DEFAULT NULL COMMENT '入校人数', `in_num` int(11) NULL DEFAULT NULL COMMENT '入校人数',
`out_num` int(11) NULL DEFAULT NULL COMMENT '出校人数', `out_num` int(11) NULL DEFAULT NULL COMMENT '出校人数',
PRIMARY KEY (`date`) USING BTREE PRIMARY KEY (`date`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of count1 -- Records of count1
-- ---------------------------- -- ----------------------------
-- ---------------------------- -- ----------------------------
-- Table structure for feedback1 -- Table structure for feedback1
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `feedback1`; DROP TABLE IF EXISTS `feedback1`;
CREATE TABLE `feedback1` ( CREATE TABLE `feedback1` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '反馈标题', `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '反馈标题',
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '反馈内容', `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '反馈内容',
`time` datetime NULL DEFAULT NULL COMMENT '反馈时间', `time` datetime NULL DEFAULT NULL COMMENT '反馈时间',
`user_id` int(11) NULL DEFAULT NULL COMMENT '反馈用户id', `user_id` int(11) NULL DEFAULT NULL COMMENT '反馈用户id',
`reply` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复', `reply` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '回复',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of feedback1 -- Records of feedback1
-- ---------------------------- -- ----------------------------
INSERT INTO `feedback1` VALUES (1, '111', '222', '2022-02-14 10:18:29', 1, '22'); INSERT INTO `feedback1` VALUES (1, '111', '222', '2022-02-14 10:18:29', 1, '22');
INSERT INTO `feedback1` VALUES (2, '111', '222', '2022-02-14 10:20:05', 1, '33'); INSERT INTO `feedback1` VALUES (2, '111', '222', '2022-02-14 10:20:05', 1, '33');
INSERT INTO `feedback1` VALUES (3, '22', '33', '2022-02-14 10:20:29', 1, 'no'); INSERT INTO `feedback1` VALUES (3, '22', '33', '2022-02-14 10:20:29', 1, 'no');
INSERT INTO `feedback1` VALUES (4, '``', '11', '2022-02-14 10:22:12', 1, '111'); INSERT INTO `feedback1` VALUES (4, '``', '11', '2022-02-14 10:22:12', 1, '111');
INSERT INTO `feedback1` VALUES (5, '123', '123456', '2022-03-28 19:34:04', 2, NULL); INSERT INTO `feedback1` VALUES (5, '123', '123456', '2022-03-28 19:34:04', 2, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for gate -- Table structure for gate
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `gate`; DROP TABLE IF EXISTS `gate`;
CREATE TABLE `gate` ( CREATE TABLE `gate` (
`id` bigint(11) NOT NULL AUTO_INCREMENT COMMENT '雪花id', `id` bigint(11) NOT NULL AUTO_INCREMENT COMMENT '雪花id',
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '大门显示名称', `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '大门显示名称',
`open` tinyint(1) NOT NULL DEFAULT 1 COMMENT '大门是否开放 1为开放 2为关闭', `open` tinyint(1) NOT NULL DEFAULT 1 COMMENT '大门是否开放 1为开放 2为关闭',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '社区大门' ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '社区大门' ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of gate -- Records of gate
-- ---------------------------- -- ----------------------------
-- ---------------------------- -- ----------------------------
-- Table structure for goods -- Table structure for goods
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `goods`; DROP TABLE IF EXISTS `goods`;
CREATE TABLE `goods` ( CREATE TABLE `goods` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`goods_name` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '商品名称', `goods_name` varchar(127) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '商品名称',
`category_id` int(11) NULL DEFAULT 0 COMMENT '商品所属类目ID', `category_id` int(11) NULL DEFAULT 0 COMMENT '商品所属类目ID',
`brand` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '商品品牌', `brand` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '商品品牌',
`gallery` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '[]' COMMENT '商品宣传图片列表采用JSON数组格式', `gallery` varchar(1023) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '[]' COMMENT '商品宣传图片列表采用JSON数组格式',
`brief` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品简介', `brief` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品简介',
`is_on_sale` tinyint(1) NULL DEFAULT 1 COMMENT '是否上架 0为下架 1为上架', `is_on_sale` tinyint(1) NULL DEFAULT 1 COMMENT '是否上架 0为下架 1为上架',
`sort_order` smallint(4) NULL DEFAULT 100 COMMENT '排序', `sort_order` smallint(4) NULL DEFAULT 100 COMMENT '排序',
`pic_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品页面商品图片', `pic_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品页面商品图片',
`type` tinyint(1) NULL DEFAULT 0 COMMENT '商品类型', `type` tinyint(1) NULL DEFAULT 0 COMMENT '商品类型',
`unit` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '商品单位,例如件、盒', `unit` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '商品单位,例如件、盒',
`counter_price` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '专柜价格(原价 / 划线价)', `counter_price` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '专柜价格(原价 / 划线价)',
`retail_price` decimal(10, 2) NULL DEFAULT 100000.00 COMMENT '零售价格(售价 / 未划线价)', `retail_price` decimal(10, 2) NULL DEFAULT 100000.00 COMMENT '零售价格(售价 / 未划线价)',
`detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '商品详细介绍,是富文本格式', `detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '商品详细介绍,是富文本格式',
`deleted` tinyint(1) NULL DEFAULT 0 COMMENT '逻辑删除 0为正常 1为删除', `deleted` tinyint(1) NULL DEFAULT 0 COMMENT '逻辑删除 0为正常 1为删除',
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
INDEX `category_id`(`category_id`) USING BTREE, INDEX `category_id`(`category_id`) USING BTREE,
INDEX `brand_id`(`brand`) USING BTREE, INDEX `brand_id`(`brand`) USING BTREE,
INDEX `sort_order`(`sort_order`) USING BTREE INDEX `sort_order`(`sort_order`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 88 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商品基本信息表' ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 88 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商品基本信息表' ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of goods -- Records of goods
-- ---------------------------- -- ----------------------------
INSERT INTO `goods` VALUES (1, '口罩', 4, '千驰医疗器械', '[]', '一次性口罩', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 0.99, 1.99, '这是一次性口罩,采用优质无纺布材料制作,轻薄透气,防护效果好。', 0); INSERT INTO `goods` VALUES (1, '口罩', 4, '千驰医疗器械', '[]', '一次性口罩', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 0.99, 1.99, '这是一次性口罩,采用优质无纺布材料制作,轻薄透气,防护效果好。', 0);
INSERT INTO `goods` VALUES (2, '水银温度计', 4, '千驰医疗器械', '[]', '医用玻璃水银体温计腋下温度计家用成人儿童婴儿口腔发烧探热针', 1, 200, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 59.90, 66.90, '产品名称:\r\n玻璃体温计\r\n\r\n产品型号:\r\n三角型棒式口腔)、内标式(腋下)\r\n\r\n使用期限:\r\n2年\r\n\r\n适用范围:\r\n供测量人体体温用\r\n\r\n产品构成:\r\n本产品由贡(水银)、感温泡和玻璃管组成。其中贡要符合一号贡的要求\r\n\r\n注意事项:\r\n测温前避免剧烈运动饮热饮、冷饮和饮酒等影响实际体温的因素', 0); INSERT INTO `goods` VALUES (2, '水银温度计', 4, '千驰医疗器械', '[]', '医用玻璃水银体温计腋下温度计家用成人儿童婴儿口腔发烧探热针', 1, 200, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 59.90, 66.90, '产品名称:\r\n玻璃体温计\r\n\r\n产品型号:\r\n三角型棒式口腔)、内标式(腋下)\r\n\r\n使用期限:\r\n2年\r\n\r\n适用范围:\r\n供测量人体体温用\r\n\r\n产品构成:\r\n本产品由贡(水银)、感温泡和玻璃管组成。其中贡要符合一号贡的要求\r\n\r\n注意事项:\r\n测温前避免剧烈运动饮热饮、冷饮和饮酒等影响实际体温的因素', 0);
INSERT INTO `goods` VALUES (3, '酒精', 4, '海氏海诺', '[]', '海氏海诺 75%酒精消毒液大桶2L乙醇伤口皮肤消毒家用清洁防疫酒精', 1, 300, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 18.80, '海氏海诺 75%酒精消毒液大桶2L乙醇伤口皮肤消毒家用清洁防疫酒精', 0); INSERT INTO `goods` VALUES (3, '酒精', 4, '海氏海诺', '[]', '海氏海诺 75%酒精消毒液大桶2L乙醇伤口皮肤消毒家用清洁防疫酒精', 1, 300, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 18.80, '海氏海诺 75%酒精消毒液大桶2L乙醇伤口皮肤消毒家用清洁防疫酒精', 0);
INSERT INTO `goods` VALUES (4, '红富士苹果', 1, '佳农', '[\"https://cdn.example.com/goods/apple.jpg\"]', '新鲜红富士苹果', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.99, 8.99, '新鲜红富士苹果,口感甜脆,营养丰富。适合作为水果零食或食用。', 0); INSERT INTO `goods` VALUES (4, '红富士苹果', 1, '佳农', '[\"https://cdn.example.com/goods/apple.jpg\"]', '新鲜红富士苹果', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.99, 8.99, '新鲜红富士苹果,口感甜脆,营养丰富。适合作为水果零食或食用。', 0);
INSERT INTO `goods` VALUES (5, '牛奶', 7, '蒙牛', '[\"https://cdn.example.com/goods/milk.jpg\"]', '蒙牛纯牛奶', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.99, 12.99, '蒙牛纯牛奶,原味鲜香,营养均衡。适合早餐或饮用。', 0); INSERT INTO `goods` VALUES (5, '牛奶', 7, '蒙牛', '[\"https://cdn.example.com/goods/milk.jpg\"]', '蒙牛纯牛奶', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.99, 12.99, '蒙牛纯牛奶,原味鲜香,营养均衡。适合早餐或饮用。', 0);
INSERT INTO `goods` VALUES (6, '口罩', 4, '0', '[\"https://cdn.example.com/goods/mask.jpg\"]', '医用口罩', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 0.99, 1.99, '医用口罩,防护效果好,适合日常出行或在公共场合佩戴。', 0); INSERT INTO `goods` VALUES (6, '口罩', 4, '0', '[\"https://cdn.example.com/goods/mask.jpg\"]', '医用口罩', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 0.99, 1.99, '医用口罩,防护效果好,适合日常出行或在公共场合佩戴。', 0);
INSERT INTO `goods` VALUES (7, '洗发水', 2, '清扬男士', '[\"https://cdn.example.com/goods/shampoo.jpg\"]', '清扬男士去屑洗发露', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 16.99, 19.99, '清扬男士去屑洗发露,深层清洁头皮,去除头屑。适合男性使用。', 0); INSERT INTO `goods` VALUES (7, '洗发水', 2, '清扬男士', '[\"https://cdn.example.com/goods/shampoo.jpg\"]', '清扬男士去屑洗发露', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 16.99, 19.99, '清扬男士去屑洗发露,深层清洁头皮,去除头屑。适合男性使用。', 0);
INSERT INTO `goods` VALUES (8, '泡腾片', 3, '德国DAS', '[\"https://cdn.example.com/goods/vitaminc.jpg\"]', '维生素C泡腾片', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 39.99, '矫正维生素C泡腾片补充维生素C提高免疫力。适合日常补充。', 0); INSERT INTO `goods` VALUES (8, '泡腾片', 3, '德国DAS', '[\"https://cdn.example.com/goods/vitaminc.jpg\"]', '维生素C泡腾片', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 39.99, '矫正维生素C泡腾片补充维生素C提高免疫力。适合日常补充。', 0);
INSERT INTO `goods` VALUES (9, '青菜', 1, '京鲜生', '[]', '新鲜有机蔬菜', 1, 200, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.50, 4.50, '青菜是一种十分常见的蔬菜,有很高的营养价值。它含有丰富的维生素、矿物质和膳食纤维等营养成分,对人体有很多好处。青菜不仅可以做菜吃,还可以榨汁喝,是一种很好的保健食品。', 0); INSERT INTO `goods` VALUES (9, '青菜', 1, '京鲜生', '[]', '新鲜有机蔬菜', 1, 200, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.50, 4.50, '青菜是一种十分常见的蔬菜,有很高的营养价值。它含有丰富的维生素、矿物质和膳食纤维等营养成分,对人体有很多好处。青菜不仅可以做菜吃,还可以榨汁喝,是一种很好的保健食品。', 0);
INSERT INTO `goods` VALUES (10, '橙子', 1, '京鲜生', '[]', '新鲜橙子,现摘现发', 1, 300, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 6.50, 8.50, '橙子是一种很常见的水果味道酸甜可口有很多好处。它含有丰富的维生素C和抗氧化物质能够增强免疫力、促进消化和排毒预防感冒和癌症等疾病。橙子可以直接食用或者榨汁喝也可以用来做饮料、糕点等食品。', 0); INSERT INTO `goods` VALUES (10, '橙子', 1, '京鲜生', '[]', '新鲜橙子,现摘现发', 1, 300, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 6.50, 8.50, '橙子是一种很常见的水果味道酸甜可口有很多好处。它含有丰富的维生素C和抗氧化物质能够增强免疫力、促进消化和排毒预防感冒和癌症等疾病。橙子可以直接食用或者榨汁喝也可以用来做饮料、糕点等食品。', 0);
INSERT INTO `goods` VALUES (11, '花牛苹果', 1, '佳农', '[]', '新鲜花牛苹果', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.50, 4.50, '这是一篮新鲜的花牛苹果,口感酸甜可口,非常适合作为水果零食食用。', 0); INSERT INTO `goods` VALUES (11, '花牛苹果', 1, '佳农', '[]', '新鲜花牛苹果', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.50, 4.50, '这是一篮新鲜的花牛苹果,口感酸甜可口,非常适合作为水果零食食用。', 0);
INSERT INTO `goods` VALUES (12, '牛奶', 7, '伊利', '[]', '伊利纯牛奶', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.99, 7.99, '这是一盒纯牛奶,来源于天然放牧的奶牛,口感醇厚,营养丰富。', 0); INSERT INTO `goods` VALUES (12, '牛奶', 7, '伊利', '[]', '伊利纯牛奶', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.99, 7.99, '这是一盒纯牛奶,来源于天然放牧的奶牛,口感醇厚,营养丰富。', 0);
INSERT INTO `goods` VALUES (13, '酒精', 0, '利尔康', '[]', '30瓶装利尔康75%酒精消毒液大桶杀菌清洁500ml75度乙醇医疗伤口', 1, 300, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 16.00, '医用口罩,防护效果好,适合日常出行或在公共场合佩戴。', 0); INSERT INTO `goods` VALUES (13, '酒精', 0, '利尔康', '[]', '30瓶装利尔康75%酒精消毒液大桶杀菌清洁500ml75度乙醇医疗伤口', 1, 300, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 16.00, '医用口罩,防护效果好,适合日常出行或在公共场合佩戴。', 0);
INSERT INTO `goods` VALUES (14, '方便面', 5, '0', '[]', '康师傅牛肉面', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 2.50, 3.50, '这是一袋康师傅牛肉面,方便快捷,味道鲜美,非常适合作为零食食用。', 0); INSERT INTO `goods` VALUES (14, '方便面', 5, '0', '[]', '康师傅牛肉面', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 2.50, 3.50, '这是一袋康师傅牛肉面,方便快捷,味道鲜美,非常适合作为零食食用。', 0);
INSERT INTO `goods` VALUES (15, '维生素C片', 3, 'ORIHIRO', '[]', 'VC维生素片', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.99, 10.99, '这是一瓶VC维生素片含有丰富的维生素C和其他营养成分能够增强免疫力改善皮肤质量。', 0); INSERT INTO `goods` VALUES (15, '维生素C片', 3, 'ORIHIRO', '[]', 'VC维生素片', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.99, 10.99, '这是一瓶VC维生素片含有丰富的维生素C和其他营养成分能够增强免疫力改善皮肤质量。', 0);
INSERT INTO `goods` VALUES (16, '矿泉水', 7, '怡宝', '[]', '怡宝矿泉水', 1, 40, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.99, 5.99, '怡宝矿泉水', 0); INSERT INTO `goods` VALUES (16, '矿泉水', 7, '怡宝', '[]', '怡宝矿泉水', 1, 40, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.99, 5.99, '怡宝矿泉水', 0);
INSERT INTO `goods` VALUES (17, '牙刷', 2, '黑人', '[]', '舒适柔软的牙刷', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.99, 10.99, '这是一把舒适柔软的牙刷,能够很好地清洁牙齿,让口腔更健康。', 0); INSERT INTO `goods` VALUES (17, '牙刷', 2, '黑人', '[]', '舒适柔软的牙刷', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.99, 10.99, '这是一把舒适柔软的牙刷,能够很好地清洁牙齿,让口腔更健康。', 0);
INSERT INTO `goods` VALUES (18, '饼干', 5, '0', '[]', '酥脆的饼干', 1, 50, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.99, 15.99, '这是一盒酥脆的饼干,口感香脆,非常适合当零食食用。', 0); INSERT INTO `goods` VALUES (18, '饼干', 5, '0', '[]', '酥脆的饼干', 1, 50, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.99, 15.99, '这是一盒酥脆的饼干,口感香脆,非常适合当零食食用。', 0);
INSERT INTO `goods` VALUES (19, '手洗液', 2, '舒肤佳', '[]', '抑菌洗手液', 1, 65, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 18.99, 21.99, '这是一瓶抑菌洗手液,能够有效地杀灭手部细菌,保持双手清洁卫生。', 0); INSERT INTO `goods` VALUES (19, '手洗液', 2, '舒肤佳', '[]', '抑菌洗手液', 1, 65, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 18.99, 21.99, '这是一瓶抑菌洗手液,能够有效地杀灭手部细菌,保持双手清洁卫生。', 0);
INSERT INTO `goods` VALUES (20, '口香糖', 5, '0', '[]', '清新口气口香糖', 1, 45, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.99, 12.99, '这是一盒清新口气口香糖,口感浓郁,能够有效地清除口腔异味。', 0); INSERT INTO `goods` VALUES (20, '口香糖', 5, '0', '[]', '清新口气口香糖', 1, 45, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.99, 12.99, '这是一盒清新口气口香糖,口感浓郁,能够有效地清除口腔异味。', 0);
INSERT INTO `goods` VALUES (21, '面膜', 2, '0', '[]', '补水保湿面膜', 1, 55, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 35.99, '补水保湿面膜', 0); INSERT INTO `goods` VALUES (21, '面膜', 2, '0', '[]', '补水保湿面膜', 1, 55, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 35.99, '补水保湿面膜', 0);
INSERT INTO `goods` VALUES (22, '一次性医用口罩', 4, '医用口罩', '[]', '一次性医用口罩', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.99, 8.99, '一次性医用口罩,具有防护作用。适合在公共场所佩戴,能有效减少病毒传播。', 0); INSERT INTO `goods` VALUES (22, '一次性医用口罩', 4, '医用口罩', '[]', '一次性医用口罩', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.99, 8.99, '一次性医用口罩,具有防护作用。适合在公共场所佩戴,能有效减少病毒传播。', 0);
INSERT INTO `goods` VALUES (23, '一次性手套', 4, '医用手套', '[]', '一次性医用手套', 1, 101, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 1.99, 3.99, '一次性医用手套,具有防护作用。适合在公共场所佩戴,能有效减少病毒传播。', 0); INSERT INTO `goods` VALUES (23, '一次性手套', 4, '医用手套', '[]', '一次性医用手套', 1, 101, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 1.99, 3.99, '一次性医用手套,具有防护作用。适合在公共场所佩戴,能有效减少病毒传播。', 0);
INSERT INTO `goods` VALUES (24, '消毒液', 4, '莫雷夫', '[]', '消毒液', 1, 102, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 15.99, 18.99, '消毒液,能杀死细菌和病毒,具有杀菌消毒作用。适合在公共场所或家庭使用。', 0); INSERT INTO `goods` VALUES (24, '消毒液', 4, '莫雷夫', '[]', '消毒液', 1, 102, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 15.99, 18.99, '消毒液,能杀死细菌和病毒,具有杀菌消毒作用。适合在公共场所或家庭使用。', 0);
INSERT INTO `goods` VALUES (25, '体温计', 4, '博朗', '[]', '电子体温', 1, 103, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 35.99, 39.99, '电子体温计,能够准确测量体温。适合在家庭或医疗机构使用。', 0); INSERT INTO `goods` VALUES (25, '体温计', 4, '博朗', '[]', '电子体温', 1, 103, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 35.99, 39.99, '电子体温计,能够准确测量体温。适合在家庭或医疗机构使用。', 0);
INSERT INTO `goods` VALUES (26, '消毒湿巾', 4, '医用湿巾', '[]', '消毒湿巾', 1, 104, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 6.99, 8.99, '消毒湿巾,能杀死细菌和病毒,具有杀菌消毒作用。适合在公共场所或家庭使用。', 0); INSERT INTO `goods` VALUES (26, '消毒湿巾', 4, '医用湿巾', '[]', '消毒湿巾', 1, 104, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 6.99, 8.99, '消毒湿巾,能杀死细菌和病毒,具有杀菌消毒作用。适合在公共场所或家庭使用。', 0);
INSERT INTO `goods` VALUES (27, '医用隔离衣', 4, '医用', '[]', '医用隔离衣', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 149.99, 199.99, '医用隔离衣,用于医护人员在处理病人时的个人防护。可以有效隔离病原体和防止血液、液体的渗透,透气性好,舒适耐穿。', 0); INSERT INTO `goods` VALUES (27, '医用隔离衣', 4, '医用', '[]', '医用隔离衣', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 149.99, 199.99, '医用隔离衣,用于医护人员在处理病人时的个人防护。可以有效隔离病原体和防止血液、液体的渗透,透气性好,舒适耐穿。', 0);
INSERT INTO `goods` VALUES (28, '紫外线消毒灯', 4, '普利司通', '[]', '紫外线消毒灯', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 249.99, 299.99, '紫外线消毒灯,可以杀死空气、表面、物品等处的细菌、病毒等微生物,达到消毒杀菌的效果。可以广泛应用于家庭、医院、学校、工厂等场所。', 0); INSERT INTO `goods` VALUES (28, '紫外线消毒灯', 4, '普利司通', '[]', '紫外线消毒灯', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 249.99, 299.99, '紫外线消毒灯,可以杀死空气、表面、物品等处的细菌、病毒等微生物,达到消毒杀菌的效果。可以广泛应用于家庭、医院、学校、工厂等场所。', 0);
INSERT INTO `goods` VALUES (29, '防护面罩', 4, '防护', '[]', '防护面罩', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 39.99, 49.99, '防护面罩,用于工业生产中的防护、医疗卫生、防疫防护等场合。可以有效防护口鼻呼吸道受到外来飞沫、粉尘、液体等物品的侵袭,防止病毒等微生物的感染。', 0); INSERT INTO `goods` VALUES (29, '防护面罩', 4, '防护', '[]', '防护面罩', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 39.99, 49.99, '防护面罩,用于工业生产中的防护、医疗卫生、防疫防护等场合。可以有效防护口鼻呼吸道受到外来飞沫、粉尘、液体等物品的侵袭,防止病毒等微生物的感染。', 0);
INSERT INTO `goods` VALUES (30, '橡胶手套', 4, '安全手套', '[]', '橡胶手套', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.99, 14.99, '橡胶手套,用于实验室、医院、化工、食品加工等场所。', 0); INSERT INTO `goods` VALUES (30, '橡胶手套', 4, '安全手套', '[]', '橡胶手套', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.99, 14.99, '橡胶手套,用于实验室、医院、化工、食品加工等场所。', 0);
INSERT INTO `goods` VALUES (31, '板蓝根颗粒', 3, '同仁堂', '[]', '板蓝根颗粒', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 15.99, 18.99, '板蓝根颗粒,清热解毒,适用于感冒发热等症状。每日三次,一次一袋,开水冲服。', 0); INSERT INTO `goods` VALUES (31, '板蓝根颗粒', 3, '同仁堂', '[]', '板蓝根颗粒', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 15.99, 18.99, '板蓝根颗粒,清热解毒,适用于感冒发热等症状。每日三次,一次一袋,开水冲服。', 0);
INSERT INTO `goods` VALUES (32, '感冒灵颗粒', 3, '999', '[]', '感冒灵颗粒', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.99, 28.99, '感冒灵颗粒,缓解感冒症状,适用于感冒、咳嗽等症状。每日三次,一次一袋,开水冲服。', 0); INSERT INTO `goods` VALUES (32, '感冒灵颗粒', 3, '999', '[]', '感冒灵颗粒', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.99, 28.99, '感冒灵颗粒,缓解感冒症状,适用于感冒、咳嗽等症状。每日三次,一次一袋,开水冲服。', 0);
INSERT INTO `goods` VALUES (33, '蒲地蓝消炎片', 3, '同仁堂', '[]', '蒲地蓝消炎片', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 28.99, 33.99, '蒲地蓝消炎片,清热解毒,适用于上呼吸道感染等症状。每次两片,每日三次,饭前半小时服用。', 0); INSERT INTO `goods` VALUES (33, '蒲地蓝消炎片', 3, '同仁堂', '[]', '蒲地蓝消炎片', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 28.99, 33.99, '蒲地蓝消炎片,清热解毒,适用于上呼吸道感染等症状。每次两片,每日三次,饭前半小时服用。', 0);
INSERT INTO `goods` VALUES (34, '氯霉素眼药水', 3, '卫康', '[]', '氯霉素眼药水', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 19.99, 22.99, '氯霉素眼药水,治疗眼部感染等症状。每日三次,每次滴入一到两滴。', 0); INSERT INTO `goods` VALUES (34, '氯霉素眼药水', 3, '卫康', '[]', '氯霉素眼药水', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 19.99, 22.99, '氯霉素眼药水,治疗眼部感染等症状。每日三次,每次滴入一到两滴。', 0);
INSERT INTO `goods` VALUES (35, '感冒止咳糖浆', 3, '舒适达', '[]', '感冒止咳糖浆', 1, 110, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 33.99, '感冒止咳糖浆,缓解咳嗽症状,适用于感冒、咳嗽等症状。', 0); INSERT INTO `goods` VALUES (35, '感冒止咳糖浆', 3, '舒适达', '[]', '感冒止咳糖浆', 1, 110, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 33.99, '感冒止咳糖浆,缓解咳嗽症状,适用于感冒、咳嗽等症状。', 0);
INSERT INTO `goods` VALUES (36, '牛排', 6, 'A牌', '[]', '精选优质牛肉', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 128.00, 98.00, '这是一道经典的西餐菜品,适合搭配蔬菜沙拉或烤蔬菜一起食用。精选优质牛肉,切成均匀的厚片,肉质鲜嫩多汁,口感十分美味。', 0); INSERT INTO `goods` VALUES (36, '牛排', 6, 'A牌', '[]', '精选优质牛肉', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 128.00, 98.00, '这是一道经典的西餐菜品,适合搭配蔬菜沙拉或烤蔬菜一起食用。精选优质牛肉,切成均匀的厚片,肉质鲜嫩多汁,口感十分美味。', 0);
INSERT INTO `goods` VALUES (37, '羊肉串', 6, 'B牌', '[]', '新鲜羊肉', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 18.80, '这是一种很受欢迎的中式小吃,适合作为下酒菜或夜宵食用。新鲜羊肉切成均匀大小的块状,串在竹签上,经过炭火烤制,香味四溢,口感香嫩。', 0); INSERT INTO `goods` VALUES (37, '羊肉串', 6, 'B牌', '[]', '新鲜羊肉', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 18.80, '这是一种很受欢迎的中式小吃,适合作为下酒菜或夜宵食用。新鲜羊肉切成均匀大小的块状,串在竹签上,经过炭火烤制,香味四溢,口感香嫩。', 0);
INSERT INTO `goods` VALUES (38, '烤鸭', 6, 'C牌', '[]', '北京烤鸭', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 188.00, 138.00, '这是一道北京传统名菜是中国餐饮文化的重要组成部分之一。选用饲养周期在60天以上的肥美鸭子采用传统技艺腌制经过炭火烤制外皮金黄酥脆肉质鲜嫩口感丰富。', 0); INSERT INTO `goods` VALUES (38, '烤鸭', 6, 'C牌', '[]', '北京烤鸭', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 188.00, 138.00, '这是一道北京传统名菜是中国餐饮文化的重要组成部分之一。选用饲养周期在60天以上的肥美鸭子采用传统技艺腌制经过炭火烤制外皮金黄酥脆肉质鲜嫩口感丰富。', 0);
INSERT INTO `goods` VALUES (39, '牛腩煲', 6, 'D牌', '[]', '牛肉小炒肉', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 58.00, 42.80, '这是一道香港地道的特色菜,非常适合在冬天享用。精选上等牛肉,切成小块,搭配多种香料和蔬菜,慢火炖制数小时,汤汁鲜美浓郁,肉质软烂易嚼。', 0); INSERT INTO `goods` VALUES (39, '牛腩煲', 6, 'D牌', '[]', '牛肉小炒肉', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 58.00, 42.80, '这是一道香港地道的特色菜,非常适合在冬天享用。精选上等牛肉,切成小块,搭配多种香料和蔬菜,慢火炖制数小时,汤汁鲜美浓郁,肉质软烂易嚼。', 0);
INSERT INTO `goods` VALUES (40, '鸡肉卷', 6, 'E牌', '[]', '鸡胸肉盖饭', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 28.00, 19.90, '这是一道适合当做早餐或午餐的美食。选用鸡胸肉,切成薄片,搭配火腿、鲜菇、洋葱等多种食材,卷起来后煎烤,口感香嫩可口。', 0); INSERT INTO `goods` VALUES (40, '鸡肉卷', 6, 'E牌', '[]', '鸡胸肉盖饭', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 28.00, 19.90, '这是一道适合当做早餐或午餐的美食。选用鸡胸肉,切成薄片,搭配火腿、鲜菇、洋葱等多种食材,卷起来后煎烤,口感香嫩可口。', 0);
INSERT INTO `goods` VALUES (41, '黑椒牛柳', 6, '国贸牛肉', '[]', '国贸牛肉', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 138.00, 118.00, '这是一款以黑椒作为调味料的烤牛肉,口感香辣,肉质鲜嫩。适合烤肉或者烤箱烤制。', 0); INSERT INTO `goods` VALUES (41, '黑椒牛柳', 6, '国贸牛肉', '[]', '国贸牛肉', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 138.00, 118.00, '这是一款以黑椒作为调味料的烤牛肉,口感香辣,肉质鲜嫩。适合烤肉或者烤箱烤制。', 0);
INSERT INTO `goods` VALUES (42, '红烧肉', 6, '泰山食品', '[]', '红烧肉', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 68.00, 58.00, '红烧肉是一道传统的中国菜品,选用优质的五花肉,慢火慢炖,酱汁入味,外焦里嫩,色香味俱佳。适合与米饭一起食用。', 0); INSERT INTO `goods` VALUES (42, '红烧肉', 6, '泰山食品', '[]', '红烧肉', 1, 90, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 68.00, 58.00, '红烧肉是一道传统的中国菜品,选用优质的五花肉,慢火慢炖,酱汁入味,外焦里嫩,色香味俱佳。适合与米饭一起食用。', 0);
INSERT INTO `goods` VALUES (43, '蜜汁叉烧', 6, '三只松鼠', '[]', '蜜汁叉烧', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 38.00, 28.00, '蜜汁叉烧是一种广东传统的烤肉食品,精选猪肉,经过特殊的腌制和烤制工艺,表面呈现出一层诱人的红色。入口即化,外酥里嫩,咸香适口。适合作为下酒菜或者加入面条、炒饭等中餐中。', 0); INSERT INTO `goods` VALUES (43, '蜜汁叉烧', 6, '三只松鼠', '[]', '蜜汁叉烧', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 38.00, 28.00, '蜜汁叉烧是一种广东传统的烤肉食品,精选猪肉,经过特殊的腌制和烤制工艺,表面呈现出一层诱人的红色。入口即化,外酥里嫩,咸香适口。适合作为下酒菜或者加入面条、炒饭等中餐中。', 0);
INSERT INTO `goods` VALUES (44, '香辣鸡翅', 6, '波司登鸡肉', '[]', '波司登鸡肉', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 18.00, '选用肉质鲜嫩的鸡翅中段,搭配特制的香辣调料,烤制出来的鸡翅鲜香辣口,肉质紧实,外皮酥脆。', 0); INSERT INTO `goods` VALUES (44, '香辣鸡翅', 6, '波司登鸡肉', '[]', '波司登鸡肉', 1, 70, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 18.00, '选用肉质鲜嫩的鸡翅中段,搭配特制的香辣调料,烤制出来的鸡翅鲜香辣口,肉质紧实,外皮酥脆。', 0);
INSERT INTO `goods` VALUES (45, '嫩牛肉片', 6, '三元牛肉', '[]', '嫩牛肉片,口感鲜嫩,富含蛋白质', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 68.00, 59.00, '这是一款优质嫩牛肉片,富含优质蛋白质,口感极佳,适合煲汤、炒菜、火锅等多种烹饪方式', 0); INSERT INTO `goods` VALUES (45, '嫩牛肉片', 6, '三元牛肉', '[]', '嫩牛肉片,口感鲜嫩,富含蛋白质', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 68.00, 59.00, '这是一款优质嫩牛肉片,富含优质蛋白质,口感极佳,适合煲汤、炒菜、火锅等多种烹饪方式', 0);
INSERT INTO `goods` VALUES (46, '鲜猪肉片', 6, '三元猪肉', '[]', '鲜猪肉片,鲜香味美,肉质细嫩', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 32.80, 29.90, '这是一款优质鲜猪肉片,经过严格挑选,新鲜出品,鲜香味美,肉质细嫩,是您炒菜、煲汤、烧烤的绝佳选择', 0); INSERT INTO `goods` VALUES (46, '鲜猪肉片', 6, '三元猪肉', '[]', '鲜猪肉片,鲜香味美,肉质细嫩', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 32.80, 29.90, '这是一款优质鲜猪肉片,经过严格挑选,新鲜出品,鲜香味美,肉质细嫩,是您炒菜、煲汤、烧烤的绝佳选择', 0);
INSERT INTO `goods` VALUES (47, '蒜泥白肉', 6, '三元猪肉', '[]', '鲜嫩白肉,配上酱料和蒜泥,口感鲜香', 1, 98, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 39.80, 34.90, '这是一款经典美食蒜泥白肉,选用新鲜优质猪肉,搭配上鲜美蒜泥和特制酱料,口感鲜香可口,回味无穷', 0); INSERT INTO `goods` VALUES (47, '蒜泥白肉', 6, '三元猪肉', '[]', '鲜嫩白肉,配上酱料和蒜泥,口感鲜香', 1, 98, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 39.80, 34.90, '这是一款经典美食蒜泥白肉,选用新鲜优质猪肉,搭配上鲜美蒜泥和特制酱料,口感鲜香可口,回味无穷', 0);
INSERT INTO `goods` VALUES (48, '鸡腿肉', 6, '三元鸡肉', '[]', '鲜嫩多汁,肉质细嫩', 1, 97, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 16.80, 13.90, '这是一款新鲜的鸡腿肉,富含蛋白质,肉质细嫩,口感鲜美,适合烤着吃、烧着吃、炖着吃等多种烹饪方式', 0); INSERT INTO `goods` VALUES (48, '鸡腿肉', 6, '三元鸡肉', '[]', '鲜嫩多汁,肉质细嫩', 1, 97, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 16.80, 13.90, '这是一款新鲜的鸡腿肉,富含蛋白质,肉质细嫩,口感鲜美,适合烤着吃、烧着吃、炖着吃等多种烹饪方式', 0);
INSERT INTO `goods` VALUES (49, '碳酸饮料', 7, '可口可乐公司', '[]', '可口可乐', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.50, '可口可乐是世界知名的碳酸饮料品牌,有着浓郁的可乐味,口感清爽,是人们喜欢的饮品之一。', 0); INSERT INTO `goods` VALUES (49, '碳酸饮料', 7, '可口可乐公司', '[]', '可口可乐', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.50, '可口可乐是世界知名的碳酸饮料品牌,有着浓郁的可乐味,口感清爽,是人们喜欢的饮品之一。', 0);
INSERT INTO `goods` VALUES (50, '碳酸饮料', 7, '百事公司', '[]', '百事可乐', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.50, '百事可乐是世界知名的碳酸饮料品牌,与可口可乐齐名,有着浓郁的可乐味,口感清爽,是人们喜欢的饮品之一。', 0); INSERT INTO `goods` VALUES (50, '碳酸饮料', 7, '百事公司', '[]', '百事可乐', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.50, '百事可乐是世界知名的碳酸饮料品牌,与可口可乐齐名,有着浓郁的可乐味,口感清爽,是人们喜欢的饮品之一。', 0);
INSERT INTO `goods` VALUES (51, '无糖碳酸饮料', 7, '可口可乐公司', '[]', '雪碧', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.50, 3.00, '雪碧是一种无糖碳酸饮料,口感清新,有着独特的柠檬味,深受人们的喜爱。', 0); INSERT INTO `goods` VALUES (51, '无糖碳酸饮料', 7, '可口可乐公司', '[]', '雪碧', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.50, 3.00, '雪碧是一种无糖碳酸饮料,口感清新,有着独特的柠檬味,深受人们的喜爱。', 0);
INSERT INTO `goods` VALUES (52, '功能性饮料', 7, '红牛公司', '[]', '红牛', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 4.50, '红牛是一种功能性饮料,能够提供短期的能量补给,帮助人们在工作和学习中保持专注。', 0); INSERT INTO `goods` VALUES (52, '功能性饮料', 7, '红牛公司', '[]', '红牛', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 4.50, '红牛是一种功能性饮料,能够提供短期的能量补给,帮助人们在工作和学习中保持专注。', 0);
INSERT INTO `goods` VALUES (53, '咖啡饮品', 7, '星巴克公司', '[]', '咖啡', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 20.00, '咖啡是一种饮用热饮,由磨碎的咖啡豆冲泡而成,具有提神醒脑、去除疲劳的作用,是人们在生活和工作中常饮用的饮品之一。', 0); INSERT INTO `goods` VALUES (53, '咖啡饮品', 7, '星巴克公司', '[]', '咖啡', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 20.00, '咖啡是一种饮用热饮,由磨碎的咖啡豆冲泡而成,具有提神醒脑、去除疲劳的作用,是人们在生活和工作中常饮用的饮品之一。', 0);
INSERT INTO `goods` VALUES (54, '可口可乐', 7, '可口可乐公司', '[]', '可口可乐Coca-Cola', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 3.50, '可口可乐Coca-Cola是美国可口可乐公司生产的一种碳酸软饮料源自1886年由美国药剂师John Stith Pemberton发明的法国可卡因酒后于1888年更名为可口可乐。可口可乐是全球最具价值的品牌之一也是全球最畅销的碳酸软饮料之一。', 0); INSERT INTO `goods` VALUES (54, '可口可乐', 7, '可口可乐公司', '[]', '可口可乐Coca-Cola', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 3.50, '可口可乐Coca-Cola是美国可口可乐公司生产的一种碳酸软饮料源自1886年由美国药剂师John Stith Pemberton发明的法国可卡因酒后于1888年更名为可口可乐。可口可乐是全球最具价值的品牌之一也是全球最畅销的碳酸软饮料之一。', 0);
INSERT INTO `goods` VALUES (55, '百事可乐', 7, '百事公司', '[]', '百事可乐Pepsi-Cola', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 3.50, '百事可乐Pepsi-Cola是由美国百事公司生产的一种碳酸软饮料。百事可乐的味道类似于可口可乐但口感略微不同因此两种饮料在市场上形成了一种明显的竞争关系。', 0); INSERT INTO `goods` VALUES (55, '百事可乐', 7, '百事公司', '[]', '百事可乐Pepsi-Cola', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 3.50, '百事可乐Pepsi-Cola是由美国百事公司生产的一种碳酸软饮料。百事可乐的味道类似于可口可乐但口感略微不同因此两种饮料在市场上形成了一种明显的竞争关系。', 0);
INSERT INTO `goods` VALUES (56, '康师傅冰红茶', 7, '康师傅集团', '[]', '康师傅冰红茶', 1, 98, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 4.00, 2.50, '康师傅冰红茶是一种深受广大消费者喜爱的茶饮料,口感香甜,清新解渴。康师傅是中国著名的食品生产企业,其产品包括方便面、速冻食品、饮料等。', 0); INSERT INTO `goods` VALUES (56, '康师傅冰红茶', 7, '康师傅集团', '[]', '康师傅冰红茶', 1, 98, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 4.00, 2.50, '康师傅冰红茶是一种深受广大消费者喜爱的茶饮料,口感香甜,清新解渴。康师傅是中国著名的食品生产企业,其产品包括方便面、速冻食品、饮料等。', 0);
INSERT INTO `goods` VALUES (57, '怡宝矿泉水', 7, '怡宝集团', '[]', '怡宝矿泉水', 1, 97, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.00, '怡宝矿泉水是一种天然的矿泉水,口感清新,无任何添加剂,非常适合日常饮用。怡宝集团是中国知名的饮料生产企业,其产品包括矿泉水、纯净水、茶饮料等。', 0); INSERT INTO `goods` VALUES (57, '怡宝矿泉水', 7, '怡宝集团', '[]', '怡宝矿泉水', 1, 97, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.00, '怡宝矿泉水是一种天然的矿泉水,口感清新,无任何添加剂,非常适合日常饮用。怡宝集团是中国知名的饮料生产企业,其产品包括矿泉水、纯净水、茶饮料等。', 0);
INSERT INTO `goods` VALUES (58, '沐浴露', 2, '施巴', '[]', '施巴舒缓滋润沐浴露', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 49.90, 39.90, '施巴舒缓滋润沐浴露,富含甘油和天然植物精华,能够滋润肌肤', 0); INSERT INTO `goods` VALUES (58, '沐浴露', 2, '施巴', '[]', '施巴舒缓滋润沐浴露', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 49.90, 39.90, '施巴舒缓滋润沐浴露,富含甘油和天然植物精华,能够滋润肌肤', 0);
INSERT INTO `goods` VALUES (59, '洗衣液', 2, '威露士', '[]', '威露士洗衣液', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 29.90, '威露士洗衣液,洁净彻底,去除顽渍,衣物柔软舒适。适用于各种布料。', 0); INSERT INTO `goods` VALUES (59, '洗衣液', 2, '威露士', '[]', '威露士洗衣液', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 25.00, 29.90, '威露士洗衣液,洁净彻底,去除顽渍,衣物柔软舒适。适用于各种布料。', 0);
INSERT INTO `goods` VALUES (60, '洗碗布', 2, '无品牌', '[]', '柔软吸水,耐用不掉毛', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 5.00, '适用于洗涤餐具、清洁厨房等', 0); INSERT INTO `goods` VALUES (60, '洗碗布', 2, '无品牌', '[]', '柔软吸水,耐用不掉毛', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 5.00, '适用于洗涤餐具、清洁厨房等', 0);
INSERT INTO `goods` VALUES (61, '一次性餐具套装', 2, '无品牌', '[]', '一次性餐具套装,方便卫生', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.00, 12.00, '包含一次性碗、盘、刀、叉、勺等,使用后方便清理,卫生方便', 0); INSERT INTO `goods` VALUES (61, '一次性餐具套装', 2, '无品牌', '[]', '一次性餐具套装,方便卫生', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.00, 12.00, '包含一次性碗、盘、刀、叉、勺等,使用后方便清理,卫生方便', 0);
INSERT INTO `goods` VALUES (62, '剃须刀', 2, '飞利浦', '[]', '飞利浦电动剃须刀,充电式', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 199.00, 299.00, '适用于男性剃须,充电式方便携带,刀片锋利,剃须干净', 0); INSERT INTO `goods` VALUES (62, '剃须刀', 2, '飞利浦', '[]', '飞利浦电动剃须刀,充电式', 1, 80, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 199.00, 299.00, '适用于男性剃须,充电式方便携带,刀片锋利,剃须干净', 0);
INSERT INTO `goods` VALUES (63, '马桶刷', 2, '无品牌', '[]', '马桶清洁必备,柄部防滑设计', 1, 150, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 9.90, '适用于马桶清洁,柄部采用防滑设计,方便操作', 0); INSERT INTO `goods` VALUES (63, '马桶刷', 2, '无品牌', '[]', '马桶清洁必备,柄部防滑设计', 1, 150, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 9.90, '适用于马桶清洁,柄部采用防滑设计,方便操作', 0);
INSERT INTO `goods` VALUES (64, '抽纸', 2, '维达', '[]', '维达软抽3层130抽面纸', 1, 50, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 14.50, 18.00, '适用于日常生活,柔软舒适,吸水性好,可重复使用', 0); INSERT INTO `goods` VALUES (64, '抽纸', 2, '维达', '[]', '维达软抽3层130抽面纸', 1, 50, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 14.50, 18.00, '适用于日常生活,柔软舒适,吸水性好,可重复使用', 0);
INSERT INTO `goods` VALUES (65, '剪刀', 2, '晨光', '[]', '晨光不锈钢剪刀', 1, 120, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.90, 12.00, '适用于日常生活、办公等,剪刀锋利,手感舒适', 0); INSERT INTO `goods` VALUES (65, '剪刀', 2, '晨光', '[]', '晨光不锈钢剪刀', 1, 120, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.90, 12.00, '适用于日常生活、办公等,剪刀锋利,手感舒适', 0);
INSERT INTO `goods` VALUES (66, '防晒霜', 2, '兰蔻', '[]', '兰蔻防晒霜SPF50+', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 299.00, 399.00, '适用于户外活动、日常生活等,有效防止紫外线伤害,清爽不油腻,易于吸收', 0); INSERT INTO `goods` VALUES (66, '防晒霜', 2, '兰蔻', '[]', '兰蔻防晒霜SPF50+', 1, 60, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 299.00, 399.00, '适用于户外活动、日常生活等,有效防止紫外线伤害,清爽不油腻,易于吸收', 0);
INSERT INTO `goods` VALUES (67, '纸巾盒', 2, '普乐士', '[]', '普乐士魔法盒抽纸盒', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.50, 15.00, '', 0); INSERT INTO `goods` VALUES (67, '纸巾盒', 2, '普乐士', '[]', '普乐士魔法盒抽纸盒', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.50, 15.00, '', 0);
INSERT INTO `goods` VALUES (68, '洗洁精', 2, '威露士', '[]', '威露士洗洁精', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.99, 12.99, '威露士洗洁精,有效去除油渍和污垢,轻松清洁厨房餐具。', 0); INSERT INTO `goods` VALUES (68, '洗洁精', 2, '威露士', '[]', '威露士洗洁精', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.99, 12.99, '威露士洗洁精,有效去除油渍和污垢,轻松清洁厨房餐具。', 0);
INSERT INTO `goods` VALUES (69, '洗手液', 2, '蜜芽', '[]', '蜜芽儿童无刺激洗手液', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 19.99, 22.99, '蜜芽儿童无刺激洗手液,温和配方,不刺激肌肤,适合儿童使用。', 0); INSERT INTO `goods` VALUES (69, '洗手液', 2, '蜜芽', '[]', '蜜芽儿童无刺激洗手液', 1, 99, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 19.99, 22.99, '蜜芽儿童无刺激洗手液,温和配方,不刺激肌肤,适合儿童使用。', 0);
INSERT INTO `goods` VALUES (70, '电动牙刷', 2, '飞利浦', '[]', '飞利浦声波震动电动牙刷', 1, 98, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 299.00, 399.00, '飞利浦声波震动电动牙刷,高效清洁牙齿,深入去除牙渍,呵护牙齿健康。', 0); INSERT INTO `goods` VALUES (70, '电动牙刷', 2, '飞利浦', '[]', '飞利浦声波震动电动牙刷', 1, 98, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 299.00, 399.00, '飞利浦声波震动电动牙刷,高效清洁牙齿,深入去除牙渍,呵护牙齿健康。', 0);
INSERT INTO `goods` VALUES (71, '梳子', 2, '宝洁', '[]', '宝洁双面按摩梳', 1, 97, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.99, 15.99, '宝洁双面按摩梳,双面设计,可以按摩头皮,缓解疲劳,也可以梳理发丝,让发型更加完美。', 0); INSERT INTO `goods` VALUES (71, '梳子', 2, '宝洁', '[]', '宝洁双面按摩梳', 1, 97, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 12.99, 15.99, '宝洁双面按摩梳,双面设计,可以按摩头皮,缓解疲劳,也可以梳理发丝,让发型更加完美。', 0);
INSERT INTO `goods` VALUES (72, '洗衣液', 2, '妙洁', '[]', '妙洁深层洁净洗衣液', 1, 96, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 39.99, '妙洁深层洁净洗衣液,有效去除衣物污渍,保护衣物纤维,让衣服更柔软。', 0); INSERT INTO `goods` VALUES (72, '洗衣液', 2, '妙洁', '[]', '妙洁深层洁净洗衣液', 1, 96, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 29.99, 39.99, '妙洁深层洁净洗衣液,有效去除衣物污渍,保护衣物纤维,让衣服更柔软。', 0);
INSERT INTO `goods` VALUES (73, '纸巾', 2, '维达', '[]', '维达抽纸', 1, 95, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 19.99, 22.99, '维达抽纸,柔软舒适,吸水性好,不易破碎。', 0); INSERT INTO `goods` VALUES (73, '纸巾', 2, '维达', '[]', '维达抽纸', 1, 95, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 19.99, 22.99, '维达抽纸,柔软舒适,吸水性好,不易破碎。', 0);
INSERT INTO `goods` VALUES (74, '剪刀', 2, '福尺', '[]', '福尺多功能剪刀', 1, 94, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.99, 12.99, '福尺多功能剪刀', 0); INSERT INTO `goods` VALUES (74, '剪刀', 2, '福尺', '[]', '福尺多功能剪刀', 1, 94, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 9.99, 12.99, '福尺多功能剪刀', 0);
INSERT INTO `goods` VALUES (75, '薯片', 5, '乐事', '[]', '薯片', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.00, 10.00, '美味薯片,酥脆可口,适合下午茶。', 0); INSERT INTO `goods` VALUES (75, '薯片', 5, '乐事', '[]', '薯片', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 8.00, 10.00, '美味薯片,酥脆可口,适合下午茶。', 0);
INSERT INTO `goods` VALUES (76, '巧克力', 5, '德芙', '[]', '德芙巧克力', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 20.00, 25.00, '德芙巧克力,甜美可口,适合送礼。', 0); INSERT INTO `goods` VALUES (76, '巧克力', 5, '德芙', '[]', '德芙巧克力', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 20.00, 25.00, '德芙巧克力,甜美可口,适合送礼。', 0);
INSERT INTO `goods` VALUES (77, '蜜饯', 5, '三只松鼠', '[]', '三只松鼠夏威夷果', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 18.00, 20.00, '三只松鼠夏威夷果,口感香甜,健康零食。', 0); INSERT INTO `goods` VALUES (77, '蜜饯', 5, '三只松鼠', '[]', '三只松鼠夏威夷果', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 18.00, 20.00, '三只松鼠夏威夷果,口感香甜,健康零食。', 0);
INSERT INTO `goods` VALUES (78, '牛肉干', 5, '卫龙', '[]', '麻辣牛肉干', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 15.00, 20.00, '卫龙麻辣牛肉干,辣味十足,爽口不腻。', 0); INSERT INTO `goods` VALUES (78, '牛肉干', 5, '卫龙', '[]', '麻辣牛肉干', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 15.00, 20.00, '卫龙麻辣牛肉干,辣味十足,爽口不腻。', 0);
INSERT INTO `goods` VALUES (79, '薄荷糖', 5, '金丝猴', '[]', '金丝猴薄荷糖', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 12.00, '金丝猴薄荷糖,口感清新,适合口气不佳的人。', 0); INSERT INTO `goods` VALUES (79, '薄荷糖', 5, '金丝猴', '[]', '金丝猴薄荷糖', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 12.00, '金丝猴薄荷糖,口感清新,适合口气不佳的人。', 0);
INSERT INTO `goods` VALUES (80, '奥利奥饼干', 5, 'Oreo', '[]', '经典口味奥利奥饼干', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 18.00, 16.99, '经典口味奥利奥饼干,酥脆可口,一口一个,让你停不下来。', 0); INSERT INTO `goods` VALUES (80, '奥利奥饼干', 5, 'Oreo', '[]', '经典口味奥利奥饼干', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 18.00, 16.99, '经典口味奥利奥饼干,酥脆可口,一口一个,让你停不下来。', 0);
INSERT INTO `goods` VALUES (81, '可口可乐', 7, 'Coca-Cola', '[]', '经典可口可乐', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.50, '可口可乐,清爽解渴,适合任何场合。', 0); INSERT INTO `goods` VALUES (81, '可口可乐', 7, 'Coca-Cola', '[]', '经典可口可乐', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 3.00, 2.50, '可口可乐,清爽解渴,适合任何场合。', 0);
INSERT INTO `goods` VALUES (82, '大白兔奶糖', 5, '大白兔', '[]', '经典奶香味道', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 4.50, '大白兔奶糖,经典奶香味道,口感绵软。', 0); INSERT INTO `goods` VALUES (82, '大白兔奶糖', 5, '大白兔', '[]', '经典奶香味道', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 4.50, '大白兔奶糖,经典奶香味道,口感绵软。', 0);
INSERT INTO `goods` VALUES (83, '卫龙辣条', 5, '卫龙', '[]', '经典辣味', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 6.00, 5.50, '卫龙辣条,经典辣味,辣爽可口,不同于其他辣条。', 0); INSERT INTO `goods` VALUES (83, '卫龙辣条', 5, '卫龙', '[]', '经典辣味', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 6.00, 5.50, '卫龙辣条,经典辣味,辣爽可口,不同于其他辣条。', 0);
INSERT INTO `goods` VALUES (84, '雀巢咖啡', 5, 'Nestle', '[]', '拿铁口味', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 20.00, 18.99, '雀巢咖啡,拿铁口味,浓郁香醇,唤醒你的味蕾。', 0); INSERT INTO `goods` VALUES (84, '雀巢咖啡', 5, 'Nestle', '[]', '拿铁口味', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 20.00, 18.99, '雀巢咖啡,拿铁口味,浓郁香醇,唤醒你的味蕾。', 0);
INSERT INTO `goods` VALUES (85, '伊利纯牛奶', 7, '伊利', '[]', '高端纯牛奶', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 4.80, '伊利纯牛奶,高端纯牛奶,口感绵密,适合慢慢品尝。', 0); INSERT INTO `goods` VALUES (85, '伊利纯牛奶', 7, '伊利', '[]', '高端纯牛奶', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 5.00, 4.80, '伊利纯牛奶,高端纯牛奶,口感绵密,适合慢慢品尝。', 0);
INSERT INTO `goods` VALUES (86, '太平梳打饼干', 5, '太平', '[]', '酥脆可口', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 8.50, '太平梳打饼干,酥脆可口,咬一口,满口的香脆声。', 0); INSERT INTO `goods` VALUES (86, '太平梳打饼干', 5, '太平', '[]', '酥脆可口', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 10.00, 8.50, '太平梳打饼干,酥脆可口,咬一口,满口的香脆声。', 0);
INSERT INTO `goods` VALUES (87, '德芙巧克力', 5, 'Dove', '[]', '丝滑绵密', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 30.00, 28.50, '德芙巧克力,丝滑绵密,一口一个,舌尖上的享受。', 0); INSERT INTO `goods` VALUES (87, '德芙巧克力', 5, 'Dove', '[]', '丝滑绵密', 1, 100, 'https://cdn-we-retail.ym.tencent.com/tsr/goods/muy-3a.png?imageMogr2/thumbnail/320x320/quality/70/strip/format/jpg', 0, '', 30.00, 28.50, '德芙巧克力,丝滑绵密,一口一个,舌尖上的享受。', 0);
-- ---------------------------- -- ----------------------------
-- Table structure for goods_category -- Table structure for goods_category
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `goods_category`; DROP TABLE IF EXISTS `goods_category`;
CREATE TABLE `goods_category` ( CREATE TABLE `goods_category` (
`id` bigint(11) NOT NULL AUTO_INCREMENT, `id` bigint(11) NOT NULL AUTO_INCREMENT,
`category_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品分类名', `category_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '商品分类名',
`order` int(11) NULL DEFAULT NULL COMMENT '排序', `order` int(11) NULL DEFAULT NULL COMMENT '排序',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of goods_category -- Records of goods_category
-- ---------------------------- -- ----------------------------
INSERT INTO `goods_category` VALUES (1, '水果蔬菜', 1); INSERT INTO `goods_category` VALUES (1, '水果蔬菜', 1);
INSERT INTO `goods_category` VALUES (2, '日用品', 8); INSERT INTO `goods_category` VALUES (2, '日用品', 8);
INSERT INTO `goods_category` VALUES (3, '药品', 10); INSERT INTO `goods_category` VALUES (3, '药品', 10);
INSERT INTO `goods_category` VALUES (4, '防疫物资', 0); INSERT INTO `goods_category` VALUES (4, '防疫物资', 0);
INSERT INTO `goods_category` VALUES (5, '零食', 3); INSERT INTO `goods_category` VALUES (5, '零食', 3);
INSERT INTO `goods_category` VALUES (6, '肉类', 2); INSERT INTO `goods_category` VALUES (6, '肉类', 2);
INSERT INTO `goods_category` VALUES (7, '饮料酒水', 4); INSERT INTO `goods_category` VALUES (7, '饮料酒水', 4);
-- ---------------------------- -- ----------------------------
-- Table structure for notice1 -- Table structure for notice1
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `notice1`; DROP TABLE IF EXISTS `notice1`;
CREATE TABLE `notice1` ( CREATE TABLE `notice1` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题', `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容', `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
`time` date NULL DEFAULT NULL COMMENT '时间', `time` date NULL DEFAULT NULL COMMENT '时间',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of notice1 -- Records of notice1
-- ---------------------------- -- ----------------------------
INSERT INTO `notice1` VALUES (1, '请各位学生戴好口罩', NULL, '2022-03-15'); INSERT INTO `notice1` VALUES (1, '请各位学生戴好口罩', NULL, '2022-03-15');
INSERT INTO `notice1` VALUES (2, '请各位学生不要随意出入校门', NULL, '2022-03-15'); INSERT INTO `notice1` VALUES (2, '请各位学生不要随意出入校门', NULL, '2022-03-15');
INSERT INTO `notice1` VALUES (7, '11', '22', '2022-03-22'); INSERT INTO `notice1` VALUES (7, '11', '22', '2022-03-22');
INSERT INTO `notice1` VALUES (8, '22', '22', '2022-04-14'); INSERT INTO `notice1` VALUES (8, '22', '22', '2022-04-14');
INSERT INTO `notice1` VALUES (9, '33', '33', '2022-04-14'); INSERT INTO `notice1` VALUES (9, '33', '33', '2022-04-14');
-- ---------------------------- -- ----------------------------
-- Table structure for order -- Table structure for order
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `order`; DROP TABLE IF EXISTS `order`;
CREATE TABLE `order` ( CREATE TABLE `order` (
`id` bigint(20) NOT NULL COMMENT '订单ID', `id` bigint(20) NOT NULL COMMENT '订单ID',
`user_id` int(11) NOT NULL COMMENT '用户ID', `user_id` int(11) NOT NULL COMMENT '用户ID',
`order_date` datetime NOT NULL COMMENT '订单日期', `order_date` datetime NOT NULL COMMENT '订单日期',
`order_status` enum('Pending','Processing','Shipped','Delivered','Cancelled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单状态', `order_status` enum('Pending','Processing','Shipped','Delivered','Cancelled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单状态',
`order_price` decimal(10, 2) NOT NULL COMMENT '订单总金额', `order_price` decimal(10, 2) NOT NULL COMMENT '订单总金额',
`pay_date` datetime NULL DEFAULT NULL COMMENT '订单支付时间', `pay_date` datetime NULL DEFAULT NULL COMMENT '订单支付时间',
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `id`(`id`) USING BTREE, UNIQUE INDEX `id`(`id`) USING BTREE,
INDEX `user_id`(`user_id`) USING BTREE INDEX `user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of order -- Records of order
-- ---------------------------- -- ----------------------------
INSERT INTO `order` VALUES (1748800678865801225, 3, '2023-03-21 15:50:19', 'Pending', 21.99, NULL); INSERT INTO `order` VALUES (1748800678865801225, 3, '2023-03-21 15:50:19', 'Pending', 21.99, NULL);
INSERT INTO `order` VALUES (1749495597129404427, 3, '2023-03-21 16:30:54', 'Pending', 5.99, NULL); INSERT INTO `order` VALUES (1749495597129404427, 3, '2023-03-21 16:30:54', 'Pending', 5.99, NULL);
INSERT INTO `order` VALUES (1749495896040673288, 3, '2023-03-21 16:32:06', 'Pending', 5.99, NULL); INSERT INTO `order` VALUES (1749495896040673288, 3, '2023-03-21 16:32:06', 'Pending', 5.99, NULL);
INSERT INTO `order` VALUES (1749496012575215624, 3, '2023-03-21 16:32:33', 'Pending', 17.97, NULL); INSERT INTO `order` VALUES (1749496012575215624, 3, '2023-03-21 16:32:33', 'Pending', 17.97, NULL);
INSERT INTO `order` VALUES (1750312359831932932, 3, '2023-03-23 22:36:26', 'Cancelled', 87.50, NULL); INSERT INTO `order` VALUES (1750312359831932932, 3, '2023-03-23 22:36:26', 'Cancelled', 87.50, NULL);
INSERT INTO `order` VALUES (1750312445567700999, 3, '2023-03-23 22:36:46', 'Processing', 87.50, NULL); INSERT INTO `order` VALUES (1750312445567700999, 3, '2023-03-23 22:36:46', 'Processing', 87.50, NULL);
INSERT INTO `order` VALUES (1750313361633054722, 3, '2023-03-23 22:40:25', 'Processing', 2.50, NULL); INSERT INTO `order` VALUES (1750313361633054722, 3, '2023-03-23 22:40:25', 'Processing', 2.50, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for order_detail -- Table structure for order_detail
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `order_detail`; DROP TABLE IF EXISTS `order_detail`;
CREATE TABLE `order_detail` ( CREATE TABLE `order_detail` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '订单详情ID', `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '订单详情ID',
`order_id` bigint(20) NOT NULL COMMENT '订单ID', `order_id` bigint(20) NOT NULL COMMENT '订单ID',
`good_id` bigint(20) UNSIGNED NOT NULL COMMENT '商品ID', `good_id` bigint(20) UNSIGNED NOT NULL COMMENT '商品ID',
`good_count` int(11) NOT NULL COMMENT '商品数量', `good_count` int(11) NOT NULL COMMENT '商品数量',
`unit_price` decimal(10, 2) NOT NULL COMMENT '下单时商品单价', `unit_price` decimal(10, 2) NOT NULL COMMENT '下单时商品单价',
PRIMARY KEY (`id`) USING BTREE, PRIMARY KEY (`id`) USING BTREE,
INDEX `order_id`(`order_id`) USING BTREE, INDEX `order_id`(`order_id`) USING BTREE,
INDEX `good_id`(`good_id`) USING BTREE, INDEX `good_id`(`good_id`) USING BTREE,
CONSTRAINT `order_detail_ibfk_1` FOREIGN KEY (`good_id`) REFERENCES `goods` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT, CONSTRAINT `order_detail_ibfk_1` FOREIGN KEY (`good_id`) REFERENCES `goods` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT `order_detail_ibfk_2` FOREIGN KEY (`order_id`) REFERENCES `order` (`id`) ON DELETE CASCADE ON UPDATE CASCADE CONSTRAINT `order_detail_ibfk_2` FOREIGN KEY (`order_id`) REFERENCES `order` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 46 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 49 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of order_detail -- Records of order_detail
-- ---------------------------- -- ----------------------------
INSERT INTO `order_detail` VALUES (33, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (33, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (34, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (34, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (35, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (35, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (36, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (36, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (37, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (37, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (38, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (38, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (39, 1748800678865801225, 19, 1, 21.99); INSERT INTO `order_detail` VALUES (39, 1748800678865801225, 19, 1, 21.99);
INSERT INTO `order_detail` VALUES (40, 1749495597129404427, 16, 1, 5.99); INSERT INTO `order_detail` VALUES (40, 1749495597129404427, 16, 1, 5.99);
INSERT INTO `order_detail` VALUES (41, 1749495896040673288, 16, 1, 5.99); INSERT INTO `order_detail` VALUES (41, 1749495896040673288, 16, 1, 5.99);
INSERT INTO `order_detail` VALUES (42, 1749496012575215624, 16, 3, 5.99); INSERT INTO `order_detail` VALUES (42, 1749496012575215624, 16, 3, 5.99);
INSERT INTO `order_detail` VALUES (43, 1750312359831932932, 55, 25, 3.50); INSERT INTO `order_detail` VALUES (43, 1750312359831932932, 55, 25, 3.50);
INSERT INTO `order_detail` VALUES (44, 1750312445567700999, 55, 25, 3.50); INSERT INTO `order_detail` VALUES (44, 1750312445567700999, 55, 25, 3.50);
INSERT INTO `order_detail` VALUES (45, 1750313361633054722, 56, 1, 2.50); INSERT INTO `order_detail` VALUES (45, 1750313361633054722, 56, 1, 2.50);
-- ---------------------------- -- ----------------------------
-- Table structure for report -- Table structure for report
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `report`; DROP TABLE IF EXISTS `report`;
CREATE TABLE `report` ( CREATE TABLE `report` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NULL DEFAULT NULL COMMENT '用户id', `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
`name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名', `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
`time` datetime NULL DEFAULT NULL COMMENT '填报时间', `time` datetime NULL DEFAULT NULL COMMENT '填报时间',
`temperature` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '体温是否正常', `temperature` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '体温是否正常',
`address` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址', `address` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
PRIMARY KEY (`id`) USING BTREE PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 71 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; ) ENGINE = InnoDB AUTO_INCREMENT = 72 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ---------------------------- -- ----------------------------
-- Records of report -- Records of report
-- ---------------------------- -- ----------------------------
INSERT INTO `report` VALUES (53, 3, '用户 密码user', '2022-12-26 20:35:38', '1', '湖北省武汉市洪山区文治街南湖雅园(洪山区信访局对面)'); INSERT INTO `report` VALUES (53, 3, '用户 密码user', '2022-12-26 20:35:38', '1', '湖北省武汉市洪山区文治街南湖雅园(洪山区信访局对面)');
INSERT INTO `report` VALUES (55, 3, '用户 密码user', '2022-12-27 21:03:24', '0', '湖北省武汉市洪山区文治街508号南湖雅园F栋2-104号'); INSERT INTO `report` VALUES (55, 3, '用户 密码user', '2022-12-27 21:03:24', '0', '湖北省武汉市洪山区文治街508号南湖雅园F栋2-104号');
INSERT INTO `report` VALUES (57, 3, '用户 密码user', '2022-12-28 21:47:57', '0', '湖北省武汉市洪山区文治街南湖雅园(洪山区信访局对面)'); INSERT INTO `report` VALUES (57, 3, '用户 密码user', '2022-12-28 21:47:57', '0', '湖北省武汉市洪山区文治街南湖雅园(洪山区信访局对面)');
INSERT INTO `report` VALUES (58, 3, '用户 密码user', '2022-12-29 18:20:00', '1', '湖北省武汉市洪山区鲁磨路209号'); INSERT INTO `report` VALUES (58, 3, '用户 密码user', '2022-12-29 18:20:00', '1', '湖北省武汉市洪山区鲁磨路209号');
INSERT INTO `report` VALUES (59, 3, '用户 密码user', '2023-03-17 00:27:21', '0', '湖北省武汉市洪山区雄楚大道珞狮南路南湖雅园F-4-106'); INSERT INTO `report` VALUES (59, 3, '用户 密码user', '2023-03-17 00:27:21', '0', '湖北省武汉市洪山区雄楚大道珞狮南路南湖雅园F-4-106');
INSERT INTO `report` VALUES (60, 3, '用户 密码user', '2023-03-20 00:47:22', '0', '湖北省武汉市武昌区武车路'); INSERT INTO `report` VALUES (60, 3, '用户 密码user', '2023-03-20 00:47:22', '0', '湖北省武汉市武昌区武车路');
INSERT INTO `report` VALUES (61, 3, '用户 密码user', '2023-03-23 22:24:14', '0', '湖北省武汉市武昌区修远路'); INSERT INTO `report` VALUES (61, 3, '用户 密码user', '2023-03-23 22:24:14', '0', '湖北省武汉市武昌区修远路');
INSERT INTO `report` VALUES (62, 3, '用户 密码user', '2023-03-13 22:54:12', '0', '湖北省武汉市洪山区文治街102-4号'); INSERT INTO `report` VALUES (62, 3, '用户 密码user', '2023-03-13 22:54:12', '0', '湖北省武汉市洪山区文治街102-4号');
INSERT INTO `report` VALUES (70, 3, '用户 密码user', '2023-04-14 00:36:55', '0', '湖北省武汉市洪山区文治街102-4号'); INSERT INTO `report` VALUES (70, 3, '用户 密码user', '2023-04-14 00:36:55', '0', '湖北省武汉市洪山区文治街102-4号');
INSERT INTO `report` VALUES (71, 3, '用户 密码user', '2023-04-14 13:36:23', '0', '湖北省武汉市洪山区紫菘花园东路');
-- ----------------------------
-- Table structure for role -- ----------------------------
-- ---------------------------- -- Table structure for role
DROP TABLE IF EXISTS `role`; -- ----------------------------
CREATE TABLE `role` ( DROP TABLE IF EXISTS `role`;
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'role_id', CREATE TABLE `role` (
`role_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'roleName', `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'role_id',
PRIMARY KEY (`id`) USING BTREE `role_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'roleName',
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC; PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of role -- ----------------------------
-- ---------------------------- -- Records of role
INSERT INTO `role` VALUES (1, '系统管理员'); -- ----------------------------
INSERT INTO `role` VALUES (2, '社区管理员'); INSERT INTO `role` VALUES (1, '系统管理员');
INSERT INTO `role` VALUES (3, '社区居民_房主'); INSERT INTO `role` VALUES (2, '社区管理员');
INSERT INTO `role` VALUES (4, '社区居民_家庭成员'); INSERT INTO `role` VALUES (3, '社区居民_房主');
INSERT INTO `role` VALUES (5, '社区居民_租客'); INSERT INTO `role` VALUES (4, '社区居民_家庭成员');
INSERT INTO `role` VALUES (6, '访客'); INSERT INTO `role` VALUES (5, '社区居民_租客');
INSERT INTO `role` VALUES (6, '访客');
-- ----------------------------
-- Table structure for setting -- ----------------------------
-- ---------------------------- -- Table structure for setting
DROP TABLE IF EXISTS `setting`; -- ----------------------------
CREATE TABLE `setting` ( DROP TABLE IF EXISTS `setting`;
`key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, CREATE TABLE `setting` (
`value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间或失效时间具体根据key来判断', `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
UNIQUE INDEX `key`(`key`) USING BTREE `time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间或失效时间具体根据key来判断',
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC; UNIQUE INDEX `key`(`key`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of setting -- ----------------------------
-- ---------------------------- -- Records of setting
INSERT INTO `setting` VALUES ('wechat_access_token', '66_qSxbHTU4lcXa4l8JgZisZm_2gXUmQH_vVSybGHP229Nv9QeacmXuYeQxpZQ-JNnLWI-HpJ9Zlf18B4Lnif5fR1EvGukoLFZmGWADlcobLsY-JlKZX7lXRzk6tAoRWTiACAZEB', '2023-03-24 00:26:42'); -- ----------------------------
INSERT INTO `setting` VALUES ('wechat_access_token', '66_qSxbHTU4lcXa4l8JgZisZm_2gXUmQH_vVSybGHP229Nv9QeacmXuYeQxpZQ-JNnLWI-HpJ9Zlf18B4Lnif5fR1EvGukoLFZmGWADlcobLsY-JlKZX7lXRzk6tAoRWTiACAZEB', '2023-03-24 00:26:42');
-- ----------------------------
-- Table structure for user -- ----------------------------
-- ---------------------------- -- Table structure for user
DROP TABLE IF EXISTS `user`; -- ----------------------------
CREATE TABLE `user` ( DROP TABLE IF EXISTS `user`;
`id` int(11) NOT NULL AUTO_INCREMENT, CREATE TABLE `user` (
`username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名', `id` int(11) NOT NULL AUTO_INCREMENT,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码', `username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
`realname` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名', `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
`id_number` varchar(18) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '身份证号', `realname` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名',
`phone_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号', `id_number` varchar(18) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '身份证号',
`role_id` int(11) NOT NULL COMMENT '角色id', `phone_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号',
`building_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '门栋号+单元号', `role_id` int(11) NOT NULL COMMENT '角色id',
`doorplate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '门牌号', `building_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '门栋号+单元号',
`permission` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '进出权限 (0-无 1-继承(普通居民) 2-永久 3-限时)', `doorplate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '门牌号',
`permission_time` datetime NULL DEFAULT NULL COMMENT '进出权限失效时间', `permission` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '进出权限 (0-无 1-继承(普通居民) 2-永久 3-限时)',
PRIMARY KEY (`id`) USING BTREE, `permission_time` datetime NULL DEFAULT NULL COMMENT '进出权限失效时间',
UNIQUE INDEX `username`(`username`) USING BTREE PRIMARY KEY (`id`) USING BTREE,
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; UNIQUE INDEX `username`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of user -- ----------------------------
-- ---------------------------- -- Records of user
INSERT INTO `user` VALUES (1, 'root', '99adc231b045331e514a516b4b7680f588e3823213abe901738bc3ad67b2f6fcb3c64efb93d18002588d3ccc1a49efbae1ce20cb43df36b38651f11fa75678e8', '管理员 密码root', '420111111111111112', '18911111111', 1, '28-1', '1101', '0', NULL); -- ----------------------------
INSERT INTO `user` VALUES (2, 'admin', 'c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec', '社区管理员 密码admin', '420111111111111111', '027-22222121', 2, '16-3', '0203', '0', NULL); INSERT INTO `user` VALUES (1, 'root', '99adc231b045331e514a516b4b7680f588e3823213abe901738bc3ad67b2f6fcb3c64efb93d18002588d3ccc1a49efbae1ce20cb43df36b38651f11fa75678e8', '管理员 密码root', '420111111111111112', '18911111111', 1, '28-1', '1101', '0', NULL);
INSERT INTO `user` VALUES (3, 'user', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户 密码user', '420111111111111111', '18911111111', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (2, 'admin', 'c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec', '社区管理员 密码admin', '420111111111111111', '027-22222121', 2, '16-3', '0203', '0', NULL);
INSERT INTO `user` VALUES (4, 'user2', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户2 密码user', '420111111111111111', '027-22222121', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (3, 'user', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户 密码user', '420111111111111111', '18911111111', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (5, 'user3', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户3 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (4, 'user2', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户2 密码user', '420111111111111111', '027-22222121', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (6, 'user4', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户4 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (5, 'user3', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户3 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (7, 'user5', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户5 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (6, 'user4', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户4 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (8, 'user6', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户6 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (7, 'user5', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户5 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (9, 'user7', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户7 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (8, 'user6', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户6 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (10, 'user8', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户8 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (9, 'user7', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户7 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (11, 'user9', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户9 密码user', '420111111111111111', '13123321311', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (10, 'user8', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户8 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (12, 'user10', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户10 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL); INSERT INTO `user` VALUES (11, 'user9', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户9 密码user', '420111111111111111', '13123321311', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (13, 'qlrfsuxp', 'b5f2ac77c2b8a58dfbff97ff290406cee696c7b54dcd6ebdaf3fdb9205c531c720289f66f47d90c232ff36f942da5533e40e01f3472863c2d78923488fd81055', '而样分', '929309818756666037', '13480331104', 5, '24-62', '1354', '0', NULL); INSERT INTO `user` VALUES (12, 'user10', 'b14361404c078ffd549c03db443c3fede2f3e534d73f78f77301ed97d4a436a9fd9db05ee8b325c0ad36438b43fec8510c204fc1c1edb21d0941c00e9e2c1ce2', '用户10 密码user', '420111111111111111', '112', 3, '20-2', '0802', '0', NULL);
INSERT INTO `user` VALUES (15, 'zqnpgccvq', 'c2bf9f49ef2c0da78eedacde07b37322aa063fa045dd6f24b1d449e5eb81d38fceb5ee656ab479f84cae1a56a4f7c6eac93242dd1cf0d0c754ce12e3b653f713', '机得什后叫', '375601190881718', '16792348638', 4, '78-16', '7138', '0', NULL); INSERT INTO `user` VALUES (13, 'qlrfsuxp', 'b5f2ac77c2b8a58dfbff97ff290406cee696c7b54dcd6ebdaf3fdb9205c531c720289f66f47d90c232ff36f942da5533e40e01f3472863c2d78923488fd81055', '而样分', '929309818756666037', '13480331104', 5, '24-62', '1354', '0', NULL);
INSERT INTO `user` VALUES (16, 'leyp', '00320b98cb7b69671f8298d0bd3340c84d954aabccddfae2f9355f91ed0342e721926ebb62192af6dd56cdc67ca54fcea65679ec6e18e3e8970d50c72bfabd22', '问组使增员了者', '576761656075477737', '13513873254', 6, '21-84', '8164', '0', NULL); INSERT INTO `user` VALUES (15, 'zqnpgccvq', 'c2bf9f49ef2c0da78eedacde07b37322aa063fa045dd6f24b1d449e5eb81d38fceb5ee656ab479f84cae1a56a4f7c6eac93242dd1cf0d0c754ce12e3b653f713', '机得什后叫', '375601190881718', '16792348638', 4, '78-16', '7138', '0', NULL);
INSERT INTO `user` VALUES (17, 'kbiwiw', 'dd9d455bf8b09f491151c3af1448aca8c6136cd4c902d0b19ba5792c18577add4edf5bdb892238ab785cd8a540a22cea62d21139657f353a41be65a554330846', '感转', '634896418246896', '015-6634216', 2, '73-41', '9435', '0', NULL); INSERT INTO `user` VALUES (16, 'leyp', '00320b98cb7b69671f8298d0bd3340c84d954aabccddfae2f9355f91ed0342e721926ebb62192af6dd56cdc67ca54fcea65679ec6e18e3e8970d50c72bfabd22', '问组使增员了者', '576761656075477737', '13513873254', 6, '21-84', '8164', '0', NULL);
INSERT INTO `user` VALUES (18, 'dgciqwqhj', 'bec427eb1d7767afd214f6524f5aebc07e181d34cc054cbe23c7a87f262fd577dbe5b9e25e7184d192579296af7a933bea3d26017499ad499364cd8996610a69', '层开名法', '417821248186407144', '18865882572', 3, '23-78', '6264', '0', NULL); INSERT INTO `user` VALUES (17, 'kbiwiw', 'dd9d455bf8b09f491151c3af1448aca8c6136cd4c902d0b19ba5792c18577add4edf5bdb892238ab785cd8a540a22cea62d21139657f353a41be65a554330846', '感转', '634896418246896', '015-6634216', 2, '73-41', '9435', '0', NULL);
INSERT INTO `user` VALUES (19, 'cm', '105056cce8fc85bdbecaed247db90332cf785c8fed9cbcb71dba57187aded6b81d049679a9b56155716c9e47958bc676722985956d0ab2fd040ae0e8cdb7720f', '指及价常件', '124677736597155066', '05961067874', 3, '54-64', '1370', '0', NULL); INSERT INTO `user` VALUES (18, 'dgciqwqhj', 'bec427eb1d7767afd214f6524f5aebc07e181d34cc054cbe23c7a87f262fd577dbe5b9e25e7184d192579296af7a933bea3d26017499ad499364cd8996610a69', '层开名法', '417821248186407144', '18865882572', 3, '23-78', '6264', '0', NULL);
INSERT INTO `user` VALUES (20, 'fcslfbk', '975c3a52d5435ae60a6f30f4572e754ab458613d0d6c309783bde047198f7944b75b54a62cfbae58594f30573717882aca9bebcccb3ade84fdd5a7d2dd9a0c0f', '集命问已土美石日', '464715523910577877', '0785-3674834', 4, '63-94', '2420', '0', NULL); INSERT INTO `user` VALUES (19, 'cm', '105056cce8fc85bdbecaed247db90332cf785c8fed9cbcb71dba57187aded6b81d049679a9b56155716c9e47958bc676722985956d0ab2fd040ae0e8cdb7720f', '指及价常件', '124677736597155066', '05961067874', 3, '54-64', '1370', '0', NULL);
INSERT INTO `user` VALUES (21, 'vrk', 'f7e3fa3af542e7dd3960069eebb22b5e76adb57e5cf1df0ef0da5cea79e3e8f1a8414b612ebc6f4f08e64bddce070c7e6e55a8f4c098f90145b476acdd3f2808', '称红', '441911654591292', '17474066066', 2, '22-23', '7866', '0', NULL); INSERT INTO `user` VALUES (20, 'fcslfbk', '975c3a52d5435ae60a6f30f4572e754ab458613d0d6c309783bde047198f7944b75b54a62cfbae58594f30573717882aca9bebcccb3ade84fdd5a7d2dd9a0c0f', '集命问已土美石日', '464715523910577877', '0785-3674834', 4, '63-94', '2420', '0', NULL);
INSERT INTO `user` VALUES (21, 'vrk', 'f7e3fa3af542e7dd3960069eebb22b5e76adb57e5cf1df0ef0da5cea79e3e8f1a8414b612ebc6f4f08e64bddce070c7e6e55a8f4c098f90145b476acdd3f2808', '称红', '441911654591292', '17474066066', 2, '22-23', '7866', '0', NULL);
-- ----------------------------
-- Table structure for visitor1 -- ----------------------------
-- ---------------------------- -- Table structure for visitor1
DROP TABLE IF EXISTS `visitor1`; -- ----------------------------
CREATE TABLE `visitor1` ( DROP TABLE IF EXISTS `visitor1`;
`id` int(11) NOT NULL AUTO_INCREMENT, CREATE TABLE `visitor1` (
`time` datetime NULL DEFAULT NULL COMMENT '预约时间', `id` int(11) NOT NULL AUTO_INCREMENT,
`phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预约用户id', `time` datetime NULL DEFAULT NULL COMMENT '预约时间',
`issue` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预约事由', `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预约用户id',
`meet_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会见人姓名', `issue` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预约事由',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `meet_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会见人姓名',
`state` int(11) NULL DEFAULT 0 COMMENT '状态0审批中1成功2驳回', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`) USING BTREE `state` int(11) NULL DEFAULT 0 COMMENT '状态0审批中1成功2驳回',
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC; PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of visitor1 -- ----------------------------
-- ---------------------------- -- Records of visitor1
INSERT INTO `visitor1` VALUES (1, '2022-03-09 09:46:50', '136', NULL, NULL, NULL, 1); -- ----------------------------
INSERT INTO `visitor1` VALUES (2, '2022-03-09 00:00:00', '1', '2', '王老师', NULL, 1); INSERT INTO `visitor1` VALUES (1, '2022-03-09 09:46:50', '136', NULL, NULL, NULL, 1);
INSERT INTO `visitor1` VALUES (3, '2022-03-13 00:00:00', '123', '123', '123', NULL, 1); INSERT INTO `visitor1` VALUES (2, '2022-03-09 00:00:00', '1', '2', '王老师', NULL, 1);
INSERT INTO `visitor1` VALUES (4, '2022-03-17 00:00:00', '183', '11', '1111', NULL, 1); INSERT INTO `visitor1` VALUES (3, '2022-03-13 00:00:00', '123', '123', '123', NULL, 1);
INSERT INTO `visitor1` VALUES (5, '2022-03-20 07:00:00', '15555150781', '测试', '王德发', NULL, 1); INSERT INTO `visitor1` VALUES (4, '2022-03-17 00:00:00', '183', '11', '1111', NULL, 1);
INSERT INTO `visitor1` VALUES (6, '2022-03-20 07:00:00', '15555150782', '测试', '王德发', NULL, 1); INSERT INTO `visitor1` VALUES (5, '2022-03-20 07:00:00', '15555150781', '测试', '王德发', NULL, 1);
INSERT INTO `visitor1` VALUES (7, '2022-03-20 00:00:00', '12345', '返校', '自己', NULL, 1); INSERT INTO `visitor1` VALUES (6, '2022-03-20 07:00:00', '15555150782', '测试', '王德发', NULL, 1);
INSERT INTO `visitor1` VALUES (8, '2022-03-21 00:00:00', '1', '1', '1', NULL, 1); INSERT INTO `visitor1` VALUES (7, '2022-03-20 00:00:00', '12345', '返校', '自己', NULL, 1);
INSERT INTO `visitor1` VALUES (9, '2022-03-22 00:00:00', '11', '11', '1', NULL, 1); INSERT INTO `visitor1` VALUES (8, '2022-03-21 00:00:00', '1', '1', '1', NULL, 1);
INSERT INTO `visitor1` VALUES (10, '2022-03-22 00:00:00', '183', '1', '123', NULL, 1); INSERT INTO `visitor1` VALUES (9, '2022-03-22 00:00:00', '11', '11', '1', NULL, 1);
INSERT INTO `visitor1` VALUES (11, '2022-04-20 00:00:00', '19851691582', '看吧', '哈哈', NULL, 0); INSERT INTO `visitor1` VALUES (10, '2022-03-22 00:00:00', '183', '1', '123', NULL, 1);
INSERT INTO `visitor1` VALUES (12, '2022-04-26 00:00:00', '18835381168', 'jin', 'zhang ', NULL, 0); INSERT INTO `visitor1` VALUES (11, '2022-04-20 00:00:00', '19851691582', '看吧', '哈哈', NULL, 0);
INSERT INTO `visitor1` VALUES (13, '2022-06-15 00:00:00', '18250314786', '1', '1', NULL, 1); INSERT INTO `visitor1` VALUES (12, '2022-04-26 00:00:00', '18835381168', 'jin', 'zhang ', NULL, 0);
INSERT INTO `visitor1` VALUES (14, '2022-10-08 00:00:00', '151000', '入校', '王龙', NULL, 0); INSERT INTO `visitor1` VALUES (13, '2022-06-15 00:00:00', '18250314786', '1', '1', NULL, 1);
INSERT INTO `visitor1` VALUES (14, '2022-10-08 00:00:00', '151000', '入校', '王龙', NULL, 0);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 1;

View File

@ -173,6 +173,114 @@
} }
}, },
"response": [] "response": []
},
{
"name": "http://localhost:8001/user/manage/getUserList?pageIndex=2&pageSize=2&username=&roleId=&realname=&phoneNumber=11&idNumber=&buildingId=&doorplate=",
"request": {
"method": "GET",
"header": [
{
"key": "authority",
"value": "epp.only4.work"
},
{
"key": "accept",
"value": "application/json, text/plain, */*"
},
{
"key": "accept-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8"
},
{
"key": "origin",
"value": "http://localhost:5173"
},
{
"key": "referer",
"value": "http://localhost:5173/"
},
{
"key": "sec-ch-ua",
"value": "\"Google Chrome\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\""
},
{
"key": "sec-ch-ua-mobile",
"value": "?0"
},
{
"key": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"key": "sec-fetch-dest",
"value": "empty"
},
{
"key": "sec-fetch-mode",
"value": "cors"
},
{
"key": "sec-fetch-site",
"value": "cross-site"
},
{
"key": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
}
],
"url": {
"raw": "http://localhost:8001/user/manage/getUserList?pageIndex=2&pageSize=2&username=&roleId=&realname=&phoneNumber=11&idNumber=&buildingId=&doorplate=",
"protocol": "http",
"host": [
"localhost"
],
"port": "8001",
"path": [
"user",
"manage",
"getUserList"
],
"query": [
{
"key": "pageIndex",
"value": "2"
},
{
"key": "pageSize",
"value": "2"
},
{
"key": "username",
"value": ""
},
{
"key": "roleId",
"value": ""
},
{
"key": "realname",
"value": ""
},
{
"key": "phoneNumber",
"value": "11"
},
{
"key": "idNumber",
"value": ""
},
{
"key": "buildingId",
"value": ""
},
{
"key": "doorplate",
"value": ""
}
]
}
},
"response": []
} }
] ]
}, },
@ -327,6 +435,50 @@
} }
}, },
"response": [] "response": []
},
{
"name": "[线上] 门禁端 获取大门列表",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://epp.only4.work/access/gate/guard-client/getGateList",
"protocol": "https",
"host": [
"epp",
"only4",
"work"
],
"path": [
"access",
"gate",
"guard-client",
"getGateList"
]
}
},
"response": []
},
{
"name": "[线上] 小程序端 获取大门详情",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://epp.only4.work/guard-client/getGateList",
"protocol": "https",
"host": [
"epp",
"only4",
"work"
],
"path": [
"guard-client",
"getGateList"
]
}
},
"response": []
} }
] ]
}, },
@ -352,6 +504,45 @@
} }
}, },
"response": [] "response": []
},
{
"name": "http://localhost:80/test",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:80/test/test",
"protocol": "http",
"host": [
"localhost"
],
"port": "80",
"path": [
"test",
"test"
]
}
},
"response": []
},
{
"name": "http://localhost:8011/test",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "http://localhost:8011/test",
"protocol": "http",
"host": [
"localhost"
],
"port": "8011",
"path": [
"test"
]
}
},
"response": []
} }
] ]
}, },
@ -667,6 +858,176 @@
} }
}, },
"response": [] "response": []
},
{
"name": "https://epp.only4.work/shop/good/manage/editGood",
"request": {
"method": "POST",
"header": [
{
"key": "authority",
"value": "epp.only4.work"
},
{
"key": "accept",
"value": "application/json, text/plain, */*"
},
{
"key": "accept-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8"
},
{
"key": "content-type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "origin",
"value": "http://localhost:5174"
},
{
"key": "referer",
"value": "http://localhost:5174/"
},
{
"key": "sec-ch-ua",
"value": "\"Google Chrome\";v=\"111\", \"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"111\""
},
{
"key": "sec-ch-ua-mobile",
"value": "?0"
},
{
"key": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"key": "sec-fetch-dest",
"value": "empty"
},
{
"key": "sec-fetch-mode",
"value": "cors"
},
{
"key": "sec-fetch-site",
"value": "cross-site"
},
{
"key": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "id",
"value": "-1",
"type": "text"
},
{
"key": "picUrl",
"value": "qfbcdboiwxn",
"type": "text"
},
{
"key": "goodsName",
"value": "syihtraudeuueqrmqe",
"type": "text"
},
{
"key": "categoryId",
"value": "2",
"type": "text"
},
{
"key": "brand",
"value": "vfadnwkwvxnp",
"type": "text"
},
{
"key": "brief",
"value": "swxypuwotn",
"type": "text"
},
{
"key": "isOnSale",
"value": "1",
"type": "text"
},
{
"key": "sortOrder",
"value": "797",
"type": "text"
},
{
"key": "unit",
"value": "oyu",
"type": "text"
},
{
"key": "counterPrice",
"value": "133.5214",
"type": "text"
},
{
"key": "retailPrice",
"value": "2701338743",
"type": "text"
},
{
"key": "detail",
"value": "hpfowwfaewhclntoyddefpyroqmwkkqgsyuvmktwwkwbrqtocrygeusevgvwbplvnectvdrkwfybilhspgqpzmgmhsiadkdsvwj",
"type": "text"
}
]
},
"url": {
"raw": "https://epp.only4.work/shop/good/manage/editGood",
"protocol": "https",
"host": [
"epp",
"only4",
"work"
],
"path": [
"shop",
"good",
"manage",
"editGood"
]
}
},
"response": []
},
{
"name": "[微服务] getTmpCosCredential",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8003/shop/good/manage/imageUpload/getTmpCosCredential?ext=1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8003",
"path": [
"shop",
"good",
"manage",
"imageUpload",
"getTmpCosCredential"
],
"query": [
{
"key": "ext",
"value": "1"
}
]
}
},
"response": []
} }
] ]
} }

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M768 149.333333a21.333333 21.333333 0 0 1 21.333333-21.333333h64v-21.333333a21.333333 21.333333 0 0 1 42.666667 0v21.333333h64a21.333333 21.333333 0 0 1 0 42.666667h-170.666667a21.333333 21.333333 0 0 1-21.333333-21.333334zM64 170.666667h170.666667a21.333333 21.333333 0 0 0 0-42.666667h-64v-21.333333a21.333333 21.333333 0 0 0-42.666667 0v21.333333H64a21.333333 21.333333 0 0 0 0 42.666667z m917.333333 64v640a21.333333 21.333333 0 0 1-21.333333 21.333333h-170.666667a21.333333 21.333333 0 0 1-21.333333-21.333333v-21.333334H256v21.333334a21.333333 21.333333 0 0 1-21.333333 21.333333H64a21.333333 21.333333 0 0 1-21.333333-21.333333V234.666667a21.333333 21.333333 0 0 1 21.333333-21.333334h170.666667a21.333333 21.333333 0 0 1 21.333333 21.333334v106.666666h42.666667v-64a21.333333 21.333333 0 0 1 42.666666 0v490.666667h85.333334V597.333333h-21.333334a21.333333 21.333333 0 0 1-21.333333-21.333333V490.666667a21.333333 21.333333 0 0 1 21.333333-21.333334h21.333334V384h-21.333334a21.333333 21.333333 0 0 1 0-42.666667h21.333334V192a21.333333 21.333333 0 0 1 42.666666 0v149.333333h85.333334V192a21.333333 21.333333 0 0 1 42.666666 0v149.333333h85.333334v-64a21.333333 21.333333 0 0 1 42.666666 0v64h42.666667V234.666667a21.333333 21.333333 0 0 1 21.333333-21.333334h170.666667a21.333333 21.333333 0 0 1 21.333333 21.333334zM298.666667 384h-42.666667v384h42.666667z m256 213.333333H469.333333v170.666667h85.333334z m0-213.333333H469.333333v85.333333h85.333334z m128 0H597.333333v85.333333h21.333334a21.333333 21.333333 0 0 1 21.333333 21.333334v85.333333a21.333333 21.333333 0 0 1-21.333333 21.333333h-21.333334v170.666667h42.666667v42.666667h42.666667z m85.333333 0h-42.666667v384h42.666667z" fill="#5C5C66"></path></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -46,10 +46,11 @@ Page({
//判断用户是否是通过扫小程序码进来的 //判断用户是否是通过扫小程序码进来的
if (options && options.scene) { if (options && options.scene) {
// 扫门禁的小程序码 // 扫门禁的小程序码
if (options.scene.split('%')[0] == "guard") { let scene = options.scene
options.scene = null if (scene.startsWith("guard%")) { // scene.split('%')[0] == "guard"
options.scene = null // 清掉参数 避免重复触发
wx.navigateTo({ wx.navigateTo({
url: "/pages/scan/entrance" url: "/pages/scan/entrance?scene=" + scene
}) })
return return
} }

View File

@ -1,11 +1,24 @@
// pages/scan/entrance.js // pages/scan/entrance.js
const gateService = require("../../services/gate")
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
options: {}, // 传入参数
gateId: "",
// 接口返回数据
gateDetail: "",
// UI显示用
gateName: "未知",
open: false,
currentTime: "",
}, },
/** /**
@ -13,9 +26,23 @@ Page({
*/ */
onLoad(options) { onLoad(options) {
console.log(options) console.log(options)
let scene = options.scene
if (!scene) {
wx.navigateBack()
return
}
scene = decodeURIComponent(scene) // %26 == &
if (scene.indexOf('&') == -1) {
wx.navigateBack()
return
}
let gateId = scene.split('&')[1]
this.setData({ this.setData({
options: JSON.stringify(options), gateId: gateId,
}) });
this.loadPageData()
}, },
/** /**
@ -50,7 +77,7 @@ Page({
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
onPullDownRefresh() { onPullDownRefresh() {
this.loadPageData()
}, },
/** /**
@ -65,5 +92,24 @@ Page({
*/ */
onShareAppMessage() { onShareAppMessage() {
},
loadPageData() {
let gateId = this.data.gateId;
(async () => {
let gateDetail = await gateService.getGateDetail(gateId)
console.log("gateDetail", gateDetail)
this.setData({
gateDetail: JSON.stringify(gateDetail),
gateName: gateDetail.name,
open: gateDetail.open,
currentTime: new Date(Date.now() + 8 * 3600 * 1000).toISOString().replace('T', ' ').substring(0, 19)
});
})();
},
navigateBack: function () {
wx.navigateBack()
} }
}) })

View File

@ -1,4 +1,5 @@
{ {
"usingComponents": {}, "usingComponents": {},
"navigationBarTitleText": "进入社区" "navigationBarTitleText": "进入社区",
"enablePullDownRefresh": true
} }

View File

@ -1,5 +1,30 @@
<!--pages/scan/entrance.wxml--> <!--pages/scan/entrance.wxml-->
<view> <view style="text-align: center;">
您将要进入社区:未知 <view style="margin-top: 10vh;">
{{ options }} <image src="../../image/icon/gate-background.svg" style="height: 40vh;"></image>
</view>
<view style="margin-top: 2vh;">
<text>您将要进入社区</text>
</view>
<view style="margin-top: 10px;">
<text style="font-size: 1.5em; font-weight: bold; color: {{ open ? '#0ee919' : 'red' }};">{{ gateName }}</text>
</view>
<view style="margin-top: 2vh;">
<view wx:if="{{ !open }}">当前大门暂不允许通行</view>
<view>当前时间:{{ currentTime }}</view>
</view>
<view class="btnView">
<!--按钮-->
<button disabled="{{ !open }}" class="btn" type="primary" bindtap="enterGate">确认进入</button>
<button class="btn" type="warn" bindtap="navigateBack">不进入</button>
</view>
</view>
<view style="font-size: 0.6em; color: #c5c5c5; position: absolute; bottom: 16px; width: 100%; text-align: center;">
大门id: {{ gateId }}
</view> </view>

View File

@ -1 +1,8 @@
/* pages/scan/entrance.wxss */ /* pages/scan/entrance.wxss */
.btnView {
margin-top: 40px;
}
.btn {
margin-top: 10px;
}

View File

@ -2,17 +2,17 @@
<view class="good-wapper"> <view class="good-wapper">
<image class="good-image" src="{{goodinfo.picUrl}}" /> <image class="good-image" src="{{goodinfo.picUrl}}" />
<view class="good-detail"> <view class="good-detail">
<view class="good-price good-price-counter">
<!-- 原价 -->
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.counterPrice }}</view>
</view>
<view class="good-price good-price-retail"> <view class="good-price good-price-retail">
<!-- 售价 --> <!-- 售价 -->
<view style="height:0.12em;" class="good-price-line"></view>
<view class="good-price-symbol">¥</view> <view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.retailPrice }}</view> <view class="good-price-number">{{ goodinfo.retailPrice }}</view>
</view> </view>
<view class="good-price good-price-counter">
<!-- 原价 -->
<view style="height:0.12em;" class="good-price-line"></view>
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.counterPrice }}</view>
</view>
<!-- 商品标题 --> <!-- 商品标题 -->
<view class="good-title line-wrap"> <view class="good-title line-wrap">

View File

@ -24,12 +24,12 @@
position: relative; position: relative;
} }
.good-price-counter { .good-price-retail {
color: #fa4126; color: #fa4126;
font-size: 72rpx; font-size: 72rpx;
} }
.good-price-retail { .good-price-counter {
color: #bbbbbb; color: #bbbbbb;
font-size: 32rpx; font-size: 32rpx;
margin: 0 0 0 18rpx; margin: 0 0 0 18rpx;

View File

@ -0,0 +1,15 @@
/* eslint-disable no-param-reassign */
const send_request = require('../utils/sendRequest')
/** 获取门禁详情 */
export function getGateDetail(id) {
console.log("gateId", id)
return send_request({
url: '/access/gate/miniprogram/detail',
method: "GET",
data: {
id: id,
}
})
}

View File

@ -1,19 +1,21 @@
function scanQRCode(Taro) { function scanQRCode(wx) {
// 只允许从相机扫码 // 只允许从相机扫码
Taro.scanCode({ wx.scanCode({
onlyFromCamera: true, onlyFromCamera: true,
success(res) { success(res) {
console.log(res) console.log(res)
if (res.scanType == "WX_CODE" && res.path) { if (res.scanType == "WX_CODE" && res.path) {
let searchParams = res.path.split('?'); let searchParams = res.path.split('?');
if (searchParams.length > 1 && searchParams[1].startsWith('scene=guard')) { if (searchParams.length > 1 && searchParams[1].startsWith('scene=guard')) {
Taro.navigateTo({ // let scene = searchParams[1].substring(searchParams[1].indexOf('='))
url: "/pages/scan/entrance" console.log("searchParams", searchParams)
wx.navigateTo({
url: "/pages/scan/entrance?" + searchParams[1]
}) })
return return
} }
} }
Taro.showToast({ wx.showToast({
title: "您扫描的不是门禁码", title: "您扫描的不是门禁码",
icon: 'error', icon: 'error',
duration: 2000 duration: 2000