提交 699c8f77 编写于 作者: D devil_gong

钱包提现处理

上级 3b06734d
......@@ -155,6 +155,7 @@ return array(
0 => array('id' => 0, 'name' => '默认', 'checked' => true),
1 => array('id' => 1, 'name' => '订单'),
2 => array('id' => 2, 'name' => '充值'),
3 => array('id' => 3, 'name' => '提现'),
),
// 用户积分 - 操作类型
......
......@@ -4,9 +4,9 @@
<div class="content-right">
<div class="content">
<!-- form start -->
<form class="am-form form-validation view-save" action="{{:PluginsAdminUrl('wallet', 'admin', 'save')}}" method="POST" request-type="ajax-url" request-value="{{:PluginsAdminUrl('wallet', 'admin', 'index')}}" enctype="multipart/form-data">
<form class="am-form form-validation view-save" action="{{:PluginsAdminUrl('wallet', 'admin', 'save')}}" method="POST" request-type="ajax-url" request-value="{{:PluginsAdminUrl('wallet', 'admin', 'index')}}">
<legend>
<span class="fs-16">钱包</span>
<span class="fs-16">配置管理</span>
<a href="{{:PluginsAdminUrl('wallet', 'admin', 'index')}}" class="fr fs-14 m-t-5 am-icon-mail-reply"> 返回</a>
</legend>
......
{{include file="public/header" /}}
<!-- right content start -->
<div class="content-right">
<div class="content">
<legend>
<span class="fs-16">提现审核</span>
<a href="{{:PluginsAdminUrl('wallet', 'cash', 'index')}}" class="fr fs-14 m-t-5 am-icon-mail-reply"> 返回</a>
</legend>
<div class="cash-content">
{{if !empty($data)}}
<!-- form start -->
<form class="am-form form-validation view-save" action="{{:PluginsAdminUrl('wallet', 'cash', 'audit')}}" method="POST" request-type="ajax-url" request-value="{{:PluginsAdminUrl('wallet', 'cash', 'index')}}">
{{if !empty($data['user'])}}
<div class="am-alert am-alert-secondary user-info" data-am-alert>
<p class="am-alert-title">用户信息</p>
<img src="{{$data.user.avatar}}" alt="{{$data.user.user_name_view}}" class="am-img-thumbnail am-radius am-align-left" />
<ul class="user-base">
<li>名称:{{if empty($data['user']['username'])}}<span class="cr-ccc">未填写</span>{{else /}}{{$data.user.username}}{{/if}}</li>
<li>昵称:{{if empty($data['user']['nickname'])}}<span class="cr-ccc">未填写</span>{{else /}}{{$data.user.nickname}}{{/if}}</li>
<li>手机:{{if empty($data['user']['mobile'])}}<span class="cr-ccc">未填写</span>{{else /}}{{$data.user.mobile}}{{/if}}</li>
<li>邮箱:{{if empty($data['user']['email'])}}<span class="cr-ccc">未填写</span>{{else /}}{{$data.user.email}}{{/if}}</li>
</ul>
</div>
{{/if}}
<div class="am-alert am-alert-secondary" data-am-alert>
<p class="am-alert-title">用户钱包</p>
<div>
<span>有效金额:</span>
<span class="normal-money">{{$user_wallet.normal_money}}</span>
</div>
<div>
<span>冻结金额:</span>
<span class="frozen-money">{{$user_wallet.frozen_money}}</span>
</div>
<div>
<span>赠送金额:</span>
<span class="give-money">{{$user_wallet.give_money}}</span>
</div>
</div>
<div class="am-alert" data-am-alert>
<p class="am-alert-title">收款信息</p>
银行:{{$data.bank_name}}<br />
账号:{{$data.bank_accounts}}<br />
姓名:{{$data.bank_username}}<br />
</div>
<div class="am-alert" data-am-alert>
<p class="am-alert-title">申请信息</p>
单号:{{$data.cash_no}}<br />
金额:<span class="money-bold cash-money">{{$data.money}}</span>
</div>
<div class="am-form-group">
<label>打款金额<span class="am-form-group-label-tips">最多两位小数,不能大于提现申请金额 [ {{$data.money}} 元 ]</span></label>
<input type="number" name="pay_money" placeholder="打款金额" step="0.01" min="0.01" max="{{$data.money}}" pattern="^([0-9]{1}\d{0,6})(\.\d{1,2})?$" data-validation-message="打款金额有误,最低0.01元,最高{{$data.money}}元" class="am-radius" value="{{$data.money}}" />
</div>
<div class="am-form-group">
<label>备注<span class="am-form-group-label-tips">用户可见</span></label>
<textarea class="am-radius" name="msg" rows="3" maxlength="180" placeholder="备注最多 180 个字符" data-validation-message="备注格式最多 80 个字符"></textarea>
</div>
<div class="am-form-group">
<label class="block">发送站内信</label>
<input name="is_send_message" value="1" type="checkbox" data-off-text="否" data-on-text="是" data-size="xs" data-on-color="success" data-off-color="default" data-handle-width="50" data-am-switch checked="true" />
</div>
<div class="am-form-group am-form-group-refreshing am-cf form-submit-list">
<input type="hidden" name="id" {{if !empty($data['id'])}} value="{{$data.id}}"{{/if}} />
<input type="text" name="type" data-validation-message="操作类型有误,同意或拒绝操作出错" required />
<button type="submit" class="am-btn am-btn-primary am-radius btn-loading-example am-btn-sm am-fl" data-am-loading="{loadingText:'处理中...'}" data-type="agree">提交</button>
<button type="submit" class="am-btn am-btn-danger am-radius btn-loading-example am-btn-sm am-fr" data-am-loading="{loadingText:'处理中...'}" data-type="refuse">拒绝</button>
</div>
</form>
<!-- form end -->
{{else /}}
<div class="table-no"><i class="am-icon-warning"></i> {{$msg}}</div>
{{/if}}
</div>
</div>
</div>
<!-- right content end -->
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->
\ No newline at end of file
......@@ -4,7 +4,7 @@
<div class="content-right">
<div class="content">
<legend>
<span class="fs-16">钱包</span>
<span class="fs-16">提现申请管理</span>
<a href="{{:PluginsAdminUrl('wallet', 'admin', 'index')}}" class="fr fs-14 m-t-5 am-icon-mail-reply"> 返回</a>
</legend>
......@@ -45,7 +45,7 @@
<th class="am-hide-sm-only">提现信息</th>
<th>收款信息</th>
<th class="am-hide-sm-only">打款信息</th>
<th class="am-hide-md-down">描述</th>
<th class="am-hide-md-down">备注</th>
<th>更多</th>
<th>操作</th>
</tr>
......@@ -138,7 +138,7 @@
{{/if}}
</dd>
<dt>描述</dt>
<dt>备注</dt>
<dd>{{if empty($v['msg'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.msg}}{{/if}}</dd>
<dt>申请时间</dt>
......@@ -152,9 +152,11 @@
</div>
</td>
<td class="view-operation">
<a href="{{:PluginsAdminUrl('wallet', 'wallet', 'saveinfo', ['id'=>$v['id']])}}">
<button class="am-btn am-btn-secondary am-btn-xs am-radius am-icon-gavel"> 审核</button>
</a>
{{if $v['status'] eq 0}}
<a href="{{:PluginsAdminUrl('wallet', 'cash', 'auditinfo', ['id'=>$v['id']])}}">
<button class="am-btn am-btn-secondary am-btn-xs am-radius am-icon-gavel"> 审核</button>
</a>
{{/if}}
</td>
</tr>
{{/foreach}}
......
......@@ -4,7 +4,7 @@
<div class="content-right">
<div class="content">
<legend>
<span class="fs-16">钱包</span>
<span class="fs-16">钱包管理</span>
<a href="{{:PluginsAdminUrl('wallet', 'admin', 'index')}}" class="fr fs-14 m-t-5 am-icon-mail-reply"> 返回</a>
</legend>
......
......@@ -12,18 +12,18 @@
{{if !empty($data)}}
<!-- form start -->
<form class="am-form form-validation view-save" action="{{:PluginsAdminUrl('wallet', 'wallet', 'save')}}" method="POST" request-type="ajax-url" request-value="{{:PluginsAdminUrl('wallet', 'wallet', 'index')}}" enctype="multipart/form-data">
<div class="am-alert am-alert-secondary saveinfo-view" data-am-alert="">
<div class="am-alert am-alert-secondary saveinfo-view" data-am-alert>
<div>
<span>有效金额:</span>
<span class="normal-money">{{$data.normal_money}}</span>
<span class="normal-money">{{$data.normal_money}}</span>
</div>
<div>
<span>冻结金额:</span>
<span class="frozen-money">{{$data.frozen_money}}</span>
<span class="frozen-money">{{$data.frozen_money}}</span>
</div>
<div>
<span>赠送金额:</span>
<span class="give-money">{{$data.give_money}}</span>
<span class="give-money">{{$data.give_money}}</span>
</div>
</div>
<div class="am-form-group">
......
......@@ -71,7 +71,7 @@
<th class="am-hide-sm-only">提现信息</th>
<th>收款信息</th>
<th>打款信息</th>
<th class="am-hide-sm-only">描述</th>
<th class="am-hide-sm-only">备注</th>
<th class="am-hide-sm-only">申请时间</th>
</tr>
</thead>
......
......@@ -13,6 +13,7 @@ namespace app\plugins\wallet\admin;
use think\Controller;
use app\plugins\wallet\service\CashService;
use app\plugins\wallet\service\BaseService;
use app\plugins\wallet\service\WalletService;
/**
* 钱包插件 - 提现管理
......@@ -76,15 +77,15 @@ class Cash extends Controller
}
/**
* 钱包编辑页面
* 审核页面
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-05-05
* @desc description
* @param [array] $params [输入参数]
* @param [array] $params [输入参数]
*/
public function saveinfo($params = [])
public function auditinfo($params = [])
{
$data = [];
if(!empty($params['id']))
......@@ -94,36 +95,41 @@ class Cash extends Controller
'n' => 1,
'where' => ['id'=>intval($params['id'])],
);
$ret = BaseService::WalletList($data_params);
$ret = BaseService::CashList($data_params);
if(!empty($ret['data'][0]))
{
$data = $ret['data'][0];
// 静态数据
$this->assign('wallet_status_list', WalletService::$wallet_status_list);
// 用户钱包
$user_wallet = WalletService::UserWallet($ret['data'][0]['user_id']);
if($user_wallet['code'] == 0)
{
$data = $ret['data'][0];
$this->assign('user_wallet', $user_wallet['data']);
} else {
$this->assign('msg', $user_wallet['msg']);
}
} else {
$this->assign('msg', '钱包有误');
$this->assign('msg', '数据不存在或已删除');
}
} else {
$this->assign('msg', '钱包id有误');
$this->assign('msg', '参数id有误');
}
$this->assign('data', $data);
return $this->fetch('../../../plugins/view/wallet/admin/wallet/saveinfo');
return $this->fetch('../../../plugins/view/wallet/admin/cash/auditinfo');
}
/**
* 钱包编辑
* 审核
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-05-06
* @desc description
* @param [array] $params [输入参数]
* @param [array] $params [输入参数]
*/
public function save($params = [])
public function audit($params = [])
{
return WalletService::WalletEdit($params);
return CashService::CashAudit($params);
}
}
?>
\ No newline at end of file
......@@ -234,7 +234,7 @@ class CashService
*/
public static function CashCreate($params = [])
{
// 数据验证
// 参数验证
$p = [
[
'checked_type' => 'empty',
......@@ -337,11 +337,194 @@ class CashService
}
// 消息通知
MessageService::MessageAdd($user_wallet['data']['user_id'], '账户余额变动', $log_data['msg'], 0, $cash_id);
MessageService::MessageAdd($user_wallet['data']['user_id'], '账户余额变动', $log_data['msg'], 3, $cash_id);
// 提交事务
Db::commit();
return DataReturn('操作成功', 0);
}
/**
* 提现申请审核
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-05-10
* @desc description
* @param [array] $params [输入参数]
*/
public static function CashAudit($params = [])
{
// 参数验证
$p = [
[
'checked_type' => 'empty',
'key_name' => 'id',
'error_msg' => '提现id有误',
],
[
'checked_type' => 'empty',
'key_name' => 'pay_money',
'error_msg' => '打款金额有误',
],
[
'checked_type' => 'fun',
'key_name' => 'pay_money',
'checked_data' => 'CheckPrice',
'error_msg' => '请输入有效的打款金额有误',
],
[
'checked_type' => 'min',
'key_name' => 'pay_money',
'checked_data' => 0.01,
'error_msg' => '打款金额有误,最低0.01元',
],
[
'checked_type' => 'length',
'key_name' => 'msg',
'checked_data' => '180',
'error_msg' => '备注最多 180 个字符',
],
[
'checked_type' => 'in',
'key_name' => 'type',
'checked_data' => ['agree', 'refuse'],
'error_msg' => '操作类型有误,同意或拒绝操作出错',
],
];
$ret = ParamsChecked($params, $p);
if($ret !== true)
{
return DataReturn($ret, -1);
}
// 获取提现数据
$cash = Db::name('PluginsWalletCash')->find(intval($params['id']));
if(empty($cash))
{
return DataReturn('提现数据不存在或已删除', -10);
}
// 状态
if($cash['status'] != 0)
{
return DataReturn('状态不可操作['.self::$cash_status_list[$cash['status']]['name'].']', -11);
}
// 金额处理
$pay_money = PriceNumberFormat($params['pay_money']);
if($pay_money <= 0.00 || $pay_money > $cash['money'])
{
return DataReturn('打款金额有误,最低0.01元,最高'.$cash['money'].'元', -12);
}
// 获取用户钱包
$wallet = Db::name('PluginsWallet')->find(intval($cash['wallet_id']));
if(empty($wallet))
{
return DataReturn('用户钱包不存在或已删除', -20);
}
// 是否发送消息
$is_send_message = (isset($params['is_send_message']) && $params['is_send_message'] == 1) ? 1 : 0;
// 开始处理
Db::startTrans();
// 数据处理
if($params['type'] == 'agree')
{
// 钱包更新数据
$wallet_upd_data = [
'frozen_money' => PriceNumberFormat($wallet['frozen_money']-$cash['money']),
];
// 提现更新数据
$cash_upd_data = [
'status' => 1,
'pay_money' => $pay_money,
'pay_time' => time(),
];
$money_field = [
['field' => 'frozen_money', 'money_type' => 1, 'msg' => ' [ 提现申请成功 , 冻结金额减少'.$cash['money'].'元 ]'],
];
// 打款金额是否小于提现金额
if($pay_money < $cash['money'])
{
$surplus_money = PriceNumberFormat($cash['money']-$pay_money);
$wallet_upd_data['normal_money'] = PriceNumberFormat($wallet['normal_money']+$surplus_money);
$money_field[] = ['field' => 'normal_money', 'money_type' => 0, 'msg' => ' [ 提现申请成功 , 部分金额未打款 , 冻结金额退回至有效金额'.$surplus_money.'元 ]'];
}
} else {
// 钱包更新数据
$wallet_upd_data = [
'frozen_money' => PriceNumberFormat($wallet['frozen_money']-$cash['money']),
'normal_money' => PriceNumberFormat($wallet['normal_money']+$cash['money']),
];
// 提现更新数据
$cash_upd_data = [
'status' => 2,
];
$money_field = [
['field' => 'frozen_money', 'money_type' => 1, 'msg' => ' [ 提现申请失败 , 冻结金额释放 '.$cash['money'].'元 ]'],
['field' => 'normal_money', 'money_type' => 0, 'msg' => ' [ 提现申请失败 , 冻结金额退回至有效金额'.$cash['money'].'元 ]'],
];
}
// 提现更新
$cash_upd_data['msg'] = empty($params['msg']) ? '' : $params['msg'];
$cash_upd_data['upd_time'] = time();
if(!Db::name('PluginsWalletCash')->where(['id'=>$cash['id']])->update($cash_upd_data))
{
Db::rollback();
return DataReturn('提现申请操作失败', -100);
}
// 钱包更新
if(!Db::name('PluginsWallet')->where(['id'=>$wallet['id']])->update($wallet_upd_data))
{
Db::rollback();
return DataReturn('钱包操作失败', -101);
}
foreach($money_field as $v)
{
// 有效金额
if($wallet[$v['field']] != $wallet_upd_data[$v['field']])
{
$log_data = [
'user_id' => $wallet['user_id'],
'wallet_id' => $wallet['id'],
'business_type' => 2,
'operation_type' => ($wallet[$v['field']] < $wallet_upd_data[$v['field']]) ? 1 : 0,
'money_type' => $v['money_type'],
'operation_money' => ($wallet[$v['field']] < $wallet_upd_data[$v['field']]) ? PriceNumberFormat($wallet_upd_data[$v['field']]-$wallet[$v['field']]) : PriceNumberFormat($wallet[$v['field']]-$wallet_upd_data[$v['field']]),
'original_money' => $wallet[$v['field']],
'latest_money' => $wallet_upd_data[$v['field']],
'msg' => $v['msg'],
];
if(!WalletService::WalletLogInsert($log_data))
{
Db::rollback();
return DataReturn('日志添加失败', -101);
}
// 消息通知
if($is_send_message == 1)
{
MessageService::MessageAdd($wallet['user_id'], '账户余额变动', $log_data['msg'], 3, $cash['id']);
}
}
}
// 处理成功
Db::commit();
return DataReturn('操作成功', 0);
}
}
?>
\ No newline at end of file
# 钱包 - 应用
DROP TABLE `s_plugins_wallet`;
# 充值 - 应用
DROP TABLE `s_plugins_wallet_recharge`;
# 钱包日志 - 应用
DROP TABLE `s_plugins_wallet_log`;
# 钱包提现 - 应用
DROP TABLE `s_plugins_wallet_cash`;
\ No newline at end of file
......@@ -31,7 +31,7 @@ class MessageService
* @param [int] $user_id [用户id]
* @param [string] $title [标题]
* @param [string] $detail [内容]
* @param [int] $business_type [业务类型(0默认, 1订单, 2充值, ...)]
* @param [int] $business_type [业务类型(0默认, 1订单, 2充值, 3提现, ...)]
* @param [int] $business_id [业务id]
* @param [int] $type [类型(默认0 普通消息)]
* @return [boolean] [成功true, 失败false]
......
......@@ -11,7 +11,7 @@
Target Server Version : 50722
File Encoding : utf-8
Date: 05/08/2019 18:18:58 PM
Date: 05/10/2019 15:11:41 PM
*/
SET NAMES utf8mb4;
......@@ -293,7 +293,7 @@ CREATE TABLE `s_custom_view` (
-- Records of `s_custom_view`
-- ----------------------------
BEGIN;
INSERT INTO `s_custom_view` VALUES ('1', '测试自定义页面22', '<p><img src=\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\" title=\"1533779966550231.jpeg\" alt=\"1.jpeg\"/></p><p><span style=\"color: rgb(255, 0, 0);\">ShopXO</span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \">秀,身材苗条!</span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \"><br/></p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><br/></p>', '1', '1', '1', '0', '', '0', '802', '1484965691', '1554992153');
INSERT INTO `s_custom_view` VALUES ('1', '测试自定义页面22', '<p><img src=\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\" title=\"1533779966550231.jpeg\" alt=\"1.jpeg\"/></p><p><span style=\"color: rgb(255, 0, 0);\">ShopXO</span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \">秀,身材苗条!</span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \"><br/></p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><br/></p>', '1', '1', '1', '0', '', '0', '803', '1484965691', '1554992153');
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订单, 2充值, ...)',
`business_type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '业务类型(0默认, 1订单, 2充值, 3提现, ...)',
`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删除时间)',
......@@ -622,13 +622,13 @@ CREATE TABLE `s_message` (
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息';
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息';
-- ----------------------------
-- 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', '1', '0', '0', '1556603278'), ('24', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1557022304'), ('25', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1557138595'), ('26', '90', '账户余额变动', '管理员操作[ 赠送金额增加1.00元 ]', '1', '0', '0', '1', '0', '0', '1557282760'), ('27', '90', '账户余额变动', '管理员操作[ 赠送金额增加1.00元 ]', '1', '0', '0', '1', '0', '0', '1557282981'), ('28', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1557298489'), ('29', '90', '账户余额变动', '用户提现申请[ 减少有效金额1.00元 ]', '2', '0', '0', '1', '0', '0', '1557308295'), ('30', '90', '账户余额变动', '管理员操作[ 赠送金额增加2.00元 ]', '1', '0', '0', '1', '0', '0', '1557310710');
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'), ('26', '90', '账户余额变动', '管理员操作[ 赠送金额增加1.00元 ]', '1', '0', '0', '1', '0', '0', '1557282760'), ('27', '90', '账户余额变动', '管理员操作[ 赠送金额增加1.00元 ]', '1', '0', '0', '1', '0', '0', '1557282981'), ('28', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1557298489'), ('29', '90', '账户余额变动', '用户提现申请[ 减少有效金额1.00元 ]', '2', '0', '0', '1', '0', '0', '1557308295'), ('30', '90', '账户余额变动', '管理员操作[ 赠送金额增加2.00元 ]', '1', '0', '0', '1', '0', '0', '1557310710'), ('31', '90', '账户余额变动', ' [ 提现申请成功 , 冻结金额减少0.80元 ]', '2', '3', '0', '1', '0', '0', '1557470171'), ('32', '90', '账户余额变动', ' [ 提现申请成功 , 部分金额未打款 , 有效金额退回0.20元 ]', '2', '3', '0', '1', '0', '0', '1557470171'), ('33', '90', '账户余额变动', ' [ 提现申请成功 , 冻结金额减少0.89元 ]', '2', '3', '0', '1', '0', '0', '1557470385'), ('34', '90', '账户余额变动', ' [ 提现申请成功 , 部分金额未打款 , 有效金额退回0.11元 ]', '2', '3', '0', '1', '0', '0', '1557470385'), ('35', '90', '账户余额变动', '管理员操作[ 冻结金额增加0.80元 ]', '1', '0', '0', '1', '0', '0', '1557470491'), ('36', '90', '账户余额变动', '管理员操作[ 有效金额增加0.69元 ]', '1', '0', '0', '1', '0', '0', '1557470501'), ('37', '90', '账户余额变动', ' [ 提现申请成功 , 冻结金额减少0.79元 ]', '2', '3', '0', '1', '0', '0', '1557470562'), ('38', '90', '账户余额变动', ' [ 提现申请成功 , 部分金额未打款 , 冻结金额退回至有效金额0.21元 ]', '2', '3', '0', '1', '0', '0', '1557470562'), ('39', '90', '账户余额变动', '管理员操作[ 有效金额减少0.21元 ]', '1', '0', '0', '1', '0', '0', '1557470649'), ('40', '90', '账户余额变动', '管理员操作[ 冻结金额增加1.00元 ]', '1', '0', '0', '1', '0', '0', '1557470649'), ('41', '90', '账户余额变动', ' [ 提现申请成功 , 冻结金额减少1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470683'), ('42', '90', '账户余额变动', ' [ 提现申请成功 , 部分金额未打款 , 冻结金额退回至有效金额0.01元 ]', '2', '3', '0', '1', '0', '0', '1557470683'), ('43', '90', '账户余额变动', '管理员操作[ 冻结金额增加10.00元 ]', '1', '0', '0', '1', '0', '0', '1557470736'), ('44', '90', '账户余额变动', ' [ 提现申请失败 , 有效金额退回1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470799'), ('45', '90', '账户余额变动', ' [ 提现申请失败 , 冻结金额释放 1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470799'), ('46', '90', '账户余额变动', ' [ 提现申请失败 , 冻结金额退回至有效金额1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470902'), ('47', '90', '账户余额变动', ' [ 提现申请失败 , 冻结金额释放 1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470902'), ('48', '90', '账户余额变动', ' [ 提现申请失败 , 冻结金额释放 1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470975'), ('49', '90', '账户余额变动', ' [ 提现申请失败 , 冻结金额退回至有效金额1.00元 ]', '2', '3', '0', '1', '0', '0', '1557470975');
COMMIT;
-- ----------------------------
......@@ -1050,7 +1050,7 @@ CREATE TABLE `s_plugins_wallet` (
-- Records of `s_plugins_wallet`
-- ----------------------------
BEGIN;
INSERT INTO `s_plugins_wallet` VALUES ('1', '90', '0', '9.00', '2.00', '2.00', '1556610086', '1557310710'), ('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', '13.01', '6.00', '2.00', '1556610086', '1557470736'), ('2', '91', '1', '124.00', '3.00', '1.00', '1559610086', '0'), ('3', '77', '0', '7566744.00', '12.00', '2345.00', '1586610086', '0');
COMMIT;
-- ----------------------------
......@@ -1083,7 +1083,7 @@ CREATE TABLE `s_plugins_wallet_cash` (
-- Records of `s_plugins_wallet_cash`
-- ----------------------------
BEGIN;
INSERT INTO `s_plugins_wallet_cash` VALUES ('2', '90', '1', '20190508173815366298', '0', '1.00', '0.00', '支付宝', 'fuxiang,gong@qq.com', '龚福祥', 'trtr热天一日游try太容易田润叶头疼同仁医院犹太人羊肉汤', '0', '1557308295', '0');
INSERT INTO `s_plugins_wallet_cash` VALUES ('2', '90', '1', '20190508173815366298', '1', '1.00', '1.00', '支付宝', 'fuxiang,gong@qq.com', '龚福祥', '', '1557471102', '1557308295', '1557471102');
COMMIT;
-- ----------------------------
......@@ -1105,13 +1105,13 @@ CREATE TABLE `s_plugins_wallet_log` (
PRIMARY KEY (`id`),
KEY `wallet_id` (`wallet_id`),
KEY `user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='钱包日志 - 应用';
) ENGINE=InnoDB AUTO_INCREMENT=26 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', '2', '1', '1.00', '0.00', '1.00', '管理员操作[ 赠送金额增加1.00元 ]', '1557282760'), ('2', '90', '1', '0', '2', '1', '1.00', '1.00', '2.00', '管理员操作[ 赠送金额增加1.00元 ]', '1557282981'), ('3', '90', '1', '0', '2', '0', '2.00', '2.00', '0.00', '管理员操作[ 赠送金额减少2.00元 ]', '1557282998'), ('4', '90', '1', '2', '0', '0', '1.00', '10.00', '9.00', '用户提现申请[ 减少有效金额1.00元 ]', '1557308295'), ('5', '90', '1', '0', '2', '1', '2.00', '0.00', '2.00', '管理员操作[ 赠送金额增加2.00元 ]', '1557310710');
INSERT INTO `s_plugins_wallet_log` VALUES ('1', '90', '1', '0', '2', '1', '1.00', '0.00', '1.00', '管理员操作[ 赠送金额增加1.00元 ]', '1557282760'), ('2', '90', '1', '0', '2', '1', '1.00', '1.00', '2.00', '管理员操作[ 赠送金额增加1.00元 ]', '1557282981'), ('3', '90', '1', '0', '2', '0', '2.00', '2.00', '0.00', '管理员操作[ 赠送金额减少2.00元 ]', '1557282998'), ('4', '90', '1', '2', '0', '0', '1.00', '10.00', '9.00', '用户提现申请[ 减少有效金额1.00元 ]', '1557308295'), ('5', '90', '1', '0', '2', '1', '2.00', '0.00', '2.00', '管理员操作[ 赠送金额增加2.00元 ]', '1557310710'), ('6', '90', '1', '2', '1', '0', '0.80', '2.00', '1.20', ' [ 提现申请成功 , 冻结金额减少0.80元 ]', '1557470171'), ('7', '90', '1', '2', '0', '1', '0.20', '9.00', '9.20', ' [ 提现申请成功 , 部分金额未打款 , 有效金额退回0.20元 ]', '1557470171'), ('8', '90', '1', '2', '1', '0', '1.00', '1.20', '0.20', ' [ 提现申请成功 , 冻结金额减少0.89元 ]', '1557470385'), ('9', '90', '1', '2', '0', '1', '0.11', '9.20', '9.31', ' [ 提现申请成功 , 部分金额未打款 , 有效金额退回0.11元 ]', '1557470385'), ('10', '90', '1', '0', '1', '1', '0.80', '0.20', '1.00', '管理员操作[ 冻结金额增加0.80元 ]', '1557470491'), ('11', '90', '1', '0', '0', '1', '0.69', '9.31', '10.00', '管理员操作[ 有效金额增加0.69元 ]', '1557470501'), ('12', '90', '1', '2', '1', '0', '1.00', '1.00', '0.00', ' [ 提现申请成功 , 冻结金额减少0.79元 ]', '1557470562'), ('13', '90', '1', '2', '0', '1', '0.21', '10.00', '10.21', ' [ 提现申请成功 , 部分金额未打款 , 冻结金额退回至有效金额0.21元 ]', '1557470562'), ('14', '90', '1', '0', '0', '0', '0.21', '10.21', '10.00', '管理员操作[ 有效金额减少0.21元 ]', '1557470649'), ('15', '90', '1', '0', '1', '1', '1.00', '0.00', '1.00', '管理员操作[ 冻结金额增加1.00元 ]', '1557470649'), ('16', '90', '1', '2', '1', '0', '1.00', '1.00', '0.00', ' [ 提现申请成功 , 冻结金额减少1.00元 ]', '1557470683'), ('17', '90', '1', '2', '0', '1', '0.01', '10.00', '10.01', ' [ 提现申请成功 , 部分金额未打款 , 冻结金额退回至有效金额0.01元 ]', '1557470683'), ('18', '90', '1', '0', '1', '1', '10.00', '0.00', '10.00', '管理员操作[ 冻结金额增加10.00元 ]', '1557470736'), ('19', '90', '1', '2', '0', '1', '1.00', '10.01', '11.01', ' [ 提现申请失败 , 有效金额退回1.00元 ]', '1557470799'), ('20', '90', '1', '2', '1', '0', '1.00', '10.00', '9.00', ' [ 提现申请失败 , 冻结金额释放 1.00元 ]', '1557470799'), ('21', '90', '1', '2', '0', '1', '1.00', '11.01', '12.01', ' [ 提现申请失败 , 冻结金额退回至有效金额1.00元 ]', '1557470902'), ('22', '90', '1', '2', '1', '0', '1.00', '9.00', '8.00', ' [ 提现申请失败 , 冻结金额释放 1.00元 ]', '1557470902'), ('23', '90', '1', '2', '1', '0', '1.00', '8.00', '7.00', ' [ 提现申请失败 , 冻结金额释放 1.00元 ]', '1557470975'), ('24', '90', '1', '2', '0', '1', '1.00', '12.01', '13.01', ' [ 提现申请失败 , 冻结金额退回至有效金额1.00元 ]', '1557470975'), ('25', '90', '1', '2', '1', '0', '1.00', '7.00', '6.00', ' [ 提现申请成功 , 冻结金额减少1.00元 ]', '1557471102');
COMMIT;
-- ----------------------------
......@@ -17,18 +17,22 @@
}
/**
* 列表
* 用户信息
*/
.cash-content table.am-table ul {
list-style: none;
padding: 0;
margin: 0;
}
.cash-content table.am-table .user-info img {
.cash-content .user-info img {
max-width: 35px;
max-height: 35px;
margin: 0 5px 2px 0;
}
.cash-content ul {
list-style: none;
padding: 0;
margin: 0;
}
/**
* 列表
*/
.cash-content table.am-table .operation-msg {
width: 15%;
}
......@@ -44,4 +48,45 @@
}
.cash-content .cash-money {
color: #FF9800;
}
/**
* 用户钱包金额
*/
.cash-content .normal-money,
.cash-content .frozen-money,
.cash-content .give-money {
font-weight: 700;
}
.cash-content .normal-money {
color: #4CAF50;
}
.cash-content .frozen-money {
color: #FF9800;
}
.cash-content .give-money {
color: #666;
}
/**
* 审核页面
*/
.cash-content .am-alert-title {
margin-bottom: 5px;
font-weight: 700;
font-size: 14px;
color: #888;
}
@media only screen and (min-width: 641px) {
.cash-content .form-submit-list {
padding-left: 20% !important;
padding-right: 40% !important;
}
}
.cash-content .form-submit-list button {
width: 45%;
}
.cash-content .form-submit-list input[name="type"] {
position: absolute;
margin-left: -1000000px;
}
\ No newline at end of file
$(function()
{
// 表单提交
$('.cash-content .form-submit-list button[type="submit"]').on('click', function()
{
$('.cash-content .form-submit-list input[name="type"]').val($(this).data('type'))
$('.cash-content .form-submit-list input[name="type"]').blur();
});
});
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册