no message

This commit is contained in:
hellcat 2025-10-17 16:56:11 +08:00
parent 295755996a
commit b5edace549

View File

@ -677,15 +677,16 @@ class Dog extends Mod\Base {
if (!$oModelSelf) { if (!$oModelSelf) {
return "没找到这个"; return "没找到这个";
} }
$aJson = json_decode($sJson, true); $aJson = json_decode($sJson, true);
foreach ($aJson as $k => $v) { foreach ($aJson as $k => $v) {
$v = $this->inFormat($k, $v); $v = $this->inFormat($k, $v);
$oModelSelf->$k = $v; $oModelSelf->$k = $v;
$oModelSelf->save();
} }
$oModelSelf->save();
$aParam = []; $aParam = [];
$aParam["aArg"][1] = $oModelSelf->{$this->sPrimaryKey}; $aParam["aArg"][1] = $oModelSelf->{$this->sPrimaryKey};