no message
This commit is contained in:
parent
7aae713b09
commit
f909f7eb2c
@ -41,6 +41,7 @@ class CronController
|
||||
$s = $v;
|
||||
}
|
||||
|
||||
$h = "00";
|
||||
//// test end
|
||||
|
||||
if ($h == "00") {
|
||||
|
||||
@ -317,6 +317,7 @@ class SakaiController
|
||||
$s = "back";
|
||||
$s = "/cron#test";
|
||||
$s = "/book#main";
|
||||
$s = "/book#up__3";
|
||||
// $s = "war 8";
|
||||
// $s = "no 9";
|
||||
// $s = "detail__all 1";
|
||||
|
||||
@ -1293,12 +1293,12 @@ class Book extends Base {
|
||||
} else {
|
||||
$iNoMin = ModelBook::where("path", $this->sPath)->where("checked", 1)->orderBy("no")->first()?->no;
|
||||
}
|
||||
|
||||
// tomd($iNoMin);
|
||||
if (!$iNoMin) {
|
||||
return "没有选中";
|
||||
}
|
||||
|
||||
$this->_to($iNoMin - 1);
|
||||
$this->_to($iNoMin - 1, $aNoNow);
|
||||
|
||||
return $this->openRe();
|
||||
}
|
||||
@ -1317,14 +1317,14 @@ class Book extends Base {
|
||||
return "没有选中";
|
||||
}
|
||||
|
||||
$this->_to($iNoMax + 1);
|
||||
$this->_to($iNoMax + 1, $aNoNow);
|
||||
|
||||
return $this->openRe();
|
||||
}
|
||||
|
||||
private function _to($iNoTo, $aNoNow = [])
|
||||
{
|
||||
|
||||
|
||||
// 兼容checked和no模式
|
||||
if ($aNoNow) {
|
||||
$oBookChecked = ModelBook::where("path", $this->sPath)->whereIn("no", $aNoNow)->orderBy("no")->get();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user