mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-05-23 21:39:36 +08:00
added 完成hot数据的生产
This commit is contained in:
parent
e868bcc5d4
commit
f9c14ee579
@ -81,10 +81,12 @@ class Index extends Base {
|
||||
DataType::TYPE_MOBILE => 'Mobile'
|
||||
);
|
||||
|
||||
$groupInfo = ApiGroup::get(['hash' => $groupHash])->toArray();
|
||||
$groupInfo = ApiGroup::get(['hash' => $groupHash]);
|
||||
$groupInfo->hot = $groupInfo->hot + 1;
|
||||
$groupInfo->save();
|
||||
|
||||
return view('', [
|
||||
'groupInfo' => $groupInfo,
|
||||
'groupInfo' => $groupInfo->toArray(),
|
||||
'request' => $request,
|
||||
'response' => $response,
|
||||
'dataType' => $dataType,
|
||||
|
Loading…
x
Reference in New Issue
Block a user