dev
This commit is contained in:
@@ -8,6 +8,16 @@ INSERT INTO `admins` (`username`, `password`, `name`, `phone`, `role`, `status`)
|
||||
('admin', '$2b$10$N9qo8uLOickgx2ZMRZoMy.Mrq7Y5g0kOPIl7vJfzOTfJ7qKqOqOAa', '超级管理员', '13800000000', 'super_admin', 'active'),
|
||||
('operator', '$2b$10$N9qo8uLOickgx2ZMRZoMy.Mrq7Y5g0kOPIl7vJfzOTfJ7qKqOqOAa', '运营人员', '13800000001', 'operator', 'active');
|
||||
|
||||
-- 商家账号 (密码: seller123)
|
||||
INSERT INTO `sellers` (`phone`, `password`, `contact_name`, `email`, `status`) VALUES
|
||||
('13900000001', '$2b$10$N9qo8uLOickgx2ZMRZoMy.Mrq7Y5g0kOPIl7vJfzOTfJ7qKqOqOAa', '张经理', 'zhang@example.com', 'active'),
|
||||
('13900000002', '$2b$10$N9qo8uLOickgx2ZMRZoMy.Mrq7Y5g0kOPIl7vJfzOTfJ7qKqOqOAa', '李老板', 'li@example.com', 'active');
|
||||
|
||||
-- 商家店铺信息
|
||||
INSERT INTO `merchants` (`seller_id`, `shop_name`, `phone`, `city`, `address`, `business_license`, `status`, `rating`) VALUES
|
||||
(1, '温馨民宿', '13900000001', '杭州', '西湖区文三路123号', 'https://example.com/license1.jpg', 'approved', 4.8),
|
||||
(2, '阳光公寓', '13900000002', '上海', '浦东新区陆家嘴456号', 'https://example.com/license2.jpg', 'approved', 4.5);
|
||||
|
||||
-- 会员等级
|
||||
INSERT INTO `member_levels` (`name`, `level`, `min_points`, `discount`, `benefits`) VALUES
|
||||
('普通会员', 1, 0, 1.00, '["基础服务"]'),
|
||||
|
||||
Reference in New Issue
Block a user