feat(user): 修改UserRechargeController和UserRechargeLists类
This commit is contained in:
parent
eff0242d8f
commit
08c8de158b
@ -6,7 +6,7 @@
|
||||
use app\api\logic\user\UserFeedbackLogic;
|
||||
use app\admin\validate\user\UserFeedbackValidate;
|
||||
use app\api\controller\BaseApiController;
|
||||
|
||||
use app\api\lists\user\UserRechargeLists;
|
||||
|
||||
class UserRechargeController extends BaseApiController
|
||||
{
|
||||
@ -19,6 +19,6 @@
|
||||
*/
|
||||
public function lists()
|
||||
{
|
||||
return $this->dataLists(new UserFeedbackLists());
|
||||
return $this->dataLists(new UserRechargeLists());
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ use app\common\model\user_recharge\UserRecharge;
|
||||
*/
|
||||
public function count(): int
|
||||
{
|
||||
return UserFeedback::where($this->searchWhere)->count();
|
||||
return UserRecharge::where($this->searchWhere)->count();
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user