ComposerUpdate

This commit is contained in:
Anyon 2020-08-14 13:54:59 +08:00
parent bc0554bca4
commit b08e7ee83c
2 changed files with 5 additions and 6 deletions

View File

@ -963,12 +963,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "032fd6e5bd304a2fd7e8d964c2e125db55d4e9db" "reference": "44e1ec7dbb25d5304da0f599bfcfc667cab7d61f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/032fd6e5bd304a2fd7e8d964c2e125db55d4e9db", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/44e1ec7dbb25d5304da0f599bfcfc667cab7d61f",
"reference": "032fd6e5bd304a2fd7e8d964c2e125db55d4e9db", "reference": "44e1ec7dbb25d5304da0f599bfcfc667cab7d61f",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -984,7 +984,7 @@
"ext-json": "*", "ext-json": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-08-14T05:29:39+00:00", "time": "2020-08-14T05:34:24+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"think": { "think": {

View File

@ -150,8 +150,7 @@ class SystemService extends Service
*/ */
public function setData($name, $value) public function setData($name, $value)
{ {
$data = ['name' => $name, 'value' => serialize($value)]; return $this->save('SystemData', ['name' => $name, 'value' => serialize($value)], 'name');
return $this->save('SystemData', $data, 'name');
} }
/** /**