Commit fc6c533b61b55f2e84e5be98f559c0cfbef73e53

Authored by vking
1 parent 56ab15ae

fixbug 接单时间跨天

Showing 1 changed file with 3 additions and 0 deletions
... ... @@ -199,6 +199,9 @@ Page({
let today=util.unixtoTime(time,"YYYY-MM-DD")
stime=util.timetouUnix(today+' '+this.data.seller.rec_stime+':00')
etime=util.timetouUnix(today+' '+this.data.seller.rec_etime+':00')
if(etime<=stime){
etime+=86400
}
if(time>=stime && time<=etime){
return true;
}
... ...