修改uid和ticket传参规则
This commit is contained in:
@@ -541,8 +541,8 @@ function getInfoFromClient () {
|
||||
|
||||
} else {
|
||||
// 非app环境调试参数
|
||||
pubInfo.uid = sessionStorage.getItem("uid");
|
||||
pubInfo.ticket = sessionStorage.getItem("ticket");
|
||||
pubInfo.uid = sessionStorage.getItem("uid") ? sessionStorage.getItem("uid") : '';
|
||||
pubInfo.ticket = sessionStorage.getItem("ticket") ? sessionStorage.getItem("ticket") : '';
|
||||
|
||||
pubInfo.deviceId = "0";
|
||||
pubInfo.deviceInfo = {
|
||||
|
@@ -241,4 +241,45 @@ body {
|
||||
color: #9168FA;
|
||||
}
|
||||
|
||||
.goldPub {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 99;
|
||||
}
|
||||
.goldPub .goldPub_in {
|
||||
width: 8.5066666667rem;
|
||||
height: 7.3066666667rem;
|
||||
background: #fff;
|
||||
border-radius: 0.5333333333rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.goldPub .goldPub_in .title {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 0.4266666667rem;
|
||||
font-weight: bold;
|
||||
color: #1F1B4F;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0.64rem;
|
||||
}
|
||||
.goldPub .goldPub_in .num {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
text-align: center;
|
||||
top: 1.8666666667rem;
|
||||
left: 0;
|
||||
font-size: 0.7466666667rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=withdrawal.css.map */
|
||||
|
@@ -273,4 +273,48 @@ body {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.goldPub {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, .6);
|
||||
z-index: 99;
|
||||
|
||||
.goldPub_in {
|
||||
width: px2rem(638, );
|
||||
height: px2rem(548, );
|
||||
background: #fff;
|
||||
border-radius: px2rem(40, );
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
.title {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: px2rem(32, );
|
||||
font-weight: bold;
|
||||
color: #1F1B4F;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: px2rem(48, );
|
||||
}
|
||||
|
||||
.num {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
text-align: center;
|
||||
top: px2rem(140, );
|
||||
left: 0;
|
||||
font-size: px2rem(56, );
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
@@ -45,7 +45,7 @@ function getCode () {
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/sms/getCode',
|
||||
headers: {"pub_uid":"0"},
|
||||
headers: { "pub_uid": "0" },
|
||||
data: { mobile: mobileDes, phoneAreaCode: $('.box .phone .phoneNumberBox .prefix b').text(), type: 2 },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
@@ -76,7 +76,7 @@ function oauthToken () {
|
||||
networkRequest({
|
||||
type: 'POST',
|
||||
url: urlPrefix + '/oauth/token',
|
||||
data: idOrPhone ? { "grant_type": "password", phone, password } : { grant_type: 'verify_code', phoneAreaCode, phone, code },
|
||||
data: idOrPhone ? { "grant_type": "password", phone, password, client_id: "erban-client", "client_secret": "uyzjdhds" } : { grant_type: 'verify_code', phoneAreaCode, phone, code, client_id: "erban-client", "client_secret": "uyzjdhds" },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
|
||||
|
@@ -58,6 +58,13 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 输入提现金币数额弹窗 -->
|
||||
<div class="goldPub">
|
||||
<div class="goldPub_in">
|
||||
<p class="title">輸入提現金幣數額</p>
|
||||
<div class="num">00</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user