测试验证完成
This commit is contained in:
+4
-16
@@ -252,7 +252,7 @@
|
||||
}
|
||||
|
||||
function renderNav() {
|
||||
ApiClient.post("/api/web/menu/getFormatList", {}).then(
|
||||
ApiClient.loadMenuCompat().then(
|
||||
function (res) {
|
||||
if (res.code !== 0 || !res.data) return;
|
||||
var $nav = $("#navLotteryItems");
|
||||
@@ -288,7 +288,7 @@
|
||||
}
|
||||
|
||||
function getAffInfo() {
|
||||
return ApiClient.post("/api/web/rebate/getAffInfo", {}, { headers: CommonUtil.authHeaders() });
|
||||
return ApiClient.get(ApiClient.API.referralShareInfo, null, { headers: CommonUtil.authHeaders() });
|
||||
}
|
||||
|
||||
function copyText(text) {
|
||||
@@ -442,13 +442,7 @@
|
||||
},
|
||||
function (index) {
|
||||
layer.close(index);
|
||||
ApiClient.post(
|
||||
"/api/web/user/applyDistribution",
|
||||
{},
|
||||
{
|
||||
headers: CommonUtil.authHeaders(),
|
||||
},
|
||||
)
|
||||
ApiClient.post(ApiClient.API.referralBind, {}, { headers: CommonUtil.authHeaders() })
|
||||
.then(function (res) {
|
||||
if (res.code === 0) {
|
||||
layer.msg(
|
||||
@@ -482,13 +476,7 @@
|
||||
},
|
||||
function (index) {
|
||||
layer.close(index);
|
||||
ApiClient.post(
|
||||
"/api/web/user/applyExpert",
|
||||
{},
|
||||
{
|
||||
headers: CommonUtil.authHeaders(),
|
||||
},
|
||||
)
|
||||
ApiClient.post(ApiClient.API.expertApply, {}, { headers: CommonUtil.authHeaders() })
|
||||
.then(function (res) {
|
||||
if (res.code === 0) {
|
||||
layer.msg(
|
||||
|
||||
Reference in New Issue
Block a user