diff --git a/app/Services/Tg/Hook/Dog.php b/app/Services/Tg/Hook/Dog.php index f81edef6..89b6ac10 100755 --- a/app/Services/Tg/Hook/Dog.php +++ b/app/Services/Tg/Hook/Dog.php @@ -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) == "?") { diff --git a/public/sites/vfn/images/banner/linux.jpg b/public/sites/vfn/images/banner/linux.jpg new file mode 100755 index 00000000..7d315040 Binary files /dev/null and b/public/sites/vfn/images/banner/linux.jpg differ