You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
714 B

<?php
/**
* Created by PhpStorm.
* User: weizongsong
* Date: 2019-04-12
* Time: 22:34
*/
namespace App\Http\Controllers\Admin;
use App\Forms\WechatpayAccountForm;
use App\Models\WechatpayAccount;
use Illuminate\Http\Request;
class WechatpayAccountController extends CommonController
{
public $bladePath = "admin.wechatpay-account";
public $urlPrefix = "admin/wechatpay-account";
public $modelName = "微信支付账号";
public $modelClass = WechatpayAccount::class;
public $formClass = WechatpayAccountForm::class;
public function index(Request $request)
{
$data = $this->model->paginate(10);
return view($this->bladePath . ".index", compact("data"));
}
}