-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPaySetServiceProvider.php
58 lines (49 loc) · 1.09 KB
/
PaySetServiceProvider.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
namespace Liumenggit\PaySet;
use Dcat\Admin\Extend\ServiceProvider;
use Dcat\Admin\Admin;
class PaySetServiceProvider extends ServiceProvider
{
protected $js = [
'js/index.js',
];
protected $css = [
'css/index.css',
];
protected $img = [
'img/ic-view-month.png',
];
public function register()
{
//
}
public function init()
{
parent::init();
Admin::requireAssets('@liumenggit.pay-set');
//
}
protected $menu = [
[
'title' => '支付/交易',
'uri' => '',
'icon' => 'fa-cny',
],
[
'parent' => '支付/交易',
'title' => '支付管理',
'uri' => 'pay-set',
'icon' => 'fa-align-justify', // 图标可以留空
],
[
'parent' => '支付/交易',
'title' => '支付设置',
'uri' => 'pay-test',
'icon' => 'fa-cogs', // 图标可以留空
],
];
// public function settingForm()
// {
// return new Setting($this);
// }
}