| | |
| | | |
| | | private String phone; |
| | | private String email; |
| | | private String inviteId; |
| | | |
| | | private Integer ipo; |
| | | |
| | |
| | | username: ct_test |
| | | password: 123456 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://120.27.238.55:3306/kss_framework?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | url: jdbc:mysql://120.27.238.55:3306/outcenter_test?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | |
| | | redis: |
| | | # Redis数据库索引(默认为 0) |
| | | database: 1 |
| | | # Redis服务器地址 |
| | | host: 47.114.114.219 |
| | | host: 120.27.238.55 |
| | | # Redis服务器连接端口 |
| | | port: 6379 |
| | | # Redis 密码 |
| | | password: biyi123 |
| | | password: xcong123 |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | |
| | | datasource: |
| | | # 数据源-1,名称为 base |
| | | base: |
| | | username: roc_user |
| | | password: roc123pasd!@ |
| | | username: ct_test |
| | | password: 123456 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://rm-bp1i2g5rg5dubo9s40o.mysql.rds.aliyuncs.com:3306/db_roc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | url: jdbc:mysql://120.27.238.55:3306/outcenter_test?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | |
| | | redis: |
| | | # Redis数据库索引(默认为 0) |
| | | database: 1 |
| | | # Redis服务器地址 |
| | | host: 47.114.114.219 |
| | | host: 120.27.238.55 |
| | | # Redis服务器连接端口 |
| | | port: 6379 |
| | | # Redis 密码 |
| | | password: roccqwe1234 |
| | | password: xcong123 |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | |
| | | datasource: |
| | | # 数据源-1,名称为 base |
| | | base: |
| | | username: shop_user |
| | | username: ct_test |
| | | password: 123456 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://47.96.73.250:3306/db_roc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | url: jdbc:mysql://120.27.238.55:3306/outcenter_test?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 |
| | | |
| | | redis: |
| | | # Redis数据库索引(默认为 0) |
| | | database: 1 |
| | | # Redis服务器地址 |
| | | host: 47.96.73.250 |
| | | host: 120.27.238.55 |
| | | # Redis服务器连接端口 |
| | | port: 6379 |
| | | # Redis 密码 |
| | | password: qwer12345678 |
| | | password: xcong123 |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | |
| | | |
| | | <select id="selectOrderCoinsDealListInPage" resultType="com.xcong.excoin.modules.trademanage.entity.OrderCoinsDealEntity"> |
| | | SELECT |
| | | s.*,m.phone,m.email,m.ipo |
| | | s.*,m.phone,m.invite_id,m.email,m.ipo |
| | | FROM |
| | | coins_order_deal s |
| | | LEFT JOIN member m ON m.id = s.member_id |
| | | <where> |
| | | s.order_status = 3 |
| | | <if test="record != null" > |
| | | <if test="record.phone!=null and record.phone!=''"> |
| | | and (m.phone like concat("%",#{record.phone},"%") or m.email like concat("%",#{record.phone},"%") or m.invite_id=#{record.phone}) |
| | | <if test="record.inviteId!=null and record.inviteId!=''"> |
| | | and ( m.invite_id=#{record.inviteId}) |
| | | </if> |
| | | </if> |
| | | </where> |
| | |
| | | <div class="layui-form-item">
|
| | | <div class="layui-inline">
|
| | | <div class="layui-input-inline">
|
| | | <input type="text" placeholder="手机号/邮箱/邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | <input type="text" placeholder="邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | </div>
|
| | | </div>
|
| | | <div class="layui-inline">
|
| | |
| | | url: ctx + 'member/memberApplyCoin',
|
| | | totalRow: true,
|
| | | cols: [[
|
| | | {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'},
|
| | | {field: 'realName', title: '姓名', minWidth: 120,align:'left'},
|
| | | {field: 'email', title: '邮箱', minWidth: 100,align:'left'},
|
| | | //{field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'},
|
| | | //{field: 'realName', title: '姓名', minWidth: 120,align:'left'},
|
| | | //{field: 'email', title: '邮箱', minWidth: 100,align:'left'},
|
| | | {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'},
|
| | | {field: 'symbol', title: '币种', minWidth: 100,align:'center'},
|
| | | {field: 'amount', title: '充币数量', minWidth: 100,align:'center',totalRow: true},
|
| | |
| | | <div class="layui-form-item">
|
| | | <div class="layui-inline">
|
| | | <div class="layui-input-inline">
|
| | | <input type="text" placeholder="手机号/邮箱/邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | </div>
|
| | | </div>
|
| | | <div class="layui-inline">
|
| | | <label class="layui-form-label layui-form-label-sm">审核状态</label>
|
| | | <div class="layui-input-inline">
|
| | | <select name="certifyStatus">
|
| | | <option value="">请选择</option>
|
| | | <option value="1">待审核</option>
|
| | | <option value="2">审核通过</option>
|
| | | <option value="3">未实名</option>
|
| | | </select>
|
| | | <input type="text" placeholder="邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | | id: 'userTable',
|
| | | url: ctx + 'member/getList',
|
| | | cols: [[
|
| | | {field: 'phone', title: '手机号', minWidth: 120,align:'left'},
|
| | | {field: 'email', title: '邮箱', minWidth: 50,align:'left'},
|
| | | {field: 'realName', title: '姓名', minWidth: 50,align:'left'},
|
| | | //{field: 'phone', title: '手机号', minWidth: 120,align:'left'},
|
| | | //{field: 'email', title: '邮箱', minWidth: 50,align:'left'},
|
| | | //{field: 'realName', title: '姓名', minWidth: 50,align:'left'},
|
| | | {field: 'inviteId', title: '邀请码UID',
|
| | | templet: function (d) {
|
| | | return '<a lay-event="examine" shiro:hasPermission="user:update">'+d.inviteId+'</a>'
|
| | |
| | | return '<span style="color:gray;">否</span>'
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | {field: 'refererId', title: '审核状态',
|
| | | templet: function (d) {
|
| | | if (d.certifyStatus === 0) {
|
| | | return '<span style="color:red;">未通过</span>'
|
| | | } else if (d.certifyStatus === 1) {
|
| | | return '<span style="color:blue;">待审核</span>'
|
| | | } else if (d.certifyStatus === 2) {
|
| | | return '<span style="color:green;">审核通过</span>'
|
| | | } else if (d.certifyStatus === 3) {
|
| | | return '<span>未实名</span>'
|
| | | }else{
|
| | | return ''
|
| | | }
|
| | | }, minWidth: 80,align:'center'},
|
| | | // {field: 'refererId', title: '审核状态',
|
| | | // templet: function (d) {
|
| | | // if (d.certifyStatus === 0) {
|
| | | // return '<span style="color:red;">未通过</span>'
|
| | | // } else if (d.certifyStatus === 1) {
|
| | | // return '<span style="color:blue;">待审核</span>'
|
| | | // } else if (d.certifyStatus === 2) {
|
| | | // return '<span style="color:green;">审核通过</span>'
|
| | | // } else if (d.certifyStatus === 3) {
|
| | | // return '<span>未实名</span>'
|
| | | // }else{
|
| | | // return ''
|
| | | // }
|
| | | // }, minWidth: 80,align:'center'},
|
| | | {field: 'createTime', title: '注册时间', minWidth: 150,align:'center'},
|
| | | {title: '操作', toolbar: '#user-option'
|
| | | // {title: '操作', toolbar: '#user-option'
|
| | | // templet: function (d) {
|
| | | // if (d.certifyStatus === 1) {
|
| | | // return ''
|
| | |
| | | // +'<i class="layui-icon febs-edit-area febs-blue"></i></a>'
|
| | | // }
|
| | | // },
|
| | | ,minWidth: 200,align:'center'}
|
| | | // ,minWidth: 200,align:'center'}
|
| | | ]]
|
| | | });
|
| | | }
|
| | |
| | | <div class="layui-form-item">
|
| | | <div class="layui-inline">
|
| | | <div class="layui-input-inline">
|
| | | <input type="text" placeholder="手机号/邮箱/邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | <input type="text" placeholder="邀请码" name="account" autocomplete="off" class="layui-input">
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | <div class="layui-inline">
|
| | | <div class="layui-input-inline">
|
| | | <input type="text" placeholder="收款手机号" name="insidePhone" autocomplete="off" class="layui-input">
|
| | | </div>
|
| | | </div>
|
| | | <div class="layui-inline">
|
| | | <div class="layui-input-inline">
|
| | | <input type="text" placeholder="提币地址" name="address" autocomplete="off" class="layui-input">
|
| | |
| | | url: ctx + 'member/memberWithdrawCoin',
|
| | | totalRow: true,
|
| | | cols: [[
|
| | | {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'},
|
| | | {field: 'realName', title: '姓名', minWidth: 50,align:'left'},
|
| | | {field: 'email', title: '邮箱', minWidth: 100,align:'left'},
|
| | | // {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'},
|
| | | //{field: 'realName', title: '姓名', minWidth: 50,align:'left'},
|
| | | // {field: 'email', title: '邮箱', minWidth: 100,align:'left'},
|
| | | // {field: 'accountType', title: '账号类型',
|
| | | // templet: function (d) {
|
| | | // if (d.accountType === 2) {
|
| | |
| | | return '<span style="color:green;">否</span>'
|
| | | }
|
| | | },minWidth: 100,align:'center'},
|
| | | {field: 'insidePhone', title: '内部账户', minWidth: 120,align:'center' },
|
| | | // {field: 'insidePhone', title: '内部账户', minWidth: 120,align:'center' },
|
| | | {field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true},
|
| | | {field: 'realAmount', title: '到账金额', minWidth: 120,align:'center' ,totalRow: true},
|
| | | {field: 'address', title: '提币地址', minWidth: 300,align:'center'},
|
| | |
| | | return '<span style="color:red;">拒绝</span>'
|
| | | }
|
| | | },minWidth: 100,align:'center'},
|
| | | {title: '操作', toolbar: '#user-option'
|
| | | // {title: '操作', toolbar: '#user-option'
|
| | | // templet: function (d) {
|
| | | // if (d.status === 1) {
|
| | | // return '<a lay-event="confirm" shiro:hasPermission="coin:check">确认</a>'
|
| | |
| | | // return '<a lay-event="examine" >查看</a>'
|
| | | // }
|
| | | // }
|
| | | ,minWidth: 200,align:'center'}
|
| | | // ,minWidth: 200,align:'center'}
|
| | | ]]
|
| | | });
|
| | | }
|
| | |
| | | function getQueryParams() {
|
| | | return {
|
| | | account: $searchForm.find('input[name="account"]').val().trim(),
|
| | | insidePhone: $searchForm.find('input[name="insidePhone"]').val().trim(),
|
| | | address: $searchForm.find('input[name="address"]').val().trim(),
|
| | | status: $searchForm.find("select[name='statusOption']").val(),
|
| | | isTest: $searchForm.find("select[name='isTest']").val(),
|
| | |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" placeholder="手机号/邮箱" name="phone" autocomplete="off" class="layui-input"> |
| | | <input type="text" placeholder="邀请码" name="inviteId" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | url: ctx + 'orderCoin/page', |
| | | totalRow: true, |
| | | cols: [[ |
| | | {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, |
| | | {field: 'email', title: '邮箱', minWidth: 50,align:'left'}, |
| | | //{field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, |
| | | //{field: 'email', title: '邮箱', minWidth: 50,align:'left'}, |
| | | {field: 'inviteId', title: '邀请码', minWidth: 120,align:'left'}, |
| | | {field: 'orderType', title: '订单类型', |
| | | templet: function (d) { |
| | | if (d.orderType === 1) { |
| | |
| | | // 获取查询参数 |
| | | function getQueryParams() { |
| | | return { |
| | | phone: $searchForm.find('input[name="phone"]').val().trim() |
| | | inviteId: $searchForm.find('input[name="inviteId"]').val().trim() |
| | | }; |
| | | } |
| | | |