diff --git a/application/lang/zh-cn.php b/application/lang/zh-cn.php
index 641fe1a0a118c08e2887f847ab22fcb175f4628d..31c918e469f431f1e2b10aed580990d8ee7e7c76 100755
--- a/application/lang/zh-cn.php
+++ b/application/lang/zh-cn.php
@@ -154,6 +154,7 @@ return array(
'common_business_type_list' => array(
0 => array('id' => 0, 'name' => '默认', 'checked' => true),
1 => array('id' => 1, 'name' => '订单'),
+ 2 => array('id' => 2, 'name' => '充值'),
),
// 用户积分 - 操作类型
diff --git a/application/plugins/wallet/Recharge.php b/application/plugins/wallet/Recharge.php
index e10d1d6892f52476f6bc9543190b3df65ced51a4..c7dfadd2592ca73d2d85bc632e39f8ca27175c84 100755
--- a/application/plugins/wallet/Recharge.php
+++ b/application/plugins/wallet/Recharge.php
@@ -12,6 +12,7 @@ namespace app\plugins\wallet;
use app\plugins\wallet\Common;
use app\plugins\wallet\service\BaseService;
+use app\plugins\wallet\service\PayService;
/**
* 钱包 - 充值
@@ -115,7 +116,7 @@ class Recharge extends Common
{
// 用户
$params['user'] = $this->user;
- return BaseService::Pay($params);
+ return PayService::Pay($params);
}
/**
@@ -131,7 +132,7 @@ class Recharge extends Common
if(input('post.'))
{
$params['user'] = $this->user;
- return BaseService::RechargePayCheck($params);
+ return PayService::RechargePayCheck($params);
} else {
$this->assign('msg', '非法访问');
return $this->fetch('public/tips_error');
@@ -149,23 +150,16 @@ class Recharge extends Common
*/
public function respond($params = [])
{
- $this->assign('msg', '支付失败');
- return $this->fetch('public/pay_error');
- }
-
- /**
- * 支付异步通知
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @date 2019-04-29
- * @desc description
- * @param [array] $params [输入参数]
- */
- public function notify($params = [])
- {
- $this->assign('msg', '支付成功');
- return $this->fetch('public/pay_success');
+ $params['user'] = $this->user;
+ $ret = PayService::Respond($params);
+ if($ret['code'] == 0)
+ {
+ $this->assign('msg', '支付成功');
+ return $this->fetch('public/pay_success');
+ } else {
+ $this->assign('msg', $ret['msg']);
+ return $this->fetch('public/pay_error');
+ }
}
/**
diff --git a/application/plugins/wallet/Rechargenotify.php b/application/plugins/wallet/Rechargenotify.php
new file mode 100644
index 0000000000000000000000000000000000000000..43de9dc49d8a8d928f7c97f4067555a94b8ab6ff
--- /dev/null
+++ b/application/plugins/wallet/Rechargenotify.php
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/application/plugins/wallet/service/BaseService.php b/application/plugins/wallet/service/BaseService.php
index c93ebe7f22dcff57af45b966515841bb96b4110a..0f2df5d03cf3b2f9a710a07602123a233e047141 100755
--- a/application/plugins/wallet/service/BaseService.php
+++ b/application/plugins/wallet/service/BaseService.php
@@ -15,6 +15,7 @@ use app\service\PluginsService;
use app\service\ResourcesService;
use app\service\PaymentService;
use app\plugins\wallet\service\WalletService;
+use app\plugins\wallet\service\PayService;
/**
* 基础服务层
@@ -25,17 +26,6 @@ use app\plugins\wallet\service\WalletService;
*/
class BaseService
{
- // 基础数据附件字段
- public static $base_config_attachment_field = [
- 'default_level_images'
- ];
-
- // 充值支付状态
- public static $recharge_status_list = [
- 0 => ['value' => 0, 'name' => '未支付', 'checked' => true],
- 1 => ['value' => 1, 'name' => '已支付'],
- ];
-
/**
* 充值列表
* @author Devil
@@ -71,7 +61,7 @@ class BaseService
}
// 支付状态
- $v['status_text'] = isset($v['status']) ? self::$recharge_status_list[$v['status']]['name'] : '';
+ $v['status_text'] = isset($v['status']) ? PayService::$recharge_status_list[$v['status']]['name'] : '';
// 支付时间
$v['pay_time_text'] = empty($v['pay_time']) ? '' : date('Y-m-d H:i:s', $v['pay_time']);
@@ -183,166 +173,6 @@ class BaseService
return DataReturn('添加失败', -100);
}
- /**
- * 支付
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @date 2019-04-29
- * @desc description
- * @param array $params [description]
- */
- public static function Pay($params = [])
- {
- // 请求参数
- $p = [
- [
- 'checked_type' => 'empty',
- 'key_name' => 'user',
- 'error_msg' => '用户信息有误',
- ],
- [
- 'checked_type' => 'empty',
- 'key_name' => 'recharge_id',
- 'error_msg' => '充值日志id不能为空',
- ],
- [
- 'checked_type' => 'empty',
- 'key_name' => 'payment_id',
- 'error_msg' => '请选择支付方式',
- ],
- ];
- $ret = ParamsChecked($params, $p);
- if($ret !== true)
- {
- return DataReturn($ret, -1);
- }
-
- // 支付方式;
- $payment = PaymentService::PaymentList(['where'=>['id'=>intval($params['payment_id']), 'is_enable'=>1, 'is_open_user'=>1]]);
- if(empty($payment[0]))
- {
- return DataReturn('支付方式有误', -1);
- }
-
- // 支付入口文件检查
- $pay_checked = PaymentService::EntranceFileChecked($payment[0]['payment'], 'wallet');
- if($pay_checked['code'] != 0)
- {
- // 入口文件不存在则创建
- $payment_params = [
- 'payment' => $payment[0]['payment'],
- 'business' => [
- ['name' => 'Wallet', 'desc' => '钱包'],
- ],
- 'respond' => '/index/plugins/index/pluginsname/wallet/pluginscontrol/wallet/pluginsaction/respond',
- 'notify' => '/index/plugins/index/pluginsname/wallet/pluginscontrol/wallet/pluginsaction/notify',
- ];
- $ret = PaymentService::PaymentEntranceCreated($payment_params);
- if($ret['code'] != 0)
- {
- return $ret;
- }
- }
-
- // 非线上支付方式不可用
- if(in_array($payment[0]['payment'], config('shopxo.under_line_list')))
- {
- return DataReturn('不能使用非线上支付方式进行充值', -10);
- }
-
- // 获取充值数据
- $recharge = Db::name('PluginsWalletRecharge')->where(['id'=>intval($params['recharge_id'])])->find();
- if(empty($recharge))
- {
- return DataReturn('充值数据不存在', -1);
- }
- if($recharge['status'] == 1)
- {
- return DataReturn('该数据已充值,请重新创建充值订单', -2);
- }
-
- // 回调地址
- $url = __MY_URL__.'payment_wallet_'.strtolower($payment[0]['payment']);
-
- // url模式, pathinfo模式下采用自带url生成url, 避免非index.php多余
- if(MyC('home_seo_url_model', 0) == 0)
- {
- $call_back_url = $url.'_respond.php';
- } else {
- $call_back_url = PluginsHomeUrl('wallet', 'recharge', 'respond', ['paymentname'=>$payment[0]['payment']]);
- if(stripos($call_back_url, '?') !== false)
- {
- $call_back_url = $url.'_respond.php';
- }
- }
-
- // 发起支付
- $pay_data = array(
- 'user' => $params['user'],
- 'out_user' => md5($params['user']['id']),
- 'order_id' => $recharge['id'],
- 'order_no' => $recharge['recharge_no'],
- 'name' => '钱包充值',
- 'total_price' => $recharge['money'],
- 'notify_url' => $url.'_notify.php',
- 'call_back_url' => $call_back_url,
- 'site_name' => MyC('home_site_name', 'ShopXO', true),
- 'ajax_url' => PluginsHomeUrl('wallet', 'recharge', 'paycheck')
- );
- $pay_name = 'payment\\'.$payment[0]['payment'];
- $ret = (new $pay_name($payment[0]['config']))->Pay($pay_data);
- if(isset($ret['code']) && $ret['code'] == 0)
- {
- return $ret;
- }
- return DataReturn(empty($ret['msg']) ? '支付接口异常' : $ret['msg'], -1);
- }
-
- /**
- * 支付状态校验
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @date 2019-01-08
- * @desc description
- * @param [array] $params [输入参数]
- */
- public static function RechargePayCheck($params = [])
- {
- // 请求参数
- $p = [
- [
- 'checked_type' => 'empty',
- 'key_name' => 'order_no',
- 'error_msg' => '充值单号有误',
- ],
- [
- 'checked_type' => 'empty',
- 'key_name' => 'user',
- 'error_msg' => '用户信息有误',
- ],
- ];
- $ret = ParamsChecked($params, $p);
- if($ret !== true)
- {
- return DataReturn($ret, -1);
- }
-
- // 获取订单状态
- $where = ['recharge_no'=>$params['order_no'], 'user_id'=>$params['user']['id']];
- $recharge = Db::name('PluginsWalletRecharge')->where($where)->field('id,status')->find();
- if(empty($recharge))
- {
- return DataReturn('充值数据不存在', -400, ['url'=>__MY_URL__]);
- }
- if($recharge['status'] == 1)
- {
- return DataReturn('支付成功', 0, ['url'=>PluginsHomeUrl('wallet', 'recharge', 'index')]);
- }
- return DataReturn('支付中', -300);
- }
-
/**
* 充值纪录删除
* @author Devil
diff --git a/application/plugins/wallet/service/PayService.php b/application/plugins/wallet/service/PayService.php
new file mode 100644
index 0000000000000000000000000000000000000000..0d989cd090ebcbdb7c2e55085d1ab1adf9b81e3e
--- /dev/null
+++ b/application/plugins/wallet/service/PayService.php
@@ -0,0 +1,357 @@
+ ['value' => 0, 'name' => '未支付', 'checked' => true],
+ 1 => ['value' => 1, 'name' => '已支付'],
+ ];
+
+ /**
+ * 支付
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2019-04-29
+ * @desc description
+ * @param array $params [description]
+ */
+ public static function Pay($params = [])
+ {
+ // 请求参数
+ $p = [
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'user',
+ 'error_msg' => '用户信息有误',
+ ],
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'recharge_id',
+ 'error_msg' => '充值日志id不能为空',
+ ],
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'payment_id',
+ 'error_msg' => '请选择支付方式',
+ ],
+ ];
+ $ret = ParamsChecked($params, $p);
+ if($ret !== true)
+ {
+ return DataReturn($ret, -1);
+ }
+
+ // 支付方式;
+ $payment = PaymentService::PaymentList(['where'=>['id'=>intval($params['payment_id']), 'is_enable'=>1, 'is_open_user'=>1]]);
+ if(empty($payment[0]))
+ {
+ return DataReturn('支付方式有误', -1);
+ }
+
+ // 支付入口文件检查
+ $pay_checked = PaymentService::EntranceFileChecked($payment[0]['payment'], 'wallet');
+ if($pay_checked['code'] != 0)
+ {
+ // 入口文件不存在则创建
+ $payment_params = [
+ 'payment' => $payment[0]['payment'],
+ 'business' => [
+ ['name' => 'Wallet', 'desc' => '钱包'],
+ ],
+ 'respond' => '/index/plugins/index/pluginsname/wallet/pluginscontrol/recharge/pluginsaction/respond',
+ 'notify' => '/index/plugins/index/pluginsname/wallet/pluginscontrol/rechargenotify/pluginsaction/notify',
+ ];
+ $ret = PaymentService::PaymentEntranceCreated($payment_params);
+ if($ret['code'] != 0)
+ {
+ return $ret;
+ }
+ }
+
+ // 非线上支付方式不可用
+ if(in_array($payment[0]['payment'], config('shopxo.under_line_list')))
+ {
+ return DataReturn('不能使用非线上支付方式进行充值', -10);
+ }
+
+ // 获取充值数据
+ $recharge = Db::name('PluginsWalletRecharge')->where(['id'=>intval($params['recharge_id'])])->find();
+ if(empty($recharge))
+ {
+ return DataReturn('充值数据不存在', -1);
+ }
+ if($recharge['status'] == 1)
+ {
+ return DataReturn('该数据已充值,请重新创建充值订单', -2);
+ }
+
+ // 回调地址
+ $url = __MY_URL__.'payment_wallet_'.strtolower($payment[0]['payment']);
+
+ // url模式, pathinfo模式下采用自带url生成url, 避免非index.php多余
+ if(MyC('home_seo_url_model', 0) == 0)
+ {
+ $call_back_url = $url.'_respond.php';
+ } else {
+ $call_back_url = PluginsHomeUrl('wallet', 'recharge', 'respond', ['paymentname'=>$payment[0]['payment']]);
+ if(stripos($call_back_url, '?') !== false)
+ {
+ $call_back_url = $url.'_respond.php';
+ }
+ }
+
+ // 发起支付
+ $pay_data = array(
+ 'user' => $params['user'],
+ 'out_user' => md5($params['user']['id']),
+ 'order_id' => $recharge['id'],
+ 'order_no' => $recharge['recharge_no'],
+ 'name' => '账户充值',
+ 'total_price' => $recharge['money'],
+ 'notify_url' => $url.'_notify.php',
+ 'call_back_url' => $call_back_url,
+ 'site_name' => MyC('home_site_name', 'ShopXO', true),
+ 'ajax_url' => PluginsHomeUrl('wallet', 'recharge', 'paycheck')
+ );
+ $pay_name = 'payment\\'.$payment[0]['payment'];
+ $ret = (new $pay_name($payment[0]['config']))->Pay($pay_data);
+ if(isset($ret['code']) && $ret['code'] == 0)
+ {
+ return $ret;
+ }
+ return DataReturn(empty($ret['msg']) ? '支付接口异常' : $ret['msg'], -1);
+ }
+
+ /**
+ * 支付状态校验
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2019-01-08
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public static function RechargePayCheck($params = [])
+ {
+ // 请求参数
+ $p = [
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'order_no',
+ 'error_msg' => '充值单号有误',
+ ],
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'user',
+ 'error_msg' => '用户信息有误',
+ ],
+ ];
+ $ret = ParamsChecked($params, $p);
+ if($ret !== true)
+ {
+ return DataReturn($ret, -1);
+ }
+
+ // 获取订单状态
+ $where = ['recharge_no'=>$params['order_no'], 'user_id'=>$params['user']['id']];
+ $recharge = Db::name('PluginsWalletRecharge')->where($where)->field('id,status')->find();
+ if(empty($recharge))
+ {
+ return DataReturn('充值数据不存在', -400, ['url'=>__MY_URL__]);
+ }
+ if($recharge['status'] == 1)
+ {
+ return DataReturn('支付成功', 0, ['url'=>PluginsHomeUrl('wallet', 'recharge', 'index')]);
+ }
+ return DataReturn('支付中', -300);
+ }
+
+ /**
+ * 支付同步处理
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2018-09-28
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public static function Respond($params = [])
+ {
+ // 请求参数
+ $p = [
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'user',
+ 'error_msg' => '用户信息有误',
+ ],
+ ];
+ $ret = ParamsChecked($params, $p);
+ if($ret !== true)
+ {
+ return DataReturn($ret, -1);
+ }
+
+ // 支付方式
+ $payment_name = defined('PAYMENT_TYPE') ? PAYMENT_TYPE : (isset($params['paymentname']) ? $params['paymentname'] : '');
+ if(empty($payment_name))
+ {
+ return DataReturn('支付方式标记异常', -1);
+ }
+ $payment = PaymentService::PaymentList(['where'=>['payment'=>$payment_name]]);
+ if(empty($payment[0]))
+ {
+ return DataReturn('支付方式有误', -1);
+ }
+
+ // 支付数据校验
+ $pay_name = 'payment\\'.$payment_name;
+ $ret = (new $pay_name($payment[0]['config']))->Respond(array_merge($_GET, $_POST));
+ if(isset($ret['code']) && $ret['code'] == 0)
+ {
+ return DataReturn('支付成功', 0);
+ }
+ return DataReturn(empty($ret['msg']) ? '支付失败' : $ret['msg'], -100);
+ }
+
+ /**
+ * 支付异步处理
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2018-09-28
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public static function Notify($params = [])
+ {
+ // 支付方式
+ $payment = PaymentService::PaymentList(['where'=>['payment'=>PAYMENT_TYPE]]);
+ if(empty($payment[0]))
+ {
+ return DataReturn('支付方式有误', -1);
+ }
+
+ // 支付数据校验
+ $pay_name = 'payment\\'.PAYMENT_TYPE;
+ $ret = (new $pay_name($payment[0]['config']))->Respond(array_merge($_GET, $_POST));
+ if(!isset($ret['code']) || $ret['code'] != 0)
+ {
+ return $ret;
+ }
+
+ // 获取充值信息
+ $recharge = Db::name('PluginsWalletRecharge')->where(['recharge_no'=>$ret['data']['out_trade_no']])->find();
+
+ // 支付处理
+ $pay_params = [
+ 'recharge' => $recharge,
+ 'payment' => $payment[0],
+ 'pay' => [
+ 'trade_no' => $ret['data']['trade_no'],
+ 'subject' => $ret['data']['subject'],
+ 'buyer_user' => $ret['data']['buyer_user'],
+ 'pay_price' => $ret['data']['pay_price'],
+ ],
+ ];
+ return self::RechargePayHandle($pay_params);
+ }
+
+ /**
+ * 充值支付处理
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2018-10-05T23:02:14+0800
+ * @param [array] $params [输入参数]
+ */
+ private static function RechargePayHandle($params = [])
+ {
+ // 订单信息
+ if(empty($params['recharge']))
+ {
+ return DataReturn('资源不存在或已被删除', -1);
+ }
+ if($params['recharge']['status'] > 0)
+ {
+ $status_text = self::$recharge_status_list[$params['recharge']['status']]['name'];
+ return DataReturn('状态不可操作['.$status_text.']', 0);
+ }
+
+ // 支付方式
+ if(empty($params['payment']))
+ {
+ return DataReturn('支付方式有误', -1);
+ }
+
+ // 支付参数
+ $pay_price = isset($params['pay']['pay_price']) ? $params['pay']['pay_price'] : 0;
+
+ // 写入支付日志
+ $pay_log_data = [
+ 'user_id' => $params['recharge']['user_id'],
+ 'order_id' => $params['recharge']['id'],
+ 'total_price' => $params['recharge']['money'],
+ 'trade_no' => isset($params['pay']['trade_no']) ? $params['pay']['trade_no'] : '',
+ 'buyer_user' => isset($params['pay']['buyer_user']) ? $params['pay']['buyer_user'] : '',
+ 'pay_price' => $pay_price,
+ 'subject' => isset($params['pay']['subject']) ? $params['pay']['subject'] : '账户充值',
+ 'payment' => $params['payment']['payment'],
+ 'payment_name' => $params['payment']['name'],
+ 'business_type' => 2,
+ ];
+ PayLogService::PayLogInsert($pay_log_data);
+
+ // 开启事务
+ Db::startTrans();
+
+ // 消息通知
+ $detail = '账户充值成功,金额'.PriceBeautify($params['recharge']['money']).'元';
+ MessageService::MessageAdd($params['recharge']['user_id'], '账户充值', $detail, 2, $params['recharge']['id']);
+
+ // 更新充值状态
+ $upd_data = array(
+ 'status' => 1,
+ 'pay_price' => $pay_price,
+ 'payment_id' => $params['payment']['id'],
+ 'payment' => $params['payment']['payment'],
+ 'payment_name' => $params['payment']['name'],
+ 'pay_time' => time(),
+ 'upd_time' => time(),
+ );
+ if(Db::name('PluginsWalletRecharge')->where(['id'=>$params['recharge']['id']])->update($upd_data))
+ {
+ // 提交事务
+ Db::commit();
+ return DataReturn('支付成功', 0);
+ }
+
+ // 处理失败
+ Db::rollback();
+ return DataReturn('处理失败', -100);
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/service/MessageService.php b/application/service/MessageService.php
index 9bc550abdbf693aec21a1150a6ded0bae4674cac..0a659655ca99fb20e46d6b664b1c88fc76f21418 100755
--- a/application/service/MessageService.php
+++ b/application/service/MessageService.php
@@ -31,7 +31,7 @@ class MessageService
* @param [int] $user_id [用户id]
* @param [string] $title [标题]
* @param [string] $detail [内容]
- * @param [int] $business_type [业务类型(0默认, 1订单, ...)]
+ * @param [int] $business_type [业务类型(0默认, 1订单, 2充值, ...)]
* @param [int] $business_id [业务id]
* @param [int] $type [类型(默认0 普通消息)]
* @return [boolean] [成功true, 失败false]
diff --git a/application/service/OrderService.php b/application/service/OrderService.php
index 2142d2b8e9c761660ea94606c082fe40074a0ea0..103f7aaf7b28f1ce0c031b55a67ab0be19eacf3b 100755
--- a/application/service/OrderService.php
+++ b/application/service/OrderService.php
@@ -18,6 +18,7 @@ use app\service\IntegralService;
use app\service\RegionService;
use app\service\ExpressService;
use app\service\ResourcesService;
+use app\service\PayLogService;
/**
* 订单服务层
@@ -412,9 +413,8 @@ class OrderService
'payment' => $params['payment']['payment'],
'payment_name' => $params['payment']['name'],
'business_type' => 1,
- 'add_time' => time(),
];
- Db::name('PayLog')->insertGetId($pay_log_data);
+ PayLogService::PayLogInsert($pay_log_data);
// 开启事务
Db::startTrans();
diff --git a/application/service/PayLogService.php b/application/service/PayLogService.php
index a7cc3d8154a0bf5852d389597b0a3ddad66d9e9e..19b0ec681d9568eac2b88c5c0f1285177075be35 100755
--- a/application/service/PayLogService.php
+++ b/application/service/PayLogService.php
@@ -21,6 +21,43 @@ use think\Db;
*/
class PayLogService
{
+ /**
+ * 支付日志添加
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2019-05-07T00:57:36+0800
+ * @param [array] $params [输入参数]
+ * @param [int] $user_id [用户id]
+ * @param [int] $order_id [业务订单id]
+ * @param [float] $total_price [业务订单实际金额]
+ * @param [string] $trade_no [支付平台交易号]
+ * @param [string] $buyer_user [支付平台用户帐号]
+ * @param [float] $pay_price [支付金额]
+ * @param [string] $subject [业务订单名称]
+ * @param [string] $payment [支付方式标记]
+ * @param [string] $payment_name [支付方式名称]
+ * @param [int] $business_type [业务类型(0默认, 1订单, 2充值, ...)]
+ * @return [boolean] [成功true, 失败false]
+ */
+ public static function PayLogInsert($params = [])
+ {
+ $data = [
+ 'user_id' => isset($params['user_id']) ? intval($params['user_id']) : 0,
+ 'order_id' => isset($params['order_id']) ? intval($params['order_id']) : 0,
+ 'total_price' => isset($params['total_price']) ? intval($params['total_price']) : 0,
+ 'trade_no' => isset($params['trade_no']) ? $params['trade_no'] : '',
+ 'buyer_user' => isset($params['buyer_user']) ? intval($params['buyer_user']) : '',
+ 'pay_price' => isset($params['pay_price']) ? PriceNumberFormat($params['pay_price']) : 0.00,
+ 'subject' => isset($params['subject']) ? intval($params['subject']) : '',
+ 'payment' => isset($params['payment']) ? intval($params['payment']) : '',
+ 'payment_name' => isset($params['payment_name']) ? intval($params['payment_name']) : '',
+ 'business_type' => isset($params['business_type']) ? intval($params['business_type']) : 0,
+ 'add_time' => time(),
+ ];
+ return Db::name('PayLog')->insertGetId($data) > 0;
+ }
+
/**
* 获取支付日志类型
* @author Devil
diff --git a/config/shopxo.sql b/config/shopxo.sql
index 12e0fa20a5e08e67f2ce1f7b59825c2dc2f4c81a..bee11a20f723dc24dc81e9a3cc05881c864d1f97 100644
--- a/config/shopxo.sql
+++ b/config/shopxo.sql
@@ -11,7 +11,7 @@
Target Server Version : 50722
File Encoding : utf-8
- Date: 05/06/2019 18:39:02 PM
+ Date: 05/07/2019 17:39:35 PM
*/
SET NAMES utf8mb4;
@@ -368,7 +368,7 @@ CREATE TABLE `s_goods` (
-- Records of `s_goods`
-- ----------------------------
BEGIN;
-INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '
![\"1547450880620837.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880620837.png\")
![\"1547450880750687.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880750687.png\")
![\"1547450880917418.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880917418.png\")
', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '', '', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1699', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '![\"1547451595700972.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\")
![\"1547451595528800.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\")
![\"1547451595616298.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\")
', '2', '0', '186', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '', '', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '![\"1547451947383902.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\")
![\"1547451947686990.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\")
![\"1547451947676180.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\")
![\"1547451947791154.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\")
', '2', '0', '36', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '', '', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '![\"1547452505568604.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\")
![\"1547452505349986.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\")
![\"1547452505184884.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\")
', '2', '0', '164', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '', '', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '![\"1547452760417982.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760417982.jpg\")
![\"1547452760659259.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760659259.jpg\")
![\"1547452760984656.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760984656.jpg\")
', '2', '1', '235', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '318', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', ' X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)
![\"1547453042405182.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042405182.jpg\")
![\"1547453042614480.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042614480.jpg\")
![\"1547453042816509.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042816509.jpg\")
', '2', '0', '247', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '', '', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '319', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '![\"1547453910353340.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910353340.jpg\")
![\"1547453910505349.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910505349.jpg\")
![\"1547453910394886.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910394886.jpg\")
', '2', '0', '105', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '', '', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '![\"1547454192301566.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192301566.jpg\")
![\"1547454192448116.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192448116.jpg\")
![\"1547454192474638.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192474638.jpg\")
', '2', '0', '29', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '', '', '0', '1547454269', '1554485486'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '596', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '![\"1547454712270511.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454712270511.jpg\")
![\"1547454713556301.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713556301.jpg\")
![\"1547454713800333.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713800333.jpg\")
![\"1547454713456602.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713456602.jpg\")
', '3', '0', '108', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '', '', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '33', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦
XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~
蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~
![\"1547455266234658.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266234658.jpg\")
![\"1547455266527628.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266527628.jpg\")
', '2', '0', '201', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '', '', '0', '1547455375', '1557027030'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665977', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00-268.00', '0.00', '268.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦
XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~
大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~
肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~
![](\"/static/upload/images/goods/2019/01/14/1547455601898622.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601528614.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601314107.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601168384.jpg\"/)
', '4', '1', '84', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '', '', '0', '1547455700', '1556157100'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '117', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '![\"1547456214155362.jpg\" \"d-1.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456214155362.jpg\")
![](\"/static/upload/images/goods/2019/01/14/1547455907486857.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455907256518.jpg\"/)
![\"1547456228913731.jpg\" \"d-2.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456228913731.jpg\")
', '3', '0', '400', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1557025931');
+INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '![\"1547450880620837.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880620837.png\")
![\"1547450880750687.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880750687.png\")
![\"1547450880917418.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880917418.png\")
', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '', '', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1699', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '![\"1547451595700972.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\")
![\"1547451595528800.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\")
![\"1547451595616298.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\")
', '2', '0', '186', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '', '', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '![\"1547451947383902.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\")
![\"1547451947686990.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\")
![\"1547451947676180.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\")
![\"1547451947791154.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\")
', '2', '0', '36', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '', '', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '![\"1547452505568604.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\")
![\"1547452505349986.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\")
![\"1547452505184884.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\")
', '2', '0', '164', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '', '', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '![\"1547452760417982.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760417982.jpg\")
![\"1547452760659259.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760659259.jpg\")
![\"1547452760984656.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760984656.jpg\")
', '2', '1', '236', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '318', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', ' X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)
![\"1547453042405182.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042405182.jpg\")
![\"1547453042614480.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042614480.jpg\")
![\"1547453042816509.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042816509.jpg\")
', '2', '0', '248', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '', '', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '319', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '![\"1547453910353340.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910353340.jpg\")
![\"1547453910505349.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910505349.jpg\")
![\"1547453910394886.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910394886.jpg\")
', '2', '0', '105', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '', '', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '![\"1547454192301566.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192301566.jpg\")
![\"1547454192448116.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192448116.jpg\")
![\"1547454192474638.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192474638.jpg\")
', '2', '0', '30', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '', '', '0', '1547454269', '1554485486'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '596', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '![\"1547454712270511.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454712270511.jpg\")
![\"1547454713556301.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713556301.jpg\")
![\"1547454713800333.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713800333.jpg\")
![\"1547454713456602.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713456602.jpg\")
', '3', '0', '108', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '', '', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '33', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦
XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~
蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~
![\"1547455266234658.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266234658.jpg\")
![\"1547455266527628.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266527628.jpg\")
', '2', '0', '201', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '', '', '0', '1547455375', '1557027030'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665977', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00-268.00', '0.00', '268.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦
XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~
大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~
肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~
![](\"/static/upload/images/goods/2019/01/14/1547455601898622.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601528614.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601314107.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601168384.jpg\"/)
', '4', '1', '84', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '', '', '0', '1547455700', '1556157100'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '117', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '![\"1547456214155362.jpg\" \"d-1.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456214155362.jpg\")
![](\"/static/upload/images/goods/2019/01/14/1547455907486857.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455907256518.jpg\"/)
![\"1547456228913731.jpg\" \"d-2.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456228913731.jpg\")
', '3', '0', '400', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1557025931');
COMMIT;
-- ----------------------------
@@ -382,13 +382,13 @@ CREATE TABLE `s_goods_browse` (
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
`upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览';
+) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览';
-- ----------------------------
-- Records of `s_goods_browse`
-- ----------------------------
BEGIN;
-INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'), ('2', '11', '90', '1554966398', '1556618003'), ('3', '10', '90', '1555048568', '1556618012'), ('4', '9', '90', '1555058265', '1556156966'), ('5', '2', '90', '1555157678', '1557022331'), ('6', '12', '90', '1555159096', '1556618020'), ('7', '5', '90', '1555402359', '1556589041'), ('8', '7', '90', '1555406985', '1556619126'), ('9', '4', '90', '1555491079', '1556517497'), ('10', '6', '90', '1555494278', '1556516609'), ('11', '8', '91', '1556075952', '1556075952'), ('12', '3', '90', '1556077528', '1556609817');
+INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'), ('2', '11', '90', '1554966398', '1556618003'), ('3', '10', '90', '1555048568', '1556618012'), ('4', '9', '90', '1555058265', '1556156966'), ('5', '2', '90', '1555157678', '1557022331'), ('6', '12', '90', '1555159096', '1556618020'), ('7', '5', '90', '1555402359', '1557209460'), ('8', '7', '90', '1555406985', '1556619126'), ('9', '4', '90', '1555491079', '1556517497'), ('10', '6', '90', '1555494278', '1557209453'), ('11', '8', '91', '1556075952', '1556075952'), ('12', '3', '90', '1556077528', '1556609817'), ('13', '8', '90', '1557209457', '1557209457');
COMMIT;
-- ----------------------------
@@ -477,13 +477,13 @@ CREATE TABLE `s_goods_favor` (
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品收藏';
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品收藏';
-- ----------------------------
-- Records of `s_goods_favor`
-- ----------------------------
BEGIN;
-INSERT INTO `s_goods_favor` VALUES ('4', '6', '90', '1555903586');
+INSERT INTO `s_goods_favor` VALUES ('4', '6', '90', '1555903586'), ('5', '8', '90', '1557209458'), ('6', '5', '90', '1557209462');
COMMIT;
-- ----------------------------
@@ -614,7 +614,7 @@ CREATE TABLE `s_message` (
`title` char(60) NOT NULL DEFAULT '' COMMENT '标题',
`detail` char(255) NOT NULL DEFAULT '' COMMENT '详情',
`business_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '业务id',
- `business_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '业务类型(0默认, 1订单, ...)',
+ `business_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '业务类型(0默认, 1订单, 2充值, ...)',
`type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '消息类型(0普通通知, ...)',
`is_read` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否已读(0否, 1是)',
`is_delete_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '是否已删除(0否, 大于0删除时间)',
@@ -628,7 +628,7 @@ CREATE TABLE `s_message` (
-- Records of `s_message`
-- ----------------------------
BEGIN;
-INSERT INTO `s_message` VALUES ('1', '100', '订单支付', '订单支付成功,金额7.02元', '2', '1', '0', '0', '0', '0', '1553826950'), ('2', '100', '订单支付', '订单支付成功,金额10.01元', '3', '1', '0', '0', '0', '0', '1553827061'), ('3', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554188629'), ('4', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554195345'), ('5', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554256553'), ('6', '108', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554270624'), ('7', '114', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554343971'), ('8', '115', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554344687'), ('9', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554962882'), ('10', '90', '订单支付', '订单支付成功,金额267.74元', '1', '1', '0', '1', '0', '0', '1554966442'), ('11', '90', '订单发货', '订单已发货', '1', '1', '0', '1', '0', '0', '1554966457'), ('12', '90', '积分变动', '订单商品完成赠送积分增加1', '0', '0', '0', '1', '0', '0', '1554966464'), ('13', '90', '订单收货', '订单收货成功', '1', '1', '0', '1', '0', '0', '1554966464'), ('14', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1555244676'), ('15', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1555903059'), ('16', '90', '订单支付', '订单支付成功,金额9231.9元', '3', '1', '0', '1', '0', '0', '1556258500'), ('17', '90', '订单支付', '订单支付成功,金额6600元', '4', '1', '0', '1', '0', '0', '1556258528'), ('18', '90', '订单支付', '订单支付成功,金额248元', '5', '1', '0', '1', '0', '0', '1556258552'), ('19', '90', '订单支付', '订单支付成功,金额466元', '6', '1', '0', '1', '0', '0', '1556259546'), ('20', '90', '订单支付', '订单支付成功,金额238元', '7', '1', '0', '1', '0', '0', '1556260768'), ('21', '90', '订单支付', '订单支付成功,金额228元', '8', '1', '0', '1', '0', '0', '1556260794'), ('22', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1556415732'), ('23', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1556603278'), ('24', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1557022304'), ('25', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1557138595');
+INSERT INTO `s_message` VALUES ('1', '100', '订单支付', '订单支付成功,金额7.02元', '2', '1', '0', '0', '0', '0', '1553826950'), ('2', '100', '订单支付', '订单支付成功,金额10.01元', '3', '1', '0', '0', '0', '0', '1553827061'), ('3', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554188629'), ('4', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554195345'), ('5', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554256553'), ('6', '108', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554270624'), ('7', '114', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554343971'), ('8', '115', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554344687'), ('9', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554962882'), ('10', '90', '订单支付', '订单支付成功,金额267.74元', '1', '1', '0', '1', '0', '0', '1554966442'), ('11', '90', '订单发货', '订单已发货', '1', '1', '0', '1', '0', '0', '1554966457'), ('12', '90', '积分变动', '订单商品完成赠送积分增加1', '0', '0', '0', '1', '0', '0', '1554966464'), ('13', '90', '订单收货', '订单收货成功', '1', '1', '0', '1', '0', '0', '1554966464'), ('14', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1555244676'), ('15', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1555903059'), ('16', '90', '订单支付', '订单支付成功,金额9231.9元', '3', '1', '0', '1', '0', '0', '1556258500'), ('17', '90', '订单支付', '订单支付成功,金额6600元', '4', '1', '0', '1', '0', '0', '1556258528'), ('18', '90', '订单支付', '订单支付成功,金额248元', '5', '1', '0', '1', '0', '0', '1556258552'), ('19', '90', '订单支付', '订单支付成功,金额466元', '6', '1', '0', '1', '0', '0', '1556259546'), ('20', '90', '订单支付', '订单支付成功,金额238元', '7', '1', '0', '1', '0', '0', '1556260768'), ('21', '90', '订单支付', '订单支付成功,金额228元', '8', '1', '0', '1', '0', '0', '1556260794'), ('22', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1556415732'), ('23', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1556603278'), ('24', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1557022304'), ('25', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1557138595');
COMMIT;
-- ----------------------------
@@ -841,7 +841,7 @@ CREATE TABLE `s_pay_log` (
`subject` char(255) NOT NULL DEFAULT '' COMMENT '订单名称',
`payment` char(60) NOT NULL DEFAULT '' COMMENT '支付方式标记',
`payment_name` char(60) NOT NULL DEFAULT '' COMMENT '支付方式名称',
- `business_type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '业务类型(0默认, 1订单, ...)',
+ `business_type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '业务类型(0默认, 1订单, 2充值, ...)',
`add_time` int(11) unsigned NOT NULL COMMENT '添加时间',
PRIMARY KEY (`id`),
KEY `pay_type` (`payment`),
@@ -1050,7 +1050,7 @@ CREATE TABLE `s_plugins_wallet` (
-- Records of `s_plugins_wallet`
-- ----------------------------
BEGIN;
-INSERT INTO `s_plugins_wallet` VALUES ('1', '90', '0', '0.00', '0.00', '0.00', '1556610086', '0'), ('2', '91', '1', '124.00', '3.00', '1.00', '1559610086', '0'), ('3', '77', '0', '7566744.00', '12.00', '2345.00', '1586610086', '0');
+INSERT INTO `s_plugins_wallet` VALUES ('1', '90', '0', '10.00', '2.00', '0.00', '1556610086', '1557198251'), ('2', '91', '1', '124.00', '3.00', '1.00', '1559610086', '0'), ('3', '77', '0', '7566744.00', '12.00', '2345.00', '1586610086', '0');
COMMIT;
-- ----------------------------
@@ -1062,21 +1062,23 @@ CREATE TABLE `s_plugins_wallet_log` (
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`wallet_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '钱包id',
`business_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '业务类型(0系统, 1充值, 2提现, 3消费)',
- `operation_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '操作类型( 0减少, 1增加)',
`money_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '金额类型(0正常, 1冻结, 2赠送)',
- `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '操作金额',
+ `operation_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '操作类型( 0减少, 1增加)',
+ `operation_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '操作金额',
+ `original_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '原始金额',
+ `latest_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '最新金额',
`msg` char(200) NOT NULL DEFAULT '' COMMENT '变更说明',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`),
KEY `wallet_id` (`wallet_id`),
KEY `user_id` (`user_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='钱包日志 - 应用';
+) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='钱包日志 - 应用';
-- ----------------------------
-- Records of `s_plugins_wallet_log`
-- ----------------------------
BEGIN;
-INSERT INTO `s_plugins_wallet_log` VALUES ('1', '90', '1', '0', '0', '0', '0.01', '用户充值', '1556610086'), ('2', '90', '1', '2', '1', '1', '103.00', '管理员操作', '1556690086');
+INSERT INTO `s_plugins_wallet_log` VALUES ('1', '90', '1', '0', '0', '0', '0.01', '0.00', '0.00', '用户充值', '1556610086'), ('2', '90', '1', '2', '1', '1', '103.00', '0.00', '0.00', '管理员操作', '1556690086'), ('3', '90', '1', '0', '0', '1', '1100.00', '0.00', '1100.00', '管理员操作', '1557195809'), ('4', '90', '1', '0', '2', '1', '100.00', '0.00', '100.00', '管理员操作', '1557195809'), ('5', '90', '1', '0', '0', '0', '49.99', '1100.00', '1050.01', '管理员操作', '1557196320'), ('6', '90', '1', '0', '2', '0', '50.00', '100.00', '50.00', '管理员操作', '1557196320'), ('7', '90', '1', '0', '0', '0', '950.01', '1050.01', '100.00', '管理员操作', '1557196435'), ('8', '90', '1', '0', '2', '0', '50.00', '50.00', '0.00', '管理员操作', '1557196435'), ('9', '90', '1', '0', '0', '0', '10.00', '100.00', '90.00', '管理员操作[冻结10元]', '1557196738'), ('10', '90', '1', '0', '1', '1', '10.00', '0.00', '10.00', '管理员操作[冻结10元]', '1557196738'), ('11', '90', '1', '0', '1', '0', '5.00', '10.00', '5.00', '管理员操作[ 解冻5元 ]', '1557196769'), ('12', '90', '1', '0', '2', '1', '150.00', '0.00', '150.00', '管理员操作[ 赠送150元\n活动赠送 ]', '1557196827'), ('13', '90', '1', '0', '2', '0', '20.00', '150.00', '130.00', '管理员操作[ 减少20元赠送接你,操作失误 ]', '1557196913'), ('14', '90', '1', '0', '0', '0', '80.00', '90.00', '10.00', '管理员操作[ 订单号:20190429175813029476,操作时间:2019-11-12 11:22:13,操作原因:用户提现 ]', '1557197008'), ('15', '90', '1', '0', '1', '0', '5.00', '5.00', '0.00', '管理员操作[ 订单号:20190429175813029476\n操作时间:2019-11-12 11:22:13\n操作原因:用户提现 ]', '1557197201'), ('16', '90', '1', '0', '1', '1', '1.00', '0.00', '1.00', '管理员操作[\n订单号:20190429175813029476\n操作时间:2019-11-12 11:22:13\n操作原因:用户提现\n]', '1557197255'), ('17', '90', '1', '0', '1', '1', '1.00', '1.00', '2.00', '管理员操作 [\n订单号:20190429175813029476\n操作时间:2019-11-12 11:22:13\n操作原因:用户提现\n]', '1557197273'), ('18', '90', '1', '0', '2', '0', '128.00', '130.00', '2.00', '管理员操作', '1557197290'), ('19', '90', '1', '0', '2', '1', '1.00', '2.00', '3.00', '管理员操作 [\n用户提现\n]', '1557197303'), ('20', '90', '1', '0', '2', '1', '1.00', '3.00', '4.00', '管理员操作 [用户提现]', '1557197362'), ('21', '90', '1', '0', '2', '1', '1.00', '4.00', '5.00', '管理员操作 [ 用户提现 ]', '1557197384'), ('22', '90', '1', '0', '2', '1', '1.00', '5.00', '6.00', '管理员操作 [ 订单号:20190429175813029476\n操作时间:2019-11-12 11:22:13\n操作原因:用户提现 ]', '1557197412'), ('23', '90', '1', '0', '2', '0', '6.00', '6.00', '0.00', '管理员操作', '1557197888');
COMMIT;
-- ----------------------------
@@ -1089,6 +1091,7 @@ CREATE TABLE `s_plugins_wallet_recharge` (
`recharge_no` char(60) NOT NULL DEFAULT '' COMMENT '充值单号',
`status` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '状态(0未支付, 1已支付)',
`money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额',
+ `pay_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '支付金额',
`payment_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '支付方式id',
`payment` char(60) NOT NULL DEFAULT '' COMMENT '支付方式标记',
`payment_name` char(60) NOT NULL DEFAULT '' COMMENT '支付方式名称',
@@ -1104,7 +1107,7 @@ CREATE TABLE `s_plugins_wallet_recharge` (
-- Records of `s_plugins_wallet_recharge`
-- ----------------------------
BEGIN;
-INSERT INTO `s_plugins_wallet_recharge` VALUES ('12', '90', '20190430102455647827', '0', '0.01', '0', '', '', '0', '1556591095'), ('14', '90', '20190430134700124535', '0', '2.00', '0', '', '', '0', '1556603220'), ('15', '90', '20190430144322830296', '0', '2.00', '0', '', '', '0', '1556606602'), ('16', '90', '20190430145534104308', '0', '4.00', '0', '', '', '0', '1556607334'), ('17', '90', '20190430155737418679', '0', '55.00', '0', '', '', '0', '1556611057');
+INSERT INTO `s_plugins_wallet_recharge` VALUES ('12', '90', '20190430102455647827', '0', '0.01', '0.00', '0', '', '', '0', '1556591095'), ('14', '90', '20190430134700124535', '0', '2.00', '0.00', '0', '', '', '0', '1556603220'), ('15', '90', '20190430144322830296', '0', '2.00', '0.00', '0', '', '', '0', '1556606602'), ('16', '90', '20190430145534104308', '0', '4.00', '0.00', '0', '', '', '0', '1556607334'), ('17', '90', '20190430155737418679', '0', '55.00', '0.00', '0', '', '', '0', '1556611057');
COMMIT;
-- ----------------------------
@@ -1278,13 +1281,13 @@ CREATE TABLE `s_search_history` (
`ymd` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '日期 ymd',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志';
+) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志';
-- ----------------------------
-- Records of `s_search_history`
-- ----------------------------
BEGIN;
-INSERT INTO `s_search_history` VALUES ('1', '90', '0', '0', '', '0-0', 'default', 'asc', '20190412', '1555048567'), ('2', '90', '0', '0', '', '0-0', 'default', 'asc', '20190412', '1555058264'), ('3', '90', '0', '1', '', '0-0', 'default', 'asc', '20190413', '1555157671'), ('4', '90', '0', '0', '', '0-0', 'default', 'asc', '20190414', '1555222450'), ('5', '90', '0', '1', '', '0-0', 'default', 'asc', '20190414', '1555222522'), ('6', '90', '0', '0', '', '0-0', 'default', 'asc', '20190415', '1555293685'), ('7', '90', '0', '53', '', '0-0', 'default', 'asc', '20190416', '1555400228'), ('8', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555402358'), ('9', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407340'), ('10', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407342'), ('11', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407348'), ('12', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407348'), ('13', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407367'), ('14', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407378'), ('15', '90', '0', '0', '', '0-0', 'default', 'asc', '20190422', '1555915151'), ('16', '90', '0', '0', '', '0-0', 'min_price', 'desc', '20190422', '1555915154'), ('17', '90', '0', '0', '', '0-0', 'min_price', 'asc', '20190422', '1555915155'), ('18', '90', '0', '0', '', '0-0', 'sales_count', 'desc', '20190422', '1555915156'), ('19', '90', '0', '0', '', '0-0', 'sales_count', 'asc', '20190422', '1555915157'), ('20', '90', '0', '0', '', '0-0', 'min_price', 'desc', '20190422', '1555915159'), ('21', '90', '0', '0', '', '0-0', 'sales_count', 'desc', '20190422', '1555915159'), ('22', '90', '0', '0', '', '0-0', 'default', 'desc', '20190422', '1555915160'), ('23', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556006494'), ('24', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556006499'), ('25', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556008575'), ('26', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556009343'), ('27', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556009712'), ('28', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556009715'), ('29', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556009787'), ('30', '90', '0', '0', '11', '0-0', 'default', 'asc', '20190423', '1556014897'), ('31', '90', '0', '0', '11', '0-0', 'default', 'asc', '20190423', '1556014939'), ('32', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016061'), ('33', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016064'), ('34', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016066'), ('35', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016067'), ('36', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016069'), ('37', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016070'), ('38', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016072'), ('39', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016073'), ('40', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016079'), ('41', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016083'), ('42', '90', '0', '0', '包包', '0-0', 'default', 'asc', '20190423', '1556016107'), ('43', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016131'), ('44', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016139'), ('45', '90', '0', '2', '', '0-0', 'default', 'asc', '20190423', '1556016141'), ('46', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016144'), ('47', '90', '0', '2', '', '0-0', 'default', 'asc', '20190423', '1556016146'), ('48', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016162'), ('49', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016163'), ('50', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016176'), ('51', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016655'), ('52', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016656'), ('53', '90', '0', '2', '', '0-0', 'default', 'asc', '20190423', '1556016658'), ('54', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016660'), ('55', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016717'), ('56', '90', '0', '0', '', '0-0', 'default', 'asc', '20190424', '1556069360'), ('57', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160619'), ('58', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160716'), ('59', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160717'), ('60', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160734'), ('61', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160998'), ('62', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160998'), ('63', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161001'), ('64', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161077'), ('65', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161078'), ('66', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161079'), ('67', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161089'), ('68', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161091'), ('69', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161092'), ('70', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161099'), ('71', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161118'), ('72', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161120'), ('73', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161174'), ('74', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161180'), ('75', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161235'), ('76', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161266'), ('77', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161272'), ('78', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161423'), ('79', '90', '0', '0', '', '0-0', 'sales_count', 'desc', '20190425', '1556161425'), ('80', '90', '0', '0', '', '0-0', 'sales_count', 'asc', '20190425', '1556161425'), ('81', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161441'), ('82', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161449'), ('83', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161453'), ('84', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161454'), ('85', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161481'), ('86', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161482'), ('87', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161483'), ('88', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161527'), ('89', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556249993'), ('90', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556262777'), ('91', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556262793'), ('92', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556263175'), ('93', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556263188'), ('94', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556263196'), ('95', '90', '0', '0', '', '0-0', 'default', 'asc', '20190428', '1556429081'), ('96', '90', '0', '2', '', '0-0', 'default', 'asc', '20190428', '1556429339'), ('97', '90', '0', '0', '', '0-0', 'default', 'asc', '20190428', '1556430376'), ('98', '90', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516547'), ('99', '90', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516616'), ('100', '90', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516670'), ('101', '0', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516838'), ('102', '0', '0', '0', '连衣裙', '0-0', 'default', 'asc', '20190429', '1556516855'), ('103', '90', '0', '0', '', '0-0', 'default', 'asc', '20190430', '1556588513'), ('104', '90', '0', '0', '', '0-0', 'default', 'asc', '20190505', '1557022315'), ('105', '90', '0', '0', '连衣裙', '0-0', 'default', 'asc', '20190505', '1557022610'), ('106', '90', '0', '2', '连衣裙', '0-0', 'default', 'asc', '20190505', '1557022612'), ('107', '90', '0', '0', '连衣裙', '0-0', 'default', 'asc', '20190505', '1557022615'), ('108', '90', '0', '0', '', '0-0', 'default', 'asc', '20190505', '1557022621'), ('109', '90', '0', '0', '', '0-0', 'default', 'asc', '20190505', '1557022628'), ('110', '0', '0', '305', '', '0-0', 'default', 'asc', '20190506', '1557124802'), ('111', '0', '0', '304', '', '0-0', 'default', 'asc', '20190506', '1557124806'), ('112', '0', '0', '0', '', '0-0', 'default', 'asc', '20190506', '1557131540'), ('113', '0', '0', '0', '', '0-0', 'default', 'asc', '20190506', '1557131543'), ('114', '0', '0', '0', '', '0-0', 'default', 'asc', '20190506', '1557135948'), ('115', '0', '0', '2', '', '0-0', 'default', 'asc', '20190506', '1557135967');
+INSERT INTO `s_search_history` VALUES ('1', '90', '0', '0', '', '0-0', 'default', 'asc', '20190412', '1555048567'), ('2', '90', '0', '0', '', '0-0', 'default', 'asc', '20190412', '1555058264'), ('3', '90', '0', '1', '', '0-0', 'default', 'asc', '20190413', '1555157671'), ('4', '90', '0', '0', '', '0-0', 'default', 'asc', '20190414', '1555222450'), ('5', '90', '0', '1', '', '0-0', 'default', 'asc', '20190414', '1555222522'), ('6', '90', '0', '0', '', '0-0', 'default', 'asc', '20190415', '1555293685'), ('7', '90', '0', '53', '', '0-0', 'default', 'asc', '20190416', '1555400228'), ('8', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555402358'), ('9', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407340'), ('10', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407342'), ('11', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407348'), ('12', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407348'), ('13', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407367'), ('14', '90', '0', '0', '', '0-0', 'default', 'asc', '20190416', '1555407378'), ('15', '90', '0', '0', '', '0-0', 'default', 'asc', '20190422', '1555915151'), ('16', '90', '0', '0', '', '0-0', 'min_price', 'desc', '20190422', '1555915154'), ('17', '90', '0', '0', '', '0-0', 'min_price', 'asc', '20190422', '1555915155'), ('18', '90', '0', '0', '', '0-0', 'sales_count', 'desc', '20190422', '1555915156'), ('19', '90', '0', '0', '', '0-0', 'sales_count', 'asc', '20190422', '1555915157'), ('20', '90', '0', '0', '', '0-0', 'min_price', 'desc', '20190422', '1555915159'), ('21', '90', '0', '0', '', '0-0', 'sales_count', 'desc', '20190422', '1555915159'), ('22', '90', '0', '0', '', '0-0', 'default', 'desc', '20190422', '1555915160'), ('23', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556006494'), ('24', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556006499'), ('25', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556008575'), ('26', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556009343'), ('27', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556009712'), ('28', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556009715'), ('29', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556009787'), ('30', '90', '0', '0', '11', '0-0', 'default', 'asc', '20190423', '1556014897'), ('31', '90', '0', '0', '11', '0-0', 'default', 'asc', '20190423', '1556014939'), ('32', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016061'), ('33', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016064'), ('34', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016066'), ('35', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016067'), ('36', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016069'), ('37', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016070'), ('38', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016072'), ('39', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016073'), ('40', '90', '0', '1', '', '0-0', 'default', 'asc', '20190423', '1556016079'), ('41', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016083'), ('42', '90', '0', '0', '包包', '0-0', 'default', 'asc', '20190423', '1556016107'), ('43', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016131'), ('44', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016139'), ('45', '90', '0', '2', '', '0-0', 'default', 'asc', '20190423', '1556016141'), ('46', '90', '0', '58', '', '0-0', 'default', 'asc', '20190423', '1556016144'), ('47', '90', '0', '2', '', '0-0', 'default', 'asc', '20190423', '1556016146'), ('48', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016162'), ('49', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016163'), ('50', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016176'), ('51', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016655'), ('52', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016656'), ('53', '90', '0', '2', '', '0-0', 'default', 'asc', '20190423', '1556016658'), ('54', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016660'), ('55', '90', '0', '0', '', '0-0', 'default', 'asc', '20190423', '1556016717'), ('56', '90', '0', '0', '', '0-0', 'default', 'asc', '20190424', '1556069360'), ('57', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160619'), ('58', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160716'), ('59', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160717'), ('60', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160734'), ('61', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160998'), ('62', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556160998'), ('63', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161001'), ('64', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161077'), ('65', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161078'), ('66', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161079'), ('67', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161089'), ('68', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161091'), ('69', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161092'), ('70', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161099'), ('71', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161118'), ('72', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161120'), ('73', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161174'), ('74', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161180'), ('75', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161235'), ('76', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161266'), ('77', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161272'), ('78', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161423'), ('79', '90', '0', '0', '', '0-0', 'sales_count', 'desc', '20190425', '1556161425'), ('80', '90', '0', '0', '', '0-0', 'sales_count', 'asc', '20190425', '1556161425'), ('81', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161441'), ('82', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161449'), ('83', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161453'), ('84', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161454'), ('85', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161481'), ('86', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161482'), ('87', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161483'), ('88', '90', '0', '0', '', '0-0', 'default', 'asc', '20190425', '1556161527'), ('89', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556249993'), ('90', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556262777'), ('91', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556262793'), ('92', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556263175'), ('93', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556263188'), ('94', '90', '0', '0', '', '0-0', 'default', 'asc', '20190426', '1556263196'), ('95', '90', '0', '0', '', '0-0', 'default', 'asc', '20190428', '1556429081'), ('96', '90', '0', '2', '', '0-0', 'default', 'asc', '20190428', '1556429339'), ('97', '90', '0', '0', '', '0-0', 'default', 'asc', '20190428', '1556430376'), ('98', '90', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516547'), ('99', '90', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516616'), ('100', '90', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516670'), ('101', '0', '0', '0', '', '0-0', 'default', 'asc', '20190429', '1556516838'), ('102', '0', '0', '0', '连衣裙', '0-0', 'default', 'asc', '20190429', '1556516855'), ('103', '90', '0', '0', '', '0-0', 'default', 'asc', '20190430', '1556588513'), ('104', '90', '0', '0', '', '0-0', 'default', 'asc', '20190505', '1557022315'), ('105', '90', '0', '0', '连衣裙', '0-0', 'default', 'asc', '20190505', '1557022610'), ('106', '90', '0', '2', '连衣裙', '0-0', 'default', 'asc', '20190505', '1557022612'), ('107', '90', '0', '0', '连衣裙', '0-0', 'default', 'asc', '20190505', '1557022615'), ('108', '90', '0', '0', '', '0-0', 'default', 'asc', '20190505', '1557022621'), ('109', '90', '0', '0', '', '0-0', 'default', 'asc', '20190505', '1557022628'), ('110', '0', '0', '305', '', '0-0', 'default', 'asc', '20190506', '1557124802'), ('111', '0', '0', '304', '', '0-0', 'default', 'asc', '20190506', '1557124806'), ('112', '0', '0', '0', '', '0-0', 'default', 'asc', '20190506', '1557131540'), ('113', '0', '0', '0', '', '0-0', 'default', 'asc', '20190506', '1557131543'), ('114', '0', '0', '0', '', '0-0', 'default', 'asc', '20190506', '1557135948'), ('115', '0', '0', '2', '', '0-0', 'default', 'asc', '20190506', '1557135967'), ('116', '90', '0', '0', '', '0-0', 'default', 'asc', '20190507', '1557199970');
COMMIT;
-- ----------------------------