fix bug
This commit is contained in:
@@ -46,7 +46,7 @@ class Help
|
|||||||
"count" => 1
|
"count" => 1
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
Db::name("app_help")->where(["id" => $appHelp['id']])->inc("count", 1)->update();
|
Db::name("app_help")->where(["id" => $appHelp['id']])->inc("count", 15)->update();
|
||||||
}
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return show("助力成功!", SUCCESS_CODE, []);
|
return show("助力成功!", SUCCESS_CODE, []);
|
||||||
|
|||||||
Reference in New Issue
Block a user