no message

This commit is contained in:
hellcat 2025-06-16 15:56:28 +08:00
parent 366cb1e8aa
commit 5587464273
2 changed files with 28 additions and 4 deletions

View File

@ -335,10 +335,11 @@ class SakaiController
$s = "main";
$s = "openRe";
$s = "memo__2 xxxx";
// $s = "toWait 333333";
$s = "no 2";
$s = "case a";
// $s = "no 2";
//
// $s = "case a";
// $s = "openRe";

View File

@ -1932,6 +1932,26 @@ class Book extends Base {
}
//// like 系列 end
//// memo 系列
public function memo($aParam)
{
$aNo = $aParam["aOption"];
$aValue = $aParam["aArg"];
$sValue = implode(" ", $aValue);
$aId = $this->_noToId($aNo);
$r = ModelBook::whereIn("id", $aId)->update(["memo" => $sValue]);
$this->mRst[] = ["", $r];
$this->noRe();
return $this->openRe();
}
//// memo 系列 end
//// rank系列
// book#rank__1__3 2
// book#rank 2
@ -2272,7 +2292,7 @@ class Book extends Base {
if ($this->_RankMap($oRag->rank)) {
$sStr .= ":".$this->_RankMap($oRag->rank);
}
// tomd($this->oRag->option, 1);
if ((isset($this->aRagOption["fire_show"]) && $this->aRagOption["fire_show"] == true) && $oRag->fire) {
$iDayLine = ceil((strtotime($oRag->fire) - time()) / 86400);
@ -2292,6 +2312,9 @@ class Book extends Base {
$sStr .= ":".$oRag->rag;
if ($oRag->memo) {
$sStr .= " | ".$oRag->memo;
}
if ($iSubCount = $this->_SubCount($oRag->path.$oRag->id."/")) {
$sStr .= " *".$iSubCount;