-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
22 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ | |
use Zhiyi\Plus\Models\WalletCharge as WalletChargeModel; | ||
use Illuminate\Contracts\Auth\Access\Gate as GateContract; | ||
use SlimKit\PlusCheckIn\Models\CheckinLog as CheckinLogModel; | ||
use Illuminate\Contracts\Config\Repository as ConfigRepository; | ||
use Zhiyi\Plus\Packages\Currency\Processes\Common as CommonProcess; | ||
use Illuminate\Contracts\Routing\ResponseFactory as ResponseFactoryContract; | ||
|
||
|
@@ -43,7 +42,7 @@ class CheckInController extends Controller | |
* | ||
* @author Seven Du <[email protected]> | ||
*/ | ||
public function __construct(ConfigRepository $config) | ||
public function __construct() | ||
{ | ||
$this->attach_balance = setting('checkin', 'attach-balance', 1); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,11 +145,10 @@ public function bind(Request $request) | |
/** | ||
* 获取登录信息. | ||
* @author ZsyD<[email protected]> | ||
* @param Request $request | ||
* @param $token | ||
* @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|void | ||
*/ | ||
public function getToken(Request $request, $token) | ||
public function getToken($token) | ||
{ | ||
$jwt = app(\Tymon\JWTAuth\JWTAuth::class); | ||
$jwt->setToken($token); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,10 +69,9 @@ public function index(Request $request) | |
* 话题详情. | ||
* | ||
* @author mutoe <[email protected]> | ||
* @param Request $request | ||
* @param int $topic_id | ||
*/ | ||
public function detail(Request $request, int $topic_id) | ||
public function detail(int $topic_id) | ||
{ | ||
// 获取话题详情 | ||
$data['topic'] = api('GET', '/api/v2/feed/topics/'.$topic_id); | ||
|
@@ -97,9 +96,8 @@ public function detail(Request $request, int $topic_id) | |
* 创建话题. | ||
* | ||
* @author mutoe <[email protected]> | ||
* @param Request $request | ||
*/ | ||
public function create(Request $request) | ||
public function create() | ||
{ | ||
return view('pcview::topic.create', [], $this->PlusData); | ||
} | ||
|
@@ -111,7 +109,7 @@ public function create(Request $request) | |
* @param Request $request | ||
* @param int $topic_id | ||
*/ | ||
public function edit(Request $request, int $topic_id) | ||
public function edit(int $topic_id) | ||
{ | ||
$data['topic'] = api('GET', '/api/v2/feed/topics/'.$topic_id); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters