WithdrawNoticeWidget.php 594 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * Author: 芸众商城 www.yunzshop.com
  5. * Date: 2017/3/6
  6. * Time: 上午11:32
  7. */
  8. namespace app\backend\widgets\finance;
  9. use app\common\components\Widget;
  10. use app\common\facades\Setting;
  11. use app\common\models\notice\MessageTemp;
  12. class WithdrawNoticeWidget extends Widget
  13. {
  14. public function run()
  15. {
  16. $set = Setting::get('withdraw.notice');
  17. $temp_list = MessageTemp::getList();
  18. return view('finance.withdraw.withdraw-notice', [
  19. 'set' => $set,
  20. 'temp_list' => $temp_list,
  21. ])->render();
  22. }
  23. }