测试验证完成

This commit is contained in:
rain
2026-06-20 11:20:45 +08:00
parent db8ed02602
commit b3e6f3e831
30 changed files with 110 additions and 135 deletions
+4 -16
View File
@@ -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(