no message

This commit is contained in:
hellcat 2025-06-17 16:36:39 +08:00
parent bebed29ec3
commit e0c70c3c69

View File

@ -14,13 +14,13 @@ class Option extends Base {
throw new \Exception("没有?");
}
$str = "";
foreach ($oOptionList as $row) {
// $str .= "\n\n";
$str .= $row->key."::".$row->value;
}
// $str = "";
// foreach ($oOptionList as $row) {
//// $str .= "\n\n";
// $str .= $row->key."::".$row->value;
// }
return $str;
return $this->toJson($oOptionList);
}
@ -33,7 +33,7 @@ class Option extends Base {
$oOption->key = $sKey;
$r = $oOption->save();
return $r;
return $this->toJson($oOption);
}
public function Like($aParam)
@ -47,7 +47,9 @@ class Option extends Base {
throw new \Exception("没有");
}
$this->eachSendTg($oOption);
return $this->toJson($oOption);
// $this->eachSendTg($oOption);
}