276 lines
14 KiB
SQL
276 lines
14 KiB
SQL
/*M!999999\- enable the sandbox mode */
|
||
-- MariaDB dump 10.19 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
|
||
--
|
||
-- Host: 127.0.0.1 Database: app_38283
|
||
-- ------------------------------------------------------
|
||
-- Server version 10.11.14-MariaDB-0+deb12u2
|
||
|
||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||
/*!40101 SET NAMES utf8mb4 */;
|
||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||
|
||
--
|
||
-- Table structure for table `categories`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `categories`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `categories` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`name` varchar(255) NOT NULL,
|
||
`icon` varchar(50) DEFAULT NULL,
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `categories`
|
||
--
|
||
|
||
LOCK TABLES `categories` WRITE;
|
||
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
|
||
INSERT INTO `categories` VALUES
|
||
(1,'社交账号','bi-people-fill'),
|
||
(2,'海外社交','bi-globe-central-south-asia'),
|
||
(3,'AI办公','bi-cpu-fill'),
|
||
(4,'邮箱工具','bi-envelope-at-fill'),
|
||
(5,'游戏专区','bi-controller');
|
||
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `order_items`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `order_items`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `order_items` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`order_id` int(11) NOT NULL,
|
||
`product_id` int(11) NOT NULL,
|
||
`quantity` int(11) NOT NULL,
|
||
`price_usdt` decimal(10,2) NOT NULL,
|
||
PRIMARY KEY (`id`),
|
||
KEY `order_id` (`order_id`),
|
||
CONSTRAINT `order_items_ibfk_1` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `order_items`
|
||
--
|
||
|
||
LOCK TABLES `order_items` WRITE;
|
||
/*!40000 ALTER TABLE `order_items` DISABLE KEYS */;
|
||
INSERT INTO `order_items` VALUES
|
||
(1,1,8,1,25.00),
|
||
(2,2,8,1,25.00),
|
||
(3,3,8,1,25.00),
|
||
(4,4,8,1,25.00),
|
||
(5,5,8,1,25.00);
|
||
/*!40000 ALTER TABLE `order_items` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `orders`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `orders`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `orders` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`order_no` varchar(50) DEFAULT NULL,
|
||
`user_id` int(11) DEFAULT NULL,
|
||
`total_amount` decimal(10,2) DEFAULT NULL,
|
||
`status` enum('pending','paid','completed','cancelled') DEFAULT 'pending',
|
||
`payment_method` varchar(20) DEFAULT NULL,
|
||
`contact_info` varchar(255) DEFAULT NULL,
|
||
`created_at` timestamp NULL DEFAULT current_timestamp(),
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `order_no` (`order_no`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `orders`
|
||
--
|
||
|
||
LOCK TABLES `orders` WRITE;
|
||
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;
|
||
INSERT INTO `orders` VALUES
|
||
(1,'HR20260208071009304',NULL,25.00,'pending','USDT','osafuyanij822@gmail.com','2026-02-08 07:10:09'),
|
||
(2,'HR20260208074125245',NULL,25.00,'pending','USDT','osafuyanij822@gmail.com','2026-02-08 07:41:25'),
|
||
(3,'HR20260208080820547',NULL,25.00,'pending','USDT','osafuyanij822@gmail.com','2026-02-08 08:08:20'),
|
||
(4,'HR20260208080843609',NULL,25.00,'pending','USDT','osafuyanij822@gmail.com','2026-02-08 08:08:43'),
|
||
(5,'HR20260208082550362',NULL,25.00,'pending','USDT (TRC20)','','2026-02-08 08:25:50');
|
||
/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `products`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `products`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `products` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`category_id` int(11) DEFAULT NULL,
|
||
`name` varchar(255) NOT NULL,
|
||
`description` text DEFAULT NULL,
|
||
`content` text DEFAULT NULL,
|
||
`price_usdt` decimal(10,2) NOT NULL,
|
||
`stock` int(11) DEFAULT 0,
|
||
`image_url` varchar(255) DEFAULT NULL,
|
||
`is_hot` tinyint(4) DEFAULT 0,
|
||
`is_active` tinyint(4) DEFAULT 1,
|
||
`created_at` timestamp NULL DEFAULT current_timestamp(),
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `products`
|
||
--
|
||
|
||
LOCK TABLES `products` WRITE;
|
||
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
|
||
INSERT INTO `products` VALUES
|
||
(13,2,'Discord 满月老号','高权重/已过验证','Discord 满月老号,纯手工注册,权重极高。已绑定海外手机号并完成邮箱验证。适合加入各种大群、使用各种机器人,不容易被封。发货格式:账号----密码----Token',5.00,999,'https://cdn-icons-png.flaticon.com/512/3670/3670157.png',1,1,'2026-02-08 07:40:15'),
|
||
(14,2,'TikTok 权重号','千粉/直播权限','TikTok 优质权重老号,拥有1000+真实粉丝,已开通直播权限。适合引流、卖货。包含注册邮箱原始密码。发货格式:账号----密码----邮箱----邮箱密码',15.00,50,'https://cdn-icons-png.flaticon.com/512/3046/3046121.png',1,1,'2026-02-08 07:40:15'),
|
||
(15,3,'ChatGPT Plus 共享号','GPT-4o/稳定独享','ChatGPT Plus 会员共享号,支持最新的 GPT-4o 模型,DALL-E 3 生成图片。稳定不掉线,封号包赔。发货格式:邮箱----密码----Token',10.00,100,'https://cdn-icons-png.flaticon.com/512/12222/12222588.png',1,1,'2026-02-08 07:40:15'),
|
||
(16,1,'小红书 优质老号','带粉/无违规','小红书优质权重账号,注册时间长,无任何违规记录。适合做博主、引流。',8.00,200,'https://images.pexels.com/photos/5077039/pexels-photo-5077039.jpeg?auto=compress&cs=tinysrgb&w=200',1,1,'2026-02-08 07:40:15'),
|
||
(17,1,'抖音 权重老号','实名/可直播','抖音实名优质号,高权重,搜索排名靠前。',12.00,100,'https://images.pexels.com/photos/5081914/pexels-photo-5081914.jpeg?auto=compress&cs=tinysrgb&w=200',1,1,'2026-02-08 07:40:15'),
|
||
(18,2,'Instagram 极品老号','带粉丝/发帖稳','Instagram 2-5年老号,带少量粉丝,权重极高,发帖不容易被屏蔽。',6.00,300,'https://cdn-icons-png.flaticon.com/512/174/174855.png',0,1,'2026-02-08 07:40:15'),
|
||
(19,2,'Telegram 协议号','API/Hash格式','TG 协议号,支持各路协议软件登录。',3.00,5000,'https://cdn-icons-png.flaticon.com/512/2111/2111646.png',1,1,'2026-02-08 07:40:15'),
|
||
(20,2,'WhatsApp 活跃号','直登号/耐用','WhatsApp 长期活跃号,不容易封禁。',4.50,1000,'https://cdn-icons-png.flaticon.com/512/733/733585.png',0,1,'2026-02-08 07:40:15'),
|
||
(21,1,'WeChat 微信老号','稳定/不封号','微信老号,已过实名,朋友圈活跃。',25.00,20,'https://cdn-icons-png.flaticon.com/512/733/733641.png',1,1,'2026-02-08 07:40:15'),
|
||
(22,1,'QQ 极品老号','等级高/带Q币','QQ 10年老号,皇冠等级,适合收藏。',18.00,10,'https://cdn-icons-png.flaticon.com/512/3536/3536647.png',0,1,'2026-02-08 07:40:15'),
|
||
(23,4,'Gmail 优质新号','独享/带辅助','Gmail 全新号,独享注册,带辅助邮箱。',1.50,2000,'https://cdn-icons-png.flaticon.com/512/281/281769.png',0,1,'2026-02-08 07:40:15'),
|
||
(24,4,'Outlook 混合号','便宜/量大','Outlook 邮箱,适合批量注册。',0.50,10000,'https://cdn-icons-png.flaticon.com/512/732/732200.png',0,1,'2026-02-08 07:40:15'),
|
||
(25,2,'Snapchat 满月号','高权重/耐封','Snapchat 满月账号,高权重。',4.00,500,'https://cdn-icons-png.flaticon.com/512/3670/3670174.png',0,1,'2026-02-08 07:40:15'),
|
||
(26,2,'LINE 台湾/日本号','已验证/直登','LINE 账号,已完成手机验证。',7.00,100,'https://cdn-icons-png.flaticon.com/512/124/124025.png',0,1,'2026-02-08 07:40:15'),
|
||
(27,1,'知乎 权重号','高质量/老号','知乎高质量账号,适合引流。',5.50,200,'https://images.pexels.com/photos/267350/pexels-photo-267350.jpeg?auto=compress&cs=tinysrgb&w=200',0,1,'2026-02-08 07:40:15'),
|
||
(28,1,'豆瓣小组 进群号','免审/高活跃','豆瓣老号,已进各种大组,权重高。',6.50,150,'https://images.pexels.com/photos/159868/book-read-old-literature-159868.jpeg?auto=compress&cs=tinysrgb&w=200',0,1,'2026-02-08 07:40:15'),
|
||
(29,2,'Amino 活跃号','全球版/稳定','Amino 账号,稳定耐用。',4.00,300,'https://images.pexels.com/photos/1038914/pexels-photo-1038914.jpeg?auto=compress&cs=tinysrgb&w=200',0,1,'2026-02-08 07:40:15'),
|
||
(30,1,'Twitter 独享账号','高权重 Twitter 独享账号,已过手机验证。',NULL,15.00,99,'https://images.pexels.com/photos/267399/pexels-photo-267399.jpeg?auto=compress&cs=tinysrgb&w=200',1,1,'2026-02-08 08:23:13'),
|
||
(31,1,'Instagram 老号','2020年注册 Instagram 老号,高权重。',NULL,12.00,50,'https://cdn-icons-png.flaticon.com/512/174/174855.png',0,1,'2026-02-08 08:23:13'),
|
||
(32,3,'Midjourney 订阅','Midjourney 标准版按月订阅,独立账号。',NULL,30.00,10,'https://images.pexels.com/photos/1748386/pexels-photo-1748386.jpeg?auto=compress&cs=tinysrgb&w=200',1,1,'2026-02-08 08:23:13'),
|
||
(33,3,'Claude 3.5 Sonnet','Claude Pro 订阅,体验最强 AI 模型。',NULL,25.00,20,'https://images.pexels.com/photos/8386440/pexels-photo-8386440.jpeg?auto=compress&cs=tinysrgb&w=200',0,1,'2026-02-08 08:23:13'),
|
||
(34,3,'Notion AI 升级','Notion AI 永久功能开启。',NULL,10.00,100,'https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&cs=tinysrgb&w=200',0,1,'2026-02-08 08:23:13'),
|
||
(35,4,'Yahoo 优质老号','Yahoo 经典邮箱,高权重老号',NULL,1.50,500,'https://cdn-icons-png.flaticon.com/512/732/732264.png',0,1,'2026-02-08 08:23:13'),
|
||
(36,4,'ProtonMail 旗舰版','加密邮箱 ProtonMail 尊享版。',NULL,8.00,30,'https://cdn-icons-png.flaticon.com/512/5968/5968538.png',1,1,'2026-02-08 08:23:13');
|
||
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `settings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `settings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `settings` (
|
||
`key_name` varchar(50) NOT NULL,
|
||
`key_value` text DEFAULT NULL,
|
||
`description` text DEFAULT NULL,
|
||
PRIMARY KEY (`key_name`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `settings`
|
||
--
|
||
|
||
LOCK TABLES `settings` WRITE;
|
||
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
|
||
INSERT INTO `settings` VALUES
|
||
('copyright','© 2026 豪软世界 - 全球领先的数字软件服务商','版权信息'),
|
||
('notice','欢迎来到豪软世界,官方客服TG:@zhangshihao818','公告内容'),
|
||
('site_name','豪软世界','网站名称'),
|
||
('tg_support','https://t.me/zhangshihao818','Telegram客服链接'),
|
||
('usdt_address','Txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','USDT-TRC20收款地址');
|
||
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `site_settings`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `site_settings`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `site_settings` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`setting_key` varchar(50) DEFAULT NULL,
|
||
`setting_value` text DEFAULT NULL,
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `setting_key` (`setting_key`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `site_settings`
|
||
--
|
||
|
||
LOCK TABLES `site_settings` WRITE;
|
||
/*!40000 ALTER TABLE `site_settings` DISABLE KEYS */;
|
||
INSERT INTO `site_settings` VALUES
|
||
(1,'site_name','豪软世界'),
|
||
(2,'tg_link','https://t.me/zhangshihao818'),
|
||
(3,'copyright','© 2026 豪软世界 - 专业软件与账号服务商');
|
||
/*!40000 ALTER TABLE `site_settings` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `users`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `users`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8mb4 */;
|
||
CREATE TABLE `users` (
|
||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||
`username` varchar(50) NOT NULL,
|
||
`password` varchar(255) NOT NULL,
|
||
`email` varchar(100) DEFAULT NULL,
|
||
`role` enum('user','admin') DEFAULT 'user',
|
||
`created_at` timestamp NULL DEFAULT current_timestamp(),
|
||
PRIMARY KEY (`id`),
|
||
UNIQUE KEY `username` (`username`),
|
||
UNIQUE KEY `email` (`email`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `users`
|
||
--
|
||
|
||
LOCK TABLES `users` WRITE;
|
||
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
|
||
INSERT INTO `users` VALUES
|
||
(1,'admin','$2y$10$ZjgjjPtVlM/nb7A8.fu0weXlqK1Vs5xWGgFO/zDk3rqpQzLOztmf2','admin@example.com','admin','2026-02-08 07:03:56');
|
||
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||
|
||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||
|
||
-- Dump completed on 2026-02-08 8:51:56
|