Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
ShopXO
提交
82222632
ShopXO
项目概览
纵之格
/
ShopXO
通知
394
Star
16
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
82222632
编写于
6月 07, 2020
作者:
D
devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
数据列表优化
上级
abef6b0f
变更
18
显示空白变更内容
内联
并排
Showing
18 changed file
with
652 addition
and
358 deletion
+652
-358
application/admin/controller/Common.php
application/admin/controller/Common.php
+11
-15
application/admin/controller/Goods.php
application/admin/controller/Goods.php
+2
-21
application/admin/controller/Plugins.php
application/admin/controller/Plugins.php
+28
-11
application/admin/form/Goods.php
application/admin/form/Goods.php
+18
-6
application/admin/view/default/goods/module/info.html
application/admin/view/default/goods/module/info.html
+2
-2
application/admin/view/default/goods/module/operate.html
application/admin/view/default/goods/module/operate.html
+1
-1
application/admin/view/default/public/form.html
application/admin/view/default/public/form.html
+34
-6
application/api/controller/Common.php
application/api/controller/Common.php
+4
-8
application/api/controller/Plugins.php
application/api/controller/Plugins.php
+30
-4
application/index/controller/Common.php
application/index/controller/Common.php
+64
-7
application/index/controller/Plugins.php
application/index/controller/Plugins.php
+27
-4
application/index/controller/Search.php
application/index/controller/Search.php
+16
-16
application/module/FormHandleModule.php
application/module/FormHandleModule.php
+283
-227
application/service/GoodsService.php
application/service/GoodsService.php
+12
-7
application/service/PluginsService.php
application/service/PluginsService.php
+1
-1
config/shopxo.sql
config/shopxo.sql
+7
-7
public/static/admin/default/css/goods.css
public/static/admin/default/css/goods.css
+0
-13
public/static/common/js/common.js
public/static/common/js/common.js
+112
-2
未找到文件。
application/admin/controller/Common.php
浏览文件 @
82222632
...
@@ -12,9 +12,9 @@ namespace app\admin\controller;
...
@@ -12,9 +12,9 @@ namespace app\admin\controller;
use
think\facade\Hook
;
use
think\facade\Hook
;
use
think\Controller
;
use
think\Controller
;
use
app\module\FormHandleModule
;
use
app\service\AdminPowerService
;
use
app\service\AdminPowerService
;
use
app\service\ConfigService
;
use
app\service\ConfigService
;
use
app\module\FormHandleModule
;
/**
/**
* 管理员公共控制器
* 管理员公共控制器
...
@@ -39,13 +39,9 @@ class Common extends Controller
...
@@ -39,13 +39,9 @@ class Common extends Controller
protected
$controller_name
;
protected
$controller_name
;
protected
$action_name
;
protected
$action_name
;
// 输入参数 post
// 输入参数 post
|get|request
protected
$data_post
;
protected
$data_post
;
// 输入参数 get
protected
$data_get
;
protected
$data_get
;
// 输入参数 request
protected
$data_request
;
protected
$data_request
;
// 分页信息
// 分页信息
...
@@ -70,14 +66,14 @@ class Common extends Controller
...
@@ -70,14 +66,14 @@ class Common extends Controller
{
{
parent
::
__construct
();
parent
::
__construct
();
// 系统初始化
$this
->
SystemInit
();
// 输入参数
// 输入参数
$this
->
data_post
=
input
(
'post.'
);
$this
->
data_post
=
input
(
'post.'
);
$this
->
data_get
=
input
(
'get.'
);
$this
->
data_get
=
input
(
'get.'
);
$this
->
data_request
=
input
();
$this
->
data_request
=
input
();
// 系统初始化
$this
->
SystemInit
();
// 管理员信息
// 管理员信息
$this
->
admin
=
session
(
'admin'
);
$this
->
admin
=
session
(
'admin'
);
...
@@ -204,6 +200,12 @@ class Common extends Controller
...
@@ -204,6 +200,12 @@ class Common extends Controller
$this
->
assign
(
'controller_name'
,
$this
->
controller_name
);
$this
->
assign
(
'controller_name'
,
$this
->
controller_name
);
$this
->
assign
(
'action_name'
,
$this
->
action_name
);
$this
->
assign
(
'action_name'
,
$this
->
action_name
);
// 管理员
$this
->
assign
(
'admin'
,
$this
->
admin
);
// 权限菜单
$this
->
assign
(
'left_menu'
,
$this
->
left_menu
);
// 分页信息
// 分页信息
$this
->
page
=
max
(
1
,
isset
(
$this
->
data_request
[
'page'
])
?
intval
(
$this
->
data_request
[
'page'
])
:
1
);
$this
->
page
=
max
(
1
,
isset
(
$this
->
data_request
[
'page'
])
?
intval
(
$this
->
data_request
[
'page'
])
:
1
);
$this
->
page_size
=
MyC
(
'admin_page_number'
,
10
,
true
);
$this
->
page_size
=
MyC
(
'admin_page_number'
,
10
,
true
);
...
@@ -222,12 +224,6 @@ class Common extends Controller
...
@@ -222,12 +224,6 @@ class Common extends Controller
$module_js
.
=
file_exists
(
ROOT_PATH
.
'static'
.
DS
.
$module_js
.
'.'
.
$this
->
action_name
.
'.js'
)
?
'.'
.
$this
->
action_name
.
'.js'
:
'.js'
;
$module_js
.
=
file_exists
(
ROOT_PATH
.
'static'
.
DS
.
$module_js
.
'.'
.
$this
->
action_name
.
'.js'
)
?
'.'
.
$this
->
action_name
.
'.js'
:
'.js'
;
$this
->
assign
(
'module_js'
,
file_exists
(
ROOT_PATH
.
'static'
.
DS
.
$module_js
)
?
$module_js
:
''
);
$this
->
assign
(
'module_js'
,
file_exists
(
ROOT_PATH
.
'static'
.
DS
.
$module_js
)
?
$module_js
:
''
);
// 权限菜单
$this
->
assign
(
'left_menu'
,
$this
->
left_menu
);
// 用户
$this
->
assign
(
'admin'
,
$this
->
admin
);
// 图片host地址
// 图片host地址
$this
->
assign
(
'attachment_host'
,
config
(
'shopxo.attachment_host'
));
$this
->
assign
(
'attachment_host'
,
config
(
'shopxo.attachment_host'
));
...
...
application/admin/controller/Goods.php
浏览文件 @
82222632
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
namespace
app\admin\controller
;
namespace
app\admin\controller
;
use
think\facade\Hook
;
use
think\facade\Hook
;
use
app\service\ResourcesService
;
use
app\service\GoodsService
;
use
app\service\GoodsService
;
use
app\service\RegionService
;
use
app\service\RegionService
;
use
app\service\BrandService
;
use
app\service\BrandService
;
...
@@ -53,12 +52,6 @@ class Goods extends Common
...
@@ -53,12 +52,6 @@ class Goods extends Common
*/
*/
public
function
Index
()
public
function
Index
()
{
{
// 参数
$params
=
$this
->
data_request
;
// 条件
//$where = GoodsService::GetAdminIndexWhere($params);
// 总数
// 总数
$total
=
GoodsService
::
GoodsTotal
(
$this
->
form_where
);
$total
=
GoodsService
::
GoodsTotal
(
$this
->
form_where
);
...
@@ -66,7 +59,7 @@ class Goods extends Common
...
@@ -66,7 +59,7 @@ class Goods extends Common
$page_params
=
array
(
$page_params
=
array
(
'number'
=>
$this
->
page_size
,
'number'
=>
$this
->
page_size
,
'total'
=>
$total
,
'total'
=>
$total
,
'where'
=>
$
params
,
'where'
=>
$
this
->
data_request
,
'page'
=>
$this
->
page
,
'page'
=>
$this
->
page
,
'url'
=>
MyUrl
(
'admin/goods/index'
),
'url'
=>
MyUrl
(
'admin/goods/index'
),
);
);
...
@@ -81,19 +74,7 @@ class Goods extends Common
...
@@ -81,19 +74,7 @@ class Goods extends Common
];
];
$ret
=
GoodsService
::
GoodsList
(
$data_params
);
$ret
=
GoodsService
::
GoodsList
(
$data_params
);
// 商品分类
$this
->
assign
(
'params'
,
$this
->
data_request
);
$this
->
assign
(
'goods_category_list'
,
GoodsService
::
GoodsCategoryAll
());
// 品牌分类
$this
->
assign
(
'brand_list'
,
BrandService
::
CategoryBrand
());
// 是否上下架
$this
->
assign
(
'common_is_shelves_list'
,
lang
(
'common_is_shelves_list'
));
// 是否首页推荐
$this
->
assign
(
'common_is_text_list'
,
lang
(
'common_is_text_list'
));
$this
->
assign
(
'params'
,
$params
);
$this
->
assign
(
'page_html'
,
$page
->
GetPageHtml
());
$this
->
assign
(
'page_html'
,
$page
->
GetPageHtml
());
$this
->
assign
(
'data_list'
,
$ret
[
'data'
]);
$this
->
assign
(
'data_list'
,
$ret
[
'data'
]);
return
$this
->
fetch
();
return
$this
->
fetch
();
...
...
application/admin/controller/Plugins.php
浏览文件 @
82222632
...
@@ -32,12 +32,6 @@ class Plugins extends Common
...
@@ -32,12 +32,6 @@ class Plugins extends Common
public
function
__construct
()
public
function
__construct
()
{
{
parent
::
__construct
();
parent
::
__construct
();
// 登录校验
$this
->
IsLogin
();
// 权限校验
$this
->
IsPower
();
}
}
/**
/**
...
@@ -50,7 +44,7 @@ class Plugins extends Common
...
@@ -50,7 +44,7 @@ class Plugins extends Common
public
function
Index
()
public
function
Index
()
{
{
// 参数
// 参数
$params
=
input
();
$params
=
$this
->
GetClassVars
();
// 请求参数校验
// 请求参数校验
$p
=
[
$p
=
[
...
@@ -70,7 +64,7 @@ class Plugins extends Common
...
@@ -70,7 +64,7 @@ class Plugins extends Common
'error_msg'
=>
'应用操作方法有误'
,
'error_msg'
=>
'应用操作方法有误'
,
],
],
];
];
$ret
=
ParamsChecked
(
$params
,
$p
);
$ret
=
ParamsChecked
(
$params
[
'data_request'
]
,
$p
);
if
(
$ret
!==
true
)
if
(
$ret
!==
true
)
{
{
if
(
IS_AJAX
)
if
(
IS_AJAX
)
...
@@ -83,9 +77,10 @@ class Plugins extends Common
...
@@ -83,9 +77,10 @@ class Plugins extends Common
}
}
// 应用名称/控制器/方法
// 应用名称/控制器/方法
$pluginsname
=
$params
[
'pluginsname'
];
$pluginsname
=
$params
[
'data_request'
][
'pluginsname'
];
$pluginscontrol
=
strtolower
(
$params
[
'pluginscontrol'
]);
$pluginscontrol
=
strtolower
(
$params
[
'data_request'
][
'pluginscontrol'
]);
$pluginsaction
=
strtolower
(
$params
[
'pluginsaction'
]);
$pluginsaction
=
strtolower
(
$params
[
'data_request'
][
'pluginsaction'
]);
unset
(
$params
[
'data_request'
][
'pluginsname'
],
$params
[
'data_request'
][
'pluginscontrol'
],
$params
[
'data_request'
][
'pluginsaction'
]);
// 视图初始化
// 视图初始化
$this
->
PluginsViewInit
(
$pluginsname
,
$pluginscontrol
,
$pluginsaction
);
$this
->
PluginsViewInit
(
$pluginsname
,
$pluginscontrol
,
$pluginsaction
);
...
@@ -110,6 +105,28 @@ class Plugins extends Common
...
@@ -110,6 +105,28 @@ class Plugins extends Common
}
}
}
}
/**
* 获取类属性数据
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-06-07
* @desc description
*/
public
function
GetClassVars
()
{
$data
=
[];
$vers
=
get_class_vars
(
get_class
());
foreach
(
$vers
as
$k
=>
$v
)
{
if
(
property_exists
(
$this
,
$k
))
{
$data
[
$k
]
=
$this
->
$k
;
}
}
return
$data
;
}
/**
/**
* 视图初始化
* 视图初始化
* @author Devil
* @author Devil
...
...
application/admin/form/Goods.php
浏览文件 @
82222632
...
@@ -48,6 +48,9 @@ class Goods
...
@@ -48,6 +48,9 @@ class Goods
'status_field'
=>
'is_shelves'
,
'status_field'
=>
'is_shelves'
,
'is_search'
=>
1
,
'is_search'
=>
1
,
'search_url'
=>
MyUrl
(
'admin/goods/index'
),
'search_url'
=>
MyUrl
(
'admin/goods/index'
),
'is_delete'
=>
1
,
'delete_url'
=>
MyUrl
(
'admin/goods/delete'
),
'delete_key'
=>
'ids'
,
],
],
// 表单配置
// 表单配置
'form'
=>
[
'form'
=>
[
...
@@ -59,16 +62,11 @@ class Goods
...
@@ -59,16 +62,11 @@ class Goods
'align'
=>
'center'
,
'align'
=>
'center'
,
'width'
=>
80
,
'width'
=>
80
,
],
],
[
'view_type'
=>
'radio'
,
'align'
=>
'center'
,
'width'
=>
50
,
],
[
[
'label'
=>
'商品ID'
,
'label'
=>
'商品ID'
,
'view_type'
=>
'field'
,
'view_type'
=>
'field'
,
'view_key'
=>
'id'
,
'view_key'
=>
'id'
,
'width'
=>
8
0
,
'width'
=>
12
0
,
'search_config'
=>
[
'search_config'
=>
[
'form_type'
=>
'input'
,
'form_type'
=>
'input'
,
'form_name'
=>
'id'
,
'form_name'
=>
'id'
,
...
@@ -188,6 +186,20 @@ class Goods
...
@@ -188,6 +186,20 @@ class Goods
'where_type'
=>
'in'
,
'where_type'
=>
'in'
,
],
],
],
],
[
'label'
=>
'生产地'
,
'view_type'
=>
'field'
,
'view_key'
=>
'place_origin_name'
,
'search_config'
=>
[
'form_type'
=>
'select'
,
'form_name'
=>
'place_origin'
,
'data'
=>
RegionService
::
RegionItems
([
'pid'
=>
0
]),
'data_key'
=>
'id'
,
'data_name'
=>
'name'
,
'where_type'
=>
'in'
,
'is_multiple'
=>
1
,
],
],
[
[
'label'
=>
'创建时间'
,
'label'
=>
'创建时间'
,
'view_type'
=>
'field'
,
'view_type'
=>
'field'
,
...
...
application/admin/view/default/goods/module/info.html
浏览文件 @
82222632
<!-- 商品基础信息 -->
<!-- 商品基础信息 -->
{{if !empty($module_data)}}
{{if !empty($module_data)}}
<div
class=
"
goods
"
>
<div
class=
"
am-nbfc
"
>
<a
href=
"{{$module_data.goods_url}}"
target=
"_blank"
title=
"{{$module_data.title}}"
>
<a
href=
"{{$module_data.goods_url}}"
target=
"_blank"
title=
"{{$module_data.title}}"
>
<img
src=
"{{$module_data['images']}}"
class=
"am-img-thumbnail am-radius
goods-images
"
/>
<img
src=
"{{$module_data['images']}}"
class=
"am-img-thumbnail am-radius
am-margin-right-xs am-fl"
width=
"60"
height=
"60
"
/>
</a>
</a>
<a
href=
"{{$module_data.goods_url}}"
target=
"_blank"
title=
"{{$module_data.title}}"
{{
if
!
empty
($
module_data
['
title_color
'])}}
style=
"color:{{$module_data.title_color}};"
{{/
if
}}
class=
"am-nowrap-initial"
>
{{$module_data.title}}
</a>
<a
href=
"{{$module_data.goods_url}}"
target=
"_blank"
title=
"{{$module_data.title}}"
{{
if
!
empty
($
module_data
['
title_color
'])}}
style=
"color:{{$module_data.title_color}};"
{{/
if
}}
class=
"am-nowrap-initial"
>
{{$module_data.title}}
</a>
{{if !empty($module_data['simple_desc'])}}
{{if !empty($module_data['simple_desc'])}}
...
...
application/admin/view/default/goods/module/operate.html
浏览文件 @
82222632
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<i
class=
"am-icon-edit"
></i>
<i
class=
"am-icon-edit"
></i>
<span>
编辑
</span>
<span>
编辑
</span>
</a>
</a>
<button
type=
"button"
class=
"am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete"
data-url=
"{{:MyUrl('admin/goods/delete')}}"
data-id=
"{{$module_data.id}}"
>
<button
type=
"button"
class=
"am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete"
data-url=
"{{:MyUrl('admin/goods/delete')}}"
data-id=
"{{$module_data.id}}"
data-key=
"ids"
>
<i
class=
"am-icon-trash-o"
></i>
<i
class=
"am-icon-trash-o"
></i>
<span>
删除
</span>
<span>
删除
</span>
</button>
</button>
\ No newline at end of file
application/admin/view/default/public/form.html
浏览文件 @
82222632
...
@@ -50,8 +50,19 @@
...
@@ -50,8 +50,19 @@
<div
class=
"am-g form-table-operate-top"
>
<div
class=
"am-g form-table-operate-top"
>
{{block name="form_operate_top"}}
{{block name="form_operate_top"}}
<!-- 公共操作 -->
<!-- 公共操作 -->
<a
href=
"{{:MyUrl('admin/goods/index')}}"
class=
"am-btn am-btn-warning am-radius am-btn-sm am-icon-filter"
>
重置
</a>
<!-- 是否开启删除操作 -->
<button
type=
"submit"
class=
"am-btn am-btn-primary am-radius am-btn-xs btn-loading-example am-icon-search"
data-am-loading=
"{loadingText:' 搜索中...'}"
>
搜索
</button>
{{if isset($form_table['base']['is_delete']) and $form_table['base']['is_delete'] eq 1}}
<button
type=
"button"
class=
"am-btn am-btn-danger am-radius am-btn-xs am-icon-trash-o form-table-operate-top-delete-submit"
data-url=
"{{if isset($form_table['base']['delete_url'])}}{{$form_table.base.delete_url}}{{/if}}"
data-form=
"{{if isset($form_table['base']['delete_form'])}}{{$form_table.base.delete_form}}{{/if}}"
data-key=
"{{if isset($form_table['base']['delete_key'])}}{{$form_table.base.delete_key}}{{/if}}"
data-confirm-title=
"{{if isset($form_table['base']['confirm_title'])}}{{$form_table.base.confirm_title}}{{/if}}"
data-confirm-msg=
"{{if isset($form_table['base']['confirm_msg'])}}{{$form_table.base.confirm_msg}}{{/if}}"
data-timeout=
"{{if isset($form_table['base']['timeout'])}}{{$form_table.base.timeout}}{{/if}}"
>
删除
</button>
{{/if}}
<!-- 钩子 -->
<!-- 钩子 -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
...
@@ -73,13 +84,19 @@
...
@@ -73,13 +84,19 @@
}
}
}
}
{{/php}}
{{/php}}
<!-- 是否开启搜索操作 公共搜索操作放在最后面 -->
{{if isset($form_table['base']['is_search']) and $form_table['base']['is_search'] eq 1}}
<a
href=
"{{if isset($form_table['base']['search_url'])}}{{$form_table.base.search_url}}{{/if}}"
class=
"am-btn am-btn-warning am-radius am-btn-sm am-icon-filter"
>
重置
</a>
<button
type=
"submit"
class=
"am-btn am-btn-primary am-radius am-btn-xs btn-loading-example am-icon-search"
data-am-loading=
"{loadingText:' 搜索中...'}"
>
搜索
</button>
{{/if}}
{{/block}}
{{/block}}
</div>
</div>
<!-- top operate end -->
<!-- top operate end -->
<!-- list start -->
<!-- list start -->
<div
class=
"am-scrollable-horizontal am-table-scrollable-horizontal am-margin-top-sm"
>
<div
class=
"am-scrollable-horizontal am-table-scrollable-horizontal am-margin-top-sm"
>
<table
class=
"am-table am-table-striped am-table-hover am-table-bordered am-text-nowrap"
>
<table
class=
"am-table am-table-striped am-table-hover am-table-bordered am-text-nowrap
form-table-data-list
"
>
<thead>
<thead>
<tr>
<tr>
{{foreach $form_table['form'] as $t}}
{{foreach $form_table['form'] as $t}}
...
@@ -243,9 +260,16 @@
...
@@ -243,9 +260,16 @@
{{else /}}
{{else /}}
<!-- 非数组则直接取值 -->
<!-- 非数组则直接取值 -->
{{if isset($data_list[$i][$t['view_key']])}}
{{if isset($data_list[$i][$t['view_key']])}}
<!-- 是否指定数据转换 -->
{{if !empty($t['view_data']) and is_array($t['view_data']) and isset($t['view_data'][$data_list[$i][$t['view_key']]])}}
{{$t['view_data'][$data_list[$i][$t['view_key']]]}}
<!-- 直接展示数据 -->
{{else /}}
{{$data_list[$i][$t['view_key']]|raw}}
{{$data_list[$i][$t['view_key']]|raw}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{/case}}
{{/case}}
{{case module}}
{{case module}}
<!-- 从模块加载自定义模块数据 -->
<!-- 从模块加载自定义模块数据 -->
...
@@ -297,7 +321,7 @@
...
@@ -297,7 +321,7 @@
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
<div
class=
"form-table-operate-checkbox"
>
<div
class=
"form-table-operate-checkbox"
>
<label
class=
"am-checkbox am-secondary am-checkbox-inline"
>
<label
class=
"am-checkbox am-secondary am-checkbox-inline"
>
<input
type=
"checkbox"
name=
"{{$t.view_key}}"
value=
"{{$data_list[$i][$form_table['base']['key_field']]}}"
{{
if
!
empty
($
form_params
)
and
isset
($
form_params
[$
t
['
view_key
']])
and
in_array
($
data_list
[$
i
][$
form_table
['
base
']['
key_field
']],
$
form_params
[$
t
['
view_key
']])
}}
checked
{{/
if
}}
data-am-ucheck
/>
<input
type=
"checkbox"
name=
"{{$t.view_key}}"
value=
"{{$data_list[$i][$form_table['base']['key_field']]}}"
{{
if
isset
($
t
['
is_checked
'])
and
$
t
['
is_checked
']
eq
1
}}
checked
{{/
if
}}
data-am-ucheck
/>
</label>
</label>
</div>
</div>
{{/if}}
{{/if}}
...
@@ -306,7 +330,7 @@
...
@@ -306,7 +330,7 @@
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
{{if isset($data_list[$i][$form_table['base']['key_field']])}}
<div
class=
"form-table-operate-radio"
>
<div
class=
"form-table-operate-radio"
>
<label
class=
"am-radio am-secondary am-radio-inline"
>
<label
class=
"am-radio am-secondary am-radio-inline"
>
<input
type=
"radio"
name=
"{{$t.view_key}}"
value=
"{{$data_list[$i][$form_table['base']['key_field']]}}"
{{
if
!
empty
($
form_params
)
and
isset
($
form_params
[$
t
['
view_key
']])
and
$
form_params
[$
t
['
view_key
']]
eq
$
data_list
[$
i
][$
form_table
['
base
']['
key_field
']]
}}
checked
{{/
if
}}
data-am-ucheck
/>
<input
type=
"radio"
name=
"{{$t.view_key}}"
value=
"{{$data_list[$i][$form_table['base']['key_field']]}}"
{{
if
isset
($
t
['
is_checked
'])
and
$
t
['
is_checked
']
eq
1
}}
checked
{{/
if
}}
data-am-ucheck
/>
</label>
</label>
</div>
</div>
{{/if}}
{{/if}}
...
@@ -363,6 +387,10 @@
...
@@ -363,6 +387,10 @@
{{/block}}
{{/block}}
<!-- page end -->
<!-- page end -->
<!-- extend start -->
{{block name="form_extend"}}{{/block}}
<!-- extend end -->
<!-- content inside top hook -->
<!-- content inside top hook -->
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
<div
class=
"plugins-tag"
>
<div
class=
"plugins-tag"
>
...
...
application/api/controller/Common.php
浏览文件 @
82222632
...
@@ -27,13 +27,9 @@ class Common extends Controller
...
@@ -27,13 +27,9 @@ class Common extends Controller
// 用户信息
// 用户信息
protected
$user
;
protected
$user
;
// 输入参数 post
// 输入参数 post
|get|request
protected
$data_post
;
protected
$data_post
;
// 输入参数 get
protected
$data_get
;
protected
$data_get
;
// 输入参数 request
protected
$data_request
;
protected
$data_request
;
/**
/**
...
@@ -48,14 +44,14 @@ class Common extends Controller
...
@@ -48,14 +44,14 @@ class Common extends Controller
{
{
parent
::
__construct
();
parent
::
__construct
();
// 系统运行开始
SystemService
::
SystemBegin
();
// 输入参数
// 输入参数
$this
->
data_post
=
input
(
'post.'
);
$this
->
data_post
=
input
(
'post.'
);
$this
->
data_get
=
input
(
'get.'
);
$this
->
data_get
=
input
(
'get.'
);
$this
->
data_request
=
input
();
$this
->
data_request
=
input
();
// 系统运行开始
SystemService
::
SystemBegin
();
// 系统初始化
// 系统初始化
$this
->
SystemInit
();
$this
->
SystemInit
();
...
...
application/api/controller/Plugins.php
浏览文件 @
82222632
...
@@ -44,6 +44,9 @@ class Plugins extends Common
...
@@ -44,6 +44,9 @@ class Plugins extends Common
*/
*/
public
function
Index
()
public
function
Index
()
{
{
// 参数
$params
=
$this
->
GetClassVars
();
// 请求参数校验
// 请求参数校验
$p
=
[
$p
=
[
[
[
...
@@ -69,12 +72,13 @@ class Plugins extends Common
...
@@ -69,12 +72,13 @@ class Plugins extends Common
}
}
// 应用名称/控制器/方法
// 应用名称/控制器/方法
$pluginsname
=
$this
->
data_request
[
'pluginsname'
];
$pluginsname
=
$params
[
'data_request'
][
'pluginsname'
];
$pluginscontrol
=
strtolower
(
$this
->
data_request
[
'pluginscontrol'
]);
$pluginscontrol
=
strtolower
(
$params
[
'data_request'
][
'pluginscontrol'
]);
$pluginsaction
=
strtolower
(
$this
->
data_request
[
'pluginsaction'
]);
$pluginsaction
=
strtolower
(
$params
[
'data_request'
][
'pluginsaction'
]);
unset
(
$params
[
'data_request'
][
'pluginsname'
],
$params
[
'data_request'
][
'pluginscontrol'
],
$params
[
'data_request'
][
'pluginsaction'
]);
// 调用
// 调用
$ret
=
PluginsService
::
PluginsControlCall
(
$pluginsname
,
$pluginscontrol
,
$pluginsaction
,
'api'
,
$
this
->
data_request
);
$ret
=
PluginsService
::
PluginsControlCall
(
$pluginsname
,
$pluginscontrol
,
$pluginsaction
,
'api'
,
$
params
);
if
(
$ret
[
'code'
]
==
0
)
if
(
$ret
[
'code'
]
==
0
)
{
{
return
$ret
[
'data'
];
return
$ret
[
'data'
];
...
@@ -83,5 +87,27 @@ class Plugins extends Common
...
@@ -83,5 +87,27 @@ class Plugins extends Common
// 调用失败
// 调用失败
return
$ret
;
return
$ret
;
}
}
/**
* 获取类属性数据
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-06-07
* @desc description
*/
public
function
GetClassVars
()
{
$data
=
[];
$vers
=
get_class_vars
(
get_class
());
foreach
(
$vers
as
$k
=>
$v
)
{
if
(
property_exists
(
$this
,
$k
))
{
$data
[
$k
]
=
$this
->
$k
;
}
}
return
$data
;
}
}
}
?>
?>
\ No newline at end of file
application/index/controller/Common.php
浏览文件 @
82222632
...
@@ -12,6 +12,7 @@ namespace app\index\controller;
...
@@ -12,6 +12,7 @@ namespace app\index\controller;
use
think\facade\Hook
;
use
think\facade\Hook
;
use
think\Controller
;
use
think\Controller
;
use
app\module\FormHandleModule
;
use
app\service\SystemService
;
use
app\service\SystemService
;
use
app\service\GoodsService
;
use
app\service\GoodsService
;
use
app\service\NavigationService
;
use
app\service\NavigationService
;
...
@@ -44,6 +45,26 @@ class Common extends Controller
...
@@ -44,6 +45,26 @@ class Common extends Controller
// 请求参数
// 请求参数
protected
$params
;
protected
$params
;
// 当前操作名称
protected
$module_name
;
protected
$controller_name
;
protected
$action_name
;
// 输入参数 post|get|request
protected
$data_post
;
protected
$data_get
;
protected
$data_request
;
// 分页信息
protected
$page
;
protected
$page_size
;
// 动态表格
protected
$form_table
;
protected
$form_where
;
protected
$form_params
;
protected
$form_error
;
/**
/**
* 构造方法
* 构造方法
* @author Devil
* @author Devil
...
@@ -56,6 +77,11 @@ class Common extends Controller
...
@@ -56,6 +77,11 @@ class Common extends Controller
{
{
parent
::
__construct
();
parent
::
__construct
();
// 输入参数
$this
->
data_post
=
input
(
'post.'
);
$this
->
data_get
=
input
(
'get.'
);
$this
->
data_request
=
input
();
// 系统初始化
// 系统初始化
$this
->
SystemInit
();
$this
->
SystemInit
();
...
@@ -74,6 +100,9 @@ class Common extends Controller
...
@@ -74,6 +100,9 @@ class Common extends Controller
// 视图初始化
// 视图初始化
$this
->
ViewInit
();
$this
->
ViewInit
();
// 动态表格初始化
$this
->
FormTableInit
();
// 公共钩子初始化
// 公共钩子初始化
$this
->
CommonPluginsInit
();
$this
->
CommonPluginsInit
();
}
}
...
@@ -149,9 +178,6 @@ class Common extends Controller
...
@@ -149,9 +178,6 @@ class Common extends Controller
*/
*/
private
function
SystemInit
()
private
function
SystemInit
()
{
{
// 公共参数
$this
->
params
=
input
();
// 配置信息初始化
// 配置信息初始化
ConfigService
::
ConfigInit
();
ConfigService
::
ConfigInit
();
...
@@ -162,9 +188,9 @@ class Common extends Controller
...
@@ -162,9 +188,9 @@ class Common extends Controller
}
}
// 推荐人
// 推荐人
if
(
!
empty
(
$this
->
params
[
'referrer'
]))
if
(
!
empty
(
$this
->
data_request
[
'referrer'
]))
{
{
session
(
'share_referrer_id'
,
$this
->
params
[
'referrer'
]);
session
(
'share_referrer_id'
,
$this
->
data_request
[
'referrer'
]);
}
}
}
}
...
@@ -211,7 +237,7 @@ class Common extends Controller
...
@@ -211,7 +237,7 @@ class Common extends Controller
public
function
ViewInit
()
public
function
ViewInit
()
{
{
// 公共参数
// 公共参数
$this
->
assign
(
'params'
,
$this
->
params
);
$this
->
assign
(
'params'
,
$this
->
data_request
);
// 价格符号
// 价格符号
$this
->
assign
(
'price_symbol'
,
config
(
'shopxo.price_symbol'
));
$this
->
assign
(
'price_symbol'
,
config
(
'shopxo.price_symbol'
));
...
@@ -319,6 +345,37 @@ class Common extends Controller
...
@@ -319,6 +345,37 @@ class Common extends Controller
$this
->
assign
(
'is_load_baidu_map_api'
,
0
);
$this
->
assign
(
'is_load_baidu_map_api'
,
0
);
}
}
/**
* 动态表格初始化
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-06-02
* @desc description
*/
public
function
FormTableInit
()
{
// 获取表格模型
$module
=
FormModulePath
(
$this
->
data_request
);
if
(
!
empty
(
$module
))
{
// 调用表格处理
$res
=
(
new
FormHandleModule
())
->
Run
(
$module
,
$this
->
data_request
);
if
(
$res
[
'code'
]
==
0
)
{
$this
->
form_table
=
$res
[
'data'
][
'table'
];
$this
->
form_where
=
$res
[
'data'
][
'where'
];
$this
->
form_params
=
$res
[
'data'
][
'params'
];
$this
->
assign
(
'form_table'
,
$this
->
form_table
);
$this
->
assign
(
'form_params'
,
$this
->
form_params
);
}
else
{
$this
->
form_error
=
$res
[
'msg'
];
$this
->
assign
(
'form_error'
,
$this
->
form_error
);
}
}
}
/**
/**
* [NavInit 导航初始化]
* [NavInit 导航初始化]
* @author Devil
* @author Devil
...
...
application/index/controller/Plugins.php
浏览文件 @
82222632
...
@@ -44,7 +44,7 @@ class Plugins extends Common
...
@@ -44,7 +44,7 @@ class Plugins extends Common
public
function
Index
()
public
function
Index
()
{
{
// 参数
// 参数
$params
=
input
();
$params
=
$this
->
GetClassVars
();
// 请求参数校验
// 请求参数校验
$p
=
[
$p
=
[
...
@@ -77,9 +77,10 @@ class Plugins extends Common
...
@@ -77,9 +77,10 @@ class Plugins extends Common
}
}
// 应用名称/控制器/方法
// 应用名称/控制器/方法
$pluginsname
=
$params
[
'pluginsname'
];
$pluginsname
=
$params
[
'data_request'
][
'pluginsname'
];
$pluginscontrol
=
strtolower
(
$params
[
'pluginscontrol'
]);
$pluginscontrol
=
strtolower
(
$params
[
'data_request'
][
'pluginscontrol'
]);
$pluginsaction
=
strtolower
(
$params
[
'pluginsaction'
]);
$pluginsaction
=
strtolower
(
$params
[
'data_request'
][
'pluginsaction'
]);
unset
(
$params
[
'data_request'
][
'pluginsname'
],
$params
[
'data_request'
][
'pluginscontrol'
],
$params
[
'data_request'
][
'pluginsaction'
]);
// 视图初始化
// 视图初始化
$this
->
PluginsViewInit
(
$pluginsname
,
$pluginscontrol
,
$pluginsaction
);
$this
->
PluginsViewInit
(
$pluginsname
,
$pluginscontrol
,
$pluginsaction
);
...
@@ -104,6 +105,28 @@ class Plugins extends Common
...
@@ -104,6 +105,28 @@ class Plugins extends Common
}
}
}
}
/**
* 获取类属性数据
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-06-07
* @desc description
*/
public
function
GetClassVars
()
{
$data
=
[];
$vers
=
get_class_vars
(
get_class
());
foreach
(
$vers
as
$k
=>
$v
)
{
if
(
property_exists
(
$this
,
$k
))
{
$data
[
$k
]
=
$this
->
$k
;
}
}
return
$data
;
}
/**
/**
* 视图初始化
* 视图初始化
* @author Devil
* @author Devil
...
...
application/index/controller/Search.php
浏览文件 @
82222632
...
@@ -56,16 +56,16 @@ class Search extends Common
...
@@ -56,16 +56,16 @@ class Search extends Common
$this
->
ParamsInit
();
$this
->
ParamsInit
();
// 品牌列表
// 品牌列表
$this
->
assign
(
'brand_list'
,
BrandService
::
CategoryBrandList
([
'category_id'
=>
$this
->
params
[
'category_id'
],
'keywords'
=>
$this
->
params
[
'wd'
]]));
$this
->
assign
(
'brand_list'
,
BrandService
::
CategoryBrandList
([
'category_id'
=>
$this
->
data_request
[
'category_id'
],
'keywords'
=>
$this
->
data_request
[
'wd'
]]));
// 商品分类
// 商品分类
$this
->
assign
(
'category_list'
,
SearchService
::
GoodsCategoryList
([
'category_id'
=>
$this
->
params
[
'category_id'
]]));
$this
->
assign
(
'category_list'
,
SearchService
::
GoodsCategoryList
([
'category_id'
=>
$this
->
data_request
[
'category_id'
]]));
// 筛选价格区间
// 筛选价格区间
$this
->
assign
(
'screening_price_list'
,
SearchService
::
ScreeningPriceList
([
'field'
=>
'id,name'
]));
$this
->
assign
(
'screening_price_list'
,
SearchService
::
ScreeningPriceList
([
'field'
=>
'id,name'
]));
// 参数
// 参数
$this
->
assign
(
'params'
,
$this
->
params
);
$this
->
assign
(
'params'
,
$this
->
data_request
);
// seo
// seo
$this
->
SetSeo
();
$this
->
SetSeo
();
...
@@ -86,10 +86,10 @@ class Search extends Common
...
@@ -86,10 +86,10 @@ class Search extends Common
*/
*/
private
function
SetSeo
()
private
function
SetSeo
()
{
{
$seo_title
=
$this
->
params
[
'wd'
];
$seo_title
=
$this
->
data_request
[
'wd'
];
if
(
!
empty
(
$this
->
params
[
'category_id'
]))
if
(
!
empty
(
$this
->
data_request
[
'category_id'
]))
{
{
$category
=
GoodsService
::
GoodsCategoryRow
([
'id'
=>
$this
->
params
[
'category_id'
],
'field'
=>
'name,seo_title,seo_keywords,seo_desc'
]);
$category
=
GoodsService
::
GoodsCategoryRow
([
'id'
=>
$this
->
data_request
[
'category_id'
],
'field'
=>
'name,seo_title,seo_keywords,seo_desc'
]);
if
(
!
empty
(
$category
))
if
(
!
empty
(
$category
))
{
{
$seo_title
=
empty
(
$category
[
'seo_title'
])
?
$category
[
'name'
]
:
$category
[
'seo_title'
];
$seo_title
=
empty
(
$category
[
'seo_title'
])
?
$category
[
'name'
]
:
$category
[
'seo_title'
];
...
@@ -118,23 +118,23 @@ class Search extends Common
...
@@ -118,23 +118,23 @@ class Search extends Common
private
function
ParamsInit
()
private
function
ParamsInit
()
{
{
// 品牌id
// 品牌id
$this
->
params
[
'brand_id'
]
=
isset
(
$this
->
params
[
'brand_id'
])
?
intval
(
$this
->
params
[
'brand_id'
])
:
0
;
$this
->
data_request
[
'brand_id'
]
=
isset
(
$this
->
data_request
[
'brand_id'
])
?
intval
(
$this
->
data_request
[
'brand_id'
])
:
0
;
// 分类id
// 分类id
$this
->
params
[
'category_id'
]
=
isset
(
$this
->
params
[
'category_id'
])
?
intval
(
$this
->
params
[
'category_id'
])
:
0
;
$this
->
data_request
[
'category_id'
]
=
isset
(
$this
->
data_request
[
'category_id'
])
?
intval
(
$this
->
data_request
[
'category_id'
])
:
0
;
// 筛选价格id
// 筛选价格id
$this
->
params
[
'screening_price_id'
]
=
isset
(
$this
->
params
[
'screening_price_id'
])
?
intval
(
$this
->
params
[
'screening_price_id'
])
:
0
;
$this
->
data_request
[
'screening_price_id'
]
=
isset
(
$this
->
data_request
[
'screening_price_id'
])
?
intval
(
$this
->
data_request
[
'screening_price_id'
])
:
0
;
// 搜索关键字
// 搜索关键字
$this
->
params
[
'wd'
]
=
empty
(
$this
->
params
[
'wd'
])
?
''
:
(
IS_AJAX
?
trim
(
$this
->
params
[
'wd'
])
:
AsciiToStr
(
$this
->
params
[
'wd'
]));
$this
->
data_request
[
'wd'
]
=
empty
(
$this
->
data_request
[
'wd'
])
?
''
:
(
IS_AJAX
?
trim
(
$this
->
data_request
[
'wd'
])
:
AsciiToStr
(
$this
->
data_request
[
'wd'
]));
// 排序方式
// 排序方式
$this
->
params
[
'order_by_field'
]
=
empty
(
$this
->
params
[
'order_by_field'
])
?
'default'
:
$this
->
params
[
'order_by_field'
];
$this
->
data_request
[
'order_by_field'
]
=
empty
(
$this
->
data_request
[
'order_by_field'
])
?
'default'
:
$this
->
data_request
[
'order_by_field'
];
$this
->
params
[
'order_by_type'
]
=
empty
(
$this
->
params
[
'order_by_type'
])
?
'desc'
:
$this
->
params
[
'order_by_type'
];
$this
->
data_request
[
'order_by_type'
]
=
empty
(
$this
->
data_request
[
'order_by_type'
])
?
'desc'
:
$this
->
data_request
[
'order_by_type'
];
// 用户信息
// 用户信息
$this
->
params
[
'user_id'
]
=
isset
(
$this
->
user
[
'id'
])
?
$this
->
user
[
'id'
]
:
0
;
$this
->
data_request
[
'user_id'
]
=
isset
(
$this
->
user
[
'id'
])
?
$this
->
user
[
'id'
]
:
0
;
}
}
/**
/**
...
@@ -157,11 +157,11 @@ class Search extends Common
...
@@ -157,11 +157,11 @@ class Search extends Common
$this
->
ParamsInit
();
$this
->
ParamsInit
();
// 获取商品列表
// 获取商品列表
$this
->
params
[
'keywords'
]
=
$this
->
params
[
'wd'
];
$this
->
data_request
[
'keywords'
]
=
$this
->
data_request
[
'wd'
];
$ret
=
SearchService
::
GoodsList
(
$this
->
params
);
$ret
=
SearchService
::
GoodsList
(
$this
->
data_request
);
// 搜索记录
// 搜索记录
SearchService
::
SearchAdd
(
$this
->
params
);
SearchService
::
SearchAdd
(
$this
->
data_request
);
// 无数据直接返回
// 无数据直接返回
if
(
empty
(
$ret
[
'data'
][
'data'
])
||
$ret
[
'code'
]
!=
0
)
if
(
empty
(
$ret
[
'data'
][
'data'
])
||
$ret
[
'code'
]
!=
0
)
...
...
application/module/FormHandleModule.php
浏览文件 @
82222632
...
@@ -64,7 +64,7 @@ class FormHandleModule
...
@@ -64,7 +64,7 @@ class FormHandleModule
// 获取表格配置数据
// 获取表格配置数据
$this
->
form_data
=
$this
->
module_obj
->
$action
(
$this
->
out_params
);
$this
->
form_data
=
$this
->
module_obj
->
$action
(
$this
->
out_params
);
if
(
empty
(
$this
->
form_data
[
'base'
])
||
empt
y
(
$this
->
form_data
[
'form'
]))
if
(
empty
(
$this
->
form_data
[
'base'
])
||
!
is_array
(
$this
->
form_data
[
'base'
])
||
empty
(
$this
->
form_data
[
'form'
])
||
!
is_arra
y
(
$this
->
form_data
[
'form'
]))
{
{
return
DataReturn
(
'表格配置有误['
.
$module
.
'][base|form]'
,
-
1
);
return
DataReturn
(
'表格配置有误['
.
$module
.
'][base|form]'
,
-
1
);
}
}
...
@@ -78,9 +78,12 @@ class FormHandleModule
...
@@ -78,9 +78,12 @@ class FormHandleModule
// 基础条件
// 基础条件
$this
->
BaseWhereHandle
();
$this
->
BaseWhereHandle
();
// 表格
处理数据
// 表格
数据处理
$this
->
FormDataHandle
();
$this
->
FormDataHandle
();
// 基础数据结尾处理
$this
->
FormBaseLastHandle
();
// 数据返回
// 数据返回
$data
=
[
$data
=
[
'table'
=>
$this
->
form_data
,
'table'
=>
$this
->
form_data
,
...
@@ -99,8 +102,6 @@ class FormHandleModule
...
@@ -99,8 +102,6 @@ class FormHandleModule
* @desc description
* @desc description
*/
*/
public
function
FormDataHandle
()
public
function
FormDataHandle
()
{
if
(
!
empty
(
$this
->
form_data
[
'form'
]))
{
{
foreach
(
$this
->
form_data
[
'form'
]
as
$k
=>&
$v
)
foreach
(
$this
->
form_data
[
'form'
]
as
$k
=>&
$v
)
{
{
...
@@ -143,17 +144,6 @@ class FormHandleModule
...
@@ -143,17 +144,6 @@ class FormHandleModule
{
{
$v
[
'view_key'
]
=
'form_checkbox_value'
;
$v
[
'view_key'
]
=
'form_checkbox_value'
;
}
}
// 提交参数处理
if
(
isset
(
$this
->
out_params
[
$v
[
'view_key'
]]))
{
$value
=
urldecode
(
$this
->
out_params
[
$v
[
'view_key'
]]);
if
(
!
is_array
(
$value
))
{
$value
=
explode
(
','
,
$value
);
}
$this
->
where_params
[
$v
[
'view_key'
]]
=
$value
;
}
}
}
// 单选框
// 单选框
...
@@ -170,13 +160,6 @@ class FormHandleModule
...
@@ -170,13 +160,6 @@ class FormHandleModule
{
{
$v
[
'view_key'
]
=
'form_radio_value'
;
$v
[
'view_key'
]
=
'form_radio_value'
;
}
}
// 提交参数处理
if
(
isset
(
$this
->
out_params
[
$v
[
'view_key'
]]))
{
$value
=
urldecode
(
$this
->
out_params
[
$v
[
'view_key'
]]);
$this
->
where_params
[
$v
[
'view_key'
]]
=
$value
;
}
}
}
break
;
break
;
}
}
...
@@ -360,6 +343,79 @@ class FormHandleModule
...
@@ -360,6 +343,79 @@ class FormHandleModule
}
}
}
}
}
}
/**
* 基础数据结尾处理
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-06-06
* @desc description
*/
public
function
FormBaseLastHandle
()
{
// 异步请求超时时间
if
(
empty
(
$this
->
form_data
[
'base'
][
'timeout'
]))
{
$this
->
form_data
[
'base'
][
'timeout'
]
=
30000
;
}
// 是否开启删除
if
(
isset
(
$this
->
form_data
[
'base'
][
'is_delete'
])
&&
$this
->
form_data
[
'base'
][
'is_delete'
]
==
1
)
{
// 是否指定选择列字段名称
// 默认一(第一个复选框)
// 默认二(第一个单选框)
if
(
empty
(
$this
->
form_data
[
'base'
][
'delete_form'
]))
{
// 所有 form 类型
$form_type
=
array_column
(
$this
->
form_data
[
'form'
],
'view_type'
);
if
(
!
empty
(
$form_type
))
{
// 是否存在复选框
if
(
in_array
(
'checkbox'
,
$form_type
))
{
$index
=
array_search
(
'checkbox'
,
$form_type
);
if
(
$index
!==
false
)
{
$this
->
form_data
[
'base'
][
'delete_form'
]
=
$this
->
form_data
[
'form'
][
$index
][
'view_key'
];
}
}
// 是否存在单选框
if
(
empty
(
$this
->
form_data
[
'base'
][
'delete_form'
])
&&
in_array
(
'radio'
,
$form_type
))
{
$index
=
array_search
(
'radio'
,
$form_type
);
if
(
$index
!==
false
)
{
$this
->
form_data
[
'base'
][
'delete_form'
]
=
$this
->
form_data
[
'form'
][
$index
][
'view_key'
];
}
}
}
// 未匹配到则默认 ids
if
(
empty
(
$this
->
form_data
[
'base'
][
'delete_form'
]))
{
$this
->
form_data
[
'base'
][
'delete_form'
]
=
'ids'
;
}
}
// 提交数据的字段名称
if
(
empty
(
$this
->
form_data
[
'base'
][
'delete_key'
]))
{
$this
->
form_data
[
'base'
][
'delete_key'
]
=
$this
->
form_data
[
'base'
][
'delete_form'
];
}
// 确认框信息 标题/描述
if
(
empty
(
$this
->
form_data
[
'base'
][
'confirm_title'
]))
{
$this
->
form_data
[
'base'
][
'confirm_title'
]
=
'温馨提示'
;
}
if
(
empty
(
$this
->
form_data
[
'base'
][
'confirm_msg'
]))
{
$this
->
form_data
[
'base'
][
'confirm_msg'
]
=
'删除后不可恢复、确认操作吗?'
;
}
}
}
}
/**
/**
...
...
application/service/GoodsService.php
浏览文件 @
82222632
...
@@ -1790,43 +1790,48 @@ class GoodsService
...
@@ -1790,43 +1790,48 @@ class GoodsService
public
static
function
GoodsDelete
(
$params
=
[])
public
static
function
GoodsDelete
(
$params
=
[])
{
{
// 参数是否有误
// 参数是否有误
if
(
empty
(
$params
[
'id'
]))
if
(
empty
(
$params
[
'id
s
'
]))
{
{
return
DataReturn
(
'商品id有误'
,
-
1
);
return
DataReturn
(
'商品id有误'
,
-
1
);
}
}
// 是否数组
if
(
!
is_array
(
$params
[
'ids'
]))
{
$params
[
'ids'
]
=
explode
(
','
,
$params
[
'ids'
]);
}
// 开启事务
// 开启事务
Db
::
startTrans
();
Db
::
startTrans
();
// 删除商品
// 删除商品
if
(
Db
::
name
(
'Goods'
)
->
delete
(
intval
(
$params
[
'id'
])
))
if
(
Db
::
name
(
'Goods'
)
->
where
([
'id'
=>
$params
[
'ids'
]])
->
delete
(
))
{
{
// 商品规格
// 商品规格
if
(
Db
::
name
(
'GoodsSpecType'
)
->
where
([
'goods_id'
=>
intval
(
$params
[
'id'
])
])
->
delete
()
===
false
)
if
(
Db
::
name
(
'GoodsSpecType'
)
->
where
([
'goods_id'
=>
$params
[
'ids'
]
])
->
delete
()
===
false
)
{
{
Db
::
rollback
();
Db
::
rollback
();
return
DataReturn
(
'规格类型删除失败'
,
-
100
);
return
DataReturn
(
'规格类型删除失败'
,
-
100
);
}
}
if
(
Db
::
name
(
'GoodsSpecValue'
)
->
where
([
'goods_id'
=>
intval
(
$params
[
'id'
])
])
->
delete
()
===
false
)
if
(
Db
::
name
(
'GoodsSpecValue'
)
->
where
([
'goods_id'
=>
$params
[
'ids'
]
])
->
delete
()
===
false
)
{
{
Db
::
rollback
();
Db
::
rollback
();
return
DataReturn
(
'规格值删除失败'
,
-
100
);
return
DataReturn
(
'规格值删除失败'
,
-
100
);
}
}
if
(
Db
::
name
(
'GoodsSpecBase'
)
->
where
([
'goods_id'
=>
intval
(
$params
[
'id'
])
])
->
delete
()
===
false
)
if
(
Db
::
name
(
'GoodsSpecBase'
)
->
where
([
'goods_id'
=>
$params
[
'ids'
]
])
->
delete
()
===
false
)
{
{
Db
::
rollback
();
Db
::
rollback
();
return
DataReturn
(
'规格基础删除失败'
,
-
100
);
return
DataReturn
(
'规格基础删除失败'
,
-
100
);
}
}
// 相册
// 相册
if
(
Db
::
name
(
'GoodsPhoto'
)
->
where
([
'goods_id'
=>
intval
(
$params
[
'id'
])
])
->
delete
()
===
false
)
if
(
Db
::
name
(
'GoodsPhoto'
)
->
where
([
'goods_id'
=>
$params
[
'ids'
]
])
->
delete
()
===
false
)
{
{
Db
::
rollback
();
Db
::
rollback
();
return
DataReturn
(
'相册删除失败'
,
-
100
);
return
DataReturn
(
'相册删除失败'
,
-
100
);
}
}
// app内容
// app内容
if
(
Db
::
name
(
'GoodsContentApp'
)
->
where
([
'goods_id'
=>
intval
(
$params
[
'id'
])
])
->
delete
()
===
false
)
if
(
Db
::
name
(
'GoodsContentApp'
)
->
where
([
'goods_id'
=>
$params
[
'ids'
]
])
->
delete
()
===
false
)
{
{
Db
::
rollback
();
Db
::
rollback
();
return
DataReturn
(
'相册删除失败'
,
-
100
);
return
DataReturn
(
'相册删除失败'
,
-
100
);
...
...
application/service/PluginsService.php
浏览文件 @
82222632
...
@@ -241,7 +241,7 @@ class PluginsService
...
@@ -241,7 +241,7 @@ class PluginsService
// 调用方法
// 调用方法
$action
=
ucfirst
(
$action
);
$action
=
ucfirst
(
$action
);
$obj
=
new
$plugins
();
$obj
=
new
$plugins
(
$params
);
if
(
!
method_exists
(
$obj
,
$action
))
if
(
!
method_exists
(
$obj
,
$action
))
{
{
return
DataReturn
(
'应用方法未定义['
.
$action
.
']'
,
-
1
);
return
DataReturn
(
'应用方法未定义['
.
$action
.
']'
,
-
1
);
...
...
config/shopxo.sql
浏览文件 @
82222632
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
Target Server Version : 50729
Target Server Version : 50729
File Encoding : utf-8
File Encoding : utf-8
Date: 06/0
3/2020 13:37:47 P
M
Date: 06/0
7/2020 10:10:59 A
M
*/
*/
SET NAMES utf8mb4;
SET NAMES utf8mb4;
...
@@ -40,7 +40,7 @@ CREATE TABLE `s_admin` (
...
@@ -40,7 +40,7 @@ CREATE TABLE `s_admin` (
-- Records of `s_admin`
-- Records of `s_admin`
-- ----------------------------
-- ----------------------------
BEGIN;
BEGIN;
INSERT INTO `s_admin` VALUES ('1', 'admin', '
235d071df1d35d9ac03663967e8ddb88', '621573', '17688888888', '0', '482', '1590748962
', '1', '1481350313', '1551341520'), ('4', 'shopxo', '29297307e33b6c4b4b1a218b2c5bd0af', '162258', '', '0', '3', '1588067855', '13', '1580807200', '1588067050');
INSERT INTO `s_admin` VALUES ('1', 'admin', '
01f56f3c1427206daadeb762ecb50def', '963989', '17688888888', '0', '484', '1591268533
', '1', '1481350313', '1551341520'), ('4', 'shopxo', '29297307e33b6c4b4b1a218b2c5bd0af', '162258', '', '0', '3', '1588067855', '13', '1580807200', '1588067050');
COMMIT;
COMMIT;
-- ----------------------------
-- ----------------------------
...
@@ -428,7 +428,7 @@ CREATE TABLE `s_goods` (
...
@@ -428,7 +428,7 @@ CREATE TABLE `s_goods` (
-- Records of `s_goods`
-- Records of `s_goods`
-- ----------------------------
-- ----------------------------
BEGIN;
BEGIN;
INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '', '0', '102', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547450880620837.png\" title=\"1547450880620837.png\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547450880750687.png\" title=\"1547450880750687.png\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547450880917418.png\" title=\"1547450880917418.png\"/></p><p><br/></p>', '2', '10', '182', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '', '<p><a href=\"https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w\" target=\"_blank\" style=\"box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(0, 154, 97); text-decoration-line: none; font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px; white-space: normal;\">https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w</a><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px;\"> 提取码 </span><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px;\">v3y4</span></p>', '', '', '', '0', '1547450921', '1590673869'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', '', 'iPhone 6 Plus', '0', '1646', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\" title=\"1547451595700972.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\" title=\"1547451595528800.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\" title=\"1547451595616298.jpg\"/></p><p><br/></p>', '2', '35', '1402', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '', '', '', '', '', '0', '1547451624', '1577693715'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '', '0', '222', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\" title=\"1547451947383902.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\" title=\"1547451947686990.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\" title=\"1547451947676180.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\" title=\"1547451947791154.jpg\"/></p><p><br/></p>', '2', '4', '23
2', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', null, null, '', '', '', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '', '0', '523', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\" title=\"1547452505568604.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\" title=\"1547452505349986.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\" title=\"1547452505184884.jpg\"/></p><p><br/></p>', '2', '4', '235', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', null, null, '', '', '', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '', '0', '412', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547452760417982.jpg\" title=\"1547452760417982.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452760659259.jpg\" title=\"1547452760659259.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452760984656.jpg\" title=\"1547452760984656.jpg\"/></p><p><br/></p>', '2', '10', '519', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', null, null, '', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '', '0', '310', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', '<p><span style=\"color: rgb(255, 0, 0); font-size: 18px;\"> X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸) </span></p><p><span style=\"color: rgb(255, 0, 0); font-size: 18px;\"><br/></span></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453042405182.jpg\" title=\"1547453042405182.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453042614480.jpg\" title=\"1547453042614480.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453042816509.jpg\" title=\"1547453042816509.jpg\"/></p><p><br/></p>', '2', '1', '363', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', null, null, '', '', '', '0', '1547453135', '1564057484'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '', '0', '285', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547453910353340.jpg\" title=\"1547453910353340.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453910505349.jpg\" title=\"1547453910505349.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453910394886.jpg\" title=\"1547453910394886.jpg\"/></p><p><br/></p>', '2', '7', '459', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', null, null, '', '', '', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '', '0', '25', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0.00', '0.00', '0.00', '356.00', '356.00', '356.00', '8', '3', '6', '1', '1', '1', '<p><iframe src=\"http://player.youku.com/embed/XNDU0MDk5MTQ4OA==\" width=\"600\" height=\"400\" scrolling=\"no\" frameborder=\"0\" align=\"\"></iframe></p><p><br/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454192301566.jpg\" title=\"1547454192301566.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454192448116.jpg\" title=\"1547454192448116.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454192474638.jpg\" title=\"1547454192474638.jpg\"/></p><p><br/></p>', '2', '1', '331', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '', '', '', '', '', '0', '1547454269', '1584869425'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '', '0', '561', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547454712270511.jpg\" title=\"1547454712270511.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454713556301.jpg\" title=\"1547454713556301.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454713800333.jpg\" title=\"1547454713800333.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454713456602.jpg\" title=\"1547454713456602.jpg\"/></p><p><br/></p>', '3', '18', '406', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '1', '', null, '', '', '', '0', '1547454786', '1570168238'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '', '0', '43432', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '1', '1', '1', '0', '<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><span style=\"color: rgb(153, 51, 255);\">【品牌】欧单 学媛风 猫咪良品</span></strong></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><strong>【吊牌】xueyuanfeng </strong></strong></span></strong></span><strong style=\"font-size: 18px; line-height: 27px;\"><strong><span style=\"color: rgb(153, 51, 255);\">猫咪良品</span></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><strong>【面料质地】涤棉</strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong>拼接蕾丝 </strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong> </strong></strong></strong></span><strong style=\"font-size: 18px; line-height: 1.5;\"><strong><strong>后中拉链 有内衬</strong></strong></strong><strong style=\"font-size: 18px;\"><strong><strong><span style=\"font-family: 微软雅黑;\"><strong>(非专业机构鉴定,介意请慎拍)</strong></span></strong></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"font-size: 18px;\"><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"><span style=\"background-color: rgb(255, 255, 0);\"><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\">好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~</span></strong></span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><strong>【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦</strong></span></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span></strong></span></strong></span><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span><strong>【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦</strong></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"></span></strong></span></p><p style=\"white-space: normal;\"><span style=\"color: rgb(255, 0, 0); font-family: 微软雅黑;\"><span style=\"font-size: 18px; line-height: 27px;\"></span></span></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">XS码尺寸: 悬挂衣长81CM.胸围80</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">内合适</span></span></strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.腰围63CM</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.臀围86CM</span></span></strong></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">S码尺寸: 悬挂衣长82CM.胸围84</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围67CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围90CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">M码尺寸: 悬挂衣长83CM.胸围88</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围71CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围94CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">L码尺寸: 悬挂衣长84CM.胸围92</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围75CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围98CM</span></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong style=\"font-size: 18px; line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\"><strong><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(0, 0, 255);\"><strong><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\">(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)</span></strong></span></strong></span></strong></strong></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><span style=\"color: rgb(0, 0, 255);\"><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\"></span></span></span></strong></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">PS:常规码数,可按平时号选择哦。修身</span></span></span></strong><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~</span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong>蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~</strong></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455266234658.jpg\" title=\"1547455266234658.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455266527628.jpg\" title=\"1547455266527628.jpg\"/></p><p><br/></p>', '2', '7', '457', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '', '<p><a href=\"https://pan.baidu.com/s/1XTSM-EJZwEgLmGx3ZyFMGQ\" target=\"_blank\">https://pan.baidu.com/s/1XTSM-EJZwEgLmGx3ZyFMGQ</a> <span style=\"font-size: 16px;\"><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; background-color: rgb(255, 255, 255);\">提取码:</span><span class=\"am-text-success\" style=\"box-sizing: border-box; color: rgb(94, 185, 94); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; background-color: rgb(255, 255, 255);\">dcs4</span></span></p>', '', '', '', '0', '1547455375', '1590918953'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '', '0', '36665965', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00-422.00', '268.00', '422.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><span style=\"color: rgb(153, 51, 255);\">【品牌】欧单 学媛风 猫咪良品</span></strong></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><strong>【吊牌】xueyuanfeng </strong></strong></span></strong></span><strong style=\"font-size: 18px; line-height: 27px;\"><strong><span style=\"color: rgb(153, 51, 255);\">猫咪良品</span></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><strong>【面料质地】网纱绣花钉珠拼接蕾丝</strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong> </strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong>有</strong></strong></strong></span><strong style=\"font-size: 18px; line-height: 1.5;\"><strong><strong>拉链有内衬</strong></strong></strong><strong style=\"font-size: 18px;\"><strong><strong><span style=\"font-family: 微软雅黑;\"><strong>(非专业机构鉴定,介意请慎拍)</strong></span></strong></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"font-size: 18px;\"><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"><span style=\"background-color: rgb(255, 255, 0);\"><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\">好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~</span></strong></span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><strong>【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦</strong></span></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span></strong></span></strong></span><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><strong>【商品尺寸】XS/S/M/L<strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\"><strong><strong> 小高腰设计 胸那考虑撑开因素哦 微弹的哦</strong></strong></span></strong><br/></strong></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"></span></strong></span></p><p style=\"white-space: normal; text-align: center;\"><span style=\"color: rgb(255, 0, 0); font-family: 微软雅黑;\"><span style=\"font-size: 18px; line-height: 27px;\"></span></span></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">XS码尺寸: 衣长82CM.胸围80</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">内合适</span></span></strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.腰围63CM</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.臀围86CM</span></span></strong></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">S码尺寸: 衣长83CM.胸围84</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围67CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围90CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">M码尺寸: 衣长84CM.胸围88</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围71CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围94CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">L码尺寸: 衣长85CM.胸围92</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围75CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围98CM</span></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong style=\"font-size: 18px; line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\"><strong><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(0, 0, 255);\"><strong><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\">(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)</span></strong></span></strong></span></strong></strong></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><span style=\"color: rgb(0, 0, 255);\"><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\"></span></span></span></strong></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">PS:常规码数,可按平时号选择哦。修身</span></span></span></strong><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">版型,如果腰粗可以适当考虑大1号哦~</span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~</span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~</span></span></span></strong></p><p><br/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601898622.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601528614.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601314107.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601168384.jpg\"/></p><p><br/></p>', '4', '2', '294', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '1', '', '', '', '', '', '0', '1547455700', '1590918956'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', '轻奢醋酸面料,高标准的生产要求,品质保证', 'xxxxhhhhhh商品型号', '0', '395', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '188.00', '188.00', '188.00', '0.01', '0.01', '0.01', '3', '1', '0', '1', '1', '0', '<p><br/></p><table class=\"am-table am-table-bordered\"><tbody><tr class=\"firstRow\"><td><span style=\"background-color: rgb(255, 0, 0);\"><strong>11</strong></span></td><td><strong>22</strong></td><td><strong>33</strong></td><td><strong>44</strong></td><td><strong>55</strong></td><td><strong>66</strong></td></tr><tr><td>q</td><td>w</td><td>e</td><td>r</td><td>t</td><td>y</td></tr><tr><td>a</td><td>s</td><td>d</td><td>f</td><td>g</td><td>h</td></tr><tr><td>z</td><td>x</td><td>c</td><td>v</td><td>b</td><td>n</td></tr></tbody></table><p><br/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547456214155362.jpg\" title=\"1547456214155362.jpg\" alt=\"d-1.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455907486857.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455907256518.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547456228913731.jpg\" title=\"1547456228913731.jpg\" alt=\"d-2.jpg\"/></p>', '3', '3', '985', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', '[{\"title\":\"\\u989c\\u8272\",\"value\":[\"\\u7c89\\u8272\",\"\\u767d\\u8272\"]},{\"title\":\"\\u5c3a\\u7801\",\"value\":[\"S\",\"M\",\"L\"]}]', '', 'ZK爆款连衣裙', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1590933899
');
INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '', '0', '102', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547450880620837.png\" title=\"1547450880620837.png\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547450880750687.png\" title=\"1547450880750687.png\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547450880917418.png\" title=\"1547450880917418.png\"/></p><p><br/></p>', '2', '10', '182', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '', '<p><a href=\"https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w\" target=\"_blank\" style=\"box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(0, 154, 97); text-decoration-line: none; font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px; white-space: normal;\">https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w</a><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px;\"> 提取码 </span><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px;\">v3y4</span></p>', '', '', '', '0', '1547450921', '1590673869'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', '', 'iPhone 6 Plus', '0', '1646', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\" title=\"1547451595700972.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\" title=\"1547451595528800.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\" title=\"1547451595616298.jpg\"/></p><p><br/></p>', '2', '35', '1402', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '', '', '', '', '', '0', '1547451624', '1577693715'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '', '0', '222', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\" title=\"1547451947383902.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\" title=\"1547451947686990.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\" title=\"1547451947676180.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\" title=\"1547451947791154.jpg\"/></p><p><br/></p>', '2', '4', '23
3', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', null, null, '', '', '', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '', '0', '523', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\" title=\"1547452505568604.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\" title=\"1547452505349986.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\" title=\"1547452505184884.jpg\"/></p><p><br/></p>', '2', '4', '235', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', null, null, '', '', '', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '', '0', '412', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547452760417982.jpg\" title=\"1547452760417982.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452760659259.jpg\" title=\"1547452760659259.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452760984656.jpg\" title=\"1547452760984656.jpg\"/></p><p><br/></p>', '2', '10', '519', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', null, null, '', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '', '0', '310', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', '<p><span style=\"color: rgb(255, 0, 0); font-size: 18px;\"> X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸) </span></p><p><span style=\"color: rgb(255, 0, 0); font-size: 18px;\"><br/></span></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453042405182.jpg\" title=\"1547453042405182.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453042614480.jpg\" title=\"1547453042614480.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453042816509.jpg\" title=\"1547453042816509.jpg\"/></p><p><br/></p>', '2', '1', '363', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', null, null, '', '', '', '0', '1547453135', '1564057484'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '', '0', '285', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547453910353340.jpg\" title=\"1547453910353340.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453910505349.jpg\" title=\"1547453910505349.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547453910394886.jpg\" title=\"1547453910394886.jpg\"/></p><p><br/></p>', '2', '7', '459', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', null, null, '', '', '', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '', '0', '25', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0.00', '0.00', '0.00', '356.00', '356.00', '356.00', '8', '3', '6', '1', '1', '1', '<p><iframe src=\"http://player.youku.com/embed/XNDU0MDk5MTQ4OA==\" width=\"600\" height=\"400\" scrolling=\"no\" frameborder=\"0\" align=\"\"></iframe></p><p><br/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454192301566.jpg\" title=\"1547454192301566.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454192448116.jpg\" title=\"1547454192448116.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454192474638.jpg\" title=\"1547454192474638.jpg\"/></p><p><br/></p>', '2', '1', '331', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '', '', '', '', '', '0', '1547454269', '1584869425'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '', '0', '561', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '<p><img src=\"/static/upload/images/goods/2019/01/14/1547454712270511.jpg\" title=\"1547454712270511.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454713556301.jpg\" title=\"1547454713556301.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454713800333.jpg\" title=\"1547454713800333.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547454713456602.jpg\" title=\"1547454713456602.jpg\"/></p><p><br/></p>', '3', '18', '406', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '1', '', null, '', '', '', '0', '1547454786', '1570168238'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '', '0', '43432', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '1', '1', '1', '0', '<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><span style=\"color: rgb(153, 51, 255);\">【品牌】欧单 学媛风 猫咪良品</span></strong></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><strong>【吊牌】xueyuanfeng </strong></strong></span></strong></span><strong style=\"font-size: 18px; line-height: 27px;\"><strong><span style=\"color: rgb(153, 51, 255);\">猫咪良品</span></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><strong>【面料质地】涤棉</strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong>拼接蕾丝 </strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong> </strong></strong></strong></span><strong style=\"font-size: 18px; line-height: 1.5;\"><strong><strong>后中拉链 有内衬</strong></strong></strong><strong style=\"font-size: 18px;\"><strong><strong><span style=\"font-family: 微软雅黑;\"><strong>(非专业机构鉴定,介意请慎拍)</strong></span></strong></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"font-size: 18px;\"><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"><span style=\"background-color: rgb(255, 255, 0);\"><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\">好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~</span></strong></span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><strong>【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦</strong></span></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span></strong></span></strong></span><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span><strong>【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦</strong></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"></span></strong></span></p><p style=\"white-space: normal;\"><span style=\"color: rgb(255, 0, 0); font-family: 微软雅黑;\"><span style=\"font-size: 18px; line-height: 27px;\"></span></span></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">XS码尺寸: 悬挂衣长81CM.胸围80</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">内合适</span></span></strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.腰围63CM</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.臀围86CM</span></span></strong></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">S码尺寸: 悬挂衣长82CM.胸围84</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围67CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围90CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">M码尺寸: 悬挂衣长83CM.胸围88</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围71CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围94CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">L码尺寸: 悬挂衣长84CM.胸围92</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围75CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围98CM</span></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong style=\"font-size: 18px; line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\"><strong><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(0, 0, 255);\"><strong><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\">(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)</span></strong></span></strong></span></strong></strong></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><span style=\"color: rgb(0, 0, 255);\"><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\"></span></span></span></strong></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">PS:常规码数,可按平时号选择哦。修身</span></span></span></strong><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~</span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong>蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~</strong></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455266234658.jpg\" title=\"1547455266234658.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455266527628.jpg\" title=\"1547455266527628.jpg\"/></p><p><br/></p>', '2', '7', '457', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '', '<p><a href=\"https://pan.baidu.com/s/1XTSM-EJZwEgLmGx3ZyFMGQ\" target=\"_blank\">https://pan.baidu.com/s/1XTSM-EJZwEgLmGx3ZyFMGQ</a> <span style=\"font-size: 16px;\"><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; background-color: rgb(255, 255, 255);\">提取码:</span><span class=\"am-text-success\" style=\"box-sizing: border-box; color: rgb(94, 185, 94); font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", FontAwesome, sans-serif; background-color: rgb(255, 255, 255);\">dcs4</span></span></p>', '', '', '', '0', '1547455375', '1590918953'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '', '0', '36665965', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00-422.00', '268.00', '422.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><span style=\"color: rgb(153, 51, 255);\">【品牌】欧单 学媛风 猫咪良品</span></strong></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><strong>【吊牌】xueyuanfeng </strong></strong></span></strong></span><strong style=\"font-size: 18px; line-height: 27px;\"><strong><span style=\"color: rgb(153, 51, 255);\">猫咪良品</span></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><strong><strong>【面料质地】网纱绣花钉珠拼接蕾丝</strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong> </strong></strong></strong></span><span style=\"font-size: 18px;\"><strong><strong><strong>有</strong></strong></strong></span><strong style=\"font-size: 18px; line-height: 1.5;\"><strong><strong>拉链有内衬</strong></strong></strong><strong style=\"font-size: 18px;\"><strong><strong><span style=\"font-family: 微软雅黑;\"><strong>(非专业机构鉴定,介意请慎拍)</strong></span></strong></strong></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"font-size: 18px;\"><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"></span><span style=\"color: rgb(153, 51, 255);\"><span style=\"background-color: rgb(255, 255, 0);\"><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\">好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~</span></strong></span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><strong>【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦</strong></span></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span></strong></span></strong></span><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"></span></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><strong>【商品尺寸】XS/S/M/L<strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\"><strong><strong> 小高腰设计 胸那考虑撑开因素哦 微弹的哦</strong></strong></span></strong><br/></strong></strong></span></strong></span></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><span style=\"font-size: 18px;\"><strong><span style=\"color: rgb(153, 51, 255);\"></span></strong></span></p><p style=\"white-space: normal; text-align: center;\"><span style=\"color: rgb(255, 0, 0); font-family: 微软雅黑;\"><span style=\"font-size: 18px; line-height: 27px;\"></span></span></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">XS码尺寸: 衣长82CM.胸围80</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">内合适</span></span></strong><span style=\"color: rgb(64, 64, 64);\"><strong><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.腰围63CM</span></span></strong></span><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\">.臀围86CM</span></span></strong></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">S码尺寸: 衣长83CM.胸围84</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围67CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围90CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">M码尺寸: 衣长84CM.胸围88</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围71CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围94CM</span></strong></strong></p><p style=\"white-space: normal; text-align: center;\"><strong><strong><span style=\"color: rgb(255, 0, 0);\">L码尺寸: 衣长85CM.胸围92</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">内合适</span></strong><strong><span style=\"color: rgb(255, 0, 0);\">.腰围75CM</span></strong><strong style=\"line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\">.臀围98CM</span></strong></strong></p><p style=\"white-space: normal;\"><br/></p><p style=\"white-space: normal; text-align: center;\"><strong style=\"font-size: 18px; line-height: 27px;\"><span style=\"color: rgb(255, 0, 0);\"><span style=\"font-family: 微软雅黑;\"><strong><strong style=\"color: rgb(0, 0, 0);\"><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(0, 0, 255);\"><strong><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\">(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)</span></strong></span></strong></span></strong></strong></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong><span style=\"color: rgb(153, 51, 255);\"><strong><span style=\"color: rgb(153, 51, 153);\"><span style=\"color: rgb(0, 0, 255);\"><span style=\"color: rgb(255, 0, 0); font-family: 新宋体;\"></span></span></span></strong></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">PS:常规码数,可按平时号选择哦。修身</span></span></span></strong><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">版型,如果腰粗可以适当考虑大1号哦~</span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~</span></span></span></strong></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; white-space: normal; padding: 0px; font-family: tahoma, arial, 宋体, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: center;\"><strong style=\"line-height: 1.5; color: rgb(64, 64, 64);\"><span style=\"color: rgb(68, 68, 68);\"><span style=\"background-color: rgb(92, 81, 80);\"><span style=\"background-color: rgb(255, 255, 255);\">肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~</span></span></span></strong></p><p><br/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601898622.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601528614.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601314107.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455601168384.jpg\"/></p><p><br/></p>', '4', '2', '295', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '1', '', '', '', '', '', '0', '1547455700', '1590918956'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', '轻奢醋酸面料,高标准的生产要求,品质保证', 'xxxxhhhhhh商品型号', '0', '395', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '188.00', '188.00', '188.00', '0.01', '0.01', '0.01', '3', '1', '0', '1', '1', '0', '<p><br/></p><table class=\"am-table am-table-bordered\"><tbody><tr class=\"firstRow\"><td><span style=\"background-color: rgb(255, 0, 0);\"><strong>11</strong></span></td><td><strong>22</strong></td><td><strong>33</strong></td><td><strong>44</strong></td><td><strong>55</strong></td><td><strong>66</strong></td></tr><tr><td>q</td><td>w</td><td>e</td><td>r</td><td>t</td><td>y</td></tr><tr><td>a</td><td>s</td><td>d</td><td>f</td><td>g</td><td>h</td></tr><tr><td>z</td><td>x</td><td>c</td><td>v</td><td>b</td><td>n</td></tr></tbody></table><p><br/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547456214155362.jpg\" title=\"1547456214155362.jpg\" alt=\"d-1.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455907486857.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547455907256518.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547456228913731.jpg\" title=\"1547456228913731.jpg\" alt=\"d-2.jpg\"/></p>', '3', '3', '986', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', '[{\"title\":\"\\u989c\\u8272\",\"value\":[\"\\u7c89\\u8272\",\"\\u767d\\u8272\"]},{\"title\":\"\\u5c3a\\u7801\",\"value\":[\"S\",\"M\",\"L\"]}]', '', 'ZK爆款连衣裙', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1591370137
');
COMMIT;
COMMIT;
-- ----------------------------
-- ----------------------------
...
@@ -1093,13 +1093,13 @@ CREATE TABLE `s_plugins` (
...
@@ -1093,13 +1093,13 @@ CREATE TABLE `s_plugins` (
PRIMARY KEY (`id`),
PRIMARY KEY (`id`),
UNIQUE KEY `plugins` (`plugins`),
UNIQUE KEY `plugins` (`plugins`),
KEY `is_enable` (`is_enable`)
KEY `is_enable` (`is_enable`)
) ENGINE=InnoDB AUTO_INCREMENT=
3
DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用';
) ENGINE=InnoDB AUTO_INCREMENT=
4
DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用';
-- ----------------------------
-- ----------------------------
-- Records of `s_plugins`
-- Records of `s_plugins`
-- ----------------------------
-- ----------------------------
BEGIN;
BEGIN;
INSERT INTO `s_plugins` VALUES ('1', 'neworderemail', null, '1', '1589020475', '1589020478'), ('2', 'orderremind', '{\"monitor_action\":\"1\",\"is_voice_notice\":\"1\"}', '1', '1589021304', '1589032717');
INSERT INTO `s_plugins` VALUES ('1', 'neworderemail', null, '1', '1589020475', '1589020478'), ('2', 'orderremind', '{\"monitor_action\":\"1\",\"is_voice_notice\":\"1\"}', '1', '1589021304', '1589032717')
, ('3', 'quotation', null, '1', '1591351804', '1591351827')
;
COMMIT;
COMMIT;
-- ----------------------------
-- ----------------------------
...
@@ -1392,13 +1392,13 @@ CREATE TABLE `s_user` (
...
@@ -1392,13 +1392,13 @@ CREATE TABLE `s_user` (
KEY `username` (`username`),
KEY `username` (`username`),
KEY `token` (`token`),
KEY `token` (`token`),
KEY `baidu_openid` (`baidu_openid`)
KEY `baidu_openid` (`baidu_openid`)
) ENGINE=InnoDB AUTO_INCREMENT=
3
DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户';
) ENGINE=InnoDB AUTO_INCREMENT=
4
DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户';
-- ----------------------------
-- ----------------------------
-- Records of `s_user`
-- Records of `s_user`
-- ----------------------------
-- ----------------------------
BEGIN;
BEGIN;
INSERT INTO `s_user` VALUES ('1', '', '', '', '', '', '', '', '', '0', '432207', 'a689e4dae15e1e72143643a4c195c690', '', 'qqqqqq', '', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '1589032739', '1589521357'), ('2', '', '', '', '', '', '', '', '', '0', '727732', '85ef59c476a25453992661cfbc747fae', '', '', '', '', 'fuxiang.gong@qq.com', '0', '', '', '', '0', '', '0', '0', '0', '0', '1591158965', '1591161394');
INSERT INTO `s_user` VALUES ('1', '', '', '', '', '', '', '', '', '0', '432207', 'a689e4dae15e1e72143643a4c195c690', '', 'qqqqqq', '', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '1589032739', '1589521357'), ('2', '', '', '', '', '', '', '', '', '0', '727732', '85ef59c476a25453992661cfbc747fae', '', '', '', '', 'fuxiang.gong@qq.com', '0', '', '', '', '0', '', '0', '0', '0', '0', '1591158965', '1591161394')
, ('3', '', 'oblE347o4d3-Hwq3HODqona2J4Rk', '', '', '', '', '', '', '0', '', '', '2165b89faef4edc7d367a5a0c74877a2', '', '雨声', '', '', '2', 'https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIBvc14pRJGEhWibYSQfw06bPVZaOffOSENEhwDXSeLXvFWsQo2TTxdpsQfjCsibZCHqHBPtUWDobFw/132', 'Shanghai', '', '0', '', '0', '0', '0', '0', '1591251891', '1591251891')
;
COMMIT;
COMMIT;
-- ----------------------------
-- ----------------------------
public/static/admin/default/css/goods.css
浏览文件 @
82222632
/**
* 列表
*/
.goods
.goods-images
{
width
:
60px
;
height
:
60px
;
float
:
left
;
margin-right
:
5px
;
}
.goods
{
overflow
:
hidden
;
}
/**
/**
* 详情
* 详情
*/
*/
...
...
public/static/common/js/common.js
浏览文件 @
82222632
...
@@ -847,25 +847,32 @@ function FomatFloat(value, pos)
...
@@ -847,25 +847,32 @@ function FomatFloat(value, pos)
*/
*/
function
DataDelete
(
e
)
function
DataDelete
(
e
)
{
{
// 参数获取
var
id
=
e
.
attr
(
'
data-id
'
);
var
id
=
e
.
attr
(
'
data-id
'
);
var
key
=
e
.
attr
(
'
data-key
'
)
||
'
id
'
;
var
url
=
e
.
attr
(
'
data-url
'
);
var
url
=
e
.
attr
(
'
data-url
'
);
var
view
=
e
.
attr
(
'
data-view
'
)
||
'
delete
'
;
var
view
=
e
.
attr
(
'
data-view
'
)
||
'
delete
'
;
var
value
=
e
.
attr
(
'
data-value
'
)
||
null
;
var
value
=
e
.
attr
(
'
data-value
'
)
||
null
;
var
ext_delete_tag
=
e
.
attr
(
'
data-ext-delete-tag
'
)
||
null
;
var
ext_delete_tag
=
e
.
attr
(
'
data-ext-delete-tag
'
)
||
null
;
// 参数校验
if
((
id
||
null
)
==
null
||
(
url
||
null
)
==
null
)
if
((
id
||
null
)
==
null
||
(
url
||
null
)
==
null
)
{
{
Prompt
(
'
参数配置有误
'
);
Prompt
(
'
参数配置有误
'
);
return
false
;
return
false
;
}
}
// 请求数据
var
data
=
{};
data
[
key
]
=
id
;
// 请求删除数据
// 请求删除数据
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
'
POST
'
,
type
:
'
POST
'
,
dataType
:
"
json
"
,
dataType
:
"
json
"
,
timeout
:
e
.
attr
(
'
data-timeout
'
)
||
30000
,
timeout
:
e
.
attr
(
'
data-timeout
'
)
||
30000
,
data
:
{
"
id
"
:
id
}
,
data
:
data
,
success
:
function
(
result
)
success
:
function
(
result
)
{
{
if
(
result
.
code
==
0
)
if
(
result
.
code
==
0
)
...
@@ -973,19 +980,25 @@ function ConfirmDataDelete(e)
...
@@ -973,19 +980,25 @@ function ConfirmDataDelete(e)
*/
*/
function
AjaxRequest
(
e
)
function
AjaxRequest
(
e
)
{
{
// 参数
var
id
=
e
.
attr
(
'
data-id
'
);
var
id
=
e
.
attr
(
'
data-id
'
);
var
key
=
e
.
attr
(
'
data-key
'
)
||
'
id
'
;
var
field
=
e
.
attr
(
'
data-field
'
)
||
''
;
var
field
=
e
.
attr
(
'
data-field
'
)
||
''
;
var
value
=
e
.
attr
(
'
data-value
'
)
||
''
;
var
value
=
e
.
attr
(
'
data-value
'
)
||
''
;
var
url
=
e
.
attr
(
'
data-url
'
);
var
url
=
e
.
attr
(
'
data-url
'
);
var
view
=
e
.
attr
(
'
data-view
'
)
||
''
;
var
view
=
e
.
attr
(
'
data-view
'
)
||
''
;
// 请求数据
var
data
=
{
"
value
"
:
value
,
"
field
"
:
field
};
data
[
key
]
=
id
;
// ajax
// ajax
$
.
ajax
({
$
.
ajax
({
url
:
url
,
url
:
url
,
type
:
'
POST
'
,
type
:
'
POST
'
,
dataType
:
"
json
"
,
dataType
:
"
json
"
,
timeout
:
e
.
attr
(
'
data-timeout
'
)
||
30000
,
timeout
:
e
.
attr
(
'
data-timeout
'
)
||
30000
,
data
:
{
"
id
"
:
id
,
"
value
"
:
value
,
"
field
"
:
field
}
,
data
:
data
,
success
:
function
(
result
)
success
:
function
(
result
)
{
{
if
(
result
.
code
==
0
)
if
(
result
.
code
==
0
)
...
@@ -1652,6 +1665,103 @@ $(function()
...
@@ -1652,6 +1665,103 @@ $(function()
$
(
this
).
attr
(
'
data-value
'
,
value
==
1
?
0
:
1
);
$
(
this
).
attr
(
'
data-value
'
,
value
==
1
?
0
:
1
);
});
});
// 表格公共删除操作
$
(
'
.form-table-operate-top-delete-submit
'
).
on
(
'
click
'
,
function
()
{
// 请求 url
var
url
=
$
(
this
).
data
(
'
url
'
)
||
null
;
if
(
url
==
null
)
{
Prompt
(
'
url参数有误
'
);
return
false
;
}
// form name 名称
var
form
=
$
(
this
).
data
(
'
form
'
)
||
null
;
if
(
form
==
null
)
{
Prompt
(
'
form参数有误
'
);
return
false
;
}
// 获取复选框选中的值
var
values
=
[];
$
(
document
).
find
(
'
input[name="
'
+
form
+
'
"]
'
).
each
(
function
(
key
,
tmp
)
{
if
(
$
(
this
).
is
(
'
:checked
'
))
{
values
.
push
(
tmp
.
value
);
}
});
// 获取单选框的值
if
(
values
.
length
<=
0
)
{
var
val
=
$
(
'
input[name="
'
+
form
+
'
"]:checked
'
).
val
();
if
(
val
!=
undefined
)
{
values
.
push
(
val
);
}
}
// 是否有选择的数据
if
(
values
.
length
<=
0
)
{
Prompt
(
'
请先选中数据
'
);
return
false
;
}
// 提交字段名称|超时时间|标题|描述
var
key
=
$
(
this
).
data
(
'
key
'
)
||
form
;
var
timeout
=
$
(
this
).
data
(
'
timeout
'
)
||
30000
;
var
title
=
$
(
this
).
data
(
'
confirm-title
'
)
||
'
温馨提示
'
;
var
msg
=
$
(
this
).
data
(
'
confirm-msg
'
)
||
'
删除后不可恢复、确认操作吗?
'
;
// 再次确认
AMUI
.
dialog
.
confirm
({
title
:
title
,
content
:
msg
,
onConfirm
:
function
(
result
)
{
// 数组转对象
var
data
=
{};
data
[
key
]
=
{};
for
(
var
i
in
values
)
{
data
[
key
][
i
]
=
values
[
i
];
}
// ajax请求操作
$
.
ajax
({
url
:
url
,
type
:
'
POST
'
,
dataType
:
"
json
"
,
timeout
:
timeout
,
data
:
data
,
success
:
function
(
result
)
{
if
(
result
.
code
==
0
)
{
// 成功则删除数据列表
Prompt
(
result
.
msg
,
'
success
'
);
for
(
var
i
in
values
)
{
$
(
'
#data-list-
'
+
values
[
i
]).
remove
();
}
}
else
{
Prompt
(
result
.
msg
);
}
},
error
:
function
(
xhr
,
type
)
{
Prompt
(
'
网络异常出错
'
);
}
});
},
onCancel
:
function
(){}
});
});
/**
/**
* 页面加载 loading
* 页面加载 loading
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录