无
--每周不管时长,每个用户只能预约2次
can_reserv = false
edit = old_start_time > 1 or false
if ((edit and #components(week_start(start_time), week_end(start_time)) <= 2 ) or (not(edit) and #components(week_start(start_time), week_end(start_time)) <= 1)) then
can_reserv = true
else
err_msg = "不能预约!"
end
无
公告名称 | 公告内容 | 发布日期 |
---|