no message
@ -0,0 +1,337 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.pay .w-pay-money span {
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.pay .w-pay-type img {
|
||||
position: absolute;
|
||||
left: 1px;
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
.pay .w-pay-selected img, .w-pay-type:hover img {
|
||||
left: 0;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
.pay .w-pay-bankLogo img {
|
||||
position: absolute;
|
||||
left: 2px;
|
||||
top: 2px;
|
||||
display: block;
|
||||
width: 50px;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
.pay .w-pay-bankLogo:hover img {
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
|
||||
.pay .z-sel s,.z-initsel s,.z-Btn-ok b{background:url(../img/member-icon.png);background-size:40px auto;}
|
||||
|
||||
.pay, .pay button, .pay input, .pay select, .pay textarea {
|
||||
font-size: 12px;
|
||||
font-family: arial, 微软雅黑;
|
||||
}
|
||||
|
||||
:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.pay img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.pay ul, li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.pay div, .pay ul, .pay li, .pay dl, .pay dt, .pay dd, .pay table, .pay td, .pay input {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-appearance: none;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
* html .clearfix {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
outline: medium none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #C00;
|
||||
}
|
||||
|
||||
.orange {
|
||||
color: #f60;
|
||||
}
|
||||
|
||||
|
||||
h1, h2, h3, h4, b {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.m-round {
|
||||
border: 1px solid #DCDCDC;
|
||||
border-radius: 5px;
|
||||
background: #fff;
|
||||
box-shadow: 1px 1px 1px #e7e7e7;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.z-HReturn s, .z-HReturn b {
|
||||
background: url(../img/mainIcon.png);
|
||||
background-size: 80px auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.orgBtn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
height: 43px;
|
||||
line-height: 43px;
|
||||
text-align: center;
|
||||
color: #fff !important;
|
||||
border-radius: 5px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.orgBtn {
|
||||
background: #f60;
|
||||
border: 1px solid #ef6000;
|
||||
max-width:250px;
|
||||
margin: 5px auto;
|
||||
}
|
||||
.z-sort i, .z-RCornerBtn i {
|
||||
width: 5px;
|
||||
height: 34px;
|
||||
display: inline-block;
|
||||
background-position: 0 -110px;
|
||||
background-color: #f60;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.g-header {
|
||||
height: 44px;
|
||||
background: #f60;
|
||||
border-bottom: 1px solid #e35b00;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.g-header h2 {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
line-height: 44px;
|
||||
text-shadow: 1px 1px 0 #C04D00;
|
||||
}
|
||||
|
||||
.g-header .head-l, .g-header .head-r {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
.g-header .head-r .z-shop {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.g-header .head-l {
|
||||
left: 3px;
|
||||
}
|
||||
|
||||
.z-HReturn {
|
||||
height: 33px;
|
||||
line-height: 33px;
|
||||
padding-left: 15px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.z-HReturn b {
|
||||
display: inline-block;
|
||||
background-position: right -196px;
|
||||
padding: 0 11px 0 5px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.z-HReturn s {
|
||||
width: 15px;
|
||||
height: 33px;
|
||||
background-position: 0 -162px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.g-header .head-r {
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.g-member {
|
||||
background: #F4F4F4;
|
||||
padding: 10px 5px;
|
||||
}
|
||||
|
||||
.g-Total {
|
||||
background: #F4F4F4;
|
||||
border-bottom: 1px solid #DCDCDC;
|
||||
line-height: 30px;
|
||||
padding: 5px 10px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.g-Recharge ul:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.g-Recharge ul {
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
.g-Recharge li {
|
||||
width: 33%;
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.g-Recharge li:nth-child(3n-1) {
|
||||
width: 34%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.g-Recharge li:nth-child(3n-3) {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.g-Recharge li a,.z-initsel, .g-Recharge li b {
|
||||
color: #959595;
|
||||
width: 90%;
|
||||
line-height: 30px;
|
||||
display: inline-block;
|
||||
background: #fff;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
border: 1px solid #EAEAEA;
|
||||
box-shadow: 1px 1px 1px #EDEDED;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.g-Recharge li a.z-sel s{
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
bottom: -1px;
|
||||
display: inline-block;
|
||||
background-position: 0 0;
|
||||
}
|
||||
.z-initsel s {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
right: -1px;
|
||||
bottom: -1px;
|
||||
display: inline-block;
|
||||
background-position: 0 0;
|
||||
}
|
||||
#ulBankList li a.z-initsel {
|
||||
border: 1px solid #F60;
|
||||
color: #666;
|
||||
}
|
||||
.g-Recharge li a.z-sel {
|
||||
border: 1px solid #F60;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.g-Recharge li input {
|
||||
color: #959595;
|
||||
}
|
||||
|
||||
|
||||
.g-Recharge li .z-initsel input {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.g-Recharge li .z-init {
|
||||
width: 90%;
|
||||
padding: 7px 0;
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.f-Recharge-btn {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.g-pay-ment {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.g-pay-ment li {
|
||||
line-height: 35px;
|
||||
border-top: 1px dotted #CBCBCB;
|
||||
max-height: 70px;
|
||||
padding: 5px 0px 20px 0px;
|
||||
overflow: hidden;
|
||||
margin-top: -1px;
|
||||
float: left;
|
||||
}
|
||||
.g-pay-ment li a{
|
||||
width:100%;
|
||||
max-width: 150px;
|
||||
}
|
||||
.g-pay-ment li img{
|
||||
width:100%;
|
||||
max-width: 150px;
|
||||
vertical-align: middle;
|
||||
border: 1px solid #EAEAEA;
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,329 @@
|
||||
@charset "UTF-8";
|
||||
html {
|
||||
font-size: 62.5%;
|
||||
font-family: 'helvetica neue', tahoma, arial, 'hiragino sans gb', 'microsoft yahei', 'Simsun', sans-serif
|
||||
}
|
||||
|
||||
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, hr {
|
||||
margin: 0;
|
||||
padding: 0px 2px;
|
||||
}
|
||||
|
||||
body {
|
||||
line-height: 1.333;
|
||||
font-size: 12px
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 100%;
|
||||
font-family: arial, 'hiragino sans gb', 'microsoft yahei', 'Simsun', sans-serif
|
||||
}
|
||||
|
||||
input, textarea, select, button {
|
||||
font-size: 12px;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
input[type="button"], input[type="submit"], select, button {
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0
|
||||
}
|
||||
|
||||
address, caption, cite, code, dfn, em, th, var {
|
||||
font-style: normal;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: none
|
||||
}
|
||||
|
||||
caption, th {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
q:before, q:after {
|
||||
content: ''
|
||||
}
|
||||
|
||||
abbr, acronym {
|
||||
border: 0;
|
||||
font-variant: normal
|
||||
}
|
||||
|
||||
sup {
|
||||
vertical-align: text-top
|
||||
}
|
||||
|
||||
sub {
|
||||
vertical-align: text-bottom
|
||||
}
|
||||
|
||||
fieldset, img, a img, iframe {
|
||||
border-width: 0;
|
||||
border-style: none
|
||||
}
|
||||
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow-y: auto
|
||||
}
|
||||
|
||||
legend {
|
||||
color: #000
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
hr {
|
||||
height: 0
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: pointer
|
||||
}
|
||||
|
||||
a {
|
||||
color: #328CE5
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #2b8ae8;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: none
|
||||
}
|
||||
|
||||
body, .body {
|
||||
background: #f7f7f7;
|
||||
height: 100%;
|
||||
max-width: 640px;
|
||||
min-width: 300px;
|
||||
min-height: 100%;
|
||||
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mod-title {
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #ddd;
|
||||
background: #fff
|
||||
}
|
||||
|
||||
.ico_log {
|
||||
display: inline-block;
|
||||
width: 130px;
|
||||
height: 38px;
|
||||
vertical-align: middle;
|
||||
margin-right: 7px
|
||||
}
|
||||
|
||||
.ico-1 {
|
||||
background: url("../img/alipay.jpg") no-repeat;
|
||||
}
|
||||
|
||||
.ico-2 {
|
||||
background: url("../img/qqpay.jpg") no-repeat;
|
||||
}
|
||||
|
||||
.ico-3 {
|
||||
background: url("../img/weixin.jpg") no-repeat;
|
||||
}
|
||||
|
||||
.mod-title .text {
|
||||
font-size: 20px;
|
||||
color: #333;
|
||||
font-weight: normal;
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.mod-ct {
|
||||
min-width: 300px;
|
||||
max-width: 640px;
|
||||
margin: 0 auto;
|
||||
margin-top: 15px;
|
||||
background: #fff url("../img/wave.png") top center repeat-x;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-top: none
|
||||
}
|
||||
|
||||
.mod-ct .order {
|
||||
font-size: 20px;
|
||||
padding-top: 10px
|
||||
}
|
||||
|
||||
.mod-ct .amount {
|
||||
font-size: 48px;
|
||||
margin-top: 10px
|
||||
}
|
||||
|
||||
.mod-ct .qr-image {
|
||||
margin-top: 30px
|
||||
}
|
||||
|
||||
.mod-ct .qr-image img {
|
||||
width: 230px;
|
||||
height: 230px
|
||||
}
|
||||
|
||||
.mod-ct .detail {
|
||||
margin-top: 10px;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 10px;
|
||||
|
||||
}
|
||||
|
||||
.mod-ct .detail .arrow .ico-arrow {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 11px;
|
||||
background: url("../img/wechat-pay.png") -25px -100px no-repeat
|
||||
}
|
||||
|
||||
.mod-ct .detail .detail-ct {
|
||||
display: none;
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
line-height: 28px
|
||||
}
|
||||
|
||||
.mod-ct .detail .detail-ct dt {
|
||||
float: left
|
||||
}
|
||||
|
||||
.mod-ct .detail-open {
|
||||
border-top: 1px solid #e5e5e5
|
||||
}
|
||||
|
||||
.mod-ct .detail .arrow {
|
||||
padding: 6px 34px;
|
||||
border: 1px solid #e5e5e5
|
||||
}
|
||||
|
||||
.mod-ct .detail .arrow .ico-arrow {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 11px;
|
||||
background: url("../img/wechat-pay.png") -25px -100px no-repeat
|
||||
}
|
||||
|
||||
.mod-ct .detail-open .arrow .ico-arrow {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 11px;
|
||||
background: url("../img/wechat-pay.png") 0 -100px no-repeat
|
||||
}
|
||||
|
||||
.mod-ct .detail-open .detail-ct {
|
||||
display: block
|
||||
}
|
||||
|
||||
.mod-ct .tip {
|
||||
margin-top: 20px;
|
||||
border-top: 1px dashed #e5e5e5;
|
||||
padding: 10px 0;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.mod-ct .tip .ico-scan {
|
||||
display: inline-block;
|
||||
width: 56px;
|
||||
height: 55px;
|
||||
background: url("../img/wechat-pay.png") 0 0 no-repeat;
|
||||
vertical-align: middle;
|
||||
*display: inline;
|
||||
*zoom: 1
|
||||
}
|
||||
|
||||
.mod-ct .tip .tip-text {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
margin-left: 23px;
|
||||
font-size: 16px;
|
||||
line-height: 28px;
|
||||
*display: inline;
|
||||
*zoom: 1
|
||||
}
|
||||
|
||||
.mod-ct .tip .dec {
|
||||
display: inline-block;
|
||||
width: 22px;
|
||||
height: 45px;
|
||||
background: url("../img/wechat-pay.png") 0 -55px no-repeat;
|
||||
position: absolute;
|
||||
top: -23px
|
||||
}
|
||||
|
||||
.mod-ct .tip .dec-left {
|
||||
background-position: 0 -55px;
|
||||
left: -136px
|
||||
}
|
||||
|
||||
.mod-ct .tip .dec-right {
|
||||
background-position: -25px -55px;
|
||||
right: -136px
|
||||
}
|
||||
|
||||
.foot {
|
||||
text-align: center;
|
||||
margin: 30px auto;
|
||||
color: #888888;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
font-family: "simsun"
|
||||
}
|
||||
|
||||
.copyRight {
|
||||
text-align: center;
|
||||
color: rgba(97, 167, 184, 0.08);
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
.copyRight a {
|
||||
color: rgba(88, 161, 184, 0.08);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 15px;
|
||||
margin: 5px 0;
|
||||
padding-bottom: 2px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.time-item strong {
|
||||
background: #3ec742;
|
||||
color: #fff;
|
||||
line-height: 25px;
|
||||
font-size: 15px;
|
||||
font-family: Arial;
|
||||
padding: 0 10px;
|
||||
margin-right: 10px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.item-title {
|
||||
background: none;
|
||||
line-height: 25px;
|
||||
font-size: 24px;
|
||||
padding: 0 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 263 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
@ -0,0 +1,262 @@
|
||||
var myTimer;
|
||||
function timer(intDiff) {
|
||||
var i = 0;
|
||||
myTimer = window.setInterval(function () {
|
||||
i++;
|
||||
var day = 0,
|
||||
hour = 0,
|
||||
minute = 0,
|
||||
second = 0;//时间默认值
|
||||
if (intDiff > 0) {
|
||||
day = Math.floor(intDiff / (60 * 60 * 24));
|
||||
hour = Math.floor(intDiff / (60 * 60)) - (day * 24);
|
||||
minute = Math.floor(intDiff / 60) - (day * 24 * 60) - (hour * 60);
|
||||
second = Math.floor(intDiff) - (day * 24 * 60 * 60) - (hour * 60 * 60) - (minute * 60);
|
||||
}
|
||||
if (minute <= 9) minute = '0' + minute;
|
||||
if (second <= 9) second = '0' + second;
|
||||
$('#hour_show').html('<s id="h"></s>' + hour + '时');
|
||||
$('#minute_show').html('<s></s>' + minute + '分');
|
||||
$('#second_show').html('<s></s>' + second + '秒');
|
||||
if (hour <= 0 && minute <= 0 && second <= 0) {
|
||||
qrcode_timeout()
|
||||
clearInterval(myTimer);
|
||||
|
||||
}
|
||||
intDiff--;
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
document.ontouchstart = function () {
|
||||
$('#use').hide();
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
function getNowFormatDate() {
|
||||
var date = new Date();
|
||||
var seperator1 = "-";
|
||||
var seperator2 = ":";
|
||||
var month = date.getMonth() + 1;
|
||||
var strDate = date.getDate();
|
||||
if (month >= 1 && month <= 9) {
|
||||
month = "0" + month;
|
||||
}
|
||||
if (strDate >= 0 && strDate <= 9) {
|
||||
strDate = "0" + strDate;
|
||||
}
|
||||
var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
|
||||
+ " " + date.getHours() + seperator2 + date.getMinutes()
|
||||
+ seperator2 + date.getSeconds();
|
||||
return currentdate;
|
||||
}
|
||||
myDate = function (s, t, g) {
|
||||
if (t == "null") {
|
||||
return "?"
|
||||
}
|
||||
s = "-" + s;
|
||||
s = s.toLocaleLowerCase();
|
||||
a = s.indexOf("y");
|
||||
b = s.indexOf("-m");
|
||||
c = s.indexOf("d");
|
||||
d = s.indexOf("h");
|
||||
e = s.indexOf(":m");
|
||||
f = s.indexOf("s");
|
||||
t ? date = new Date(t * 1000) : date = new Date();
|
||||
b < 0 ? as = "" : as = "-";
|
||||
c < 0 ? bs = "" : bs = "-";
|
||||
d < 0 ? cs = "" : cs = " ";
|
||||
e < 0 ? ds = "" : ds = ":";
|
||||
f < 0 ? es = "" : es = ":";
|
||||
g ? g1 = ":00" : g1 = ""; //设置显示时分秒则显示否则不显示
|
||||
g ? g2 = ":00" : g2 = "";
|
||||
|
||||
var month = date.getMonth() + 1;
|
||||
var strDate = date.getDate();
|
||||
if (month >= 1 && month <= 9) {
|
||||
month = "0" + month;
|
||||
}
|
||||
if (strDate >= 0 && strDate <= 9) {
|
||||
strDate = "0" + strDate;
|
||||
}
|
||||
a >= 0 ? a = date.getFullYear() + as : a = "";
|
||||
b >= 0 ? b = month + bs : b = "";
|
||||
c >= 0 ? c = strDate + cs : c = "";
|
||||
d >= 0 ? d = date.getHours() + ds : d = g1;
|
||||
e >= 0 ? e = date.getMinutes() + es : e = g1;
|
||||
f >= 0 ? f = date.getSeconds() : f = g2;
|
||||
var currentdate = a + b + c + d + e + f;
|
||||
return currentdate;
|
||||
}
|
||||
createLinkstring = function (para) {
|
||||
var arg = "";
|
||||
for (i in para) {
|
||||
if ((!para[i] && typeof para[i] != 'number') || i == 'password' || (i + '').toLowerCase() == 'creattime')continue; //跳过传递此类
|
||||
arg += i + "=" + encodeURIComponent(para[i]) + "&";
|
||||
}
|
||||
//去掉最后一个&字符
|
||||
arg = arg.substring(0, arg.length - 1)
|
||||
return arg;
|
||||
}
|
||||
function isMobile() {
|
||||
var ua = navigator.userAgent.toLowerCase();
|
||||
_long_matches = 'googlebot-mobile|android|avantgo|blackberry|blazer|elaine|hiptop|ip(hone|od)|kindle|midp|mmp|mobile|o2|opera mini|palm( os)?|pda|plucker|pocket|psp|smartphone|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce; (iemobile|ppc)|xiino|maemo|fennec'
|
||||
_long_matches = new RegExp(_long_matches);
|
||||
_short_matches = '1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-'
|
||||
_short_matches = new RegExp(_short_matches);
|
||||
if (_long_matches.test(ua)) {
|
||||
return 1
|
||||
}
|
||||
user_agent = ua.substring(0, 4)
|
||||
if (_short_matches.test(user_agent)) {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
callback = function (data) {
|
||||
var status = parseInt(data.status);
|
||||
if (!isNaN(status) && status >= 0) {
|
||||
try {
|
||||
data.id = user_data.codePay_id; //用户标识
|
||||
} catch (e) {
|
||||
}
|
||||
data.mobile = !data.mobile ? isMobile() : 1;
|
||||
startNotiry(data); //启用支付成功通知服务
|
||||
show_Qrcode(data); //显示二维码
|
||||
log(data);
|
||||
} else if (data.status == -8) {
|
||||
show_Qrcode(data); //显示二维码
|
||||
$("#msg h1").html("商家的软件未对接,付款后请等待商家确认。");
|
||||
// alert("管理员的软件未运行,付款后无法立即通知。管理员可以关闭调试模式来禁用此消息");
|
||||
} else {
|
||||
alert("订单创建失败 请更换其他支付方式或反馈管理员错误信息:" + data.msg);
|
||||
}
|
||||
}
|
||||
qrcode_timeout = function () { //二维码超时则停止显示二维码
|
||||
if (notifyServer && notifyServer.started)notifyServer.emit('notify_out', {});
|
||||
$("#show_qrcode").attr("src", '');
|
||||
$("#show_qrcode").attr("alt", '二维码失效');
|
||||
|
||||
$("#msg h1").html("支付超时 请重新提交订单"); //过期提醒信息
|
||||
}
|
||||
show_Qrcode = function (data) {
|
||||
var ua = navigator.userAgent.toLowerCase()
|
||||
if (!data)return;
|
||||
if (user_data && user_data.qrcode_url) {
|
||||
data.qrcode = user_data.qrcode_url + '?money=' + data.money + '&type=' + data["type"] + '&tag=' + data.tag;
|
||||
}
|
||||
if (data.qrcode)$("#show_qrcode").attr("src", data.qrcode); //二维码更新
|
||||
if (data.money) $("#money").html('¥' + data.money); //金额改变 云端匹配最佳金额
|
||||
var tps = data.money != data.price ? '<span style="color:red">为了您及时到账 请务必付款' + data.money + '元</span><br>' : '';
|
||||
if (data.message) { //创建后云端根据浏览器返回的tps提醒
|
||||
tps = data.message;
|
||||
//$("#msg h1").html(data.message);
|
||||
} else if (data.mobile) {
|
||||
if ((data["type"] == 3 && ua.indexOf('micromessenger') > 1) || (data["type"] == 2 && ua.indexOf('qq') > 1)) {
|
||||
tps += '长按识别该二维码 自动到账';
|
||||
} else {
|
||||
tps += '长按保存到相册使用' + (data.type == 3 ? '微信' : data.type == 2 ? 'QQ' : '支付宝') + '扫码';
|
||||
}
|
||||
// $("#msg h1").html(tps); //手机支付
|
||||
} else {
|
||||
tps += tps ? '' : '付款后自动到账 未到账可联系我们';
|
||||
// $("#msg h1").html('付款后自动到账 未到账可联系我们');
|
||||
}
|
||||
$("#msg h1").html(tps);
|
||||
show_desc(data);
|
||||
}
|
||||
function getDescMode(key, value) {
|
||||
var reslut = value ? '<dt>' + key + '</dt><dd>' + value + '</dd>' : '';
|
||||
return reslut;
|
||||
}
|
||||
show_desc = function (data) { //商品描述
|
||||
var html = '';
|
||||
html += getDescMode('账号', data.pay_id);
|
||||
html += getDescMode('金额', "¥" + data.money);
|
||||
html += getDescMode('云端单号', data.order_id);
|
||||
html += getDescMode('创建时间', getNowFormatDate());
|
||||
html += getDescMode('过期时间', myDate("y-m-d h:m:s", data.endTime));
|
||||
$("#desc").html(html);
|
||||
}
|
||||
getApiHost = function (data) {
|
||||
if ((data && data.https) || 'https:' == document.location.protocol) { //走HTTPS通道
|
||||
return 'https://codepay.fateqq.com:51888'
|
||||
} else {
|
||||
return 'http://codepay.fateqq.com:52888'
|
||||
}
|
||||
}
|
||||
log = function (s) {
|
||||
try {
|
||||
console.log(s);
|
||||
} catch (e) {
|
||||
|
||||
}
|
||||
}
|
||||
var notifyServer
|
||||
function startNotiry(data) {
|
||||
data.notiry_host = data.notiry_host || getApiHost(data);
|
||||
notifyServer = notify = io.connect(data.notiry_host);
|
||||
//notifyServer = notify = io.connect('http://127.0.0.1:52888');
|
||||
notify.emit('notify', data);
|
||||
notify.on('notify', function (o) { //同步通知服务返回
|
||||
log(o);
|
||||
notifyServer.started = true;
|
||||
if (!o)return;
|
||||
if (user_data && user_data.qrcode_url && o.money) {
|
||||
o.qrcode = user_data.qrcode_url + '?money=' + o.money + '&type=' + o["type"] + '&tag=' + o.tag;
|
||||
}
|
||||
if (o.qrcode && $("#show_qrcode").src != o.qrcode)$("#show_qrcode").attr("src", o.qrcode); //二维码
|
||||
if (o.money) $("#money").html('¥' + o.money); //金额改变
|
||||
if (o.msg)$("#msg h1").html(o.msg); //过期
|
||||
if (o.outTime) {
|
||||
try {
|
||||
clearInterval(myTimer);
|
||||
} catch (e) {
|
||||
}
|
||||
timer(parseInt(o.outTime));
|
||||
}
|
||||
|
||||
});
|
||||
notify.on('sussecc', function (o) { //成功后跳转
|
||||
log(o);
|
||||
var status = parseInt(o.status);
|
||||
$("#show_qrcode").attr("src", '');
|
||||
$("#show_qrcode").attr("alt", '支付成功 1秒后自动跳转');
|
||||
if (!isNaN(status) && status > 1)$("#msg h1").html('支付成功 1秒后自动跳转');
|
||||
if (!user_data.return_url)user_data.return_url = 'https://codepay.fateqq.com/demo_show.html';
|
||||
var openUrl = user_data.return_url;
|
||||
var query = createLinkstring(o);
|
||||
openUrl += openUrl.indexOf('?') > 1 ? "&" + query : "?" + query;
|
||||
setTimeout(function () {
|
||||
location.href = openUrl;
|
||||
}, 1000); //延时1秒跳转
|
||||
|
||||
});
|
||||
notify.on('disconnect', function (o) {//服务器断开 无法通知
|
||||
log(o);
|
||||
});
|
||||
notify.on('warning', function (o) {//系统通知
|
||||
if (o.msg)$("#msg h1").html(o.msg);
|
||||
});
|
||||
}
|
||||
$(document).ready(function () {
|
||||
$(function () {
|
||||
timer(user_data.outTime || 360);
|
||||
});
|
||||
|
||||
$('#orderDetail .arrow').click(function (event) {
|
||||
if ($('#orderDetail').hasClass('detail-open')) {
|
||||
$('#orderDetail .detail-ct').slideUp(500, function () {
|
||||
$('#orderDetail').removeClass('detail-open');
|
||||
});
|
||||
} else {
|
||||
$('#orderDetail .detail-ct').slideDown(500, function () {
|
||||
$('#orderDetail').addClass('detail-open');
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
/**
|
||||
* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
||||
*/
|
||||
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document);
|
||||
@ -0,0 +1,17 @@
|
||||
/*! JSON v3.3.1 | http://bestiejs.github.io/json3 | Copyright 2012-2014, Kit Cambridge | http://kit.mit-license.org */
|
||||
(function(){function N(p,r){function q(a){if(q[a]!==w)return q[a];var c;if("bug-string-char-index"==a)c="a"!="a"[0];else if("json"==a)c=q("json-stringify")&&q("json-parse");else{var e;if("json-stringify"==a){c=r.stringify;var b="function"==typeof c&&s;if(b){(e=function(){return 1}).toJSON=e;try{b="0"===c(0)&&"0"===c(new t)&&'""'==c(new A)&&c(u)===w&&c(w)===w&&c()===w&&"1"===c(e)&&"[1]"==c([e])&&"[null]"==c([w])&&"null"==c(null)&&"[null,null,null]"==c([w,u,null])&&'{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}'==
|
||||
c({a:[e,!0,!1,null,"\x00\b\n\f\r\t"]})&&"1"===c(null,e)&&"[\n 1,\n 2\n]"==c([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==c(new C(-864E13))&&'"+275760-09-13T00:00:00.000Z"'==c(new C(864E13))&&'"-000001-01-01T00:00:00.000Z"'==c(new C(-621987552E5))&&'"1969-12-31T23:59:59.999Z"'==c(new C(-1))}catch(f){b=!1}}c=b}if("json-parse"==a){c=r.parse;if("function"==typeof c)try{if(0===c("0")&&!c(!1)){e=c('{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}');var n=5==e.a.length&&1===e.a[0];if(n){try{n=!c('"\t"')}catch(d){}if(n)try{n=
|
||||
1!==c("01")}catch(g){}if(n)try{n=1!==c("1.")}catch(m){}}}}catch(X){n=!1}c=n}}return q[a]=!!c}p||(p=k.Object());r||(r=k.Object());var t=p.Number||k.Number,A=p.String||k.String,H=p.Object||k.Object,C=p.Date||k.Date,G=p.SyntaxError||k.SyntaxError,K=p.TypeError||k.TypeError,L=p.Math||k.Math,I=p.JSON||k.JSON;"object"==typeof I&&I&&(r.stringify=I.stringify,r.parse=I.parse);var H=H.prototype,u=H.toString,v,B,w,s=new C(-0xc782b5b800cec);try{s=-109252==s.getUTCFullYear()&&0===s.getUTCMonth()&&1===s.getUTCDate()&&
|
||||
10==s.getUTCHours()&&37==s.getUTCMinutes()&&6==s.getUTCSeconds()&&708==s.getUTCMilliseconds()}catch(Q){}if(!q("json")){var D=q("bug-string-char-index");if(!s)var x=L.floor,M=[0,31,59,90,120,151,181,212,243,273,304,334],E=function(a,c){return M[c]+365*(a-1970)+x((a-1969+(c=+(1<c)))/4)-x((a-1901+c)/100)+x((a-1601+c)/400)};(v=H.hasOwnProperty)||(v=function(a){var c={},e;(c.__proto__=null,c.__proto__={toString:1},c).toString!=u?v=function(a){var c=this.__proto__;a=a in(this.__proto__=null,this);this.__proto__=
|
||||
c;return a}:(e=c.constructor,v=function(a){var c=(this.constructor||e).prototype;return a in this&&!(a in c&&this[a]===c[a])});c=null;return v.call(this,a)});B=function(a,c){var e=0,b,f,n;(b=function(){this.valueOf=0}).prototype.valueOf=0;f=new b;for(n in f)v.call(f,n)&&e++;b=f=null;e?B=2==e?function(a,c){var e={},b="[object Function]"==u.call(a),f;for(f in a)b&&"prototype"==f||v.call(e,f)||(e[f]=1,!v.call(a,f))||c(f)}:function(a,c){var e="[object Function]"==u.call(a),b,f;for(b in a)e&&"prototype"==
|
||||
b||!v.call(a,b)||(f="constructor"===b)||c(b);(f||v.call(a,b="constructor"))&&c(b)}:(f="valueOf toString toLocaleString propertyIsEnumerable isPrototypeOf hasOwnProperty constructor".split(" "),B=function(a,c){var e="[object Function]"==u.call(a),b,h=!e&&"function"!=typeof a.constructor&&F[typeof a.hasOwnProperty]&&a.hasOwnProperty||v;for(b in a)e&&"prototype"==b||!h.call(a,b)||c(b);for(e=f.length;b=f[--e];h.call(a,b)&&c(b));});return B(a,c)};if(!q("json-stringify")){var U={92:"\\\\",34:'\\"',8:"\\b",
|
||||
12:"\\f",10:"\\n",13:"\\r",9:"\\t"},y=function(a,c){return("000000"+(c||0)).slice(-a)},R=function(a){for(var c='"',b=0,h=a.length,f=!D||10<h,n=f&&(D?a.split(""):a);b<h;b++){var d=a.charCodeAt(b);switch(d){case 8:case 9:case 10:case 12:case 13:case 34:case 92:c+=U[d];break;default:if(32>d){c+="\\u00"+y(2,d.toString(16));break}c+=f?n[b]:a.charAt(b)}}return c+'"'},O=function(a,c,b,h,f,n,d){var g,m,k,l,p,r,s,t,q;try{g=c[a]}catch(z){}if("object"==typeof g&&g)if(m=u.call(g),"[object Date]"!=m||v.call(g,
|
||||
"toJSON"))"function"==typeof g.toJSON&&("[object Number]"!=m&&"[object String]"!=m&&"[object Array]"!=m||v.call(g,"toJSON"))&&(g=g.toJSON(a));else if(g>-1/0&&g<1/0){if(E){l=x(g/864E5);for(m=x(l/365.2425)+1970-1;E(m+1,0)<=l;m++);for(k=x((l-E(m,0))/30.42);E(m,k+1)<=l;k++);l=1+l-E(m,k);p=(g%864E5+864E5)%864E5;r=x(p/36E5)%24;s=x(p/6E4)%60;t=x(p/1E3)%60;p%=1E3}else m=g.getUTCFullYear(),k=g.getUTCMonth(),l=g.getUTCDate(),r=g.getUTCHours(),s=g.getUTCMinutes(),t=g.getUTCSeconds(),p=g.getUTCMilliseconds();
|
||||
g=(0>=m||1E4<=m?(0>m?"-":"+")+y(6,0>m?-m:m):y(4,m))+"-"+y(2,k+1)+"-"+y(2,l)+"T"+y(2,r)+":"+y(2,s)+":"+y(2,t)+"."+y(3,p)+"Z"}else g=null;b&&(g=b.call(c,a,g));if(null===g)return"null";m=u.call(g);if("[object Boolean]"==m)return""+g;if("[object Number]"==m)return g>-1/0&&g<1/0?""+g:"null";if("[object String]"==m)return R(""+g);if("object"==typeof g){for(a=d.length;a--;)if(d[a]===g)throw K();d.push(g);q=[];c=n;n+=f;if("[object Array]"==m){k=0;for(a=g.length;k<a;k++)m=O(k,g,b,h,f,n,d),q.push(m===w?"null":
|
||||
m);a=q.length?f?"[\n"+n+q.join(",\n"+n)+"\n"+c+"]":"["+q.join(",")+"]":"[]"}else B(h||g,function(a){var c=O(a,g,b,h,f,n,d);c!==w&&q.push(R(a)+":"+(f?" ":"")+c)}),a=q.length?f?"{\n"+n+q.join(",\n"+n)+"\n"+c+"}":"{"+q.join(",")+"}":"{}";d.pop();return a}};r.stringify=function(a,c,b){var h,f,n,d;if(F[typeof c]&&c)if("[object Function]"==(d=u.call(c)))f=c;else if("[object Array]"==d){n={};for(var g=0,k=c.length,l;g<k;l=c[g++],(d=u.call(l),"[object String]"==d||"[object Number]"==d)&&(n[l]=1));}if(b)if("[object Number]"==
|
||||
(d=u.call(b))){if(0<(b-=b%1))for(h="",10<b&&(b=10);h.length<b;h+=" ");}else"[object String]"==d&&(h=10>=b.length?b:b.slice(0,10));return O("",(l={},l[""]=a,l),f,n,h,"",[])}}if(!q("json-parse")){var V=A.fromCharCode,W={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"},b,J,l=function(){b=J=null;throw G();},z=function(){for(var a=J,c=a.length,e,h,f,k,d;b<c;)switch(d=a.charCodeAt(b),d){case 9:case 10:case 13:case 32:b++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=
|
||||
D?a.charAt(b):a[b],b++,e;case 34:e="@";for(b++;b<c;)if(d=a.charCodeAt(b),32>d)l();else if(92==d)switch(d=a.charCodeAt(++b),d){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=W[d];b++;break;case 117:h=++b;for(f=b+4;b<f;b++)d=a.charCodeAt(b),48<=d&&57>=d||97<=d&&102>=d||65<=d&&70>=d||l();e+=V("0x"+a.slice(h,b));break;default:l()}else{if(34==d)break;d=a.charCodeAt(b);for(h=b;32<=d&&92!=d&&34!=d;)d=a.charCodeAt(++b);e+=a.slice(h,b)}if(34==a.charCodeAt(b))return b++,e;l();default:h=
|
||||
b;45==d&&(k=!0,d=a.charCodeAt(++b));if(48<=d&&57>=d){for(48==d&&(d=a.charCodeAt(b+1),48<=d&&57>=d)&&l();b<c&&(d=a.charCodeAt(b),48<=d&&57>=d);b++);if(46==a.charCodeAt(b)){for(f=++b;f<c&&(d=a.charCodeAt(f),48<=d&&57>=d);f++);f==b&&l();b=f}d=a.charCodeAt(b);if(101==d||69==d){d=a.charCodeAt(++b);43!=d&&45!=d||b++;for(f=b;f<c&&(d=a.charCodeAt(f),48<=d&&57>=d);f++);f==b&&l();b=f}return+a.slice(h,b)}k&&l();if("true"==a.slice(b,b+4))return b+=4,!0;if("false"==a.slice(b,b+5))return b+=5,!1;if("null"==a.slice(b,
|
||||
b+4))return b+=4,null;l()}return"$"},P=function(a){var c,b;"$"==a&&l();if("string"==typeof a){if("@"==(D?a.charAt(0):a[0]))return a.slice(1);if("["==a){for(c=[];;b||(b=!0)){a=z();if("]"==a)break;b&&(","==a?(a=z(),"]"==a&&l()):l());","==a&&l();c.push(P(a))}return c}if("{"==a){for(c={};;b||(b=!0)){a=z();if("}"==a)break;b&&(","==a?(a=z(),"}"==a&&l()):l());","!=a&&"string"==typeof a&&"@"==(D?a.charAt(0):a[0])&&":"==z()||l();c[a.slice(1)]=P(z())}return c}l()}return a},T=function(a,b,e){e=S(a,b,e);e===
|
||||
w?delete a[b]:a[b]=e},S=function(a,b,e){var h=a[b],f;if("object"==typeof h&&h)if("[object Array]"==u.call(h))for(f=h.length;f--;)T(h,f,e);else B(h,function(a){T(h,a,e)});return e.call(a,b,h)};r.parse=function(a,c){var e,h;b=0;J=""+a;e=P(z());"$"!=z()&&l();b=J=null;return c&&"[object Function]"==u.call(c)?S((h={},h[""]=e,h),"",c):e}}}r.runInContext=N;return r}var K=typeof define==="function"&&define.amd,F={"function":!0,object:!0},G=F[typeof exports]&&exports&&!exports.nodeType&&exports,k=F[typeof window]&&
|
||||
window||this,t=G&&F[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;!t||t.global!==t&&t.window!==t&&t.self!==t||(k=t);if(G&&!K)N(k,G);else{var L=k.JSON,Q=k.JSON3,M=!1,A=N(k,k.JSON3={noConflict:function(){M||(M=!0,k.JSON=L,k.JSON3=Q,L=Q=null);return A}});k.JSON={parse:A.parse,stringify:A.stringify}}K&&define(function(){return A})}).call(this);
|
||||
@ -0,0 +1,5 @@
|
||||
/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
|
||||
* Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
|
||||
* */
|
||||
|
||||
!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b<s.length;b++){var c=s[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!o[e]&&(c.styleSheet&&c.styleSheet.rawCssText?(v(c.styleSheet.rawCssText,e,f),o[e]=!0):(!/^([a-zA-Z:]*\/\/)/.test(e)&&!r||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}w()};x(),c.update=x,c.getEmValue=t,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);
|
||||
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 494 B |
|
After Width: | Height: | Size: 490 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 481 B |
|
After Width: | Height: | Size: 486 B |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 496 B |
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 488 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 502 B |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 496 B |
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 501 B |
|
After Width: | Height: | Size: 500 B |
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 489 B |
|
After Width: | Height: | Size: 495 B |
|
After Width: | Height: | Size: 494 B |
|
After Width: | Height: | Size: 487 B |
|
After Width: | Height: | Size: 492 B |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 502 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 9.5 KiB |
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* 从本地获取二维码软件版专用。(默认为显示云端上传的二维码)
|
||||
* 注意:
|
||||
* 如果你提交的订单为100元 但展示的是1元的二维码 那么订单会不存在 不下发通知
|
||||
* 如使用的是自定义金额的收款码用户未按金额约定支付 都会是订单不存在。
|
||||
* Date: 2017/2/14
|
||||
* Time: 21:51
|
||||
*/
|
||||
|
||||
$money = number_format((float)$_GET['money'], 2, '.', ''); //金额统一保留2位小时
|
||||
$tag = (int)$_GET['tag'];
|
||||
$type = (int)$_GET['type'];
|
||||
if ($type <= 0) $type = 1;
|
||||
if ($money <= 0) {//这是什么状况 金额都没有。展示no.png
|
||||
header('Location: img/no.png');
|
||||
exit(0);
|
||||
}
|
||||
function moneyToFileName($money, $type = 1, $tag = 0, $act = 0)
|
||||
{
|
||||
if ($act == 1) { //act参数为1则使用的是将金额分成多个文件夹形式
|
||||
$money_arr = explode(".", $money); //将金额小数点后面部分分开
|
||||
$name1 = $money_arr[0];
|
||||
$name2 = count($money_arr) <= 1 ? '00' : $money_arr[1];
|
||||
$fileName = $type == 1 ? "qr/{$type}/{$name1}/{$name2}_{$tag}.png" : "qr/{$type}/{$name1}/{$name2}.png";
|
||||
} else { //默认方式 qr/3/100.00.png 支付宝则为qr/1/100.00_0.png
|
||||
$fileName = $type == 1 ? "qr/{$type}/{$money}_{$tag}.png" : "qr/{$type}/{$money}.png";
|
||||
}
|
||||
return $fileName;
|
||||
}
|
||||
$qrcode_filename = moneyToFileName($money, $type, $tag, 0); //根据参数生成默认金额二维码地址
|
||||
if (!file_exists($qrcode_filename)) { //该金额二维码不存在 亲。
|
||||
$index_fileName = "qr/{$type}/index.png";
|
||||
$qrcode_filename = file_exists($index_fileName) ? $index_fileName : 'img/no.png';
|
||||
}
|
||||
header('Location: ' . $qrcode_filename); //跳转到二维码真实地址
|
||||
@ -0,0 +1,904 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 4.4.15.6
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Host: localhost
|
||||
-- Generation Time: 2017-05-26 20:29:46
|
||||
-- 服务器版本: 5.5.48-log
|
||||
-- PHP Version: 7.0.7
|
||||
|
||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
|
||||
--
|
||||
-- Database: `sspanel`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `alive_ip`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `alive_ip` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`nodeid` int(11) NOT NULL,
|
||||
`userid` int(11) NOT NULL,
|
||||
`ip` text NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `announcement`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `announcement` (
|
||||
`id` int(11) NOT NULL,
|
||||
`date` datetime NOT NULL,
|
||||
`content` longtext NOT NULL,
|
||||
`markdown` longtext NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `auto`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `auto` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`type` int(11) NOT NULL,
|
||||
`value` longtext NOT NULL,
|
||||
`sign` longtext NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `blockip`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `blockip` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`nodeid` int(11) NOT NULL,
|
||||
`ip` text NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `bought`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `bought` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`shopid` bigint(20) NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL,
|
||||
`renew` bigint(11) NOT NULL,
|
||||
`coupon` text NOT NULL,
|
||||
`price` decimal(12,2) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `code`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `code` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`code` text NOT NULL,
|
||||
`type` int(11) NOT NULL,
|
||||
`number` decimal(11,2) NOT NULL,
|
||||
`isused` int(11) NOT NULL DEFAULT '0',
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`usedatetime` datetime NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `coupon`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `coupon` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`code` text NOT NULL,
|
||||
`onetime` int(11) NOT NULL,
|
||||
`expire` bigint(20) NOT NULL,
|
||||
`shop` text NOT NULL,
|
||||
`credit` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `detect_list`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `detect_list` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`name` longtext NOT NULL,
|
||||
`text` longtext NOT NULL,
|
||||
`regex` longtext NOT NULL,
|
||||
`type` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `detect_log`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `detect_log` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`user_id` bigint(20) NOT NULL,
|
||||
`list_id` bigint(20) NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL,
|
||||
`node_id` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `disconnect_ip`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `disconnect_ip` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`ip` text NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `email_verify`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `email_verify` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`email` text NOT NULL,
|
||||
`ip` text NOT NULL,
|
||||
`code` text NOT NULL,
|
||||
`expire_in` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `link`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `link` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`type` int(11) NOT NULL,
|
||||
`address` text NOT NULL,
|
||||
`port` int(11) NOT NULL,
|
||||
`token` text NOT NULL,
|
||||
`ios` int(11) NOT NULL DEFAULT '0',
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`isp` text,
|
||||
`geo` int(11) DEFAULT NULL,
|
||||
`method` text
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `link`
|
||||
--
|
||||
|
||||
INSERT INTO `link` (`id`, `type`, `address`, `port`, `token`, `ios`, `userid`, `isp`, `geo`, `method`) VALUES
|
||||
(1, -1, 'smart', 0, 'uqLssejxwrnwpMj7', 1, 1, NULL, 0, 'smart'),
|
||||
(2, 9, 'smart', 0, '7d7VqbO3kDPeXyOq', 0, 1, NULL, 0, 'smart'),
|
||||
(3, 10, '', 0, 'SLXNV6TKViEvIkV7', 0, 1, NULL, 0, ''),
|
||||
(4, 10, '', 0, 'tyMNIMkJiSZCRwbz', 0, 1, NULL, 1, '');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `login_ip`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `login_ip` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`ip` text NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL,
|
||||
`type` int(11) NOT NULL
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `login_ip`
|
||||
--
|
||||
|
||||
INSERT INTO `login_ip` (`id`, `userid`, `ip`, `datetime`, `type`) VALUES
|
||||
(1, 1, '211.86.158.21', 1495801576, 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `payback`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `payback` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`total` decimal(12,2) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`ref_by` bigint(20) NOT NULL,
|
||||
`ref_get` decimal(12,2) NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `paylist`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `paylist` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`total` decimal(12,2) NOT NULL,
|
||||
`status` int(11) NOT NULL DEFAULT '0',
|
||||
`tradeno` text,
|
||||
`datetime` bigint(20) NOT NULL DEFAULT '0'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `radius_ban`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `radius_ban` (
|
||||
`id` int(11) NOT NULL,
|
||||
`userid` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `relay`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `relay` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`user_id` bigint(20) NOT NULL,
|
||||
`source_node_id` bigint(20) NOT NULL,
|
||||
`dist_node_id` bigint(20) NOT NULL,
|
||||
`dist_ip` text NOT NULL,
|
||||
`port` int(11) NOT NULL,
|
||||
`priority` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `shop`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `shop` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`price` decimal(12,2) NOT NULL,
|
||||
`content` text NOT NULL,
|
||||
`auto_renew` int(11) NOT NULL,
|
||||
`auto_reset_bandwidth` int(11) NOT NULL DEFAULT '0',
|
||||
`status` int(11) NOT NULL DEFAULT '1'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `speedtest`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `speedtest` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`nodeid` int(11) NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL,
|
||||
`telecomping` text NOT NULL,
|
||||
`telecomeupload` text NOT NULL,
|
||||
`telecomedownload` text NOT NULL,
|
||||
`unicomping` text NOT NULL,
|
||||
`unicomupload` text NOT NULL,
|
||||
`unicomdownload` text NOT NULL,
|
||||
`cmccping` text NOT NULL,
|
||||
`cmccupload` text NOT NULL,
|
||||
`cmccdownload` text NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `ss_invite_code`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ss_invite_code` (
|
||||
`id` int(11) NOT NULL,
|
||||
`code` varchar(128) NOT NULL,
|
||||
`user_id` int(11) NOT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`updated_at` timestamp NOT NULL DEFAULT '2016-06-01 00:00:00'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `ss_node`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ss_node` (
|
||||
`id` int(11) NOT NULL,
|
||||
`name` varchar(128) NOT NULL,
|
||||
`type` int(3) NOT NULL,
|
||||
`server` varchar(128) NOT NULL,
|
||||
`method` varchar(64) NOT NULL,
|
||||
`info` varchar(128) NOT NULL,
|
||||
`status` varchar(128) NOT NULL,
|
||||
`sort` int(3) NOT NULL,
|
||||
`custom_method` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`traffic_rate` float NOT NULL DEFAULT '1',
|
||||
`node_class` int(11) NOT NULL DEFAULT '0',
|
||||
`node_speedlimit` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||||
`node_connector` int(11) NOT NULL DEFAULT '0',
|
||||
`node_bandwidth` bigint(20) NOT NULL DEFAULT '0',
|
||||
`node_bandwidth_limit` bigint(20) NOT NULL DEFAULT '0',
|
||||
`bandwidthlimit_resetday` int(11) NOT NULL DEFAULT '0',
|
||||
`node_heartbeat` bigint(20) NOT NULL DEFAULT '0',
|
||||
`node_ip` text,
|
||||
`node_group` int(11) NOT NULL DEFAULT '0',
|
||||
`custom_rss` int(11) NOT NULL DEFAULT '0',
|
||||
`mu_only` int(11) DEFAULT '0'
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `ss_node`
|
||||
--
|
||||
|
||||
INSERT INTO `ss_node` (`id`, `name`, `type`, `server`, `method`, `info`, `status`, `sort`, `custom_method`, `traffic_rate`, `node_class`, `node_speedlimit`, `node_connector`, `node_bandwidth`, `node_bandwidth_limit`, `bandwidthlimit_resetday`, `node_heartbeat`, `node_ip`, `node_group`, `custom_rss`, `mu_only`) VALUES
|
||||
(1, '统一验证登陆', 0, 'zhaojin97.cn', 'radius', '统一登陆验证', '可用', 999, 0, 1, 0, '0.00', 0, 0, 0, 0, 0, '', 0, 0, 0),
|
||||
(2, 'VPN 统一流量结算', 0, 'zhaojin97.cn', 'radius', 'VPN 统一流量结算', '可用', 999, 0, 1, 0, '0.00', 0, 0, 0, 0, 0, NULL, 0, 0, 0),
|
||||
(3, '第一个节点', 1, '103.74.192.11', 'rc4-md5', '可用', '点击查看二维码', 0, 1, 1, 0, '0.00', 0, 0, 0, 0, 0, '103.74.192.11', 0, 1, 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `ss_node_info`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ss_node_info` (
|
||||
`id` int(11) NOT NULL,
|
||||
`node_id` int(11) NOT NULL,
|
||||
`uptime` float NOT NULL,
|
||||
`load` varchar(32) NOT NULL,
|
||||
`log_time` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `ss_node_online_log`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ss_node_online_log` (
|
||||
`id` int(11) NOT NULL,
|
||||
`node_id` int(11) NOT NULL,
|
||||
`online_user` int(11) NOT NULL,
|
||||
`log_time` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `ss_password_reset`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ss_password_reset` (
|
||||
`id` int(11) NOT NULL,
|
||||
`email` varchar(32) NOT NULL,
|
||||
`token` varchar(128) NOT NULL,
|
||||
`init_time` int(11) NOT NULL,
|
||||
`expire_time` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `telegram_session`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `telegram_session` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`user_id` bigint(20) NOT NULL,
|
||||
`type` int(11) NOT NULL,
|
||||
`session_content` text NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `ticket`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ticket` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`title` longtext NOT NULL,
|
||||
`content` longtext NOT NULL,
|
||||
`rootid` bigint(20) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL,
|
||||
`status` int(11) NOT NULL DEFAULT '1'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `unblockip`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `unblockip` (
|
||||
`id` bigint(20) NOT NULL,
|
||||
`ip` text NOT NULL,
|
||||
`datetime` bigint(20) NOT NULL,
|
||||
`userid` bigint(20) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `user`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `user` (
|
||||
`id` int(11) NOT NULL,
|
||||
`user_name` varchar(128) CHARACTER SET utf8mb4 NOT NULL,
|
||||
`email` varchar(32) NOT NULL,
|
||||
`pass` varchar(64) NOT NULL,
|
||||
`passwd` varchar(16) NOT NULL,
|
||||
`t` int(11) NOT NULL DEFAULT '0',
|
||||
`u` bigint(20) NOT NULL,
|
||||
`d` bigint(20) NOT NULL,
|
||||
`plan` varchar(2) CHARACTER SET utf8mb4 NOT NULL DEFAULT 'A',
|
||||
`transfer_enable` bigint(20) NOT NULL,
|
||||
`port` int(11) NOT NULL,
|
||||
`switch` tinyint(4) NOT NULL DEFAULT '1',
|
||||
`enable` tinyint(4) NOT NULL DEFAULT '1',
|
||||
`type` tinyint(4) NOT NULL DEFAULT '1',
|
||||
`last_get_gift_time` int(11) NOT NULL DEFAULT '0',
|
||||
`last_check_in_time` int(11) NOT NULL DEFAULT '0',
|
||||
`last_rest_pass_time` int(11) NOT NULL DEFAULT '0',
|
||||
`reg_date` datetime NOT NULL,
|
||||
`invite_num` int(8) NOT NULL,
|
||||
`money` decimal(12,2) NOT NULL,
|
||||
`ref_by` int(11) NOT NULL DEFAULT '0',
|
||||
`expire_time` int(11) NOT NULL DEFAULT '0',
|
||||
`method` varchar(64) NOT NULL DEFAULT 'rc4-md5',
|
||||
`is_email_verify` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`reg_ip` varchar(128) NOT NULL DEFAULT '127.0.0.1',
|
||||
`node_speedlimit` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||||
`node_connector` int(11) NOT NULL DEFAULT '0',
|
||||
`is_admin` int(2) NOT NULL DEFAULT '0',
|
||||
`im_type` int(11) DEFAULT '1',
|
||||
`im_value` text,
|
||||
`last_day_t` bigint(20) NOT NULL DEFAULT '0',
|
||||
`sendDailyMail` int(11) NOT NULL DEFAULT '1',
|
||||
`class` int(11) NOT NULL DEFAULT '0',
|
||||
`class_expire` datetime NOT NULL DEFAULT '1989-06-04 00:05:00',
|
||||
`expire_in` datetime NOT NULL DEFAULT '2099-06-04 00:05:00',
|
||||
`theme` text NOT NULL,
|
||||
`ga_token` text NOT NULL,
|
||||
`ga_enable` int(11) NOT NULL DEFAULT '0',
|
||||
`pac` longtext,
|
||||
`remark` text,
|
||||
`node_group` int(11) NOT NULL DEFAULT '0',
|
||||
`auto_reset_day` int(11) NOT NULL DEFAULT '0',
|
||||
`auto_reset_bandwidth` decimal(12,2) NOT NULL DEFAULT '0.00',
|
||||
`protocol` varchar(128) DEFAULT 'origin',
|
||||
`protocol_param` varchar(128) DEFAULT NULL,
|
||||
`obfs` varchar(128) DEFAULT 'plain',
|
||||
`obfs_param` varchar(128) DEFAULT NULL,
|
||||
`forbidden_ip` longtext,
|
||||
`forbidden_port` longtext,
|
||||
`disconnect_ip` longtext,
|
||||
`is_hide` int(11) NOT NULL DEFAULT '0',
|
||||
`is_multi_user` int(11) NOT NULL DEFAULT '0',
|
||||
`telegram_id` bigint(20) DEFAULT NULL
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- 转存表中的数据 `user`
|
||||
--
|
||||
|
||||
INSERT INTO `user` (`id`, `user_name`, `email`, `pass`, `passwd`, `t`, `u`, `d`, `plan`, `transfer_enable`, `port`, `switch`, `enable`, `type`, `last_get_gift_time`, `last_check_in_time`, `last_rest_pass_time`, `reg_date`, `invite_num`, `money`, `ref_by`, `expire_time`, `method`, `is_email_verify`, `reg_ip`, `node_speedlimit`, `node_connector`, `is_admin`, `im_type`, `im_value`, `last_day_t`, `sendDailyMail`, `class`, `class_expire`, `expire_in`, `theme`, `ga_token`, `ga_enable`, `pac`, `remark`, `node_group`, `auto_reset_day`, `auto_reset_bandwidth`, `protocol`, `protocol_param`, `obfs`, `obfs_param`, `forbidden_ip`, `forbidden_port`, `disconnect_ip`, `is_hide`, `is_multi_user`, `telegram_id`) VALUES
|
||||
(1, 'admin', 'ss@feiyang.li', '25f5e13433dccbb8d6eb680c4ac831ec6a0cd1d6c4bc8f68f11e7cd328dbc6fc', 'nHHpgf', 0, 0, 0, 'A', 107374182400, 1025, 1, 1, 1, 0, 0, 0, '2017-05-26 20:04:42', 0, '0.00', 0, 0, 'rc4-md5', 0, '127.0.0.1', '0.00', 0, 1, 1, '', 0, 1, 0, '1989-06-04 00:05:00', '2291-03-10 20:04:42', 'material', '2TFGSYHQ3FJLZSWX', 0, NULL, NULL, 0, 0, '0.00', 'origin', NULL, 'plain', NULL, NULL, NULL, NULL, 0, 0, NULL);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `user_token`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `user_token` (
|
||||
`id` int(11) NOT NULL,
|
||||
`token` varchar(256) NOT NULL,
|
||||
`user_id` int(11) NOT NULL,
|
||||
`create_time` int(11) NOT NULL,
|
||||
`expire_time` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- 表的结构 `user_traffic_log`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `user_traffic_log` (
|
||||
`id` int(11) NOT NULL,
|
||||
`user_id` int(11) NOT NULL,
|
||||
`u` bigint(20) NOT NULL,
|
||||
`d` bigint(20) NOT NULL,
|
||||
`node_id` int(11) NOT NULL,
|
||||
`rate` float NOT NULL,
|
||||
`traffic` varchar(32) NOT NULL,
|
||||
`log_time` int(11) NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- Indexes for table `alive_ip`
|
||||
--
|
||||
ALTER TABLE `alive_ip`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `announcement`
|
||||
--
|
||||
ALTER TABLE `announcement`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `auto`
|
||||
--
|
||||
ALTER TABLE `auto`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `blockip`
|
||||
--
|
||||
ALTER TABLE `blockip`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `bought`
|
||||
--
|
||||
ALTER TABLE `bought`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `code`
|
||||
--
|
||||
ALTER TABLE `code`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `coupon`
|
||||
--
|
||||
ALTER TABLE `coupon`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `detect_list`
|
||||
--
|
||||
ALTER TABLE `detect_list`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `detect_log`
|
||||
--
|
||||
ALTER TABLE `detect_log`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `disconnect_ip`
|
||||
--
|
||||
ALTER TABLE `disconnect_ip`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `email_verify`
|
||||
--
|
||||
ALTER TABLE `email_verify`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `link`
|
||||
--
|
||||
ALTER TABLE `link`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `login_ip`
|
||||
--
|
||||
ALTER TABLE `login_ip`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `payback`
|
||||
--
|
||||
ALTER TABLE `payback`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `paylist`
|
||||
--
|
||||
ALTER TABLE `paylist`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `radius_ban`
|
||||
--
|
||||
ALTER TABLE `radius_ban`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `relay`
|
||||
--
|
||||
ALTER TABLE `relay`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `shop`
|
||||
--
|
||||
ALTER TABLE `shop`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `speedtest`
|
||||
--
|
||||
ALTER TABLE `speedtest`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `ss_invite_code`
|
||||
--
|
||||
ALTER TABLE `ss_invite_code`
|
||||
ADD PRIMARY KEY (`id`),
|
||||
ADD KEY `user_id` (`user_id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `ss_node`
|
||||
--
|
||||
ALTER TABLE `ss_node`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `ss_node_info`
|
||||
--
|
||||
ALTER TABLE `ss_node_info`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `ss_node_online_log`
|
||||
--
|
||||
ALTER TABLE `ss_node_online_log`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `ss_password_reset`
|
||||
--
|
||||
ALTER TABLE `ss_password_reset`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `telegram_session`
|
||||
--
|
||||
ALTER TABLE `telegram_session`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `ticket`
|
||||
--
|
||||
ALTER TABLE `ticket`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `unblockip`
|
||||
--
|
||||
ALTER TABLE `unblockip`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `user`
|
||||
--
|
||||
ALTER TABLE `user`
|
||||
ADD PRIMARY KEY (`id`),
|
||||
ADD KEY `user_name` (`user_name`),
|
||||
ADD KEY `uid` (`id`),
|
||||
ADD KEY `email` (`email`);
|
||||
|
||||
--
|
||||
-- Indexes for table `user_token`
|
||||
--
|
||||
ALTER TABLE `user_token`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `user_traffic_log`
|
||||
--
|
||||
ALTER TABLE `user_traffic_log`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for dumped tables
|
||||
--
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `alive_ip`
|
||||
--
|
||||
ALTER TABLE `alive_ip`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `announcement`
|
||||
--
|
||||
ALTER TABLE `announcement`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `auto`
|
||||
--
|
||||
ALTER TABLE `auto`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `blockip`
|
||||
--
|
||||
ALTER TABLE `blockip`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `bought`
|
||||
--
|
||||
ALTER TABLE `bought`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `code`
|
||||
--
|
||||
ALTER TABLE `code`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `coupon`
|
||||
--
|
||||
ALTER TABLE `coupon`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `detect_list`
|
||||
--
|
||||
ALTER TABLE `detect_list`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `detect_log`
|
||||
--
|
||||
ALTER TABLE `detect_log`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `disconnect_ip`
|
||||
--
|
||||
ALTER TABLE `disconnect_ip`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `email_verify`
|
||||
--
|
||||
ALTER TABLE `email_verify`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `link`
|
||||
--
|
||||
ALTER TABLE `link`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `login_ip`
|
||||
--
|
||||
ALTER TABLE `login_ip`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `payback`
|
||||
--
|
||||
ALTER TABLE `payback`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `paylist`
|
||||
--
|
||||
ALTER TABLE `paylist`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `radius_ban`
|
||||
--
|
||||
ALTER TABLE `radius_ban`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `relay`
|
||||
--
|
||||
ALTER TABLE `relay`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `shop`
|
||||
--
|
||||
ALTER TABLE `shop`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `speedtest`
|
||||
--
|
||||
ALTER TABLE `speedtest`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `ss_invite_code`
|
||||
--
|
||||
ALTER TABLE `ss_invite_code`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `ss_node`
|
||||
--
|
||||
ALTER TABLE `ss_node`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `ss_node_info`
|
||||
--
|
||||
ALTER TABLE `ss_node_info`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `ss_node_online_log`
|
||||
--
|
||||
ALTER TABLE `ss_node_online_log`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `ss_password_reset`
|
||||
--
|
||||
ALTER TABLE `ss_password_reset`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `telegram_session`
|
||||
--
|
||||
ALTER TABLE `telegram_session`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `ticket`
|
||||
--
|
||||
ALTER TABLE `ticket`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `unblockip`
|
||||
--
|
||||
ALTER TABLE `unblockip`
|
||||
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `user`
|
||||
--
|
||||
ALTER TABLE `user`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `user_token`
|
||||
--
|
||||
ALTER TABLE `user_token`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
--
|
||||
-- AUTO_INCREMENT for table `user_traffic_log`
|
||||
--
|
||||
ALTER TABLE `user_traffic_log`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||