no message

This commit is contained in:
hellcat 2025-06-17 12:14:25 +08:00
parent 77ebdfd051
commit 8163583ce1

View File

@ -563,6 +563,29 @@ class Book extends Base {
return $this->_rag(false, $sValue, "done");
}
public function think($aParam)
{
$aNo = $aParam["aArg"] ?? false;
$v = "think";
$this->_kv("rank", $v, $aNo);
$this->noRe();
return $this->openRe();
}
public function toThink($aParam)
{
$sValue = $aParam["aArg"][1] ?? false;
if (!$sValue) {
return "需要value";
}
return $this->_rag(false, $sValue, "think");
}
public function done($aParam)
{
$aNo = $aParam["aArg"] ?? false;
@ -1946,7 +1969,18 @@ class Book extends Base {
$this->mRst[] = ["", $r];
$this->noRe();
return $this->openRe();
}
public function memoun($aParam)
{
$aNo = $aParam["aArg"];
$aId = $this->_noToId($aNo);
$r = ModelBook::whereIn("id", $aId)->update(["memo" => NULL]);
$this->mRst = ["", $r];
return $this->openRe();
}
@ -2006,6 +2040,8 @@ class Book extends Base {
"glod" => "🟡",
"wait" => "⚪️",
"silver" => "⚪️",
"think" => "🔵",
"blue" => "🔵",
"track" => "🟤",
"iron" => "🟤",
"block" => "⚫️",