no message
This commit is contained in:
parent
295755996a
commit
b5edace549
@ -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};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user