diff --git a/application/admin/controller/Useraddress.php b/application/admin/controller/Useraddress.php new file mode 100644 index 000000000..1e7d474ed --- /dev/null +++ b/application/admin/controller/Useraddress.php @@ -0,0 +1,201 @@ +IsLogin(); + + // 权限校验 + $this->IsPower(); + } + + /** + * [Index 列表] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-06T21:31:53+0800 + */ + public function Index() + { + // 总数 + $total = UserAddressService::UserAddressTotal($this->form_where); + + // 分页 + $page_params = [ + 'number' => $this->page_size, + 'total' => $total, + 'where' => $this->data_request, + 'page' => $this->page, + 'url' => MyUrl('admin/UserAddress/index'), + ]; + $page = new \base\Page($page_params); + + // 获取列表 + $data_params = [ + 'where' => $this->form_where, + 'm' => $page->GetPageStarNumber(), + 'n' => $this->page_size, + ]; + $ret = UserAddressService::UserAddressAdminList($data_params); + + // 基础参数赋值 + $this->assign('params', $this->data_request); + $this->assign('page_html', $page->GetPageHtml()); + $this->assign('data_list', $ret['data']); + return $this->fetch(); + } + + /** + * 详情 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-08-05T08:21:54+0800 + */ + public function Detail() + { + if(!empty($this->data_request['id'])) + { + // 条件 + $where = [ + ['id', '=', intval($this->data_request['id'])], + ]; + + // 获取列表 + $data_params = [ + 'm' => 0, + 'n' => 1, + 'where' => $where, + ]; + $ret = UserAddressService::UserAddressAdminList($data_params); + $data = (empty($ret['data']) || empty($ret['data'][0])) ? [] : $ret['data'][0]; + $this->assign('data', $data); + + // 加载百度地图api + $this->assign('is_load_baidu_map_api', 1); + } + return $this->fetch(); + } + + /** + * [SaveInfo 添加/编辑页面] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-14T21:37:02+0800 + */ + public function SaveInfo() + { + // 参数 + $params = $this->data_request; + + // 数据 + $data = []; + if(!empty($params['id'])) + { + // 获取列表 + $data_params = array( + 'm' => 0, + 'n' => 1, + 'where' => ['id'=>intval($params['id'])], + 'field' => '*', + ); + $ret = UserAddressService::UserAddressAdminList($data_params); + $data = empty($ret['data'][0]) ? [] : $ret['data'][0]; + } + + // 加载百度地图api + $this->assign('is_load_baidu_map_api', 1); + + // 编辑器文件存放地址 + if(!empty($data['user_id'])) + { + $this->assign('editor_path_type', UserAddressService::EditorAttachmentPathType($data['user_id'])); + } + + // 数据 + $this->assign('data', $data); + $this->assign('params', $params); + return $this->fetch(); + } + + /** + * [Save 保存] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-25T22:36:12+0800 + */ + public function Save() + { + // 是否ajax请求 + if(!IS_AJAX) + { + return $this->error('非法访问'); + } + + // 开始处理 + $params = $this->data_request; + if(empty($params['user_id'])) + { + return DataReturn('用户信息有误', -1); + } + + $params['user'] = ['id'=>$params['user_id']]; + return UserAddressService::UserAddressSave($params); + } + + /** + * [Delete 删除] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-25T22:36:12+0800 + */ + public function Delete() + { + // 是否ajax请求 + if(!IS_AJAX) + { + return $this->error('非法访问'); + } + + // 开始处理 + $params = $this->data_request; + $params['user_type'] = 'admin'; + return UserAddressService::UserAddressAdminDelete($params); + } +} +?> \ No newline at end of file diff --git a/application/admin/form/Useraddress.php b/application/admin/form/Useraddress.php new file mode 100644 index 000000000..73222f914 --- /dev/null +++ b/application/admin/form/Useraddress.php @@ -0,0 +1,222 @@ + [ + 'key_field' => 'id', + 'is_search' => 1, + 'search_url' => MyUrl('admin/useraddress/index'), + 'is_delete' => 1, + 'delete_url' => MyUrl('admin/useraddress/delete'), + 'delete_key' => 'ids', + 'detail_title' => '基础信息', + ], + // 表单配置 + 'form' => [ + [ + 'view_type' => 'checkbox', + 'is_checked' => 0, + 'checked_text' => '反选', + 'not_checked_text' => '全选', + 'align' => 'center', + 'width' => 80, + ], + [ + 'label' => '用户信息', + 'view_type' => 'module', + 'view_key' => 'lib/module/user', + 'grid_size' => 'sm', + 'search_config' => [ + 'form_type' => 'input', + 'form_name' => 'user_id', + 'where_type' => 'like', + 'where_type_custom' => 'in', + 'where_value_custom' => 'WhereValueUserInfo', + 'placeholder' => '请输入用户名/昵称/手机/邮箱', + ], + ], + [ + 'label' => '别名/联系人', + 'view_type' => 'module', + 'view_key' => 'useraddress/module/info', + 'search_config' => [ + 'form_type' => 'input', + 'form_name' => 'alias|name', + 'where_type' => 'like', + ], + ], + [ + 'label' => '联系电话', + 'view_type' => 'field', + 'view_key' => 'tel', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => '所属省', + 'view_type' => 'field', + 'view_key' => 'province_name', + 'search_config' => [ + 'form_type' => 'select', + 'form_name' => 'province', + 'data' => $this->RegionProvinceItems(), + 'data_key' => 'id', + 'data_name' => 'name', + 'where_type' => 'in', + 'is_multiple' => 1, + ], + ], + [ + 'label' => '所属市', + 'view_type' => 'field', + 'view_key' => 'city_name', + ], + [ + 'label' => '所属区/县', + 'view_type' => 'field', + 'view_key' => 'county_name', + ], + [ + 'label' => '详细地址', + 'view_type' => 'field', + 'view_key' => 'address', + 'grid_size' => 'sm', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => '经纬度', + 'view_type' => 'module', + 'view_key' => 'useraddress/module/position', + 'grid_size' => 'sm', + ], + [ + 'label' => '身份证信息', + 'view_type' => 'module', + 'view_key' => 'useraddress/module/idcard_info', + 'grid_size' => 'sm', + 'search_config' => [ + 'form_type' => 'input', + 'form_name' => 'idcard_name|idcard_number', + 'where_type' => 'like', + ], + ], + [ + 'label' => '是否默认', + 'view_type' => 'module', + 'view_key' => 'useraddress/module/is_default', + 'search_config' => [ + 'form_type' => 'select', + 'form_name' => 'is_default', + 'where_type' => 'in', + 'data' => lang('common_is_text_list'), + 'data_key' => 'id', + 'data_name' => 'name', + 'is_multiple' => 1, + ], + ], + [ + 'label' => '创建时间', + 'view_type' => 'field', + 'view_key' => 'add_time', + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => '更新时间', + 'view_type' => 'field', + 'view_key' => 'upd_time', + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => '操作', + 'view_type' => 'operate', + 'view_key' => 'useraddress/module/operate', + 'align' => 'center', + 'fixed' => 'right', + ], + ], + ]; + } + + /** + * 用户信息条件处理 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-06-30 + * @desc description + * @param [string] $value [条件值] + * @param [array] $params [输入参数] + */ + public function WhereValueUserInfo($value, $params = []) + { + if(!empty($value)) + { + // 获取用户 id + $ids = Db::name('User')->where('username|nickname|mobile|email', 'like', '%'.$value.'%')->column('id'); + + // 避免空条件造成无效的错觉 + return empty($ids) ? [0] : $ids; + } + return $value; + } + + /** + * 获取地区省份数据 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-07-08 + * @desc description + */ + public function RegionProvinceItems() + { + return RegionService::RegionNode(['field'=>'id,name', 'where'=>['pid'=>0]]);; + } +} +?> \ No newline at end of file diff --git a/application/admin/view/default/useraddress/detail.html b/application/admin/view/default/useraddress/detail.html new file mode 100644 index 000000000..2edc34102 --- /dev/null +++ b/application/admin/view/default/useraddress/detail.html @@ -0,0 +1,31 @@ + +{{extend name="public/module/detail" /}} + + +{{block name="detail_data"}} + + {__block__} + + +
+
地图位置
+
+ {{if !empty($data['lng']) and !empty($data['lat'])}} +
+ {{else /}} +
未配置
+ {{/if}} +
+
+{{/block}} + + +{{block name="form_page_bottom"}} + +{{/block}} \ No newline at end of file diff --git a/application/admin/view/default/useraddress/index.html b/application/admin/view/default/useraddress/index.html new file mode 100644 index 000000000..907d6eab9 --- /dev/null +++ b/application/admin/view/default/useraddress/index.html @@ -0,0 +1,2 @@ + +{{extend name="public/module/form" /}} \ No newline at end of file diff --git a/application/admin/view/default/useraddress/module/idcard_info.html b/application/admin/view/default/useraddress/module/idcard_info.html new file mode 100644 index 000000000..6ad8ad9e6 --- /dev/null +++ b/application/admin/view/default/useraddress/module/idcard_info.html @@ -0,0 +1,8 @@ + +{{if !empty($module_data)}} +

姓名:{{$module_data.idcard_name}}

+

号码:{{$module_data.idcard_number}}

+ {{if !empty($module_data['idcard_front']) or !empty($module_data['idcard_back'])}} +

照片:{{if !empty($module_data['idcard_front'])}}身份证人像面{{/if}} {{if !empty($module_data['idcard_back'])}}身份证人像面{{/if}}

+ {{/if}} +{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/useraddress/module/info.html b/application/admin/view/default/useraddress/module/info.html new file mode 100644 index 000000000..98fce5109 --- /dev/null +++ b/application/admin/view/default/useraddress/module/info.html @@ -0,0 +1,9 @@ + +{{if !empty($module_data)}} + {{if !empty($module_data['name'])}} +

{{$module_data.name}}

+ {{/if}} + {{if !empty($module_data['alias'])}} +

{{$module_data.alias}}

+ {{/if}} +{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/useraddress/module/is_default.html b/application/admin/view/default/useraddress/module/is_default.html new file mode 100644 index 000000000..bc65c78bc --- /dev/null +++ b/application/admin/view/default/useraddress/module/is_default.html @@ -0,0 +1,6 @@ + +{{if isset($module_data['is_default']) and $module_data['is_default'] eq 1}} + 默认 +{{else /}} + +{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/useraddress/module/operate.html b/application/admin/view/default/useraddress/module/operate.html new file mode 100644 index 000000000..a115fa61a --- /dev/null +++ b/application/admin/view/default/useraddress/module/operate.html @@ -0,0 +1,13 @@ + + + + + 编辑 + + \ No newline at end of file diff --git a/application/admin/view/default/useraddress/module/position.html b/application/admin/view/default/useraddress/module/position.html new file mode 100644 index 000000000..e7da4ff8a --- /dev/null +++ b/application/admin/view/default/useraddress/module/position.html @@ -0,0 +1,7 @@ + +{{if !empty($module_data['lng'])}} +

经度 {{$module_data.lng}}

+{{/if}} +{{if !empty($module_data['lat'])}} +

纬度 {{$module_data.lat}}

+{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/useraddress/save_info.html b/application/admin/view/default/useraddress/save_info.html new file mode 100644 index 000000000..f274dd5ba --- /dev/null +++ b/application/admin/view/default/useraddress/save_info.html @@ -0,0 +1,112 @@ +{{include file="public/header" /}} + + +
+
+ +
+ + 用户地址{{if empty($data['id'])}}添加{{else /}}编辑{{/if}} + 返回 + +
+ {{$data.user.user_name_view}} +
    +
  • 名称:{{if empty($data['user']['username'])}}{{else /}}{{$data.user.username}}{{/if}}
  • +
  • 昵称:{{if empty($data['user']['nickname'])}}{{else /}}{{$data.user.nickname}}{{/if}}
  • +
  • 手机:{{if empty($data['user']['mobile'])}}{{else /}}{{$data.user.mobile}}{{/if}}
  • +
  • 邮箱:{{if empty($data['user']['email'])}}{{else /}}{{$data.user.email}}{{/if}}
  • +
+
+ +
+ + +
+
+ + +
+ + {{include file="lib/region_linkage" /}} +
+ +
+ + + + + + +
+
+
+ +
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ +
+
+
    +
  • + {{if !empty($data['idcard_front_old'])}} + + {{/if}} + +
  • +
+
+上传人像面图片
+
+
+
    +
  • + {{if !empty($data['idcard_back_old'])}} + + {{/if}} + +
  • +
+
+上传国微面图片
+
+
+
+
+ +
+ + + +
+
+ +
+
+ + + +{{include file="public/footer" /}} + + + \ No newline at end of file diff --git a/application/api/controller/Orderaftersale.php b/application/api/controller/Orderaftersale.php index 4a2fabbd8..08e31bdb0 100644 --- a/application/api/controller/Orderaftersale.php +++ b/application/api/controller/Orderaftersale.php @@ -137,7 +137,7 @@ class Orderaftersale extends Common 'return_money_goods_reason' => empty($return_money_goods_reason) ? [] : explode("\n", $return_money_goods_reason), 'aftersale_type_list' => lang('common_order_aftersale_type_list'), 'return_goods_address' => MyC('home_order_aftersale_return_goods_address', '管理员未填写', true), - 'editor_path_type' => 'order_aftersale-'.intval($this->user['id']%(3*24)/24).'-'.$order_id.'-'.$order_detail_id, + 'editor_path_type' => OrderAftersaleService::EditorAttachmentPathType($this->user['id'], $order_id, $order_detail_id), ]; return DataReturn('success', 0, $result); } diff --git a/application/api/controller/Useraddress.php b/application/api/controller/Useraddress.php index fb63eb5a0..ad0292ba4 100755 --- a/application/api/controller/Useraddress.php +++ b/application/api/controller/Useraddress.php @@ -39,7 +39,20 @@ class UserAddress extends Common } /** - * 获取用户地址详情 + * 地址列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2018-07-18 + * @desc description + */ + public function Index() + { + return UserAddressService::UserAddressList(['user'=>$this->user]); + } + + /** + * 地址详情 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 @@ -50,21 +63,14 @@ class UserAddress extends Common { $params = $this->data_post; $params['user'] = $this->user; - return UserAddressService::UserAddressRow($params); - } + $data = empty($params['id']) ? [] : UserAddressService::UserAddressRow($params); - /** - * 获取用户地址列表 - * @author Devil - * @blog http://gong.gg/ - * @version 1.0.0 - * @date 2018-07-18 - * @desc description - */ - public function Index() - { - return UserAddressService::UserAddressList(['user'=>$this->user]); - + // 返回数据 + $result = [ + 'data' => empty($data['data']) ? null : $data['data'], + 'editor_path_type' => UserAddressService::EditorAttachmentPathType($this->user['id']), + ]; + return DataReturn('success', 0, $result); } /** diff --git a/application/index/controller/Orderaftersale.php b/application/index/controller/Orderaftersale.php index 6a89fcef0..898412e46 100644 --- a/application/index/controller/Orderaftersale.php +++ b/application/index/controller/Orderaftersale.php @@ -137,7 +137,7 @@ class Orderaftersale extends Common $this->assign('common_order_aftersale_type_list', lang('common_order_aftersale_type_list')); // 编辑器文件存放地址 - $this->assign('editor_path_type', 'order_aftersale-'.intval($this->user['id']%(3*24)/24).'-'.$order_id.'-'.$order_detail_id); + $this->assign('editor_path_type', OrderAftersaleService::EditorAttachmentPathType($this->user['id'], $order_id, $order_detail_id)); // 订单售后搜索form key $this->assign('form_search_keywords_form_key', 'f0p'); diff --git a/application/index/controller/Useraddress.php b/application/index/controller/Useraddress.php index b27c7275b..b99c6f80a 100755 --- a/application/index/controller/Useraddress.php +++ b/application/index/controller/Useraddress.php @@ -79,7 +79,7 @@ class UserAddress extends Common } // 编辑器文件存放地址 - $this->assign('editor_path_type', 'user_address-'.intval($this->user['id']%(3*24)/24)); + $this->assign('editor_path_type', UserAddressService::EditorAttachmentPathType($this->user['id'])); // 加载百度地图api $this->assign('is_load_baidu_map_api', 1); diff --git a/application/index/view/default/useraddress/save_info.html b/application/index/view/default/useraddress/save_info.html index 77e2530f8..7ebd087c3 100755 --- a/application/index/view/default/useraddress/save_info.html +++ b/application/index/view/default/useraddress/save_info.html @@ -53,7 +53,7 @@ {{if !empty($data['idcard_front_old'])}} {{/if}} - +
+上传人像面图片
@@ -64,7 +64,7 @@ {{if !empty($data['idcard_back_old'])}} {{/if}} - +
+上传国微面图片
@@ -74,7 +74,7 @@
- +
diff --git a/application/service/GoodsBrowseService.php b/application/service/GoodsBrowseService.php index 1dadea8db..92dbb85ba 100644 --- a/application/service/GoodsBrowseService.php +++ b/application/service/GoodsBrowseService.php @@ -147,12 +147,17 @@ class GoodsBrowseService // 是否公共读取 $is_public = (isset($params['is_public']) && $params['is_public'] == 0) ? 0 : 1; + $users = []; foreach($data as &$v) { // 用户信息 if(isset($v['user_id']) && $is_public == 0) { - $v['user'] = UserService::GetUserViewInfo($v['user_id']); + if(!array_key_exists($v['user_id'], $users)) + { + $users[$v['user_id']] = UserService::GetUserViewInfo($v['user_id']); + } + $v['user'] = $users[$v['user_id']]; } } } diff --git a/application/service/GoodsFavorService.php b/application/service/GoodsFavorService.php index 634048e17..8be5c1419 100644 --- a/application/service/GoodsFavorService.php +++ b/application/service/GoodsFavorService.php @@ -210,12 +210,17 @@ class GoodsFavorService // 是否公共读取 $is_public = (isset($params['is_public']) && $params['is_public'] == 0) ? 0 : 1; + $users = []; foreach($data as &$v) { // 用户信息 if(isset($v['user_id']) && $is_public == 0) { - $v['user'] = UserService::GetUserViewInfo($v['user_id']); + if(!array_key_exists($v['user_id'], $users)) + { + $users[$v['user_id']] = UserService::GetUserViewInfo($v['user_id']); + } + $v['user'] = $users[$v['user_id']]; } } } diff --git a/application/service/OrderAftersaleService.php b/application/service/OrderAftersaleService.php index ee512348b..1cd743d9f 100644 --- a/application/service/OrderAftersaleService.php +++ b/application/service/OrderAftersaleService.php @@ -1588,5 +1588,21 @@ class OrderAftersaleService $end_time = $collect_time+($launch_day*86400); return ($end_time >= time()) ? 1 : 0; } + + /** + * 附件存储路径标识 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-10-14 + * @desc description + * @param [int] $user_id [用户id] + * @param [int] $order_id [订单id] + * @param [int] $order_detail_id [订单详情id] + */ + public static function EditorAttachmentPathType($user_id, $order_id, $order_detail_id) + { + return 'order_aftersale-'.intval($user_id%(3*24)/24).'-'.$order_id.'-'.$order_detail_id; + } } ?> \ No newline at end of file diff --git a/application/service/UserAddressService.php b/application/service/UserAddressService.php index 2e383a6e0..53c727ff7 100644 --- a/application/service/UserAddressService.php +++ b/application/service/UserAddressService.php @@ -25,6 +25,130 @@ use app\service\ResourcesService; */ class UserAddressService { + /** + * 列表-管理 + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-06T21:31:53+0800 + * @param [array] $params [输入参数] + */ + public static function UserAddressAdminList($params = []) + { + $where = empty($params['where']) ? [] : $params['where']; + $field = empty($params['field']) ? '*' : $params['field']; + $order_by = empty($params['order_by']) ? 'id desc' : trim($params['order_by']); + + $m = isset($params['m']) ? intval($params['m']) : 0; + $n = isset($params['n']) ? intval($params['n']) : 10; + + // 获取列表 + $data = self::DataHandle(Db::name('UserAddress')->where($where)->order($order_by)->limit($m, $n)->select(), 0); + return DataReturn('处理成功', 0, $data); + } + + /** + * 总数 + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-10T22:16:29+0800 + * @param [array] $where [条件] + */ + public static function UserAddressTotal($where) + { + return (int) Db::name('UserAddress')->where($where)->count(); + } + + /** + * 删除-管理 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2018-12-18 + * @desc description + * @param [array] $params [输入参数] + */ + public static function UserAddressAdminDelete($params = []) + { + // 参数是否有误 + if(empty($params['ids'])) + { + return DataReturn('操作id有误', -1); + } + // 是否数组 + if(!is_array($params['ids'])) + { + $params['ids'] = explode(',', $params['ids']); + } + + // 删除操作 + if(Db::name('UserAddress')->where(['id'=>$params['ids']])->delete()) + { + return DataReturn('删除成功'); + } + + return DataReturn('删除失败', -100); + } + + /** + * 数据处理 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-10-14 + * @desc description + * @param [array] $data [数据列表] + * @param [int] $is_public [是否公共访问0|1、默认1] + */ + public static function DataHandle($data, $is_public = 1) + { + if(!empty($data)) + { + $users = []; + foreach($data as &$v) + { + // 用户信息 + if(isset($v['user_id']) && $is_public == 0) + { + if(!array_key_exists($v['user_id'], $users)) + { + $users[$v['user_id']] = UserService::GetUserViewInfo($v['user_id']); + } + $v['user'] = $users[$v['user_id']]; + } + + // 地区 + $v['province_name'] = RegionService::RegionName($v['province']); + $v['city_name'] = RegionService::RegionName($v['city']); + $v['county_name'] = RegionService::RegionName($v['county']); + + // 附件 + if(isset($v['idcard_front'])) + { + $v['idcard_front_old'] = $v['idcard_front']; + $v['idcard_front'] = ResourcesService::AttachmentPathViewHandle($v['idcard_front']); + } + if(isset($v['idcard_back'])) + { + $v['idcard_back_old'] = $v['idcard_back']; + $v['idcard_back'] = ResourcesService::AttachmentPathViewHandle($v['idcard_back']); + } + + // 时间 + if(isset($v['add_time'])) + { + $v['add_time'] = date('Y-m-d H:i:s', $v['add_time']); + } + if(isset($v['upd_time'])) + { + $v['upd_time'] = empty($v['upd_time']) ? '' : date('Y-m-d H:i:s', $v['upd_time']); + } + } + } + return $data; + } + /** * 用户地址列表列表 * @author Devil @@ -56,34 +180,17 @@ class UserAddressService // 获取用户地址 $field = 'id,alias,name,tel,province,city,county,address,lng,lat,is_default,idcard_name,idcard_number,idcard_front,idcard_back'; - $data = Db::name('UserAddress')->where($where)->field($field)->order('id desc')->select(); + $data = self::DataHandle(Db::name('UserAddress')->where($where)->field($field)->order('id desc')->select()); if(!empty($data)) { $is_default = false; foreach($data as &$v) { - // 地区 - $v['province_name'] = RegionService::RegionName($v['province']); - $v['city_name'] = RegionService::RegionName($v['city']); - $v['county_name'] = RegionService::RegionName($v['county']); - // 是否有默认地址 if($is_default === false && $v['is_default'] == 1) { $is_default = true; } - - // 附件 - if(isset($v['idcard_front'])) - { - $v['idcard_front_old'] = $v['idcard_front']; - $v['idcard_front'] = ResourcesService::AttachmentPathViewHandle($v['idcard_front']); - } - if(isset($v['idcard_back'])) - { - $v['idcard_back_old'] = $v['idcard_back']; - $v['idcard_back'] = ResourcesService::AttachmentPathViewHandle($v['idcard_back']); - } } // 是否处理默认地址,没有默认地址将第一个设置为默认地址 @@ -603,5 +710,19 @@ class UserAddressService // 地址保存 return self::UserAddressSave($params); } + + /** + * 附件存储路径标识 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-10-14 + * @desc description + * @param [int] $user_id [用户id] + */ + public static function EditorAttachmentPathType($user_id) + { + return 'user_address-'.intval($user_id%(3*24)/24).'-'.$user_id; + } } ?> \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index 60308b104..0d72aeb43 100755 --- a/changelog.txt +++ b/changelog.txt @@ -9,17 +9,19 @@ 5. 网站首页可后台控制配置 6. 新增SESSION和数据缓存配置Redis(独立配置) 7. 新增支付接口异步推送日志记录 + 8. 用户地址优化(新增身份证信息填写上传照片) web端 1. 后台菜单支持自定义url地址、并支持钩子自动添加 2. 后台区块数据统计新增当月、上月维度 3. 新增插件路由短地址规则 4. 动态表格列表支持自定义显示字段和拖拽排序 + 5. 后台新增用户地址管理 小程序 1. QQ小程序支持微信支付 2. 支持手机号码一键绑定[百度/微信] - 3. 支持获取收货地址[百度/微信/QQ/支付宝] + 3. 支持获取收货地址[百度/微信/QQ/支付宝/头条] 插件 1. 汇率插件支持货币自由切换 diff --git a/config/shopxo.sql b/config/shopxo.sql index 2690e8e3e..2995cca46 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -11,7 +11,7 @@ Target Server Version : 50729 File Encoding : utf-8 - Date: 10/13/2020 14:05:05 PM + Date: 10/14/2020 18:15:21 PM */ SET NAMES utf8mb4; @@ -41,7 +41,7 @@ CREATE TABLE `s_admin` ( -- Records of `s_admin` -- ---------------------------- BEGIN; -INSERT INTO `s_admin` VALUES ('1', 'admin', '38e9acf49822753595c4c49697057b20', '871460', '17688888888', '0', '0', '549', '1602563916', '1', '1481350313', '1593747210'), ('4', 'shopxo', 'c547c7fdfc244cef6747b306d390cc12', '898429', '', '0', '0', '7', '1600938931', '13', '1580807200', '1598279043'); +INSERT INTO `s_admin` VALUES ('1', 'admin', 'e0f01edb89cac6436622f66c33289585', '796464', '17688888888', '0', '0', '553', '1602667202', '1', '1481350313', '1593747210'), ('4', 'shopxo', 'c547c7fdfc244cef6747b306d390cc12', '898429', '', '0', '0', '7', '1600938931', '13', '1580807200', '1598279043'); COMMIT; -- ---------------------------- @@ -212,14 +212,14 @@ CREATE TABLE `s_attachment` ( PRIMARY KEY (`id`), KEY `path_type` (`path_type`), KEY `type` (`type`) -) ENGINE=InnoDB AUTO_INCREMENT=541 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='附件'; +) ENGINE=InnoDB AUTO_INCREMENT=559 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='附件'; -- ---------------------------- -- Records of `s_attachment` -- ---------------------------- BEGIN; INSERT INTO `s_attachment` VALUES ('1', '1547458876723311.mp4', '1547458876723311.mp4', 'goods', '5212749', '.mp4', 'video', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '7a926ee38e8c53b128b6ea9559ae0af95324dbbb4e8b8bff55c8020b72a8261e', '1561538565'), ('2', '2018111915461980516.png', '2018111915461980516.png', 'app_nav', '730', '.png', 'image', '/static/upload/images/app_nav/2018/11/19/2018111915461980516.png', '7b7c3e3b0dcad495d0929f3c7b868aa08e753d7ed32e69c680479a31b8530ac4', '1561538565'), ('3', '2018111915473948001.png', '2018111915473948001.png', 'app_nav', '894', '.png', 'image', '/static/upload/images/app_nav/2018/11/19/2018111915473948001.png', 'bb122d0a92cc8472561ded9febb86704777541b0cc5f2582a2a78b51fb9c96f4', '1561538565'), ('4', '2018111915482687655.png', '2018111915482687655.png', 'app_nav', '1430', '.png', 'image', '/static/upload/images/app_nav/2018/11/19/2018111915482687655.png', '6ff6f72142d89359a57d63c7684e40f06f4a76f71648a745b8c9607b0b04e486', '1561538565'), ('5', '2018111915491258361.png', '2018111915491258361.png', 'app_nav', '879', '.png', 'image', '/static/upload/images/app_nav/2018/11/19/2018111915491258361.png', 'd76f8244968847868b66cd055f03a29afc3476e5385cef6b27351df7f54f98de', '1561538565'), ('6', '1551064260180298.jpeg', '1551064260180298.jpeg', 'brand', '2393', '.jpeg', 'image', '/static/upload/images/brand/2019/02/25/1551064260180298.jpeg', '858f2f5aa01d2cecdc907b93a99765b8dccc6a8d1015a0ab048ad2a46c96e65e', '1561538565'), ('7', '1551064277207182.jpeg', '1551064277207182.jpeg', 'brand', '3063', '.jpeg', 'image', '/static/upload/images/brand/2019/02/25/1551064277207182.jpeg', 'b1a4f186af72f1a2bb6cb425c5eff59c10fe11289a91944f016b0156021e55e6', '1561538565'), ('8', '1547448705165706.png', '1547448705165706.png', 'common', '8725', '.png', 'image', '/static/upload/images/common/2019/01/14/1547448705165706.png', '3e4a6cf6ea3ed26836a59275cdbe58d441109717dd9b961bd912cbc5f336c556', '1561538565'), ('9', '1547448728921121.jpg', '1547448728921121.jpg', 'common', '43556', '.jpg', 'image', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '829a7f9988db882fbd643ffdbd9a646e169b31f89641b3d4904338758016c2b4', '1561538565'), ('10', '1547448748316693.png', '1547448748316693.png', 'common', '21102', '.png', 'image', '/static/upload/images/common/2019/01/14/1547448748316693.png', '2db8ea9424e63d4a2affcd0ac52f8f0e89c417f5725833a97d5afd534809d9b4', '1561538565'), ('11', '1554805439263794.jpeg', '1554805439263794.jpeg', 'common', '19885', '.jpeg', 'image', '/static/upload/images/common/2019/04/09/1554805439263794.jpeg', 'f4b731035bac0627508caa101e1f537d25592c5201455647d2f1d1c5b7c3e3c4', '1561538565'), ('12', '1558025141249118.png', '1558025141249118.png', 'common', '146965', '.png', 'image', '/static/upload/images/common/2019/05/17/1558025141249118.png', '316b56dec84b3c8dcc01b7672c6dad6eff88a518495f6cf81ccf45e58306bf58', '1561538565'), ('13', '1558062481107570.jpg', '1558062481107570.jpg', 'common', '67729', '.jpg', 'image', '/static/upload/images/common/2019/05/17/1558062481107570.jpg', '66feea05a2fb10cb5983f4df2deeec6a35b5453876c14b7fabe62dbb3528d93c', '1561538565'), ('14', '1558072588843696.jpg', '1558072588843696.jpg', 'common', '61648', '.jpg', 'image', '/static/upload/images/common/2019/05/17/1558072588843696.jpg', '18739da62d47b0062eef55bff5464809ac18bbcf500c18e5e130661ff40ad223', '1561538565'), ('15', '1558073623385520.jpg', '1558073623385520.jpg', 'common', '83272', '.jpg', 'image', '/static/upload/images/common/2019/05/17/1558073623385520.jpg', '49acf5646f5ea6d7daf439fbea4cc9421d2d40f5979203a554e36a1da462ce7f', '1561538565'), ('16', '1558073623641199.jpg', '1558073623641199.jpg', 'common', '76591', '.jpg', 'image', '/static/upload/images/common/2019/05/17/1558073623641199.jpg', 'ffdf93c767c65745d2e0cd1694548f689f6f0b9108c5b6d19f499f2bbe7e6417', '1561538565'), ('17', '1533779966550231.jpeg', '1533779966550231.jpeg', 'customview', '23584', '.jpeg', 'image', '/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg', '2aa35a2f5037edba292bee25bc693c30422e969a13ce9d2228224efa7cfc9175', '1561538565'), ('18', '20180917104528_logo.png', '20180917104528_logo.png', 'express', '1769', '.png', 'image', '/static/upload/images/express/images/20180917104528_logo.png', 'c3d6d1a36d5f330f94c6135621ccb6d6f9b88ccb5f051aa3b6afc8142e3675b2', '1561538565'), ('19', '20180917104538_logo.png', '20180917104538_logo.png', 'express', '2169', '.png', 'image', '/static/upload/images/express/images/20180917104538_logo.png', 'e4ec0945e81303dd2a4da37c355e27d93bd3f1d182f3aedb8fcd806072b2351c', '1561538565'), ('20', '20180917104550_logo.png', '20180917104550_logo.png', 'express', '3658', '.png', 'image', '/static/upload/images/express/images/20180917104550_logo.png', '6fa6d28c69cf0a9c6d9c1534746927b2e0d9e474bdcf3f3c1abca90e3cb36972', '1561538565'), ('21', '20180917104559_logo.png', '20180917104559_logo.png', 'express', '2250', '.png', 'image', '/static/upload/images/express/images/20180917104559_logo.png', 'd3c077bfe057759182dc820f537a1e119141de61eaf8d2f3caa3830d18868278', '1561538565'), ('22', '20180917104616_logo.png', '20180917104616_logo.png', 'express', '2880', '.png', 'image', '/static/upload/images/express/images/20180917104616_logo.png', 'cfa30c53c4f756c48867c0259832ac614aa2f7185c222c4aafc30501c3e6fd1c', '1561538565'), ('23', '20180917104631_logo.png', '20180917104631_logo.png', 'express', '2570', '.png', 'image', '/static/upload/images/express/images/20180917104631_logo.png', 'a19bdf1d82804272e70a4203327fc8be94ca95b057e4f08cae0a595629c12164', '1561538565'), ('24', '20180917104650_logo.png', '20180917104650_logo.png', 'express', '2919', '.png', 'image', '/static/upload/images/express/images/20180917104650_logo.png', '3ffdacaef8dd508ea1f6638a31fe5cd29312797560bd10fea189bb762255fcb2', '1561538565'), ('25', '20180917104707_logo.png', '20180917104707_logo.png', 'express', '1933', '.png', 'image', '/static/upload/images/express/images/20180917104707_logo.png', 'af8093064a780329b3e40e07de199910cd7faa956534b5a897f0bf59b94f4db2', '1561538565'), ('26', '20180917104722_logo.png', '20180917104722_logo.png', 'express', '1355', '.png', 'image', '/static/upload/images/express/images/20180917104722_logo.png', '577a12272983bf1d3a951466f9cd431da8f97f0663d668ac5976e15cf0d06130', '1561538565'), ('27', '20180917104750_logo.png', '20180917104750_logo.png', 'express', '2232', '.png', 'image', '/static/upload/images/express/images/20180917104750_logo.png', '1f5ed908b5d8b906886503929c0fa718cc963e5ffa90a4efefa5942c5d208f32', '1561538565'), ('28', '20180917104757_logo.png', '20180917104757_logo.png', 'express', '1459', '.png', 'image', '/static/upload/images/express/images/20180917104757_logo.png', 'c6379303232e7a785aa5d936235e1332d9f855dc96bf7e4c5fd7303f383a91fe', '1561538565'), ('29', '20180917104816_logo.png', '20180917104816_logo.png', 'express', '3380', '.png', 'image', '/static/upload/images/express/images/20180917104816_logo.png', '6eed95dfa6bfa4c5df63674377375f87461c7b89a6e20de6485d4eb810990905', '1561538565'), ('30', '20180917104839_logo.png', '20180917104839_logo.png', 'express', '2881', '.png', 'image', '/static/upload/images/express/images/20180917104839_logo.png', '73819350d051a9b0954f46e4d110f5a4f071a34d7c3e3a90117e8e233b756cee', '1561538565'), ('31', '20180917104848_logo.png', '20180917104848_logo.png', 'express', '1582', '.png', 'image', '/static/upload/images/express/images/20180917104848_logo.png', 'f937af6d4fbba40a4ec0ac51ec43573cb8271da6e708f71fa3d4fd6de9b0d82e', '1561538565'), ('32', '1547450781101144.jpg', '1547450781101144.jpg', 'goods', '14901', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '548014a470048f943087ba0ddaae7945a2f2903e011403e4dc6c3d95f11f0bb3', '1561538565'), ('33', '1547450818141662.jpg', '1547450818141662.jpg', 'goods', '5155', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547450818141662.jpg', 'e3fe682515a38f482e400270c6836ab22d79e0f82bf786653635b7120e635c62', '1561538565'), ('34', '1547450880620837.png', '1547450880620837.png', 'goods', '144191', '.png', 'image', '/static/upload/images/goods/2019/01/14/1547450880620837.png', '79700495a967766808095ddbdf6f708d952ee203b62281846cc8a5a079abaf14', '1561538565'), ('35', '1547450880750687.png', '1547450880750687.png', 'goods', '118286', '.png', 'image', '/static/upload/images/goods/2019/01/14/1547450880750687.png', '903a054e636a21234954fdfb8a1bb0e9288e1bc9c214a621fc1742e4c8628738', '1561538565'), ('36', '1547450880917418.png', '1547450880917418.png', 'goods', '132895', '.png', 'image', '/static/upload/images/goods/2019/01/14/1547450880917418.png', '53f9fc26b0aaf49e5315d12d0d0307b683a48075e32c36f2d62e313e8e02507b', '1561538565'), ('37', '1547451274847894.jpg', '1547451274847894.jpg', 'goods', '18956', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', 'e097db5e1506246fb9b984ec8b8b97d71bc8a5c205f5f06b0012bd1348f6a4a7', '1561538565'), ('38', '1547451576558478.jpg', '1547451576558478.jpg', 'goods', '17371', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451576558478.jpg', 'fc11e1d41975dd8f721d272a41e909b9d5f1ce3dc6b67aa88deed0e9e2d9d2e6', '1561538565'), ('39', '1547451595528800.jpg', '1547451595528800.jpg', 'goods', '111955', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451595528800.jpg', 'b5e076adebfc454c2abccab56d7d738ae959600cab37af767da0f822938b73bb', '1561538565'), ('40', '1547451595616298.jpg', '1547451595616298.jpg', 'goods', '67610', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451595616298.jpg', '96fa7081f31d372189efb4f7058747e3182e8f054f0de78bdc1051335cca292c', '1561538565'), ('41', '1547451595700972.jpg', '1547451595700972.jpg', 'goods', '194801', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451595700972.jpg', 'af3f8d3a4c2ae124539a465d9026732fdad60959b37180a257b0163fe9515045', '1561538565'), ('42', '1547451909951171.jpg', '1547451909951171.jpg', 'goods', '11112', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', 'b987362a8d3ac7fb38cd7f6bdc576fc89de9446e5eb149eacc2f1f6263f9fdb9', '1561538565'), ('43', '1547451936230948.jpg', '1547451936230948.jpg', 'goods', '7128', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451936230948.jpg', '37bd853c2c785734adaae00047674d33d825f56a7dfc6bbff282254d857ecb97', '1561538565'), ('44', '1547451947383902.jpg', '1547451947383902.jpg', 'goods', '121885', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451947383902.jpg', '5f3a7f8a470de35bc44f64a2fb3366fa24458f6fbe4e5dffbcfd726279f8d59f', '1561538565'), ('45', '1547451947676180.jpg', '1547451947676180.jpg', 'goods', '84716', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451947676180.jpg', '785f3b3231715489560d2a36afdb8a4a8051e301c177e13b07faec616fe533df', '1561538565'), ('46', '1547451947686990.jpg', '1547451947686990.jpg', 'goods', '140597', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451947686990.jpg', '8ea862a6b2a1fa077bec4d732cb81a64245d165ff407335b715e4c352d34d686', '1561538565'), ('47', '1547451947791154.jpg', '1547451947791154.jpg', 'goods', '172983', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547451947791154.jpg', '5a0f20c9318bd56c54bc5360aeacca46438e3fb23800350043f4939a7a6d0fe7', '1561538565'), ('48', '1547452474332334.jpg', '1547452474332334.jpg', 'goods', '15870', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', 'e73e50f6fdf1d623f73a745487d9ef1eb336e195fb868560ba7efa2b1f3d372e', '1561538565'), ('49', '1547452496713777.jpg', '1547452496713777.jpg', 'goods', '8334', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452496713777.jpg', '55adc8631fd2b16d1a1f53040396512b1ec5e125cd7a4eed7bde260b7e590662', '1561538565'), ('50', '1547452505184884.jpg', '1547452505184884.jpg', 'goods', '113172', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452505184884.jpg', '38ec49e622520bb5aabf2176deeb3b8aa50d9e504f6fbebc9864d56017429e5b', '1561538565'), ('51', '1547452505349986.jpg', '1547452505349986.jpg', 'goods', '169395', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452505349986.jpg', 'c877804c890c596aa3ba505f11d086c8d02657a8df3149933ccf057c328876d5', '1561538565'), ('52', '1547452505568604.jpg', '1547452505568604.jpg', 'goods', '129041', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452505568604.jpg', 'e62a8e2e5b8edaa0525a4e26c8d46ba525ca8bc1731eda40a0d0787cb1da7c68', '1561538565'), ('53', '1547452714324599.jpg', '1547452714324599.jpg', 'goods', '12257', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', 'ecfdc8df0fd507ea1c8a2132f96e6cd272c50fbef307ef0de78d4555ffcc6c01', '1561538565'), ('54', '1547452752648264.jpg', '1547452752648264.jpg', 'goods', '6709', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452752648264.jpg', '04aded3d43bdccb7511b9e191078a438d4c814017fc899b11a0b138ea3d572ce', '1561538565'), ('55', '1547452760417982.jpg', '1547452760417982.jpg', 'goods', '174658', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452760417982.jpg', 'c1b69d6d2edc862eb30dd491a9174c16bf8890b677872d04e7b83a205a5ba72a', '1561538565'), ('56', '1547452760659259.jpg', '1547452760659259.jpg', 'goods', '45372', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452760659259.jpg', '4e8ef5e733558a54007a7bbead41b0ec322dc94fccb1b5b451eb4c4931d9a709', '1561538565'), ('57', '1547452760984656.jpg', '1547452760984656.jpg', 'goods', '151927', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547452760984656.jpg', 'e09e88888925234da3a0cb68f5c1dfb5f98faa7e8c821bfd228a1d6a5f3d5804', '1561538565'), ('58', '1547453000703308.jpg', '1547453000703308.jpg', 'goods', '13542', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '93d47b704048dffac4a2348cf1295c839dca870ff4895a41af12170e713976fd', '1561538565'), ('59', '1547453032949003.jpg', '1547453032949003.jpg', 'goods', '25414', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453032949003.jpg', 'bd497615d2a034cf6b8a68484cb0ac06fe99db5788906a121c88d77f156e794e', '1561538565'), ('60', '1547453042405182.jpg', '1547453042405182.jpg', 'goods', '55003', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453042405182.jpg', 'b40fcfbbd601ef3154d775228230b95d3496b563323eeb91e59898939433923e', '1561538565'), ('61', '1547453042614480.jpg', '1547453042614480.jpg', 'goods', '68898', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453042614480.jpg', '821fde779e4cf4a480d325f460ef24a4de69cb1e0bbdba3390714255fcfe00a7', '1561538565'), ('62', '1547453042816509.jpg', '1547453042816509.jpg', 'goods', '66675', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453042816509.jpg', '1fe6a552ea8a9be76860e75cfc21e65a4453eae42026eb3e45817a252c537e90', '1561538565'), ('63', '1547453895416529.jpg', '1547453895416529.jpg', 'goods', '33365', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', 'e358c92060fadda7bc5752599423cb4efd714036568d9e90c8c7d2a4cfdaa624', '1561538565'), ('64', '1547453895864876.jpg', '1547453895864876.jpg', 'goods', '32578', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453895864876.jpg', '6f98f4b3c97d8f9d49a9b3fde340dcdcd1b52f6074995289f41d87650f8a9ae8', '1561538565'), ('65', '1547453910353340.jpg', '1547453910353340.jpg', 'goods', '244831', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453910353340.jpg', '3a2e801a92ec2ed54f71a7f235a94c501e623b47fe3ea2a307c173e93b4b49c2', '1561538565'), ('66', '1547453910394886.jpg', '1547453910394886.jpg', 'goods', '183330', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453910394886.jpg', '2a11688dcf7d26bf5977e83838ee1d125957825f8fb9210cae83ed59d46a644b', '1561538565'), ('67', '1547453910505349.jpg', '1547453910505349.jpg', 'goods', '290173', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547453910505349.jpg', 'ab71719764253af77474aacae2a56120d92ffa109b16b5d94664b728abd12129', '1561538565'), ('68', '1547454145355962.jpg', '1547454145355962.jpg', 'goods', '16127', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '9adb321e82f4b216f4474eb773bb1c183129281e92415c137c4da0a34bdbb568', '1561538565'), ('69', '1547454172213779.jpg', '1547454172213779.jpg', 'goods', '65777', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454172213779.jpg', '43cb42e0ba7b9492f7ca21f9a7129eee5ffab84c66d219c4932f12c049cd3bde', '1561538565'), ('70', '1547454192301566.jpg', '1547454192301566.jpg', 'goods', '111478', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454192301566.jpg', '48118482c536e5491541e6ec229b5f67cb4d19c962d1165cad8fa1c426b93bc4', '1561538565'), ('71', '1547454192448116.jpg', '1547454192448116.jpg', 'goods', '145509', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454192448116.jpg', '63ae4245e94a23482ca92ca2679d775dcadf007dae19d4a74795e47c1f9dd34f', '1561538565'), ('72', '1547454192474638.jpg', '1547454192474638.jpg', 'goods', '123242', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454192474638.jpg', '24dd26d031c679910a01c9057979f5d9e3815179344308d7250c00aa7b6b5858', '1561538565'), ('73', '1547454567172116.jpg', '1547454567172116.jpg', 'goods', '30336', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '9421fa1c61a5b70794bdfb22ae973803e62291006ffb875eb3eb724afd1e1ad4', '1561538565'), ('74', '1547454702272215.jpg', '1547454702272215.jpg', 'goods', '52594', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454702272215.jpg', 'cfa2a20d625a8d20bdd01ce4a17a90d145e924969ddf51d9ddccafcbe886c67e', '1561538565'), ('75', '1547454702543219.jpg', '1547454702543219.jpg', 'goods', '49939', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', 'f42a37ca673c0e4314cdf3405cee981c1c8a99e6b31ef65b791032daa0e843b2', '1561538565'), ('76', '1547454702814719.jpg', '1547454702814719.jpg', 'goods', '36336', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454702814719.jpg', '23ba085ed7e3ce9c15bb457a44a68d3cc27d607037933174f0456a9303c4f1e0', '1561538565'), ('77', '1547454712270511.jpg', '1547454712270511.jpg', 'goods', '204762', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454712270511.jpg', '8d1478eec21e62a6ad0fac2c7068396f9324689de5b461b781cdc692dc430147', '1561538565'), ('78', '1547454713456602.jpg', '1547454713456602.jpg', 'goods', '182430', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454713456602.jpg', '3552d483918fa4161ed2245d50dadbcf302f49846e57cbc36d07e9dba3e907f1', '1561538565'), ('79', '1547454713556301.jpg', '1547454713556301.jpg', 'goods', '282930', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454713556301.jpg', '4ff8fe8a136a4fd2473847203326358de4ae3facc9670c608985c9d112bad639', '1561538565'), ('80', '1547454713800333.jpg', '1547454713800333.jpg', 'goods', '153996', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547454713800333.jpg', '5cab81d88d323d066fecb8adf2595edacc4ac56f5c0915cd94077004364ab6a0', '1561538565'), ('81', '1547455222990904.jpg', '1547455222990904.jpg', 'goods', '60408', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '13e0b105048d1ea9190036270bafc72ca8993c3dfb6202fb1b51eba48d1143fb', '1561538565'), ('82', '1547455240700820.jpg', '1547455240700820.jpg', 'goods', '57485', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455240700820.jpg', '2ac111110be169cb2bb0624fc27f0d5fe6e776ecc20f9de18e3960434fc51627', '1561538565'), ('83', '1547455240794230.jpg', '1547455240794230.jpg', 'goods', '33401', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '796fca8f28c0b5719c9ef514fd66eed2887f4280111c4c7e385c40b4d9eafb78', '1561538565'), ('84', '1547455266234658.jpg', '1547455266234658.jpg', 'goods', '87445', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455266234658.jpg', '19071cf0dd8cbbcd75f0be15085d842b319962eb0f5831cd120e8358834ff9f8', '1561538565'), ('85', '1547455266527628.jpg', '1547455266527628.jpg', 'goods', '172989', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455266527628.jpg', '06c6d4d7ede7059a0ab56f6e25df1488cfad994a5238ead93faed78645ef8dfc', '1561538565'), ('86', '1547455566118614.jpg', '1547455566118614.jpg', 'goods', '34569', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', 'df56e92c8bf8d32ea469ac71716513e1e6f9354ee97e899bbda92e2fb7d401a5', '1561538565'), ('87', '1547455601168384.jpg', '1547455601168384.jpg', 'goods', '102302', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '7b4a3af87e91c5dd1e49c0bc47c713aec8f48576959d8440907c26ff63aaf63d', '1561538565'), ('88', '1547455601314107.jpg', '1547455601314107.jpg', 'goods', '27581', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '4ae84136adc0536c1bff8bd79d8f8377a60721928885695140ec6e8f0c8eea37', '1561538565'), ('89', '1547455601528614.jpg', '1547455601528614.jpg', 'goods', '188533', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '44f734923517749cc0f96e335f7b8e5ffb5fa1a03f091b1f7db342095fc2fb4c', '1561538565'), ('90', '1547455601898622.jpg', '1547455601898622.jpg', 'goods', '114878', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '99edb386546ea791e058ea984a1081bdca82a097cf5a42c1ff3c082f5fc7b674', '1561538565'), ('91', '1547455890402147.jpg', '1547455890402147.jpg', 'goods', '8748', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '6e0fa754907bd333e41056a08d0168ecf1e1125f3bf22f6baba2599de99e15fd', '1561538565'), ('92', '1547455907256518.jpg', '1547455907256518.jpg', 'goods', '235240', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '5210b4a18457f4e8f15ddda94756098aea31703575f98d620679b065bb67874d', '1561538565'), ('93', '1547455907486857.jpg', '1547455907486857.jpg', 'goods', '22077', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '01447696b3ef51ba08d5b025a85d7f0414dd237b11a7e6b95b8f265355c46a9c', '1561538565'), ('94', '1547456214155362.jpg', '1547456214155362.jpg', 'goods', '11118', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547456214155362.jpg', 'a402374fefab509a6569a87e47829952510fb03ba2981cb774ebd958ff2ad931', '1561538565'), ('95', '1547456228913731.jpg', '1547456228913731.jpg', 'goods', '140415', '.jpg', 'image', '/static/upload/images/goods/2019/01/14/1547456228913731.jpg', '7ef00d40d8ecfd4cd3bbd8ec16699785ca9d050bae58a11022d1761fd866c095', '1561538565'), ('96', '1547540603500383.jpg', '1547540603500383.jpg', 'goods', '27527', '.jpg', 'image', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '4898d06aa026c0453395e6ff624ed2a7b79c83124f21ca10b7ac6d21af12b4e7', '1561538565'), ('97', '20180814174251211789.png', '20180814174251211789.png', 'goods_category', '2209', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174251211789.png', 'c500e9507a07664224be0e51100f1577427d205a7333f64754464f2f606dba98', '1561538565'), ('98', '20180814174311166703.png', '20180814174311166703.png', 'goods_category', '1829', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174311166703.png', 'd8328277cca096ed83237f922db7d5719df92b4e02d5f089a8add4931ba1e3ee', '1561538565'), ('99', '20180814174638213368.png', '20180814174638213368.png', 'goods_category', '1975', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174638213368.png', 'f1fe15025d48dd62f3a76448dd313d354fc7a7d6c87ecb6059f129303af4006b', '1561538565'), ('100', '20180814174649846358.png', '20180814174649846358.png', 'goods_category', '3622', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174649846358.png', 'e9f0af2c0fcb2a920e0c42d031b5edf3205b601a0d6ca4d3243ee028259ba280', '1561538565'), ('101', '20180814174659916405.png', '20180814174659916405.png', 'goods_category', '3089', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174659916405.png', 'ac54e4e4bfa639f2d8350b15d9ebcee12d2aea38533c326c920f32dd5d5d408d', '1561538565'), ('102', '20180814174708327545.png', '20180814174708327545.png', 'goods_category', '2770', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174708327545.png', 'b90c3be2223b09deb331d9e03a201e9d193dbdacb54b7bf1b144140bd393ecf3', '1561538565'), ('103', '20180814174722490490.png', '20180814174722490490.png', 'goods_category', '2938', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174722490490.png', 'ddf5d194ff87438ccb7325235a2f392414aef8634dcadbc4e9bc14ce3b6cdd48', '1561538565'), ('104', '20180814174732569726.png', '20180814174732569726.png', 'goods_category', '4546', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174732569726.png', '20ba9a93d8e4a826ac62293f4103dfd170d319c973accb956e864fd7d2ddde81', '1561538565'), ('105', '20180814174748738821.png', '20180814174748738821.png', 'goods_category', '1893', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174748738821.png', '7c9e83c3405d040528fde44f972c3563e1c3b8c4320324d06bdf52a1a2cf97b5', '1561538565'), ('106', '20180814174757134754.png', '20180814174757134754.png', 'goods_category', '2352', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814174757134754.png', '777bc18045a9b3937f2a91faefd3053f772b7f7d9b0512079628042c6c578ab1', '1561538565'), ('107', '20180814180843848554.png', '20180814180843848554.png', 'goods_category', '82438', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180814180843848554.png', '986a4b4c84fd1d201db31192840ec4a767bd3b8b850e900048bae0df469f12c4', '1561538565'), ('108', '20180815182045222850.png', '20180815182045222850.png', 'goods_category', '78877', '.png', 'image', '/static/upload/images/goods_category/2018/08/20180815182045222850.png', '6ce5e3eefe7aae134405cdcaa2c7cfaf58edba778545de0254c64f5fa078ead5', '1561538565'), ('109', '2018112015245128143.jpeg', '2018112015245128143.jpeg', 'goods_category', '31282', '.jpeg', 'image', '/static/upload/images/goods_category/2018/11/20/2018112015245128143.jpeg', '12caf7a29697c489af832d1083120cca3d7266cd3859709836c5034db0c48143', '1561538565'), ('110', '2018112015252193663.jpeg', '2018112015252193663.jpeg', 'goods_category', '24188', '.jpeg', 'image', '/static/upload/images/goods_category/2018/11/20/2018112015252193663.jpeg', 'a11205863c0246630200dc4a4170370a1e715c18c4dbdd20090e12586d78c288', '1561538565'), ('111', '2018112015255390903.jpeg', '2018112015255390903.jpeg', 'goods_category', '28249', '.jpeg', 'image', '/static/upload/images/goods_category/2018/11/20/2018112015255390903.jpeg', 'df72b0fabda2e3e957c563a375489deb7958fb449dc2b5cb41d1400ad50d6c94', '1561538565'), ('112', '2018112015273175122.jpeg', '2018112015273175122.jpeg', 'goods_category', '15581', '.jpeg', 'image', '/static/upload/images/goods_category/2018/11/20/2018112015273175122.jpeg', '83381549505c2af2b2d5a5b16226823203a8f7fc309f4efd6c631fa56f4baed4', '1561538565'), ('113', '2018112015441996472.jpeg', '2018112015441996472.jpeg', 'goods_category', '23870', '.jpeg', 'image', '/static/upload/images/goods_category/2018/11/20/2018112015441996472.jpeg', '9ee98d2fcdc54627346522f8ec04f95adb4f93792bea8132f2cf8574ed0bcea7', '1561538565'), ('114', '20180810094402044087.jpeg', '20180810094402044087.jpeg', 'slide', '231768', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '52532cd66bc5249287e83c64e1e87b22e2dd079ad09a294c3e307b99d6d60c4d', '1561538565'), ('115', '20180810095910423687.jpeg', '20180810095910423687.jpeg', 'slide', '165464', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '37767d1e538e88529e31f8903ba3be76ee4a86b83431578901e3ca81b796ebef', '1561538565'), ('116', '20180810100811853567.jpeg', '20180810100811853567.jpeg', 'slide', '181952', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810100811853567.jpeg', 'd91794e11f3af96546b83fe495671f128daf2785f1078c37b4a522a8a6c99a7c', '1561538565'), ('117', '20180810101045451156.jpeg', '20180810101045451156.jpeg', 'slide', '208674', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810101045451156.jpeg', '4082eb4720e7b8a2023bde66a1392774a52ca95f73469504c9e37ff866590a39', '1561538565'), ('118', '20180810101106984022.jpeg', '20180810101106984022.jpeg', 'slide', '98192', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810101106984022.jpeg', '830adcae5b9bf36b6454c5e18d1db4b2b7a2e92f08cd3d280856139026f38f4d', '1561538565'), ('119', '20180810101154662873.jpeg', '20180810101154662873.jpeg', 'slide', '126780', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810101154662873.jpeg', '46dc694b4e529e3a2eaec3cde9f7e936ec1ca4c3b45d07dff18430f2fa8c97e3', '1561538565'), ('120', '20180810101224227323.jpeg', '20180810101224227323.jpeg', 'slide', '99619', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810101224227323.jpeg', 'e6e19ac0ed61b97a5353cc99839504b48a3318422a8dd1ec205d00bfa74c3a9c', '1561538565'), ('121', '20180810101305611263.jpeg', '20180810101305611263.jpeg', 'slide', '177630', '.jpeg', 'image', '/static/upload/images/slide/2018/08/20180810101305611263.jpeg', '552385fc97af0852266b7c1197a9f20d61f676fa8c7d3e248325e973974a4175', '1561538565'), ('123', '1562157390405145.png', '-收藏.png', 'app_center_nav', '4485', '.png', 'image', '/static/upload/images/app_center_nav/2019/07/03/1562157390405145.png', 'f2c623efc421e9a0a68edc118b57ec73108273677dfd469e93b77a8ca33070b8', '1562157390'), ('124', '1562157391428293.png', '问答-蓝.png', 'app_center_nav', '2033', '.png', 'image', '/static/upload/images/app_center_nav/2019/07/03/1562157391428293.png', 'e31e67a0765688899e4dcd75f446220091f766fdd65d4ba744aa38f1094ddf16', '1562157391'), ('125', '1562157391533252.png', '我的地址.png', 'app_center_nav', '4557', '.png', 'image', '/static/upload/images/app_center_nav/2019/07/03/1562157391533252.png', 'bf7baeff6f58676ae31afc579b1b904ed6f747101c84d883134789369a94db59', '1562157391'), ('127', '1562157391517979.png', '小折-分销.png', 'app_center_nav', '3468', '.png', 'image', '/static/upload/images/app_center_nav/2019/07/03/1562157391517979.png', '2811fe5fe831b8d65b9c3741c8ea1fffbfc4b2d80810abbba27fc3b42b4c75fb', '1562157391'), ('150', '1570284970709339.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.WFEQIJGNZsBF2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/05/1570284970709339.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570284971'), ('151', '1570285098111398.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.glYjIhmQKtsWbfa4c81c55f16114c6fe16a6f8da4c40.png', 'other', '1202666', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285098111398.png', 'd828ff70b41b36c0349d4f4be5dc980981c8aa08a5624fca561fa47f693bb0ee', '1570285099'), ('152', '1570285154972905.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.QrA3W4kkGrGW5236ec4b73dbac86b098e0ca5aa2410e.png', 'other', '1202317', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285154972905.png', '979138d91724d8ae15cf050b679cc87f993ba8ce87305e41ecdf06e97febb1cc', '1570285155'), ('153', '1570285168820217.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.YjuWW0JEHqXWbe0638d41778f51f4f4a1e324eb39213.png', 'other', '1201927', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285168820217.png', 'fb7d52724b0928d191d7eb94be6d2b10ca7c1ce76ea27d9d037ea3980ee019ce', '1570285169'), ('154', '1570285216802559.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.0WQlfznc1tH0be0638d41778f51f4f4a1e324eb39213.png', 'other', '1201927', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285216802559.png', 'fb7d52724b0928d191d7eb94be6d2b10ca7c1ce76ea27d9d037ea3980ee019ce', '1570285217'), ('155', '1570285283615841.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.nyxlZHrtsl9rcb21f94db28a0bb402c5ea634707b904.png', 'other', '1202439', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285283615841.png', 'e91083794b911eddacf35ac04240d543d169a314e9adab1e956d1e465a82f8a1', '1570285284'), ('156', '1570285322615671.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.BZCG3W5etViobfa4c81c55f16114c6fe16a6f8da4c40.png', 'other', '1202666', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285322615671.png', 'd828ff70b41b36c0349d4f4be5dc980981c8aa08a5624fca561fa47f693bb0ee', '1570285323'), ('157', '1570285549180598.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.HUSuBGWYZ4tT395e116ad6c8dae75dd761b6d08b5bb6.png', 'other', '1200662', '.png', 'image', '/static/upload/images/other/2019/10/05/1570285549180598.png', '8ecd60ee0fe0a9c7daf41b88c3cc5cd90f094fda5f368e6814202f41df7ac9b8', '1570285550'), ('158', '1570286700348538.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.4D7LnS7QQKlW2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286700348538.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570286701'), ('159', '1570286701715467.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.XHqnkK0oYMul83a94ed13db59a9c261752d667af580d.png', 'other', '1202470', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286701715467.png', '7acc06509e249cab2b3e0c674ac90c21aa55735b22d381aad6e327363aa262ab', '1570286702'), ('160', '1570286728483674.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.dF6JpJnn0jJ32b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286728483674.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570286729'), ('161', '1570286746357869.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.Qp5gypj2jVT02b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286746357869.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570286747'), ('162', '1570286747409462.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.VaxiDWheYQj72b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286747409462.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570286748'), ('163', '1570286748305818.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.AJbs2dHxyIj183a94ed13db59a9c261752d667af580d.png', 'other', '1202470', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286748305818.png', '7acc06509e249cab2b3e0c674ac90c21aa55735b22d381aad6e327363aa262ab', '1570286749'), ('164', '1570286831108162.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.KbgReHFpLl6Zcb21f94db28a0bb402c5ea634707b904.png', 'other', '1202439', '.png', 'image', '/static/upload/images/other/2019/10/05/1570286831108162.png', 'e91083794b911eddacf35ac04240d543d169a314e9adab1e956d1e465a82f8a1', '1570286832'), ('165', '1570329376677485.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.WkFDJiMween82344a27b46432fc793cd60dcc7590281.png', 'other', '1202164', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329376677485.png', 'bc4961c0948e5c6c722c8729954caec860cb479e4fb7821f525299ac3bd7fe77', '1570329377'), ('166', '1570329378749801.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.3ehC1mN0hsnJ2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329378749801.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570329378'), ('167', '1570329379418474.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.lxj2wD3Wbgrq2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329379418474.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570329379'), ('168', '1570329411757725.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.ifreTQJyYLVK2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329411757725.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570329411'), ('169', '1570329412276353.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.JeDthx8XhBiQ2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329412276353.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570329413'), ('170', '1570329413937542.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.DTBPpTGYLPWp83a94ed13db59a9c261752d667af580d.png', 'other', '1202470', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329413937542.png', '7acc06509e249cab2b3e0c674ac90c21aa55735b22d381aad6e327363aa262ab', '1570329413'), ('171', '1570329852928983.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.TIhfPdOizkW82b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329852928983.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570329853'), ('172', '1570329853618319.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.vrmKUiCRAI3J2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329853618319.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570329854'), ('173', '1570329854203809.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.aJqYNBuGuewp83a94ed13db59a9c261752d667af580d.png', 'other', '1202470', '.png', 'image', '/static/upload/images/other/2019/10/06/1570329854203809.png', '7acc06509e249cab2b3e0c674ac90c21aa55735b22d381aad6e327363aa262ab', '1570329855'), ('174', '1570330123714766.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.He7N7prPk8Ypcb21f94db28a0bb402c5ea634707b904.png', 'other', '1202439', '.png', 'image', '/static/upload/images/other/2019/10/06/1570330123714766.png', 'e91083794b911eddacf35ac04240d543d169a314e9adab1e956d1e465a82f8a1', '1570330123'), ('175', '1570330253446336.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.lxanxSDBGBJX31285967b0c13c39e0766f1f848f913e.png', 'other', '42795', '.png', 'image', '/static/upload/images/other/2019/10/06/1570330253446336.png', '112aa9e162c41acd0745a557d3f9fa105fcc5cb86aa2f7034dbc4201c19c72c9', '1570330253'), ('176', '1570330253584355.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.rceIzgrqjKLO2b93ddd01745882bb3b5f746d0e70799.png', 'other', '1202785', '.png', 'image', '/static/upload/images/other/2019/10/06/1570330253584355.png', '7c2de417bf3bb4fd3072b54ae9ce77a7175ba0d9e1b09eccedb31de9ac04a9b2', '1570330254'), ('177', '1570330254100220.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.y5B89hnWkTYm728b934a0989301d11e0bd46a6fb0f3b.png', 'other', '5149', '.png', 'image', '/static/upload/images/other/2019/10/06/1570330254100220.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570330254'), ('178', '1570330802911726.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.dxWypqw9NYdn6c14e751ccc2831bcec52abeff0b4872.jpg', 'other', '163254', '.jpg', 'image', '/static/upload/images/other/2019/10/06/1570330802911726.jpg', '509bc5da4c85bc87f40c5d2fc0a37f0683e8352225c195dd9f11b984882973c0', '1570330803'), ('179', '1570350915692847.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.IHLJ3aLLfhiA395e116ad6c8dae75dd761b6d08b5bb6.png', 'other', '1200662', '.png', 'image', '/static/upload/images/other/2019/10/06/1570350915692847.png', '8ecd60ee0fe0a9c7daf41b88c3cc5cd90f094fda5f368e6814202f41df7ac9b8', '1570350916'), ('180', '1570352835443866.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.I07bU2eBv2cl31285967b0c13c39e0766f1f848f913e.png', 'other', '42795', '.png', 'image', '/static/upload/images/other/2019/10/06/1570352835443866.png', '112aa9e162c41acd0745a557d3f9fa105fcc5cb86aa2f7034dbc4201c19c72c9', '1570352835'), ('181', '1570455405644987.png', 'upfileimage.png', 'other', '1201927', '.png', 'image', '/static/upload/images/other/2019/10/07/1570455405644987.png', 'fb7d52724b0928d191d7eb94be6d2b10ca7c1ce76ea27d9d037ea3980ee019ce', '1570455406'), ('182', '1570455450638775.png', 'upfileimage.png', 'other', '42795', '.png', 'image', '/static/upload/images/other/2019/10/07/1570455450638775.png', '112aa9e162c41acd0745a557d3f9fa105fcc5cb86aa2f7034dbc4201c19c72c9', '1570455450'), ('183', '1570455450925637.png', 'upfileimage.png', 'other', '1202711', '.png', 'image', '/static/upload/images/other/2019/10/07/1570455450925637.png', '76682e170d0d515834794c5deb113b32b7903ad9e72a21d4bd921a7c86324cc7', '1570455451'), ('184', '1570455452882312.png', 'upfileimage.png', 'other', '5149', '.png', 'image', '/static/upload/images/other/2019/10/07/1570455452882312.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570455452'), ('185', '1570691891701213.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.8v0r5tENr284728b934a0989301d11e0bd46a6fb0f3b.png', '[object Undefined]', '5149', '.png', 'image', '/static/upload/images/[object Undefined]/2019/10/10/1570691891701213.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570691891'), ('186', '1570692304448702.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.QRoSTtjw26KG728b934a0989301d11e0bd46a6fb0f3b.png', 'ordercomments-1-7', '5149', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692304448702.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570692304'), ('187', '1570692320341844.gif', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.gJ4oVkwQqWgG2d286fc12c69e4495921ea409e6f84af.gif', 'ordercomments-1-7', '28904', '.gif', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692320341844.gif', '0ed5a3b80b04b05ff43a0e8625dc82d84e2849e6afbe6c557fb7fb62afaf20d3', '1570692320'), ('188', '1570692325162143.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.DB2l0tYdd1Yqd973303b5cc32d97f1b28483dda0ebe4.png', 'ordercomments-1-7', '109964', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692325162143.png', 'ed5465c568b9d4a806bbcf68a18050373381b1e34e517ea04f76112540e83e36', '1570692325'), ('189', '1570692330239219.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.dtvK6ILnPigl728b934a0989301d11e0bd46a6fb0f3b.png', 'ordercomments-1-7', '5149', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692330239219.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570692330'), ('190', '1570692443913772.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.9vgvmWHQIV6z728b934a0989301d11e0bd46a6fb0f3b.png', 'ordercomments-1-7', '5149', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692443913772.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570692443'), ('191', '1570692443389686.gif', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.pQPhd4jfdUgu2d286fc12c69e4495921ea409e6f84af.gif', 'ordercomments-1-7', '28904', '.gif', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692443389686.gif', '0ed5a3b80b04b05ff43a0e8625dc82d84e2849e6afbe6c557fb7fb62afaf20d3', '1570692443'), ('192', '1570692443474897.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.XucvKt7Jr9sX8ee53465596e5e6fb296d72cf6178cf5.jpg', 'ordercomments-1-7', '26994', '.jpg', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692443474897.jpg', '01c46b360c27e32359ffca4a899fdc07f3bdb383f817251ec832ba3f16bf1d42', '1570692443'), ('193', '1570692527458348.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.u5YsAGOtyisK728b934a0989301d11e0bd46a6fb0f3b.png', 'ordercomments-1-7', '5149', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692527458348.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570692527'), ('194', '1570692527274594.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.R5Ns08Y92l4ae5ae51ee84bc5f8e8c6a86d8f20abe71.png', 'ordercomments-1-7', '221897', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692527274594.png', 'b4676fc6e7edf6a73346a25172aa17724cae42d49e2bd8df8348af7dd0781fbb', '1570692527'), ('195', '1570692527288407.gif', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.VXNFaSXgqvnj2d286fc12c69e4495921ea409e6f84af.gif', 'ordercomments-1-7', '28904', '.gif', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692527288407.gif', '0ed5a3b80b04b05ff43a0e8625dc82d84e2849e6afbe6c557fb7fb62afaf20d3', '1570692527'), ('196', '1570692540523473.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.mQ4ljXDXmiNTd973303b5cc32d97f1b28483dda0ebe4.png', 'ordercomments-1-7', '109964', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692540523473.png', 'ed5465c568b9d4a806bbcf68a18050373381b1e34e517ea04f76112540e83e36', '1570692540'), ('197', '1570692600807819.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.KktOhTM0OJ0W728b934a0989301d11e0bd46a6fb0f3b.png', 'ordercomments-1-7', '5149', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692600807819.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570692600'), ('198', '1570692600695839.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.3Dn8SwcPxpPLe5ae51ee84bc5f8e8c6a86d8f20abe71.png', 'ordercomments-1-7', '221897', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692600695839.png', 'b4676fc6e7edf6a73346a25172aa17724cae42d49e2bd8df8348af7dd0781fbb', '1570692600'), ('199', '1570692601562611.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.rIwNB3a98z8Ve5ae51ee84bc5f8e8c6a86d8f20abe71.png', 'ordercomments-1-7', '221897', '.png', 'image', '/static/upload/images/ordercomments/1/7/2019/10/10/1570692601562611.png', 'b4676fc6e7edf6a73346a25172aa17724cae42d49e2bd8df8348af7dd0781fbb', '1570692601'), ('200', '1570693792857783.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.nufK6L0UWUfm728b934a0989301d11e0bd46a6fb0f3b.png', 'order_comments-1-7', '5149', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570693792857783.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570693792'), ('201', '1570694617666498.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.VlAOjQ7s0Qwc728b934a0989301d11e0bd46a6fb0f3b.png', 'order_comments-1-7', '5149', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570694617666498.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570694617'), ('202', '1570694626124187.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.j4WRLBooEbZ4e5ae51ee84bc5f8e8c6a86d8f20abe71.png', 'order_comments-1-7', '221897', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570694626124187.png', 'b4676fc6e7edf6a73346a25172aa17724cae42d49e2bd8df8348af7dd0781fbb', '1570694627'), ('203', '1570697446541279.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.fv49GQzar28B728b934a0989301d11e0bd46a6fb0f3b.png', 'order_comments-1-7', '5149', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570697446541279.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570697446'), ('204', '1570697453453835.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.6yRu50RZBt1Se5ae51ee84bc5f8e8c6a86d8f20abe71.png', 'order_comments-1-7', '221897', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570697453453835.png', 'b4676fc6e7edf6a73346a25172aa17724cae42d49e2bd8df8348af7dd0781fbb', '1570697453'), ('205', '1570697453203656.gif', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.l4F3MNkVliWh2d286fc12c69e4495921ea409e6f84af.gif', 'order_comments-1-7', '28904', '.gif', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570697453203656.gif', '0ed5a3b80b04b05ff43a0e8625dc82d84e2849e6afbe6c557fb7fb62afaf20d3', '1570697453'), ('206', '1570702916533319.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.46FXFiLIdD5Q728b934a0989301d11e0bd46a6fb0f3b.png', 'order_comments-1-7', '5149', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702916533319.png', '46eb7fb3c564eb538e44953721e16cf79789e3bdd219135ecf807178bc7c629a', '1570702916'), ('207', '1570702916709831.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.vQUofwxcfq74e5ae51ee84bc5f8e8c6a86d8f20abe71.png', 'order_comments-1-7', '221897', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702916709831.png', 'b4676fc6e7edf6a73346a25172aa17724cae42d49e2bd8df8348af7dd0781fbb', '1570702916'), ('208', '1570702916591349.gif', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.ahQ5tKKgfYoZ2d286fc12c69e4495921ea409e6f84af.gif', 'order_comments-1-7', '28904', '.gif', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702916591349.gif', '0ed5a3b80b04b05ff43a0e8625dc82d84e2849e6afbe6c557fb7fb62afaf20d3', '1570702916'), ('209', '1570702936384539.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.1EJsNk2SrdCM2bc952f7ac920f85e4fb60f8db4f3898.jpg', 'order_comments-1-7', '156336', '.jpg', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702936384539.jpg', '509384cb35bba594d117296859bcb6cea1deb450780b7fd41c924a5492b6f761', '1570702936'), ('210', '1570702956237904.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.dWhaY5EEK55Ydc7e2a8c1ea58e56eb9cead0d4456585.png', 'order_comments-1-7', '29218', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702956237904.png', '08e7eac19a1514590d19f90ffb4e787738db2486d0552013f4792ac485bcff8b', '1570702956'), ('211', '1570702956731411.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.iZlIg9gOHmapa7f088b181ab6b773d471a583155831f.jpeg', 'order_comments-1-7', '29958', '.jpeg', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702956731411.jpeg', '67bc68db1eef830396d56682da3e29eec0936c0fa4f6796a9bf40811ad82c146', '1570702956'), ('212', '1570702956470458.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.NM2JJVRr45U329878588410c8b7b926a209010ba3dbf.png', 'order_comments-1-7', '31835', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570702956470458.png', 'b9e106897dfec223d4a3eaf3f23ecfe9b74bd7641785fae7e791bdfc97a73d9a', '1570702956'), ('213', '1570703548373676.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.AIWExFIJpXk11b968298a368f0cd12892f456666e490.jpeg', 'order_comments-1-7', '27889', '.jpeg', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570703548373676.jpeg', '96e9092a36891b0b99d2f5c4bfa1598aea358068f683b6dd3dc2f4df2361c835', '1570703548'), ('214', '1570703548845377.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.fPyZA2gduqMoeb06cbb2a78ec423f1c8a63e0fbc7536.jpeg', 'order_comments-1-7', '38172', '.jpeg', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570703548845377.jpeg', '687c2f492274137b8ba5a7593608bf5c5a84a4119ad290a840da7348d1f83aba', '1570703548'), ('215', '1570703549163223.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.CG3e7u2wgzCa20fca83353911330b9b10e19b42aa33e.jpeg', 'order_comments-1-7', '10832', '.jpeg', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570703549163223.jpeg', 'a5d4cffac3bbb3dd744c71b0a3aa822027996f75ff7bc61c91470d60f83654a9', '1570703549'), ('216', '1570703584324279.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.rmX1ZQ0rSQqd63664141a743259f26de2149d91f2372.png', 'order_comments-1-7', '73935', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570703584324279.png', '8577da07215355de64b288c7ede80ffbcec5ab4b3ca48b7272bfff8c188f4cfd', '1570703584'), ('217', '1570703595863317.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.XvYj36nW95c42e8e5930e670513023b5d9e9ca3fa6eb.png', 'order_comments-1-7', '51458', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570703595863317.png', 'cdcd5f36cbff5e475b7169809d8ac6af79f415c290e18d1c7f5a829f185a1b35', '1570703595'), ('218', '1570703601837771.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.YTOu5OFFOInx5bb8eb3aac93f9312d832c670cb02c57.png', 'order_comments-1-7', '58038', '.png', 'image', '/static/upload/images/order_comments/1/7/2019/10/10/1570703601837771.png', '3a07ab427a62ddd023b0e8d3de7d6a78184dee0b773a31080dd24d711bfbcc91', '1570703601'), ('219', '1570704500496947.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.oJahsVl7kGEX20fca83353911330b9b10e19b42aa33e.jpeg', 'order_comments-1-8', '10832', '.jpeg', 'image', '/static/upload/images/order_comments/1/8/2019/10/10/1570704500496947.jpeg', 'a5d4cffac3bbb3dd744c71b0a3aa822027996f75ff7bc61c91470d60f83654a9', '1570704500'), ('220', '1570704500929308.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.AaflR9npm3TQ96d3ee2802d16743556e44ad62f122d0.jpeg', 'order_comments-1-8', '9891', '.jpeg', 'image', '/static/upload/images/order_comments/1/8/2019/10/10/1570704500929308.jpeg', 'e0ac68e3e299c5758e7b50cfdd87dcfdf3629346cd3e57c4e97cb62369b42cb5', '1570704500'), ('221', '1570704505639644.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.EDmXUXIJtoQ02bd0d9d4b72114cfb49436eb08bb32c6.jpg', 'order_comments-1-8', '21935', '.jpg', 'image', '/static/upload/images/order_comments/1/8/2019/10/10/1570704505639644.jpg', '99d02159cfc25c2b4a075d44893db8f9d96f602dc4eb9f08acf3e7035bcc8b31', '1570704505'), ('222', '1570705883308238.png', 'upfileimage.png', 'order_comments-3-9', '17318', '.png', 'image', '/static/upload/images/order_comments/3/9/2019/10/10/1570705883308238.png', 'fe4eb2a92dd5680206843c9e531ebeec25861dfe9379df5c061da29c785eedb5', '1570705883'), ('223', '1570763107651615.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.rjzx0jmfmbo879945a7c963f31b336ab1c2ea2172f87.png', 'order_comments-1-11', '17318', '.png', 'image', '/static/upload/images/order_comments/1/11/2019/10/11/1570763107651615.png', 'fe4eb2a92dd5680206843c9e531ebeec25861dfe9379df5c061da29c785eedb5', '1570763107'), ('224', '1570763107406141.jpeg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.M2s7CA4qVrUteb06cbb2a78ec423f1c8a63e0fbc7536.jpeg', 'order_comments-1-11', '38172', '.jpeg', 'image', '/static/upload/images/order_comments/1/11/2019/10/11/1570763107406141.jpeg', '687c2f492274137b8ba5a7593608bf5c5a84a4119ad290a840da7348d1f83aba', '1570763107'), ('225', '1570763108767524.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.YnTK3P0oWNIp20b69b146b25bb2b1135d082cafb5a34.png', 'order_comments-1-11', '13964', '.png', 'image', '/static/upload/images/order_comments/1/11/2019/10/11/1570763108767524.png', '400f97305a1119fdc89da1d935f2dc0e50fad136bf96e8d28f238f3ed469056d', '1570763108'), ('226', '1570772994437393.jpeg', 'timg (2).jpeg', 'order_aftersale-1-11-24', '38172', '.jpeg', 'image', '/static/upload/images/order_aftersale/1/11/24/2019/10/11/1570772994437393.jpeg', '687c2f492274137b8ba5a7593608bf5c5a84a4119ad290a840da7348d1f83aba', '1570772994'), ('227', '1570772994486802.png', 'timg (2).png', 'order_aftersale-1-11-24', '13964', '.png', 'image', '/static/upload/images/order_aftersale/1/11/24/2019/10/11/1570772994486802.png', '400f97305a1119fdc89da1d935f2dc0e50fad136bf96e8d28f238f3ed469056d', '1570772994'), ('228', '1570772994244387.jpeg', 'timg (3).jpeg', 'order_aftersale-1-11-24', '10832', '.jpeg', 'image', '/static/upload/images/order_aftersale/1/11/24/2019/10/11/1570772994244387.jpeg', 'a5d4cffac3bbb3dd744c71b0a3aa822027996f75ff7bc61c91470d60f83654a9', '1570772994'), ('229', '1570772994535092.png', 'timg (3).png', 'order_aftersale-1-11-24', '29218', '.png', 'image', '/static/upload/images/order_aftersale/1/11/24/2019/10/11/1570772994535092.png', '08e7eac19a1514590d19f90ffb4e787738db2486d0552013f4792ac485bcff8b', '1570772994'), ('230', '1570772994480294.jpeg', 'timg (4).jpeg', 'order_aftersale-1-11-24', '29958', '.jpeg', 'image', '/static/upload/images/order_aftersale/1/11/24/2019/10/11/1570772994480294.jpeg', '67bc68db1eef830396d56682da3e29eec0936c0fa4f6796a9bf40811ad82c146', '1570772994'), ('231', '1570772995684156.png', 'timg (4).png', 'order_aftersale-1-11-24', '31835', '.png', 'image', '/static/upload/images/order_aftersale/1/11/24/2019/10/11/1570772995684156.png', 'b9e106897dfec223d4a3eaf3f23ecfe9b74bd7641785fae7e791bdfc97a73d9a', '1570772995'), ('232', '1570774938734955.png', 'timg (9).png', 'user_1', '55174', '.png', 'image', '/static/upload/images/user_1/2019/10/11/1570774938734955.png', '8c61eaf48a8ac74f4e9317570a2a8240fc8c455497447b150beb5e7c0c2edede', '1570774938'), ('233', '1570774938677313.png', 'timg (10).png', 'user_1', '66966', '.png', 'image', '/static/upload/images/user_1/2019/10/11/1570774938677313.png', 'd8e9e56cc386f8687e6d6019bb928f6bd1df831928eabde7fd15a5ae53ffd601', '1570774939'), ('234', '1570774939518369.png', 'timg.png', 'user_1', '22801', '.png', 'image', '/static/upload/images/user_1/2019/10/11/1570774939518369.png', 'edcff48fffe100e9f2fd2b9cd672d07386d21305c7af5e0617d74557fd11ee85', '1570774939'), ('235', '1570774939235208.jpg', 'u=1015484762,57073014&fm=26&gp=0.jpg', 'user_1', '16380', '.jpg', 'image', '/static/upload/images/user_1/2019/10/11/1570774939235208.jpg', '99b3ea1bd4c86816d7bdcb74f0d263aa8a7b920e703f8d40465755a5891e7962', '1570774939'), ('236', '1570778914437944.jpg', 'gong.gg.jpg', 'order_comments-1-10', '156336', '.jpg', 'image', '/static/upload/images/order_comments/1/10/2019/10/11/1570778914437944.jpg', '509384cb35bba594d117296859bcb6cea1deb450780b7fd41c924a5492b6f761', '1570778914'), ('237', '1570866418576652.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.22K17znmh2FZ15f29b2679d6147a9b203e00156a4579.jpg', 'order_comments-3-9', '31362', '.jpg', 'image', '/static/upload/images/order_comments/3/9/2019/10/12/1570866418576652.jpg', '8800adff879cb3a1a3d86a6efe81197ca6581d7681a337bdf452ea4e43bbc7e3', '1570866419'), ('238', '1570866681758342.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.vcFbVHcXfAZt48c1f3ad96529030b61a009b6ab1fdd3.png', 'order_aftersale-3-9-22', '6236', '.png', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570866681758342.png', 'c287d50bc117ca2db36f03b96af1ee92b8229494f154a0e79bfa3faf08989ea0', '1570866682'), ('239', '1570866740716472.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.IJRtwYtZLTjQ8e95cfec636b0674b450c8e16bf0bc57.png', 'order_aftersale-3-9-22', '2326', '.png', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570866740716472.png', '1deafc06be1ddf67bc9588845de977ccdaf0dac1e0d9091da1e8d4e9609e8171', '1570866740'), ('240', '1570866913969811.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.GF0c6hNY1rg08e95cfec636b0674b450c8e16bf0bc57.png', 'order_aftersale-3-9-22', '2326', '.png', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570866913969811.png', '1deafc06be1ddf67bc9588845de977ccdaf0dac1e0d9091da1e8d4e9609e8171', '1570866914'), ('241', '1570867007559698.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.aT78RnI4X3F4bb0a71559c71ce8c5c33816bd65c390f.png', 'order_aftersale-3-9-22', '72110', '.png', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570867007559698.png', '9eb4502390c13a25384daefcbc63e0648d60a5586f91ff976f01f08b2bf07932', '1570867007'), ('242', '1570867027263247.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.NAV56sFaamVv2bc952f7ac920f85e4fb60f8db4f3898.jpg', 'order_aftersale-3-9-22', '156336', '.jpg', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570867027263247.jpg', '509384cb35bba594d117296859bcb6cea1deb450780b7fd41c924a5492b6f761', '1570867027'), ('243', '1570867125482466.png', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.nFj0glzePeAHbb0a71559c71ce8c5c33816bd65c390f.png', 'order_aftersale-3-9-22', '72110', '.png', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570867125482466.png', '9eb4502390c13a25384daefcbc63e0648d60a5586f91ff976f01f08b2bf07932', '1570867125'), ('244', '1570867140332656.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.vLIox6flySS42bc952f7ac920f85e4fb60f8db4f3898.jpg', 'order_aftersale-3-9-22', '156336', '.jpg', 'image', '/static/upload/images/order_aftersale/3/9/22/2019/10/12/1570867140332656.jpg', '509384cb35bba594d117296859bcb6cea1deb450780b7fd41c924a5492b6f761', '1570867140'), ('245', '1570867165860508.jpg', 'wx0a2012ebad94beff.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.qwIfs01WMFGV2bc952f7ac920f85e4fb60f8db4f3898.jpg', 'order_aftersale-3-14-29', '156336', '.jpg', 'image', '/static/upload/images/order_aftersale/3/14/29/2019/10/12/1570867165860508.jpg', '509384cb35bba594d117296859bcb6cea1deb450780b7fd41c924a5492b6f761', '1570867165'), ('246', '1571231187362091.png', '优惠劵.png', 'app_center_nav', '3472', '.png', 'image', '/static/upload/images/app_center_nav/2019/10/16/1571231187362091.png', '775b2ebf349a94fddb90fd6b7f9b9bc5ed4a7099d5e676bef71c2f9aa3e03178', '1571231187'), ('247', '1571231655606153.png', '优惠劵 (1).png', 'app_nav', '1952', '.png', 'image', '/static/upload/images/app_nav/2019/10/16/1571231655606153.png', 'ff059091c4d7749f10d05905f6691ec79140474e187c64dc63b3ddbfb7bd7f8a', '1571231655'), ('248', '1572399570288407.jpg', '231c8e80a554c6923c882f717289d014.jpg', 'order_aftersale-1-12-25', '16283', '.jpg', 'image', '/static/upload/images/order_aftersale/1/12/25/2019/10/30/1572399570288407.jpg', 'c052542bb5eebdbde666365ec9d5084fc556d9e64f9cc70d4d1380851c80007c', '1572399571'), ('249', '1572932149956815.png', '我的订单.png', 'app_center_nav', '3097', '.png', 'image', '/static/upload/images/app_center_nav/2019/11/05/1572932149956815.png', 'c671163407ddc9bcf04d7ead288aa319f16a92b0e9f486b8072d8f3213da33b5', '1572932150'), ('260', '1555667271928933.jpg', '1555667271928933.jpg', 'plugins_share', '18206', '.jpg', 'image', '/static/upload/images/plugins_share/2019/04/19/1555667271928933.jpg', '5c8ae1c9d9a64a53e9cc51d24a8485def4f672c289361dad83c25a1075888d04', '1575857934'), ('265', '1576550117862718.jpg', '汇率.jpg', 'plugins_exchangerate', '27699', '.jpg', 'image', '/static/upload/images/plugins_exchangerate/2019/12/17/1576550117862718.jpg', 'fdb4412a58851e8f4a812317c98e3373d2f97773491cb5d4bf7427bac05d963c', '1576550117'), ('266', '1555984179784604.jpg', '1555984179784604.jpg', 'plugins_footercustomerservice', '2952', '.jpg', 'image', '/static/upload/images/plugins_footercustomerservice/2019/04/23/1555984179784604.jpg', 'c031cbf97ed0957c1161805b6fb08a510bc84f20b787facbae17dbc883e8fb6e', '1576577179'), ('267', '1555990891552781.png', '1555990891552781.png', 'plugins_footercustomerservice', '3813', '.png', 'image', '/static/upload/images/plugins_footercustomerservice/2019/04/23/1555990891552781.png', 'ccc0f41cb7532de198f153f108ac8358def77d127fba83e6c878b2fac95c5e46', '1576577179'), ('268', '1555990891594648.png', '1555990891594648.png', 'plugins_footercustomerservice', '4134', '.png', 'image', '/static/upload/images/plugins_footercustomerservice/2019/04/23/1555990891594648.png', '187aa352e5608d85b3956de7283a2b9e43da12a40c0c02803bda26be298e6430', '1576577179'), ('269', '1555990891827973.png', '1555990891827973.png', 'plugins_footercustomerservice', '4136', '.png', 'image', '/static/upload/images/plugins_footercustomerservice/2019/04/23/1555990891827973.png', '7f234ff5e7304d7c8424267bb0594598585bddfc52974ac340616094d21b507a', '1576577179'), ('270', '1555991139659862.png', '1555991139659862.png', 'plugins_footercustomerservice', '2705', '.png', 'image', '/static/upload/images/plugins_footercustomerservice/2019/04/23/1555991139659862.png', '695eae5ce41f41ba90cab1834e2c1286c402dfc7e2fa23c2b00c384945e71a87', '1576577179'), ('272', '1556447296647734.jpg', '1556447296647734.jpg', 'plugins_wallet', '2857', '.jpg', 'image', '/static/upload/images/plugins_wallet/2019/04/28/1556447296647734.jpg', 'bda9457d684b0a364c87c5217ab72cabdbd6f75ffc9448028a64a8ea8fc6232c', '1576674087'), ('283', '201911121833401.png', '201911121833401.png', 'plugins_membershiplevelvip', '501', '.png', 'image', '/static/upload/images/plugins_membershiplevelvip/qrcode/2019/11/12/201911121833401.png', '934d378b841e2d099b0c2ec3d377515216a4441618cec4ec9503447e264c003c', '1577961041'), ('284', '1556163954923228.jpg', '1556163954923228.jpg', 'plugins_membershiplevelvip', '2167', '.jpg', 'image', '/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg', 'e5ddf93e05bee07d40a706a4febf5b1b8e560a0e7afc095360ab36a4d4134162', '1577961041'), ('285', '201911181826062.png', '201911181826062.png', 'plugins_distribution', '498', '.png', 'image', '/static/upload/images/plugins_distribution/qrcode/2019/11/18/201911181826062.png', '81a45a71ee5cd813dcb4ff899ad10af71762b14d8333df419a027bfcde6f0328', '1577961054'), ('286', '201911271020194.png', '201911271020194.png', 'plugins_distribution', '491', '.png', 'image', '/static/upload/images/plugins_distribution/qrcode/2019/11/27/201911271020194.png', '9118a6b3c022e1b967b22bd47cab96946f4bc8f3fa3c356baf21acf6d264551e', '1577961054'), ('287', '201911121833401.png', '201911121833401.png', 'plugins_distribution', '522', '.png', 'image', '/static/upload/images/plugins_distribution/qrcode/2019/11/12/201911121833401.png', 'b84d450b435bd2661b0c61dd11715d67c1360d195a361a7ff3cb2391308b43c6', '1577961054'), ('288', '2019062914381421.png', '2019062914381421.png', 'plugins_distribution', '497', '.png', 'image', '/static/upload/images/plugins_distribution/qrcode/2019/06/29/2019062914381421.png', '2a1826fdc7ae81da47de90ec8df9fecea3a48c45e593d9c68cab0cc0fbdf39da', '1577961054'); -INSERT INTO `s_attachment` VALUES ('289', '1559569612474606.jpg', '1559569612474606.jpg', 'plugins_distribution', '6726', '.jpg', 'image', '/static/upload/images/plugins_distribution/2019/06/03/1559569612474606.jpg', 'c0559e742c57fc755306390f6f3477ba8f22f6cf2e58ddf89778ae872a53c679', '1577961054'), ('290', '1565002681206967.jpg', '1565002681206967.jpg', 'plugins_coupon', '9425', '.jpg', 'image', '/static/upload/images/plugins_coupon/2019/08/05/1565002681206967.jpg', 'ef57c1b8b004e1f1adc9b2ce551f60aab59ade0fe1f5c9c472c1a4840132e12e', '1577965122'), ('291', '1565509481242251.jpg', '1565509481242251.jpg', 'plugins_coupon', '116787', '.jpg', 'image', '/static/upload/images/plugins_coupon/2019/08/11/1565509481242251.jpg', 'd5db8516c9e1d282951d2538d6d3abdae7c9181de19ee20ad551a842df26cfb8', '1577965122'), ('292', '1558681549248354.jpg', '1558681549248354.jpg', 'plugins_weixinwebauthorization', '8946', '.jpg', 'image', '/static/upload/images/plugins_weixinwebauthorization/2019/05/24/1558681549248354.jpg', 'fb398ae93f8d36c2a5aca0a432dc62cd852803ed16bdacc8f145259cd5392ff5', '1578019515'), ('293', '1553504252784908.jpg', '1553504252784908.jpg', 'plugins_limitedtimediscount', '35934', '.jpg', 'image', '/static/upload/images/plugins_limitedtimediscount/2019/03/25/1553504252784908.jpg', '9c62eafc7ad3b12046945cde6170de20194822eab9520f0c6c6314cdc6abf0bd', '1578048261'), ('294', '1553492985976117.jpg', '1553492985976117.jpg', 'plugins_limitedtimediscount', '3271', '.jpg', 'image', '/static/upload/images/plugins_limitedtimediscount/2019/03/25/1553492985976117.jpg', 'a1de42e0f55485244f68085a49bc2b8705f92fa81eac69525259158953cba9ba', '1578048261'), ('295', '1553503593748808.jpg', '1553503593748808.jpg', 'plugins_limitedtimediscount', '27451', '.jpg', 'image', '/static/upload/images/plugins_limitedtimediscount/2019/03/25/1553503593748808.jpg', '69131b77b490728b0d9545775855147bdf3a7bab30bf2f2aaeaa39d2f8f2a456', '1578048261'), ('296', '1578909403334572.png', '虚拟股.png', 'plugins_fictitioussecretkey', '4196', '.png', 'image', '/static/upload/images/plugins_fictitioussecretkey/2020/01/13/1578909403334572.png', '6c4549d63def350e4f9892ada16978eccc81db21cb11b1cc60108d7ccfca8647', '1578909403'), ('297', '1579429282323325.jpg', '未标题-1-444.jpg', 'plugins_multilingual', '24656', '.jpg', 'image', '/static/upload/images/plugins_multilingual/2020/01/19/1579429282323325.jpg', '1baf6d1013be3ffd6df8b565beed9ebfb81a18d042f8b2f6c304056c74fc84aa', '1579429282'), ('298', '1569321627292423.jpg', '1569321627292423.jpg', 'plugins_quotation', '7681', '.jpg', 'image', '/static/upload/images/plugins_quotation/2019/09/24/1569321627292423.jpg', 'be68cc1c9eee63f84c66e3af91476e9e94f74d14c2ea047be3e5ca65cf87cfda', '1580471315'), ('299', '1580558490671574.png', '钱包.png', 'app_center_nav', '2953', '.png', 'image', '/static/upload/images/app_center_nav/2020/02/01/1580558490671574.png', 'c13566205e8a1fe0472abd150f84507b45b01fc3e7cc58a6c30d1782cc642c2e', '1580558490'), ('300', '1580558516351420.png', '会员.png', 'app_center_nav', '3002', '.png', 'image', '/static/upload/images/app_center_nav/2020/02/01/1580558516351420.png', 'b04cc8fad2bd975c824e3392cc1c022051fdcfef3a41286ff145735e068cb7cc', '1580558516'), ('301', '1561276914760463.jpg', '1561276914760463.jpg', 'plugins_goodsphototag', '8203', '.jpg', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561276914760463.jpg', '2cde8f70bddf26d22e819414d56f72c04400e7757cb6528756359b900f93f969', '1580633004'), ('302', '1561286848134554.png', '1561286848134554.png', 'plugins_goodsphototag', '3212', '.png', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561286848134554.png', 'c260ad4fd57c6d32de12e112a05c663e030b26e7ad502f98af6c729bab19a140', '1580633004'), ('303', '1561283545412820.png', '1561283545412820.png', 'plugins_goodsphototag', '9687', '.png', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561283545412820.png', 'ddfa9fb1acb3bd45636b42d66d4a9e8bbfa2b1a03280d2639b71c50e6597a675', '1580633004'), ('304', '1561287157131927.png', '1561287157131927.png', 'plugins_goodsphototag', '2873', '.png', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561287157131927.png', 'bae64b97fff56fac938b483280f08f60c72c4aac397ab325c438cfcc5aaffcca', '1580633004'), ('305', '1561268005795322.jpg', '1561268005795322.jpg', 'plugins_popupscreen', '8608', '.jpg', 'image', '/static/upload/images/plugins_popupscreen/2019/06/23/1561268005795322.jpg', 'dca4f362cdeff92676b6b0c60b80296218b6a855647bc006f128b4c78e2d7593', '1580639975'), ('306', '1561271276358867.png', '1561271276358867.png', 'plugins_popupscreen', '96384', '.png', 'image', '/static/upload/images/plugins_popupscreen/2019/06/23/1561271276358867.png', '73dd7b7192b5a850bc5458f0ad27dd1e0632d47ff9fea2cc6cbb6f7a6673c0eb', '1580639975'), ('308', '1553483752670109.jpg', '1553483752670109.jpg', 'plugins_newuserreduction', '3535', '.jpg', 'image', '/static/upload/images/plugins_newuserreduction/2019/03/25/1553483752670109.jpg', '423caed9bc39043425faf58131dab6e1f5878e051b7d78fc539b4927e7c16a8b', '1580796461'), ('309', '1552894366387964.jpg', '1552894366387964.jpg', 'plugins_freightfee', '3370', '.jpg', 'image', '/static/upload/images/plugins_freightfee/2019/03/18/1552894366387964.jpg', '5b3ba4e65b68429438146c6630c39dbaf9c7ec7f632824481785253a6bd46d08', '1580796474'), ('310', '1551184745400164.jpg', '1551184745400164.jpg', 'plugins_usernotloginhidegoodsprice', '24654', '.jpg', 'image', '/static/upload/images/plugins_usernotloginhidegoodsprice/2019/02/26/1551184745400164.jpg', '587e8f0f442e6bfe06e696f6e76d58ab0641a1beb72137cae1bcfa056ae40948', '1580796617'), ('312', '1550222872753553.jpg', '1550222872753553.jpg', 'plugins_commonrightnavigation', '23182', '.jpg', 'image', '/static/upload/images/plugins_commonrightnavigation/2019/02/15/1550222872753553.jpg', 'a6d2c0315e4abf5e6f192e0a0ad16500a8a2b85f48c6952c92f1be8555abbf71', '1580796666'), ('313', '1581062647691709.jpg', '1581062647691709.jpg', 'plugins_deliverynotice', '29635', '.jpg', 'image', '/static/upload/images/plugins_deliverynotice/2020/02/07/1581062647691709.jpg', 'a1b05f9d1d66189466b35fe31f72ea0a4ef8be271b423f7d7bd492cdcd2cad08', '1581248975'), ('314', '1581417689141115.jpg', '未标题-1.jpg', 'plugins_ordersubmitlimit', '16392', '.jpg', 'image', '/static/upload/images/plugins_ordersubmitlimit/2020/02/11/1581417689141115.jpg', 'd1337d47e6d3339065422ab05d083f0a9f5ca8955bebbfa45ef4e38ec78429a8', '1581417689'), ('315', '1581556604785504.jpg', '未标题-1-2.jpg', 'plugins_orderexportprint', '18065', '.jpg', 'image', '/static/upload/images/plugins_orderexportprint/2020/02/13/1581556604785504.jpg', 'e73c1c33b483f7c60a635779b8261ee97385f17a01a9279332414e02a2347bf1', '1581556604'), ('316', '1581593975362864.jpg', 'fx.jpg', 'plugins_excellentbuyreturntocash', '17569', '.jpg', 'image', '/static/upload/images/plugins_excellentbuyreturntocash/2020/02/13/1581593975362864.jpg', 'b9b5aa05492bc54c4f8a2ef4d4952038dff63975da3ea9260cb7469097c00f36', '1581593975'), ('318', '1550393245526672.jpg', '1550393245526672.jpg', 'plugins_commononlineservice', '25425', '.jpg', 'image', '/static/upload/images/plugins_commononlineservice/2019/02/17/1550393245526672.jpg', '1a253f4cba32e1d78b54f4ba5c3d086c3616904f56600c572b5c563a4455f504', '1582419694'), ('327', '1583313630553732.png', 'scrawl.png', 'goods', '2136', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583313630553732.png', '20cb84b03eb9011885280d71c51139e0ef2ea4630341ee3a2c9edb0726e8e38f', '1583313630'), ('332', '1583314539554478.png', 'scrawl.png', 'goods', '2868', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583314539554478.png', '968328390790e4ec7bc618e2a39fd9c050aa7c4c7c1fc1fdd559b0f22f38074a', '1583314539'), ('333', '1583314949532131.png', 'scrawl.png', 'goods', '2335', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583314949532131.png', 'cae74176ca42d78aa8a1216bdb44ea4ab1d72dcde63cafe098cd49085d59a740', '1583314949'), ('334', '1583314987578904.png', 'scrawl.png', 'goods', '5837', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583314987578904.png', '139706181312693fe2dfe2f3f623f770e319036508f2030863ceafbdb1562288', '1583314987'), ('340', '1583316039554471.png', 'scrawl.png', 'goods', '9585', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583316039554471.png', '1b330e06b9598701f9fe0a59ff347027eda4d0f62830292e9557aa4c8c5f8a62', '1583316039'), ('345', '1583317234108125.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234108125.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317234'), ('346', '1583317234497197.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234497197.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317234'), ('347', '1583317234364976.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234364976.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317234'), ('348', '1583317234955310.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234955310.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317234'), ('349', '1583317236458174.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317236458174.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317236'), ('350', '1583317569245732.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317569245732.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317569'), ('351', '1583317570908798.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317570908798.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317570'), ('352', '1583317570667334.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317570667334.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317570'), ('353', '1583317571385215.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317571385215.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317571'), ('354', '1583317571182621.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317571182621.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317571'), ('355', '1583317624291134.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317624291134.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317624'), ('356', '1583317625556583.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317625556583.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317625'), ('357', '1583317626279574.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317626279574.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317626'), ('358', '1583317628280648.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317628280648.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317628'), ('359', '1583317628536877.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317628536877.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317628'), ('360', '1583317638754738.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317638754738.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317638'), ('361', '1583317638621957.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317638621957.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317638'), ('362', '1583317638923423.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317638923423.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317638'), ('363', '1583317639187354.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317639187354.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317639'), ('364', '1583317639365402.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317639365402.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317639'), ('365', '1583317795157166.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317795157166.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317795'), ('366', '1583317796211536.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317796211536.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317796'), ('367', '1583317796556241.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317796556241.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317796'), ('368', '1583317796171190.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317796171190.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317796'), ('369', '1583317797205191.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317797205191.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317797'), ('370', '1583317847421405.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317847421405.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317847'), ('371', '1583317848557672.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848557672.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317848'), ('372', '1583317848447412.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848447412.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317848'), ('373', '1583317848573836.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848573836.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317848'), ('374', '1583317848363529.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848363529.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317848'), ('375', '1583318099286981.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318099286981.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318099'), ('376', '1583318100140738.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100140738.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318100'), ('377', '1583318100898536.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100898536.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318100'), ('378', '1583318100219807.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100219807.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318100'), ('379', '1583318100221810.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100221810.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318100'), ('380', '1583318101886008.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101886008.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318101'), ('381', '1583318101681124.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101681124.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318101'), ('382', '1583318101182200.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101182200.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318101'), ('383', '1583318101546850.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101546850.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318101'), ('384', '1583318102496440.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318102496440.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318102'), ('385', '1583318178302724.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318178302724.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318178'), ('386', '1583318178792222.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318178792222.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318178'), ('387', '1583318180252245.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318180252245.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318180'), ('388', '1583318181213129.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318181213129.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318181'), ('389', '1583318182563354.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318182563354.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318182'), ('390', '1583318462545659.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318462545659.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318462'), ('391', '1583318463404324.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463404324.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318463'), ('392', '1583318463413012.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463413012.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318463'), ('393', '1583318463850619.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463850619.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318463'), ('394', '1583318463643258.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463643258.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318463'), ('398', '1583374531934359.jpeg', '200x200.jpeg', 'goods', '10852', '.jpeg', 'image', '/static/upload/images/goods/2020/03/05/1583374531934359.jpeg', 'c55699daf0c56a2dccfd73faf947c4441ec5bdca5aaf9e197d467469b424868a', '1583374531'), ('401', '1584113864210485.jpg', '未标题-1.jpg', 'plugins_orderremind', '23145', '.jpg', 'image', '/static/upload/images/plugins_orderremind/2020/03/13/1584113864210485.jpg', '0c60c54b940d5953d3a48849a8fec4f50aa786517677df3984bc80c237a32604', '1584113864'), ('402', '1584236319707716.jpg', '批量.jpg', 'plugins_speedplaceorder', '18758', '.jpg', 'image', '/static/upload/images/plugins_speedplaceorder/2020/03/15/1584236319707716.jpg', '197fea066d5903f7c13b4d439b5012b9923ec15e37d87b49248101547ab57e66', '1584236319'), ('403', '1552656656517586.jpg', '1552656656517586.jpg', 'plugins_touristbuy', '2838', '.jpg', 'image', '/static/upload/images/plugins_touristbuy/2019/03/15/1552656656517586.jpg', '279614aa10633bd37f184f083aa1d1894ac1e1eb4a42d00b1fa4e1229943e541', '1584668650'), ('404', '1578877131390825.jpg', '1578877131390825.jpg', 'plugins_neworderemail', '95701', '.jpg', 'image', '/static/upload/images/plugins_neworderemail/2020/01/13/1578877131390825.jpg', '2f371481a9b89a98c9c5ae35f86881d62e6ba5a305c47a300d3ac1bbc1c19b4d', '1585795342'), ('405', '1585909554964465.jpg', '未标题-1.jpg', 'plugins_mourning', '19098', '.jpg', 'image', '/static/upload/images/plugins_mourning/2020/04/03/1585909554964465.jpg', '40b2edf9d8cf97e015602248cd8502e70e76fc83d6164f936514257927487e84', '1585909554'), ('406', '1586853656148687.jpg', 'a-zb.jpg', 'plugins_weixinliveplayer', '21323', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/2020/04/14/1586853656148687.jpg', '3e044efd6477b7c3659ec9e553f24d21ff415c9f2c07066f52b9360ce91b941e', '1586853656'), ('451', '1587131065524716.jpg', 'abb.jpg', 'plugins_weixinliveplayer', '78254', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/2020/04/17/1587131065524716.jpg', 'e57bb7aaa9417f7fc7a2ebde60549ec55c0eca90e3e006f0e7f8fa855673191a', '1587131065'), ('470', '1587304154495133.png', '直播 (1).png', 'app_nav', '1546', '.png', 'image', '/static/upload/images/app_nav/2020/04/19/1587304154495133.png', 'd791343787f2bb54e6e66d29eb4d256bec37f18b0a2ac9c9ab8246af73723304', '1587304154'), ('489', '1581674813912789.jpg', '1581674813912789.jpg', 'plugins_orderpricerevision', '6542', '.jpg', 'image', '/static/upload/images/plugins_orderpricerevision/2020/02/14/1581674813912789.jpg', 'aa6f8046c1643a93c48a13952be2452047401a477df0ff9e755100050e6250ad', '1587442866'), ('490', '1591605307539422.png', '火狐截图_2020-05-20T14-26-39.223Z.png', 'order_aftersale-1-3-5', '490593', '.png', 'image', '/static/upload/images/order_aftersale/1/3/5/2020/06/08/1591605307539422.png', 'f658b05a13730b3b47bbc2dc4fab597c1aea827ac59184f1a408bbc94dfbe3ab', '1591605307'), ('491', '1591605307962868.png', '商店.png', 'order_aftersale-1-3-5', '2999', '.png', 'image', '/static/upload/images/order_aftersale/1/3/5/2020/06/08/1591605307962868.png', '9294a26fac4ada6209a1a16dfeb88ceb40538e73e2fc1f0fee9dca166101b9e0', '1591605307'), ('492', '1591605307490461.jpg', '下载.jpg', 'order_aftersale-1-3-5', '130527', '.jpg', 'image', '/static/upload/images/order_aftersale/1/3/5/2020/06/08/1591605307490461.jpg', '6d717ed67f4025eeb2ab4297c5b491eef9f4d0bc97bf5a596b23cee4a0dd5dbf', '1591605307'), ('494', '1550151082834629.jpg', '1550151082834629.jpg', 'plugins_userloginrewardintegral', '26772', '.jpg', 'image', '/static/upload/images/plugins_userloginrewardintegral/2019/02/14/1550151082834629.jpg', '777eb58d5238ff8801981e336766f2a8ed15712d524282f2ac4c385ec307623b', '1593394903'), ('495', '1551940310193935.jpg', '1551940310193935.jpg', 'plugins_answers', '27881', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551940310193935.jpg', 'fb6cc77fde56427b79ce0c1be9db7758f4e36362d83607ccfba8f0a5a0473d5b', '1593504586'), ('496', '1551940388179648.jpg', '1551940388179648.jpg', 'plugins_answers', '28201', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551940388179648.jpg', '760c20428d89b8c218874a4749f7ed93caf7d299ae05bc01598918e74e5a17a5', '1593504586'), ('497', '1551942704326624.jpg', '1551942704326624.jpg', 'plugins_answers', '23523', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551942704326624.jpg', '53434eb6bd366b56a761dd2cff36cbcebd7120b920fe7747185ad5f875ecd481', '1593504586'), ('498', '1551940388704924.jpg', '1551940388704924.jpg', 'plugins_answers', '36914', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551940388704924.jpg', '956586978204bb87d703ddbf90348a05c7b44ae70f53a4bb2df24d6f7804e633', '1593504586'), ('499', '1551853529634743.jpg', '1551853529634743.jpg', 'plugins_answers', '19705', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/06/1551853529634743.jpg', '59c5051bb8f293faa295f78b8938283261da83c4ea546e204c45b20d69c3098e', '1593504586'), ('500', '1552463137211834.png', '1552463137211834.png', 'plugins_answers', '48751', '.png', 'image', '/static/upload/images/plugins_answers/2019/03/13/1552463137211834.png', '986890c1fd2017b464dc64a0e30126f72f15870118c4e4a1aab6d533a91fc80d', '1593504586'), ('501', '1593862101704965.jpg', 'a-s.jpg', 'plugins_shop', '15934', '.jpg', 'image', '/static/upload/images/plugins_shop/2020/07/04/1593862101704965.jpg', 'd03bf56572416713d82356b9267cde607fde48ab5e882d76d1cba73473971346', '1593862101'), ('503', '202008082207244168318832.jpg', '202008082207244168318832.jpg', 'plugins_weixinliveplayer-liveplayer', '58296', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207244168318832.jpg', '3875a69ee8bc63799a09b136c3b1984fd7d13167ebfc410812482a3cbb7461df', '1596895644'), ('504', '202008082207249553428172.jpg', '202008082207249553428172.jpg', 'plugins_weixinliveplayer-liveplayer', '34575', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207249553428172.jpg', '2100c96c788d4f93f7b36e738c0be9789d4650091c2f3cab7fab34eb7714eb6f', '1596895644'), ('505', '202008082207271230033361.jpg', '202008082207271230033361.jpg', 'plugins_weixinliveplayer-liveplayer', '34575', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207271230033361.jpg', '2100c96c788d4f93f7b36e738c0be9789d4650091c2f3cab7fab34eb7714eb6f', '1596895648'), ('506', '202008082207281642036869.jpg', '202008082207281642036869.jpg', 'plugins_weixinliveplayer-liveplayer', '9608', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207281642036869.jpg', '86a18e49a19969be444febff6afe6337787d4a804e1c6747fea7a3dd00c2d057', '1596895648'), ('507', '20200808220728797782257.jpg', '20200808220728797782257.jpg', 'plugins_weixinliveplayer-liveplayer', '61629', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/20200808220728797782257.jpg', '81a6145d5f571d104b669f3097fb4ae2ab47e10ce22f61771e0f6be5b605a116', '1596895648'), ('508', '20200808220728910817555.jpg', '20200808220728910817555.jpg', 'plugins_weixinliveplayer-liveplayer', '24802', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/20200808220728910817555.jpg', 'b0d57f60dc39339430ff12e3aae9d216588d3709f6d99464f653e812a2cb3d24', '1596895649'), ('509', '1552286675575734.png', '1552286675575734.png', 'plugins_expressforkdn', '17303', '.png', 'image', '/static/upload/images/plugins_expressforkdn/2019/03/11/1552286675575734.png', '6c6f0d147f84233d23ade3f32eaf4c6b6525a24e4015fb9e8b480d643bcd47bb', '1597727291'), ('510', '1598708276130441.jpg', '714x350.jpg', 'article', '83827', '.jpg', 'image', '/static/upload/images/article/2020/08/29/1598708276130441.jpg', '99ef58e5fcd2545b0e7828881a87b1beb187bc97037b71c44d9383dc899038ee', '1598708276'), ('511', '1599228052596982.jpg', 'goods-all.jpg', 'plugins_goodsalledit', '53002', '.jpg', 'image', '/static/upload/images/plugins_goodsalledit/2020/09/04/1599228052596982.jpg', 'fb9e38d33a4ae9bd79bbc1aa8567cabf1bdbf17095c73909fda8e5b4ca77244c', '1599228052'), ('512', '1599806728463641.png', '2018111915461980516.png', 'quick_nav', '730', '.png', 'image', '/static/upload/images/quick_nav/2020/09/11/1599806728463641.png', '52eff07577a7e548179b431713510293e84f28a7de1730f77a6b1bdec3732813', '1599806728'), ('514', '1599808001838784.png', '2018111915482687655.png', 'quick_nav', '1430', '.png', 'image', '/static/upload/images/quick_nav/2020/09/11/1599808001838784.png', '86a1e78258600f4bdb822c993025e38daf1bcf06552e4d48a9c93350cbf2a4d8', '1599808001'), ('518', '1600321639662998.png', '位置.png', 'quick_nav', '3573', '.png', 'image', '/static/upload/images/quick_nav/2020/09/17/1600321639662998.png', 'a64df8d480c7d0bc47dd5cc0dd59ebf4cd09e833ce80802d857f51c857b76686', '1600321639'), ('519', '1600322667732829.png', '电话.png', 'quick_nav', '3842', '.png', 'image', '/static/upload/images/quick_nav/2020/09/17/1600322667732829.png', 'a1038b6b9a2b2a1fee13d306b07f6d44a897911f5f314f1259aa9dba5090c3c7', '1600322667'), ('520', '1601304530704177.jpg', 'blog.jpg', 'plugins_blog', '27206', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/28/1601304530704177.jpg', '52b270cf1552b6873721e3e193f9498e9061088f3dfd9b4f48d4f9ad0e149dea', '1601304530'), ('522', '1601448516253404.jpg', '1551940388704924.jpg', 'plugins_blog', '36914', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601448516253404.jpg', 'a11ce99a33e551937c50787e7380309863ef1229684b5e8c3fd6e47af3ce490c', '1601448516'), ('523', '1601448578727710.jpg', '1551940388179648.jpg', 'plugins_blog', '28201', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601448578727710.jpg', '1f145780425af1c9f7f37ad49bd0403424ba326ea2c147f41a1f816b7d504246', '1601448578'), ('524', '1601454062139210.jpg', '096C36D9-600D-4656-8068-95076FC4DE1E.jpg', 'plugins_blog', '13256', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454062139210.jpg', '9a2890f72ce3f85b0e13677134a8c642831cf06b7dc1f7a50d7a3c1980c223f3', '1601454062'), ('526', '1601454373163030.jpg', 'color.jpg', 'plugins_blog', '18795', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454373163030.jpg', '2e2df01b8dbe6db189b37d97754395180b9a63d2ab655e35b29d554ebb6133c3', '1601454373'), ('527', '1601454508651605.jpg', '1548309339-docker.jpg', 'plugins_blog', '14179', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454508651605.jpg', '63820b8d0658c5ba30e204893dad7d1c809d5b995842fd5eb90357b0622e2b11', '1601454508'), ('528', '1601454592334389.jpg', 'baidu.jpg', 'plugins_blog', '52689', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454592334389.jpg', 'e204683fefd1b1a465b1cadb7c8788398d39e00a4e1e3d861a05a3d07b042ea0', '1601454592'), ('529', '1601454812814385.png', '1555067691-code.png', 'plugins_blog', '60491', '.png', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454812814385.png', 'a50444dc89f13d3989eb1c696b70b66e1b5941cfe4d23342d484ef152f48a75f', '1601454812'), ('530', '1601454884322997.png', 'web1.png', 'plugins_blog', '20562', '.png', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454884322997.png', '460446e607a8cd4ea0dfd1a2f78ff2852d9108fa8635585bf1c5221ae266b029', '1601454884'), ('539', '1602558277425213.jpg', '龚福祥-身份证-正面.jpg', 'user_address-1', '302349', '.jpg', 'image', '/static/upload/images/user_address/1/2020/10/13/1602558277425213.jpg', 'cbdcac76b5816fc82d4d3c20c55ab104eb07bfa1a4465e53456cd3c01b9aa0c7', '1602558277'), ('540', '1602558287496754.jpg', '龚福祥-身份证-背面.jpg', 'user_address-1', '347560', '.jpg', 'image', '/static/upload/images/user_address/1/2020/10/13/1602558287496754.jpg', '494dfe01a17900155aa45e5f3149ab17e9d2875865cf22e671f5047eacaed519', '1602558287'); +INSERT INTO `s_attachment` VALUES ('289', '1559569612474606.jpg', '1559569612474606.jpg', 'plugins_distribution', '6726', '.jpg', 'image', '/static/upload/images/plugins_distribution/2019/06/03/1559569612474606.jpg', 'c0559e742c57fc755306390f6f3477ba8f22f6cf2e58ddf89778ae872a53c679', '1577961054'), ('290', '1565002681206967.jpg', '1565002681206967.jpg', 'plugins_coupon', '9425', '.jpg', 'image', '/static/upload/images/plugins_coupon/2019/08/05/1565002681206967.jpg', 'ef57c1b8b004e1f1adc9b2ce551f60aab59ade0fe1f5c9c472c1a4840132e12e', '1577965122'), ('291', '1565509481242251.jpg', '1565509481242251.jpg', 'plugins_coupon', '116787', '.jpg', 'image', '/static/upload/images/plugins_coupon/2019/08/11/1565509481242251.jpg', 'd5db8516c9e1d282951d2538d6d3abdae7c9181de19ee20ad551a842df26cfb8', '1577965122'), ('292', '1558681549248354.jpg', '1558681549248354.jpg', 'plugins_weixinwebauthorization', '8946', '.jpg', 'image', '/static/upload/images/plugins_weixinwebauthorization/2019/05/24/1558681549248354.jpg', 'fb398ae93f8d36c2a5aca0a432dc62cd852803ed16bdacc8f145259cd5392ff5', '1578019515'), ('293', '1553504252784908.jpg', '1553504252784908.jpg', 'plugins_limitedtimediscount', '35934', '.jpg', 'image', '/static/upload/images/plugins_limitedtimediscount/2019/03/25/1553504252784908.jpg', '9c62eafc7ad3b12046945cde6170de20194822eab9520f0c6c6314cdc6abf0bd', '1578048261'), ('294', '1553492985976117.jpg', '1553492985976117.jpg', 'plugins_limitedtimediscount', '3271', '.jpg', 'image', '/static/upload/images/plugins_limitedtimediscount/2019/03/25/1553492985976117.jpg', 'a1de42e0f55485244f68085a49bc2b8705f92fa81eac69525259158953cba9ba', '1578048261'), ('295', '1553503593748808.jpg', '1553503593748808.jpg', 'plugins_limitedtimediscount', '27451', '.jpg', 'image', '/static/upload/images/plugins_limitedtimediscount/2019/03/25/1553503593748808.jpg', '69131b77b490728b0d9545775855147bdf3a7bab30bf2f2aaeaa39d2f8f2a456', '1578048261'), ('296', '1578909403334572.png', '虚拟股.png', 'plugins_fictitioussecretkey', '4196', '.png', 'image', '/static/upload/images/plugins_fictitioussecretkey/2020/01/13/1578909403334572.png', '6c4549d63def350e4f9892ada16978eccc81db21cb11b1cc60108d7ccfca8647', '1578909403'), ('297', '1579429282323325.jpg', '未标题-1-444.jpg', 'plugins_multilingual', '24656', '.jpg', 'image', '/static/upload/images/plugins_multilingual/2020/01/19/1579429282323325.jpg', '1baf6d1013be3ffd6df8b565beed9ebfb81a18d042f8b2f6c304056c74fc84aa', '1579429282'), ('298', '1569321627292423.jpg', '1569321627292423.jpg', 'plugins_quotation', '7681', '.jpg', 'image', '/static/upload/images/plugins_quotation/2019/09/24/1569321627292423.jpg', 'be68cc1c9eee63f84c66e3af91476e9e94f74d14c2ea047be3e5ca65cf87cfda', '1580471315'), ('299', '1580558490671574.png', '钱包.png', 'app_center_nav', '2953', '.png', 'image', '/static/upload/images/app_center_nav/2020/02/01/1580558490671574.png', 'c13566205e8a1fe0472abd150f84507b45b01fc3e7cc58a6c30d1782cc642c2e', '1580558490'), ('300', '1580558516351420.png', '会员.png', 'app_center_nav', '3002', '.png', 'image', '/static/upload/images/app_center_nav/2020/02/01/1580558516351420.png', 'b04cc8fad2bd975c824e3392cc1c022051fdcfef3a41286ff145735e068cb7cc', '1580558516'), ('301', '1561276914760463.jpg', '1561276914760463.jpg', 'plugins_goodsphototag', '8203', '.jpg', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561276914760463.jpg', '2cde8f70bddf26d22e819414d56f72c04400e7757cb6528756359b900f93f969', '1580633004'), ('302', '1561286848134554.png', '1561286848134554.png', 'plugins_goodsphototag', '3212', '.png', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561286848134554.png', 'c260ad4fd57c6d32de12e112a05c663e030b26e7ad502f98af6c729bab19a140', '1580633004'), ('303', '1561283545412820.png', '1561283545412820.png', 'plugins_goodsphototag', '9687', '.png', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561283545412820.png', 'ddfa9fb1acb3bd45636b42d66d4a9e8bbfa2b1a03280d2639b71c50e6597a675', '1580633004'), ('304', '1561287157131927.png', '1561287157131927.png', 'plugins_goodsphototag', '2873', '.png', 'image', '/static/upload/images/plugins_goodsphototag/2019/06/23/1561287157131927.png', 'bae64b97fff56fac938b483280f08f60c72c4aac397ab325c438cfcc5aaffcca', '1580633004'), ('305', '1561268005795322.jpg', '1561268005795322.jpg', 'plugins_popupscreen', '8608', '.jpg', 'image', '/static/upload/images/plugins_popupscreen/2019/06/23/1561268005795322.jpg', 'dca4f362cdeff92676b6b0c60b80296218b6a855647bc006f128b4c78e2d7593', '1580639975'), ('306', '1561271276358867.png', '1561271276358867.png', 'plugins_popupscreen', '96384', '.png', 'image', '/static/upload/images/plugins_popupscreen/2019/06/23/1561271276358867.png', '73dd7b7192b5a850bc5458f0ad27dd1e0632d47ff9fea2cc6cbb6f7a6673c0eb', '1580639975'), ('308', '1553483752670109.jpg', '1553483752670109.jpg', 'plugins_newuserreduction', '3535', '.jpg', 'image', '/static/upload/images/plugins_newuserreduction/2019/03/25/1553483752670109.jpg', '423caed9bc39043425faf58131dab6e1f5878e051b7d78fc539b4927e7c16a8b', '1580796461'), ('309', '1552894366387964.jpg', '1552894366387964.jpg', 'plugins_freightfee', '3370', '.jpg', 'image', '/static/upload/images/plugins_freightfee/2019/03/18/1552894366387964.jpg', '5b3ba4e65b68429438146c6630c39dbaf9c7ec7f632824481785253a6bd46d08', '1580796474'), ('310', '1551184745400164.jpg', '1551184745400164.jpg', 'plugins_usernotloginhidegoodsprice', '24654', '.jpg', 'image', '/static/upload/images/plugins_usernotloginhidegoodsprice/2019/02/26/1551184745400164.jpg', '587e8f0f442e6bfe06e696f6e76d58ab0641a1beb72137cae1bcfa056ae40948', '1580796617'), ('312', '1550222872753553.jpg', '1550222872753553.jpg', 'plugins_commonrightnavigation', '23182', '.jpg', 'image', '/static/upload/images/plugins_commonrightnavigation/2019/02/15/1550222872753553.jpg', 'a6d2c0315e4abf5e6f192e0a0ad16500a8a2b85f48c6952c92f1be8555abbf71', '1580796666'), ('313', '1581062647691709.jpg', '1581062647691709.jpg', 'plugins_deliverynotice', '29635', '.jpg', 'image', '/static/upload/images/plugins_deliverynotice/2020/02/07/1581062647691709.jpg', 'a1b05f9d1d66189466b35fe31f72ea0a4ef8be271b423f7d7bd492cdcd2cad08', '1581248975'), ('314', '1581417689141115.jpg', '未标题-1.jpg', 'plugins_ordersubmitlimit', '16392', '.jpg', 'image', '/static/upload/images/plugins_ordersubmitlimit/2020/02/11/1581417689141115.jpg', 'd1337d47e6d3339065422ab05d083f0a9f5ca8955bebbfa45ef4e38ec78429a8', '1581417689'), ('315', '1581556604785504.jpg', '未标题-1-2.jpg', 'plugins_orderexportprint', '18065', '.jpg', 'image', '/static/upload/images/plugins_orderexportprint/2020/02/13/1581556604785504.jpg', 'e73c1c33b483f7c60a635779b8261ee97385f17a01a9279332414e02a2347bf1', '1581556604'), ('316', '1581593975362864.jpg', 'fx.jpg', 'plugins_excellentbuyreturntocash', '17569', '.jpg', 'image', '/static/upload/images/plugins_excellentbuyreturntocash/2020/02/13/1581593975362864.jpg', 'b9b5aa05492bc54c4f8a2ef4d4952038dff63975da3ea9260cb7469097c00f36', '1581593975'), ('318', '1550393245526672.jpg', '1550393245526672.jpg', 'plugins_commononlineservice', '25425', '.jpg', 'image', '/static/upload/images/plugins_commononlineservice/2019/02/17/1550393245526672.jpg', '1a253f4cba32e1d78b54f4ba5c3d086c3616904f56600c572b5c563a4455f504', '1582419694'), ('327', '1583313630553732.png', 'scrawl.png', 'goods', '2136', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583313630553732.png', '20cb84b03eb9011885280d71c51139e0ef2ea4630341ee3a2c9edb0726e8e38f', '1583313630'), ('332', '1583314539554478.png', 'scrawl.png', 'goods', '2868', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583314539554478.png', '968328390790e4ec7bc618e2a39fd9c050aa7c4c7c1fc1fdd559b0f22f38074a', '1583314539'), ('333', '1583314949532131.png', 'scrawl.png', 'goods', '2335', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583314949532131.png', 'cae74176ca42d78aa8a1216bdb44ea4ab1d72dcde63cafe098cd49085d59a740', '1583314949'), ('334', '1583314987578904.png', 'scrawl.png', 'goods', '5837', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583314987578904.png', '139706181312693fe2dfe2f3f623f770e319036508f2030863ceafbdb1562288', '1583314987'), ('340', '1583316039554471.png', 'scrawl.png', 'goods', '9585', '.png', 'scrawl', '/static/upload/images/goods/2020/03/04/1583316039554471.png', '1b330e06b9598701f9fe0a59ff347027eda4d0f62830292e9557aa4c8c5f8a62', '1583316039'), ('345', '1583317234108125.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234108125.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317234'), ('346', '1583317234497197.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234497197.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317234'), ('347', '1583317234364976.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234364976.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317234'), ('348', '1583317234955310.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317234955310.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317234'), ('349', '1583317236458174.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317236458174.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317236'), ('350', '1583317569245732.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317569245732.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317569'), ('351', '1583317570908798.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317570908798.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317570'), ('352', '1583317570667334.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317570667334.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317570'), ('353', '1583317571385215.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317571385215.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317571'), ('354', '1583317571182621.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317571182621.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317571'), ('355', '1583317624291134.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317624291134.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317624'), ('356', '1583317625556583.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317625556583.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317625'), ('357', '1583317626279574.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317626279574.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317626'), ('358', '1583317628280648.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317628280648.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317628'), ('359', '1583317628536877.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317628536877.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317628'), ('360', '1583317638754738.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317638754738.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317638'), ('361', '1583317638621957.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317638621957.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317638'), ('362', '1583317638923423.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317638923423.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317638'), ('363', '1583317639187354.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317639187354.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317639'), ('364', '1583317639365402.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317639365402.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317639'), ('365', '1583317795157166.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317795157166.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317795'), ('366', '1583317796211536.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317796211536.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317796'), ('367', '1583317796556241.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317796556241.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317796'), ('368', '1583317796171190.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317796171190.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317796'), ('369', '1583317797205191.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317797205191.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317797'), ('370', '1583317847421405.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317847421405.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583317847'), ('371', '1583317848557672.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848557672.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583317848'), ('372', '1583317848447412.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848447412.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583317848'), ('373', '1583317848573836.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848573836.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583317848'), ('374', '1583317848363529.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583317848363529.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583317848'), ('375', '1583318099286981.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318099286981.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318099'), ('376', '1583318100140738.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100140738.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318100'), ('377', '1583318100898536.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100898536.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318100'), ('378', '1583318100219807.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100219807.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318100'), ('379', '1583318100221810.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318100221810.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318100'), ('380', '1583318101886008.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101886008.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318101'), ('381', '1583318101681124.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101681124.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318101'), ('382', '1583318101182200.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101182200.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318101'), ('383', '1583318101546850.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318101546850.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318101'), ('384', '1583318102496440.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318102496440.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318102'), ('385', '1583318178302724.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318178302724.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318178'), ('386', '1583318178792222.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318178792222.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318178'), ('387', '1583318180252245.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318180252245.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318180'), ('388', '1583318181213129.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318181213129.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318181'), ('389', '1583318182563354.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318182563354.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318182'), ('390', '1583318462545659.jpg', 'O1CN01CgUkxH1Ld3hew6o0F_!!127331321.jpg', 'goods', '85374', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318462545659.jpg', '9ffb28a81b02a7c2d474c6b9410020a7ddf0c636a99692bcb76444d42f47a342', '1583318462'), ('391', '1583318463404324.jpg', 'TB2MEwFB29TBuNjy1zbXXXpepXa_!!127331321.jpg', 'goods', '416531', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463404324.jpg', '5b826a71a1723dba40853fb19d8b9b16271601806ca178532906048f98a75b9d', '1583318463'), ('392', '1583318463413012.jpg', 'TB2DsfwBVmWBuNjSspdXXbugXXa_!!127331321.jpg', 'goods', '469150', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463413012.jpg', '11067147a1ad9d3ecbdb221832a28eec24cf85becc4209c8d0f9fbe7c50d2cf0', '1583318463'), ('393', '1583318463850619.jpg', 'TB2wafxm5CYBuNkSnaVXXcMsVXa_!!127331321.jpg', 'goods', '28870', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463850619.jpg', '68209a65feed957970d2f8f893fb7ab9bc461b931fa9aae44f5e927ac8638cbf', '1583318463'), ('394', '1583318463643258.jpg', 'TB2tGDSB4SYBuNjSsphXXbGvVXa_!!127331321.jpg', 'goods', '403061', '.jpg', 'remote', '/static/upload/images/goods/2020/03/04/1583318463643258.jpg', '5f6a00696fb0205994f64592346e7f9d0824568f6b236536567b69e1e8cea4d2', '1583318463'), ('398', '1583374531934359.jpeg', '200x200.jpeg', 'goods', '10852', '.jpeg', 'image', '/static/upload/images/goods/2020/03/05/1583374531934359.jpeg', 'c55699daf0c56a2dccfd73faf947c4441ec5bdca5aaf9e197d467469b424868a', '1583374531'), ('401', '1584113864210485.jpg', '未标题-1.jpg', 'plugins_orderremind', '23145', '.jpg', 'image', '/static/upload/images/plugins_orderremind/2020/03/13/1584113864210485.jpg', '0c60c54b940d5953d3a48849a8fec4f50aa786517677df3984bc80c237a32604', '1584113864'), ('402', '1584236319707716.jpg', '批量.jpg', 'plugins_speedplaceorder', '18758', '.jpg', 'image', '/static/upload/images/plugins_speedplaceorder/2020/03/15/1584236319707716.jpg', '197fea066d5903f7c13b4d439b5012b9923ec15e37d87b49248101547ab57e66', '1584236319'), ('403', '1552656656517586.jpg', '1552656656517586.jpg', 'plugins_touristbuy', '2838', '.jpg', 'image', '/static/upload/images/plugins_touristbuy/2019/03/15/1552656656517586.jpg', '279614aa10633bd37f184f083aa1d1894ac1e1eb4a42d00b1fa4e1229943e541', '1584668650'), ('404', '1578877131390825.jpg', '1578877131390825.jpg', 'plugins_neworderemail', '95701', '.jpg', 'image', '/static/upload/images/plugins_neworderemail/2020/01/13/1578877131390825.jpg', '2f371481a9b89a98c9c5ae35f86881d62e6ba5a305c47a300d3ac1bbc1c19b4d', '1585795342'), ('405', '1585909554964465.jpg', '未标题-1.jpg', 'plugins_mourning', '19098', '.jpg', 'image', '/static/upload/images/plugins_mourning/2020/04/03/1585909554964465.jpg', '40b2edf9d8cf97e015602248cd8502e70e76fc83d6164f936514257927487e84', '1585909554'), ('406', '1586853656148687.jpg', 'a-zb.jpg', 'plugins_weixinliveplayer', '21323', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/2020/04/14/1586853656148687.jpg', '3e044efd6477b7c3659ec9e553f24d21ff415c9f2c07066f52b9360ce91b941e', '1586853656'), ('451', '1587131065524716.jpg', 'abb.jpg', 'plugins_weixinliveplayer', '78254', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/2020/04/17/1587131065524716.jpg', 'e57bb7aaa9417f7fc7a2ebde60549ec55c0eca90e3e006f0e7f8fa855673191a', '1587131065'), ('470', '1587304154495133.png', '直播 (1).png', 'app_nav', '1546', '.png', 'image', '/static/upload/images/app_nav/2020/04/19/1587304154495133.png', 'd791343787f2bb54e6e66d29eb4d256bec37f18b0a2ac9c9ab8246af73723304', '1587304154'), ('489', '1581674813912789.jpg', '1581674813912789.jpg', 'plugins_orderpricerevision', '6542', '.jpg', 'image', '/static/upload/images/plugins_orderpricerevision/2020/02/14/1581674813912789.jpg', 'aa6f8046c1643a93c48a13952be2452047401a477df0ff9e755100050e6250ad', '1587442866'), ('490', '1591605307539422.png', '火狐截图_2020-05-20T14-26-39.223Z.png', 'order_aftersale-1-3-5', '490593', '.png', 'image', '/static/upload/images/order_aftersale/1/3/5/2020/06/08/1591605307539422.png', 'f658b05a13730b3b47bbc2dc4fab597c1aea827ac59184f1a408bbc94dfbe3ab', '1591605307'), ('491', '1591605307962868.png', '商店.png', 'order_aftersale-1-3-5', '2999', '.png', 'image', '/static/upload/images/order_aftersale/1/3/5/2020/06/08/1591605307962868.png', '9294a26fac4ada6209a1a16dfeb88ceb40538e73e2fc1f0fee9dca166101b9e0', '1591605307'), ('492', '1591605307490461.jpg', '下载.jpg', 'order_aftersale-1-3-5', '130527', '.jpg', 'image', '/static/upload/images/order_aftersale/1/3/5/2020/06/08/1591605307490461.jpg', '6d717ed67f4025eeb2ab4297c5b491eef9f4d0bc97bf5a596b23cee4a0dd5dbf', '1591605307'), ('494', '1550151082834629.jpg', '1550151082834629.jpg', 'plugins_userloginrewardintegral', '26772', '.jpg', 'image', '/static/upload/images/plugins_userloginrewardintegral/2019/02/14/1550151082834629.jpg', '777eb58d5238ff8801981e336766f2a8ed15712d524282f2ac4c385ec307623b', '1593394903'), ('495', '1551940310193935.jpg', '1551940310193935.jpg', 'plugins_answers', '27881', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551940310193935.jpg', 'fb6cc77fde56427b79ce0c1be9db7758f4e36362d83607ccfba8f0a5a0473d5b', '1593504586'), ('496', '1551940388179648.jpg', '1551940388179648.jpg', 'plugins_answers', '28201', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551940388179648.jpg', '760c20428d89b8c218874a4749f7ed93caf7d299ae05bc01598918e74e5a17a5', '1593504586'), ('497', '1551942704326624.jpg', '1551942704326624.jpg', 'plugins_answers', '23523', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551942704326624.jpg', '53434eb6bd366b56a761dd2cff36cbcebd7120b920fe7747185ad5f875ecd481', '1593504586'), ('498', '1551940388704924.jpg', '1551940388704924.jpg', 'plugins_answers', '36914', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/07/1551940388704924.jpg', '956586978204bb87d703ddbf90348a05c7b44ae70f53a4bb2df24d6f7804e633', '1593504586'), ('499', '1551853529634743.jpg', '1551853529634743.jpg', 'plugins_answers', '19705', '.jpg', 'image', '/static/upload/images/plugins_answers/2019/03/06/1551853529634743.jpg', '59c5051bb8f293faa295f78b8938283261da83c4ea546e204c45b20d69c3098e', '1593504586'), ('500', '1552463137211834.png', '1552463137211834.png', 'plugins_answers', '48751', '.png', 'image', '/static/upload/images/plugins_answers/2019/03/13/1552463137211834.png', '986890c1fd2017b464dc64a0e30126f72f15870118c4e4a1aab6d533a91fc80d', '1593504586'), ('501', '1593862101704965.jpg', 'a-s.jpg', 'plugins_shop', '15934', '.jpg', 'image', '/static/upload/images/plugins_shop/2020/07/04/1593862101704965.jpg', 'd03bf56572416713d82356b9267cde607fde48ab5e882d76d1cba73473971346', '1593862101'), ('503', '202008082207244168318832.jpg', '202008082207244168318832.jpg', 'plugins_weixinliveplayer-liveplayer', '58296', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207244168318832.jpg', '3875a69ee8bc63799a09b136c3b1984fd7d13167ebfc410812482a3cbb7461df', '1596895644'), ('504', '202008082207249553428172.jpg', '202008082207249553428172.jpg', 'plugins_weixinliveplayer-liveplayer', '34575', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207249553428172.jpg', '2100c96c788d4f93f7b36e738c0be9789d4650091c2f3cab7fab34eb7714eb6f', '1596895644'), ('505', '202008082207271230033361.jpg', '202008082207271230033361.jpg', 'plugins_weixinliveplayer-liveplayer', '34575', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207271230033361.jpg', '2100c96c788d4f93f7b36e738c0be9789d4650091c2f3cab7fab34eb7714eb6f', '1596895648'), ('506', '202008082207281642036869.jpg', '202008082207281642036869.jpg', 'plugins_weixinliveplayer-liveplayer', '9608', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/202008082207281642036869.jpg', '86a18e49a19969be444febff6afe6337787d4a804e1c6747fea7a3dd00c2d057', '1596895648'), ('507', '20200808220728797782257.jpg', '20200808220728797782257.jpg', 'plugins_weixinliveplayer-liveplayer', '61629', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/20200808220728797782257.jpg', '81a6145d5f571d104b669f3097fb4ae2ab47e10ce22f61771e0f6be5b605a116', '1596895648'), ('508', '20200808220728910817555.jpg', '20200808220728910817555.jpg', 'plugins_weixinliveplayer-liveplayer', '24802', '.jpg', 'image', '/static/upload/images/plugins_weixinliveplayer/liveplayer/2020/08/08/20200808220728910817555.jpg', 'b0d57f60dc39339430ff12e3aae9d216588d3709f6d99464f653e812a2cb3d24', '1596895649'), ('509', '1552286675575734.png', '1552286675575734.png', 'plugins_expressforkdn', '17303', '.png', 'image', '/static/upload/images/plugins_expressforkdn/2019/03/11/1552286675575734.png', '6c6f0d147f84233d23ade3f32eaf4c6b6525a24e4015fb9e8b480d643bcd47bb', '1597727291'), ('510', '1598708276130441.jpg', '714x350.jpg', 'article', '83827', '.jpg', 'image', '/static/upload/images/article/2020/08/29/1598708276130441.jpg', '99ef58e5fcd2545b0e7828881a87b1beb187bc97037b71c44d9383dc899038ee', '1598708276'), ('511', '1599228052596982.jpg', 'goods-all.jpg', 'plugins_goodsalledit', '53002', '.jpg', 'image', '/static/upload/images/plugins_goodsalledit/2020/09/04/1599228052596982.jpg', 'fb9e38d33a4ae9bd79bbc1aa8567cabf1bdbf17095c73909fda8e5b4ca77244c', '1599228052'), ('512', '1599806728463641.png', '2018111915461980516.png', 'quick_nav', '730', '.png', 'image', '/static/upload/images/quick_nav/2020/09/11/1599806728463641.png', '52eff07577a7e548179b431713510293e84f28a7de1730f77a6b1bdec3732813', '1599806728'), ('514', '1599808001838784.png', '2018111915482687655.png', 'quick_nav', '1430', '.png', 'image', '/static/upload/images/quick_nav/2020/09/11/1599808001838784.png', '86a1e78258600f4bdb822c993025e38daf1bcf06552e4d48a9c93350cbf2a4d8', '1599808001'), ('518', '1600321639662998.png', '位置.png', 'quick_nav', '3573', '.png', 'image', '/static/upload/images/quick_nav/2020/09/17/1600321639662998.png', 'a64df8d480c7d0bc47dd5cc0dd59ebf4cd09e833ce80802d857f51c857b76686', '1600321639'), ('519', '1600322667732829.png', '电话.png', 'quick_nav', '3842', '.png', 'image', '/static/upload/images/quick_nav/2020/09/17/1600322667732829.png', 'a1038b6b9a2b2a1fee13d306b07f6d44a897911f5f314f1259aa9dba5090c3c7', '1600322667'), ('520', '1601304530704177.jpg', 'blog.jpg', 'plugins_blog', '27206', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/28/1601304530704177.jpg', '52b270cf1552b6873721e3e193f9498e9061088f3dfd9b4f48d4f9ad0e149dea', '1601304530'), ('522', '1601448516253404.jpg', '1551940388704924.jpg', 'plugins_blog', '36914', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601448516253404.jpg', 'a11ce99a33e551937c50787e7380309863ef1229684b5e8c3fd6e47af3ce490c', '1601448516'), ('523', '1601448578727710.jpg', '1551940388179648.jpg', 'plugins_blog', '28201', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601448578727710.jpg', '1f145780425af1c9f7f37ad49bd0403424ba326ea2c147f41a1f816b7d504246', '1601448578'), ('524', '1601454062139210.jpg', '096C36D9-600D-4656-8068-95076FC4DE1E.jpg', 'plugins_blog', '13256', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454062139210.jpg', '9a2890f72ce3f85b0e13677134a8c642831cf06b7dc1f7a50d7a3c1980c223f3', '1601454062'), ('526', '1601454373163030.jpg', 'color.jpg', 'plugins_blog', '18795', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454373163030.jpg', '2e2df01b8dbe6db189b37d97754395180b9a63d2ab655e35b29d554ebb6133c3', '1601454373'), ('527', '1601454508651605.jpg', '1548309339-docker.jpg', 'plugins_blog', '14179', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454508651605.jpg', '63820b8d0658c5ba30e204893dad7d1c809d5b995842fd5eb90357b0622e2b11', '1601454508'), ('528', '1601454592334389.jpg', 'baidu.jpg', 'plugins_blog', '52689', '.jpg', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454592334389.jpg', 'e204683fefd1b1a465b1cadb7c8788398d39e00a4e1e3d861a05a3d07b042ea0', '1601454592'), ('529', '1601454812814385.png', '1555067691-code.png', 'plugins_blog', '60491', '.png', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454812814385.png', 'a50444dc89f13d3989eb1c696b70b66e1b5941cfe4d23342d484ef152f48a75f', '1601454812'), ('530', '1601454884322997.png', 'web1.png', 'plugins_blog', '20562', '.png', 'image', '/static/upload/images/plugins_blog/2020/09/30/1601454884322997.png', '460446e607a8cd4ea0dfd1a2f78ff2852d9108fa8635585bf1c5221ae266b029', '1601454884'), ('539', '1602558277425213.jpg', '龚福祥-身份证-正面.jpg', 'user_address-1', '302349', '.jpg', 'image', '/static/upload/images/user_address/1/2020/10/13/1602558277425213.jpg', 'cbdcac76b5816fc82d4d3c20c55ab104eb07bfa1a4465e53456cd3c01b9aa0c7', '1602558277'), ('540', '1602558287496754.jpg', '龚福祥-身份证-背面.jpg', 'user_address-1', '347560', '.jpg', 'image', '/static/upload/images/user_address/1/2020/10/13/1602558287496754.jpg', '494dfe01a17900155aa45e5f3149ab17e9d2875865cf22e671f5047eacaed519', '1602558287'), ('542', '1602583825547286.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.Hekg2ZrM8WYNdac7ebb67f8bb5e7f58d0df626571c3b.jpg', 'user_address-0', '332469', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602583825547286.jpg', '932680b13c5e78fab63e92478ffed2dae0bcaafbb5e3385fd1f5dd7a2658a37e', '1602583825'), ('543', '1602584066399673.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.YobNqDkp5Gdcece5c29e8722623b547519c633dff149.jpg', 'user_address-0', '1170272', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584066399673.jpg', 'b500427e9263a567f50fa41c78cb52320f3f6e9b22a61948755343e9c41e2728', '1602584066'), ('544', '1602584154372327.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.eqeLah3CuIE0ece5c29e8722623b547519c633dff149.jpg', 'user_address-0', '1170272', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584154372327.jpg', 'b500427e9263a567f50fa41c78cb52320f3f6e9b22a61948755343e9c41e2728', '1602584154'), ('545', '1602584164691493.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.oDwrzniv0YVY7a866257920252f0985ce62d49e94c9f.jpg', 'user_address-0', '1166393', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584164691493.jpg', 'dd1acec71ab56ee076fec086f822556a28eaf874106d63c815d6b2f0a83639f4', '1602584164'), ('546', '1602584173239200.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.WphQfi1Bcvfxe2ab79e4c440fb38388e09fffe4278a9.jpg', 'user_address-0', '365455', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584173239200.jpg', '1310dc94b5e2ea228f4f6aa4a8567bbaa23ccdbd87310ee57efd1445e4b59595', '1602584173'), ('547', '1602584278727374.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.9cf5yRgtoL1Sa9f5024e95a737430fc98cf2df0880dd.jpg', 'user_address-0', '1838839', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584278727374.jpg', 'f3db2da7b0510218f3e4139da1ae88707294846c2539faeecb5cbdb50fc650f4', '1602584279'), ('548', '1602584311195294.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.S0oNmb5ygKV1ece5c29e8722623b547519c633dff149.jpg', 'user_address-0', '1170272', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584311195294.jpg', 'b500427e9263a567f50fa41c78cb52320f3f6e9b22a61948755343e9c41e2728', '1602584311'), ('549', '1602584319807384.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.mnPJN4mLCgyRd885fa75c491bc5239c5e6f708bf24c7.jpg', 'user_address-0', '357721', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584319807384.jpg', 'a29513b799af1992b527943e92ccb460f318307b08d87a6ff428f3977a8a3e6d', '1602584319'), ('550', '1602584749879326.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.Qxs8Y1vhIl3zece5c29e8722623b547519c633dff149.jpg', 'user_address-0', '1170272', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584749879326.jpg', 'b500427e9263a567f50fa41c78cb52320f3f6e9b22a61948755343e9c41e2728', '1602584749'), ('551', '1602584754228638.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.GnSNLHUtHLEk7a866257920252f0985ce62d49e94c9f.jpg', 'user_address-0', '1166393', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584754228638.jpg', 'dd1acec71ab56ee076fec086f822556a28eaf874106d63c815d6b2f0a83639f4', '1602584754'), ('552', '1602584848370533.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.hqqnNJ0B1P8Id885fa75c491bc5239c5e6f708bf24c7.jpg', 'user_address-0', '357721', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602584848370533.jpg', 'a29513b799af1992b527943e92ccb460f318307b08d87a6ff428f3977a8a3e6d', '1602584848'), ('553', '1602585320439494.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.Q9HF7mZ0Sasbdac7ebb67f8bb5e7f58d0df626571c3b.jpg', 'user_address-0', '332469', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602585320439494.jpg', '932680b13c5e78fab63e92478ffed2dae0bcaafbb5e3385fd1f5dd7a2658a37e', '1602585320'), ('554', '1602585405433764.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.RVjVBrSytYR27a866257920252f0985ce62d49e94c9f.jpg', 'user_address-0', '1166393', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602585405433764.jpg', 'dd1acec71ab56ee076fec086f822556a28eaf874106d63c815d6b2f0a83639f4', '1602585406'), ('555', '1602585573584307.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.NJuzCatpnqgZece5c29e8722623b547519c633dff149.jpg', 'user_address-0', '1170272', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602585573584307.jpg', 'b500427e9263a567f50fa41c78cb52320f3f6e9b22a61948755343e9c41e2728', '1602585573'), ('556', '1602585724688861.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.BkGtkaT7Z3Iva9f5024e95a737430fc98cf2df0880dd.jpg', 'user_address-0', '1838839', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602585724688861.jpg', 'f3db2da7b0510218f3e4139da1ae88707294846c2539faeecb5cbdb50fc650f4', '1602585725'), ('557', '1602586004150571.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.Zd48crC9osQ4e64b4313bf9f1f1315c9831ae3c12349.jpg', 'user_address-0', '301346', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602586004150571.jpg', '9023602ec550a14a28c829ab20277bb58a1be84d5482ea908ec2e19f5a3ca122', '1602586005'), ('558', '1602586193104168.jpg', 'wxda7779770f53e901.o6zAJs_RaO7mwmwyjpA6BpcPXmuA.5oYFr0Qz0nODece5c29e8722623b547519c633dff149.jpg', 'user_address-0', '1170272', '.jpg', 'image', '/static/upload/images/user_address/0/2020/10/13/1602586193104168.jpg', 'b500427e9263a567f50fa41c78cb52320f3f6e9b22a61948755343e9c41e2728', '1602586193'); COMMIT; -- ---------------------------- @@ -1548,13 +1548,13 @@ CREATE TABLE `s_plugins_distribution_user_self_extraction` ( PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `status` (`status`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销商取货点 - 应用'; +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销商取货点 - 应用'; -- ---------------------------- -- Records of `s_plugins_distribution_user_self_extraction` -- ---------------------------- BEGIN; -INSERT INTO `s_plugins_distribution_user_self_extraction` VALUES ('1', '1', 'qqqqqq', 'qqqqqq', '13222332211', '1', '39', '585', '学校', '116.4317890000', '39.8904770000', '1', '', '1601216335', '1601216794'); +INSERT INTO `s_plugins_distribution_user_self_extraction` VALUES ('1', '1', 'qqqqqq', 'qqqqqq', '13222332211', '1', '39', '585', '学校', '116.4317890000', '39.8904770000', '1', '', '1601216335', '1601216794'), ('2', '2', 'my', 'devil', '13222333333', '1', '39', '586', 'wre二娥温柔', '121.5505443232', '31.2273897108', '0', '', '1602570897', '0'); COMMIT; -- ---------------------------- @@ -1804,13 +1804,13 @@ CREATE TABLE `s_power` ( `icon` char(60) NOT NULL DEFAULT '' COMMENT '图标class', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=451 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=456 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; -- ---------------------------- -- Records of `s_power` -- ---------------------------- BEGIN; -INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '', '3', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Role', 'Index', '', '20', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '', '30', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'Save', '', '31', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'Delete', '', '32', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Role', 'SaveInfo', '', '21', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Role', 'Save', '', '22', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Role', 'Delete', '', '23', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '', '5', '1', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '', '1', '1', 'icon-peizhi', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '', '10', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '', '2', '1', 'icon-zhandianpeizhi', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '', '50', '1', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '', '4', '1', 'icon-yonghuguanli', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '', '6', '0', '', '1522223773'), ('153', '222', '地区管理', 'Region', 'Index', '', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '', '6', '1', 'icon-dingdan', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '', '3', '0', '', '1527497803'), ('181', '38', '商品状态更新', 'Goods', 'StatusUpdate', '', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '', '22', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '', '10', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '', '11', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '', '20', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '', '40', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '', '51', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '', '21', '1', 'icon-wenzhang', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '', '12', '0', '', '1530361126'), ('214', '182', '问答留言', 'Answer', 'Index', '', '0', '1', '', '1533112443'), ('215', '182', '问答留言回复', 'Answer', 'Reply', '', '1', '0', '', '1533119660'), ('216', '182', '问答留言删除', 'Answer', 'Delete', '', '2', '0', '', '1533119680'), ('217', '182', '问答留言状态更新', 'Answer', 'StatusUpdate', '', '3', '0', '', '1533119704'), ('219', '81', '邮箱设置', 'Email', 'Index', '', '20', '1', '', '1533636067'), ('220', '81', '邮箱设置/编辑', 'Email', 'Save', '', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '', '7', '1', 'icon-wangzhanguanli', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '', '33', '0', '', '1494410655'), ('248', '204', '文章详情', 'Article', 'Detail', '', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '', '8', '1', 'icon-ico-pinpaiguanli', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StatusUpdate', '', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Role', 'StatusUpdate', '', '24', '0', '', '1542102071'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '', '14', '0', '', '1542558767'), ('319', '0', '手机管理', 'App', 'Index', '', '20', '1', 'icon-shouji', '1483362358'), ('326', '319', '基础配置', 'AppConfig', 'Index', '', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '', '1', '0', '', '1543206402'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '', '4', '0', '', '1545642163'), ('332', '319', '小程序列表', 'AppMini', 'Index', '', '30', '1', '', '1546935020'), ('333', '319', '小程序配置', 'AppMini', 'Config', '', '33', '1', '', '1546935090'), ('334', '319', '小程序配置保存', 'AppMini', 'Save', '', '34', '0', '', '1546935118'), ('336', '319', '小程序生成', 'AppMini', 'Created', '', '31', '0', '', '1546935187'), ('337', '319', '小程序删除', 'AppMini', 'Delete', '', '32', '0', '', '1546935212'), ('339', '41', '后台配置', 'Config', 'Index', '', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '', '30', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '', '4', '0', '', '1549977993'), ('348', '340', '应用上传', 'Pluginsadmin', 'Upload', '', '5', '0', '', '1550110821'), ('349', '118', 'SQL控制台', 'Sqlconsole', 'Index', '', '10', '1', '', '1550476002'), ('350', '118', 'SQL执行', 'Sqlconsole', 'Implement', '', '11', '0', '', '1550476023'), ('351', '340', '应用打包', 'Pluginsadmin', 'Download', '', '6', '0', '', '1553248727'), ('352', '182', '问答添加/编辑页面', 'Answer', 'SaveInfo', '', '4', '0', '', '1553964318'), ('353', '182', '问答添加/编辑', 'Answer', 'Save', '', '5', '0', '', '1553964354'), ('354', '41', '商店信息', 'Config', 'Store', '', '0', '1', '', '1554803430'), ('356', '38', '商品评论', 'Goodscomments', 'Index', '', '20', '1', '', '1533112443'), ('357', '38', '商品评论回复', 'Goodscomments', 'Reply', '', '21', '0', '', '1533119660'), ('358', '38', '商品评论删除', 'Goodscomments', 'Delete', '', '22', '0', '', '1533119680'), ('359', '38', '商品评论状态更新', 'Goodscomments', 'StatusUpdate', '', '23', '0', '', '1533119704'), ('360', '38', '商品评论添加/编辑页面', 'Goodscomments', 'SaveInfo', '', '24', '0', '', '1553964318'), ('361', '38', '商品评论添加/编辑', 'Goodscomments', 'Save', '', '25', '0', '', '1553964354'), ('362', '81', '协议管理', 'Agreement', 'Index', '', '40', '1', '', '1486561615'), ('363', '81', '协议设置编辑', 'Agreement', 'Save', '', '41', '0', '', '1486562011'), ('364', '177', '订单售后', 'Orderaftersale', 'Index', '', '10', '1', '', '1522317898'), ('365', '177', '订单售后删除', 'Orderaftersale', 'Delete', '', '11', '0', '', '1522317917'), ('366', '177', '订单售后取消', 'Orderaftersale', 'Cancel', '', '12', '0', '', '1527497803'), ('367', '177', '订单售后审核', 'Orderaftersale', 'Audit', '', '13', '0', '', '1538413499'), ('368', '177', '订单售后确认', 'Orderaftersale', 'Confirm', '', '14', '0', '', '1538414034'), ('369', '177', '订单售后拒绝', 'Orderaftersale', 'Refuse', '', '15', '0', '', '1538757043'), ('372', '182', '退款日志', 'RefundLog', 'Index', '', '30', '1', '', '1528080200'), ('373', '340', '应用商店', 'Store', 'Index', '', '10', '1', '', '1553248727'), ('374', '340', '应用安装', 'Pluginsadmin', 'Install', '', '6', '0', '', '1561369950'), ('375', '340', '应用卸载', 'Pluginsadmin', 'Uninstall', '', '7', '0', '', '1561370063'), ('376', '319', '用户中心导航', 'AppCenterNav', 'Index', '', '20', '1', '', '1542558318'), ('377', '319', '用户中心导航添加/编辑页面', 'AppCenterNav', 'SaveInfo', '', '21', '0', '', '1542558686'), ('378', '319', '用户中心导航添加/编辑', 'AppCenterNav', 'Save', '', '22', '0', '', '1542558706'), ('379', '319', '用户中心导航状态更新', 'AppCenterNav', 'StatusUpdate', '', '23', '0', '', '1542558747'), ('380', '319', '用户中心导航删除', 'AppCenterNav', 'Delete', '', '24', '0', '', '1542558767'), ('387', '222', '主题下载', 'Theme', 'Download', '', '34', '0', '', '1494410699'), ('400', '177', '订单详情', 'Order', 'Detail', '', '8', '0', '', '1589534580'), ('401', '177', '订单售后详情', 'Orderaftersale', 'Detail', '', '16', '0', '', '1589538361'), ('402', '38', '商品详情', 'Goods', 'Detail', '', '6', '0', '', '1589539780'), ('403', '38', '商品评论详情', 'Goodscomments', 'Detail', '', '26', '0', '', '1591609904'), ('404', '126', '用户详情', 'User', 'Detail', '', '7', '0', '', '1591621569'), ('405', '1', '管理员详情', 'Admin', 'Detail', '', '5', '0', '', '1591951422'), ('406', '1', '角色详情', 'Role', 'Detail', '', '25', '0', '', '1542102071'), ('407', '222', '自定义页面详情', 'CustomView', 'Detail', '', '16', '0', '', '1592287822'), ('408', '222', '轮播详情', 'Slide', 'Detail', '', '45', '0', '', '1592413297'), ('409', '252', '品牌详情', 'Brand', 'Detail', '', '6', '0', '', '1592563170'), ('410', '319', '首页导航详情', 'AppHomeNav', 'Detail', '', '15', '0', '', '1592652323'), ('411', '319', '用户中心导航详情', 'AppCenterNav', 'Detail', '', '25', '0', '', '1592661364'), ('412', '182', '问答留言详情', 'Answer', 'Detail', '', '6', '0', '', '1592840031'), ('413', '182', '消息详情', 'Message', 'Detail', '', '12', '0', '', '1593181414'), ('414', '222', '友情链接详情', 'Link', 'Detail', '', '26', '0', '', '1593181677'), ('415', '182', '支付日志详情', 'PayLog', 'Detail', '', '21', '0', '', '1593355200'), ('416', '182', '退款日志详情', 'RefundLog', 'Detail', '', '31', '0', '', '1593355237'), ('417', '182', '积分日志详情', 'IntegralLog', 'Detail', '', '41', '0', '', '1593355265'), ('418', '38', '商品浏览', 'GoodsBrowse', 'Index', '', '30', '1', '', '1591609904'), ('419', '38', '商品浏览删除', 'GoodsBrowse', 'Delete', '', '31', '0', '', '1591609904'), ('420', '38', '商品浏览详情', 'GoodsBrowse', 'Detail', '', '32', '0', '', '1591609904'), ('421', '38', '商品收藏', 'GoodsFavor', 'Index', '', '40', '1', '', '1591609904'), ('422', '38', '商品收藏删除', 'GoodsFavor', 'Delete', '', '41', '0', '', '1591609904'), ('423', '38', '商品收藏详情', 'GoodsFavor', 'Detail', '', '42', '0', '', '1591609904'), ('425', '438', '仓库管理', 'Warehouse', 'Index', '', '0', '1', '', '1488108044'), ('426', '438', '仓库添加/编辑页面', 'Warehouse', 'SaveInfo', '', '1', '0', '', '1530360625'), ('427', '438', '仓库添加/编辑', 'Warehouse', 'Save', '', '2', '0', '', '1530360663'), ('428', '438', '仓库删除', 'Warehouse', 'Delete', '', '3', '0', '', '1530360692'), ('429', '438', '仓库状态更新', 'Warehouse', 'StatusUpdate', '', '4', '0', '', '1530360730'), ('430', '438', '仓库详情', 'Warehouse', 'Detail', '', '5', '0', '', '1534156400'), ('431', '438', '仓库商品管理', 'WarehouseGoods', 'Index', '', '10', '1', '', '1488108044'), ('432', '438', '仓库商品删除', 'WarehouseGoods', 'Delete', '', '12', '0', '', '1530360625'), ('433', '438', '仓库商品搜索添加', 'WarehouseGoods', 'GoodsAdd', '', '15', '0', '', '1530360663'), ('434', '438', '仓库商品搜索删除', 'WarehouseGoods', 'GoodsDel', '', '16', '0', '', '1530360692'), ('435', '438', '仓库商品状态更新', 'WarehouseGoods', 'StatusUpdate', '', '13', '0', '', '1530360730'), ('436', '438', '仓库商品详情', 'WarehouseGoods', 'Detail', '', '11', '0', '', '1534156400'), ('438', '0', '仓库管理', 'Warehouse', 'Index', '', '9', '1', 'icon-cangku', '1483362358'), ('439', '438', '仓库商品搜索', 'WarehouseGoods', 'GoodsSearch', '', '14', '0', '', '1534156400'), ('440', '438', '仓库商品库存编辑页面', 'WarehouseGoods', 'InventoryInfo', '', '17', '0', '', '1534156400'), ('441', '438', '仓库商品库存编辑', 'WarehouseGoods', 'InventorySave', '', '18', '0', '', '0'), ('442', '182', '支付日志关闭', 'PayLog', 'Close', '', '22', '0', '', '1593355200'), ('443', '222', '快捷导航', 'QuickNav', 'Index', '', '90', '1', '', '1542558318'), ('444', '222', '快捷导航添加/编辑页面', 'QuickNav', 'SaveInfo', '', '91', '0', '', '1542558686'), ('445', '222', '快捷导航添加/编辑', 'QuickNav', 'Save', '', '92', '0', '', '1542558706'), ('446', '222', '快捷导航状态更新', 'QuickNav', 'StatusUpdate', '', '93', '0', '', '1542558747'), ('447', '222', '快捷导航删除', 'QuickNav', 'Delete', '', '94', '0', '', '1542558767'), ('448', '222', '快捷导航详情', 'QuickNav', 'Detail', '', '95', '0', '', '1592652323'), ('449', '182', '支付请求日志列表', 'PayRequestLog', 'Index', '', '25', '0', '', '1593355200'), ('450', '182', '支付请求日志详情', 'PayRequestLog', 'Detail', '', '26', '0', '', '1593355200'); +INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '', '3', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Role', 'Index', '', '20', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '', '30', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'Save', '', '31', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'Delete', '', '32', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Role', 'SaveInfo', '', '21', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Role', 'Save', '', '22', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Role', 'Delete', '', '23', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '', '5', '1', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '', '1', '1', 'icon-peizhi', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '', '10', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '', '2', '1', 'icon-zhandianpeizhi', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '', '50', '1', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '', '4', '1', 'icon-yonghuguanli', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '', '6', '0', '', '1522223773'), ('153', '222', '地区管理', 'Region', 'Index', '', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '', '6', '1', 'icon-dingdan', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '', '3', '0', '', '1527497803'), ('181', '38', '商品状态更新', 'Goods', 'StatusUpdate', '', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '', '22', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '', '10', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '', '11', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '', '20', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '', '40', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '', '51', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '', '21', '1', 'icon-wenzhang', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '', '12', '0', '', '1530361126'), ('214', '182', '问答留言', 'Answer', 'Index', '', '0', '1', '', '1533112443'), ('215', '182', '问答留言回复', 'Answer', 'Reply', '', '1', '0', '', '1533119660'), ('216', '182', '问答留言删除', 'Answer', 'Delete', '', '2', '0', '', '1533119680'), ('217', '182', '问答留言状态更新', 'Answer', 'StatusUpdate', '', '3', '0', '', '1533119704'), ('219', '81', '邮箱设置', 'Email', 'Index', '', '20', '1', '', '1533636067'), ('220', '81', '邮箱设置/编辑', 'Email', 'Save', '', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '', '7', '1', 'icon-wangzhanguanli', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '', '33', '0', '', '1494410655'), ('248', '204', '文章详情', 'Article', 'Detail', '', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '', '8', '1', 'icon-ico-pinpaiguanli', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StatusUpdate', '', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Role', 'StatusUpdate', '', '24', '0', '', '1542102071'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '', '14', '0', '', '1542558767'), ('319', '0', '手机管理', 'App', 'Index', '', '20', '1', 'icon-shouji', '1483362358'), ('326', '319', '基础配置', 'AppConfig', 'Index', '', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '', '1', '0', '', '1543206402'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '', '4', '0', '', '1545642163'), ('332', '319', '小程序列表', 'AppMini', 'Index', '', '30', '1', '', '1546935020'), ('333', '319', '小程序配置', 'AppMini', 'Config', '', '33', '1', '', '1546935090'), ('334', '319', '小程序配置保存', 'AppMini', 'Save', '', '34', '0', '', '1546935118'), ('336', '319', '小程序生成', 'AppMini', 'Created', '', '31', '0', '', '1546935187'), ('337', '319', '小程序删除', 'AppMini', 'Delete', '', '32', '0', '', '1546935212'), ('339', '41', '后台配置', 'Config', 'Index', '', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '', '30', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '', '4', '0', '', '1549977993'), ('348', '340', '应用上传', 'Pluginsadmin', 'Upload', '', '5', '0', '', '1550110821'), ('349', '118', 'SQL控制台', 'Sqlconsole', 'Index', '', '10', '1', '', '1550476002'), ('350', '118', 'SQL执行', 'Sqlconsole', 'Implement', '', '11', '0', '', '1550476023'), ('351', '340', '应用打包', 'Pluginsadmin', 'Download', '', '6', '0', '', '1553248727'), ('352', '182', '问答添加/编辑页面', 'Answer', 'SaveInfo', '', '4', '0', '', '1553964318'), ('353', '182', '问答添加/编辑', 'Answer', 'Save', '', '5', '0', '', '1553964354'), ('354', '41', '商店信息', 'Config', 'Store', '', '0', '1', '', '1554803430'), ('356', '38', '商品评论', 'Goodscomments', 'Index', '', '20', '1', '', '1533112443'), ('357', '38', '商品评论回复', 'Goodscomments', 'Reply', '', '21', '0', '', '1533119660'), ('358', '38', '商品评论删除', 'Goodscomments', 'Delete', '', '22', '0', '', '1533119680'), ('359', '38', '商品评论状态更新', 'Goodscomments', 'StatusUpdate', '', '23', '0', '', '1533119704'), ('360', '38', '商品评论添加/编辑页面', 'Goodscomments', 'SaveInfo', '', '24', '0', '', '1553964318'), ('361', '38', '商品评论添加/编辑', 'Goodscomments', 'Save', '', '25', '0', '', '1553964354'), ('362', '81', '协议管理', 'Agreement', 'Index', '', '40', '1', '', '1486561615'), ('363', '81', '协议设置编辑', 'Agreement', 'Save', '', '41', '0', '', '1486562011'), ('364', '177', '订单售后', 'Orderaftersale', 'Index', '', '10', '1', '', '1522317898'), ('365', '177', '订单售后删除', 'Orderaftersale', 'Delete', '', '11', '0', '', '1522317917'), ('366', '177', '订单售后取消', 'Orderaftersale', 'Cancel', '', '12', '0', '', '1527497803'), ('367', '177', '订单售后审核', 'Orderaftersale', 'Audit', '', '13', '0', '', '1538413499'), ('368', '177', '订单售后确认', 'Orderaftersale', 'Confirm', '', '14', '0', '', '1538414034'), ('369', '177', '订单售后拒绝', 'Orderaftersale', 'Refuse', '', '15', '0', '', '1538757043'), ('372', '182', '退款日志', 'RefundLog', 'Index', '', '30', '1', '', '1528080200'), ('373', '340', '应用商店', 'Store', 'Index', '', '10', '1', '', '1553248727'), ('374', '340', '应用安装', 'Pluginsadmin', 'Install', '', '6', '0', '', '1561369950'), ('375', '340', '应用卸载', 'Pluginsadmin', 'Uninstall', '', '7', '0', '', '1561370063'), ('376', '319', '用户中心导航', 'AppCenterNav', 'Index', '', '20', '1', '', '1542558318'), ('377', '319', '用户中心导航添加/编辑页面', 'AppCenterNav', 'SaveInfo', '', '21', '0', '', '1542558686'), ('378', '319', '用户中心导航添加/编辑', 'AppCenterNav', 'Save', '', '22', '0', '', '1542558706'), ('379', '319', '用户中心导航状态更新', 'AppCenterNav', 'StatusUpdate', '', '23', '0', '', '1542558747'), ('380', '319', '用户中心导航删除', 'AppCenterNav', 'Delete', '', '24', '0', '', '1542558767'), ('387', '222', '主题下载', 'Theme', 'Download', '', '34', '0', '', '1494410699'), ('400', '177', '订单详情', 'Order', 'Detail', '', '8', '0', '', '1589534580'), ('401', '177', '订单售后详情', 'Orderaftersale', 'Detail', '', '16', '0', '', '1589538361'), ('402', '38', '商品详情', 'Goods', 'Detail', '', '6', '0', '', '1589539780'), ('403', '38', '商品评论详情', 'Goodscomments', 'Detail', '', '26', '0', '', '1591609904'), ('404', '126', '用户详情', 'User', 'Detail', '', '7', '0', '', '1591621569'), ('405', '1', '管理员详情', 'Admin', 'Detail', '', '5', '0', '', '1591951422'), ('406', '1', '角色详情', 'Role', 'Detail', '', '25', '0', '', '1542102071'), ('407', '222', '自定义页面详情', 'CustomView', 'Detail', '', '16', '0', '', '1592287822'), ('408', '222', '轮播详情', 'Slide', 'Detail', '', '45', '0', '', '1592413297'), ('409', '252', '品牌详情', 'Brand', 'Detail', '', '6', '0', '', '1592563170'), ('410', '319', '首页导航详情', 'AppHomeNav', 'Detail', '', '15', '0', '', '1592652323'), ('411', '319', '用户中心导航详情', 'AppCenterNav', 'Detail', '', '25', '0', '', '1592661364'), ('412', '182', '问答留言详情', 'Answer', 'Detail', '', '6', '0', '', '1592840031'), ('413', '182', '消息详情', 'Message', 'Detail', '', '12', '0', '', '1593181414'), ('414', '222', '友情链接详情', 'Link', 'Detail', '', '26', '0', '', '1593181677'), ('415', '182', '支付日志详情', 'PayLog', 'Detail', '', '21', '0', '', '1593355200'), ('416', '182', '退款日志详情', 'RefundLog', 'Detail', '', '31', '0', '', '1593355237'), ('417', '182', '积分日志详情', 'IntegralLog', 'Detail', '', '41', '0', '', '1593355265'), ('418', '38', '商品浏览', 'GoodsBrowse', 'Index', '', '30', '1', '', '1591609904'), ('419', '38', '商品浏览删除', 'GoodsBrowse', 'Delete', '', '31', '0', '', '1591609904'), ('420', '38', '商品浏览详情', 'GoodsBrowse', 'Detail', '', '32', '0', '', '1591609904'), ('421', '38', '商品收藏', 'GoodsFavor', 'Index', '', '40', '1', '', '1591609904'), ('422', '38', '商品收藏删除', 'GoodsFavor', 'Delete', '', '41', '0', '', '1591609904'), ('423', '38', '商品收藏详情', 'GoodsFavor', 'Detail', '', '42', '0', '', '1591609904'), ('425', '438', '仓库管理', 'Warehouse', 'Index', '', '0', '1', '', '1488108044'), ('426', '438', '仓库添加/编辑页面', 'Warehouse', 'SaveInfo', '', '1', '0', '', '1530360625'), ('427', '438', '仓库添加/编辑', 'Warehouse', 'Save', '', '2', '0', '', '1530360663'), ('428', '438', '仓库删除', 'Warehouse', 'Delete', '', '3', '0', '', '1530360692'), ('429', '438', '仓库状态更新', 'Warehouse', 'StatusUpdate', '', '4', '0', '', '1530360730'), ('430', '438', '仓库详情', 'Warehouse', 'Detail', '', '5', '0', '', '1534156400'), ('431', '438', '仓库商品管理', 'WarehouseGoods', 'Index', '', '10', '1', '', '1488108044'), ('432', '438', '仓库商品删除', 'WarehouseGoods', 'Delete', '', '12', '0', '', '1530360625'), ('433', '438', '仓库商品搜索添加', 'WarehouseGoods', 'GoodsAdd', '', '15', '0', '', '1530360663'), ('434', '438', '仓库商品搜索删除', 'WarehouseGoods', 'GoodsDel', '', '16', '0', '', '1530360692'), ('435', '438', '仓库商品状态更新', 'WarehouseGoods', 'StatusUpdate', '', '13', '0', '', '1530360730'), ('436', '438', '仓库商品详情', 'WarehouseGoods', 'Detail', '', '11', '0', '', '1534156400'), ('438', '0', '仓库管理', 'Warehouse', 'Index', '', '9', '1', 'icon-cangku', '1483362358'), ('439', '438', '仓库商品搜索', 'WarehouseGoods', 'GoodsSearch', '', '14', '0', '', '1534156400'), ('440', '438', '仓库商品库存编辑页面', 'WarehouseGoods', 'InventoryInfo', '', '17', '0', '', '1534156400'), ('441', '438', '仓库商品库存编辑', 'WarehouseGoods', 'InventorySave', '', '18', '0', '', '0'), ('442', '182', '支付日志关闭', 'PayLog', 'Close', '', '22', '0', '', '1593355200'), ('443', '222', '快捷导航', 'QuickNav', 'Index', '', '90', '1', '', '1542558318'), ('444', '222', '快捷导航添加/编辑页面', 'QuickNav', 'SaveInfo', '', '91', '0', '', '1542558686'), ('445', '222', '快捷导航添加/编辑', 'QuickNav', 'Save', '', '92', '0', '', '1542558706'), ('446', '222', '快捷导航状态更新', 'QuickNav', 'StatusUpdate', '', '93', '0', '', '1542558747'), ('447', '222', '快捷导航删除', 'QuickNav', 'Delete', '', '94', '0', '', '1542558767'), ('448', '222', '快捷导航详情', 'QuickNav', 'Detail', '', '95', '0', '', '1592652323'), ('449', '182', '支付请求日志列表', 'PayRequestLog', 'Index', '', '25', '0', '', '1593355200'), ('450', '182', '支付请求日志详情', 'PayRequestLog', 'Detail', '', '26', '0', '', '1593355200'), ('451', '126', '用户地址', 'UserAddress', 'Index', '', '10', '1', '', '1490794316'), ('452', '126', '用户地址编辑页面', 'UserAddress', 'SaveInfo', '', '11', '0', '', '1490794510'), ('453', '126', '用户地址编辑', 'UserAddress', 'Save', '', '12', '0', '', '1490794510'), ('454', '126', '用户地址删除', 'UserAddress', 'Delete', '', '13', '0', '', '1591621569'), ('455', '126', '用户地址详情', 'UserAddress', 'Detail', '', '14', '0', '', '0'); COMMIT; -- ---------------------------- @@ -2107,7 +2107,7 @@ CREATE TABLE `s_user` ( -- Records of `s_user` -- ---------------------------- BEGIN; -INSERT INTO `s_user` VALUES ('1', '', '', '', '', '', '', '', '', '0', '189716', 'f4a89aa2deb020dff6e6f0379008c5d1', '', 'qqqqqq', '', '13222334444', '', '0', '', '', '', '0', '', '18', '0', '0', '0', '0', '1597930579', '1602568930'), ('2', '', 'oB6US5SNOngn196qzb3lagEBTh6w', '', '', 'Y0c5fqLqrvtNsovp0GsHezPUHf', '', '', '', '0', '', '', '3f78e52ac2db272759707381e741380e', '', '雨声', '17602128368', '', '2', 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLyAtj7FMjZYFhr3FADapWV8TibSNWVRVYFmAEJGg4bYgw0WMx4cibF7Rfz2yl1Blta8K7r3qFF1nDw/132', 'Shanghai', '', '0', '', '0', '0', '0', '0', '0', '1599460239', '1602486928'), ('3', '', '', '', '', '', '', '27EEB7CAB1B5EF312BD73DAF41A7AA8D', '', '0', '', '', '520d2c479661a3ebc78da3a739370669', '', 'ShopXO@纵之格', '', '', '2', 'https://thirdqq.qlogo.cn/qqapp/1110736292/27EEB7CAB1B5EF312BD73DAF41A7AA8D/100', '上海', '', '0', '', '0', '0', '0', '0', '0', '1600519271', '1600524852'), ('4', '', '', '', '', '', '', '', '', '0', '927076', 'd4668670105d080758b5424d382e6a30', '', 'vvvvvv', '', '', '', '0', '', '', '', '0', '', '200', '0', '1', '0', '0', '1601216217', '1601216217'); +INSERT INTO `s_user` VALUES ('1', '', '', '', '', '', '', '', '', '0', '344872', '8b97e98e5ca3969fc182c93d6deb5819', '', 'qqqqqq', '', '13222334444', '', '0', '', '', '', '0', '', '18', '0', '0', '0', '0', '1597930579', '1602582202'), ('2', '', 'oB6US5SNOngn196qzb3lagEBTh6w', '', '', 'Y0c5fqLqrvtNsovp0GsHezPUHf', '', '', '', '0', '', '', '3f78e52ac2db272759707381e741380e', '', '雨声', '17602128368', '', '2', 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLyAtj7FMjZYFhr3FADapWV8TibSNWVRVYFmAEJGg4bYgw0WMx4cibF7Rfz2yl1Blta8K7r3qFF1nDw/132', 'Shanghai', '', '0', '', '0', '0', '0', '0', '0', '1599460239', '1602486928'), ('3', '', '', '', '', '', '', '27EEB7CAB1B5EF312BD73DAF41A7AA8D', '', '0', '', '', '520d2c479661a3ebc78da3a739370669', '', 'ShopXO@纵之格', '', '', '2', 'https://thirdqq.qlogo.cn/qqapp/1110736292/27EEB7CAB1B5EF312BD73DAF41A7AA8D/100', '上海', '', '0', '', '0', '0', '0', '0', '0', '1600519271', '1600524852'), ('4', '', '', '', '', '', '', '', '', '0', '927076', 'd4668670105d080758b5424d382e6a30', '', 'vvvvvv', '', '', '', '0', '', '', '', '0', '', '200', '0', '1', '0', '0', '1601216217', '1601216217'); COMMIT; -- ---------------------------- @@ -2137,13 +2137,13 @@ CREATE TABLE `s_user_address` ( PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `is_delete_time` (`is_delete_time`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户地址'; +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户地址'; -- ---------------------------- -- Records of `s_user_address` -- ---------------------------- BEGIN; -INSERT INTO `s_user_address` VALUES ('1', '2', '', '二哥', '15677888855', '10', '162', '2036', '洪武路街道户部街33号天之都大厦2812室胖轩哥哥的相馆(户部街店)', '0.0000000000', '0.0000000000', '', '', '', '', '0', '0', '1600674937', '0'), ('2', '1', '地铁站', 'devil', '13222333322', '9', '155', '1937', '广兰路地铁站', '121.6278470000', '31.2164950000', '龚福祥', '522228199992223213', '/static/upload/images/user_address/1/2020/10/13/1602558277425213.jpg', '/static/upload/images/user_address/1/2020/10/13/1602558287496754.jpg', '1', '0', '1602558471', '1602565301'), ('3', '1', '', 'df', '14566666666', '3', '75', '1165', 'ww', '119.7824350000', '39.9844460000', '', '', '', '', '0', '0', '1602565772', '0'); +INSERT INTO `s_user_address` VALUES ('4', '2', '公司', 'devil', '13222333322', '3', '75', '1165', 'wre二娥温柔', '121.5440900000', '31.2211400000', '龚福祥22', '522228199100222233', '/static/upload/images/user_address/0/2020/10/13/1602586193104168.jpg', '', '0', '0', '1602572103', '1602668842'), ('5', '2', '', 'ewew3434234', '13222223333', '1', '37', '567', 'sadsaf', '121.5440900000', '31.2211400000', '', '', '', '', '0', '1602573740', '1602573488', '1602669362'); COMMIT; -- ---------------------------- diff --git a/public/static/index/default/images/default-idcard-back.jpg b/public/static/common/images/default-idcard-back.jpg similarity index 100% rename from public/static/index/default/images/default-idcard-back.jpg rename to public/static/common/images/default-idcard-back.jpg diff --git a/public/static/index/default/images/default-idcard-front.jpg b/public/static/common/images/default-idcard-front.jpg similarity index 100% rename from public/static/index/default/images/default-idcard-front.jpg rename to public/static/common/images/default-idcard-front.jpg diff --git a/sourcecode/alipay/app.acss b/sourcecode/alipay/app.acss index e05d21a91..0c7b084d0 100644 --- a/sourcecode/alipay/app.acss +++ b/sourcecode/alipay/app.acss @@ -297,6 +297,9 @@ textarea { .form-container .form-gorup-text { padding: 20rpx 10rpx; } +.form-container .form-gorup .switch { + margin: 30rpx 0 20rpx 0; +} /** * 表单图片上传 diff --git a/sourcecode/alipay/app.js b/sourcecode/alipay/app.js index ea53a6ec1..a2381a1ca 100644 --- a/sourcecode/alipay/app.js +++ b/sourcecode/alipay/app.js @@ -24,6 +24,9 @@ App({ // 用户传入信息缓存key cache_launch_info_key: "cache_shop_launch_info_key", + // 获取位置选择缓存key + cache_userlocation_key: "cache_userlocation_key", + // 默认用户头像 default_user_head_src: "/images/default-user.png", @@ -71,7 +74,7 @@ App({ // 请求地址 request_url: "{{request_url}}", request_url: 'http://shopxo.com/', - request_url: 'http://dev.shopxo.net/', + request_url: 'https://dev.shopxo.net/', // 基础信息 application_title: "{{application_title}}", @@ -863,11 +866,34 @@ App({ }, /** - * 百度坐标BD-09到火星坐标GCJ02(高德,谷歌,腾讯坐标) - * object 回调操作对象 - * method 回调操作对象的函数 + * 火星坐标GCJ02到百度坐标BD-09(高德,谷歌,腾讯坐标 -> 百度) + * lng 经度 + * lat 纬度 + */ + map_gcj_to_bd(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat); +   let x_pi = 3.14159265358979324 * 3000.0 / 180.0; +   let x = lng; +   let y = lat; +   let z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * x_pi); +   let theta = Math.atan2(y, x) + 0.000003 * Math.cos(x * x_pi); +   let lngs = z * Math.cos(theta) + 0.0065; +   let lats = z * Math.sin(theta) + 0.006; +   return { +     lng: lngs, +     lat: lats +   }; + }, + + /** + * 百度坐标BD-09到火星坐标GCJ02(百度 -> 高德,谷歌,腾讯坐标) + * lng 经度 + * lat 纬度 */ map_bd_to_gcj(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat);   let x_pi = 3.14159265358979324 * 3000.0 / 180.0;   let x = lng - 0.0065;   let y = lat - 0.006; @@ -894,11 +920,15 @@ App({ this.showToast('坐标有误'); return false; } + if((address || null) == null) { + this.showToast('地址有误'); + return false; + } // 转换坐标打开位置 - var position = this.map_bd_to_gcj(parseFloat(lng), parseFloat(lat)); + var position = this.map_bd_to_gcj(lng, lat); my.openLocation({ - name: name || '', + name: name || '当前位置', address: address || '', scale: scale || 18, longitude: position.lng, diff --git a/sourcecode/alipay/images/default-idcard-back.jpg b/sourcecode/alipay/images/default-idcard-back.jpg new file mode 100644 index 000000000..84734ce9b Binary files /dev/null and b/sourcecode/alipay/images/default-idcard-back.jpg differ diff --git a/sourcecode/alipay/images/default-idcard-front.jpg b/sourcecode/alipay/images/default-idcard-front.jpg new file mode 100644 index 000000000..cea1c581f Binary files /dev/null and b/sourcecode/alipay/images/default-idcard-front.jpg differ diff --git a/sourcecode/alipay/pages/buy/buy.js b/sourcecode/alipay/pages/buy/buy.js index f3fb198c5..31f1e825f 100644 --- a/sourcecode/alipay/pages/buy/buy.js +++ b/sourcecode/alipay/pages/buy/buy.js @@ -392,7 +392,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/alipay/pages/common/open-setting-location/open-setting-location.js b/sourcecode/alipay/pages/common/open-setting-location/open-setting-location.js index ad78b2c39..a9b8c0e84 100644 --- a/sourcecode/alipay/pages/common/open-setting-location/open-setting-location.js +++ b/sourcecode/alipay/pages/common/open-setting-location/open-setting-location.js @@ -3,7 +3,7 @@ Page({ data: { params: null, is_show_open_setting: false, - cache_key: 'cache_userlocation_key', + cache_key: app.data.cache_userlocation_key, }, onLoad: function (params) { @@ -20,6 +20,9 @@ Page({ choose_location() { my.chooseLocation({ success: res => { + var position = app.map_gcj_to_bd(res.longitude, res.latitude); + res.longitude = position.lng; + res.latitude = position.lat; my.setStorageSync({key: this.data.cache_key, data: res}); my.navigateBack(); }, diff --git a/sourcecode/alipay/pages/extraction-address/extraction-address.js b/sourcecode/alipay/pages/extraction-address/extraction-address.js index 0ca908fbc..5782708f7 100644 --- a/sourcecode/alipay/pages/extraction-address/extraction-address.js +++ b/sourcecode/alipay/pages/extraction-address/extraction-address.js @@ -115,7 +115,7 @@ Page({ } // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/alipay/pages/plugins/distribution/extraction-apply/extraction-apply.js b/sourcecode/alipay/pages/plugins/distribution/extraction-apply/extraction-apply.js index f548a0a31..9a9a68dbb 100644 --- a/sourcecode/alipay/pages/plugins/distribution/extraction-apply/extraction-apply.js +++ b/sourcecode/alipay/pages/plugins/distribution/extraction-apply/extraction-apply.js @@ -20,7 +20,7 @@ Page({ city_value: null, county_value: null, - user_location_cache_key: 'cache_userlocation_key', + user_location_cache_key: app.data.cache_userlocation_key, user_location: null, form_submit_disabled_status: false, @@ -92,8 +92,8 @@ Page({ }); // 地理位置 - var lng = (data.lng || 0) <= 0 ? null : data.lng; - var lat = (data.lat || 0) <= 0 ? null : data.lat; + var lng = data.lng || null; + var lat = data.lat || null; if (lng != null && lat != null) { self.setData({ user_location: { @@ -175,7 +175,6 @@ Page({ // 获取市 get_city_list() { var self = this; - console.log(self.data.province_id) if (self.data.province_id) { my.request({ url: app.get_request_url("index", "region"), @@ -330,11 +329,22 @@ Page({ form_data["county"] = self.data.county_id; // 地理位置 - if ((self.data.user_location || null) != null) - { - form_data["lng"] = self.data.user_location.lng || 0; - form_data["lat"] = self.data.user_location.lat || 0; + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; } + if((self.data.extraction_data || null) != null) { + if((lng || null) == null) { + lng = self.data.extraction_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.extraction_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; // 验证提交表单 if (app.fields_check(form_data, validation)) { diff --git a/sourcecode/alipay/pages/plugins/distribution/extraction/extraction.js b/sourcecode/alipay/pages/plugins/distribution/extraction/extraction.js index 150e78759..98116b577 100644 --- a/sourcecode/alipay/pages/plugins/distribution/extraction/extraction.js +++ b/sourcecode/alipay/pages/plugins/distribution/extraction/extraction.js @@ -95,7 +95,7 @@ Page({ var data = this.data.extraction; // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/alipay/pages/user-address-save/user-address-save.acss b/sourcecode/alipay/pages/user-address-save/user-address-save.acss index 947a112bf..6c0f2f315 100755 --- a/sourcecode/alipay/pages/user-address-save/user-address-save.acss +++ b/sourcecode/alipay/pages/user-address-save/user-address-save.acss @@ -1,34 +1,39 @@ -/* 填写信息 */ -.person-box{ - padding: 20rpx 0; -} -.person-box input{ - height: 100rpx; - line-height: 100rpx; - font-size: 28rpx; -} -.addressee .addressee-name{ - width: 250rpx; +/* + * 三级联动 + */ +.select-address { box-sizing: border-box; -} -.addressee .addressee-phone{ - box-sizing: border-box; - width: calc(100% - 250rpx); -} -/* 三级联动 */ -.select-address{ - box-sizing: border-box; - height: 100rpx; - line-height: 100rpx; + height: 70rpx; + line-height: 70rpx; padding: 0 10rpx; } -.select-address .section{ - width: 33%; +.select-address .section { + width: 33.33%; box-sizing: border-box; +} +.select-address .section:not(:first-child) { padding: 0 5rpx; } -/* end 三级联动 */ -.addressee-address{ - box-sizing: border-box; - width: 100%; + +/* + * 表单 + */ +.page { + padding-bottom: 85rpx; } +.submit-bottom { + z-index: 2; +} + +/* + * 身份信息 + */ +.idcard-container { + background: #e0e0e0; + padding: 30rpx; +} +.idcard-container .form-upload-data .item image { + width: 256rpx; + height: 170rpx; + border: 1px dashed #c2c2c2; +} \ No newline at end of file diff --git a/sourcecode/alipay/pages/user-address-save/user-address-save.axml b/sourcecode/alipay/pages/user-address-save/user-address-save.axml index 375fdc871..89d99740f 100755 --- a/sourcecode/alipay/pages/user-address-save/user-address-save.axml +++ b/sourcecode/alipay/pages/user-address-save/user-address-save.axml @@ -1,39 +1,88 @@ -
- - - - + + + + 别名选填 + - - - - - {{province_list[province_value].name || default_province}} + + 联系人必填 + + + + + 联系电话必填 + + + + + 省市区必选 + + + + {{province_list[province_value].name || default_province}} - - - {{city_list[city_value].name || default_city}} - - 请先选择省份 - - - {{county_list[county_value].name || default_county}} + + {{city_list[city_value].name || default_city}} - 请先选择城市 + 请先选择省份 + + + + {{county_list[county_value].name || default_county}} + + 请先选择城市 + - - - + + 详细地址必填 + + - - + + 地理位置必选 + + 请选择地理位置 + {{((user_location || null) != null && (user_location.name || null) != null) ? user_location.name+' ' : ''}}{{user_location.address || address_data.address || ''}} + + - - - + + 是否默认选填 + + + + + + + + + 身份证姓名选填,请务必与上传的身份证件姓名保持一致 + + + + 身份证号码选填,请务必与上传的身份证件号码保持一致 + + + + 身份证照片选填,请使用身份证原件拍摄,图片要清晰 + + + x + + + + x + + + + + + + + \ No newline at end of file diff --git a/sourcecode/alipay/pages/user-address-save/user-address-save.js b/sourcecode/alipay/pages/user-address-save/user-address-save.js index f02e294b8..e8b0d616a 100644 --- a/sourcecode/alipay/pages/user-address-save/user-address-save.js +++ b/sourcecode/alipay/pages/user-address-save/user-address-save.js @@ -1,22 +1,18 @@ const app = getApp(); - Page({ data: { - data_list_loding_status: 1, - data_list_loding_msg: '处理错误', params: null, - - name : '', - tel : '', - address: '', - is_default: 0, - province_id: null, - city_id: null, - county_id: null, - + data_list_loding_status: 1, + data_list_loding_msg: '', + editor_path_type: '', + address_data: null, province_list: [], city_list: [], county_list: [], + province_id: null, + city_id: null, + county_id: null, + idcard_images_data: {}, default_province: "请选择省", default_city: "请选择市", @@ -25,13 +21,18 @@ Page({ province_value: null, city_value: null, county_value: null, + + user_location_cache_key: app.data.cache_userlocation_key, + user_location: null, + + form_submit_disabled_status: false, }, onLoad(params) { - this.setData({params: params}); + this.setData({ params: params }); }, - onShow() { + onReady: function () { if((this.data.params.id || null) == null) { var title = app.data.common_pages_title.user_address_save_add; @@ -39,9 +40,16 @@ Page({ var title = app.data.common_pages_title.user_address_save_edit; } my.setNavigationBar({title: title}); + + // 清除位置缓存信息 + my.removeStorage({key: this.data.user_location_cache_key}); this.init(); }, + onShow() { + this.user_location_init(); + }, + init() { var user = app.get_user_info(this, "init"); if (user != false) { @@ -56,19 +64,8 @@ Page({ }); return false; } else { - this.setData({ - data_list_loding_status: 0, - data_list_loding_msg: '', - }); - - // 获取地址数据 - if((this.data.params.id || null) != null) - { - this.get_user_address(); - } - - // 获取省 this.get_province_list(); + this.get_data(); } } else { this.setData({ @@ -78,52 +75,95 @@ Page({ } }, - // 获取用户地址 - get_user_address() { + // 获取数据 + get_data() { var self = this; - // 加载loding - my.showLoading({ content: "加载中..." }); - my.request({ url: app.get_request_url("detail", "useraddress"), method: "POST", data: self.data.params, dataType: "json", - headers: { 'content-type': 'application/x-www-form-urlencoded' }, + header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { - my.hideLoading(); if (res.data.code == 0) { - var data = res.data.data; + var data = res.data.data || null; + var ads_data = data.data || null; + var idcard_images = { + idcard_front: (ads_data == null) ? '' : ads_data.idcard_front || '', + idcard_back: (ads_data == null) ? '' : ads_data.idcard_back || '', + }; + self.setData({ + address_data: ads_data, + idcard_images_data: idcard_images, + editor_path_type: data.editor_path_type || '', + }); + + // 数据设置 + if(ads_data != null) + { self.setData({ - name: data.name, - tel: data.tel, - address: data.address, - province_id: data.province, - city_id: data.city, - county_id: data.county, - is_default: data.is_default || 0, + province_id: ads_data.province || null, + city_id: ads_data.city || null, + county_id: ads_data.county || null, }); - self.get_city_list(); - self.get_county_list(); + // 地理位置 + var lng = ads_data.lng || null; + var lat = ads_data.lat || null; + if (lng != null && lat != null) + { + self.setData({ user_location: { + lng: lng, + lat: lat, + address: ads_data.address || '', + }}); + } + } + + // 获取城市、区县 + self.get_city_list(); + self.get_county_list(); - setTimeout(function() { - self.init_value(); - }, 500); + // 半秒后初始化数据 + setTimeout(function () { + self.init_region_value(); + }, 500); } else { - if (app.is_login_check(res.data, self, 'get_user_address')) { + if (app.is_login_check(res.data)) { app.showToast(res.data.msg); } } }, fail: () => { - my.hideLoading(); - app.showToast('服务器请求出错'); + app.showToast("省份信息失败"); } }); }, - // 获取选择的省市区 + // 地区数据初始化 + init_region_value() { + this.setData({ + province_value: this.get_region_value("province_list", "province_id"), + city_value: this.get_region_value("city_list", "city_id"), + county_value: this.get_region_value("county_list", "county_id"), + }); + }, + + // 地区初始化匹配索引 + get_region_value(list, id) { + var data = this.data[list]; + var data_id = this.data[id]; + var value = null; + data.forEach((d, i) => { + if (d.id == data_id) { + value = i; + return false; + } + }); + return value; + }, + + // 获取省份 get_province_list() { var self = this; my.request({ @@ -131,7 +171,7 @@ Page({ method: "POST", data: {}, dataType: "json", - headers: { 'content-type': 'application/x-www-form-urlencoded' }, + header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { if (res.data.code == 0) { var data = res.data.data; @@ -143,11 +183,12 @@ Page({ } }, fail: () => { - app.showToast('服务器请求出错'); + app.showToast("省份获取失败"); } }); }, + // 获取市 get_city_list() { var self = this; if (self.data.province_id) { @@ -158,7 +199,7 @@ Page({ pid: self.data.province_id }, dataType: "json", - headers: { 'content-type': 'application/x-www-form-urlencoded' }, + header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { if (res.data.code == 0) { var data = res.data.data; @@ -170,12 +211,13 @@ Page({ } }, fail: () => { - app.showToast('服务器请求出错'); + app.showToast("城市获取失败"); } }); } }, + // 获取区/县 get_county_list() { var self = this; if (self.data.city_id) { @@ -187,7 +229,7 @@ Page({ pid: self.data.city_id }, dataType: "json", - headers: { 'content-type': 'application/x-www-form-urlencoded' }, + header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { if (res.data.code == 0) { var data = res.data.data; @@ -199,19 +241,19 @@ Page({ } }, fail: () => { - app.showToast('服务器请求出错'); + app.showToast("区/县获取失败"); } }); } }, - select_province(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.province_list[value]; + // 省份事件 + select_province_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.province_list[index]; this.setData({ - province_value: value, + province_value: index, province_id: data.id, city_value: null, county_value: null, @@ -222,13 +264,13 @@ Page({ } }, - select_city(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.city_list[value]; + // 市事件 + select_city_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.city_list[index]; this.setData({ - city_value: value, + city_value: index, city_id: data.id, county_value: null, county_id: null @@ -237,83 +279,197 @@ Page({ } }, - select_county(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.county_list[value]; + // 区/县事件 + select_county_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.county_list[index]; this.setData({ - county_value: value, + county_value: index, county_id: data.id }); } }, - init_value() { - var province_value = this.get_init_value("province_list", "province_id"), - city_value = this.get_init_value("city_list", "city_id"), - county_value = this.get_init_value("county_list", "county_id"); - this.setData({ - province_value: province_value, - city_value: city_value, - county_value: county_value + // 省市区未按照顺序选择提示 + region_select_error_event(e) { + var value = e.currentTarget.dataset.value || null; + if (value != null) { + app.showToast(value); + } + }, + + // 选择地理位置 + choose_location_event(e) { + my.navigateTo({ + url: '/pages/common/open-setting-location/open-setting-location' }); }, - get_init_value(list, id) { - var data = this.data[list], - data_id = this.data[id], - value; - data.forEach((d, i) => { - if (d.id == data_id) { - value = i; - return false; + // 地址信息初始化 + user_location_init() { + var result = my.getStorageSync({key: this.data.user_location_cache_key}) || null; + var data = null; + if (result != null && (result.data || null) != null) + { + data = { + name: result.data.name || null, + address: result.data.address || null, + lat: result.data.latitude || null, + lng: result.data.longitude || null + } + } + this.setData({user_location: data}); + }, + + // 文件上传 + file_upload_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + my.chooseImage({ + count: 1, + success(res) { + var success = 0; + var fail = 0; + var length = res.tempFilePaths.length; + var count = 0; + self.upload_one_by_one(res.tempFilePaths, success, fail, count, length, form_name); + } + }); + }, + + // 采用递归的方式上传多张 + upload_one_by_one(img_paths, success, fail, count, length, form_name) { + var self = this; + my.uploadFile({ + url: app.get_request_url("index", "ueditor"), + filePath: img_paths[count], + fileName: 'upfile', + fileType: 'image', + formData: { + action: 'uploadimage', + path_type: self.data.editor_path_type + }, + success: function (res) { + success++; + if (res.statusCode == 200) { + var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data); + if (data.code == 0 && (data.data.url || null) != null) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = data.data.url; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } else { + app.showToast(data.msg); + } + } + }, + fail: function (e) { + fail++; + }, + complete: function (e) { + count++; // 下一张 + if (count >= length) { + // 上传完毕,作一下提示 + //app.showToast('上传成功' + success +'张', 'success'); + } else { + // 递归调用,上传下一张 + self.upload_one_by_one(img_paths, success, fail, count, length, form_name); + } + } + }); + }, + + // 图片删除 + upload_delete_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + my.showModal({ + title: '温馨提示', + content: '删除后不可恢复、继续吗?', + success(res) { + if (res.confirm) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = ''; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } } }); - return value; }, // 数据提交 form_submit(e) { - var self = this, - data = self.data; + var self = this; // 表单数据 var form_data = e.detail.value; // 数据校验 var validation = [ - { fields: "name", msg: "请填写姓名" }, - { fields: "tel", msg: "请填写手机号" }, + { fields: "name", msg: "请填写联系人" }, + { fields: "tel", msg: "请填写联系电话" }, { fields: "province", msg: "请选择省份" }, { fields: "city", msg: "请选择城市" }, { fields: "county", msg: "请选择区县" }, - { fields: "address", msg: "请填写详细地址" } + { fields: "address", msg: "请填写详细地址" }, + { fields: "lng", msg: "请选择地理位置" }, + { fields: "lat", msg: "请选择地理位置" } ]; - form_data["province"] = data.province_id; - form_data["city"] = data.city_id; - form_data["county"] = data.county_id; + form_data["province"] = self.data.province_id; + form_data["city"] = self.data.city_id; + form_data["county"] = self.data.county_id; form_data["id"] = self.data.params.id || 0; - form_data["is_default"] = self.data.is_default || 0; + form_data["is_default"] = form_data.is_default == true ? 1 : 0; + form_data['idcard_front'] = self.data.idcard_images_data.idcard_front || ''; + form_data['idcard_back'] = self.data.idcard_images_data.idcard_back || ''; + // 地理位置 + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; + } + if((self.data.address_data || null) != null) { + if((lng || null) == null) { + lng = self.data.address_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.address_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; + + // 验证提交表单 if (app.fields_check(form_data, validation)) { - // 加载loding + // 数据保存 + self.setData({ form_submit_disabled_status: true }); my.showLoading({ content: "处理中..." }); - my.request({ url: app.get_request_url("save", "useraddress"), method: "POST", data: form_data, dataType: "json", - headers: { 'content-type': 'application/x-www-form-urlencoded' }, + header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { my.hideLoading(); if (res.data.code == 0) { - app.showToast(res.data.msg, 'success'); - setTimeout(function() { + app.showToast(res.data.msg, "success"); + setTimeout(function () { my.navigateBack(); }, 1000); } else { + self.setData({ form_submit_disabled_status: false }); if (app.is_login_check(res.data)) { app.showToast(res.data.msg); } else { @@ -322,19 +478,11 @@ Page({ } }, fail: () => { + self.setData({ form_submit_disabled_status: false }); my.hideLoading(); - app.showToast('服务器请求出错'); + app.showToast("服务器请求出错"); } }); } }, - - // 省市区未按照顺序选择提示 - region_select_error_event(e) { - var value = e.currentTarget.dataset.value || null; - if(value != null) - { - app.showToast(value); - } - } }); diff --git a/sourcecode/alipay/pages/user-address/user-address.acss b/sourcecode/alipay/pages/user-address/user-address.acss index 901382d49..7f61e2905 100644 --- a/sourcecode/alipay/pages/user-address/user-address.acss +++ b/sourcecode/alipay/pages/user-address/user-address.acss @@ -8,6 +8,13 @@ width: 30rpx; height: 35rpx !important; } +.address-alias { + border: 1px solid #d2364c; + color: #d2364c; + padding: 2rpx 10rpx; + border-radius: 6rpx; + margin-right: 10rpx; +} .address .text { line-height: 44rpx; width: calc(100% - 40rpx); @@ -21,8 +28,8 @@ margin-right: 10rpx; vertical-align: middle; } -.operation .delete-submit { - margin-left: 20rpx; +.operation .submit-items button:not(:last-child) { + margin-right: 20rpx; } .page { padding-bottom: 85rpx; diff --git a/sourcecode/alipay/pages/user-address/user-address.axml b/sourcecode/alipay/pages/user-address/user-address.axml index 00e2ae635..91e8ebf7d 100755 --- a/sourcecode/alipay/pages/user-address/user-address.axml +++ b/sourcecode/alipay/pages/user-address/user-address.axml @@ -3,6 +3,7 @@ + {{item.alias}} {{item.name}} {{item.tel}} @@ -17,10 +18,11 @@ 设为默认地址 - - - - + + + + + diff --git a/sourcecode/alipay/pages/user-address/user-address.js b/sourcecode/alipay/pages/user-address/user-address.js index b493b4744..993d78a2d 100644 --- a/sourcecode/alipay/pages/user-address/user-address.js +++ b/sourcecode/alipay/pages/user-address/user-address.js @@ -10,11 +10,11 @@ Page({ onLoad(params) { this.setData({params: params}); - this.init(); }, onShow() { my.setNavigationBar({title: app.data.common_pages_title.user_address}); + this.init(); }, // 初始化 @@ -285,5 +285,37 @@ Page({ } }); }, + + // 地址编辑 + address_edit_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 进入编辑页面 + my.navigateTo({ + url: '/pages/user-address-save/user-address-save?id='+data.id + }); + }, + + // 地图查看 + address_map_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 打开地图 + var name = data.alias || data.name || ''; + var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); + app.open_location(data.lng, data.lat, name, address); + }, }); diff --git a/sourcecode/alipay/pages/user-order-detail/user-order-detail.js b/sourcecode/alipay/pages/user-order-detail/user-order-detail.js index 470f9f56f..c8bfa74f9 100644 --- a/sourcecode/alipay/pages/user-order-detail/user-order-detail.js +++ b/sourcecode/alipay/pages/user-order-detail/user-order-detail.js @@ -145,7 +145,7 @@ Page({ var data = this.data.detail.address_data; // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/baidu/app.css b/sourcecode/baidu/app.css index 501c9cc76..99360b475 100755 --- a/sourcecode/baidu/app.css +++ b/sourcecode/baidu/app.css @@ -365,6 +365,9 @@ button[disabled].bg-primary { .form-container .form-gorup-text { padding: 20rpx 10rpx; } +.form-container .form-gorup .switch { + margin: 30rpx 0 20rpx 0; +} /** * 表单图片上传 diff --git a/sourcecode/baidu/app.js b/sourcecode/baidu/app.js index 8c96a1d01..68b8f19f9 100755 --- a/sourcecode/baidu/app.js +++ b/sourcecode/baidu/app.js @@ -24,6 +24,9 @@ App({ // 用户传入信息缓存key cache_launch_info_key: "cache_shop_launch_info_key", + // 获取位置选择缓存key + cache_userlocation_key: "cache_userlocation_key", + // 默认用户头像 default_user_head_src: "/images/default-user.png", @@ -778,11 +781,34 @@ App({ }, /** - * 百度坐标BD-09到火星坐标GCJ02(高德,谷歌,腾讯坐标) - * object 回调操作对象 - * method 回调操作对象的函数 + * 火星坐标GCJ02到百度坐标BD-09(高德,谷歌,腾讯坐标 -> 百度) + * lng 经度 + * lat 纬度 + */ + map_gcj_to_bd(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat); +   let x_pi = 3.14159265358979324 * 3000.0 / 180.0; +   let x = lng; +   let y = lat; +   let z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * x_pi); +   let theta = Math.atan2(y, x) + 0.000003 * Math.cos(x * x_pi); +   let lngs = z * Math.cos(theta) + 0.0065; +   let lats = z * Math.sin(theta) + 0.006; +   return { +     lng: lngs, +     lat: lats +   }; + }, + + /** + * 百度坐标BD-09到火星坐标GCJ02(百度 -> 高德,谷歌,腾讯坐标) + * lng 经度 + * lat 纬度 */ map_bd_to_gcj(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat); let x_pi = 3.14159265358979324 * 3000.0 / 180.0; let x = lng - 0.0065; let y = lat - 0.006; @@ -809,11 +835,15 @@ App({ this.showToast('坐标有误'); return false; } + if((address || null) == null) { + this.showToast('地址有误'); + return false; + } // 转换坐标打开位置 - var position = this.map_bd_to_gcj(parseFloat(lng), parseFloat(lat)); + var position = this.map_bd_to_gcj(lng, lat); swan.openLocation({ - name: name || '', + name: name || '当前位置', address: address || '', scale: scale || 18, longitude: position.lng, diff --git a/sourcecode/baidu/images/default-idcard-back.jpg b/sourcecode/baidu/images/default-idcard-back.jpg new file mode 100644 index 000000000..84734ce9b Binary files /dev/null and b/sourcecode/baidu/images/default-idcard-back.jpg differ diff --git a/sourcecode/baidu/images/default-idcard-front.jpg b/sourcecode/baidu/images/default-idcard-front.jpg new file mode 100644 index 000000000..cea1c581f Binary files /dev/null and b/sourcecode/baidu/images/default-idcard-front.jpg differ diff --git a/sourcecode/baidu/pages/buy/buy.js b/sourcecode/baidu/pages/buy/buy.js index 76b679d0f..49850dce9 100755 --- a/sourcecode/baidu/pages/buy/buy.js +++ b/sourcecode/baidu/pages/buy/buy.js @@ -362,7 +362,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); } diff --git a/sourcecode/baidu/pages/common/open-setting-location/open-setting-location.js b/sourcecode/baidu/pages/common/open-setting-location/open-setting-location.js index 265b03611..cc62fb3b6 100644 --- a/sourcecode/baidu/pages/common/open-setting-location/open-setting-location.js +++ b/sourcecode/baidu/pages/common/open-setting-location/open-setting-location.js @@ -4,7 +4,7 @@ Page({ params: null, is_show_open_setting: false, auth: 'scope.userLocation', - cache_key: 'cache_userlocation_key' + cache_key: app.data.cache_userlocation_key }, onLoad: function (params) { @@ -53,6 +53,9 @@ Page({ choose_location() { swan.chooseLocation({ success: res => { + var position = app.map_gcj_to_bd(res.longitude, res.latitude); + res.longitude = position.lng; + res.latitude = position.lat; swan.setStorageSync(this.data.cache_key, res); swan.navigateBack(); }, diff --git a/sourcecode/baidu/pages/extraction-address/extraction-address.js b/sourcecode/baidu/pages/extraction-address/extraction-address.js index 81f5c639c..18bd49b1f 100644 --- a/sourcecode/baidu/pages/extraction-address/extraction-address.js +++ b/sourcecode/baidu/pages/extraction-address/extraction-address.js @@ -114,7 +114,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/baidu/pages/plugins/distribution/extraction-apply/extraction-apply.js b/sourcecode/baidu/pages/plugins/distribution/extraction-apply/extraction-apply.js index 823323103..e0f354989 100644 --- a/sourcecode/baidu/pages/plugins/distribution/extraction-apply/extraction-apply.js +++ b/sourcecode/baidu/pages/plugins/distribution/extraction-apply/extraction-apply.js @@ -20,7 +20,7 @@ Page({ city_value: null, county_value: null, - user_location_cache_key: 'cache_userlocation_key', + user_location_cache_key: app.data.cache_userlocation_key, user_location: null, form_submit_disabled_status: false @@ -172,7 +172,6 @@ Page({ // 获取市 get_city_list() { var self = this; - console.log(self.data.province_id); if (self.data.province_id) { swan.request({ url: app.get_request_url("index", "region"), @@ -317,10 +316,22 @@ Page({ form_data["county"] = self.data.county_id; // 地理位置 - if ((self.data.user_location || null) != null) { - form_data["lng"] = self.data.user_location.lng || 0; - form_data["lat"] = self.data.user_location.lat || 0; + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; } + if((self.data.extraction_data || null) != null) { + if((lng || null) == null) { + lng = self.data.extraction_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.extraction_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; // 验证提交表单 if (app.fields_check(form_data, validation)) { diff --git a/sourcecode/baidu/pages/plugins/distribution/extraction/extraction.js b/sourcecode/baidu/pages/plugins/distribution/extraction/extraction.js index 547dd467c..c77a9882b 100644 --- a/sourcecode/baidu/pages/plugins/distribution/extraction/extraction.js +++ b/sourcecode/baidu/pages/plugins/distribution/extraction/extraction.js @@ -94,7 +94,7 @@ Page({ var data = this.data.extraction; // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/baidu/pages/user-address-save/user-address-save.css b/sourcecode/baidu/pages/user-address-save/user-address-save.css index 7aff2aeea..6c0f2f315 100755 --- a/sourcecode/baidu/pages/user-address-save/user-address-save.css +++ b/sourcecode/baidu/pages/user-address-save/user-address-save.css @@ -1,41 +1,39 @@ -/* 填写信息 */ -.person-box{ - padding: 20rpx 0; -} -.person-box input{ - height: 100rpx; - line-height: 100rpx; - font-size: 28rpx; - padding: 0 10rpx; - border-radius:0; -} -.addressee .addressee-name{ - width: 250rpx; +/* + * 三级联动 + */ +.select-address { box-sizing: border-box; -} -.addressee .addressee-phone{ - box-sizing: border-box; - width: calc(100% - 250rpx); -} -.submit-bottom { - border-radius: 0 !important; -} -/* 三级联动 */ -.select-address{ - box-sizing: border-box; - height: 100rpx; - line-height: 100rpx; + height: 70rpx; + line-height: 70rpx; padding: 0 10rpx; } .select-address .section { - width: 33%; + width: 33.33%; box-sizing: border-box; } .select-address .section:not(:first-child) { padding: 0 5rpx; } -/* end 三级联动 */ -.addressee-address{ - box-sizing: border-box; - width: 100%; + +/* + * 表单 + */ +.page { + padding-bottom: 85rpx; +} +.submit-bottom { + z-index: 2; +} + +/* + * 身份信息 + */ +.idcard-container { + background: #e0e0e0; + padding: 30rpx; +} +.idcard-container .form-upload-data .item image { + width: 256rpx; + height: 170rpx; + border: 1px dashed #c2c2c2; } \ No newline at end of file diff --git a/sourcecode/baidu/pages/user-address-save/user-address-save.js b/sourcecode/baidu/pages/user-address-save/user-address-save.js index 895880e9f..0e31fd9a8 100755 --- a/sourcecode/baidu/pages/user-address-save/user-address-save.js +++ b/sourcecode/baidu/pages/user-address-save/user-address-save.js @@ -1,22 +1,18 @@ const app = getApp(); - Page({ data: { - data_list_loding_status: 1, - data_list_loding_msg: '处理错误', params: null, - - name : '', - tel : '', - address: '', - is_default: 0, - province_id: null, - city_id: null, - county_id: null, - + data_list_loding_status: 1, + data_list_loding_msg: '', + editor_path_type: '', + address_data: null, province_list: [], city_list: [], county_list: [], + province_id: null, + city_id: null, + county_id: null, + idcard_images_data: {}, default_province: "请选择省", default_city: "请选择市", @@ -24,23 +20,36 @@ Page({ province_value: null, city_value: null, - county_value: null + county_value: null, + + user_location_cache_key: app.data.cache_userlocation_key, + user_location: null, + + form_submit_disabled_status: false, }, onLoad(params) { this.setData({ params: params }); }, - onShow() { - if ((this.data.params.id || null) == null) { + onReady: function () { + if((this.data.params.id || null) == null) + { var title = app.data.common_pages_title.user_address_save_add; } else { var title = app.data.common_pages_title.user_address_save_edit; } - swan.setNavigationBarTitle({ title: title }); + swan.setNavigationBarTitle({title: title}); + + // 清除位置缓存信息 + swan.removeStorage({key: this.data.user_location_cache_key}); this.init(); }, + onShow() { + this.user_location_init(); + }, + init() { var user = app.get_user_info(this, "init"); if (user != false) { @@ -55,14 +64,8 @@ Page({ }); return false; } else { - // 获取地址数据 - if((this.data.params.id || null) != null) - { - this.get_user_address(); - } - - // 获取省 this.get_province_list(); + this.get_data(); } } else { this.setData({ @@ -72,12 +75,9 @@ Page({ } }, - // 获取用户地址 - get_user_address() { + // 获取数据 + get_data() { var self = this; - // 加载loding - swan.showLoading({ title: "加载中..." }); - swan.request({ url: app.get_request_url("detail", "useraddress"), method: "POST", @@ -85,24 +85,48 @@ Page({ dataType: "json", header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { - swan.hideLoading(); if (res.data.code == 0) { - var data = res.data.data; + var data = res.data.data || null; + var ads_data = data.data || null; + var idcard_images = { + idcard_front: (ads_data == null) ? '' : ads_data.idcard_front || '', + idcard_back: (ads_data == null) ? '' : ads_data.idcard_back || '', + }; self.setData({ - name: data.name, - tel: data.tel, - address: data.address, - province_id: data.province, - city_id: data.city, - county_id: data.county, - is_default: data.is_default || 0 + address_data: ads_data, + idcard_images_data: idcard_images, + editor_path_type: data.editor_path_type || '', }); + // 数据设置 + if(ads_data != null) + { + self.setData({ + province_id: ads_data.province || null, + city_id: ads_data.city || null, + county_id: ads_data.county || null, + }); + + // 地理位置 + var lng = ads_data.lng || null; + var lat = ads_data.lat || null; + if (lng != null && lat != null) + { + self.setData({ user_location: { + lng: lng, + lat: lat, + address: ads_data.address || '', + }}); + } + } + + // 获取城市、区县 self.get_city_list(); self.get_county_list(); + // 半秒后初始化数据 setTimeout(function () { - self.init_value(); + self.init_region_value(); }, 500); } else { if (app.is_login_check(res.data)) { @@ -111,13 +135,35 @@ Page({ } }, fail: () => { - swan.hideLoading(); - app.showToast("服务器请求出错"); + app.showToast("省份信息失败"); } }); }, - // 获取选择的省市区 + // 地区数据初始化 + init_region_value() { + this.setData({ + province_value: this.get_region_value("province_list", "province_id"), + city_value: this.get_region_value("city_list", "city_id"), + county_value: this.get_region_value("county_list", "county_id"), + }); + }, + + // 地区初始化匹配索引 + get_region_value(list, id) { + var data = this.data[list]; + var data_id = this.data[id]; + var value = null; + data.forEach((d, i) => { + if (d.id == data_id) { + value = i; + return false; + } + }); + return value; + }, + + // 获取省份 get_province_list() { var self = this; swan.request({ @@ -137,11 +183,12 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("省份获取失败"); } }); }, + // 获取市 get_city_list() { var self = this; if (self.data.province_id) { @@ -164,12 +211,13 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("城市获取失败"); } }); } }, + // 获取区/县 get_county_list() { var self = this; if (self.data.city_id) { @@ -193,19 +241,19 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("区/县获取失败"); } }); } }, - select_province(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.province_list[value]; + // 省份事件 + select_province_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.province_list[index]; this.setData({ - province_value: value, + province_value: index, province_id: data.id, city_value: null, county_value: null, @@ -216,13 +264,13 @@ Page({ } }, - select_city(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.city_list[value]; + // 市事件 + select_city_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.city_list[index]; this.setData({ - city_value: value, + city_value: index, city_id: data.id, county_value: null, county_id: null @@ -231,62 +279,181 @@ Page({ } }, - select_county(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.county_list[value]; + // 区/县事件 + select_county_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.county_list[index]; this.setData({ - county_value: value, + county_value: index, county_id: data.id }); } }, - init_value() { - var province_value = this.get_init_value("province_list", "province_id"), - city_value = this.get_init_value("city_list", "city_id"), - county_value = this.get_init_value("county_list", "county_id"); - this.setData({ - province_value: province_value, - city_value: city_value, - county_value: county_value + // 省市区未按照顺序选择提示 + region_select_error_event(e) { + var value = e.currentTarget.dataset.value || null; + if (value != null) { + app.showToast(value); + } + }, + + // 选择地理位置 + choose_location_event(e) { + swan.navigateTo({ + url: '/pages/common/open-setting-location/open-setting-location' }); }, - get_init_value(list, id) { - var data = this.data[list], - data_id = this.data[id], - value; - data.forEach((d, i) => { - if (d.id == data_id) { - value = i; - return false; + // 地址信息初始化 + user_location_init() { + var result = swan.getStorageSync(this.data.user_location_cache_key) || null; + var data = null; + if (result != null) + { + data = { + name: result.name || null, + address: result.address || null, + lat: result.latitude || null, + lng: result.longitude || null + } + } + this.setData({user_location: data}); + }, + + // 文件上传 + file_upload_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + swan.chooseImage({ + count: 1, + success(res) { + var success = 0; + var fail = 0; + var length = res.tempFilePaths.length; + var count = 0; + self.upload_one_by_one(res.tempFilePaths, success, fail, count, length, form_name); + } + }); + }, + + // 采用递归的方式上传多张 + upload_one_by_one(img_paths, success, fail, count, length, form_name) { + var self = this; + swan.uploadFile({ + url: app.get_request_url("index", "ueditor"), + filePath: img_paths[count], + name: 'upfile', + formData: { + action: 'uploadimage', + path_type: self.data.editor_path_type + }, + success: function (res) { + success++; + if (res.statusCode == 200) { + var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data); + if (data.code == 0 && (data.data.url || null) != null) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = data.data.url; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } else { + app.showToast(data.msg); + } + } + }, + fail: function (e) { + fail++; + }, + complete: function (e) { + count++; // 下一张 + if (count >= length) { + // 上传完毕,作一下提示 + //app.showToast('上传成功' + success +'张', 'success'); + } else { + // 递归调用,上传下一张 + self.upload_one_by_one(img_paths, success, fail, count, length, form_name); + } + } + }); + }, + + // 图片删除 + upload_delete_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + swan.showModal({ + title: '温馨提示', + content: '删除后不可恢复、继续吗?', + success(res) { + if (res.confirm) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = ''; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } } }); - return value; }, // 数据提交 form_submit(e) { - var self = this, - data = self.data; + var self = this; // 表单数据 var form_data = e.detail.value; // 数据校验 - var validation = [{ fields: "name", msg: "请填写姓名" }, { fields: "tel", msg: "请填写手机号" }, { fields: "province", msg: "请选择省份" }, { fields: "city", msg: "请选择城市" }, { fields: "county", msg: "请选择区县" }, { fields: "address", msg: "请填写详细地址" }]; + var validation = [ + { fields: "name", msg: "请填写联系人" }, + { fields: "tel", msg: "请填写联系电话" }, + { fields: "province", msg: "请选择省份" }, + { fields: "city", msg: "请选择城市" }, + { fields: "county", msg: "请选择区县" }, + { fields: "address", msg: "请填写详细地址" }, + { fields: "lng", msg: "请选择地理位置" }, + { fields: "lat", msg: "请选择地理位置" } + ]; - form_data["province"] = data.province_id; - form_data["city"] = data.city_id; - form_data["county"] = data.county_id; + form_data["province"] = self.data.province_id; + form_data["city"] = self.data.city_id; + form_data["county"] = self.data.county_id; form_data["id"] = self.data.params.id || 0; - form_data["is_default"] = self.data.is_default || 0; + form_data["is_default"] = form_data.is_default == true ? 1 : 0; + form_data['idcard_front'] = self.data.idcard_images_data.idcard_front || ''; + form_data['idcard_back'] = self.data.idcard_images_data.idcard_back || ''; + // 地理位置 + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; + } + if((self.data.address_data || null) != null) { + if((lng || null) == null) { + lng = self.data.address_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.address_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; + + // 验证提交表单 if (app.fields_check(form_data, validation)) { - // 加载loding + // 数据保存 + self.setData({ form_submit_disabled_status: true }); swan.showLoading({ title: "处理中..." }); - swan.request({ url: app.get_request_url("save", "useraddress"), method: "POST", @@ -301,6 +468,7 @@ Page({ swan.navigateBack(); }, 1000); } else { + self.setData({ form_submit_disabled_status: false }); if (app.is_login_check(res.data)) { app.showToast(res.data.msg); } else { @@ -309,19 +477,11 @@ Page({ } }, fail: () => { + self.setData({ form_submit_disabled_status: false }); swan.hideLoading(); app.showToast("服务器请求出错"); } }); } }, - - // 省市区未按照顺序选择提示 - region_select_error_event(e) { - var value = e.currentTarget.dataset.value || null; - if(value != null) - { - app.showToast(value); - } - } -}); \ No newline at end of file +}); diff --git a/sourcecode/baidu/pages/user-address-save/user-address-save.swan b/sourcecode/baidu/pages/user-address-save/user-address-save.swan index 3547fa2b2..f3317f694 100755 --- a/sourcecode/baidu/pages/user-address-save/user-address-save.swan +++ b/sourcecode/baidu/pages/user-address-save/user-address-save.swan @@ -1,34 +1,88 @@ -
- - - - + + + + 别名选填 + - - - - - {{province_list[province_value].name || default_province}} + + 联系人必填 + + + + + 联系电话必填 + + + + + 省市区必选 + + + + {{province_list[province_value].name || default_province}} - - - {{city_list[city_value].name || default_city}} - - 请先选择省份 - - - {{county_list[county_value].name || default_county}} + + {{city_list[city_value].name || default_city}} - 请先选择城市 + 请先选择省份 + + + + {{county_list[county_value].name || default_county}} + + 请先选择城市 + - - - + + 详细地址必填 + + - - \ No newline at end of file + + 地理位置必选 + + 请选择地理位置 + {{((user_location || null) != null && (user_location.name || null) != null) ? user_location.name+' ' : ''}}{{user_location.address || address_data.address || ''}} + + + + + 是否默认选填 + + + + + + + + + 身份证姓名选填,请务必与上传的身份证件姓名保持一致 + + + + 身份证号码选填,请务必与上传的身份证件号码保持一致 + + + + 身份证照片选填,请使用身份证原件拍摄,图片要清晰 + + + x + + + + x + + + + + + + + + \ No newline at end of file diff --git a/sourcecode/baidu/pages/user-address/user-address.css b/sourcecode/baidu/pages/user-address/user-address.css index 8cba6cfbe..54bfefc87 100755 --- a/sourcecode/baidu/pages/user-address/user-address.css +++ b/sourcecode/baidu/pages/user-address/user-address.css @@ -28,8 +28,8 @@ margin-right: 10rpx; vertical-align: middle; } -.operation .delete-submit { - margin-left: 20rpx; +.operation .submit-items button:not(:last-child) { + margin-right: 20rpx; } .page { padding-bottom: 85rpx; diff --git a/sourcecode/baidu/pages/user-address/user-address.js b/sourcecode/baidu/pages/user-address/user-address.js index 3a3263e39..04ce3ab42 100755 --- a/sourcecode/baidu/pages/user-address/user-address.js +++ b/sourcecode/baidu/pages/user-address/user-address.js @@ -10,11 +10,11 @@ Page({ onLoad(params) { this.setData({ params: params }); - this.init(); }, onShow() { swan.setNavigationBarTitle({ title: app.data.common_pages_title.user_address }); + this.init(); }, // 初始化 @@ -270,4 +270,36 @@ Page({ }); }, + // 地址编辑 + address_edit_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 进入编辑页面 + swan.navigateTo({ + url: '/pages/user-address-save/user-address-save?id='+data.id + }); + }, + + // 地图查看 + address_map_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 打开地图 + var name = data.alias || data.name || ''; + var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); + app.open_location(data.lng, data.lat, name, address); + }, + }); \ No newline at end of file diff --git a/sourcecode/baidu/pages/user-address/user-address.swan b/sourcecode/baidu/pages/user-address/user-address.swan index 6e07874e8..80115a5b5 100755 --- a/sourcecode/baidu/pages/user-address/user-address.swan +++ b/sourcecode/baidu/pages/user-address/user-address.swan @@ -18,10 +18,11 @@ 设为默认地址 - - - - + + + + +
diff --git a/sourcecode/baidu/pages/user-order-detail/user-order-detail.js b/sourcecode/baidu/pages/user-order-detail/user-order-detail.js index 9072c7411..0d8932d6e 100755 --- a/sourcecode/baidu/pages/user-order-detail/user-order-detail.js +++ b/sourcecode/baidu/pages/user-order-detail/user-order-detail.js @@ -108,7 +108,7 @@ Page({ var data = this.data.detail.address_data; // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/qq/app.js b/sourcecode/qq/app.js index eb61f50b1..7661ba23f 100755 --- a/sourcecode/qq/app.js +++ b/sourcecode/qq/app.js @@ -24,6 +24,9 @@ App({ // 启动参数缓存key cache_launch_info_key: "cache_shop_launch_info_key", + // 获取位置选择缓存key + cache_userlocation_key: "cache_userlocation_key", + // 默认用户头像 default_user_head_src: "/images/default-user.png", @@ -781,11 +784,34 @@ App({ }, /** - * 百度坐标BD-09到火星坐标GCJ02(高德,谷歌,腾讯坐标) - * object 回调操作对象 - * method 回调操作对象的函数 + * 火星坐标GCJ02到百度坐标BD-09(高德,谷歌,腾讯坐标 -> 百度) + * lng 经度 + * lat 纬度 + */ + map_gcj_to_bd(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat); +   let x_pi = 3.14159265358979324 * 3000.0 / 180.0; +   let x = lng; +   let y = lat; +   let z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * x_pi); +   let theta = Math.atan2(y, x) + 0.000003 * Math.cos(x * x_pi); +   let lngs = z * Math.cos(theta) + 0.0065; +   let lats = z * Math.sin(theta) + 0.006; +   return { +     lng: lngs, +     lat: lats +   }; + }, + + /** + * 百度坐标BD-09到火星坐标GCJ02(百度 -> 高德,谷歌,腾讯坐标) + * lng 经度 + * lat 纬度 */ map_bd_to_gcj(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat);   let x_pi = 3.14159265358979324 * 3000.0 / 180.0;   let x = lng - 0.0065;   let y = lat - 0.006; @@ -812,11 +838,15 @@ App({ this.showToast('坐标有误'); return false; } + if((address || null) == null) { + this.showToast('地址有误'); + return false; + } // 转换坐标打开位置 - var position = this.map_bd_to_gcj(parseFloat(lng), parseFloat(lat)); + var position = this.map_bd_to_gcj(lng, lat); qq.openLocation({ - name: name || '', + name: name || '当前位置', address: address || '', scale: scale || 18, longitude: position.lng, diff --git a/sourcecode/qq/app.json b/sourcecode/qq/app.json index debee2e50..0a49bfd34 100755 --- a/sourcecode/qq/app.json +++ b/sourcecode/qq/app.json @@ -26,6 +26,7 @@ "pages/user-orderaftersale/user-orderaftersale", "pages/user-orderaftersale-detail/user-orderaftersale-detail", "pages/extraction-address/extraction-address", + "pages/common/open-setting-location/open-setting-location", "pages/plugins/coupon/index/index", "pages/plugins/coupon/user/user", "pages/plugins/wallet/user/user", diff --git a/sourcecode/qq/app.qss b/sourcecode/qq/app.qss index 675181f78..0630d04c3 100755 --- a/sourcecode/qq/app.qss +++ b/sourcecode/qq/app.qss @@ -373,6 +373,9 @@ button[disabled].bg-primary { .form-container .form-gorup-text { padding: 20rpx 10rpx; } +.form-container .form-gorup .switch { + margin: 30rpx 0 20rpx 0; +} /** * 表单图片上传 diff --git a/sourcecode/qq/images/default-idcard-back.jpg b/sourcecode/qq/images/default-idcard-back.jpg new file mode 100644 index 000000000..84734ce9b Binary files /dev/null and b/sourcecode/qq/images/default-idcard-back.jpg differ diff --git a/sourcecode/qq/images/default-idcard-front.jpg b/sourcecode/qq/images/default-idcard-front.jpg new file mode 100644 index 000000000..cea1c581f Binary files /dev/null and b/sourcecode/qq/images/default-idcard-front.jpg differ diff --git a/sourcecode/qq/pages/buy/buy.js b/sourcecode/qq/pages/buy/buy.js index b677f18c8..8665512ef 100755 --- a/sourcecode/qq/pages/buy/buy.js +++ b/sourcecode/qq/pages/buy/buy.js @@ -379,7 +379,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/qq/pages/common/open-setting-location/open-setting-location.js b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.js new file mode 100644 index 000000000..098c328ea --- /dev/null +++ b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.js @@ -0,0 +1,64 @@ +const app = getApp(); +Page({ + data: { + params: null, + is_show_open_setting: false, + auth: 'scope.userLocation', + cache_key: app.data.cache_userlocation_key, + }, + + onLoad: function (params) { + this.setData({ params: params }); + this.init(); + }, + + // 获取权限 + init() { + var self = this; + qq.getSetting({ + success(res) { + if (!res.authSetting[self.data.auth]) { + qq.authorize({ + scope: self.data.auth, + success(res) { + self.choose_location(); + }, + fail: (res) => { + self.setData({ is_show_open_setting: true }); + } + }) + } else { + self.choose_location(); + } + }, + fail: (res) => { + app.showToast("请先获取授权"); + } + }); + }, + + // 位置服务回调方法 + setting_callback_event(e) { + var self = this; + if (e.detail.authSetting[self.data.auth]) { + self.setData({ is_show_open_setting: false }); + self.choose_location(); + } + }, + + // 打开位置服务 + choose_location() { + qq.chooseLocation({ + success: res => { + var position = app.map_gcj_to_bd(res.longitude, res.latitude); + res.longitude = position.lng; + res.latitude = position.lat; + qq.setStorageSync(this.data.cache_key, res); + qq.navigateBack(); + }, + fail: (res) => { + qq.navigateBack(); + } + }); + }, +}); \ No newline at end of file diff --git a/sourcecode/qq/pages/common/open-setting-location/open-setting-location.json b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.json new file mode 100644 index 000000000..d5e9491fa --- /dev/null +++ b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.json @@ -0,0 +1,4 @@ +{ + "enablePullDownRefresh": false, + "navigationStyle": "custom" +} \ No newline at end of file diff --git a/sourcecode/qq/pages/common/open-setting-location/open-setting-location.qml b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.qml new file mode 100644 index 000000000..7462086ad --- /dev/null +++ b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.qml @@ -0,0 +1,10 @@ + + + 开启相应的权限服务 + 获取[ 位置信息 ]权限 + + + + + + \ No newline at end of file diff --git a/sourcecode/qq/pages/common/open-setting-location/open-setting-location.qss b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.qss new file mode 100644 index 000000000..c8808ed0a --- /dev/null +++ b/sourcecode/qq/pages/common/open-setting-location/open-setting-location.qss @@ -0,0 +1,39 @@ +page { + background: #fbfbfb; +} +.open-setting-view { + background: hsla(0, 0%, 0%, 0.1); + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + text-align: center; + z-index: 1000000; +} +.open-setting-view .content { + margin:0 auto; + width: 360rpx; + height: 160rpx; + padding: 50rpx; + border-radius: 12rpx; + margin-top: 70%; + position: relative; +} +.open-setting-view .content button { + margin-top: 15rpx; +} +.open-setting-view .content .value { + margin-top: 5rpx; +} +.open-setting-view .content .value text { + font-weight: 500; + color: #333; +} + +.open-setting-loding { + padding-top: 35%; +} +.open-setting-loding image { + margin: 0 auto; +} \ No newline at end of file diff --git a/sourcecode/qq/pages/extraction-address/extraction-address.js b/sourcecode/qq/pages/extraction-address/extraction-address.js index 1cbe3228d..b918f1455 100644 --- a/sourcecode/qq/pages/extraction-address/extraction-address.js +++ b/sourcecode/qq/pages/extraction-address/extraction-address.js @@ -115,7 +115,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/qq/pages/user-address-save/user-address-save.js b/sourcecode/qq/pages/user-address-save/user-address-save.js index 837906529..7d16afec4 100755 --- a/sourcecode/qq/pages/user-address-save/user-address-save.js +++ b/sourcecode/qq/pages/user-address-save/user-address-save.js @@ -1,22 +1,18 @@ const app = getApp(); - Page({ data: { - data_list_loding_status: 1, - data_list_loding_msg: '处理错误', params: null, - - name : '', - tel : '', - address: '', - is_default: 0, - province_id: null, - city_id: null, - county_id: null, - + data_list_loding_status: 1, + data_list_loding_msg: '', + editor_path_type: '', + address_data: null, province_list: [], city_list: [], county_list: [], + province_id: null, + city_id: null, + county_id: null, + idcard_images_data: {}, default_province: "请选择省", default_city: "请选择市", @@ -25,13 +21,18 @@ Page({ province_value: null, city_value: null, county_value: null, + + user_location_cache_key: app.data.cache_userlocation_key, + user_location: null, + + form_submit_disabled_status: false, }, onLoad(params) { - this.setData({params: params}); + this.setData({ params: params }); }, - onShow() { + onReady: function () { if((this.data.params.id || null) == null) { var title = app.data.common_pages_title.user_address_save_add; @@ -39,9 +40,16 @@ Page({ var title = app.data.common_pages_title.user_address_save_edit; } qq.setNavigationBarTitle({title: title}); + + // 清除位置缓存信息 + qq.removeStorage({key: this.data.user_location_cache_key}); this.init(); }, + onShow() { + this.user_location_init(); + }, + init() { var user = app.get_user_info(this, "init"); if (user != false) { @@ -56,14 +64,8 @@ Page({ }); return false; } else { - // 获取地址数据 - if((this.data.params.id || null) != null) - { - this.get_user_address(); - } - - // 获取省 this.get_province_list(); + this.get_data(); } } else { this.setData({ @@ -73,12 +75,9 @@ Page({ } }, - // 获取用户地址 - get_user_address() { + // 获取数据 + get_data() { var self = this; - // 加载loding - qq.showLoading({title: "加载中..." }); - qq.request({ url: app.get_request_url("detail", "useraddress"), method: "POST", @@ -86,25 +85,49 @@ Page({ dataType: "json", header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { - qq.hideLoading(); if (res.data.code == 0) { - var data = res.data.data; + var data = res.data.data || null; + var ads_data = data.data || null; + var idcard_images = { + idcard_front: (ads_data == null) ? '' : ads_data.idcard_front || '', + idcard_back: (ads_data == null) ? '' : ads_data.idcard_back || '', + }; + self.setData({ + address_data: ads_data, + idcard_images_data: idcard_images, + editor_path_type: data.editor_path_type || '', + }); + + // 数据设置 + if(ads_data != null) + { self.setData({ - name: data.name, - tel: data.tel, - address: data.address, - province_id: data.province, - city_id: data.city, - county_id: data.county, - is_default: data.is_default || 0, + province_id: ads_data.province || null, + city_id: ads_data.city || null, + county_id: ads_data.county || null, }); - self.get_city_list(); - self.get_county_list(); + // 地理位置 + var lng = ads_data.lng || null; + var lat = ads_data.lat || null; + if (lng != null && lat != null) + { + self.setData({ user_location: { + lng: lng, + lat: lat, + address: ads_data.address || '', + }}); + } + } + + // 获取城市、区县 + self.get_city_list(); + self.get_county_list(); - setTimeout(function() { - self.init_value(); - }, 500); + // 半秒后初始化数据 + setTimeout(function () { + self.init_region_value(); + }, 500); } else { if (app.is_login_check(res.data)) { app.showToast(res.data.msg); @@ -112,13 +135,35 @@ Page({ } }, fail: () => { - qq.hideLoading(); - app.showToast("服务器请求出错"); + app.showToast("省份信息失败"); } }); }, - // 获取选择的省市区 + // 地区数据初始化 + init_region_value() { + this.setData({ + province_value: this.get_region_value("province_list", "province_id"), + city_value: this.get_region_value("city_list", "city_id"), + county_value: this.get_region_value("county_list", "county_id"), + }); + }, + + // 地区初始化匹配索引 + get_region_value(list, id) { + var data = this.data[list]; + var data_id = this.data[id]; + var value = null; + data.forEach((d, i) => { + if (d.id == data_id) { + value = i; + return false; + } + }); + return value; + }, + + // 获取省份 get_province_list() { var self = this; qq.request({ @@ -138,11 +183,12 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("省份获取失败"); } }); }, + // 获取市 get_city_list() { var self = this; if (self.data.province_id) { @@ -165,12 +211,13 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("城市获取失败"); } }); } }, + // 获取区/县 get_county_list() { var self = this; if (self.data.city_id) { @@ -194,19 +241,19 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("区/县获取失败"); } }); } }, - select_province(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.province_list[value]; + // 省份事件 + select_province_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.province_list[index]; this.setData({ - province_value: value, + province_value: index, province_id: data.id, city_value: null, county_value: null, @@ -217,13 +264,13 @@ Page({ } }, - select_city(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.city_list[value]; + // 市事件 + select_city_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.city_list[index]; this.setData({ - city_value: value, + city_value: index, city_id: data.id, county_value: null, county_id: null @@ -232,69 +279,181 @@ Page({ } }, - select_county(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.county_list[value]; + // 区/县事件 + select_county_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.county_list[index]; this.setData({ - county_value: value, + county_value: index, county_id: data.id }); } }, - init_value() { - var province_value = this.get_init_value("province_list", "province_id"), - city_value = this.get_init_value("city_list", "city_id"), - county_value = this.get_init_value("county_list", "county_id"); - this.setData({ - province_value: province_value, - city_value: city_value, - county_value: county_value + // 省市区未按照顺序选择提示 + region_select_error_event(e) { + var value = e.currentTarget.dataset.value || null; + if (value != null) { + app.showToast(value); + } + }, + + // 选择地理位置 + choose_location_event(e) { + qq.navigateTo({ + url: '/pages/common/open-setting-location/open-setting-location' }); }, - get_init_value(list, id) { - var data = this.data[list], - data_id = this.data[id], - value; - data.forEach((d, i) => { - if (d.id == data_id) { - value = i; - return false; + // 地址信息初始化 + user_location_init() { + var result = qq.getStorageSync(this.data.user_location_cache_key) || null; + var data = null; + if (result != null) + { + data = { + name: result.name || null, + address: result.address || null, + lat: result.latitude || null, + lng: result.longitude || null + } + } + this.setData({user_location: data}); + }, + + // 文件上传 + file_upload_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + qq.chooseImage({ + count: 1, + success(res) { + var success = 0; + var fail = 0; + var length = res.tempFilePaths.length; + var count = 0; + self.upload_one_by_one(res.tempFilePaths, success, fail, count, length, form_name); + } + }); + }, + + // 采用递归的方式上传多张 + upload_one_by_one(img_paths, success, fail, count, length, form_name) { + var self = this; + qq.uploadFile({ + url: app.get_request_url("index", "ueditor"), + filePath: img_paths[count], + name: 'upfile', + formData: { + action: 'uploadimage', + path_type: self.data.editor_path_type + }, + success: function (res) { + success++; + if (res.statusCode == 200) { + var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data); + if (data.code == 0 && (data.data.url || null) != null) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = data.data.url; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } else { + app.showToast(data.msg); + } + } + }, + fail: function (e) { + fail++; + }, + complete: function (e) { + count++; // 下一张 + if (count >= length) { + // 上传完毕,作一下提示 + //app.showToast('上传成功' + success +'张', 'success'); + } else { + // 递归调用,上传下一张 + self.upload_one_by_one(img_paths, success, fail, count, length, form_name); + } + } + }); + }, + + // 图片删除 + upload_delete_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + qq.showModal({ + title: '温馨提示', + content: '删除后不可恢复、继续吗?', + success(res) { + if (res.confirm) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = ''; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } } }); - return value; }, // 数据提交 form_submit(e) { - var self = this, - data = self.data; + var self = this; // 表单数据 var form_data = e.detail.value; // 数据校验 var validation = [ - { fields: "name", msg: "请填写姓名" }, - { fields: "tel", msg: "请填写手机号" }, + { fields: "name", msg: "请填写联系人" }, + { fields: "tel", msg: "请填写联系电话" }, { fields: "province", msg: "请选择省份" }, { fields: "city", msg: "请选择城市" }, { fields: "county", msg: "请选择区县" }, - { fields: "address", msg: "请填写详细地址" } + { fields: "address", msg: "请填写详细地址" }, + { fields: "lng", msg: "请选择地理位置" }, + { fields: "lat", msg: "请选择地理位置" } ]; - form_data["province"] = data.province_id; - form_data["city"] = data.city_id; - form_data["county"] = data.county_id; + form_data["province"] = self.data.province_id; + form_data["city"] = self.data.city_id; + form_data["county"] = self.data.county_id; form_data["id"] = self.data.params.id || 0; - form_data["is_default"] = self.data.is_default || 0; + form_data["is_default"] = form_data.is_default == true ? 1 : 0; + form_data['idcard_front'] = self.data.idcard_images_data.idcard_front || ''; + form_data['idcard_back'] = self.data.idcard_images_data.idcard_back || ''; + // 地理位置 + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; + } + if((self.data.address_data || null) != null) { + if((lng || null) == null) { + lng = self.data.address_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.address_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; + + // 验证提交表单 if (app.fields_check(form_data, validation)) { - // 加载loding - qq.showLoading({title: "处理中..." }); - + // 数据保存 + self.setData({ form_submit_disabled_status: true }); + qq.showLoading({ title: "处理中..." }); qq.request({ url: app.get_request_url("save", "useraddress"), method: "POST", @@ -305,10 +464,11 @@ Page({ qq.hideLoading(); if (res.data.code == 0) { app.showToast(res.data.msg, "success"); - setTimeout(function() { + setTimeout(function () { qq.navigateBack(); }, 1000); } else { + self.setData({ form_submit_disabled_status: false }); if (app.is_login_check(res.data)) { app.showToast(res.data.msg); } else { @@ -317,19 +477,11 @@ Page({ } }, fail: () => { + self.setData({ form_submit_disabled_status: false }); qq.hideLoading(); app.showToast("服务器请求出错"); } }); } }, - - // 省市区未按照顺序选择提示 - region_select_error_event(e) { - var value = e.currentTarget.dataset.value || null; - if(value != null) - { - app.showToast(value); - } - } }); diff --git a/sourcecode/qq/pages/user-address-save/user-address-save.qml b/sourcecode/qq/pages/user-address-save/user-address-save.qml index b8487e3b6..22c7c0f76 100755 --- a/sourcecode/qq/pages/user-address-save/user-address-save.qml +++ b/sourcecode/qq/pages/user-address-save/user-address-save.qml @@ -1,34 +1,88 @@ -
- - - - + + + + 别名选填 + - - - - - {{province_list[province_value].name || default_province}} + + 联系人必填 + + + + + 联系电话必填 + + + + + 省市区必选 + + + + {{province_list[province_value].name || default_province}} - - - {{city_list[city_value].name || default_city}} - - 请先选择省份 - - - {{county_list[county_value].name || default_county}} + + {{city_list[city_value].name || default_city}} - 请先选择城市 + 请先选择省份 + + + + {{county_list[county_value].name || default_county}} + + 请先选择城市 + - - - + + 详细地址必填 + + - - \ No newline at end of file + + 地理位置必选 + + 请选择地理位置 + {{((user_location || null) != null && (user_location.name || null) != null) ? user_location.name+' ' : ''}}{{user_location.address || address_data.address || ''}} + + + + + 是否默认选填 + + + + + + + + + 身份证姓名选填,请务必与上传的身份证件姓名保持一致 + + + + 身份证号码选填,请务必与上传的身份证件号码保持一致 + + + + 身份证照片选填,请使用身份证原件拍摄,图片要清晰 + + + x + + + + x + + + + + + + + + \ No newline at end of file diff --git a/sourcecode/qq/pages/user-address-save/user-address-save.qss b/sourcecode/qq/pages/user-address-save/user-address-save.qss index 2d7ec10f5..6c0f2f315 100755 --- a/sourcecode/qq/pages/user-address-save/user-address-save.qss +++ b/sourcecode/qq/pages/user-address-save/user-address-save.qss @@ -1,38 +1,39 @@ -/* 填写信息 */ -.person-box{ - padding: 20rpx 0; -} -.person-box input{ - height: 100rpx; - line-height: 100rpx; - font-size: 28rpx; - padding: 0 10rpx; - border-radius:0; -} -.addressee .addressee-name{ - width: 250rpx; +/* + * 三级联动 + */ +.select-address { box-sizing: border-box; -} -.addressee .addressee-phone{ - box-sizing: border-box; - width: calc(100% - 250rpx); -} -/* 三级联动 */ -.select-address{ - box-sizing: border-box; - height: 100rpx; - line-height: 100rpx; + height: 70rpx; + line-height: 70rpx; padding: 0 10rpx; } .select-address .section { - width: 33%; + width: 33.33%; box-sizing: border-box; } .select-address .section:not(:first-child) { padding: 0 5rpx; } -/* end 三级联动 */ -.addressee-address{ - box-sizing: border-box; - width: 100%; + +/* + * 表单 + */ +.page { + padding-bottom: 85rpx; } +.submit-bottom { + z-index: 2; +} + +/* + * 身份信息 + */ +.idcard-container { + background: #e0e0e0; + padding: 30rpx; +} +.idcard-container .form-upload-data .item image { + width: 256rpx; + height: 170rpx; + border: 1px dashed #c2c2c2; +} \ No newline at end of file diff --git a/sourcecode/qq/pages/user-address/user-address.js b/sourcecode/qq/pages/user-address/user-address.js index 502d6e43e..ca5efb109 100755 --- a/sourcecode/qq/pages/user-address/user-address.js +++ b/sourcecode/qq/pages/user-address/user-address.js @@ -10,11 +10,11 @@ Page({ onLoad(params) { this.setData({params: params}); - this.init(); }, onShow() { qq.setNavigationBarTitle({title: app.data.common_pages_title.user_address}); + this.init(); }, // 初始化 @@ -281,5 +281,37 @@ Page({ } }); }, + + // 地址编辑 + address_edit_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 进入编辑页面 + qq.navigateTo({ + url: '/pages/user-address-save/user-address-save?id='+data.id + }); + }, + + // 地图查看 + address_map_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 打开地图 + var name = data.alias || data.name || ''; + var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); + app.open_location(data.lng, data.lat, name, address); + }, }); diff --git a/sourcecode/qq/pages/user-address/user-address.qml b/sourcecode/qq/pages/user-address/user-address.qml index f01425496..8ea1c23ec 100755 --- a/sourcecode/qq/pages/user-address/user-address.qml +++ b/sourcecode/qq/pages/user-address/user-address.qml @@ -3,6 +3,7 @@ + {{item.alias}} {{item.name}} {{item.tel}} @@ -17,10 +18,11 @@ 设为默认地址 - - - - + + + + + diff --git a/sourcecode/qq/pages/user-address/user-address.qss b/sourcecode/qq/pages/user-address/user-address.qss index 878eb6c02..81c1477fd 100755 --- a/sourcecode/qq/pages/user-address/user-address.qss +++ b/sourcecode/qq/pages/user-address/user-address.qss @@ -8,6 +8,13 @@ width: 35rpx; height: 35rpx !important; } +.address-alias { + border: 1px solid #d2364c; + color: #d2364c; + padding: 2rpx 10rpx; + border-radius: 6rpx; + margin-right: 10rpx; +} .address .text { line-height: 44rpx; width: calc(100% - 40rpx); @@ -21,8 +28,8 @@ margin-right: 10rpx; vertical-align: middle; } -.operation .delete-submit { - margin-left: 20rpx; +.operation .submit-items button:not(:last-child) { + margin-right: 20rpx; } .page { padding-bottom: 85rpx; diff --git a/sourcecode/qq/pages/user-order-detail/user-order-detail.js b/sourcecode/qq/pages/user-order-detail/user-order-detail.js index 52f01ebc4..4c978966a 100755 --- a/sourcecode/qq/pages/user-order-detail/user-order-detail.js +++ b/sourcecode/qq/pages/user-order-detail/user-order-detail.js @@ -110,7 +110,7 @@ Page({ var data = this.data.detail.address_data; // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/toutiao/app.js b/sourcecode/toutiao/app.js index 8c073441e..9fa1cce42 100755 --- a/sourcecode/toutiao/app.js +++ b/sourcecode/toutiao/app.js @@ -24,6 +24,9 @@ App({ // 启动参数缓存key cache_launch_info_key: "cache_shop_launch_info_key", + // 获取位置选择缓存key + cache_userlocation_key: "cache_userlocation_key", + // 默认用户头像 default_user_head_src: "/images/default-user.png", @@ -644,7 +647,17 @@ App({ return json; }, - // 文件上传权限获取 + /** + * 文件上传权限获取 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-10-14 + * @desc description + * @param {[object]} object [当前页面对象] + * @param {[string]} method [回调方法] + * @param {[object]} params [同步参数] + */ file_upload_authorize(object, method, params) { var self = this; tt.getSetting({ @@ -705,14 +718,26 @@ App({ }); }, - // 位置权限获取 - location_authorize(object, method, params) { + /** + * 权限获取 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-10-14 + * @desc description + * @param {[string]} auth_type [权限名称] + * @param {[object]} object [当前页面对象] + * @param {[string]} method [回调方法] + * @param {[object]} params [同步参数] + * @param {[string]} msg [提示名称] + */ + auth_setting_authorize(auth_type, object, method, params, msg) { var self = this; tt.getSetting({ success(res) { - if (!res.authSetting['scope.userLocation']) { + if (!res.authSetting[auth_type]) { tt.authorize({ - scope: 'scope.userLocation', + scope: auth_type, success (res) { if (typeof object === 'object' && (method || null) != null) { object[method](params); @@ -720,7 +745,7 @@ App({ }, fail (res) { tt.openSetting(); - self.showToast('请同意地理位置授权'); + self.showToast('请同意'+(msg || auth_type)+'授权'); } }); } else { @@ -877,11 +902,34 @@ App({ }, /** - * 百度坐标BD-09到火星坐标GCJ02(高德,谷歌,腾讯坐标) - * object 回调操作对象 - * method 回调操作对象的函数 + * 火星坐标GCJ02到百度坐标BD-09(高德,谷歌,腾讯坐标 -> 百度) + * lng 经度 + * lat 纬度 + */ + map_gcj_to_bd(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat); +   let x_pi = 3.14159265358979324 * 3000.0 / 180.0; +   let x = lng; +   let y = lat; +   let z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * x_pi); +   let theta = Math.atan2(y, x) + 0.000003 * Math.cos(x * x_pi); +   let lngs = z * Math.cos(theta) + 0.0065; +   let lats = z * Math.sin(theta) + 0.006; +   return { +     lng: lngs, +     lat: lats +   }; + }, + + /** + * 百度坐标BD-09到火星坐标GCJ02(百度 -> 高德,谷歌,腾讯坐标) + * lng 经度 + * lat 纬度 */ map_bd_to_gcj(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat);   let x_pi = 3.14159265358979324 * 3000.0 / 180.0;   let x = lng - 0.0065;   let y = lat - 0.006; @@ -908,11 +956,15 @@ App({ this.showToast('坐标有误'); return false; } + if((address || null) == null) { + this.showToast('地址有误'); + return false; + } // 转换坐标打开位置 - var position = this.map_bd_to_gcj(parseFloat(lng), parseFloat(lat)); + var position = this.map_bd_to_gcj(lng, lat); tt.openLocation({ - name: name || '', + name: name || '当前位置', address: address || '', scale: scale || 18, longitude: position.lng, diff --git a/sourcecode/toutiao/app.ttss b/sourcecode/toutiao/app.ttss index b0009cdaa..9a147323e 100755 --- a/sourcecode/toutiao/app.ttss +++ b/sourcecode/toutiao/app.ttss @@ -374,6 +374,9 @@ button[disabled].bg-primary { .form-container .form-gorup-text { padding: 20rpx 10rpx; } +.form-container .form-gorup .switch { + margin: 30rpx 0 20rpx 0; +} /** * 表单图片上传 diff --git a/sourcecode/toutiao/images/default-idcard-back.jpg b/sourcecode/toutiao/images/default-idcard-back.jpg new file mode 100644 index 000000000..84734ce9b Binary files /dev/null and b/sourcecode/toutiao/images/default-idcard-back.jpg differ diff --git a/sourcecode/toutiao/images/default-idcard-front.jpg b/sourcecode/toutiao/images/default-idcard-front.jpg new file mode 100644 index 000000000..cea1c581f Binary files /dev/null and b/sourcecode/toutiao/images/default-idcard-front.jpg differ diff --git a/sourcecode/toutiao/pages/buy/buy.js b/sourcecode/toutiao/pages/buy/buy.js index 13381d833..644f0e159 100755 --- a/sourcecode/toutiao/pages/buy/buy.js +++ b/sourcecode/toutiao/pages/buy/buy.js @@ -397,7 +397,7 @@ Page({ if((e.is_power || 0) == 0) { e['is_power'] = 1; - app.location_authorize(this, 'map_event', e); + app.auth_setting_authorize('scope.userLocation', this, 'map_event', e, '地理位置'); return false; } @@ -410,7 +410,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); } diff --git a/sourcecode/toutiao/pages/extraction-address/extraction-address.js b/sourcecode/toutiao/pages/extraction-address/extraction-address.js index 03f642194..2fc53afdf 100644 --- a/sourcecode/toutiao/pages/extraction-address/extraction-address.js +++ b/sourcecode/toutiao/pages/extraction-address/extraction-address.js @@ -109,7 +109,7 @@ Page({ if((e.is_power || 0) == 0) { e['is_power'] = 1; - app.location_authorize(this, 'address_map_event', e); + app.auth_setting_authorize('scope.userLocation', this, 'address_map_event', e, '地理位置'); return false; } diff --git a/sourcecode/toutiao/pages/plugins/distribution/extraction-apply/extraction-apply.js b/sourcecode/toutiao/pages/plugins/distribution/extraction-apply/extraction-apply.js index fdce96c7d..9a3bb0c86 100644 --- a/sourcecode/toutiao/pages/plugins/distribution/extraction-apply/extraction-apply.js +++ b/sourcecode/toutiao/pages/plugins/distribution/extraction-apply/extraction-apply.js @@ -17,7 +17,7 @@ Page({ province_value: null, city_value: null, county_value: null, - user_location_cache_key: 'cache_userlocation_key', + user_location_cache_key: app.data.cache_userlocation_key, user_location: null, form_submit_disabled_status: false }, @@ -177,8 +177,6 @@ Page({ // 获取市 get_city_list() { var self = this; - console.log(self.data.province_id); - if (self.data.province_id) { tt.request({ url: app.get_request_url("index", "region"), diff --git a/sourcecode/toutiao/pages/plugins/distribution/extraction/extraction.js b/sourcecode/toutiao/pages/plugins/distribution/extraction/extraction.js index dca087e34..5528e0878 100644 --- a/sourcecode/toutiao/pages/plugins/distribution/extraction/extraction.js +++ b/sourcecode/toutiao/pages/plugins/distribution/extraction/extraction.js @@ -94,7 +94,7 @@ Page({ if((e.is_power || 0) == 0) { e['is_power'] = 1; - app.location_authorize(this, 'address_map_event', e); + app.auth_setting_authorize('scope.userLocation', this, 'address_map_event', e, '地理位置'); return false; } diff --git a/sourcecode/toutiao/pages/user-address-save/user-address-save.js b/sourcecode/toutiao/pages/user-address-save/user-address-save.js index 4c3f8f998..84c9f7145 100755 --- a/sourcecode/toutiao/pages/user-address-save/user-address-save.js +++ b/sourcecode/toutiao/pages/user-address-save/user-address-save.js @@ -1,22 +1,18 @@ const app = getApp(); - Page({ data: { - data_list_loding_status: 1, - data_list_loding_msg: '处理错误', params: null, - - name : '', - tel : '', - address: '', - is_default: 0, - province_id: null, - city_id: null, - county_id: null, - + data_list_loding_status: 1, + data_list_loding_msg: '', + editor_path_type: '', + address_data: null, province_list: [], city_list: [], county_list: [], + province_id: null, + city_id: null, + county_id: null, + idcard_images_data: {}, default_province: "请选择省", default_city: "请选择市", @@ -25,13 +21,18 @@ Page({ province_value: null, city_value: null, county_value: null, + + user_location_cache_key: app.data.cache_userlocation_key, + user_location: null, + + form_submit_disabled_status: false, }, onLoad(params) { - this.setData({params: params}); + this.setData({ params: params }); }, - onShow() { + onReady: function () { if((this.data.params.id || null) == null) { var title = app.data.common_pages_title.user_address_save_add; @@ -39,9 +40,16 @@ Page({ var title = app.data.common_pages_title.user_address_save_edit; } tt.setNavigationBarTitle({title: title}); + + // 清除位置缓存信息 + tt.removeStorage({key: this.data.user_location_cache_key}); this.init(); }, + onShow() { + this.user_location_init(); + }, + init() { var user = app.get_user_info(this, "init"); if (user != false) { @@ -56,14 +64,8 @@ Page({ }); return false; } else { - // 获取地址数据 - if((this.data.params.id || null) != null) - { - this.get_user_address(); - } - - // 获取省 this.get_province_list(); + this.get_data(); } } else { this.setData({ @@ -73,12 +75,9 @@ Page({ } }, - // 获取用户地址 - get_user_address() { + // 获取数据 + get_data() { var self = this; - // 加载loding - tt.showLoading({title: "加载中..." }); - tt.request({ url: app.get_request_url("detail", "useraddress"), method: "POST", @@ -86,25 +85,49 @@ Page({ dataType: "json", header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { - tt.hideLoading(); if (res.data.code == 0) { - var data = res.data.data; + var data = res.data.data || null; + var ads_data = data.data || null; + var idcard_images = { + idcard_front: (ads_data == null) ? '' : ads_data.idcard_front || '', + idcard_back: (ads_data == null) ? '' : ads_data.idcard_back || '', + }; + self.setData({ + address_data: ads_data, + idcard_images_data: idcard_images, + editor_path_type: data.editor_path_type || '', + }); + + // 数据设置 + if(ads_data != null) + { self.setData({ - name: data.name, - tel: data.tel, - address: data.address, - province_id: data.province, - city_id: data.city, - county_id: data.county, - is_default: data.is_default || 0, + province_id: ads_data.province || null, + city_id: ads_data.city || null, + county_id: ads_data.county || null, }); - self.get_city_list(); - self.get_county_list(); + // 地理位置 + var lng = ads_data.lng || null; + var lat = ads_data.lat || null; + if (lng != null && lat != null) + { + self.setData({ user_location: { + lng: lng, + lat: lat, + address: ads_data.address || '', + }}); + } + } + + // 获取城市、区县 + self.get_city_list(); + self.get_county_list(); - setTimeout(function() { - self.init_value(); - }, 500); + // 半秒后初始化数据 + setTimeout(function () { + self.init_region_value(); + }, 500); } else { if (app.is_login_check(res.data)) { app.showToast(res.data.msg); @@ -112,13 +135,35 @@ Page({ } }, fail: () => { - tt.hideLoading(); - app.showToast("服务器请求出错"); + app.showToast("省份信息失败"); } }); }, - // 获取选择的省市区 + // 地区数据初始化 + init_region_value() { + this.setData({ + province_value: this.get_region_value("province_list", "province_id"), + city_value: this.get_region_value("city_list", "city_id"), + county_value: this.get_region_value("county_list", "county_id"), + }); + }, + + // 地区初始化匹配索引 + get_region_value(list, id) { + var data = this.data[list]; + var data_id = this.data[id]; + var value = null; + data.forEach((d, i) => { + if (d.id == data_id) { + value = i; + return false; + } + }); + return value; + }, + + // 获取省份 get_province_list() { var self = this; tt.request({ @@ -138,11 +183,12 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("省份获取失败"); } }); }, + // 获取市 get_city_list() { var self = this; if (self.data.province_id) { @@ -165,12 +211,13 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("城市获取失败"); } }); } }, + // 获取区/县 get_county_list() { var self = this; if (self.data.city_id) { @@ -194,19 +241,19 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("区/县获取失败"); } }); } }, - select_province(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.province_list[value]; + // 省份事件 + select_province_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.province_list[index]; this.setData({ - province_value: value, + province_value: index, province_id: data.id, city_value: null, county_value: null, @@ -217,13 +264,13 @@ Page({ } }, - select_city(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.city_list[value]; + // 市事件 + select_city_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.city_list[index]; this.setData({ - city_value: value, + city_value: index, city_id: data.id, county_value: null, county_id: null @@ -232,69 +279,187 @@ Page({ } }, - select_county(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.county_list[value]; + // 区/县事件 + select_county_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.county_list[index]; this.setData({ - county_value: value, + county_value: index, county_id: data.id }); } }, - init_value() { - var province_value = this.get_init_value("province_list", "province_id"), - city_value = this.get_init_value("city_list", "city_id"), - county_value = this.get_init_value("county_list", "county_id"); - this.setData({ - province_value: province_value, - city_value: city_value, - county_value: county_value + // 省市区未按照顺序选择提示 + region_select_error_event(e) { + var value = e.currentTarget.dataset.value || null; + if (value != null) { + app.showToast(value); + } + }, + + // 选择地理位置 + choose_location_event(e) { + tt.navigateTo({ + url: '/pages/common/open-setting-location/open-setting-location' }); }, - get_init_value(list, id) { - var data = this.data[list], - data_id = this.data[id], - value; - data.forEach((d, i) => { - if (d.id == data_id) { - value = i; - return false; + // 地址信息初始化 + user_location_init() { + var result = tt.getStorageSync(this.data.user_location_cache_key) || null; + var data = null; + if (result != null) + { + data = { + name: result.name || null, + address: result.address || null, + lat: result.latitude || null, + lng: result.longitude || null + } + } + this.setData({user_location: data}); + }, + + // 文件上传 + file_upload_event(e) { + // 调用相机、相册权限 + app.file_upload_authorize(this, 'file_upload_handle', e); + }, + + // 文件上传 + file_upload_handle(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + tt.chooseImage({ + count: 1, + success(res) { + var success = 0; + var fail = 0; + var length = res.tempFilePaths.length; + var count = 0; + self.upload_one_by_one(res.tempFilePaths, success, fail, count, length, form_name); + } + }); + }, + + // 采用递归的方式上传多张 + upload_one_by_one(img_paths, success, fail, count, length, form_name) { + var self = this; + tt.uploadFile({ + url: app.get_request_url("index", "ueditor"), + filePath: img_paths[count], + name: 'upfile', + formData: { + action: 'uploadimage', + path_type: self.data.editor_path_type + }, + success: function (res) { + success++; + if (res.statusCode == 200) { + var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data); + if (data.code == 0 && (data.data.url || null) != null) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = data.data.url; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } else { + app.showToast(data.msg); + } + } + }, + fail: function (e) { + fail++; + }, + complete: function (e) { + count++; // 下一张 + if (count >= length) { + // 上传完毕,作一下提示 + //app.showToast('上传成功' + success +'张', 'success'); + } else { + // 递归调用,上传下一张 + self.upload_one_by_one(img_paths, success, fail, count, length, form_name); + } + } + }); + }, + + // 图片删除 + upload_delete_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + tt.showModal({ + title: '温馨提示', + content: '删除后不可恢复、继续吗?', + success(res) { + if (res.confirm) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = ''; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } } }); - return value; }, // 数据提交 form_submit(e) { - var self = this, - data = self.data; + var self = this; // 表单数据 var form_data = e.detail.value; // 数据校验 var validation = [ - { fields: "name", msg: "请填写姓名" }, - { fields: "tel", msg: "请填写手机号" }, + { fields: "name", msg: "请填写联系人" }, + { fields: "tel", msg: "请填写联系电话" }, { fields: "province", msg: "请选择省份" }, { fields: "city", msg: "请选择城市" }, { fields: "county", msg: "请选择区县" }, - { fields: "address", msg: "请填写详细地址" } + { fields: "address", msg: "请填写详细地址" }, + // { fields: "lng", msg: "请选择地理位置" }, + // { fields: "lat", msg: "请选择地理位置" } ]; - form_data["province"] = data.province_id; - form_data["city"] = data.city_id; - form_data["county"] = data.county_id; + form_data["province"] = self.data.province_id; + form_data["city"] = self.data.city_id; + form_data["county"] = self.data.county_id; form_data["id"] = self.data.params.id || 0; - form_data["is_default"] = self.data.is_default || 0; + form_data["is_default"] = form_data.is_default == true ? 1 : 0; + form_data['idcard_front'] = self.data.idcard_images_data.idcard_front || ''; + form_data['idcard_back'] = self.data.idcard_images_data.idcard_back || ''; + // 地理位置 + // var lng = 0; + // var lat = 0; + // if((self.data.user_location || null) != null) { + // lng = self.data.user_location.lng || 0; + // lat = self.data.user_location.lat || 0; + // } + // if((self.data.address_data || null) != null) { + // if((lng || null) == null) { + // lng = self.data.address_data.lng || 0; + // } + // if((lat || null) == null) { + // lat = self.data.address_data.lat || 0; + // } + // } + // form_data["lng"] = lng; + // form_data["lat"] = lat; + + // 验证提交表单 if (app.fields_check(form_data, validation)) { - // 加载loding - tt.showLoading({title: "处理中..." }); - + // 数据保存 + self.setData({ form_submit_disabled_status: true }); + tt.showLoading({ title: "处理中..." }); tt.request({ url: app.get_request_url("save", "useraddress"), method: "POST", @@ -305,10 +470,11 @@ Page({ tt.hideLoading(); if (res.data.code == 0) { app.showToast(res.data.msg, "success"); - setTimeout(function() { + setTimeout(function () { tt.navigateBack(); }, 1000); } else { + self.setData({ form_submit_disabled_status: false }); if (app.is_login_check(res.data)) { app.showToast(res.data.msg); } else { @@ -317,19 +483,11 @@ Page({ } }, fail: () => { + self.setData({ form_submit_disabled_status: false }); tt.hideLoading(); app.showToast("服务器请求出错"); } }); } }, - - // 省市区未按照顺序选择提示 - region_select_error_event(e) { - var value = e.currentTarget.dataset.value || null; - if(value != null) - { - app.showToast(value); - } - } }); diff --git a/sourcecode/toutiao/pages/user-address-save/user-address-save.ttml b/sourcecode/toutiao/pages/user-address-save/user-address-save.ttml index 4d96e2c05..2ce132a1c 100755 --- a/sourcecode/toutiao/pages/user-address-save/user-address-save.ttml +++ b/sourcecode/toutiao/pages/user-address-save/user-address-save.ttml @@ -1,34 +1,88 @@ -
- - - - + + + + 别名选填 + - - - - - {{province_list[province_value].name || default_province}} + + 联系人必填 + + + + + 联系电话必填 + + + + + 省市区必选 + + + + {{province_list[province_value].name || default_province}} - - - {{city_list[city_value].name || default_city}} - - 请先选择省份 - - - {{county_list[county_value].name || default_county}} + + {{city_list[city_value].name || default_city}} - 请先选择城市 + 请先选择省份 + + + + {{county_list[county_value].name || default_county}} + + 请先选择城市 + - - - + + 详细地址必填 + + - - \ No newline at end of file + + + + 是否默认选填 + + + + + + + + + 身份证姓名选填,请务必与上传的身份证件姓名保持一致 + + + + 身份证号码选填,请务必与上传的身份证件号码保持一致 + + + + 身份证照片选填,请使用身份证原件拍摄,图片要清晰 + + + x + + + + x + + + + + + + + + \ No newline at end of file diff --git a/sourcecode/toutiao/pages/user-address-save/user-address-save.ttss b/sourcecode/toutiao/pages/user-address-save/user-address-save.ttss index 80f6f206f..6c0f2f315 100755 --- a/sourcecode/toutiao/pages/user-address-save/user-address-save.ttss +++ b/sourcecode/toutiao/pages/user-address-save/user-address-save.ttss @@ -1,38 +1,39 @@ -/* 填写信息 */ -.person-box{ - padding: 20rpx 0; -} -.person-box input{ - height: 100rpx; - line-height: 100rpx; - font-size: 28rpx; - padding: 0 10rpx; - border-radius:0; -} -.addressee .addressee-name{ - width: 250rpx; +/* + * 三级联动 + */ +.select-address { box-sizing: border-box; -} -.addressee .addressee-phone{ - box-sizing: border-box; - width: calc(100% - 250rpx); -} -/* 三级联动 */ -.select-address{ - box-sizing: border-box; - height: 100rpx; - line-height: 100rpx; + height: 70rpx; + line-height: 70rpx; padding: 0 10rpx; } .select-address .section { - width: 33%; + width: 33.33%; box-sizing: border-box; } .select-address .section:not(:first-child) { padding: 0 5rpx; } -/* end 三级联动 */ -.addressee-address{ - box-sizing: border-box; - width: 100%; + +/* + * 表单 + */ +.page { + padding-bottom: 85rpx; +} +.submit-bottom { + z-index: 2; +} + +/* + * 身份信息 + */ +.idcard-container { + background: #e0e0e0; + padding: 30rpx; +} +.idcard-container .form-upload-data .item image { + width: 256rpx; + height: 170rpx; + border: 1px dashed #c2c2c2; } \ No newline at end of file diff --git a/sourcecode/toutiao/pages/user-address/user-address.js b/sourcecode/toutiao/pages/user-address/user-address.js index bbafb84da..bbfaac30e 100755 --- a/sourcecode/toutiao/pages/user-address/user-address.js +++ b/sourcecode/toutiao/pages/user-address/user-address.js @@ -10,11 +10,11 @@ Page({ onLoad(params) { this.setData({params: params}); - this.init(); }, onShow() { tt.setNavigationBarTitle({title: app.data.common_pages_title.user_address}); + this.init(); }, // 初始化 @@ -236,5 +236,88 @@ Page({ tt.navigateBack(); } }, + + // 获取系统地址 + choose_system_address_event(e) { + if((e.is_power || 0) == 0) + { + e['is_power'] = 1; + app.auth_setting_authorize('scope.address', this, 'choose_system_address_event', e, '收货地址'); + return false; + } + var self = this; + tt.chooseAddress({ + success (res) { + var data = { + "name": res.userName || '', + "tel": res.telNumber || '', + "province": res.provinceName || '', + "city": res.cityName || '', + "county": res.countyName || '', + "address": res.detailInfo || '', + }; + + // 加载loding + tt.showLoading({ title: "处理中..." }); + + // 获取数据 + tt.request({ + url: app.get_request_url("outsystemadd", "useraddress"), + method: "POST", + data: data, + dataType: "json", + headers: { 'content-type': 'application/x-www-form-urlencoded' }, + success: res => { + tt.hideLoading(); + if (res.data.code == 0) { + self.get_data_list(); + } else { + if (app.is_login_check(res.data)) { + app.showToast(res.data.msg); + } else { + app.showToast('提交失败,请重试!'); + } + } + }, + fail: () => { + tt.hideLoading(); + app.showToast("服务器请求出错"); + } + }); + } + }); + }, + + // 地址编辑 + address_edit_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 进入编辑页面 + tt.navigateTo({ + url: '/pages/user-address-save/user-address-save?id='+data.id + }); + }, + + // 地图查看 + address_map_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 打开地图 + var name = data.alias || data.name || ''; + var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); + app.open_location(data.lng, data.lat, name, address); + }, }); diff --git a/sourcecode/toutiao/pages/user-address/user-address.ttml b/sourcecode/toutiao/pages/user-address/user-address.ttml index 431493f34..b5d4751b4 100755 --- a/sourcecode/toutiao/pages/user-address/user-address.ttml +++ b/sourcecode/toutiao/pages/user-address/user-address.ttml @@ -18,10 +18,11 @@ 设为默认地址 - - - - + + + + +
@@ -34,7 +35,10 @@ - - - + + + + + +
\ No newline at end of file diff --git a/sourcecode/toutiao/pages/user-address/user-address.ttss b/sourcecode/toutiao/pages/user-address/user-address.ttss index 38c61d6be..7f61e2905 100755 --- a/sourcecode/toutiao/pages/user-address/user-address.ttss +++ b/sourcecode/toutiao/pages/user-address/user-address.ttss @@ -28,9 +28,17 @@ margin-right: 10rpx; vertical-align: middle; } -.operation .delete-submit { - margin-left: 20rpx; +.operation .submit-items button:not(:last-child) { + margin-right: 20rpx; } .page { padding-bottom: 85rpx; +} +.submit-list button { + width: 50%; +} +.submit-list .import-system-address-submit { + background: #07c160 !important; + right: 0; + left: auto; } \ No newline at end of file diff --git a/sourcecode/toutiao/pages/user-order-detail/user-order-detail.js b/sourcecode/toutiao/pages/user-order-detail/user-order-detail.js index a67736d4e..e8b260b22 100755 --- a/sourcecode/toutiao/pages/user-order-detail/user-order-detail.js +++ b/sourcecode/toutiao/pages/user-order-detail/user-order-detail.js @@ -105,7 +105,7 @@ Page({ if((e.is_power || 0) == 0) { e['is_power'] = 1; - app.location_authorize(this, 'address_map_event', e); + app.auth_setting_authorize('scope.userLocation', this, 'address_map_event', e, '地理位置'); return false; } @@ -117,7 +117,7 @@ Page({ var data = this.data.detail.address_data; // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/weixin/app.js b/sourcecode/weixin/app.js index 03b77e0c2..c6ce0a03e 100755 --- a/sourcecode/weixin/app.js +++ b/sourcecode/weixin/app.js @@ -24,6 +24,9 @@ App({ // 启动参数缓存key cache_launch_info_key: "cache_shop_launch_info_key", + // 获取位置选择缓存key + cache_userlocation_key: "cache_userlocation_key", + // 默认用户头像 default_user_head_src: "/images/default-user.png", @@ -71,7 +74,7 @@ App({ // 请求地址 request_url: "{{request_url}}", request_url: 'http://shopxo.com/', - // request_url: 'https://dev.shopxo.net/', + request_url: 'https://dev.shopxo.net/', // 基础信息 application_title: "{{application_title}}", @@ -793,11 +796,34 @@ App({ }, /** - * 百度坐标BD-09到火星坐标GCJ02(高德,谷歌,腾讯坐标) - * object 回调操作对象 - * method 回调操作对象的函数 + * 火星坐标GCJ02到百度坐标BD-09(高德,谷歌,腾讯坐标 -> 百度) + * lng 经度 + * lat 纬度 + */ + map_gcj_to_bd(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat); +   let x_pi = 3.14159265358979324 * 3000.0 / 180.0; +   let x = lng; +   let y = lat; +   let z = Math.sqrt(x * x + y * y) + 0.00002 * Math.sin(y * x_pi); +   let theta = Math.atan2(y, x) + 0.000003 * Math.cos(x * x_pi); +   let lngs = z * Math.cos(theta) + 0.0065; +   let lats = z * Math.sin(theta) + 0.006; +   return { +     lng: lngs, +     lat: lats +   }; + }, + + /** + * 百度坐标BD-09到火星坐标GCJ02(百度 -> 高德,谷歌,腾讯坐标) + * lng 经度 + * lat 纬度 */ map_bd_to_gcj(lng, lat) { + lng = parseFloat(lng); + lat = parseFloat(lat);   let x_pi = 3.14159265358979324 * 3000.0 / 180.0;   let x = lng - 0.0065;   let y = lat - 0.006; @@ -824,11 +850,15 @@ App({ this.showToast('坐标有误'); return false; } + if((address || null) == null) { + this.showToast('地址有误'); + return false; + } // 转换坐标打开位置 - var position = this.map_bd_to_gcj(parseFloat(lng), parseFloat(lat)); + var position = this.map_bd_to_gcj(lng, lat); wx.openLocation({ - name: name || '', + name: name || '当前位置', address: address || '', scale: scale || 18, longitude: position.lng, diff --git a/sourcecode/weixin/app.wxss b/sourcecode/weixin/app.wxss index 675181f78..0630d04c3 100755 --- a/sourcecode/weixin/app.wxss +++ b/sourcecode/weixin/app.wxss @@ -373,6 +373,9 @@ button[disabled].bg-primary { .form-container .form-gorup-text { padding: 20rpx 10rpx; } +.form-container .form-gorup .switch { + margin: 30rpx 0 20rpx 0; +} /** * 表单图片上传 diff --git a/sourcecode/weixin/images/default-idcard-back.jpg b/sourcecode/weixin/images/default-idcard-back.jpg new file mode 100644 index 000000000..84734ce9b Binary files /dev/null and b/sourcecode/weixin/images/default-idcard-back.jpg differ diff --git a/sourcecode/weixin/images/default-idcard-front.jpg b/sourcecode/weixin/images/default-idcard-front.jpg new file mode 100644 index 000000000..cea1c581f Binary files /dev/null and b/sourcecode/weixin/images/default-idcard-front.jpg differ diff --git a/sourcecode/weixin/pages/buy/buy.js b/sourcecode/weixin/pages/buy/buy.js index e06bdc98f..9f5a29c71 100755 --- a/sourcecode/weixin/pages/buy/buy.js +++ b/sourcecode/weixin/pages/buy/buy.js @@ -380,7 +380,7 @@ Page({ } // 打开地图 - var name = data.name || data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/weixin/pages/common/open-setting-location/open-setting-location.js b/sourcecode/weixin/pages/common/open-setting-location/open-setting-location.js index b9265765a..39a55afd3 100644 --- a/sourcecode/weixin/pages/common/open-setting-location/open-setting-location.js +++ b/sourcecode/weixin/pages/common/open-setting-location/open-setting-location.js @@ -4,7 +4,7 @@ Page({ params: null, is_show_open_setting: false, auth: 'scope.userLocation', - cache_key: 'cache_userlocation_key', + cache_key: app.data.cache_userlocation_key, }, onLoad: function (params) { @@ -50,6 +50,9 @@ Page({ choose_location() { wx.chooseLocation({ success: res => { + var position = app.map_gcj_to_bd(res.longitude, res.latitude); + res.longitude = position.lng; + res.latitude = position.lat; wx.setStorageSync(this.data.cache_key, res); wx.navigateBack(); }, diff --git a/sourcecode/weixin/pages/extraction-address/extraction-address.js b/sourcecode/weixin/pages/extraction-address/extraction-address.js index cfea8fa21..ec92d2490 100644 --- a/sourcecode/weixin/pages/extraction-address/extraction-address.js +++ b/sourcecode/weixin/pages/extraction-address/extraction-address.js @@ -115,7 +115,7 @@ Page({ } // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/weixin/pages/plugins/distribution/extraction-apply/extraction-apply.js b/sourcecode/weixin/pages/plugins/distribution/extraction-apply/extraction-apply.js index 2b25a77c9..55f46fdcc 100644 --- a/sourcecode/weixin/pages/plugins/distribution/extraction-apply/extraction-apply.js +++ b/sourcecode/weixin/pages/plugins/distribution/extraction-apply/extraction-apply.js @@ -20,7 +20,7 @@ Page({ city_value: null, county_value: null, - user_location_cache_key: 'cache_userlocation_key', + user_location_cache_key: app.data.cache_userlocation_key, user_location: null, form_submit_disabled_status: false, @@ -91,8 +91,8 @@ Page({ }); // 地理位置 - var lng = (data.lng || 0) <= 0 ? null : data.lng; - var lat = (data.lat || 0) <= 0 ? null : data.lat; + var lng = data.lng || null; + var lat = data.lat || null; if (lng != null && lat != null) { self.setData({ user_location: { @@ -174,7 +174,6 @@ Page({ // 获取市 get_city_list() { var self = this; - console.log(self.data.province_id) if (self.data.province_id) { wx.request({ url: app.get_request_url("index", "region"), @@ -329,11 +328,22 @@ Page({ form_data["county"] = self.data.county_id; // 地理位置 - if ((self.data.user_location || null) != null) - { - form_data["lng"] = self.data.user_location.lng || 0; - form_data["lat"] = self.data.user_location.lat || 0; + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; } + if((self.data.extraction_data || null) != null) { + if((lng || null) == null) { + lng = self.data.extraction_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.extraction_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; // 验证提交表单 if (app.fields_check(form_data, validation)) { diff --git a/sourcecode/weixin/pages/plugins/distribution/extraction/extraction.js b/sourcecode/weixin/pages/plugins/distribution/extraction/extraction.js index 2bc3915be..887ef2798 100644 --- a/sourcecode/weixin/pages/plugins/distribution/extraction/extraction.js +++ b/sourcecode/weixin/pages/plugins/distribution/extraction/extraction.js @@ -94,7 +94,7 @@ Page({ var data = this.data.extraction; // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); }, diff --git a/sourcecode/weixin/pages/user-address-save/user-address-save.js b/sourcecode/weixin/pages/user-address-save/user-address-save.js index f9d04b2c4..b0b76df71 100755 --- a/sourcecode/weixin/pages/user-address-save/user-address-save.js +++ b/sourcecode/weixin/pages/user-address-save/user-address-save.js @@ -1,22 +1,18 @@ const app = getApp(); - Page({ data: { - data_list_loding_status: 1, - data_list_loding_msg: '处理错误', params: null, - - name : '', - tel : '', - address: '', - is_default: 0, - province_id: null, - city_id: null, - county_id: null, - + data_list_loding_status: 1, + data_list_loding_msg: '', + editor_path_type: '', + address_data: null, province_list: [], city_list: [], county_list: [], + province_id: null, + city_id: null, + county_id: null, + idcard_images_data: {}, default_province: "请选择省", default_city: "请选择市", @@ -25,13 +21,18 @@ Page({ province_value: null, city_value: null, county_value: null, + + user_location_cache_key: app.data.cache_userlocation_key, + user_location: null, + + form_submit_disabled_status: false, }, onLoad(params) { - this.setData({params: params}); + this.setData({ params: params }); }, - onShow() { + onReady: function () { if((this.data.params.id || null) == null) { var title = app.data.common_pages_title.user_address_save_add; @@ -39,9 +40,16 @@ Page({ var title = app.data.common_pages_title.user_address_save_edit; } wx.setNavigationBarTitle({title: title}); + + // 清除位置缓存信息 + wx.removeStorage({key: this.data.user_location_cache_key}); this.init(); }, + onShow() { + this.user_location_init(); + }, + init() { var user = app.get_user_info(this, "init"); if (user != false) { @@ -56,14 +64,8 @@ Page({ }); return false; } else { - // 获取地址数据 - if((this.data.params.id || null) != null) - { - this.get_user_address(); - } - - // 获取省 this.get_province_list(); + this.get_data(); } } else { this.setData({ @@ -73,12 +75,9 @@ Page({ } }, - // 获取用户地址 - get_user_address() { + // 获取数据 + get_data() { var self = this; - // 加载loding - wx.showLoading({title: "加载中..." }); - wx.request({ url: app.get_request_url("detail", "useraddress"), method: "POST", @@ -86,25 +85,49 @@ Page({ dataType: "json", header: { 'content-type': 'application/x-www-form-urlencoded' }, success: res => { - wx.hideLoading(); if (res.data.code == 0) { - var data = res.data.data; + var data = res.data.data || null; + var ads_data = data.data || null; + var idcard_images = { + idcard_front: (ads_data == null) ? '' : ads_data.idcard_front || '', + idcard_back: (ads_data == null) ? '' : ads_data.idcard_back || '', + }; + self.setData({ + address_data: ads_data, + idcard_images_data: idcard_images, + editor_path_type: data.editor_path_type || '', + }); + + // 数据设置 + if(ads_data != null) + { self.setData({ - name: data.name, - tel: data.tel, - address: data.address, - province_id: data.province, - city_id: data.city, - county_id: data.county, - is_default: data.is_default || 0, + province_id: ads_data.province || null, + city_id: ads_data.city || null, + county_id: ads_data.county || null, }); - self.get_city_list(); - self.get_county_list(); + // 地理位置 + var lng = ads_data.lng || null; + var lat = ads_data.lat || null; + if (lng != null && lat != null) + { + self.setData({ user_location: { + lng: lng, + lat: lat, + address: ads_data.address || '', + }}); + } + } + + // 获取城市、区县 + self.get_city_list(); + self.get_county_list(); - setTimeout(function() { - self.init_value(); - }, 500); + // 半秒后初始化数据 + setTimeout(function () { + self.init_region_value(); + }, 500); } else { if (app.is_login_check(res.data)) { app.showToast(res.data.msg); @@ -112,13 +135,35 @@ Page({ } }, fail: () => { - wx.hideLoading(); - app.showToast("服务器请求出错"); + app.showToast("省份信息失败"); } }); }, - // 获取选择的省市区 + // 地区数据初始化 + init_region_value() { + this.setData({ + province_value: this.get_region_value("province_list", "province_id"), + city_value: this.get_region_value("city_list", "city_id"), + county_value: this.get_region_value("county_list", "county_id"), + }); + }, + + // 地区初始化匹配索引 + get_region_value(list, id) { + var data = this.data[list]; + var data_id = this.data[id]; + var value = null; + data.forEach((d, i) => { + if (d.id == data_id) { + value = i; + return false; + } + }); + return value; + }, + + // 获取省份 get_province_list() { var self = this; wx.request({ @@ -138,11 +183,12 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("省份获取失败"); } }); }, + // 获取市 get_city_list() { var self = this; if (self.data.province_id) { @@ -165,12 +211,13 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("城市获取失败"); } }); } }, + // 获取区/县 get_county_list() { var self = this; if (self.data.city_id) { @@ -194,19 +241,19 @@ Page({ } }, fail: () => { - app.showToast("服务器请求出错"); + app.showToast("区/县获取失败"); } }); } }, - select_province(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.province_list[value]; + // 省份事件 + select_province_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.province_list[index]; this.setData({ - province_value: value, + province_value: index, province_id: data.id, city_value: null, county_value: null, @@ -217,13 +264,13 @@ Page({ } }, - select_city(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.city_list[value]; + // 市事件 + select_city_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.city_list[index]; this.setData({ - city_value: value, + city_value: index, city_id: data.id, county_value: null, county_id: null @@ -232,69 +279,181 @@ Page({ } }, - select_county(e) { - if(e.detail.value >= 0) - { - var value = e.detail.value, - data = this.data.county_list[value]; + // 区/县事件 + select_county_event(e) { + var index = e.detail.value || 0; + if (index >= 0) { + var data = this.data.county_list[index]; this.setData({ - county_value: value, + county_value: index, county_id: data.id }); } }, - init_value() { - var province_value = this.get_init_value("province_list", "province_id"), - city_value = this.get_init_value("city_list", "city_id"), - county_value = this.get_init_value("county_list", "county_id"); - this.setData({ - province_value: province_value, - city_value: city_value, - county_value: county_value + // 省市区未按照顺序选择提示 + region_select_error_event(e) { + var value = e.currentTarget.dataset.value || null; + if (value != null) { + app.showToast(value); + } + }, + + // 选择地理位置 + choose_location_event(e) { + wx.navigateTo({ + url: '/pages/common/open-setting-location/open-setting-location' }); }, - get_init_value(list, id) { - var data = this.data[list], - data_id = this.data[id], - value; - data.forEach((d, i) => { - if (d.id == data_id) { - value = i; - return false; + // 地址信息初始化 + user_location_init() { + var result = wx.getStorageSync(this.data.user_location_cache_key) || null; + var data = null; + if (result != null) + { + data = { + name: result.name || null, + address: result.address || null, + lat: result.latitude || null, + lng: result.longitude || null + } + } + this.setData({user_location: data}); + }, + + // 文件上传 + file_upload_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + wx.chooseImage({ + count: 1, + success(res) { + var success = 0; + var fail = 0; + var length = res.tempFilePaths.length; + var count = 0; + self.upload_one_by_one(res.tempFilePaths, success, fail, count, length, form_name); + } + }); + }, + + // 采用递归的方式上传多张 + upload_one_by_one(img_paths, success, fail, count, length, form_name) { + var self = this; + wx.uploadFile({ + url: app.get_request_url("index", "ueditor"), + filePath: img_paths[count], + name: 'upfile', + formData: { + action: 'uploadimage', + path_type: self.data.editor_path_type + }, + success: function (res) { + success++; + if (res.statusCode == 200) { + var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data); + if (data.code == 0 && (data.data.url || null) != null) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = data.data.url; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } else { + app.showToast(data.msg); + } + } + }, + fail: function (e) { + fail++; + }, + complete: function (e) { + count++; // 下一张 + if (count >= length) { + // 上传完毕,作一下提示 + //app.showToast('上传成功' + success +'张', 'success'); + } else { + // 递归调用,上传下一张 + self.upload_one_by_one(img_paths, success, fail, count, length, form_name); + } + } + }); + }, + + // 图片删除 + upload_delete_event(e) { + var form_name = e.currentTarget.dataset.value || null; + if(form_name == null) { + app.showToast('表单名称类型有误'); + return false; + } + + var self = this; + wx.showModal({ + title: '温馨提示', + content: '删除后不可恢复、继续吗?', + success(res) { + if (res.confirm) { + var temp_idcard_images_data = self.data.idcard_images_data || {}; + temp_idcard_images_data[form_name] = ''; + self.setData({ idcard_images_data: temp_idcard_images_data }); + } } }); - return value; }, // 数据提交 form_submit(e) { - var self = this, - data = self.data; + var self = this; // 表单数据 var form_data = e.detail.value; // 数据校验 var validation = [ - { fields: "name", msg: "请填写姓名" }, - { fields: "tel", msg: "请填写手机号" }, + { fields: "name", msg: "请填写联系人" }, + { fields: "tel", msg: "请填写联系电话" }, { fields: "province", msg: "请选择省份" }, { fields: "city", msg: "请选择城市" }, { fields: "county", msg: "请选择区县" }, - { fields: "address", msg: "请填写详细地址" } + { fields: "address", msg: "请填写详细地址" }, + { fields: "lng", msg: "请选择地理位置" }, + { fields: "lat", msg: "请选择地理位置" } ]; - form_data["province"] = data.province_id; - form_data["city"] = data.city_id; - form_data["county"] = data.county_id; + form_data["province"] = self.data.province_id; + form_data["city"] = self.data.city_id; + form_data["county"] = self.data.county_id; form_data["id"] = self.data.params.id || 0; - form_data["is_default"] = self.data.is_default || 0; + form_data["is_default"] = form_data.is_default == true ? 1 : 0; + form_data['idcard_front'] = self.data.idcard_images_data.idcard_front || ''; + form_data['idcard_back'] = self.data.idcard_images_data.idcard_back || ''; + // 地理位置 + var lng = 0; + var lat = 0; + if((self.data.user_location || null) != null) { + lng = self.data.user_location.lng || 0; + lat = self.data.user_location.lat || 0; + } + if((self.data.address_data || null) != null) { + if((lng || null) == null) { + lng = self.data.address_data.lng || 0; + } + if((lat || null) == null) { + lat = self.data.address_data.lat || 0; + } + } + form_data["lng"] = lng; + form_data["lat"] = lat; + + // 验证提交表单 if (app.fields_check(form_data, validation)) { - // 加载loding - wx.showLoading({title: "处理中..." }); - + // 数据保存 + self.setData({ form_submit_disabled_status: true }); + wx.showLoading({ title: "处理中..." }); wx.request({ url: app.get_request_url("save", "useraddress"), method: "POST", @@ -305,10 +464,11 @@ Page({ wx.hideLoading(); if (res.data.code == 0) { app.showToast(res.data.msg, "success"); - setTimeout(function() { + setTimeout(function () { wx.navigateBack(); }, 1000); } else { + self.setData({ form_submit_disabled_status: false }); if (app.is_login_check(res.data)) { app.showToast(res.data.msg); } else { @@ -317,19 +477,11 @@ Page({ } }, fail: () => { + self.setData({ form_submit_disabled_status: false }); wx.hideLoading(); app.showToast("服务器请求出错"); } }); } }, - - // 省市区未按照顺序选择提示 - region_select_error_event(e) { - var value = e.currentTarget.dataset.value || null; - if(value != null) - { - app.showToast(value); - } - } }); diff --git a/sourcecode/weixin/pages/user-address-save/user-address-save.wxml b/sourcecode/weixin/pages/user-address-save/user-address-save.wxml index 00d4fc2b9..e69ec2e66 100755 --- a/sourcecode/weixin/pages/user-address-save/user-address-save.wxml +++ b/sourcecode/weixin/pages/user-address-save/user-address-save.wxml @@ -1,34 +1,88 @@ -
- - - - + + + + 别名选填 + - - - - - {{province_list[province_value].name || default_province}} + + 联系人必填 + + + + + 联系电话必填 + + + + + 省市区必选 + + + + {{province_list[province_value].name || default_province}} - - - {{city_list[city_value].name || default_city}} - - 请先选择省份 - - - {{county_list[county_value].name || default_county}} + + {{city_list[city_value].name || default_city}} - 请先选择城市 + 请先选择省份 + + + + {{county_list[county_value].name || default_county}} + + 请先选择城市 + - - - + + 详细地址必填 + + - - \ No newline at end of file + + 地理位置必选 + + 请选择地理位置 + {{((user_location || null) != null && (user_location.name || null) != null) ? user_location.name+' ' : ''}}{{user_location.address || address_data.address || ''}} + + + + + 是否默认选填 + + + + + + + + + 身份证姓名选填,请务必与上传的身份证件姓名保持一致 + + + + 身份证号码选填,请务必与上传的身份证件号码保持一致 + + + + 身份证照片选填,请使用身份证原件拍摄,图片要清晰 + + + x + + + + x + + + + + + + + + \ No newline at end of file diff --git a/sourcecode/weixin/pages/user-address-save/user-address-save.wxss b/sourcecode/weixin/pages/user-address-save/user-address-save.wxss index 80f6f206f..6c0f2f315 100755 --- a/sourcecode/weixin/pages/user-address-save/user-address-save.wxss +++ b/sourcecode/weixin/pages/user-address-save/user-address-save.wxss @@ -1,38 +1,39 @@ -/* 填写信息 */ -.person-box{ - padding: 20rpx 0; -} -.person-box input{ - height: 100rpx; - line-height: 100rpx; - font-size: 28rpx; - padding: 0 10rpx; - border-radius:0; -} -.addressee .addressee-name{ - width: 250rpx; +/* + * 三级联动 + */ +.select-address { box-sizing: border-box; -} -.addressee .addressee-phone{ - box-sizing: border-box; - width: calc(100% - 250rpx); -} -/* 三级联动 */ -.select-address{ - box-sizing: border-box; - height: 100rpx; - line-height: 100rpx; + height: 70rpx; + line-height: 70rpx; padding: 0 10rpx; } .select-address .section { - width: 33%; + width: 33.33%; box-sizing: border-box; } .select-address .section:not(:first-child) { padding: 0 5rpx; } -/* end 三级联动 */ -.addressee-address{ - box-sizing: border-box; - width: 100%; + +/* + * 表单 + */ +.page { + padding-bottom: 85rpx; +} +.submit-bottom { + z-index: 2; +} + +/* + * 身份信息 + */ +.idcard-container { + background: #e0e0e0; + padding: 30rpx; +} +.idcard-container .form-upload-data .item image { + width: 256rpx; + height: 170rpx; + border: 1px dashed #c2c2c2; } \ No newline at end of file diff --git a/sourcecode/weixin/pages/user-address/user-address.js b/sourcecode/weixin/pages/user-address/user-address.js index 67cbb7927..8b43a49de 100755 --- a/sourcecode/weixin/pages/user-address/user-address.js +++ b/sourcecode/weixin/pages/user-address/user-address.js @@ -10,11 +10,11 @@ Page({ onLoad(params) { this.setData({params: params}); - this.init(); }, onShow() { wx.setNavigationBarTitle({title: app.data.common_pages_title.user_address}); + this.init(); }, // 初始化 @@ -289,5 +289,37 @@ Page({ } }); }, + + // 地址编辑 + address_edit_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 进入编辑页面 + wx.navigateTo({ + url: '/pages/user-address-save/user-address-save?id='+data.id + }); + }, + + // 地图查看 + address_map_event(e) { + var index = e.currentTarget.dataset.index || 0; + var data = this.data.data_list[index] || null; + if (data == null) + { + app.showToast("地址有误"); + return false; + } + + // 打开地图 + var name = data.alias || data.name || ''; + var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); + app.open_location(data.lng, data.lat, name, address); + }, }); diff --git a/sourcecode/weixin/pages/user-address/user-address.wxml b/sourcecode/weixin/pages/user-address/user-address.wxml index ae24bfa75..02325a5b2 100755 --- a/sourcecode/weixin/pages/user-address/user-address.wxml +++ b/sourcecode/weixin/pages/user-address/user-address.wxml @@ -18,10 +18,11 @@ 设为默认地址 - - - - + + + + +
diff --git a/sourcecode/weixin/pages/user-address/user-address.wxss b/sourcecode/weixin/pages/user-address/user-address.wxss index 722fdb159..7f61e2905 100755 --- a/sourcecode/weixin/pages/user-address/user-address.wxss +++ b/sourcecode/weixin/pages/user-address/user-address.wxss @@ -28,8 +28,8 @@ margin-right: 10rpx; vertical-align: middle; } -.operation .delete-submit { - margin-left: 20rpx; +.operation .submit-items button:not(:last-child) { + margin-right: 20rpx; } .page { padding-bottom: 85rpx; diff --git a/sourcecode/weixin/pages/user-order-detail/user-order-detail.js b/sourcecode/weixin/pages/user-order-detail/user-order-detail.js index dcdbd8ab9..c45e2ca07 100755 --- a/sourcecode/weixin/pages/user-order-detail/user-order-detail.js +++ b/sourcecode/weixin/pages/user-order-detail/user-order-detail.js @@ -110,7 +110,7 @@ Page({ var data = this.data.detail.address_data; // 打开地图 - var name = data.alias || ''; + var name = data.alias || data.name || ''; var address = (data.province_name || '') + (data.city_name || '') + (data.county_name || '') + (data.address || ''); app.open_location(data.lng, data.lat, name, address); },