no message

This commit is contained in:
hellcat 2026-03-31 18:30:46 +08:00
parent 4b2dc17f44
commit 63d3135109
2 changed files with 20 additions and 0 deletions

View File

@ -775,6 +775,26 @@ public function arrSet($aParam)
return $this->toJson($a);
}
public function jsonSet($aParam)
{
$iId = $aParam["aOption"][1] ?? "";
$sField = $aParam["aOption"][2] ?? "";
$aJson = $aParam["aArg"];
$sJson = implode(" ", $aJson);
$aJson = json_decode($sJson, true);
if ($sJson == "?") {
return "#jsonSet__[id(主键)]__[field] [json]";
}
$aParam = [];
$aParam["aOption"][1] = $iId;
$aParam["aOption"][2] = $sField;
$aParam["aArg"][1] = $aJson;
return $this->set($aParam);
}
public function schemaAdd($aParam)
{
if (($aParam["aArg"][1] ?? false) == "?") {

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB