删除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) => { bindMoshi = async (index) => {
let { currentInfo, modeInfo, punchInInfo } = this.state; let { currentInfo, modeInfo, punchInInfo } = this.state;
currentInfo = modeInfo[index]; currentInfo = modeInfo[index];
if (currentInfo.lock) {
this.onModeLockOpen();
return;
}
this.setState({ zkmoshiindex: index, currentInfo }); this.setState({ zkmoshiindex: index, currentInfo });
}; };

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

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

Loading…
Cancel
Save