新增本地地址

master
blak-kong 2 years ago
parent ffb1545314
commit d9af7bc58b

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

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

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

Loading…
Cancel
Save