Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
修复两个漏网之鱼
Browse files Browse the repository at this point in the history
  • Loading branch information
yuantuo666 committed Feb 17, 2021
1 parent 8eabfe4 commit c748e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function SvipLoadmore() {
function SettingFirstAccount(id) {
Swal.fire("正在设置,请稍等");
Swal.showLoading();
$.get("api.php?m=ADMINAPI&act=SvipSettingFirstAccount&id=" + String(id), function(data, status) {
$.get(`api.php?m=ADMINAPI&act=SvipSettingFirstAccount&id=${id}`, function(data, status) {
if (status == "success") {
var json = JSON.parse(data);
Swal.fire(json.msg);
Expand All @@ -287,7 +287,7 @@ function SettingFirstAccount(id) {
function SettingNormalAccount(id) {
Swal.fire("正在设置,请稍等");
Swal.showLoading();
$.get("api.php?m=ADMINAPI&act=SvipSettingNormalAccount&id=" + String(id), function(data, status) {
$.get(`api.php?m=ADMINAPI&act=SvipSettingNormalAccount&id=${id}`, function(data, status) {
if (status == "success") {
var json = JSON.parse(data);
Swal.fire(json.msg);
Expand Down

0 comments on commit c748e7f

Please sign in to comment.