diff --git a/.gitignore b/.gitignore index fe49c9f..dd6e93d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ Thumbs.db /.settings /.buildpath /.project -/.history \ No newline at end of file +/.history +config/payconfig/1001_1.php diff --git a/app/controller/PluginController.php b/app/controller/PluginController.php new file mode 100644 index 0000000..11b63be --- /dev/null +++ b/app/controller/PluginController.php @@ -0,0 +1,85 @@ +request->post(); + $pid = $this->request->session('pid'); + $info['pid'] = $pid; $res = PayAccount::create($info); if ($res) { return \json(\backMsg(0, '添加成功')); diff --git a/app/controller/api/PluginController.php b/app/controller/api/PluginController.php new file mode 100644 index 0000000..10f820c --- /dev/null +++ b/app/controller/api/PluginController.php @@ -0,0 +1,85 @@ +id); + Session::set('pid', $userinfo['data']->pid); Session::set('nickname', $userinfo['data']->nickname); Session::set('userrole', $userinfo['data']->role); Session::set('islogin', true); diff --git a/config/extendconfig/menu.php b/config/extendconfig/menu.php index 797d526..7f387ca 100644 --- a/config/extendconfig/menu.php +++ b/config/extendconfig/menu.php @@ -28,6 +28,14 @@ return [ 'openType' => '_iframe', 'href' => '/PayManage/index', ], + [ + 'id' => 'pluginManage', + 'title' => '插件管理', + 'icon' => 'layui-icon layui-icon-console', + 'type' => 1, + 'openType' => '_iframe', + 'href' => '/Plugin/index', + ], [ 'id' => 'userCenter', 'title' => '用户中心', diff --git a/config/payconfig/1001_1.php b/config/payconfig/1001_1.php index bb0a3ec..e40f42c 100644 --- a/config/payconfig/1001_1.php +++ b/config/payconfig/1001_1.php @@ -19,15 +19,15 @@ return [ // 密码 'password' => '76********QB', // 订单查询参数配置 - 'query' => array ( - 'date_end' => NULL, - 'date_start' => NULL, - 'page' => 1, - 'page_size' => 10, - 'upayQueryType' => 0, - 'status' => '2000', - 'store_sn' => '15**********27', - 'type' => '30', -), + 'query' => array( + 'date_end' => NULL, + 'date_start' => NULL, + 'page' => 1, + 'page_size' => 10, + 'upayQueryType' => 0, + 'status' => '2000', + 'store_sn' => '', + 'type' => '30', + ), ] ]; diff --git a/view/console/console.html b/view/console/console.html index 5eef625..1a9e4c9 100644 --- a/view/console/console.html +++ b/view/console/console.html @@ -14,173 +14,264 @@
-
-
-
今日访问
-
-
-
- 0 +
+
+
+
+
今日收款金额(元)
+
+
+
+ 0 +
+
+ + + + + + + +
+
-
- - - - - - - - - - +
+
+
+
+
今日支付订单(笔)
+
+
+
+ 0 +
+
+ + + + + + + + + +
+
+
+
+
+
+
+
七月收款金额(元)
+
+
+
+ 0 +
+
+ + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
七月支付订单(笔)
+
+
+
+ 0 +
+
+ + + + + + + + +
+
-
-
-
提交次数
-
-
-
- 0 -
-
- - - - - - - - - - - - - +
+
+
+
+
今日支付宝收款(元)
+
+
+
+ 0 +
+
+ + + +
+
-
-
-
-
-
下载数量
-
-
-
- 0 -
-
- - - - - - - - - - +
+
+
今日微信收款(元)
+
+
+
+ 0 +
+
+ + + +
+
-
-
-
-
-
流量统计
-
-
-
- 0 +
+
+
本月支付宝订单(笔)
+
+
+
+ 0 +
+
+ + + +
+
-
- - - - - - - - - - - +
+
+
+
+
本月微信订单(笔)
+
+
+
+ 0 +
+
+ + + +
+