From cbdf18b1a9e336f75ddb826d5ef2abb548c5cd23 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Mon, 14 Sep 2020 17:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Constants/v3/WithdrawalType.php | 33 +++++++++++++++++++++++++++++ app/Model/v3/StoreWithdrawal.php | 9 +++++++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 app/Constants/v3/WithdrawalType.php diff --git a/app/Constants/v3/WithdrawalType.php b/app/Constants/v3/WithdrawalType.php new file mode 100644 index 0000000..7358f7a --- /dev/null +++ b/app/Constants/v3/WithdrawalType.php @@ -0,0 +1,33 @@ +attributes['created_at']); } + + public function getPayTypeTextAttribute() + { + return '提现到'.WithdrawalType::getMessage($this->attributes['type']); + } } \ No newline at end of file