新增本地地址

master
blak-kong 2 years ago
parent ffb1545314
commit d9af7bc58b

@ -19,8 +19,9 @@ import PopupAlert from "../../components/popup/popup-alert";
import {
GetIntegralRule,
GetObtainUserIntegral,
GetOfficialAccount,
GetIsAttentionOfficialAccount,
GetOfficialAccount,
GetCloseOfficialAccount,
} from "../../utils/Interface";
class IntegralList extends Component<any, any> {
@ -54,9 +55,9 @@ class IntegralList extends Component<any, any> {
async initData() {
this.GetObtainUserIntegral();
this.checkOfficialAccount();
// this.GetOfficialAccount();
// this.GetIsAttentionOfficialAccount();
// this.checkOfficialAccount();
this.GetOfficialAccount();
this.GetIsAttentionOfficialAccount();
}
// 检查是否关注公众号只在每年的09-30号前提醒如果没有关注则弹窗提醒

@ -5,7 +5,8 @@ import { createSlice } from "@reduxjs/toolkit";
const globalReducer = createSlice({
name: "global", // store的名字
initialState: {
domain: "http://110.41.134.131:8080", // 请求地址
// domain: "http://110.41.134.131:8080", // 请求地址
domain: "http://192.168.10.147:8080", // 请求地址
token: "",
},
reducers: {

@ -181,8 +181,15 @@ export const GetOfficialAccount = (data) => {
method: "get",
});
};
//
export const GetCloseOfficialAccount = (data) => {
// 查询用户是否关闭提醒关注公众号
return Ajax({
url: "/hzwx/noRemind/closeOfficialAccount",
data,
method: "get",
});
};
///////////
///////////
export const UserInfoUp = (data) => {

Loading…
Cancel
Save