mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-05-24 05:55:22 +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'
|
DataType::TYPE_MOBILE => 'Mobile'
|
||||||
);
|
);
|
||||||
|
|
||||||
$groupInfo = ApiGroup::get(['hash' => $groupHash])->toArray();
|
$groupInfo = ApiGroup::get(['hash' => $groupHash]);
|
||||||
|
$groupInfo->hot = $groupInfo->hot + 1;
|
||||||
|
$groupInfo->save();
|
||||||
|
|
||||||
return view('', [
|
return view('', [
|
||||||
'groupInfo' => $groupInfo,
|
'groupInfo' => $groupInfo->toArray(),
|
||||||
'request' => $request,
|
'request' => $request,
|
||||||
'response' => $response,
|
'response' => $response,
|
||||||
'dataType' => $dataType,
|
'dataType' => $dataType,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user