删除get请求的data

master
blak-kong 2 years ago
parent ade1a864b6
commit ad84c6f472

@ -95,6 +95,10 @@ export default class InstrumentClickInUpload extends Component<any, any> {
bindMoshi = async (index) => {
let { currentInfo, modeInfo, punchInInfo } = this.state;
currentInfo = modeInfo[index];
if (currentInfo.lock) {
this.onModeLockOpen();
return;
}
this.setState({ zkmoshiindex: index, currentInfo });
};

@ -368,7 +368,8 @@ class IntegralList extends Component<any, any> {
title="过期积分提醒"
type="3"
content={
<View style={{ height: "700rpx" }}>
// <View style={{ height: "700rpx" }}> // 删除测试阶段标签后需改回700rpx
<View style={{ height: "750rpx" }}>
<Image
style={{
width: "100%",
@ -382,7 +383,7 @@ class IntegralList extends Component<any, any> {
<View style={{ marginTop: "20rpx" }}>
</View>
<View style={{ marginTop: "20rpx", color: "#666" }}>
<View style={{ marginTop: "10rpx", color: "#666" }}>
(广)
</View>
</View>

@ -34,7 +34,6 @@ export const GetAboutUs = (data) => {
//获取用户信息接口
return Ajax({
url: "/setting/getAboutUs",
data,
method: "get",
});
};
@ -61,7 +60,6 @@ export const RefreshWxUserInfo = (data) => {
// 刷新用户信息
return Ajax({
url: "/user/refreshWxUserInfo",
data,
method: "get",
});
};
@ -69,7 +67,6 @@ export const GetProvince = (data) => {
// 获取全部省份
return Ajax({
url: "/region/getProvince",
data,
method: "get",
});
};
@ -77,7 +74,6 @@ export const GetAreaListByPid = (data) => {
// 获取全部省份 ?pid=xxx
return Ajax({
url: "/region/getAreaListByPid" + paramsToUrlQueryString(data),
data,
method: "get",
});
};
@ -105,7 +101,6 @@ export const getPrivacyAgreement = (data) => {
//用户隐私协议获取
return Ajax({
url: "/setting/getPrivacyAgreement",
data,
method: "get",
});
};
@ -113,7 +108,6 @@ export const GetOtherSetting = (data) => {
// 获取其他设置
return Ajax({
url: "/setting/getOtherSetting",
data,
method: "get",
});
};
@ -121,7 +115,6 @@ export const getContactWorker = (data) => {
// 联系客服
return Ajax({
url: "/setting/getContactWorker",
data,
method: "get",
});
};
@ -139,7 +132,6 @@ export const GetNoReadMessageNum = (data) => {
// 查询是否有消息未读
return Ajax({
url: "/userScriptLog/getNoReadMessageNum",
data,
method: "get",
});
};
@ -148,7 +140,6 @@ export const GetHasBeenRead = (data) => {
// 将消息设置为已读
return Ajax({
url: "/userScriptLog/hasBeenRead",
data,
method: "get",
});
};
@ -157,7 +148,6 @@ export const GetMessageList = (data) => {
// 分页获取消息
return Ajax({
url: "/userScriptLog/list" + paramsToUrlQueryString(data),
data,
method: "get",
});
};
@ -167,7 +157,6 @@ export const GetObtainUserIntegral = (data) => {
// 分页获取用户积分列表
return Ajax({
url: "/integralLog/obtainUserIntegral" + paramsToUrlQueryString(data),
data,
method: "get",
});
};
@ -175,7 +164,6 @@ export const GetIntegralRule = (data) => {
// 获取积分规则
return Ajax({
url: "/setting/getIntegralRule",
data,
method: "get",
});
};
@ -183,7 +171,6 @@ export const GetIsAttentionOfficialAccount = (data) => {
// 查询用户是否关注公众号
return Ajax({
url: "/noRemind/isAttentionOfficialAccount",
data,
method: "get",
});
};
@ -191,7 +178,6 @@ export const GetOfficialAccount = (data) => {
// 查询用户是否关闭提醒关注公众号
return Ajax({
url: "/noRemind/getOfficialAccount",
data,
method: "get",
});
};
@ -199,7 +185,6 @@ export const GetCloseOfficialAccount = (data) => {
// 查询关闭提醒关注公众号
return Ajax({
url: "/noRemind/closeOfficialAccount",
data,
method: "get",
});
};
@ -208,7 +193,6 @@ export const GetSitePopupList = (data) => {
// 站点管理-弹窗列表 1-首页 2-发现模块 3-活动模块
return Ajax({
url: "/siteInfo/popup/" + data,
data,
method: "get",
});
};
@ -216,7 +200,6 @@ export const GetSiteCarousel = (data) => {
// 站点管理-轮播图
return Ajax({
url: "/siteInfo/carousel",
data,
method: "get",
});
};
@ -224,7 +207,6 @@ export const GetSiteAddTag = (data) => {
// 站点管理-轮播图-添加标签 传值是id
return Ajax({
url: "/siteInfo/addTag/" + data,
data,
method: "get",
});
};
@ -261,7 +243,6 @@ export const InstrumentInfo = {
exchangeBinding: (data) => {
return Ajax({
url: "/instrument/exchangeBinding" + paramsToUrlQueryString(data),
data,
method: "get",
});
},
@ -269,7 +250,6 @@ export const InstrumentInfo = {
bindingInstrumentList: () => {
return Ajax({
url: "/instrument/bindingInstrumentList",
data,
method: "get",
});
},
@ -278,7 +258,6 @@ export const InstrumentInfo = {
unbindingInstrumentInfoList: () => {
return Ajax({
url: "/instrument/unbindingInstrumentInfoList",
data,
method: "get",
});
},

Loading…
Cancel
Save