no message
This commit is contained in:
parent
77ebdfd051
commit
8163583ce1
@ -563,6 +563,29 @@ class Book extends Base {
|
|||||||
return $this->_rag(false, $sValue, "done");
|
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)
|
public function done($aParam)
|
||||||
{
|
{
|
||||||
$aNo = $aParam["aArg"] ?? false;
|
$aNo = $aParam["aArg"] ?? false;
|
||||||
@ -1946,7 +1969,18 @@ class Book extends Base {
|
|||||||
|
|
||||||
$this->mRst[] = ["反", $r];
|
$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();
|
return $this->openRe();
|
||||||
}
|
}
|
||||||
@ -2006,6 +2040,8 @@ class Book extends Base {
|
|||||||
"glod" => "🟡",
|
"glod" => "🟡",
|
||||||
"wait" => "⚪️",
|
"wait" => "⚪️",
|
||||||
"silver" => "⚪️",
|
"silver" => "⚪️",
|
||||||
|
"think" => "🔵",
|
||||||
|
"blue" => "🔵",
|
||||||
"track" => "🟤",
|
"track" => "🟤",
|
||||||
"iron" => "🟤",
|
"iron" => "🟤",
|
||||||
"block" => "⚫️",
|
"block" => "⚫️",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user