diff --git a/app.js b/app.js index f1ad011..29548b5 100644 --- a/app.js +++ b/app.js @@ -50,6 +50,7 @@ App({ screen: { width: 375, height: 667 - } + }, + volunteerChange: false, // 志愿者信息是否有更新 } }) \ No newline at end of file diff --git a/pages/complete/components/personalInfo/personalInfo.js b/pages/complete/components/personalInfo/personalInfo.js index d61aaec..8b4d8d0 100644 --- a/pages/complete/components/personalInfo/personalInfo.js +++ b/pages/complete/components/personalInfo/personalInfo.js @@ -57,14 +57,14 @@ Component({ // 身份证号 双向绑定 bindIdentityNoInput (e) { this.setData({ - "personalInfo.identityNo": e.detail.value + "personalInfo.identityNo": e.detail.value.trim('') }) console.log(this.data.personalInfo) }, // 姓名 双向绑定 bindRealNameInput (e) { this.setData({ - "personalInfo.realName": e.detail.value + "personalInfo.realName": e.detail.value.trim('') }) console.log(this.data.personalInfo) }, @@ -92,7 +92,7 @@ Component({ // 路 双向绑定 bindRoadInput (e) { this.setData({ - "personalInfo.road": e.detail.value + "personalInfo.road": e.detail.value.trim(' ') }) console.log(this.data.personalInfo) }, @@ -112,14 +112,14 @@ Component({ }, // 获取验证码 getSmsCode () { - if (!this.data.personalInfo.mobile) { + if (!this.data.personalInfo.mobile.trim('')) { this.showToast("请先输入手机号") return false } this.setData({ smsCodeText: "获取中..." }) - const mobile = this.data.personalInfo.mobile + const mobile = this.data.personalInfo.mobile.trim('') api.sendSms(mobile).then(() => { this.showToast("验证码发送成功") let num = 60 @@ -268,7 +268,7 @@ Component({ return false } } - if (!this.data.personalInfo.realName) { + if (!this.data.personalInfo.realName.trim('')) { this.showToast("请填写姓名") return false } @@ -276,7 +276,7 @@ Component({ this.showToast("请选择性别") return false } - if (!this.data.personalInfo.mobile) { + if (!this.data.personalInfo.mobile.trim('')) { this.showToast("请填写手机号") return false } @@ -284,7 +284,7 @@ Component({ // this.showToast('请填写验证码') // return false // } - if (!this.data.personalInfo.road) { + if (!this.data.personalInfo.road.trim('')) { this.showToast("请填写所在小区或所在道路") return false } @@ -298,11 +298,11 @@ Component({ const para = { partyFlag: this.data.type === "partyMember" ? "1" : "0", identityNo: this.data.personalInfo.identityNo, - mobile: this.data.personalInfo.mobile, + mobile: this.data.personalInfo.mobile.trim(''), smsCode: this.data.personalInfo.smsCode, - realName: this.data.personalInfo.realName, + realName: this.data.personalInfo.realName.trim(''), sex: this.data.personalInfo.sex, - road: this.data.personalInfo.road, + road: this.data.personalInfo.road.trim(''), villageName: this.data.personalInfo.villageName, dwellingPlace: this.data.personalInfo.dwellingPlace, gridId: this.data.gridInfo.gridId, @@ -401,6 +401,11 @@ Component({ } }) } + }).catch(err => { + wx.hideLoading() + this.setData({ + lock: false + }) }) } else if (this.data.type === "resident") { api.completeResidentInfoV2(para).then(res => { @@ -433,6 +438,11 @@ Component({ } }) } + }).catch(err => { + console.log(err) + this.setData({ + lock: false + }) }) } } @@ -445,7 +455,7 @@ Component({ return false } } - if (!this.data.personalInfo.realName) { + if (!this.data.personalInfo.realName.trim('')) { this.showToast("请填写姓名") return false } @@ -453,7 +463,7 @@ Component({ this.showToast("请选择性别") return false } - if (!this.data.personalInfo.mobile) { + if (!this.data.personalInfo.mobile.trim('')) { this.showToast("请填写手机号") return false } @@ -461,7 +471,7 @@ Component({ this.showToast("请填写验证码") return false } - if (!this.data.personalInfo.road) { + if (!this.data.personalInfo.road.trim('')) { this.showToast("请填写所在街道") return false } @@ -471,11 +481,11 @@ Component({ const para = { partyFlag: this.data.type === "partyMember" ? "1" : "0", identityNo: this.data.personalInfo.identityNo, - mobile: this.data.personalInfo.mobile, + mobile: this.data.personalInfo.mobile.trim(''), smsCode: this.data.personalInfo.smsCode, - realName: this.data.personalInfo.realName, + realName: this.data.personalInfo.realName.trim(''), sex: this.data.personalInfo.sex, - road: this.data.personalInfo.road, + road: this.data.personalInfo.road.trim(''), villageName: this.data.personalInfo.villageName, dwellingPlace: this.data.personalInfo.dwellingPlace, gridId: this.data.gridInfo.gridId, diff --git a/pages/gridLeaderRegister/gridLeaderRegister.js b/pages/gridLeaderRegister/gridLeaderRegister.js index f23d3db..67eda40 100644 --- a/pages/gridLeaderRegister/gridLeaderRegister.js +++ b/pages/gridLeaderRegister/gridLeaderRegister.js @@ -8,12 +8,12 @@ Page({ }, adInputMobile: function (e) { this.setData({ - mobile: e.detail.value + mobile: e.detail.value.trim('') }) }, adInputSmsCode: function (e) { this.setData({ - smsCode: e.detail.value + smsCode: e.detail.value.trim('') }) }, outtime () { diff --git a/pages/heartNew/heartNew.js b/pages/heartNew/heartNew.js index 151a6a7..11364d9 100644 --- a/pages/heartNew/heartNew.js +++ b/pages/heartNew/heartNew.js @@ -91,6 +91,11 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { + if (app.globalData.volunteerChange) { + app.globalData.volunteerChange = false + this.getUserState() + return + } if(this.data.selectedTab == "tab1"){//刷新志友 if(this.data.ifClickImage){//如果为true就不可以刷新,判断完成以后重新置为false this.setData({ @@ -285,7 +290,7 @@ Page({ bindInputValue (e) { this.setData({ - searchName: e.detail.value + searchName: e.detail.value.trim('') }) }, @@ -559,4 +564,27 @@ Page({ } }); }, + // 志愿者信息变更,更新用户当前状态 + getUserState: function () { + let that = this + wx.login({ + success (res) { + if (res.code) { + api.getToken(res.code).then((res) => { + let state = res.data.userState + app.globalData.infoCompleted = state + wx.removeStorageSync("topGridName") + wx.setStorageSync("topGridName", res.data.grid) + wx.removeStorageSync("token") + wx.setStorageSync("token", res.data.token) + that.setData({ + infoCompleted: app.globalData.infoCompleted + }) + }) + } else { + console.log("登录失败" + res.errMsg) + } + } + }) + }, }) \ No newline at end of file diff --git a/pages/indexNew/indexNew.js b/pages/indexNew/indexNew.js index c6fd9f4..7404e9e 100644 --- a/pages/indexNew/indexNew.js +++ b/pages/indexNew/indexNew.js @@ -472,6 +472,9 @@ Page({ }) }, changeGrid () { + this.setData({ + departmentId: '' + }) wx.navigateTo({ url: "/subpages/changegrid/pages/changeGrid/changeGrid" }) @@ -555,13 +558,19 @@ Page({ }, // 我有事说 wyss () { - if(this.data.departmentId == this.data.defaultGridId){//特殊网格处理 + if (this.data.departmentId == '') { + return + } else if(this.data.departmentId == this.data.leaderGridId){ + this.wysy() + } else if(this.data.departmentId == this.data.workGridId){ + this.wysz() + } else if(this.data.departmentId == this.data.defaultGridId){ //特殊网格处理 wx.showToast({ title: "该板块只针对辖区内居民使用,请联系您所属网格的负责人索取二维码扫码进入", icon: "none", duration: 3000 }) - }else{ + } else { wx.navigateTo({ url: "../discussion/discussion" }) diff --git a/pages/mine/mine.wxml b/pages/mine/mine.wxml index 153e33b..ec3fd5e 100644 --- a/pages/mine/mine.wxml +++ b/pages/mine/mine.wxml @@ -39,7 +39,7 @@ 等级:{{userInfo.grade}} - 积分:{{userInfo.points}} + 可用积分:{{userInfo.points}} @@ -80,7 +80,7 @@ - + 您还未发布议题,快点击我有事说发布吧 diff --git a/pages/mine/mine.wxss b/pages/mine/mine.wxss index 15b7026..12173c3 100644 --- a/pages/mine/mine.wxss +++ b/pages/mine/mine.wxss @@ -375,8 +375,8 @@ button text { margin-top: 70rpx; } .topic-list .topic-nodata .no-data { - width: 258rpx; - height: 244rpx; + width: 278rpx; + height: 400rpx; object-fit: cover; } .topic-list .topic-nodata .tip { diff --git a/pages/toRegister/toRegister.js b/pages/toRegister/toRegister.js index 6fad39e..fcd9ce2 100644 --- a/pages/toRegister/toRegister.js +++ b/pages/toRegister/toRegister.js @@ -21,7 +21,7 @@ Page({ // } // }) let that = this - const versionNum = "1.6.31" + const versionNum = "1.6.32" api.getScanSwitch(versionNum).then(function (res) { console.log(res.data) let state = res.data.scanFlag diff --git a/subpages/associationNew/pages/addTopic/addTopic.js b/subpages/associationNew/pages/addTopic/addTopic.js index fa60f72..94ac5fe 100644 --- a/subpages/associationNew/pages/addTopic/addTopic.js +++ b/subpages/associationNew/pages/addTopic/addTopic.js @@ -54,7 +54,7 @@ Page({ // 地址框 值双向绑定 bindAddressValue (e) { this.setData({ - addressValue: e.detail.value + addressValue: e.detail.value.trim('') }) console.log(this.data.addressValue) }, diff --git a/subpages/associationNew/pages/eventlist/eventlist.js b/subpages/associationNew/pages/eventlist/eventlist.js index 1cadaac..b618d9c 100644 --- a/subpages/associationNew/pages/eventlist/eventlist.js +++ b/subpages/associationNew/pages/eventlist/eventlist.js @@ -255,7 +255,7 @@ Page({ // 双向绑定 bindIdentity (e) { this.setData({ - commentContent: e.detail.value + commentContent: e.detail.value.trim('') }) }, // 评论按钮点击事件 diff --git a/subpages/discussion/pages/addIssue/addIssue.js b/subpages/discussion/pages/addIssue/addIssue.js index 2b0327a..eff0b77 100644 --- a/subpages/discussion/pages/addIssue/addIssue.js +++ b/subpages/discussion/pages/addIssue/addIssue.js @@ -43,7 +43,7 @@ Page({ isBlock: true }) this.setData({ - addressContent: e.detail.value + addressContent: e.detail.value.trim('') }) }, //获取事件标签列表 diff --git a/subpages/discussion/pages/discussionDetail/components/detailClassify/detailClassify.wxss b/subpages/discussion/pages/discussionDetail/components/detailClassify/detailClassify.wxss index 6806403..8cd8537 100644 --- a/subpages/discussion/pages/discussionDetail/components/detailClassify/detailClassify.wxss +++ b/subpages/discussion/pages/discussionDetail/components/detailClassify/detailClassify.wxss @@ -17,7 +17,7 @@ width: 70%; } .detail-classify .right { - width:30%; + width:40%; display: flex; align-items: center; justify-content: flex-end; diff --git a/subpages/discussion/pages/publishEvaluation/publishEvaluation.js b/subpages/discussion/pages/publishEvaluation/publishEvaluation.js index a39cdd5..5fbca51 100644 --- a/subpages/discussion/pages/publishEvaluation/publishEvaluation.js +++ b/subpages/discussion/pages/publishEvaluation/publishEvaluation.js @@ -40,7 +40,7 @@ Page({ duration: 1000 }) return false - } else if (!this.data.textareaValue) { + } else if (!this.data.textareaValue.trim('')) { wx.showToast({ title: "请填写评价内容", icon: "none", diff --git a/subpages/discussion/pages/remarkOrReply/remarkOrReply.js b/subpages/discussion/pages/remarkOrReply/remarkOrReply.js index ca4a2c8..d51eea1 100644 --- a/subpages/discussion/pages/remarkOrReply/remarkOrReply.js +++ b/subpages/discussion/pages/remarkOrReply/remarkOrReply.js @@ -35,11 +35,11 @@ Page({ // textarea 双向绑定 bindTextareaValue (e) { this.setData({ - textareaValue: e.detail.value.trim(' ') + textareaValue: e.detail.value }) }, remarkOrReply () { - if (!this.data.textareaValue) { + if (!this.data.textareaValue.trim('')) { wx.showToast({ title: "请输入回复内容", icon: "none" @@ -49,7 +49,7 @@ Page({ const para = { issueId: this.data.detailType === "issue" ? this.data.issueId : "", faCommentId: this.data.faCommentId, - content: this.data.textareaValue, + content: this.data.textareaValue.trim(''), itemId: this.data.detailType === "project" ? this.data.projectId : "", isConReview: this.data.isConReview } diff --git a/subpages/heart/pages/dropByPublish/dropByPublish.js b/subpages/heart/pages/dropByPublish/dropByPublish.js index 552e55b..cf3b6be 100644 --- a/subpages/heart/pages/dropByPublish/dropByPublish.js +++ b/subpages/heart/pages/dropByPublish/dropByPublish.js @@ -138,7 +138,7 @@ Page({ if (this.data.lock) { return false } - if (!this.data.dataForm.departure) { + if (!this.data.dataForm.departure.trim('')) { this.showToast("请填出发地") return false } @@ -146,7 +146,7 @@ Page({ this.showToast("出发地请在100字以内") return false } - if (!this.data.dataForm.destination) { + if (!this.data.dataForm.destination.trim('')) { this.showToast("请填写目的地") return false } @@ -158,7 +158,7 @@ Page({ this.showToast("请填写出发时间") return false } - if (!this.data.dataForm.mobile) { + if (!this.data.dataForm.mobile.trim('')) { this.showToast("请填写联系电话") return false } @@ -166,7 +166,7 @@ Page({ this.showToast("联系电话请在20字以内") return false } - if (!this.data.dataForm.carryContent) { + if (!this.data.dataForm.carryContent.trim('')) { this.showToast("请填写携带内容") return false } diff --git a/subpages/heart/pages/groupBuyPublish/groupBuyPublish.js b/subpages/heart/pages/groupBuyPublish/groupBuyPublish.js index 8e93528..745c33a 100644 --- a/subpages/heart/pages/groupBuyPublish/groupBuyPublish.js +++ b/subpages/heart/pages/groupBuyPublish/groupBuyPublish.js @@ -179,7 +179,7 @@ Page({ return false } console.log(this.data.dataForm.pickupMethod) - if (!this.data.dataForm.groupBuyTitle) { + if (!this.data.dataForm.groupBuyTitle.trim('')) { this.showToast("请填标题") return false } @@ -195,7 +195,7 @@ Page({ this.showToast("请填写截止时间") return false } - if (!this.data.dataForm.groupBuyContent) { + if (!this.data.dataForm.groupBuyContent.trim('')) { this.showToast("请填写团购内容") return false } @@ -207,7 +207,7 @@ Page({ this.showToast("至少填写一条价格说明") return false } - if (!this.data.dataForm.groupBuyMobile) { + if (!this.data.dataForm.groupBuyMobile.trim('')) { this.showToast("请填写联系电话") return false } diff --git a/subpages/heart/pages/heartDetail/heartDetail.js b/subpages/heart/pages/heartDetail/heartDetail.js index cf21efd..09e319c 100644 --- a/subpages/heart/pages/heartDetail/heartDetail.js +++ b/subpages/heart/pages/heartDetail/heartDetail.js @@ -26,7 +26,11 @@ Page({ preloadVisible: true, timeJudge: false,//根据当前时间比较活动结束时间,判断活动是否已经结束,用以判断显示订单多多里面的志愿者 defaultGridId:"",//默认网格 - actType: "" + actType: "", + pageIndex: 1, + pageSize: 10, + curSize: 0, // 当前页码获取的活动条数 + isPreviewImage: false //是否从图片预览返回 }, onLoad: function (options) { console.log("当前时间" + getTimestamp()) @@ -45,6 +49,12 @@ Page({ // 获取默认网格 this.getDefaultGridInfo() }, + onReachBottom () { + if (this.data.curSize == this.data.pageSize) { + this.data.pageIndex++ + this.clockList() + } + }, // 获取详情信息 getDetail () { // let id = this.data.id @@ -71,13 +81,18 @@ Page({ }, //打卡列表 clockList () { - let id = this.data.id - api.clockList(id).then(res => { + let param = { + actId: this.data.id, + pageIndex: this.data.pageIndex, + pageSize: this.data.pageSize + } + api.clockListV2(param).then(res => { // console.log("打卡列表:" + JSON.stringify(res.data)) if (res.code === 0 && res.msg === "success") { this.setData({ clockNum: res.data.clockNum, - clocks: res.data.clocks + clocks: this.data.clocks.concat(res.data.clocks), + curSize: res.data.clocks.length }) } }).catch(err => { @@ -170,6 +185,14 @@ Page({ } }, onShow: function () { + if (this.data.isPreviewImage) { + this.data.isPreviewImage = false + return + } + this.setData({ + pageIndex: 1, + clocks: [] + }) this.getDetail(); //活动详情 this.clockList(); //打卡列表 // if (this.data.actCurrentState == 2 || this.data.actCurrentState == 3 || this.data.actCurrentState == 4) { @@ -224,6 +247,9 @@ Page({ }) }, preViewImage (e) { + this.setData({ + isPreviewImage: true + }) wx.previewImage({ urls: e.currentTarget.dataset.list, current: e.currentTarget.dataset.src diff --git a/subpages/heart/pages/myApply/myApply.js b/subpages/heart/pages/myApply/myApply.js index 79848f1..816d32f 100644 --- a/subpages/heart/pages/myApply/myApply.js +++ b/subpages/heart/pages/myApply/myApply.js @@ -155,15 +155,15 @@ Page({ if (this.data.lock) { return false } - if (!this.data.dataForm.actTitle) { + if (!this.data.dataForm.actTitle.trim('')) { this.showToast("请填写活动标题") return false } - if (!this.data.dataForm.actContent) { + if (!this.data.dataForm.actContent.trim('')) { this.showToast("请填写活动内容") return false } - if (!this.data.dataForm.actAddress) { + if (!this.data.dataForm.actAddress.trim('')) { this.showToast("请填写活动地址") return false } @@ -183,7 +183,7 @@ Page({ this.showToast('结束时间应该大于起始时间') return false } - if (!this.data.dataForm.actPeopleNum) { + if (!this.data.dataForm.actPeopleNum.trim('')) { this.showToast("请填写需要人数") return false } @@ -191,11 +191,11 @@ Page({ this.showToast("请填写正确的人数") return false } - if (!this.data.dataForm.actContacts) { + if (!this.data.dataForm.actContacts.trim('')) { this.showToast("请填写联系人") return false } - if (!this.data.dataForm.actTel) { + if (!this.data.dataForm.actTel.trim('')) { this.showToast("请填写联系人电话") return false } diff --git a/subpages/heart/pages/volunteer/volunteer.js b/subpages/heart/pages/volunteer/volunteer.js index 02910da..bb4c183 100644 --- a/subpages/heart/pages/volunteer/volunteer.js +++ b/subpages/heart/pages/volunteer/volunteer.js @@ -242,7 +242,7 @@ Page({ }, // 志愿者认证提交 submission () { - if (!this.data.realName) { + if (!this.data.realName.trim('')) { this.showToast("请输入姓名") return false } @@ -251,7 +251,7 @@ Page({ return false } - if (!this.data.identityNo) { + if (!this.data.identityNo.trim('')) { this.showToast("请输入身份证号") return false } @@ -262,12 +262,12 @@ Page({ } if (this.data.getMobileType === "wx") { - if (!this.data.mobile) { + if (!this.data.mobile.trim('')) { this.showToast("请获取手机号") return false } } else if (this.data.getMobileType === "self") { - if (!this.data.mobile) { + if (!this.data.mobile.trim('')) { this.showToast("请输入手机号") return false } @@ -280,7 +280,7 @@ Page({ this.showToast("请上传头像") return false } - if(!this.data.volunteerNickname){ + if(!this.data.volunteerNickname.trim('')){ this.showToast("请输入昵称") return false } @@ -292,7 +292,7 @@ Page({ // this.showToast("请输入格言") // return false // } - if (!this.data.road) { + if (!this.data.road.trim('')) { this.showToast("请填写所在小区或所在道路") return false } @@ -311,16 +311,16 @@ Page({ // } const params = { smsCode: this.data.smsCode, - realName: this.data.realName, - mobile: this.data.mobile, + realName: this.data.realName.trim(''), + mobile: this.data.mobile.trim(''), identityNo: this.data.identityNo, - road: this.data.road, + road: this.data.road.trim(''), villageName: this.data.villageName, dwellingPlace: this.data.dwellingPlace, gridId: this.data.gridId, // introduce: this.data.introduce, volunteerFaceImg:this.data.volunteerFaceImg, - volunteerNickname:this.data.volunteerNickname, + volunteerNickname:this.data.volunteerNickname.trim(''), volunteerSignature:this.data.volunteerSignature, volunteerTagId: this.data.volunteerTag.id, wxCode: this.data.unionIdStatus === "1" ? "" : this.data.wxCode, @@ -357,6 +357,7 @@ Page({ }) }, confirmDialog () { + app.globalData.volunteerChange = true wx.navigateBack({ delta: 1 }) @@ -374,7 +375,7 @@ Page({ }, // 获取验证码 getSmsCode () { - if (!this.data.mobile) { + if (!this.data.mobile.trim('')) { this.showToast("请先输入手机号") return false } diff --git a/subpages/integralCentre/pages/index/index.wxml b/subpages/integralCentre/pages/index/index.wxml index 32bfb97..7e45007 100644 --- a/subpages/integralCentre/pages/index/index.wxml +++ b/subpages/integralCentre/pages/index/index.wxml @@ -1,7 +1,7 @@ {{points}} - 积分 + 可用积分 @@ -13,7 +13,7 @@ - 积分排行 + 累计积分排行 积分记录 diff --git a/subpages/oneKeyService/pages/archives/archives.js b/subpages/oneKeyService/pages/archives/archives.js index d4a2760..fcaa3d4 100644 --- a/subpages/oneKeyService/pages/archives/archives.js +++ b/subpages/oneKeyService/pages/archives/archives.js @@ -54,18 +54,18 @@ Page({ }, searchFile () { - console.log(this.data.searchContent) - if(!this.data.searchContent.length) { + console.log(this.data.searchContent) + if(!this.data.searchContent.trim('')) { wx.showToast({ title: '不能为空', - icon: 'loading', + icon: 'none', duration: 2000 }) return; } let that = this wx.navigateTo({ - url: `../archivesDept/archivesDept?dept=锦水档案&deptId=&searchContent=${that.data.searchContent}` + url: `../archivesDept/archivesDept?dept=锦水档案&deptId=&searchContent=${that.data.searchContent.trim('')}` }) }, diff --git a/subpages/oneKeyService/pages/archivesDept/archivesDept.js b/subpages/oneKeyService/pages/archivesDept/archivesDept.js index 0629490..e2c3909 100644 --- a/subpages/oneKeyService/pages/archivesDept/archivesDept.js +++ b/subpages/oneKeyService/pages/archivesDept/archivesDept.js @@ -41,8 +41,16 @@ Page({ }, searchFile () { + if(!this.data.searchContent.trim('')) { + wx.showToast({ + title: '不能为空', + icon: 'none', + duration: 2000 + }) + return; + } this.data.archivesList = [] - this.search(this.data.deptId, this.data.searchContent) + this.search(this.data.deptId, this.data.searchContent.trim('')) }, search(deptId, keywords) { diff --git a/utils/activity.js b/utils/activity.js index 57030d8..87e8c3d 100644 --- a/utils/activity.js +++ b/utils/activity.js @@ -7,7 +7,8 @@ module.exports = { volunteerV2list, getImgUrl, getBannerDetail, - getVolunteerTags + getVolunteerTags, + getToken } function getActivityList (params) { @@ -41,4 +42,11 @@ function getBannerDetail (id) { //志愿者标签列表 function getVolunteerTags () { return fly.get(`app-user/volunteer/tags`) +} + +// +function getToken (wxCode) { + return fly.get("app-user/user/ma/getToken", { + wxCode: wxCode + }) } \ No newline at end of file diff --git a/utils/api.js b/utils/api.js index 73e1ae9..ae44b25 100644 --- a/utils/api.js +++ b/utils/api.js @@ -37,6 +37,7 @@ module.exports = { cancelDetail: cancelDetail, clockAddressDetail: clockAddressDetail, clockList: clockList, + clockListV2: clockListV2, getPhraseList: getPhraseList, sagenumAddOne: sagenumAddOne, clock: clock, @@ -377,6 +378,16 @@ function clockList (actId) { actId: actId }) } +/** + * 打卡列表 + */ +function clockListV2 ({ actId, pageIndex, pageSize}) { + return fly.get("heart/act/V2/clockList", { + actId, + pageIndex, + pageSize + }) +} /** * 常用语列表 */