feat(user): 修改UserRechargeController和UserRechargeLists类

This commit is contained in:
mkm 2024-06-17 14:49:10 +08:00
parent eff0242d8f
commit 08c8de158b
2 changed files with 3 additions and 3 deletions

View File

@ -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());
}
}

View File

@ -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();
}
}