first commit

This commit is contained in:
云泽网 committed 2025-07-27 21:42:34 +08:00
commit c1cce5ccb4
2779 files changed
+340042

No files matched your search

+154
View File
@@ -0,0 +1,154 @@
<?php
class YxEnv
{
/**
* 环境变量数据
* @var array
*/
protected $data = [];
protected $filePath = '';
public function __construct()
{
//$this->data = $_ENV;
}
/**
* 读取环境变量定义文件
* @access public
* @param string $file 环境变量定义文件
* @return void
*/
public function load($file)
{
$this->filePath = $file;
$env = parse_ini_file($file, true);
$this->set($env);
}
public function makeEnv($file){
if(!file_exists($file)){
try{
touch($file);
}catch (Exception $e){
return;
}
}
}
/**
* 获取环境变量值
* @access public
* @param string $name 环境变量名
* @param mixed $default 默认值
* @return mixed
*/
public function get($name = null, $default = null, $php_prefix = true)
{
if (is_null($name)) {
return $this->data;
}
if (isset($this->data[$name])) {
return $this->data[$name];
}
return $this->getEnv($name, $default, $php_prefix);
}
protected function getEnv($name, $default = null, $php_prefix = true)
{
if ($php_prefix) {
$name = 'PHP_' . $name;
}
$result = getenv($name);
if (false === $result) {
return $default;
}
if ('false' === $result) {
$result = false;
} elseif ('true' === $result) {
$result = true;
}
if ( !isset($this->data[$name])) {
$this->data[$name] = $result;
}
return $result;
}
/**
* Notes: 写入Env文件
* @author luzg(2020/8/27 18:12)
* @param $envFilePath
* @param array $databaseEnv
*/
public function putEnv($envFilePath, array $databaseEnv)
{
$applyDbEnv = [
'database.hostname' => $databaseEnv['host'],
'database.database' => $databaseEnv['name'],
'database.username' => $databaseEnv['user'],
'database.password' => $databaseEnv['password'],
'database.hostport' => $databaseEnv['port'],
'database.prefix' => $databaseEnv['prefix'],
'project.file_domain' => $_SERVER['HTTP_HOST'],
];
$envLine = array_merge($this->data, $applyDbEnv);
ksort($envLine);
$content = '';
$lastPrefix = '';
foreach ($envLine as $index => $value) {
list($prefix, $key) = explode('.', $index);
if ($prefix != $lastPrefix) {
if ($lastPrefix != '')
$content .= "\n";
$content .= "[$prefix]\n";
$lastPrefix = $prefix;
}
$content .= "$key = \"$value\"\n";
}
if ( !empty($content)) {
file_put_contents($envFilePath, $content);
}
}
/**
* 设置环境变量值
* @access public
* @param string|array $env 环境变量
* @param mixed $value 值
* @return void
*/
public function set($env, $value = null)
{
if (is_array($env)) {
foreach ($env as $key => $val) {
if (is_array($val)) {
foreach ($val as $k => $v) {
$this->data[$key . '.' . $k] = $v;
}
} else {
$this->data[$key] = $val;
}
}
} else {
$name = strtoupper(str_replace('.', '_', $env));
$this->data[$name] = $value;
}
}
}
+401
View File
@@ -0,0 +1,401 @@
body {
position: relative;
background-color: #F6F6F6;
}
.mounted {
background-color: #F6F6F6;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-bottom: 17px;
margin-top: 70px;
}
.header {
display: flex;
flex-direction: row;
background-color: #F6F6F6;
padding: 14px 39px;
}
.mounted-box {
display: flex;
width: 940px;
min-height: 611px;
background-color: white;
padding: 15px 30px 24px;
flex-direction: column;
align-items: center;
box-shadow:3px 2px 20px rgba(0,0,0,0.08);
}
.mounted-title {
font-size: 18px;
color: #222222;
font-weight: Bold;
}
.mounted-container {
width: 940px;
display: flex;
flex-direction: column;
justify-content: center;
}
.mounted-nav {
display: flex;
justify-content: center;
margin-top: 15px;
}
.mounted-nav .active {
color: white;
background-color: #2C85EA;
border: 1px solid #2C85EA !important;
}
.mounted-nav li:nth-of-type(even) {
width: 140px;
height: 36px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
font-family: PingFang SC;
border-top: 1px solid #E5E5E5;
border-bottom: 1px solid #E5E5E5;
}
.mounted-nav li:nth-of-type(odd) {
width: 140px;
height: 36px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
font-family: PingFang SC;
border: 1px solid #E5E5E5;
}
.mounted-nav li:last-child {
border-right: 1px solid #E5E5E5;
}
.mounted-content-item {
margin-top: 15px;
/* border:1px solid #E5E5E5; */
display: none;
}
.content-header {
background-color: #E5E5E5;
padding: 8px 16px;
font-family: PingFang SC;
}
.content {
padding: 16px;
height: 392px;
border: 1px solid #E5E5E5;
overflow-y: auto;
}
.content h2 {
font-size: 20px;
}
.content p {
font-size: 14px;
}
.content h3 {
font-size: 16px;
}
.mt6 {
margin-top: 6px;
}
.mt16 {
margin-top: 16px;
}
.content-form {
padding: 23px 60px;
border: 1px solid #E5E5E5;
}
.form-box-item {
display: flex;
align-items: center;
height: 40px;
}
.form-box-item:not(:nth-of-type(1)) {
display: flex;
align-items: center;
height: 40px;
margin-top: 16px;
}
.form-desc {
width: 60px;
font-size: 12px;
margin-right: 16px;
text-align: right;
}
.form-box-item div input {
width:328px;
height: 32px;
padding-left: 20px;
}
.cancel-btn {
padding: 7px 28px;
background-color: white;
border: 1px solid #D7D7D7;
cursor: pointer;
}
.accept-btn {
padding: 7px 28px;
color: white;
background-color: #2C85EA;
border: none;
flex: none;
cursor: pointer;
}
.disabled-btn {
padding: 7px 28px;
color: #222222;
background-color: #D7D7D7;
border: none;
flex: none;
display: flex;
align-items: center;
border:1px solid #D7D7D7;
}
.item-btn-group {
display: none;
margin-top: 20px;
}
.show {
display: block !important;
}
.hidden {
display: none !important;
}
.form-box-check {
display: flex;
align-items: center;
margin-top: 12px;
}
footer {
font-size: 12px;
margin-bottom: 20px;
color:#707070;
font-weight: 400;
display: flex;
justify-content: center;
background-color: #F6F6F6;
}
.layui-table {
margin: 0;
}
.layui-table tr {
background-color: white !important;
}
.layui-table tr td{
font-size: 12px;
font-family:PingFang SC;
line-height:20px;
background-color: white !important;
}
.layui-table tr th {
font-size: 14px;
font-family:PingFang SC;
font-weight:bold;
line-height:20px;
}
.mounted-env-container {
height: 440px;
padding-bottom: 20px;
overflow-y: auto;
}
.mounted-tips {
padding: 15px 24px;
color: #2C85EA;
background-color: #eef4ff;
}
.mounting-container {
padding: 16px;
height: 479px;
max-height: 479px;
border: 1px solid #E5E5E5;
overflow-y: auto;
}
.item-cell {
padding: 4px 16px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.green{
color: #11d55c;
}
.wrong {
color: #FC4D4D;
}
.layui-icon {
font-size: 18px !important;
}
.success-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 392px;
border: 1px solid #E5E5E5;
}
img {
width: 100%;
height: 100%;
}
.success-content .tips {
width: 400px;
height: 80px;
padding: 9px 18px;
background-color: #F8F8F8;
font-size: 12px;
margin-top: 10px;
}
.success-content .btn-group {
display: flex;
align-items: center;
margin-top: 40px;
}
.success-content .result {
font-size:20px;
font-family:PingFang SC;
font-weight:bold;
line-height:28px;
}
.success-content .btn-group .store-btn {
padding: 7px 35px;
border: 1px solid #2C85EA;
background-color: white;
color: #2C85EA;
cursor: pointer;
}
.success-content .btn-group .btn {
padding: 7px 35px;
border: 1px solid #2C85EA;
background-color: #2C85EA;
color: white;
cursor: pointer;
}
.mounted-footer {
width: 940px;
background-color: white;
padding: 16px 30px 23px;
margin-top: 16px;
box-shadow:3px 2px 20px rgba(0,0,0,0.08);
display: none;
}
.mounted-footer-title {
font-size: 18px;
line-height: 25px;
margin-bottom: 16px;
}
.mounted-recommend-box {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
}
.mounted-recommend-item {
display: flex;
justify-content: center;
align-items: center;
width: 224px;
height: 140px;
border:1px solid #D7D7D7;
cursor: pointer;
}
.mounted-recommend-item .icon {
width: 128px;
height: 36px;
}
.mounted-recommend-item:hover {
background-color: #F6F9FF;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
width: 224px;
height: 140px;
}
.mounted-recommend-item:hover .icon{
display: none;
}
.recommend-content {
display: none;
}
.mounted-recommend-item:hover .recommend-content {
display: block;
padding: 6px 10px 10px;
}
.mounted-recommend-item:hover .recommend-content .title {
font-size: 16px;
line-height: 22px;
font-weight: bold;
}
.mounted-recommend-item:hover .recommend-content ul {
list-style-type: disc;
margin-left: 20px;
}
.mounted-recommend-item:hover .recommend-content li {
list-style-type: disc;
}
File diff suppressed because it is too large. Load diff
+259
View File
@@ -0,0 +1,259 @@
SET FOREIGN_KEY_CHECKS=0;
INSERT INTO `ls_activity_area` (`id`,`name`,`title`,`image`,`status`,`create_time`,`update_time`,`del`) VALUES (1,'热销榜单','开学季必备','/uploads/images/background/20201210/a3bf099101793a2e0bfe087b92e51403.png',1,1607587777,1607588071,0);
INSERT INTO `ls_activity_area` (`id`,`name`,`title`,`image`,`status`,`create_time`,`update_time`,`del`) VALUES (2,'品牌闪购','享惊喜折扣','/uploads/images/background/20201210/6768915899c1f445e43c886ad5e8668a.png',1,1607588059,NULL,0);
INSERT INTO `ls_activity_area` (`id`,`name`,`title`,`image`,`status`,`create_time`,`update_time`,`del`) VALUES (3,'新品首发','抢惊喜福利','/uploads/images/background/20201210/4b06036c7e6c8f653a51fd94d4cb5bc5.png',1,1607588142,NULL,0);
INSERT INTO `ls_activity_goods` ( `id`, `activity_id`, `goods_id`, `create_time`, `update_time`, `del` ) VALUES ( 1, 1, 1, 1607588194, NULL, 0 );
INSERT INTO `ls_activity_goods` ( `id`, `activity_id`, `goods_id`, `create_time`, `update_time`, `del` ) VALUES ( 2, 2, 9, 1607588206, NULL, 0 );
INSERT INTO `ls_activity_goods` ( `id`, `activity_id`, `goods_id`, `create_time`, `update_time`, `del` ) VALUES ( 3, 3, 10, 1607588218, NULL, 0 );
INSERT INTO `ls_activity_goods` ( `id`, `activity_id`, `goods_id`, `create_time`, `update_time`, `del` ) VALUES ( 4, 1, 8, 1607588231, NULL, 0 );
INSERT INTO `ls_activity_goods` ( `id`, `activity_id`, `goods_id`, `create_time`, `update_time`, `del` ) VALUES ( 5, 2, 3, 1607588241, NULL, 0 );
INSERT INTO `ls_activity_goods` ( `id`, `activity_id`, `goods_id`, `create_time`, `update_time`, `del` ) VALUES ( 6, 3, 7, 1607588250, NULL, 0 );
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (1,'妥妥的',1,1,'/uploads/images/background/20201210/1fd2fe53cd9953f78dc312165713dd2d.png',1,'0',NULL,1,0,0,50,1605520417,1607589473,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (2,'分销会员',3,3,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1605521571,1607589667,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (3,'广告广告',2,2,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1605521876,1607589488,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (7,'秒杀广告',16,2,'/uploads/images/background/20201210/1fd2fe53cd9953f78dc312165713dd2d.png',1,'0',NULL,1,0,0,50,1605580755,1607589707,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (8,'热销榜单',17,2,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1605581057,1607589703,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (9,'分类',6,3,'/uploads/images/background/20201210/1fd2fe53cd9953f78dc312165713dd2d.png',1,'1',NULL,1,0,0,50,1605583712,1607589673,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (10,'秒杀',18,2,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1605592289,1607589692,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (11,'味儿',18,2,'/uploads/images/background/20201210/1fd2fe53cd9953f78dc312165713dd2d.png',1,'0',NULL,1,0,0,50,1605592579,1607589688,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (12,'测试',4,1,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1605775436,1607589463,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (13,'智能',16,2,'/uploads/images/background/20201210/1fd2fe53cd9953f78dc312165713dd2d.png',1,'0',NULL,1,0,0,50,1605854094,1607589699,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (14,'秒杀广告位',14,1,'/uploads/images/background/20201210/a664cf34b0a5f5de424ab24701f41c5a.jpeg',1,'0',NULL,1,0,0,50,1605855781,1607589445,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (15,'秒杀广告2',14,1,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1605855818,1607589423,0);
INSERT INTO `ls_ad` (`id`,`name`,`pid`,`client`,`image`,`link_type`,`link`,`category_id`,`status`,`start_time`,`end_time`,`sort`,`create_time`,`update_time`,`del`) VALUES (16,'活动开启',4,1,'/uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1,'0',NULL,1,0,0,50,1606443246,1607589404,0);
INSERT INTO `ls_article` (`id`,`cid`,`title`,`synopsis`,`image`,`is_notice`,`content`,`visit`,`sort`,`is_show`,`create_time`,`update_time`,`del`,`likes`) VALUES (1,1,'电商商城管理规章制度','电商商城管理规章制度','/uploads/images/background/20201210/5b82112f4d294b11b80da87edd422772.jpg',1,'<p style=\"text-align: justify;\"><span class=\"bjh-p\">今年,以直播带货为代表的“内容+电商”成为淘宝、京东等电商平台和以央视为代表的媒体共同探索的变现新渠道。</span></p><p style=\"text-align: justify;\"><span class=\"bjh-p\">作为产业门类齐全、产业规模庞大的新型主流媒体及综合文化产业集团,SMG如何利用广电平台多渠道流量矩阵创新全域营销玩法?</span></p><p style=\"text-align: justify;\"><span class=\"bjh-p\">一切都在11月27日B+商城举办的“没内容,不电商”发布会上揭晓。从7月初成立至今,B+商城以东方购物视频电商为基础,依托SMG既有的相关服务能力和体系,面向都市成熟人群和家庭需求,正在向“魔都”生活第一入口的方向迈进。它的成长体现了SMG内容和渠道打通、大屏和小屏联动所发挥的巨大效应。</span></p><div><span class=\"bjh-p\"><br></span></div>',2,10,1,1607568471,NULL,0,0);
INSERT INTO `ls_article` (`id`,`cid`,`title`,`synopsis`,`image`,`is_notice`,`content`,`visit`,`sort`,`is_show`,`create_time`,`update_time`,`del`,`likes`) VALUES (2,1,'双12活动预告~~~','双12活动预告~~~','/uploads/images/background/20201210/a664cf34b0a5f5de424ab24701f41c5a.jpeg',1,'<p>LikeShop商城定于2020-12-12日开启限量五折活动,不要错过哦!!!</p><p>届时会有大牌明星在线派送现金礼包!!!</p>',1,9,1,1607568882,NULL,0,0);
INSERT INTO `ls_article_category` (`id`,`name`,`sort`,`is_show`,`create_time`,`update_time`,`del`) VALUES (1,'商城公告',0,1,1607568395,NULL,0);
INSERT INTO `ls_article_category` (`id`,`name`,`sort`,`is_show`,`create_time`,`update_time`,`del`) VALUES (2,'用户公告',0,1,1607568405,NULL,0);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (1,'marketing','invited_award_integral','10',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (2,'marketing','order_award_integral','20',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (3,'marketing','register_award_integral_status','1',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (4,'marketing','register_award_integral','20',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (5,'marketing','register_award_coupon_status','1',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (6,'marketing','register_award_coupon','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (7,'marketing','integral_deduction_status','1',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (8,'marketing','integral_deduction_money','0.01',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (9,'sign_rule','instructions','1.每天签到可以获得每天签到奖励;\n2.每日最多可签到1次,断签则会重新计算连签天数,达到连续天数后即可获得连续奖励;\n3.活动以及奖励最终解释权归商家所有。',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (10,'mnp','name','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (11,'mnp','original_id','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (12,'mnp','qr_code','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (13,'mnp','business_domain','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (14,'mnp','url','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (15,'mnp','token','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (16,'mnp','encoding_ses_key','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (17,'mnp','encryption_type','',NULL);
INSERT INTO `ls_config` (`id`,`type`,`name`,`value`,`update_time`) VALUES (18,'mnp','data_type','',NULL);
INSERT INTO `ls_coupon` (`id`,`name`,`send_time_start`,`send_time_end`,`money`,`condition_type`,`condition_money`,`send_total_type`,`send_total`,`use_time_type`,`use_time_start`,`use_time_end`,`use_time`,`get_type`,`get_num_type`,`get_num`,`use_goods_type`,`status`,`create_time`,`update_time`,`del`) VALUES (1,'满500可用',1607588307,1639065600,500.00,2,500.00,1,0,1,1607588325,1639065600,0,1,1,0,1,1,1607588370,1607588370,0);
INSERT INTO `ls_coupon` (`id`,`name`,`send_time_start`,`send_time_end`,`money`,`condition_type`,`condition_money`,`send_total_type`,`send_total`,`use_time_type`,`use_time_start`,`use_time_end`,`use_time`,`get_type`,`get_num_type`,`get_num`,`use_goods_type`,`status`,`create_time`,`update_time`,`del`) VALUES (2,'满50可用',1607588378,1623945600,5.00,2,50.00,2,2000,2,0,0,10,1,2,10,1,1,1607588445,1607588445,0);
INSERT INTO `ls_coupon` (`id`,`name`,`send_time_start`,`send_time_end`,`money`,`condition_type`,`condition_money`,`send_total_type`,`send_total`,`use_time_type`,`use_time_start`,`use_time_end`,`use_time`,`get_type`,`get_num_type`,`get_num`,`use_goods_type`,`status`,`create_time`,`update_time`,`del`) VALUES (3,'新人专享',1607588457,1671783661,10.00,2,10.00,1,0,2,0,0,10,1,2,1,1,1,1607588498,1607588498,0);
INSERT INTO `ls_coupon` (`id`,`name`,`send_time_start`,`send_time_end`,`money`,`condition_type`,`condition_money`,`send_total_type`,`send_total`,`use_time_type`,`use_time_start`,`use_time_end`,`use_time`,`get_type`,`get_num_type`,`get_num`,`use_goods_type`,`status`,`create_time`,`update_time`,`del`) VALUES (4,'大牌商品专享',1607588529,1619107200,500.00,2,5000.00,2,600,2,0,0,10,1,3,0,2,1,1607588599,1607588599,0);
INSERT INTO `ls_coupon` (`id`,`name`,`send_time_start`,`send_time_end`,`money`,`condition_type`,`condition_money`,`send_total_type`,`send_total`,`use_time_type`,`use_time_start`,`use_time_end`,`use_time`,`get_type`,`get_num_type`,`get_num`,`use_goods_type`,`status`,`create_time`,`update_time`,`del`) VALUES (5,'后台赠送',1607588613,1640361600,500.00,1,0.00,1,0,2,0,0,10,2,1,0,1,1,1607588676,1607588676,0);
INSERT INTO `ls_coupon_goods` (`id`,`coupon_id`,`goods_id`,`create_time`) VALUES (1,4,9,1607588599);
INSERT INTO `ls_dev_region` (`id`,`parent_id`,`level`,`name`,`short`,`city_code`,`zip_code`,`gcj02_lng`,`gcj02_lat`,`db09_lng`,`db09_lat`,`remark1`,`remark2`) VALUES (100000,0,0,'中国','中国',NULL,NULL,'116.3683244','39.915085','116.374821','39.92105','行政区',NULL);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (1,'home_icon_@3x.png',0,1,'uploads/images/background/20201210/b80089e7224871ee70ef7014453b6a28.png',1607566134,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (2,'home_icon_collect@3x(1).png',0,1,'uploads/images/background/20201210/643833719ae963e6a9035e4b98a6279c.png',1607566134,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (3,'home_icon_member@3x.png',0,1,'uploads/images/background/20201210/1fbb2fb37597896efd7b95506ed7cdda.png',1607566134,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (4,'home_icon_collect@3x.png',0,1,'uploads/images/background/20201210/3a3228fcfdb8fa0808a9e67b6c43df53.png',1607566134,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (5,'home_icon_coupon@3x.png',0,1,'uploads/images/background/20201210/520c72e1a1d48cb088b0f070d77bc031.png',1607566134,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (6,'home_icon_newproduct@3x.png',0,1,'uploads/images/background/20201210/1668b4385dd0296ae033da6e6ad5f125.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (7,'home_icon_newproduct@3x(1).png',0,1,'uploads/images/background/20201210/bbd816d5b586cdeca8e87dd7c06e2fcf.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (8,'home_icon_sale@3x.png',0,1,'uploads/images/background/20201210/94a0d54ab18f3d93072c73a1e0dcba17.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (9,'home_icon_news@3x.png',0,1,'uploads/images/background/20201210/06332ce973851322e050de07a7b7631f.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (10,'home_icon_signIn@3x.png',0,1,'uploads/images/background/20201210/0158588a36f9f0ae6a58509f6dd0d80e.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (11,'banner@3x.png',0,1,'uploads/images/background/20201210/f0f1dc5b175b270c69ee86c52c37f00e.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (12,'icon_toutiao@3x.png',0,1,'uploads/images/background/20201210/c104274c93fc677e1705197574ac5be9.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (13,'No.1@3x.png',0,1,'uploads/images/background/20201210/2065def29f8a34d94635eb37422191c2.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (14,'No.2@3x.png',0,1,'uploads/images/background/20201210/d5ea0605f6c904aca66dca006694e088.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (15,'No.3@3x.png',0,1,'uploads/images/background/20201210/83294baa4cfa0fbc1e03653007828c67.png',1607566135,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (16,'icon_my_wallet@3x.png',0,1,'uploads/images/background/20201210/d650559b128bfca62870205445365ac8.png',1607567013,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (17,'icon_my_address@3x.png',0,1,'uploads/images/background/20201210/dd7b3e6885221f0c94a7092dc95e1f8f.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (18,'icon_my_collection@3x.png',0,1,'uploads/images/background/20201210/ad841b1109ad0d5a8f40585d47ecd8f2.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (19,'icon_my_huiyuan@3x.png',0,1,'uploads/images/background/20201210/29474ae22229ae68460c51466e47ce56.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (20,'icon_my_coupon@3x.png',0,1,'uploads/images/background/20201210/c03fd3359bcb6a575a479dc41a013fff.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (21,'icon_my_fahuo@3x.png',0,1,'uploads/images/background/20201210/f36785f5c21da9b0e2522b341b7d2daf.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (22,'icon_my_help@3x.png',0,1,'uploads/images/background/20201210/f6189105a4bfb39631e193a83047ad7a.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (23,'icon_my_kanjia@3x.png',0,1,'uploads/images/background/20201210/d01e2ab0defbad866f19420e6483f7b2.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (24,'icon_my_fenxiao@3x.png',0,1,'uploads/images/background/20201210/1226785362c5f02ef2616be8a1a5737a.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (25,'icon_my_payment@3x.png',0,1,'uploads/images/background/20201210/6658970c34316982a317f16a7a573a3d.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (26,'icon_my_pingjia@3x.png',0,1,'uploads/images/background/20201210/ead90dc1a6bb3c9a2ec20cb968c409ee.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (27,'icon_my_shouhou@3x.png',0,1,'uploads/images/background/20201210/739f6f1223c71a5ead9064ef61e48ab4.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (28,'icon_my_shouhuo@3x.png',0,1,'uploads/images/background/20201210/db7bb9bcd979c260cc9e4497ce260444.png',1607567023,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (29,'1212.jpg',0,1,'uploads/images/background/20201210/5b82112f4d294b11b80da87edd422772.jpg',1607568456,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (30,'1acd6abcaba4b25bcf91f2c8525905ed',0,1,'uploads/images/background/20201210/a664cf34b0a5f5de424ab24701f41c5a.jpeg',1607568678,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (31,'签到.png',0,1,'uploads/images/background/20201210/f7c7bdc7e0b7fc3d7fbd25d67bd6f7d3.png',1607568975,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (32,'icon_discount@3x.png',0,1,'uploads/images/background/20201210/35e522faf28bee80048703f4a9f97f99.png',1607569362,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (33,'icon_yunfei@3x.png',0,1,'uploads/images/background/20201210/001258dae3fb475ceecb294dfb0314fd.png',1607569362,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (34,'icon_customer@3x.png',0,1,'uploads/images/background/20201210/b993e87092f20dbc7b32536d6a867ccb.png',1607569362,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (35,'icon_coupon@3x.png',0,1,'uploads/images/background/20201210/a98c5a589526627f9458bdf4ed640bd9.png',1607569362,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (36,'icon_grade4@3x.png',0,1,'uploads/images/background/20201210/1bf35b2f5eacab8ac547b64218a6fdc9.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (37,'icon_grade3@3x.png',0,1,'uploads/images/background/20201210/79ee4347c8066f965c9ce7034f249cea.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (38,'icon_grade2@3x.png',0,1,'uploads/images/background/20201210/eab147f969fce1475d4892c57256f8ec.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (39,'bg_silverMember@3x.png',0,1,'uploads/images/background/20201210/b3ea3f1db613eecfe7ae8e0cf2c155b3.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (40,'5443.png',0,1,'uploads/images/background/20201210/263af68dbb3a7beb43d13273abddef59.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (41,'icon_grade@3x.png',0,1,'uploads/images/background/20201210/d74e01d4a8b86f331fcca2f485080353.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (42,'34532.png',0,1,'uploads/images/background/20201210/2bb17478228b324a613ffa3565a48737.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (43,'12424.png',0,1,'uploads/images/background/20201210/e00c91e6d52bcf8fc117bf9d4cc8213d.png',1607569662,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (44,'1607569881(1).png',0,1,'uploads/images/background/20201210/dd2610485ad76c0d24f88f8ce58d3dd5.png',1607569911,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (45,'1607570636(1).png',0,1,'uploads/images/background/20201210/2dad83f2345046d47045c160a3db6896.png',1607570661,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (46,'1607570777(1).png',0,1,'uploads/images/background/20201210/10b16861c6eeb1e9a744b86dd69b051f.png',1607570792,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (47,'1607570850(1).png',0,1,'uploads/images/background/20201210/8529fda6cb6c3cf62c084df9c7c911a9.png',1607570882,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (48,'1607570949(1).png',0,1,'uploads/images/background/20201210/720a002e5c6bdf95a2dd3c31737d0e57.png',1607571037,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (49,'晨光中性笔.png',0,1,'uploads/images/background/20201210/dceddf4cb321cf612eee441477d3b93f.png',1607571355,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (50,'晨光铅笔.png',0,1,'uploads/images/background/20201210/47829c77b7b5135de799182d1c197746.png',1607571557,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (51,'1607571648(1).png',0,1,'uploads/images/background/20201210/45b6bb2224e4051ecf407cabb54cd781.png',1607571735,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (52,'1607571666(1).png',0,1,'uploads/images/background/20201210/910e9d4fc9f10c7a11825315785c555d.png',1607571735,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (53,'1607571971(1).png',0,1,'uploads/images/background/20201210/e645ff4cbef1fae6a6169624029eb214.png',1607572040,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (54,'1607571961(1).png',0,1,'uploads/images/background/20201210/c55d952325ac38959c57e127d97c5592.png',1607572040,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (55,'1607571942(1).png',0,1,'uploads/images/background/20201210/5a23d75c44ef8c293aa2a1bed1f10e41.png',1607572040,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (56,'1607571984(1).png',0,1,'uploads/images/background/20201210/3261d7a8935ca47e0f19b354a36bab79.png',1607572040,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (57,'1607572189(1).png',0,1,'uploads/images/background/20201210/a3bf099101793a2e0bfe087b92e51403.png',1607572240,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (58,'1607572177(1).png',0,1,'uploads/images/background/20201210/6515fd4b2e7a1932f76ec5232fe22fdf.png',1607572240,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (59,'1607572168(1).png',0,1,'uploads/images/background/20201210/2d62627fef767a38034162c066f9c253.png',1607572240,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (60,'1607572367(1).png',0,1,'uploads/images/background/20201210/d97a7d56854eb8cd5afa228b1d9608c3.png',1607572407,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (61,'1607572344(1).png',0,1,'uploads/images/background/20201210/956e95bc35d0a8005255889036e9aae5.png',1607572407,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (62,'1607572356(1).png',0,1,'uploads/images/background/20201210/4b06036c7e6c8f653a51fd94d4cb5bc5.png',1607572407,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (63,'1607572740(1).png',0,1,'uploads/images/background/20201210/551c831039db5df10f16bbd40ba0ebc0.png',1607572887,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (64,'1607572776(1).png',0,1,'uploads/images/background/20201210/532a61a9cb3294ea13015c11e51d243f.png',1607572887,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (65,'1607572754(1).png',0,1,'uploads/images/background/20201210/2ff3147b913abbcbb39646de816eb5d2.png',1607572887,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (66,'1607580094(1).png',0,1,'uploads/images/background/20201210/ccd5fe4fe21804ee7e33174cf347bbb2.png',1607580122,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (67,'1607580094.png',0,1,'uploads/images/background/20201210/d0fd78d3b5de45b870f43b6db3d5a0be.png',1607580122,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (68,'1607580094(2).png',0,1,'uploads/images/background/20201210/6c7921165fab863c86018878e839bc60.png',1607580122,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (69,'1607584417(1).png',0,1,'uploads/images/background/20201210/5e11c751c7e662764764e132ab6a8f72.png',1607584436,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (70,'1607584630(1).png',0,1,'uploads/images/background/20201210/4985ef90fea9fc132e37af97a1f0597f.png',1607584686,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (71,'1607584620.png',0,1,'uploads/images/background/20201210/3f25d88bc10820af2fb3583484de06c8.png',1607584686,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (72,'1607585000(1).png',0,1,'uploads/images/background/20201210/63d91cdfdb659e57a10a99d1cf44567e.png',1607585026,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (73,'1607585522.png',0,1,'uploads/images/background/20201210/1860d0763b8703121d93cf0b8a3e1e1e.png',1607585551,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (74,'1607585516(1).png',0,1,'uploads/images/background/20201210/989bbc585e0eaa435d1c0486008ad52a.png',1607585551,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (75,'1607585516(2).png',0,1,'uploads/images/background/20201210/f245c44d136296f80071a26765e93cdf.png',1607585551,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (76,'1607585816(1).png',0,1,'uploads/images/background/20201210/254590f48981940296d63640c64cae83.png',1607585908,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (77,'1607585802(1).png',0,1,'uploads/images/background/20201210/6768915899c1f445e43c886ad5e8668a.png',1607585908,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (78,'1607585829(1).png',0,1,'uploads/images/background/20201210/930d0719e718db9bfaf2f3acacc1fbe8.png',1607585908,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (79,'88bc1a42240ee3aba127b3fc3410d9a5',0,1,'uploads/images/background/20201210/386e909e5887dcaffe99a6200d591394.png',1607589348,0,0);
INSERT INTO `ls_file` (`id`,`name`,`cate_id`,`type`,`uri`,`create_time`,`del`,`partner_id`) VALUES (80,'1acd6abcaba4b25bcf91f2c8525905ed',0,1,'uploads/images/background/20201210/1fd2fe53cd9953f78dc312165713dd2d.png',1607589434,0,0);
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (1,'晨光中性笔笔芯黑0.5mm黑色碳素签字笔GP-1008按动式水笔学生考试用蓝黑医生处方笔教师专用红笔圆珠笔文具','2646541621',1,4,9,1,1,1,'/uploads/images/background/20201210/45b6bb2224e4051ecf407cabb54cd781.png',NULL,NULL,'耐用好书写','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i4.440377deK9wjsl\"><div class=\"name\" data-spm-anchor-id=\"a220o.1000855.0.i3.440377deK9wjsl\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105529784&amp;type=0&amp;scm=1048.1.1.4\">M&G/晨光</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li id=\"J_attrBrandName\" title=\"&nbsp;M&G/晨光\">品牌:&nbsp;M&G/晨光</li><li title=\"&nbsp;GP1008\">型号:&nbsp;GP1008</li><li title=\"&nbsp;办公\">功能:&nbsp;办公</li><li title=\"&nbsp;按动\">闭合方式:&nbsp;按动</li><li title=\"&nbsp;黑色12支【送笔筒】&nbsp;黑笔2支+黑笔芯10支&nbsp;红色12支【送笔筒】&nbsp;蓝色12支【送笔筒】&nbsp;墨蓝色12支【送笔筒】&nbsp;颜色混拍12支(拍下请备注,无备注默认发4色各3支)【送笔筒】&nbsp;颜色混拍6支(拍下请备注,无备注默认发黑3支其他各1支)&nbsp;黑笔2支+黑笔芯20支&nbsp;红笔2支+红笔芯20支&nbsp;蓝笔2支+蓝笔芯20支&nbsp;0.38黑色6支装&nbsp;0.38黑色12支装【送笔筒】&nbsp;墨蓝笔2支+墨蓝笔芯20支&nbsp;黑色6支&nbsp;红色6支&nbsp;蓝色6支&nbsp;墨蓝色6支&nbsp;黑笔12支+黑笔芯20支【送笔筒】&nbsp;金品黑色6支装&nbsp;金品黑色12支装\">颜色分类:&nbsp;黑色12支【送笔筒】&nbsp;黑笔2支+黑笔芯10支&nbsp;红色12支【送笔筒】&nbsp;蓝色12支【送笔筒】&nbsp;墨蓝色12支【送笔筒】&nbsp;颜色混拍12支(拍下请备注,无备注默认发4色各3支)【送笔筒】&nbsp;颜色混拍6支(拍下请备注,无备注默认发黑3支其他各1支)&nbsp;黑笔2支+黑笔芯20支&nbsp;红笔2支+红笔芯20支&nbsp;蓝笔2支+蓝笔芯20支&nbsp;0.38黑色6支装&nbsp;0.38黑色12支装【送笔筒】&nbsp;墨蓝笔2支+墨蓝笔芯20支&nbsp;黑色6支&nbsp;红色6支&nbsp;蓝色6支&nbsp;墨蓝色6支&nbsp;黑笔12支+黑笔芯20支【送笔筒】&nbsp;金品黑色6支装&nbsp;金品黑色12支装</li><li title=\"&nbsp;0.5mm\">书写粗细:&nbsp;0.5mm</li><li title=\"&nbsp;黑色&nbsp;红色&nbsp;蓝色&nbsp;墨蓝\">笔芯颜色:&nbsp;黑色&nbsp;红色&nbsp;蓝色&nbsp;墨蓝</li><li title=\"&nbsp;否\">是否可擦:&nbsp;否</li><li title=\"&nbsp;盒装\">包装方式:&nbsp;盒装</li><li title=\"&nbsp;晨光文具\">生产企业:&nbsp;晨光文具</li><li title=\"&nbsp;AGP02301\">货号:&nbsp;AGP02301</li><li title=\"&nbsp;日常书写&nbsp;备考\">适用场景:&nbsp;日常书写&nbsp;备考</li><li title=\"&nbsp;12支\">支数:&nbsp;12支</li><li title=\"&nbsp;小学生&nbsp;中学生\">适用人群:&nbsp;小学生&nbsp;中学生</li><li title=\"&nbsp;塑料\">笔杆材质:&nbsp;塑料</li><li title=\"&nbsp;子弹头型\">笔头类型:&nbsp;子弹头型</li><li title=\"&nbsp;水性墨水\">适用墨水类型:&nbsp;水性墨水</li><li title=\"&nbsp;否\">墨水是否速干:&nbsp;否</li><li title=\"&nbsp;滚珠式\">出墨方式:&nbsp;滚珠式</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><a name=\"hnhb_35262147071570768519_start\"></a><div class=\"J_TWidget maGong\" data-title=\"\"><div class=\"J_TWidget abs_father\"><div class=\"abs_father abs sn-simple-logo\"><div class=\"abs sn-simple-logo\"><img src=\"https://img.alicdn.com/imgextra/i3/3526214707/O1CN01bqIvqE1kdqodqmbyw_!!3526214707.jpg\" usemap=\"#GGQDK\" class=\"img-ks-lazyload\"><map name=\"GGQDK\"><area shape=\"rect\" coords=\"6,1459,395,1954\" href=\"https://detail.tmall.com/item.htm?spm=a1z10.3-b-s.w4011-18816637352.54.35b02c1di2LqW3&amp;id=562104876494&amp;rn=f5f37d71881463703d64fdf111995028&amp;abbucket=Line truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (2,'晨光文具速干中性笔直液式签字笔学生考试大容量全针管子弹头水笔直液式笔黑色0.5/0.38','75687',1,4,9,1,1,1,'/uploads/images/background/20201210/5a23d75c44ef8c293aa2a1bed1f10e41.png',NULL,NULL,'好用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i2.4a277eb8mClAGN\"><div class=\"name\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105529784&amp;type=0&amp;scm=1048.1.1.4\">M&G/晨光</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li id=\"J_attrBrandName\" title=\"&nbsp;M&G/晨光\">品牌:&nbsp;M&G/晨光</li><li title=\"&nbsp;ARP57501A\">型号:&nbsp;ARP57501A</li><li title=\"&nbsp;速干\">功能:&nbsp;速干</li><li title=\"&nbsp;0.5mm子弹头黑色6支装&nbsp;0.5mm全针管黑色6支装&nbsp;0.5mm全针管黑色12支装(新老款随机)&nbsp;0.5mm子弹头黑色12支装&nbsp;0.5mm黑色6支装(外观颜色随机)&nbsp;0.4mm黑色6支装(外观颜色随机)&nbsp;0.38mm黑色12支装(外观颜色随机)&nbsp;0.5mm黑色12支装(外观颜色随机)&nbsp;替芯黑色 10支装\">颜色分类:&nbsp;0.5mm子弹头黑色6支装&nbsp;0.5mm全针管黑色6支装&nbsp;0.5mm全针管黑色12支装(新老款随机)&nbsp;0.5mm子弹头黑色12支装&nbsp;0.5mm黑色6支装(外观颜色随机)&nbsp;0.4mm黑色6支装(外观颜色随机)&nbsp;0.38mm黑色12支装(外观颜色随机)&nbsp;0.5mm黑色12支装(外观颜色随机)&nbsp;替芯黑色 10支装</li><li title=\"&nbsp;0.5mm\">书写粗细:&nbsp;0.5mm</li><li title=\"&nbsp;黑色&nbsp;红色&nbsp;蓝色\">笔芯颜色:&nbsp;黑色&nbsp;红色&nbsp;蓝色</li><li title=\"&nbsp;否\">是否可擦:&nbsp;否</li><li title=\"&nbsp;晨光文具\">生产企业:&nbsp;晨光文具</li><li title=\"&nbsp;ARP57501\">货号:&nbsp;ARP57501</li><li title=\"&nbsp;日常书写&nbsp;备考\">适用场景:&nbsp;日常书写&nbsp;备考</li><li title=\"&nbsp;12支\">支数:&nbsp;12支</li><li title=\"&nbsp;大学生&nbsp;商务办公人士\">适用人群:&nbsp;大学生&nbsp;商务办公人士</li><li title=\"&nbsp;是\">墨水是否速干:&nbsp;是</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"23276204330\" id=\"shop23276204330\" data-componentid=\"5003\" data-spm=\"110.0.5003-23276204330\" microscope-data=\"5003-23276204330\" data-title=\"自定义内容区\"><div class=\"skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined\"><s class=\"skin-box-tp\"><b></b></s><div class=\"skin-box-bd clear-fix\"><div class=\"rel\" data-title=\"power by junezx 3.0\" data-rn=\"alnjH\"><a class=\"jsib abs a0Auo-VfMx\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-VfMx\"></a><a class=\"jdb abs a0Auo-weZe\" href=\"https://detail.tmall.com/item.htm?id=627740950878&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-weZe\"></a><a class=\"jdb abs a0Auo-d9p7\" href=\"https://detail.tmall.com/item.htm?id=631257030944&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-d9p7\"></a><a class=\"jdb abs a0Auo-95xd\" href=\"https://detail.tmall.com/item.htm?id=600754691350&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-95xd\"></a><a class=\"jdb abs a0Auo-rTvT\" href=\"https://detail.tmall.com/item.htm?id=591204959642&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-rTvT\"></a><a class=\"jdb abs a0Auo-Suog\" href=\"https://detail.tmall.com/item.htm?id=611893635921&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-Suog\"></a><a class=\"jdb abs a0Auo-nrwW\" href=\"https://detail.tmall.com/item.htm?id=571300231971&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-nrwW\"></a></div></div><s class=\"skin-box-bt\"><b></b></s></div></div></div></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-pLine truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (3,'晨光文具经典六角木杆铅笔中小学生考试绘图铅笔 2B铅笔练字笔20支 AWP35715','654161',1,4,10,1,1,1,'/uploads/images/background/20201210/2d62627fef767a38034162c066f9c253.png',NULL,NULL,'好用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i2.99cd68a70vn9mz\"><div class=\"name\" data-spm-anchor-id=\"a220o.1000855.0.i4.99cd68a70vn9mz\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105529784&amp;type=0&amp;scm=1048.1.1.4\">M&G/晨光</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li title=\"M&G/晨光 AWP35715\">产品名称:M&G/晨光 AWP35715</li><li id=\"J_attrBrandName\" title=\"&nbsp;M&G/晨光\">品牌:&nbsp;M&G/晨光</li><li title=\"&nbsp;AWP35715\">晨光型号:&nbsp;AWP35715</li><li title=\"&nbsp;其他\">包装种类:&nbsp;其他</li><li title=\"&nbsp;六角杆 2B 2包(20支)&nbsp;六角杆 2B 30支装\">颜色分类:&nbsp;六角杆 2B 2包(20支)&nbsp;六角杆 2B 30支装</li><li title=\"&nbsp;晨光文具\">生产企业:&nbsp;晨光文具</li><li title=\"&nbsp;2B\">笔芯硬度:&nbsp;2B</li><li title=\"&nbsp;书写&nbsp;考试专用\">适用场景:&nbsp;书写&nbsp;考试专用</li><li title=\"&nbsp;10支\">支数:&nbsp;10支</li><li title=\"&nbsp;单色\">颜色数:&nbsp;单色</li><li title=\"&nbsp;gb国标标准\">安全标准:&nbsp;gb国标标准</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"23276204330\" id=\"shop23276204330\" data-componentid=\"5003\" data-spm=\"110.0.5003-23276204330\" microscope-data=\"5003-23276204330\" data-title=\"自定义内容区\"><div class=\"skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined\"><s class=\"skin-box-tp\"><b></b></s><div class=\"skin-box-bd clear-fix\"><div class=\"rel\" data-title=\"power by junezx 3.0\" data-rn=\"alnjH\"><a class=\"jsib abs a0Auo-VfMx\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-VfMx\"></a><a class=\"jdb abs a0Auo-weZe\" href=\"https://detail.tmall.com/item.htm?id=627740950878&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-weZe\"></a><a class=\"jdb abs a0Auo-d9p7\" href=\"https://detail.tmall.com/item.htm?id=631257030944&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-d9p7\"></a><a class=\"jdb abs a0Auo-95xd\" href=\"https://detail.tmall.com/item.htm?id=600754691350&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-95xd\"></a><a class=\"jdb abs a0Auo-rTvT\" href=\"https://detail.tmall.com/item.htm?id=591204959642&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-rTvT\"></a><a class=\"jdb abs a0Auo-Suog\" href=\"https://detail.tmall.com/item.htm?id=611893635921&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-Suog\"></a><a class=\"jdb abs a0Auo-nrwW\" href=\"https://detail.tmall.com/item.htm?id=571300231971&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-nrwW\"></a></div></div><s class=\"skin-box-bt\"><b></b></s></div></div></div></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><p><img src=\"https://img.alicdn.com/imgextra/i1/682114580/O1CN01UZMdzf1jhgXJJMNic_!!682114580.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" data-spm-anchor-id=\"a220o.1000855.0.i3.99cd68a70vn9mz\"><img src=\"https://img.alicdn.com/imgextra/i4/682114580/O1CN01xseJHg1jhgXOdNiME_!!682114580.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\"><img src=\"https://img.alicdn.com/imgextra/i1/682114580/O1CN01Ny1E3X1jhgXDmsuri_!!682114580.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\"><img src=\"https://img.alicdn.com/imgextra/i1/682114580/O1CN018JKuJ71jhgXOARXnX_!!682114580.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\"><img src=\"https://img.alicdn.com/imgextra/i4/682114580/O1CN01ipHvdk1Line truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (4,'晨光文具可削铅笔 六角2B 红黑抽条 木杆铅笔 儿童铅笔 AWP30804','62649526',1,4,10,1,1,1,'/uploads/images/background/20201210/4b06036c7e6c8f653a51fd94d4cb5bc5.png',NULL,NULL,'好用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\"><div class=\"name\" data-spm-anchor-id=\"a220o.1000855.0.i3.26c46d7d371Jfl\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105529784&amp;type=0&amp;scm=1048.1.1.4\">M&G/晨光</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li title=\"M&G/晨光 AWP30804\">产品名称:M&G/晨光 AWP30804</li><li id=\"J_attrBrandName\" title=\"&nbsp;M&G/晨光\">品牌:&nbsp;M&G/晨光</li><li title=\"&nbsp;AWP30804\">晨光型号:&nbsp;AWP30804</li><li title=\"&nbsp;2B 六角 10支装\">颜色分类:&nbsp;2B 六角 10支装</li><li title=\"&nbsp;石墨/普通铅笔\">笔类型:&nbsp;石墨/普通铅笔</li><li title=\"&nbsp;上海晨光文具股份有限公司\">生产企业:&nbsp;上海晨光文具股份有限公司</li><li title=\"&nbsp;2B\">笔芯硬度:&nbsp;2B</li><li title=\"&nbsp;书写\">适用场景:&nbsp;书写</li><li title=\"&nbsp;10支\">支数:&nbsp;10支</li><li title=\"&nbsp;单色\">颜色数:&nbsp;单色</li><li title=\"&nbsp;棕榈树\">笔杆材质:&nbsp;棕榈树</li><li title=\"&nbsp;gb国标标准\">安全标准:&nbsp;gb国标标准</li><li title=\"&nbsp;是\">是否带橡皮头:&nbsp;是</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"23276204330\" id=\"shop23276204330\" data-componentid=\"5003\" data-spm=\"110.0.5003-23276204330\" microscope-data=\"5003-23276204330\" data-title=\"自定义内容区\"><div class=\"skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined\"><s class=\"skin-box-tp\"><b></b></s><div class=\"skin-box-bd clear-fix\"><div class=\"rel\" data-title=\"power by junezx 3.0\" data-rn=\"alnjH\"><a class=\"jsib abs a0Auo-VfMx\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-VfMx\"></a><a class=\"jdb abs a0Auo-weZe\" href=\"https://detail.tmall.com/item.htm?id=627740950878&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-weZe\"></a><a class=\"jdb abs a0Auo-d9p7\" href=\"https://detail.tmall.com/item.htm?id=631257030944&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-d9p7\"></a><a class=\"jdb abs a0Auo-95xd\" href=\"https://detail.tmall.com/item.htm?id=600754691350&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-95xd\"></a><a class=\"jdb abs a0Auo-rTvT\" href=\"https://detail.tmall.com/item.htm?id=591204959642&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-rTvT\"></a><a class=\"jdb abs a0Auo-Suog\" href=\"https://detail.tmall.com/item.htm?id=611893635921&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-Suog\"></a><a class=\"jdb abs a0Auo-nrwW\" href=\"https://detail.tmall.com/item.htm?id=571300231971&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-nrwW\"></a></div></div><s class=\"skin-box-bt\"><b></b></s></div></div></div></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><p><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/682114580/TB2ceIhcW8lpuFjy0FpXXaGrpXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/682114580/TB2m0QbcYtlpuFjSspoXXbcDpXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i1/682114580/TB2M.v5c4XlpuFjSsphXXbJOXXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i4/682114580/TB22C7fc80kpuFjSsppXXcGTXXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i2/682114580/TB2oq.fcYVkpuFjSspcXXbSMVXaLine truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (5,'小米文具可削铅笔 六角2B 红黑抽条 木杆铅笔 儿童铅笔 AWP30804','57687878',1,5,12,4,1,1,'/uploads/images/background/20201210/956e95bc35d0a8005255889036e9aae5.png',NULL,NULL,'好用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i4.26c46d7d371Jfl\"><div class=\"name\" data-spm-anchor-id=\"a220o.1000855.0.i3.26c46d7d371Jfl\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105529784&amp;type=0&amp;scm=1048.1.1.4\">小米</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li title=\"M&G/晨光 AWP30804\">产品名称:小米&nbsp;AWP30804</li><li id=\"J_attrBrandName\" title=\"&nbsp;M&G/晨光\">品牌:&nbsp;小米</li><li title=\"&nbsp;AWP30804\">晨光型号:&nbsp;AWP30804</li><li title=\"&nbsp;2B 六角 10支装\">颜色分类:&nbsp;2B 六角 10支装</li><li title=\"&nbsp;石墨/普通铅笔\">笔类型:&nbsp;石墨/普通铅笔</li><li title=\"&nbsp;上海晨光文具股份有限公司\">生产企业:&nbsp;上海小米文具股份有限公司</li><li title=\"&nbsp;2B\">笔芯硬度:&nbsp;2B</li><li title=\"&nbsp;书写\">适用场景:&nbsp;书写</li><li title=\"&nbsp;10支\">支数:&nbsp;10支</li><li title=\"&nbsp;单色\">颜色数:&nbsp;单色</li><li title=\"&nbsp;棕榈树\">笔杆材质:&nbsp;棕榈树</li><li title=\"&nbsp;gb国标标准\">安全标准:&nbsp;gb国标标准</li><li title=\"&nbsp;是\">是否带橡皮头:&nbsp;是</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"23276204330\" id=\"shop23276204330\" data-componentid=\"5003\" data-spm=\"110.0.5003-23276204330\" microscope-data=\"5003-23276204330\" data-title=\"自定义内容区\"><div class=\"skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined\"><s class=\"skin-box-tp\"><b></b></s><div class=\"skin-box-bd clear-fix\"><div class=\"rel\" data-title=\"power by junezx 3.0\" data-rn=\"alnjH\"><a class=\"jsib abs a0Auo-VfMx\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-VfMx\"></a><a class=\"jdb abs a0Auo-weZe\" href=\"https://detail.tmall.com/item.htm?id=627740950878&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-weZe\"></a><a class=\"jdb abs a0Auo-d9p7\" href=\"https://detail.tmall.com/item.htm?id=631257030944&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-d9p7\"></a><a class=\"jdb abs a0Auo-95xd\" href=\"https://detail.tmall.com/item.htm?id=600754691350&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-95xd\"></a><a class=\"jdb abs a0Auo-rTvT\" href=\"https://detail.tmall.com/item.htm?id=591204959642&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-rTvT\"></a><a class=\"jdb abs a0Auo-Suog\" href=\"https://detail.tmall.com/item.htm?id=611893635921&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-Suog\"></a><a class=\"jdb abs a0Auo-nrwW\" href=\"https://detail.tmall.com/item.htm?id=571300231971&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-nrwW\"></a></div></div><s class=\"skin-box-bt\"><b></b></s></div></div></div></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><p><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/682114580/TB2ceIhcW8lpuFjy0FpXXaGrpXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i3/682114580/TB2m0QbcYtlpuFjSspoXXbcDpXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i1/682114580/TB2M.v5c4XlpuFjSsphXXbJOXXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgextra/i4/682114580/TB22C7fc80kpuFjSsppXXcGTXXa_!!682114580.jpg\" class=\"img-ks-lazyload\"><img align=\"absmiddle\" src=\"https://img.alicdn.com/imgexLine truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (6,'小米大容量一体式全针管中性笔办公签字笔5倍书写长度学生考试刷题作业神器水笔1支顶5支','65682',1,5,11,4,1,1,'/uploads/images/background/20201210/551c831039db5df10f16bbd40ba0ebc0.png',NULL,NULL,'好用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i2.4d5f7e4bNnGkrj\"><div class=\"name\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105529784&amp;type=0&amp;scm=1048.1.1.4\">小米</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li id=\"J_attrBrandName\" title=\"&nbsp;M&G/晨光\">品牌: 小米</li><li title=\"&nbsp;AGPV3401\">型号:&nbsp;AGPV3401</li><li title=\"&nbsp;盖帽\">闭合方式:&nbsp;盖帽</li><li title=\"&nbsp;蓝色30支盒装 8401&nbsp;红色30支盒装 8401&nbsp;黑色30支盒装 8401&nbsp;黑色12支 3401&nbsp;红色12支 3401&nbsp;蓝色12支 3401&nbsp;5501黑色12支盒装&nbsp;5501蓝色12支盒装&nbsp;5501红色12支盒装&nbsp;8401(黑色20支+蓝色5支+红色5支)\">颜色分类:&nbsp;蓝色30支盒装 8401&nbsp;红色30支盒装 8401&nbsp;黑色30支盒装 8401&nbsp;黑色12支 3401&nbsp;红色12支 3401&nbsp;蓝色12支 3401&nbsp;5501黑色12支盒装&nbsp;5501蓝色12支盒装&nbsp;5501红色12支盒装&nbsp;8401(黑色20支+蓝色5支+红色5支)</li><li title=\"&nbsp;0.5mm\">书写粗细:&nbsp;0.5mm</li><li title=\"&nbsp;黑色&nbsp;红色&nbsp;蓝色\">笔芯颜色:&nbsp;黑色&nbsp;红色&nbsp;蓝色</li><li title=\"&nbsp;否\">是否可擦:&nbsp;否</li><li title=\"&nbsp;盒装\">包装方式:&nbsp;盒装</li><li title=\"&nbsp;晨光文具\">生产企业:&nbsp;小米文具</li><li title=\"&nbsp;AGPV3401\">货号:&nbsp;AGPV3401</li><li title=\"&nbsp;日常书写&nbsp;办公\">适用场景:&nbsp;日常书写&nbsp;办公</li><li title=\"&nbsp;12支\">支数:&nbsp;12支</li><li title=\"&nbsp;中学生&nbsp;大学生\">适用人群:&nbsp;中学生&nbsp;大学生</li><li title=\"&nbsp;2019-09-30\">上市时间:&nbsp;2019-09-30</li><li title=\"&nbsp;塑料\">笔杆材质:&nbsp;塑料</li><li title=\"&nbsp;针管型\">笔头类型:&nbsp;针管型</li><li title=\"&nbsp;油性墨水\">适用墨水类型:&nbsp;油性墨水</li><li title=\"&nbsp;否\">墨水是否速干:&nbsp;否</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"23276204330\" id=\"shop23276204330\" data-componentid=\"5003\" data-spm=\"110.0.5003-23276204330\" microscope-data=\"5003-23276204330\" data-title=\"自定义内容区\"><div class=\"skin-box tb-module tshop-pbsm tshop-pbsm-shop-self-defined\"><s class=\"skin-box-tp\"><b></b></s><div class=\"skin-box-bd clear-fix\"><div class=\"rel\" data-title=\"power by junezx 3.0\" data-rn=\"alnjH\"><a class=\"jsib abs a0Auo-VfMx\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-VfMx\"></a><a class=\"jdb abs a0Auo-weZe\" href=\"https://detail.tmall.com/item.htm?id=627740950878&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-weZe\"></a><a class=\"jdb abs a0Auo-d9p7\" href=\"https://detail.tmall.com/item.htm?id=631257030944&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-d9p7\"></a><a class=\"jdb abs a0Auo-95xd\" href=\"https://detail.tmall.com/item.htm?id=600754691350&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-95xd\"></a><a class=\"jdb abs a0Auo-rTvT\" href=\"https://detail.tmall.com/item.htm?id=591204959642&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-rTvT\"></a><a class=\"jdb abs a0Auo-Suog\" href=\"https://detail.tmall.com/item.htm?id=611893635921&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-Suog\"></a><a class=\"jdb abs a0Auo-nrwW\" href=\"https://detail.tmall.com/item.htm?id=571300231971&amp;scene=taobao_shop\" target=\"_blank\" data-linkmode=\"ptlink\" data-appid=\"a0Auo-nrwW\"></a></div></div><s class=\"skin-box-Line truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (7,'得力直液式走珠笔0.5mm红色黑色中性笔学生用子弹头碳素笔全针管签字笔黑红笔水笔考试专用笔批发直液水性笔','2354385',1,6,13,3,1,1,'/uploads/images/background/20201210/d0fd78d3b5de45b870f43b6db3d5a0be.png',NULL,NULL,'好用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\"><div class=\"name\" data-spm-anchor-id=\"a220o.1000855.0.i2.4b5f5db9iBE0Mg\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=10446017&amp;type=0&amp;scm=1048.1.1.4\">Deli/得力</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li id=\"J_attrBrandName\" title=\"&nbsp;Deli/得力\">品牌:&nbsp;Deli/得力</li><li title=\"&nbsp;S656\">型号:&nbsp;S656</li><li title=\"&nbsp;盖帽\">闭合方式:&nbsp;盖帽</li><li title=\"&nbsp;子弹头(6支黑色)S656&nbsp;子弹头(6支蓝色)S656&nbsp;子弹头(6支红色)S656&nbsp;子弹头(12支黑色)S656&nbsp;子弹头(12支蓝色)S656&nbsp;子弹头(12支红色)S656&nbsp;子弹头(24支黑色)S656送笔筒1个&nbsp;子弹头(24支蓝色)S656送笔筒1个&nbsp;子弹头(24支红色)S656送笔筒1个&nbsp;全针管(6支黑色)S657&nbsp;全针管(6支蓝色)S657&nbsp;全针管(6支红色)S657&nbsp;全针管(12支黑色)S657&nbsp;全针管(12支蓝色)S657&nbsp;全针管(12支红色)S657&nbsp;全针管(24支黑色)S657送笔筒1个&nbsp;全针管(24支蓝色)S657送笔筒1个&nbsp;全针管(24支红色)S657送笔筒1个&nbsp;子弹头(3支黑色)S656&nbsp;子弹头(3支蓝色)S656&nbsp;子弹头(3支红色)S656&nbsp;全针管(3支黑色)S657&nbsp;全针管(3支蓝色)S657&nbsp;全针管(3支红色)S657\">颜色分类:&nbsp;子弹头(6支黑色)S656&nbsp;子弹头(6支蓝色)S656&nbsp;子弹头(6支红色)S656&nbsp;子弹头(12支黑色)S656&nbsp;子弹头(12支蓝色)S656&nbsp;子弹头(12支红色)S656&nbsp;子弹头(24支黑色)S656送笔筒1个&nbsp;子弹头(24支蓝色)S656送笔筒1个&nbsp;子弹头(24支红色)S656送笔筒1个&nbsp;全针管(6支黑色)S657&nbsp;全针管(6支蓝色)S657&nbsp;全针管(6支红色)S657&nbsp;全针管(12支黑色)S657&nbsp;全针管(12支蓝色)S657&nbsp;全针管(12支红色)S657&nbsp;全针管(24支黑色)S657送笔筒1个&nbsp;全针管(24支蓝色)S657送笔筒1个&nbsp;全针管(24支红色)S657送笔筒1个&nbsp;子弹头(3支黑色)S656&nbsp;子弹头(3支蓝色)S656&nbsp;子弹头(3支红色)S656&nbsp;全针管(3支黑色)S657&nbsp;全针管(3支蓝色)S657&nbsp;全针管(3支红色)S657</li><li title=\"&nbsp;0.5mm\">书写粗细:&nbsp;0.5mm</li><li title=\"&nbsp;黑色&nbsp;红色&nbsp;蓝色\">笔芯颜色:&nbsp;黑色&nbsp;红色&nbsp;蓝色</li><li title=\"&nbsp;否\">是否可擦:&nbsp;否</li><li title=\"&nbsp;盒装\">包装方式:&nbsp;盒装</li><li title=\"&nbsp;得力集团有限公司\">生产企业:&nbsp;得力集团有限公司</li><li title=\"&nbsp;S656\">货号:&nbsp;S656</li><li title=\"&nbsp;日常书写\">适用场景:&nbsp;日常书写</li><li title=\"&nbsp;12支\">支数:&nbsp;12支</li><li title=\"&nbsp;商务办公人士\">适用人群:&nbsp;商务办公人士</li><li title=\"&nbsp;塑料\">笔杆材质:&nbsp;塑料</li><li title=\"&nbsp;子弹头型\">笔头类型:&nbsp;子弹头型</li><li title=\"&nbsp;水性墨水\">适用墨水类型:&nbsp;水性墨水</li><li title=\"&nbsp;否\">墨水是否速干:&nbsp;否</li><li title=\"&nbsp;1300-1700m\">书写长度:&nbsp;1300-1700m</li><li title=\"&nbsp;直液式\">出墨方式:&nbsp;直液式</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><p><img src=\"https://img.alicdn.com/imgextra/i4/2206354081846/O1CN01kTNKy21PVVhL7zWUm_!!2206354081846.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\"><img src=\"https://img.alicdn.com/imgextra/i2/2206354081846/O1CLine truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (8,'HERO/英雄钢笔HS208女神钢笔成人女士商务高档礼盒装办公时尚练字女生专用精致送礼官方正品代写贺卡','356161',1,7,14,5,1,1,'/uploads/images/background/20201210/5e11c751c7e662764764e132ab6a8f72.png',NULL,NULL,'好用高雅','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i3.2ce61010xyKMqs\"><div class=\"name\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105804&amp;type=0&amp;scm=1048.1.1.4\">HERO/英雄</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li title=\"HERO/英雄 HS208\">产品名称:HERO/英雄 HS208</li><li id=\"J_attrBrandName\" title=\"&nbsp;HERO/英雄\">品牌:&nbsp;HERO/英雄</li><li title=\"&nbsp;HS208\">型号:&nbsp;HS208</li><li title=\"&nbsp;简约\">风格:&nbsp;简约</li><li title=\"&nbsp;绿色&nbsp;黄色\">颜色分类:&nbsp;绿色&nbsp;黄色</li><li title=\"&nbsp;0.5mm\">书写粗细:&nbsp;0.5mm</li><li title=\"&nbsp;官方标配\">套餐类型:&nbsp;官方标配</li><li title=\"&nbsp;礼盒装\">包装方式:&nbsp;礼盒装</li><li title=\"&nbsp;英雄\">生产企业:&nbsp;英雄</li><li title=\"&nbsp;送礼&nbsp;书写\">适用场景:&nbsp;送礼&nbsp;书写</li><li title=\"&nbsp;铱金笔\">钢笔笔尖成分:&nbsp;铱金笔</li><li title=\"&nbsp;中国\">国家/地区:&nbsp;中国</li><li title=\"&nbsp;标准型\">笔尖种类:&nbsp;标准型</li><li title=\"&nbsp;文艺青年\">适用人群:&nbsp;文艺青年</li><li title=\"&nbsp;旋转吸墨\">上墨方式:&nbsp;旋转吸墨</li><li title=\"&nbsp;金属\">笔杆材质:&nbsp;金属</li><li title=\"&nbsp;明尖\">笔尖嵌入方式:&nbsp;明尖</li><li title=\"&nbsp;光面\">笔身纹理:&nbsp;光面</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><div><img src=\"https://img-tmdetail.alicdn.com/tps/i3/T1BYd_XwFcXXb9RTPq-90-90.png\" data-ks-lazyload=\"https://img.alicdn.com/imgextra/i1/914055344/tb2tp9wdxxxxxaoxpxxxxxxxxxx-914055344.png?q=begin_zhuofannuo_500061_a6c6f167d61545739002166d35f7e968_begin\"><table width=\"790\" height=\"762\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"layui-table\"><tbody><tr><td colspan=\"4\"><a href=\"https://detail.tmall.com/item.htm?id=587437149594&amp;sku_properties=5919063:6536025;186838507:129889364\" target=\"_blank\"><img src=\"https://img.alicdn.com/imgextra/i2/2200667318398/O1CN01MozEFq2BuKk1zvHfX_!!2200667318398.jpg\" width=\"790\" height=\"324\" alt=\"\" class=\"img-ks-lazyload\"></a></td></tr><tr><td colspan=\"2\"><a href=\"https://detail.tmall.com/item.htm?id=587207811184&amp;sku_properties=5919063:6536025;186838507:129889364\" target=\"_blank\"><img src=\"https://img.alicdn.com/imgextra/i4/2200667318398/O1CN01ZbcXll2BuKk3CLFM0_!!2200667318398.jpg\" width=\"394\" height=\"215\" alt=\"\" class=\"img-ks-lazyload\"></a></td><td colspan=\"2\"><a href=\"https://detail.tmall.com/item.htm?id=595015052047&amp;sku_properties=2066814:11533309;5919063:6536025;186838507:129889364\" target=\"_blank\"><img src=\"https://img.alicdn.com/imgextra/i1/2200667318398/O1CN01KrRHyV2BuKk05mv9z_!!2200667318398.jpg\" width=\"396\" height=\"215\" alt=\"\" class=\"img-ks-lazyload\"></a></td></tr><tr><td><a href=\"https://detail.tmall.com/item.htm?id=586874097674&amp;sku_properties=2066814:7373997;5919063:6536025;186838507:201538351\" target=\"_blank\"><img src=\"https://img.alicdn.com/imgextra/i2/2200667318398/O1CN01wVRbqg2BuKk4kZ9o1_!!2200667318398.jpg\" width=\"263\" height=\"222\" alt=\"\" class=\"img-ks-lazyload\"></a></td><td colspan=\"2\"><a href=\"https://detail.tmall.com/item.htm?id=595462406114\" target=\"_blank\"><img src=\"https://img.alicdn.com/imgextra/i2/2200667318398/O1CN01xahRnh2BuKk1WXzzX_!!2200667318398.jpg\" width=\"264\" height=\"222\" alt=\"\" class=\"img-ks-lazyload\"></a></td><td><a href=\"https://detail.tmall.com/item.htm?id=588805549965&amp;sku_properties=2066814:11533312;5919063:6536025;186Line truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (9,'日本进口pilot百乐贵客钢笔 硬橡胶生漆18k金笔fkv-88sr莳绘30号金尖限定万年笔商务礼品套装','65986',1,8,15,2,1,1,'/uploads/images/background/20201210/f245c44d136296f80071a26765e93cdf.png',NULL,NULL,'好用好看实用','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\"><div class=\"name\" data-spm-anchor-id=\"a220o.1000855.0.i4.3d655441HlyJte\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105795&amp;type=0&amp;scm=1048.1.1.4\">PILOT/百乐</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li title=\"PILOT/百乐 FKV-88SR\">产品名称:PILOT/百乐 FKV-88SR</li><li id=\"J_attrBrandName\" title=\"&nbsp;PILOT/百乐\">品牌:&nbsp;PILOT/百乐</li><li title=\"&nbsp;FKV-88SR\">型号:&nbsp;FKV-88SR</li><li title=\"&nbsp;黑色\">颜色分类:&nbsp;黑色</li><li title=\"&nbsp;FM尖&nbsp;M尖\">书写粗细:&nbsp;FM尖&nbsp;M尖</li><li title=\"&nbsp;官方标配\">套餐类型:&nbsp;官方标配</li><li title=\"&nbsp;礼盒装\">包装方式:&nbsp;礼盒装</li><li title=\"&nbsp;百乐株式会社\">生产企业:&nbsp;百乐株式会社</li><li title=\"&nbsp;FKV-88SR\">货号:&nbsp;FKV-88SR</li><li title=\"&nbsp;送礼&nbsp;书写\">适用场景:&nbsp;送礼&nbsp;书写</li><li title=\"&nbsp;金笔\">钢笔笔尖成分:&nbsp;金笔</li><li title=\"&nbsp;日本\">国家/地区:&nbsp;日本</li><li title=\"&nbsp;标准型\">笔尖种类:&nbsp;标准型</li><li title=\"&nbsp;其他\">上墨方式:&nbsp;其他</li><li title=\"&nbsp;其他\">笔杆材质:&nbsp;其他</li><li title=\"&nbsp;明尖\">笔尖嵌入方式:&nbsp;明尖</li><li title=\"&nbsp;光面\">笔身纹理:&nbsp;光面</li><li title=\"&nbsp;非碳素墨水\">墨水材质:&nbsp;非碳素墨水</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"21934748119\" id=\"shop21934748119\" data-componentid=\"5003\" data-spm=\"110.0.5003-21934748119\" microscope-data=\"5003-21934748119\" data-title=\"自定义内容区\"></div></div></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes\"><div class=\"content ke-post\"><p><img src=\"https://img-tmdetail.alicdn.com/tps/i3/T1BYd_XwFcXXb9RTPq-90-90.png\" data-ks-lazyload=\"https://img.alicdn.com/imgextra/i4/T2s4moXH8XXXXXXXXX-350475995.png?p=hb_v3_client_1205867_start_top_1\"></p><table align=\"center\" class=\"layui-table\"><tbody><tr><td><div><img usemap=\"#1599037488419\" src=\"https://img.alicdn.com/imgextra/i2/3245829746/O1CN01kuE5HW2Lrig0h4N4b_!!3245829746.png?v=1599037488420\" class=\"img-ks-lazyload\"></div><map name=\"1599037488419\"><area shape=\"rect\" coords=\"1,3,777.0,357.06845\" href=\"https://market.m.taobao.com/app/sj/member-center-rax/pages/pages_index_index?wh_weex=true&amp;source=ShopSelfUse&amp;sellerId=3245829746\"></map></td></tr></tbody></table><img src=\"https://img.alicdn.com/imgextra/i2/3245829746/O1CN01sVWapZ2Lrig8U3CFz_!!3245829746.jpg\" usemap=\"#LZLOZ\" class=\"img-ks-lazyload\"><map name=\"LZLOZ\"><area shape=\"rect\" coords=\"0,0,278,590\" href=\"https://detail.tmall.com/item.htm?spm=a21ag.12100459.0.0.4a8650a5tvKuvp&amp;id=549007621302\"><area shape=\"rect\" coords=\"276,0,522,590\" href=\"https://detail.tmall.com/item.htm?spm=a21ag.12100459.0.0.4a8650a5tvKuvp&amp;id=587564966686\"><area shape=\"rect\" coords=\"520,0,790,590\" href=\"https://detail.tmall.com/item.htm?spm=a21ag.12100459.0.0.4a8650a5tvKuvp&amp;id=548631705426\"></map><p><img src=\"https://img-tmdetail.alicdn.com/tps/i3/T1BYd_XwFcXXb9RTPq-90-90.png\" data-ks-lazyload=\"https://img.alicdn.com/imgextra/i4/T2s4moXH8XXXXXXXXX-350475995.png?p=hb_v3_client_1205867_end_top_1\"></p><p><img src=\"https://img.alicdn.com/imgextra/i4/3245829746/O1CN01V6uRKa2Lrifs6sY9R_!!3245829746.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\"><img src=\"https://img.alicdn.com/imgextra/i4/3245829746/TB2YEwLrFGWBuNjy0FbXXb4sXXa_!!3245829746.png\" class=\"img-ks-lazyload\"><br><img src=\"https://img.alicdn.coLine truncated
INSERT INTO `ls_goods` (`id`,`name`,`code`,`first_category_id`,`second_category_id`,`third_category_id`,`brand_id`,`supplier_id`,`status`,`image`,`video`,`poster`,`remark`,`content`,`sort`,`sales_sum`,`virtual_sales_sum`,`click_count`,`spec_type`,`max_price`,`min_price`,`market_price`,`stock`,`stock_warn`,`is_show_stock`,`free_shipping_type`,`free_shipping`,`free_shipping_template_id`,`is_commission`,`first_ratio`,`second_ratio`,`three_ratio`,`is_share_bouns`,`region_ratio`,`shareholder_ratio`,`is_new`,`is_best`,`is_like`,`is_team`,`is_integral`,`is_member`,`give_integral_type`,`give_integral`,`create_time`,`update_time`,`del`) VALUES (10,'顺丰包邮 12期免息日本PILOT百乐Justus 95钢笔14K金尖FJ-3MR可调书写软硬金笔成人书法练字商务办公送礼盒装','656251',1,8,15,2,1,1,'/uploads/images/background/20201210/6768915899c1f445e43c886ad5e8668a.png',NULL,NULL,'好看','<div id=\"attributes\" class=\"attributes\"><div class=\"attributes-list\" id=\"J_AttrList\"><div class=\"tm-clear tb-hidden tm_brandAttr\" id=\"J_BrandAttr\" data-spm-anchor-id=\"a220o.1000855.0.i8.2c834ec6EEH4Z7\"><div class=\"name\">品牌名称:<span class=\"J_EbrandLogo\" target=\"_blank\" href=\"//brand.tmall.com/brandInfo.htm?brandId=105795&amp;type=0&amp;scm=1048.1.1.4\">PILOT/百乐</span></div></div><p class=\"attr-list-hd tm-clear\"><span>产品参数:</span></p><ul id=\"J_AttrUL\"><li title=\"PILOT/百乐 FJ-3MR\">产品名称:PILOT/百乐 FJ-3MR</li><li id=\"J_attrBrandName\" title=\"&nbsp;PILOT/百乐\">品牌:&nbsp;PILOT/百乐</li><li title=\"&nbsp;FJ-3MR\">型号:&nbsp;FJ-3MR</li><li title=\"&nbsp;条纹黑色&nbsp;网格黑色\">颜色分类:&nbsp;条纹黑色&nbsp;网格黑色</li><li title=\"&nbsp;F尖&nbsp;FM尖&nbsp;M尖\">书写粗细:&nbsp;F尖&nbsp;FM尖&nbsp;M尖</li><li title=\"&nbsp;官方标配\">套餐类型:&nbsp;官方标配</li><li title=\"&nbsp;礼盒装\">包装方式:&nbsp;礼盒装</li><li title=\"&nbsp;百乐株式会社\">生产企业:&nbsp;百乐株式会社</li><li title=\"&nbsp;FJ-3MR\">货号:&nbsp;FJ-3MR</li><li title=\"&nbsp;书写\">适用场景:&nbsp;书写</li><li title=\"&nbsp;金笔\">钢笔笔尖成分:&nbsp;金笔</li><li title=\"&nbsp;日本\">国家/地区:&nbsp;日本</li><li title=\"&nbsp;标准型\">笔尖种类:&nbsp;标准型</li><li title=\"&nbsp;挤捏吸墨\">上墨方式:&nbsp;挤捏吸墨</li><li title=\"&nbsp;树脂\">笔杆材质:&nbsp;树脂</li><li title=\"&nbsp;明尖\">笔尖嵌入方式:&nbsp;明尖</li></ul></div></div><div id=\"mall-banner\"><div data-spm=\"1998132255\"></div><div id=\"J_DescTMS1\"></div></div><div id=\"J_TmpActBanner\"></div><div id=\"J_DcTopRightWrap\"><div id=\"J_DcTopRight\" class=\"J_DcAsyn tb-shop\"><div class=\"J_TModule\" data-widgetid=\"21934748119\" id=\"shop21934748119\" data-componentid=\"5003\" data-spm=\"110.0.5003-21934748119\" microscope-data=\"5003-21934748119\" data-title=\"自定义内容区\"></div></div></div><div id=\"description\" class=\"J_DetailSection tshop-psm tshop-psm-bdetaildes tm-curTab\"><div class=\"content ke-post\"><p><img src=\"https://img-tmdetail.alicdn.com/tps/i3/T1BYd_XwFcXXb9RTPq-90-90.png\" data-ks-lazyload=\"https://img.alicdn.com/imgextra/i4/T2s4moXH8XXXXXXXXX-350475995.png?p=hb_v3_client_1205867_start_top_1\"></p><table align=\"center\" class=\"layui-table\"><tbody><tr><td><div><img usemap=\"#1599037488419\" src=\"https://img.alicdn.com/imgextra/i2/3245829746/O1CN01kuE5HW2Lrig0h4N4b_!!3245829746.png?v=1599037488420\" class=\"img-ks-lazyload\"></div><map name=\"1599037488419\"><area shape=\"rect\" coords=\"1,3,777.0,357.06845\" href=\"https://market.m.taobao.com/app/sj/member-center-rax/pages/pages_index_index?wh_weex=true&amp;source=ShopSelfUse&amp;sellerId=3245829746\"></map></td></tr></tbody></table><img src=\"https://img.alicdn.com/imgextra/i2/3245829746/O1CN01sVWapZ2Lrig8U3CFz_!!3245829746.jpg\" usemap=\"#LZLOZ\" class=\"img-ks-lazyload\"><map name=\"LZLOZ\"><area shape=\"rect\" coords=\"0,0,278,590\" href=\"https://detail.tmall.com/item.htm?spm=a21ag.12100459.0.0.4a8650a5tvKuvp&amp;id=549007621302\"><area shape=\"rect\" coords=\"276,0,522,590\" href=\"https://detail.tmall.com/item.htm?spm=a21ag.12100459.0.0.4a8650a5tvKuvp&amp;id=587564966686\"><area shape=\"rect\" coords=\"520,0,790,590\" href=\"https://detail.tmall.com/item.htm?spm=a21ag.12100459.0.0.4a8650a5tvKuvp&amp;id=548631705426\"></map><p><img src=\"https://img-tmdetail.alicdn.com/tps/i3/T1BYd_XwFcXXb9RTPq-90-90.png\" data-ks-lazyload=\"https://img.alicdn.com/imgextra/i4/T2s4moXH8XXXXXXXXX-350475995.png?p=hb_v3_client_1205867_end_top_1\"></p><p><img src=\"https://img.alicdn.com/imgextra/i4/3245829746/O1CN01V6uRKa2Lrifs6sY9R_!!3245829746.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\"><img src=\"https://img.alicdn.com/imgextra/i4/3245829746/TB2ZFqLwbSYBuNjSspfXXcZCpXa_!!3245829746.jpg\" class=\"img-ks-lazyload\"><br><img src=\"https://img.alicdn.com/imgextra/i2/3245829746/TB2uFyLwbSYBuNjSspfXXcZCpXa_!!3245829746.jpgLine truncated
INSERT INTO `ls_goods_brand` (`id`,`name`,`image`,`initial`,`is_show`,`sort`,`remark`,`create_time`,`update_time`,`del`) VALUES (1,'晨光文具','/uploads/images/background/20201210/dd2610485ad76c0d24f88f8ce58d3dd5.png','C',1,0,'文具专卖品牌',1607569933,1607570803,0);
INSERT INTO `ls_goods_brand` (`id`,`name`,`image`,`initial`,`is_show`,`sort`,`remark`,`create_time`,`update_time`,`del`) VALUES (2,'百乐','/uploads/images/background/20201210/2dad83f2345046d47045c160a3db6896.png','B',1,0,'',1607570669,NULL,0);
INSERT INTO `ls_goods_brand` (`id`,`name`,`image`,`initial`,`is_show`,`sort`,`remark`,`create_time`,`update_time`,`del`) VALUES (3,'得力','/uploads/images/background/20201210/10b16861c6eeb1e9a744b86dd69b051f.png','D',1,0,'',1607570799,NULL,0);
INSERT INTO `ls_goods_brand` (`id`,`name`,`image`,`initial`,`is_show`,`sort`,`remark`,`create_time`,`update_time`,`del`) VALUES (4,'小米','/uploads/images/background/20201210/8529fda6cb6c3cf62c084df9c7c911a9.png','X',1,0,'',1607570889,NULL,0);
INSERT INTO `ls_goods_brand` (`id`,`name`,`image`,`initial`,`is_show`,`sort`,`remark`,`create_time`,`update_time`,`del`) VALUES (5,'英雄','/uploads/images/background/20201210/720a002e5c6bdf95a2dd3c31737d0e57.png','Y',1,0,'',1607571044,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (1,'文具',0,1,0,1,0,'/uploads/images/background/20201210/d74e01d4a8b86f331fcca2f485080353.png','',1607570112,1607570568,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (2,'专场推荐',0,1,0,1,0,'/uploads/images/background/20201210/eab147f969fce1475d4892c57256f8ec.png','',1607570127,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (3,'热门分类',0,1,0,1,0,'/uploads/images/background/20201210/79ee4347c8066f965c9ce7034f249cea.png','',1607570147,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (4,'晨光',1,2,0,1,0,'/uploads/images/background/20201210/dd2610485ad76c0d24f88f8ce58d3dd5.png','',1607570328,1607570603,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (5,'小米',1,2,0,1,0,'/uploads/images/background/20201210/8529fda6cb6c3cf62c084df9c7c911a9.png','',1607571143,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (6,'得力',1,2,0,1,0,'/uploads/images/background/20201210/10b16861c6eeb1e9a744b86dd69b051f.png','',1607571159,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (7,'英雄',1,2,0,1,0,'/uploads/images/background/20201210/720a002e5c6bdf95a2dd3c31737d0e57.png','',1607571185,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (8,'百乐',1,2,0,1,0,'/uploads/images/background/20201210/2dad83f2345046d47045c160a3db6896.png','',1607571205,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (9,'中性笔',4,3,0,1,0,'/uploads/images/background/20201210/dceddf4cb321cf612eee441477d3b93f.png','',1607571364,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (10,'铅笔',4,3,0,1,0,'/uploads/images/background/20201210/47829c77b7b5135de799182d1c197746.png','',1607571564,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (11,'小米中性笔',5,3,0,1,0,'/uploads/images/background/20201210/3261d7a8935ca47e0f19b354a36bab79.png','',1607572533,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (12,'小米铅笔',5,3,0,1,0,'/uploads/images/background/20201210/d97a7d56854eb8cd5afa228b1d9608c3.png','',1607572560,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (13,'得力中性笔',6,3,0,1,0,'/uploads/images/background/20201210/d0fd78d3b5de45b870f43b6db3d5a0be.png','',1607580133,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (14,'英雄钢笔',7,3,0,1,0,'/uploads/images/background/20201210/5e11c751c7e662764764e132ab6a8f72.png','',1607584443,NULL,0);
INSERT INTO `ls_goods_category` (`id`,`name`,`pid`,`level`,`sort`,`is_show`,`is_recommend`,`image`,`remark`,`create_time`,`update_time`,`del`) VALUES (15,'百乐钢笔',8,3,0,1,0,'/uploads/images/background/20201210/63d91cdfdb659e57a10a99d1cf44567e.png','',1607585040,NULL,0);
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (4,1,'/uploads/images/background/20201210/910e9d4fc9f10c7a11825315785c555d.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (5,1,'/uploads/images/background/20201210/45b6bb2224e4051ecf407cabb54cd781.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (6,1,'/uploads/images/background/20201210/dceddf4cb321cf612eee441477d3b93f.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (11,2,'/uploads/images/background/20201210/3261d7a8935ca47e0f19b354a36bab79.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (12,2,'/uploads/images/background/20201210/e645ff4cbef1fae6a6169624029eb214.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (13,2,'/uploads/images/background/20201210/c55d952325ac38959c57e127d97c5592.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (14,2,'/uploads/images/background/20201210/5a23d75c44ef8c293aa2a1bed1f10e41.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (15,3,'/uploads/images/background/20201210/6515fd4b2e7a1932f76ec5232fe22fdf.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (16,3,'/uploads/images/background/20201210/a3bf099101793a2e0bfe087b92e51403.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (17,3,'/uploads/images/background/20201210/2d62627fef767a38034162c066f9c253.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (18,4,'/uploads/images/background/20201210/4b06036c7e6c8f653a51fd94d4cb5bc5.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (19,4,'/uploads/images/background/20201210/d97a7d56854eb8cd5afa228b1d9608c3.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (20,4,'/uploads/images/background/20201210/956e95bc35d0a8005255889036e9aae5.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (27,5,'/uploads/images/background/20201210/4b06036c7e6c8f653a51fd94d4cb5bc5.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (28,5,'/uploads/images/background/20201210/d97a7d56854eb8cd5afa228b1d9608c3.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (29,5,'/uploads/images/background/20201210/956e95bc35d0a8005255889036e9aae5.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (30,6,'/uploads/images/background/20201210/532a61a9cb3294ea13015c11e51d243f.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (31,6,'/uploads/images/background/20201210/551c831039db5df10f16bbd40ba0ebc0.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (32,6,'/uploads/images/background/20201210/2ff3147b913abbcbb39646de816eb5d2.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (33,7,'/uploads/images/background/20201210/6c7921165fab863c86018878e839bc60.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (34,7,'/uploads/images/background/20201210/ccd5fe4fe21804ee7e33174cf347bbb2.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (35,7,'/uploads/images/background/20201210/d0fd78d3b5de45b870f43b6db3d5a0be.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (36,8,'/uploads/images/background/20201210/3f25d88bc10820af2fb3583484de06c8.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (37,8,'/uploads/images/background/20201210/4985ef90fea9fc132e37af97a1f0597f.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (38,8,'/uploads/images/background/20201210/5e11c751c7e662764764e132ab6a8f72.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (39,9,'/uploads/images/background/20201210/989bbc585e0eaa435d1c0486008ad52a.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (40,9,'/uploads/images/background/20201210/63d91cdfdb659e57a10a99d1cf44567e.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (41,9,'/uploads/images/background/20201210/1860d0763b8703121d93cf0b8a3e1e1e.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (42,9,'/uploads/images/background/20201210/f245c44d136296f80071a26765e93cdf.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (43,10,'/uploads/images/background/20201210/6768915899c1f445e43c886ad5e8668a.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (44,10,'/uploads/images/background/20201210/254590f48981940296d63640c64cae83.png');
INSERT INTO `ls_goods_image` (`id`,`goods_id`,`uri`) VALUES (45,10,'/uploads/images/background/20201210/930d0719e718db9bfaf2f3acacc1fbe8.png');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (1,'',1,'1','默认',55.00,44.82,23.00,9863,2.000,2.000,'22353');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (2,'',2,'2','默认',78.00,43.90,23.00,8676,2.000,2.000,'265368');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (3,'',3,'3','默认',21.00,13.50,3.00,56832,2.000,2.000,'1535838');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (4,'',4,'4','默认',8.00,7.00,2.00,66533,2.000,2.000,'6368369');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (5,'',5,'5','默认',7.00,6.00,2.00,9999,2.000,2.000,'635636');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (6,'',6,'6','默认',69.00,29.00,5.00,36589,2.000,2.000,'36838');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (7,'',7,'7','默认',32.80,32.80,16.00,3556,2.000,2.000,'5554554');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (8,'',8,'8','默认',2598.00,1359.00,823.00,1069,2.000,2.000,'5387398');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (9,'',9,'9','默认',9800.00,6860.00,2635.00,1260,2.000,2.000,'2266543');
INSERT INTO `ls_goods_item` (`id`,`image`,`goods_id`,`spec_value_ids`,`spec_value_str`,`market_price`,`price`,`cost_price`,`stock`,`volume`,`weight`,`bar_code`) VALUES (10,'',10,'10','默认',2400.00,1680.00,768.00,2369,2.000,2.000,'36555');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (1,1,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (2,2,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (3,3,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (4,4,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (5,5,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (6,6,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (7,7,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (8,8,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (9,9,'默认');
INSERT INTO `ls_goods_spec` (`id`,`goods_id`,`name`) VALUES (10,10,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (1,1,1,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (2,2,2,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (3,3,3,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (4,4,4,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (5,5,5,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (6,6,6,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (7,7,7,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (8,8,8,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (9,9,9,'默认');
INSERT INTO `ls_goods_spec_value` (`id`,`goods_id`,`spec_id`,`value`) VALUES (10,10,10,'默认');
INSERT INTO `ls_help` (`id`,`cid`,`title`,`synopsis`,`image`,`content`,`visit`,`sort`,`is_show`,`create_time`,`update_time`,`del`,`likes`) VALUES (1,1,'LikeShop商城使用手册','使用手册','/uploads/images/background/20201210/f7c7bdc7e0b7fc3d7fbd25d67bd6f7d3.png','<p style=\"text-align: left;\">快速上手指南\nLikeShop使用手册\n1\n好象股份有限公司版权所有\nV 2.33\n快速上手指南\n尊敬的客户:\n欢迎使用LikeShop商城,此文档为快速上手指南,帮助您便捷、高效的完成商品采购。\n2\n目录 Contents\n*采购员进入03页阅读 *审批员进入25页阅读\n1、如何登录LikeShop商城·································P04\n采购员、审批员、管理员登录方式一致\n2、如何查找需要采购的商品····················P05\n多种方式找商品,快速便捷\n3、如何将商品加入购物车··················P06/09\n多种方式找商品,快速便捷\n4、如何结算购物车···································P10\n将购物车中的商品进行结算核对、提交\n5、如何提交采购订单··························P11/14\n采购订单提交给审批人审批\n6、如何查看自己的采购订单···················P15\n查看自己提交过的采购订单\n8、如何取消采购订单································P17\n取消不想要的订单\n10、如何查看订单统计·····························P19\n7、如何查看订单进展以及物流信息········P16\n在线追踪订单审批以及物流配送进度\n9、如何在线确认收货·································P18\n在线签收 部门统计、采购人统计、时间统计\n快速上手指南 3\n11、如何查看订单详情························P20\n部门、个人、商品订单详情\n15、如何修改密码、设置个人信息···P27 16、常见问题与回答··························P28\n修改密码、修改头像、设置信息\n14、如何审批订单························P25/26\n审批人员三种审批方式\n13、如何联系在线客服·······················P24\n在线客服咨询\n12、如何在线申请开票················P21/23\n支持专票、普票、电子发票\n快速上手指南 4\n➢ 如何登录LikeShop商城?\n当您需要登录LikeShop商城进行商品采购时:\n第1步:在浏览器中打开①LikeShop商城。\n第2步:点击页面顶端的②请登录,跳转到登录界面。\n第3步:在登录界面中输入③账号和密码,点击④登录即可。\n1\n2\n3\n4\n登录成功标志\n注意事项:\n如果忘记密码,请联系管\n理员,帮助您重置密码。\n快速上手指南 5\n➢ 如何查找需要采购的商品?\n当您需要查找办公用品时:\n方法一:账号登陆后,在首页①搜索框输入产品名称或型号或编号,再点击②搜索按钮。\n1\n2\n方法二:账号登陆后,鼠标悬停③商品分类中的主分类,再移动到次级分类,再点击④三级分类。\n3\n4\n说明:a、搜索或选择完成后,均直接进入商品列表页面。\nb、直接点击商品分类中的主分类后,跳转至该主分类下所有商品列表页面。\n快速上手指南 6\n方法一:商品列表页单个选购,在商品列表页面,鼠标停在商品图片上时,会浮现出购买商品的黄色\n图标,调整商品数量①调整商品数量,然后点击②加入购物车,此商品就选购完成。\n1 2\n➢ 如何将商品加入购物车\n当您需要将想采购的办公用品加入购物车时:\n快速上手指南 7\n方法二:商品详情页选购,在商品列表页面,直接点击商品后,进入商品详情页。\n在商品详情页面,根据自身需要①选择好商品的各项参数后,点击②加入购物车,完成商品选购。\n说明:当您直接点击“立即购买”时,商城直接跳转到提交订单页面。\n1\n2\n快速上手指南 8\n方法三:商品列表页批量选购,在商品列表页面,鼠标停在商品图片上时,点击①图片左上角的\n勾选框,然后再点击商品列表右上方的②批量加入购物车,在弹出的页面中③调整好商品的数量,\n然后再点击④确认加入购物车。\n1\n2\n3\n4\n这个是弹窗\n快速上手指南 9\n当您需要将想采购的办公用品加入购物车时:\n方法四:快速批量提交,页面顶部点击①快速下单,在跳转后的页面点击②批量快速下单,再点击\n③下载Excel模板。在模板中的最后一列内,④填入需要购买的数量,保存后回到商城页面点击\n⑤上传文件,完成这些后,Excel模Line truncated
INSERT INTO `ls_help_category` (`id`,`name`,`is_show`,`create_time`,`update_time`,`del`) VALUES (1,'使用手册',1,1607568906,NULL,0);
INSERT INTO `ls_recharge_template` (`id`,`money`,`give_money`,`sort`,`is_recommend`,`create_time`,`update_time`,`del`) VALUES (1,50.00,0.00,6,0,1607589130,1607589153,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (1,4,5,5,3.00,0,1607588970,1607588970,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (2,1,1,1,33.00,0,1607589023,1607589023,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (3,2,2,2,39.00,0,1607589057,1607589057,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (4,3,8,8,999.00,0,1607589070,1607589070,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (5,3,1,1,40.30,0,1607589942,1607589942,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (6,3,4,4,6.00,0,1607589955,1607589955,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (7,3,3,3,9.90,0,1607589973,1607589973,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (8,5,10,10,999.00,0,1607590140,1607590140,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (9,3,7,7,29.00,0,1607590153,1607590153,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (10,3,1,1,40.00,0,1607590164,1607590164,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (11,3,3,3,9.90,0,1607590177,1607590177,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (12,2,7,7,29.00,0,1607590189,1607590189,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (13,2,1,1,39.00,0,1607590198,1607590198,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (14,2,3,3,9.90,0,1607590207,1607590207,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (15,1,8,8,999.00,0,1607590218,1607590218,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (16,1,2,2,39.00,0,1607590245,1607590245,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (17,1,9,9,4999.00,0,1607590259,1607590259,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (18,4,6,6,29.00,0,1607590270,1607590270,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (19,4,3,3,9.90,0,1607590289,1607590289,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (20,4,8,8,999.00,0,1607590299,1607590299,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (21,5,6,6,26.90,0,1607590394,1607590394,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (22,5,7,7,29.90,0,1607590406,1607590406,0);
INSERT INTO `ls_seckill_goods` (`id`,`seckill_id`,`goods_id`,`item_id`,`price`,`sales_sum`,`create_time`,`update_time`,`del`) VALUES (23,5,3,3,9.90,0,1607590418,1607590418,0);
INSERT INTO `ls_seckill_time` (`id`,`start_time`,`end_time`,`create_time`,`update_time`,`del`) VALUES (1,'08:00','12:28',1607588823,1607590054,0);
INSERT INTO `ls_sign_daily` (`id`,`type`,`integral`,`integral_status`,`growth_status`,`days`,`create_time`,`update_time`,`del`,`growth`) VALUES (1,'2',10,1,1,2,1607588705,1607588727,0,10);
INSERT INTO `ls_supplier` (`id`,`name`,`del`,`create_time`,`update_time`,`tel`,`contact`,`remark`,`province_id`,`city_id`,`district_id`,`address`) VALUES (1,'文具旗舰店',0,1607570262,1607570274,'13648795627','晨先生','文具专卖供货商',NULL,NULL,NULL,'北京朝阳北巷3街道');
INSERT INTO `ls_user_distribution` (`id`,`user_id`,`distribution_order_num`,`distribution_money`,`fans`,`order_num`,`order_amount`,`create_time`,`update_time`) VALUES (1,1,0,0.00,0,0,0.00,1607597684,NULL);
INSERT INTO `ls_user_distribution` (`id`,`user_id`,`distribution_order_num`,`distribution_money`,`fans`,`order_num`,`order_amount`,`create_time`,`update_time`) VALUES (2,2,0,0.00,0,0,0.00,1607597860,NULL);
INSERT INTO `ls_user_distribution` (`id`,`user_id`,`distribution_order_num`,`distribution_money`,`fans`,`order_num`,`order_amount`,`create_time`,`update_time`) VALUES (3,3,0,0.00,0,0,0.00,1607650297,NULL);
INSERT INTO `ls_user_distribution` (`id`,`user_id`,`distribution_order_num`,`distribution_money`,`fans`,`order_num`,`order_amount`,`create_time`,`update_time`) VALUES (4,4,0,0.00,0,0,0.00,1607654072,NULL);
INSERT INTO `ls_user_distribution` (`id`,`user_id`,`distribution_order_num`,`distribution_money`,`fans`,`order_num`,`order_amount`,`create_time`,`update_time`) VALUES (5,5,0,0.00,0,0,0.00,1607655080,NULL);
SET FOREIGN_KEY_CHECKS=1;
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

+98
View File
@@ -0,0 +1,98 @@
<?php
// error_reporting(0);
include "model.php";
include "YxEnv.php";
define('install', true);
define('INSTALL_ROOT', __DIR__);
define('TESTING_TABLE', 'config');
$step = $_GET['step'] ?? 1;
$installDir = "install";
$modelInstall = new installModel();
// Env设置
$yxEnv = new YxEnv();
// 检查是否有安装过
$envFilePath = $modelInstall->getAppRoot() . '/.env';
if ($modelInstall->appIsInstalled() && in_array($step, [1, 2, 3, 4])) {
die('可能已经安装过本系统了,请删除配置目录下面的install.lock文件再尝试');
}
// 加载Example文件
$yxEnv->load($modelInstall->getAppRoot() . '/.example.env');
//尝试生成.env
$yxEnv->makeEnv($modelInstall->getAppRoot() . '/.env');
$post = [
'host' => $_POST['host'] ?? '127.0.0.1',
'port' => $_POST['port'] ?? '3306',
'user' => $_POST['user'] ?? 'root',
'password' => $_POST['password'] ?? '',
'name' => $_POST['name'] ?? 'likeshop',
'admin_user' => $_POST['admin_user'] ?? '',
'admin_password' => $_POST['admin_password'] ?? '',
'admin_confirm_password' => $_POST['admin_confirm_password'] ?? '',
'prefix' => $_POST['prefix'] ?? 'ls_',
'import_test_data' => $_POST['import_test_data'] ?? 'off',
'clear_db' => $_POST['clear_db'] ?? 'off',
];
$message = '';
// 检查数据库正确性
if ($step == 4) {
$canNext = true;
if (empty($post['prefix'])) {
$canNext = false;
$message = '数据表前缀不能为空';
} elseif(strpos($post['name'], '-') !== false) {
$canNext = false;
$message = '数据库名不能包含字符 -';
} elseif(strpos($post['user'], '-') !== false) {
$canNext = false;
$message = '数据用户名名不能包含字符 -';
} elseif ($post['admin_user'] == '') {
$canNext = false;
$message = '请填写管理员用户名';
} elseif (empty(trim($post['admin_password']))) {
$canNext = false;
$message = '管理员密码不能为空';
} elseif ($post['admin_password'] != $post['admin_confirm_password']) {
$canNext = false;
$message = '两次密码不一致';
} else {
// 检查 数据库信息
$result = $modelInstall->checkConfig($post['name'], $post);
if ($result->result == 'fail') {
$canNext = false;
$message = $result->error;
}
// 导入测试数据
if ($canNext == true && $post['import_test_data'] == 'on') {
if (!$modelInstall->importDemoData()) {
$canNext = false;
$message = '导入测试数据错误';
}
}
// 写配置文件
if ($canNext) {
$yxEnv->putEnv($envFilePath, $post);
$modelInstall->mkLockFile();
}
}
if (!$canNext)
$step = 3;
}
// 取得安装成功的表
$successTables = $modelInstall->getSuccessTable();
$nextStep = $step + 1;
include __DIR__ . "/template/main.php";
View File
Whitespace-only changes.
+94
View File
@@ -0,0 +1,94 @@
var canClick = true;
var installIndex = 0;
String.prototype.format = function(args)
{
if (arguments.length > 0)
{
var result = this;
if (arguments.length === 1 && typeof (args) == "object")
{
for (var key in args)
{
var reg = new RegExp("({" + key + "})", "g");
result = result.replace(reg, args[key]);
}
}
else
{
for (var i = 0; i < arguments.length; i++)
{
if (arguments[i] === undefined)
{
return "";
}
else
{
var reg = new RegExp("({[" + i + "]})", "g");
result = result.replace(reg, arguments[i]);
}
}
}
return result;
}
else
{
return this;
}
};
/**
* 将内容推送到内容里面
*/
function pushSuccessTableToBox(successLine) {
var installBox = document.getElementById('install_message');
var div = document.createElement('div');
div.className = 'item-cell';
var lineHtml = `
<div style="display: flex;align-items: center;">
<div class="layui-icon green">&#xe605;</div>
<div style="margin-left: 10px;">创建数据表{0}完成!</div>
</div>
<div>{1}</div>
`;
div.innerHTML = lineHtml.format(successLine[0], successLine[1]);
installBox.append(div);
}
function showParts(index) {
function getRndInteger(min, max) {
return Math.floor(Math.random() * (max - min) ) + min;
}
if (index <= successTables.length) {
setTimeout(function () { pushSuccessTableToBox(successTables[index]); showParts(++index); }, getRndInteger(50, 150));
}
if (index === successTables.length) {
goStep(5);
}
}
function goStep(step) {
//var form = document.getElementsByTagName('form')[0];
if (canClick === false)
return;
canClick = false;
document.main_form.action = "?step=" + step;
document.main_form.submit();
// form.action = "?step=" + step;
// window.location.href = "?step=" + step;
}
function cancel() {
window.history.go(-1);
}
setTimeout(function () {
showParts(0);
}, 100);
+746
View File
@@ -0,0 +1,746 @@
<?php
/** 安装界面需要的各种模块 */
class installModel
{
private $host;
private $name;
private $user;
private $encoding;
private $password;
private $port;
private $prefix;
private $successTable = [];
/**
* @var bool
*/
private $allowNext = true;
/**
* @var PDO|string
*/
private $dbh = null;
/**
* @var bool
*/
private $clearDB = false;
/**
* Notes: php版本
* @author luzg(2020/8/25 9:56)
* @return string
*/
public function getPhpVersion()
{
return PHP_VERSION;
}
/**
* Notes: 当前版本是否符合
* @author luzg(2020/8/25 9:57)
* @return string
*/
public function checkPHP()
{
return $result = version_compare(PHP_VERSION, '7.2.0') >= 0 ? 'ok' : 'fail';
}
/**
* Notes: 是否有PDO
* @author luzg(2020/8/25 9:57)
* @return string
*/
public function checkPDO()
{
return $result = extension_loaded('pdo') ? 'ok' : 'fail';
}
/**
* Notes: 是否有PDO::MySQL
* @author luzg(2020/8/25 9:58)
* @return string
*/
public function checkPDOMySQL()
{
return $result = extension_loaded('pdo_mysql') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持JSON
* @author luzg(2020/8/25 9:58)
* @return string
*/
public function checkJSON()
{
return $result = extension_loaded('json') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持openssl
* @author luzg(2020/8/25 9:58)
* @return string
*/
public function checkOpenssl()
{
return $result = extension_loaded('openssl') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持mbstring
* @author luzg(2020/8/25 9:58)
* @return string
*/
public function checkMbstring()
{
return $result = extension_loaded('mbstring') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持zlib
* @author luzg(2020/8/25 9:59)
* @return string
*/
public function checkZlib()
{
return $result = extension_loaded('zlib') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持curl
* @author luzg(2020/8/25 9:59)
* @return string
*/
public function checkCurl()
{
return $result = extension_loaded('curl') ? 'ok' : 'fail';
}
/**
* Notes: 检查GD2扩展
* @author luzg(2020/8/26 9:59)
* @return string
*/
public function checkGd2()
{
return $result = extension_loaded('gd') ? 'ok' : 'fail';
}
/**
* Notes: 检查Dom扩展
* @author luzg(2020/8/26 9:59)
* @return string
*/
public function checkDom()
{
return $result = extension_loaded('dom') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持filter
* @author luzg(2020/8/25 9:59)
* @return string
*/
public function checkFilter()
{
return $result = extension_loaded('filter') ? 'ok' : 'fail';
}
/**
* Notes: 是否支持iconv
* @author luzg(2020/8/25 9:59)
* @return string
*/
public function checkIconv()
{
return $result = extension_loaded('iconv') ? 'ok' : 'fail';
}
/**
* Notes: 取得临时目录路径
* @author luzg(2020/8/25 10:05)
* @return array
*/
public function getTmpRoot()
{
$path = $this->getAppRoot() . '/runtime';
return [
'path' => $path,
'exists' => is_dir($path),
'writable' => is_writable($path),
];
}
/**
* Notes: 检查临时路径
* @author luzg(2020/8/25 10:06)
* @return string
*/
public function checkTmpRoot()
{
$tmpRoot = $this->getTmpRoot()['path'];
return $result = (is_dir($tmpRoot) and is_writable($tmpRoot)) ? 'ok' : 'fail';
}
/**
* Notes: SESSION路径是否可写
* @author luzg(2020/8/25 10:06)
* @return mixed
*/
public function getSessionSavePath()
{
$sessionSavePath = preg_replace("/\d;/", '', session_save_path());
return [
'path' => $sessionSavePath,
'exists' => is_dir($sessionSavePath),
'writable' => is_writable($sessionSavePath),
];
}
/**
* Notes: 检查session路径可写状态
* @author luzg(2020/8/25 10:13)
* @return string
*/
public function checkSessionSavePath()
{
$sessionSavePath = preg_replace("/\d;/", '', session_save_path());
$result = (is_dir($sessionSavePath) and is_writable($sessionSavePath)) ? 'ok' : 'fail';
if ($result == 'fail') return $result;
file_put_contents($sessionSavePath . '/zentaotest', 'zentao');
$sessionContent = file_get_contents($sessionSavePath . '/zentaotest');
if ($sessionContent == 'zentao') {
unlink($sessionSavePath . '/zentaotest');
return 'ok';
}
return 'fail';
}
/**
* Notes: 取得data目录是否可选
* @author luzg(2020/8/25 10:58)
* @return array
*/
public function getDataRoot()
{
$path = $this->getAppRoot();
return [
'path' => $path . 'www' . DS . 'data',
'exists' => is_dir($path),
'writable' => is_writable($path),
];
}
/**
* Notes: 取得root路径
* @author luzg(2020/8/25 11:02)
* @return string
*/
public function checkDataRoot()
{
$dataRoot = $this->getAppRoot() . 'www' . DS . 'data';
return $result = (is_dir($dataRoot) and is_writable($dataRoot)) ? 'ok' : 'fail';
}
/**
* Notes: 取得php.ini信息
* @author luzg(2020/8/25 11:03)
* @return string
*/
public function getIniInfo()
{
$iniInfo = '';
ob_start();
phpinfo(1);
$lines = explode("\n", strip_tags(ob_get_contents()));
ob_end_clean();
foreach ($lines as $line) if (strpos($line, 'ini') !== false) $iniInfo .= $line . "\n";
return $iniInfo;
}
/**
* Notes: 创建安装锁定文件
* @author luzg(2020/8/28 11:32)
* @return bool
*/
public function mkLockFile()
{
return touch($this->getAppRoot() . '/config/install.lock');
}
/**
* Notes: 检查之前是否有安装
* @author luzg(2020/8/28 11:36)
*/
public function appIsInstalled()
{
return file_exists($this->getAppRoot() . '/config/install.lock');
}
/**
* Notes: 取得配置信息
* @author luzg(2020/8/25 11:05)
* @param string $dbName 数据库名称
* @param array $connectionInfo 连接信息
* @return stdclass
* @throws Exception
*/
public function checkConfig($dbName, $connectionInfo)
{
$return = new stdclass();
$return->result = 'ok';
/* Connect to database. */
$this->setDBParam($connectionInfo);
$this->dbh = $this->connectDB();
if (strpos($dbName, '.') !== false) {
$return->result = 'fail';
$return->error = '没有发现数据库信息';
return $return;
}
if ( !is_object($this->dbh)) {
$return->result = 'fail';
$return->error = '安装错误,请检查连接信息:'.mb_strcut($this->dbh,0,30).'...';
echo $this->dbh;
return $return;
}
/* Get mysql version. */
$version = $this->getMysqlVersion();
/* check mysql sql_model */
if(!$this->checkSqlMode($version)) {
$return->result = 'fail';
$return->error = '请在mysql配置文件修改sql-mode添加NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
return $return;
}
/* If database no exits, try create it. */
if ( !$this->dbExists()) {
if ( !$this->createDB($version)) {
$return->result = 'fail';
$return->error = '创建数据库错误';
return $return;
}
} elseif ($this->tableExits() and $this->clearDB == false) {
$return->result = 'fail';
$return->error = '数据表已经存在,您之前应该有安装过本系统,继续安装请选择清空现有数据';
return $return;
} elseif ($this->dbExists() and $this->clearDB == true) {
if (!$this->dropDb($connectionInfo['name'])) {
$return->result = 'fail';
$return->error = '数据表已经存在,删除已存在库错误,请手动清除';
return $return;
} else {
if ( !$this->createDB($version)) {
$return->result = 'fail';
$return->error = '创建数据库错误!';
return $return;
}
}
}
/* Create tables. */
if ( !$this->createTable($version, $connectionInfo)) {
$return->result = 'fail';
$return->error = '创建表格失败';
return $return;
}
return $return;
}
/**
* Notes: 设置数据库相关信息
* @author luzg(2020/8/25 11:17)
* @param $post
*/
public function setDBParam($post)
{
$this->host = $post['host'];
$this->name = $post['name'];
$this->user = $post['user'];
$this->encoding = 'utf8mb4';
$this->password = $post['password'];
$this->port = $post['port'];
$this->prefix = $post['prefix'];
$this->clearDB = $post['clear_db'] == 'on';
}
/**
* Notes: 连接数据库
* @author luzg(2020/8/25 11:56)
* @return PDO|string
*/
public function connectDB()
{
$dsn = "mysql:host={$this->host};port={$this->port}";
try {
$dbh = new PDO($dsn, $this->user, $this->password);
$dbh->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJ);
$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$dbh->exec("SET NAMES {$this->encoding}");
$dbh->exec("SET NAMES {$this->encoding}");
try{
$dbh->exec("SET GLOBAL sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';");
}catch (Exception $e){
}
return $dbh;
} catch (PDOException $exception) {
return $exception->getMessage();
}
}
/**
* Notes: 检查数据库是否存在
* @author luzg(2020/8/25 11:56)
* @return mixed
*/
public function dbExists()
{
$sql = "SHOW DATABASES like '{$this->name}'";
return $this->dbh->query($sql)->fetch();
}
/**
* Notes: 检查表是否存在
* @author luzg(2020/8/25 11:56)
* @return mixed
*/
public function tableExits()
{
$configTable = sprintf("'%s'", $this->prefix . TESTING_TABLE);
$sql = "SHOW TABLES FROM {$this->name} like $configTable";
return $this->dbh->query($sql)->fetch();
}
/**
* Notes: 获取mysql版本号
* @author luzg(2020/8/25 11:56)
* @return false|string
*/
public function getMysqlVersion()
{
$sql = "SELECT VERSION() AS version";
$result = $this->dbh->query($sql)->fetch();
return substr($result->version, 0, 3);
}
/**
* @notes 检测数据库sql_mode
* @param $version
* @return bool
* @author 段誉
* @date 2021/8/27 17:17
*/
public function checkSqlMode($version)
{
$sql = "SELECT @@global.sql_mode";
$result = $this->dbh->query($sql)->fetch();
$result = (array)$result;
if ($version >= 5.7) {
if ((strpos($result['@@global.sql_mode'],'NO_AUTO_CREATE_USER') !==false)
&& (strpos($result['@@global.sql_mode'],'NO_ENGINE_SUBSTITUTION') !==false)) {
return true;
}
return false;
}
return true;
}
/**
* Notes: 创建数据库
* @author luzg(2020/8/25 11:57)
* @param $version
* @return mixed
*/
public function createDB($version)
{
$sql = "CREATE DATABASE `{$this->name}`";
if ($version > 4.1) $sql .= " DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci";
return $this->dbh->query($sql);
}
/**
* Notes: 创建表
* @author luzg(2020/8/25 11:57)
* @param $version
* @param $post
* @return bool
* @throws Exception
*/
public function createTable($version, $post)
{
$dbFile = $this->getInstallRoot() . '/db/like.sql';
//file_put_contents($dbFile, $this->initAccount($post), FILE_APPEND);
$content = str_replace(";\r\n", ";\n", file_get_contents($dbFile));
$tables = explode(";\n", $content);
$tables[] = $this->initAccount($post);
$installTime = microtime(true) * 10000;
foreach ($tables as $table) {
$table = trim($table);
if (empty($table)) continue;
if (strpos($table, 'CREATE') !== false and $version <= 4.1) {
$table = str_replace('DEFAULT CHARSET=utf8', '', $table);
}
// elseif (strpos($table, 'DROP') !== false and $this->clearDB != false) {
// $table = str_replace('--', '', $table);
// }
/* Skip sql that is note. */
if (strpos($table, '--') === 0) continue;
$table = str_replace('`ls_', $this->name . '.`ls_', $table);
$table = str_replace('`ls_', '`' . $this->prefix, $table);
if (strpos($table, 'CREATE') !== false) {
$tableName = explode('`', $table)[1];
$installTime += random_int(3000, 7000);
$this->successTable[] = [$tableName, date('Y-m-d H:i:s', $installTime / 10000)];
}
// if (strpos($table, "INSERT INTO ") !== false) {
// $table = str_replace('INSERT INTO ', 'INSERT INTO ' .$this->name .'.', $table);
// }
try {
if ( !$this->dbh->query($table)) return false;
} catch (Exception $e) {
echo 'error sql: ' . $table . "<br>";
echo $e->getMessage() . "<br>";
return false;
}
}
return true;
}
/**
* Notes: 删除数据库
* @param $db
* @return false|PDOStatement
*/
public function dropDb($db)
{
$sql = "drop database {$db};";
return $this->dbh->query($sql);
}
/**
* Notes: 取得安装成功的表列表
* @author luzg(2020/8/26 18:28)
* @return array
*/
public function getSuccessTable()
{
return $this->successTable;
}
/**
* Notes: 创建演示数据
* @author luzg(2020/8/25 11:58)
* @return bool
*/
public function importDemoData()
{
$demoDataFile = 'ys.sql';
$demoDataFile = $this->getInstallRoot() . '/db/' . $demoDataFile;
if (!is_file($demoDataFile)) {
echo "<br>";
echo 'no file:' .$demoDataFile;
return false;
}
$content = str_replace(";\r\n", ";\n", file_get_contents($demoDataFile));
$insertTables = explode(";\n", $content);
foreach ($insertTables as $table) {
$table = trim($table);
if (empty($table)) continue;
$table = str_replace('`ls_', $this->name . '.`ls_', $table);
$table = str_replace('`ls_', '`' .$this->prefix, $table);
if ( !$this->dbh->query($table)) return false;
}
// 移动图片资源
$this->cpFiles($this->getInstallRoot().'/uploads', $this->getAppRoot().'/public/uploads');
return true;
}
/**
* 将一个文件夹下的所有文件及文件夹
* 复制到另一个文件夹里(保持原有结构)
*
* @param <string> $rootFrom 源文件夹地址(最好为绝对路径)
* @param <string> $rootTo 目的文件夹地址(最好为绝对路径)
*/
function cpFiles($rootFrom, $rootTo){
$handle = opendir($rootFrom);
while (false !== ($file = readdir($handle))) {
//DIRECTORY_SEPARATOR 为系统的文件夹名称的分隔符 例如:windos为'/'; linux为'/'
$fileFrom = $rootFrom . DIRECTORY_SEPARATOR . $file;
$fileTo = $rootTo . DIRECTORY_SEPARATOR . $file;
if ($file == '.' || $file == '..') {
continue;
}
if (is_dir($fileFrom)) {
if (!is_dir($fileTo)) { //目标目录不存在则创建
mkdir($fileTo, 0777);
}
$this->cpFiles($fileFrom, $fileTo);
} else {
if (!file_exists($fileTo)) {
@copy($fileFrom, $fileTo);
if (strstr($fileTo, "access_token.txt")) {
chmod($fileTo, 0777);
}
}
}
}
}
/**
* Notes: 当前应用程序的相对路径
* @author luzg(2020/8/25 10:55)
* @return string
*/
public function getAppRoot()
{
return realpath($this->getInstallRoot() . '/../../');
}
/**
* Notes: 获取安装目录
* @author luzg(2020/8/26 16:15)
* @return string
*/
public function getInstallRoot()
{
return INSTALL_ROOT;
}
/**
* Notes: 目录的容量
* @author luzg(2020/8/25 15:21)
* @param $dir
* @return string
*/
public function freeDiskSpace($dir)
{
// M
$freeDiskSpace = disk_free_space(realpath(__DIR__)) / 1024 / 1024;
// G
if ($freeDiskSpace > 1024) {
return number_format($freeDiskSpace / 1024, 2) . 'G';
}
return number_format($freeDiskSpace, 2) . 'M';
}
/**
* Notes: 获取状态标志
* @author luzg(2020/8/25 16:10)
* @param $statusSingle
* @return string
*/
public function correctOrFail($statusSingle)
{
if ($statusSingle == 'ok')
return '<td class="layui-icon green">&#xe605;</td>';
$this->allowNext = false;
return '<td class="layui-icon wrong">&#x1006;</td>';
}
/**
* Notes: 是否允许下一步
* @author luzg(2020/8/25 17:29)
* @return bool
*/
public function getAllowNext()
{
return $this->allowNext;
}
/**
* Notes: 检查session auto start
* @author luzg(2020/8/25 16:55)
* @return string
*/
public function checkSessionAutoStart()
{
return $result = ini_get('session.auto_start') == '0' ? 'ok' : 'fail';
}
/**
* Notes: 检查auto tags
* @author luzg(2020/8/25 16:55)
* @return string
*/
public function checkAutoTags()
{
return $result = ini_get('session.auto_start') == '0' ? 'ok' : 'fail';
}
/**
* Notes: 检查目录是否可写
* @param $dir
* @return string
*/
public function checkDirWrite($dir='')
{
$route = $this->getAppRoot().'/'.$dir;
return $result = is_writable($route) ? 'ok' : 'fail';
}
/**
* Notes: 检查目录是否可写
* @param $dir
* @return string
*/
public function checkSuperiorDirWrite($dir='')
{
$route = $this->getAppRoot().'/'.$dir;
return $result = is_writable($route) ? 'ok' : 'fail';
}
/**
* Notes: 初始化管理账号
* @param $post
* @return string
*/
public function initAccount($post)
{
$time = time();
$salt = substr(md5($time . $post['admin_user']), 0, 4);//随机4位密码盐
$password = $this->createPassword($post['admin_password'], $salt);
$sql = "INSERT INTO `ls_admin` VALUES (1, 1, '{$post['admin_user']}', NULL, '{$post['admin_user']}',
'{$password}', '{$salt}', 0, '{$time}', '{$time}', '{$time}', '', 0, 0);";
return $sql;
}
/**
* Notes: 生成密码密文
* @param $pwd
* @param $salt
* @return string
*/
public function createPassword($pwd, $salt)
{
$salt = md5('y' . $salt . 'x');
$salt .= '2020';
return md5($pwd . $salt);
}
}
+476
View File
@@ -0,0 +1,476 @@
<?php !defined('install') && exit(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>likeshop单商户安装</title>
<link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="./css/mounted.css"/>
<link rel="shortcut icon" href="./favicon.ico"/>
</head>
<body>
<div class="header">
<div class="logo" style="width: 220px;">
<img src="./images/slogn.png?v=1"/>
</div>
</div>
<div class="mounted" id="mounted">
<div class="mounted-box">
<form method="post" action="#" name="main_form">
<div class="mounted-title">安装步骤</div>
<div class="mounted-container" id="tab">
<ul class="mounted-nav" id="nav">
<li <?php if ($step == "1") { ?>class="active"<?php } ?>>许可协议</li>
<li <?php if ($step == "2") { ?>class="active"<?php } ?>>环境监测</li>
<li <?php if ($step == "3") { ?>class="active"<?php } ?>>参数配置</li>
<li <?php if ($step == "4" or $step == '5') { ?>class="active"<?php } ?>>安装</li>
</ul>
<!-- 阅读许可 -->
<?php if ($step == '1') { ?>
<div class="mounted-content-item show">
<div class="content-header">
likeshop开源商城系统授权协议
</div>
<div class="content">
<h2>版权所有(c)2019-<?=date('Y')?>,likeshop团队保留所有权利。</h2>
<p class="mt16">
感谢你信任并选择likeshop开源商城系统,likeshop开源商城系统由广州好象科技有限公司(www.likeshop.cn)原创研发并取得软件著作权,代码全开源,小白易看懂,二开容易改,运营好上手。</p>
<p class="mt6">为了正确并合法的使用本软件,请你在使用前务必阅读清楚下面的协议条款:</p>
<h3 class="mt16">一、本授权协议适用且仅适用于likeshop系列开源软件产品(以下简称likeshop)任何版本,广州好象科技有限公司拥有本授权协议的最终解释权。</h3>
<h3 class="mt16">二、协议许可的权利</h3>
<p class="mt6">
1.免费版本可免费商用,不能私自去除官方版权。付费版本需要取得商业授权方可使用,可以去除官方版权,否则会被视为盗版行为并承担相应法律责任。
</p>
<p class="mt6">
2.请尊重likeshop开源团队劳动成果,严禁使用本系统转手、转卖、倒卖或二次开发后转手、转卖、倒卖等商业行为。
</p>
<p class="mt6">
3.任何企业和个人不允许对likeshop程序代码以任何形式任何目的再发布。
</p>
<p class="mt6">
4.你可以在协议规定的约束和限制范围内修改likeshop系列开源软件产品或界面风格以适应你的网站要求。
</p>
<p class="mt6">
5.你拥有使用本软件构建的系统全部内容所有权,并独立承担与这些内容的相关法律义务。
</p>
<p class="mt6">
6.获得商业授权之后,你可以将本软件应用于商业用途,同时依据所购买的授权类型中确定的技术支持内容,自购买时刻起,在技术支持期限内拥有通过指定的方式获得指定范围内的技术支持服务。商业授权用户享有反映和提出意见的权力,相关意见将被作为首要考虑,但没有一定被采纳的承诺或保证。
</p>
<h3 class="mt6">三、协议规定的约束和限制</h3>
<p class="mt6">
1.免费版本可免费商用,不能私自去除官方版权。付费版本需要取得商业授权方可使用,可以去除官方版权,否则会被视为盗版行为并承担相应法律责任。
</p>
<p class="mt6">
2.未经官方许可,不得对本软件或与之关联的商业授权进行出租、出售、抵押或发放子许可证。
</p>
<p class="mt6">
3.未经官方许可,禁止在likeshop开源商城的整体或任何部分基础上以发展任何派生版本、修改版本或第三方版本用于重新分发。
</p>
<p class="mt6">
4.如果你未能遵守本协议的条款,你的授权将被终止,所被许可的权利将被收回,并承担相应法律责任。
</p>
<h3 class="mt6">四、有限担保和免责声明</h3>
<p class="mt6">
1.本软件及所附带的文件是作为不提供任何明确的或隐含的赔偿或担保的形式提供的。
</p>
<p class="mt6">
2.用户出于自愿而使用本软件,你必须了解使用本软件的风险,在尚未购买产品技术服务之前,我们不承诺对免费用户提供任何形式的技术支持、使用担保,也不承担任何因使用本软件而产生问题的相关责任。
</p>
<p class="mt6">
3.电子文本形式的授权协议如同双方书面签署的协议一样,具有完全的和等同的法律效力。你一旦开始确认本协议并安装本软件,即被视为完全理解并接受本协议的各项条款,在享有上述条款授予的权力的同时,受到相关的约束和限制。协议许可范围以外的行为,将直接违反本授权协议并构成侵权,我们有权随时终止授权,责令停止损害,并保留追究相关责任的权力。
</p>
<p class="mt6">
4.如果本软件带有其它软件的整合API示范例子包,这些文件版权不属于本软件官方,并且这些文件是没经过授权发布的,请参考相关软件的使用许可合法的使用。
</p>
<br><br>
<p class="mt6">
likeshop开源地址:https://gitee.com/likeshop_gitee/likeshop
</p>
<p class="mt6">
likeshop官方网站:https://www.likeshop.cn
</p>
<p class="mt6">
likeshop知识社区:https://home.likeshop.cn
</p>
<p class="mt6">
-----------------------------------------------------
</p>
<p class="mt6">
电话: 18925185700 钟先生
</p>
<p class="mt6">
likeshop开源团队
</p>
</div>
</div>
<?php } ?>
<!-- 检查信息 -->
<?php if ($step == '2') { ?>
<div class="mounted-content-item show">
<div class="mounted-env-container">
<div class="mounted-item">
<div class="content-header">
服务器信息
</div>
<div class="content-table">
<table class="layui-table" lay-skin="line">
<colgroup>
<col width="210">
<col width="730">
</colgroup>
<thead>
<tr>
<th>参数</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>服务器操作系统</td>
<td><?php echo PHP_OS ?></td>
</tr>
<tr>
<td>web服务器环境</td>
<td><?php echo $_SERVER['SERVER_SOFTWARE']; ?></td>
</tr>
<tr>
<td>PHP版本</td>
<td><?php echo @phpversion(); ?></td>
</tr>
<tr>
<td>程序安装目录</td>
<td><?php echo realpath(__DIR__ . '../../../'); ?></td>
</tr>
<tr>
<td>磁盘空间</td>
<td><?php echo $modelInstall->freeDiskSpace(realpath(__DIR__ . '../../../')) ?></td>
</tr>
<tr>
<td>上传限制</td>
<?php if (ini_get('file_uploads')): ?>
<td><?php echo ini_get('upload_max_filesize'); ?></td>
<?php else: ?>
<td>禁止上传</td>
<?php endif; ?>
</tr>
</tbody>
</table>
</div>
</div>
<div class="mounted-tips mt16">PHP环境要求必须满足下列所有条件,否则系统或系统部分功能将无法使用。</div>
<div class="mounted-item mt16">
<div class="content-header">
PHP环境要求
</div>
<div class="content-table">
<table class="layui-table" lay-skin="line">
<colgroup>
<col width="210">
<col width="210">
<col width="120">
<col width="400">
</colgroup>
<thead>
<tr>
<th>选项</th>
<th>要求</th>
<th>状态</th>
<th>说明及帮助</th>
</tr>
</thead>
<tbody>
<tr>
<td>PHP版本</td>
<td>大于7.2</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkPHP()) ?>
<td>建议使用PHP7.2.4版本</td>
</tr>
<tr>
<td>PDO_MYSQL</td>
<td>支持 (强烈建议支持)</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkPDOMySQL()) ?>
<td></td>
</tr>
<tr>
<td>allow_url_fopen</td>
<td>支持 (建议支持cURL)</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkCurl()) ?>
<td></td>
</tr>
<tr>
<td>GD2</td>
<td>支持</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkGd2()) ?>
<td></td>
</tr>
<tr>
<td>DOM</td>
<td>支持</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkDom()) ?>
<td></td>
</tr>
<tr>
<td>session.auto_start</td>
<td>关闭</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkSessionAutoStart()) ?>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="mounted-tips mt16">
系统要求likeshop开源商城安装目录下的runtime和upload必须可写,才能使用likeshop开源商城的所有功能。
</div>
<div class="mounted-item mt16">
<div class="content-header">
目录权限监测
</div>
<div class="content-table">
<table class="layui-table" lay-skin="line">
<colgroup>
<col width="210">
<col width="210">
<col width="120">
<col width="400">
</colgroup>
<thead>
<tr>
<th>目录</th>
<th>要求</th>
<th>状态</th>
<th>说明及帮助</th>
</tr>
</thead>
<tbody>
<tr>
<td>/server/runtime</td>
<td>runtime目录可写</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkDirWrite('runtime')) ?>
<td><?php if($modelInstall->checkDirWrite('runtime') =='fail') echo'请给runtime目录权限,若目录不存在先新建';?></td>
</tr>
<tr>
<td>/server/public/uploads</td>
<td>uploads目录可写</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkDirWrite('public/uploads')) ?>
<td><?php if($modelInstall->checkDirWrite('public/uploads')=='fail') echo'请给public/uploads目录权限,若目录不存在先新建';?></td>
</tr>
<tr>
<td>/server/config</td>
<td>config目录可写</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkDirWrite('config')) ?>
<td><?php if($modelInstall->checkDirWrite('config')=='fail') echo'请给config目录权限,若目录不存在先新建';?></td>
</tr>
<tr>
<td>/server/.env</td>
<td>.env文件可写</td>
<?php echo $modelInstall->correctOrFail($modelInstall->checkDirWrite('.env')) ?>
<td><?php if($modelInstall->checkDirWrite('.env')=='fail') echo'请给.env文件权限,若文件不存在,注意文件名第1字符是" . "';?></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php } ?>
<!-- 数据库设置 -->
<?php if ($step == '3') { ?>
<div class="mounted-content-item show">
<div class="mounted-item">
<div class="content-header">
数据库选项
</div>
<div class="content-form">
<div class="form-box-item">
<div class="form-desc">
数据库主机
</div>
<div>
<input type="text" name="host" value="<?= $post['host'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
端口号
</div>
<div>
<input type="text" name="port" value="<?= $post['port'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
数据库用户
</div>
<div>
<input type="text" name="user" value="<?= $post['user'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
数据库密码
</div>
<div>
<input type="text" name="password" value="<?= $post['password'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
数据库名称
</div>
<div>
<input type="text" name="name" value="<?= $post['name'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
数据表前缀
</div>
<div>
<input type="text" name="prefix" value="<?= $post['prefix'] ?>"/>
</div>
</div>
</div>
</div>
<div class="mounted-item">
<div class="content-header mt16">
管理选项
</div>
<div class="content-form">
<div class="form-box-item">
<div class="form-desc">
管理员账号
</div>
<div>
<input type="text" name="admin_user" value="<?= $post['admin_user'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
管理员密码
</div>
<div>
<input type="password" name="admin_password"
value="<?= $post['admin_password'] ?>"/>
</div>
</div>
<div class="form-box-item">
<div class="form-desc">
确认密码
</div>
<div>
<input type="password" name="admin_confirm_password"
value="<?= $post['admin_confirm_password'] ?>"/>
</div>
</div>
<div class="form-box-check">
<div class="form-desc"></div>
<div style="display: flex;align-items: center;">
<input type="checkbox" name="import_test_data"
<?php if ($post['import_test_data'] == 'on'): ?>checked<?php endif; ?>
title="导入测试数据"/>
<div style="color: #666666;">&nbsp;导入测试数据</div>
</div>
</div>
<div class="form-box-check">
<div class="form-desc"></div>
<div style="display: flex;align-items: center;">
<input type="checkbox" name="clear_db"
<?php if ($post['clear_db'] == 'on'): ?>checked<?php endif; ?>
title="清空现有数据"/>
<div style="color: #666666;">&nbsp;清空现有数据</div>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<!-- 安装中 -->
<?php if ($step == '4' or $step == '5') { ?>
<div class="mounted-content-item show">
<?php if ($step == '4') { ?>
<div id="mounting">
<div class="content-header">
正在安装中
</div>
<div class="mounting-container " id="install_message">
<?php if (count($successTables) > 0): ?>
<p style="margin-bottom: 4px;">成功创建数据库:<?= $post['name'] ?></p>
<?php endif; ?>
</div>
</div>
<?php } ?>
<?php if ($step == '5') { ?>
<div class="show" id="mounting-success">
<div class="content-header">
安装成功
</div>
<div class="success-content">
<div style="width: 48px;height: 48px;">
<img src="./images/icon_mountSuccess.png"/>
</div>
<div class="mt16 result">安装完成,进入管理后台</div>
<div style="margin-top: 5px;font-size:14px;">版本号:3.0.3.20231204</div>
<div class="tips">
为了您站点的安全,安装完成后即可将网站根目录下的“install”文件夹删除,或者config/install.lock/目录下创建install.lock文件防止重复安装。
</div>
<div class="btn-group">
<a class="btn" href="/admin" style="margin-left: 20px;">进入管理平台</a>
</div>
</div>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</form>
<?php if ($step == '1') { ?>
<div class="item-btn-group show">
<button class="accept-btn" onclick="goStep(<?php echo $nextStep ?>)">我已阅读并同意</button>
</div>
<?php } elseif (in_array($step, ['2', "3"])) { ?>
<div class="item-btn-group show">
<button class="cancel-btn" onclick="cancel()" style="padding: 7px 63px;margin-right: 16px">返回
</button>
<?php if ($modelInstall->getAllowNext()): ?>
<button class="accept-btn" onclick="goStep(<?php echo $nextStep ?>)" style="padding: 7px 63px;">
继续
</button>
<?php else: ?>
<button class="accept-btn" onclick="goStep(<?php echo $step ?>)" style="padding: 7px 63px;">重新检查
</button>
<?php endif; ?>
</div>
<?php } elseif ($step == "4") { ?>
<div class="item-btn-group show">
<button class="disabled-btn" disabled="disabled">
<div class="layui-icon layui-icon-loading layui-anim layui-anim-rotate layui-anim-loop"></div>
<div style="font-size: 14px;margin-left: 7px;">正在安装中...</div>
</button>
</div>
<?php } ?>
</div>
</div>
<footer>
Copyright © 2019-<?=date('Y')?> 广州好象科技有限公司 粤ICP备16101670号-2
</footer>
<script src="https://www.layuicdn.com/layui/layui.js"></script>
<?php if (count($successTables) > 0): ?>
<script>var successTables = eval(<?=json_encode($successTables) ?>); </script>
<?php endif; ?>
<script src="./js/mounted.js"></script>
</body>
</html>
<?php if ($message != ''): ?>
<script>alert('<?=$message; ?>');</script>
<?php endif; ?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Loaded 100 of 2779 files, more files were not shown because too many files have changed in this diff. Show more