From 5ba4dfdc6c44d982891ea8d4444801115307e454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8A=80=E6=9C=AF=E8=80=81=E8=83=A1?= <1094551889@qq.com> Date: Fri, 29 Nov 2024 23:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=AE=A1=E7=90=86=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 8 +- app/controller/api/PluginController.php | 1 - config/extendconfig/payplugin.php | 116 +----------------- extend/Plugin.php | 46 +++++-- runtime/install.lock | 1 + runtime/log/202411/29.log | 83 +++++++++++++ .../sess_7fe60d5e872e6599bf390679ffcd0220 | 1 + view/plugin/index.html | 1 + 8 files changed, 130 insertions(+), 127 deletions(-) create mode 100644 runtime/install.lock create mode 100644 runtime/log/202411/29.log create mode 100644 runtime/session/sess_7fe60d5e872e6599bf390679ffcd0220 diff --git a/.env b/.env index 3410a9b..47ab4c7 100644 --- a/.env +++ b/.env @@ -2,11 +2,11 @@ APP_DEBUG = true DB_TYPE = mysql DB_HOST = 127.0.0.1 -DB_NAME = mpay -DB_USER = admin -DB_PASS = Aa123456 +DB_NAME = test1 +DB_USER = a1 +DB_PASS = 123456 DB_PORT = 3306 -DB_CHARSET = utf8 +DB_CHARSET = utf8mb4 DB_PREFIX = mpay_ DEFAULT_LANG = zh-cn \ No newline at end of file diff --git a/app/controller/api/PluginController.php b/app/controller/api/PluginController.php index 727932b..b32674b 100644 --- a/app/controller/api/PluginController.php +++ b/app/controller/api/PluginController.php @@ -11,7 +11,6 @@ class PluginController extends BaseController // 获取插件列表 public function getPluginList() { - $local_plugin_config = self::getPluginConfig(); $plugin_config = \Plugin::getPluginList($local_plugin_config); if ($plugin_config) { diff --git a/config/extendconfig/payplugin.php b/config/extendconfig/payplugin.php index 9738404..8cf9712 100644 --- a/config/extendconfig/payplugin.php +++ b/config/extendconfig/payplugin.php @@ -50,119 +50,5 @@ return array ( 'store_sn' => '', 'type' => '30', ), - ), - 3 => - array ( - 'platform' => 'storepay', - 'name' => '数字门店', - 'class_name' => 'ZhiHuiJingYing', - 'price' => '49.00', - 'describe' => '数字门店', - 'website' => 'https://store.zhihuijingyingba.com/', - 'state' => 1, - 'query' => - array ( - 'pageNo' => 1, - 'pageSize' => 10, - 'payClient' => 4, - 'status' => 2, - '_t' => NULL, - 'createTime_begin' => NULL, - 'createTime_end' => NULL, - ), - ), - 4 => - array ( - 'platform' => 'ysepay', - 'name' => '小Y经营', - 'class_name' => 'YsePay', - 'price' => '59.00', - 'describe' => '为商户和消费者提供安全、便捷、高效的支付产品与服务助力商户提升运营效率,实现数字化运营', - 'website' => 'https://xym.ysepay.com/', - 'state' => 0, - 'query' => - array ( - 'storeNo' => '', - 'bizType' => 3, - 'payType' => '', - 'orderStatus' => 3, - 'trmNo' => '', - 'operatorUser' => '', - 'codeBoardCode' => '', - 'pageSize' => 10, - 'pageNo' => 1, - 'orderNo' => '', - ), - ), - 5 => - array ( - 'platform' => 'mqpay', - 'name' => '码钱', - 'class_name' => 'MaQian', - 'price' => '49.00', - 'describe' => '码钱商管平台', - 'website' => 'https://m.hkrt.cn/', - 'state' => 0, - 'query' => - array ( - 'terminalType' => '', - 'payType' => '', - 'payMode' => '', - 'tradeStatus' => '1', - 'tradeNo' => '', - 'storeId' => '', - 'page' => 1, - 'rows' => 10, - 'endDate' => NULL, - 'endTime' => NULL, - 'startDate' => NULL, - 'startTime' => NULL, - ), - ), - 6 => - array ( - 'platform' => 'lklpay', - 'name' => '拉卡拉', - 'class_name' => 'LaKaLa', - 'price' => '89.00', - 'describe' => '数字支付,更安全,更高效', - 'website' => 'https://customer.lakala.com/', - 'state' => 0, - 'query' => - array ( - 'requestTime' => NULL, - 'systemCode' => 'MERDASH', - 'version' => '1.0', - 'openEntity' => NULL, - 'requestId' => NULL, - 'pageSize' => 10, - 'pageNum' => 1, - 'startTime' => NULL, - 'timeOption' => NULL, - 'tranSts' => 'SUCCESS', - 'orderNo' => NULL, - 'srefno' => NULL, - 'ornNo' => NULL, - 'endTime' => NULL, - 'startDate' => NULL, - 'endDate' => NULL, - 'page' => 1, - 'size' => 10, - 'merchantNos' => NULL, - 'merInnerNos' => NULL, - ), - ), - 7 => - array ( - 'platform' => 'sftpay', - 'name' => '盛付通', - 'class_name' => 'ShengPay', - 'price' => '69.00', - 'describe' => '轻松生活 放心支付', - 'website' => 'https://b.shengpay.com/', - 'state' => 0, - 'query' => - array ( - ), - ), + ) ); diff --git a/extend/Plugin.php b/extend/Plugin.php index 3d8f00c..cd35c64 100644 --- a/extend/Plugin.php +++ b/extend/Plugin.php @@ -2,9 +2,47 @@ declare(strict_types=1); +use think\facade\Log; + class Plugin { - public static function getPluginList(): array + public static function getPluginList(array $local_plugin = []): array + { + $app_plugin = []; + $app_plugin_all = self::getAllPlugin(); + $local_plugin = self::getInstall($local_plugin); + $plugin_uninstall = self::getUninstall($app_plugin_all, $local_plugin); + $app_plugin = array_merge($local_plugin, $plugin_uninstall); + return $app_plugin; + } + // 获取已安装插件 + public static function getInstall(array $local_plugin = []): array + { + foreach ($local_plugin as $key => $value) { + $local_plugin[$key]['install'] = true; + } + return $local_plugin; + } + // 获取未安装插件 + public static function getUninstall(array $app_plugin = [], array $local_plugin = []): array + { + $uninstall_plugin = []; + $install = []; + foreach ($local_plugin as $e_val) { + $install[] = $e_val['platform']; + } + foreach ($app_plugin as $i_val) { + if (in_array($i_val['platform'], $install)) { + continue; + } + $val = $i_val; + $val['install'] = false; + $uninstall_plugin[] = $val; + } + return $uninstall_plugin; + } + // 获取平台所有支持插件 + public static function getAllPlugin(): array { $app_plugin = array( 0 => @@ -168,12 +206,6 @@ class Plugin ); return $app_plugin; } - public static function getUnInstall(array $local_plugin_config = []): array - { - $plugin = self::getPluginList(); - $plugin_UnInst = []; - return $plugin_UnInst; - } // 请求外部资源 private function getHttpResponse($url, $header = [], $post = null, $timeout = 10) { diff --git a/runtime/install.lock b/runtime/install.lock new file mode 100644 index 0000000..c67c4dc --- /dev/null +++ b/runtime/install.lock @@ -0,0 +1 @@ +1732883162 \ No newline at end of file diff --git a/runtime/log/202411/29.log b/runtime/log/202411/29.log new file mode 100644 index 0000000..8d85bd2 --- /dev/null +++ b/runtime/log/202411/29.log @@ -0,0 +1,83 @@ +[2024-11-29T20:25:18+08:00][error] [10501]SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: YES)[D:\phpStudy\phpstudy_pro\WWW\git\mpay\vendor\topthink\think-orm\src\db\PDOConnection.php:842] +[2024-11-29T20:26:02+08:00][sql] CONNECT:[ UseTime:0.001519s ] mysql:host=127.0.0.1;port=3306;dbname=test1;charset=utf8mb4 +[2024-11-29T20:26:02+08:00][sql] DROP TABLE IF EXISTS `mpay_order`; [ RunTime:0.011527s ] +[2024-11-29T20:26:02+08:00][sql] CREATE TABLE `mpay_order` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `pid` int(11) NOT NULL DEFAULT '0' COMMENT '商户ID', + `order_id` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '订单号', + `type` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '支付类型', + `out_trade_no` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '商户订单号', + `notify_url` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '异步通知地址', + `return_url` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '跳转通知地址', + `name` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '商品名称', + `really_price` float NOT NULL DEFAULT '0' COMMENT '实际支付金额', + `money` float NOT NULL DEFAULT '0' COMMENT '订单价格', + `clientip` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '用户IP地址', + `device` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '设备类型', + `param` varchar(720) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '扩展参数', + `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '订单状态', + `patt` tinyint(4) NOT NULL DEFAULT '0' COMMENT '开启回调监听', + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '订单创建时间', + `close_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '订单关闭时间', + `pay_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '支付时间', + `platform_order` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '收款平台订单号', + `aid` int(11) NOT NULL DEFAULT '0' COMMENT '收款账号ID', + `cid` int(11) NOT NULL DEFAULT '0' COMMENT '收款码ID', + `delete_time` timestamp NULL DEFAULT NULL COMMENT '软删除', + PRIMARY KEY (`id`) USING BTREE +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; [ RunTime:0.011370s ] +[2024-11-29T20:26:02+08:00][sql] DROP TABLE IF EXISTS `mpay_pay_account`; [ RunTime:0.000670s ] +[2024-11-29T20:26:02+08:00][sql] CREATE TABLE `mpay_pay_account` ( + `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '收款平台ID', + `pid` int(11) NOT NULL DEFAULT '0' COMMENT '用户ID', + `platform` varchar(255) NOT NULL DEFAULT '' COMMENT '收款平台', + `account` varchar(255) NOT NULL DEFAULT '' COMMENT '账号', + `password` varchar(255) NOT NULL DEFAULT '' COMMENT '密码', + `state` tinyint(4) NOT NULL DEFAULT '1' COMMENT '启用', + `pattern` tinyint(4) NOT NULL DEFAULT '1' COMMENT '账号监听模式', + `params` varchar(255) NOT NULL DEFAULT '' COMMENT '自定义查询', + `delete_time` timestamp NULL DEFAULT NULL COMMENT '软删除', + PRIMARY KEY (`id`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; [ RunTime:0.041643s ] +[2024-11-29T20:26:02+08:00][sql] DROP TABLE IF EXISTS `mpay_pay_channel`; [ RunTime:0.000877s ] +[2024-11-29T20:26:02+08:00][sql] CREATE TABLE `mpay_pay_channel` ( + `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '渠道ID', + `account_id` int(11) NOT NULL DEFAULT '0' COMMENT '收款平台ID', + `channel` varchar(255) NOT NULL DEFAULT '' COMMENT '收款通道', + `type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '保存类型', + `qrcode` varchar(255) NOT NULL DEFAULT '' COMMENT '二维码', + `last_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '最近使用', + `state` tinyint(4) NOT NULL DEFAULT '1' COMMENT '启用', + `delete_time` timestamp NULL DEFAULT NULL COMMENT '软删除', + PRIMARY KEY (`id`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC; [ RunTime:0.038624s ] +[2024-11-29T20:26:02+08:00][sql] DROP TABLE IF EXISTS `mpay_user`; [ RunTime:0.000607s ] +[2024-11-29T20:26:02+08:00][sql] CREATE TABLE `mpay_user` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `pid` int(11) NOT NULL DEFAULT '0' COMMENT '商户ID', + `secret_key` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '商户秘钥', + `nickname` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '用户昵称', + `username` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '账号', + `password` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '' COMMENT '密码', + `state` tinyint(4) NOT NULL DEFAULT '1' COMMENT '启用状态 0:禁用 1:启用', + `role` tinyint(4) NOT NULL DEFAULT '0' COMMENT '用户角色 0:普通用户 1:管理员', + `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', + `delete_time` timestamp NULL DEFAULT NULL COMMENT '软删除', + PRIMARY KEY (`id`) USING BTREE +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; [ RunTime:0.006188s ] +[2024-11-29T20:26:02+08:00][sql] INSERT INTO `mpay_user` (`id`, `pid`, `secret_key`, `nickname`, `username`, `password`, `state`, `role`) VALUES (1, 1000, '9e66c3a184faf1b03a883840cf504482', '勇敢牛牛', 'admin', '$2y$10$wTWW2CxjProOWg7xuis/..vLlDIuJLKI3cNhcsjbQfV50/v.0eazq', 1, 1); [ RunTime:0.005451s ] +[2024-11-29T20:26:13+08:00][sql] CONNECT:[ UseTime:0.001539s ] mysql:host=127.0.0.1;port=3306;dbname=test1;charset=utf8mb4 +[2024-11-29T20:26:13+08:00][sql] SHOW FULL COLUMNS FROM `mpay_user` [ RunTime:0.002027s ] +[2024-11-29T20:26:13+08:00][sql] SELECT * FROM `mpay_user` WHERE ( `username` = 'admin' ) AND `mpay_user`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000710s ] +[2024-11-29T20:26:14+08:00][sql] CONNECT:[ UseTime:0.001054s ] mysql:host=127.0.0.1;port=3306;dbname=test1;charset=utf8mb4 +[2024-11-29T20:26:14+08:00][sql] SHOW FULL COLUMNS FROM `mpay_order` [ RunTime:0.002653s ] +[2024-11-29T20:26:14+08:00][sql] SELECT * FROM `mpay_order` WHERE ( `state` = 1 AND `create_time` > '2024-10-28 00:00:00' ) AND `mpay_order`.`delete_time` IS NULL [ RunTime:0.001011s ] +[2024-11-29T20:26:14+08:00][sql] CONNECT:[ UseTime:0.001857s ] mysql:host=127.0.0.1;port=3306;dbname=test1;charset=utf8mb4 +[2024-11-29T20:26:14+08:00][sql] SHOW FULL COLUMNS FROM `mpay_order` [ RunTime:0.001358s ] +[2024-11-29T20:26:14+08:00][sql] SELECT `id`,`type`,`really_price` FROM `mpay_order` WHERE ( `create_time` BETWEEN '2024-01-01 00:00:00' AND '2024-11-29 23:59:59' AND `state` = 1 ) AND `mpay_order`.`delete_time` IS NULL [ RunTime:0.000446s ] +[2024-11-29T20:26:15+08:00][sql] CONNECT:[ UseTime:0.001195s ] mysql:host=127.0.0.1;port=3306;dbname=test1;charset=utf8mb4 +[2024-11-29T20:26:15+08:00][sql] SHOW FULL COLUMNS FROM `mpay_order` [ RunTime:0.001157s ] +[2024-11-29T20:26:15+08:00][sql] SELECT COUNT(*) AS think_count FROM `mpay_order` `Order` INNER JOIN `mpay_pay_account` `PayAccount` ON `Order`.`aid`=`PayAccount`.`id` WHERE ( `PayAccount`.`delete_time` IS NULL ) AND `Order`.`delete_time` IS NULL [ RunTime:0.002627s ] +[2024-11-29T20:26:18+08:00][info] {"page":"1","limit":"10"} +[2024-11-29T20:31:56+08:00][info] {"page":"1","limit":"10","show":"1"} +[2024-11-29T21:09:56+08:00][debug] 未安装[{"platform":"alipay","name":"\u652f\u4ed8\u5b9d","class_name":"AliPay","price":"0.00","describe":"\u652f\u6301\u652f\u4ed8\u5b9d\u4e2a\u4eba\u6536\u6b3e\u7801\u3001\u7ecf\u8425\u7801\u6536\u6b3e\uff0c\u76d1\u542c\u56de\u8c03","website":"https:\/\/www.alipay.com\/","state":1,"query":[],"install":false},{"platform":"sqbpay","name":"\u6536\u94b1\u5427","class_name":"ShouQianBa","price":"49.00","describe":"\u4e3b\u6d41\u79fb\u52a8\u652f\u4ed8\u5168\u80fd\u6536 \u4fe1\u7528\u5361,\u82b1\u5457\u90fd\u80fd\u7528,\u751f\u610f\u5e2e\u624b\u6536\u94b1\u5427,\u79fb\u52a8\u6536\u6b3e\u5c31\u7528\u5b83!","website":"https:\/\/www.shouqianba.com\/","state":1,"query":{"date_end":null,"date_start":null,"page":1,"page_size":10,"upayQueryType":0,"status":"2000","store_sn":"","type":"30"},"install":false},{"platform":"sqbpay","name":"\u6536\u94b1\u5427","class_name":"ShouQianBa","price":"49.00","describe":"\u4e3b\u6d41\u79fb\u52a8\u652f\u4ed8\u5168\u80fd\u6536 \u4fe1\u7528\u5361,\u82b1\u5457\u90fd\u80fd\u7528,\u751f\u610f\u5e2e\u624b\u6536\u94b1\u5427,\u79fb\u52a8\u6536\u6b3e\u5c31\u7528\u5b83!","website":"https:\/\/www.shouqianba.com\/","state":1,"query":{"date_end":null,"date_start":null,"page":1,"page_size":10,"upayQueryType":0,"status":"2000","store_sn":"","type":"30"},"install":false},{"platform":"storepay","name":"\u6570\u5b57\u95e8\u5e97","class_name":"ZhiHuiJingYing","price":"49.00","describe":"\u6570\u5b57\u95e8\u5e97","website":"https:\/\/store.zhihuijingyingba.com\/","state":1,"query":{"pageNo":1,"pageSize":10,"payClient":4,"status":2,"_t":null,"createTime_begin":null,"createTime_end":null},"install":false},{"platform":"storepay","name":"\u6570\u5b57\u95e8\u5e97","class_name":"ZhiHuiJingYing","price":"49.00","describe":"\u6570\u5b57\u95e8\u5e97","website":"https:\/\/store.zhihuijingyingba.com\/","state":1,"query":{"pageNo":1,"pageSize":10,"payClient":4,"status":2,"_t":null,"createTime_begin":null,"createTime_end":null},"install":false},{"platform":"storepay","name":"\u6570\u5b57\u95e8\u5e97","class_name":"ZhiHuiJingYing","price":"49.00","describe":"\u6570\u5b57\u95e8\u5e97","website":"https:\/\/store.zhihuijingyingba.com\/","state":1,"query":{"pageNo":1,"pageSize":10,"payClient":4,"status":2,"_t":null,"createTime_begin":null,"createTime_end":null},"install":false},{"platform":"ysepay","name":"\u5c0fY\u7ecf\u8425","class_name":"YsePay","price":"59.00","describe":"\u4e3a\u5546\u6237\u548c\u6d88\u8d39\u8005\u63d0\u4f9b\u5b89\u5168\u3001\u4fbf\u6377\u3001\u9ad8\u6548\u7684\u652f\u4ed8\u4ea7\u54c1\u4e0e\u670d\u52a1\u52a9\u529b\u5546\u6237\u63d0\u5347\u8fd0\u8425\u6548\u7387\uff0c\u5b9e\u73b0\u6570\u5b57\u5316\u8fd0\u8425","website":"https:\/\/xym.ysepay.com\/","state":0,"query":{"storeNo":"","bizType":3,"payType":"","orderStatus":3,"trmNo":"","operatorUser":"","codeBoardCode":"","pageSize":10,"pageNo":1,"orderNo":""},"install":false},{"platform":"ysepay","name":"\u5c0fY\u7ecf\u8425","class_name":"YsePay","price":"59.00","describe":"\u4e3a\u5546\u6237\u548c\u6d88\u8d39\u8005\u63d0\u4f9b\u5b89\u5168\u3001\u4fbf\u6377\u3001\u9ad8\u6548\u7684\u652f\u4ed8\u4ea7\u54c1\u4e0e\u670d\u52a1\u52a9\u529b\u5546\u6237\u63d0\u5347\u8fd0\u8425\u6548\u7387\uff0c\u5b9e\u73b0\u6570\u5b57\u5316\u8fd0\u8425","website":"https:\/\/xym.ysepay.com\/","state":0,"query":{"storeNo":"","bizType":3,"payType":"","orderStatus":3,"trmNo":"","operatorUser":"","codeBoardCode":"","pageSize":10,"pageNo":1,"orderNo":""},"install":false},{"platform":"ysepay","name":"\u5c0fY\u7ecf\u8425","class_name":"YsePay","price":"59.00","describe":"\u4e3a\u5546\u6237\u548c\u6d88\u8d39\u8005\u63d0\u4f9b\u5b89\u5168\u3001\u4fbf\u6377\u3001\u9ad8\u6548\u7684\u652f\u4ed8\u4ea7\u54c1\u4e0e\u670d\u52a1\u52a9\u529b\u5546\u6237\u63d0\u5347\u8fd0\u8425\u6548\u7387\uff0c\u5b9e\u73b0\u6570\u5b57\u5316\u8fd0\u8425","website":"https:\/\/xym.ysepay.com\/","state":0,"query":{"storeNo":"","bizType":3,"payType":"","orderStatus":3,"trmNo":"","operatorUser":"","codeBoardCode":"","pageSize":10,"pageNo":1,"orderNo":""},"install":false},{"platform":"mqpay","name":"\u7801\u94b1","class_name":"MaQian","price":"49.00","describe":"\u7801\u94b1\u5546\u7ba1\u5e73\u53f0","website":"https:\/\/m.hkrt.cn\/","state":0,"query":{"terminalType":"","payType":"","payMode":"","tradeStatus":"1","tradeNo":"","storeId":"","page":1,"rows":10,"endDate":null,"endTime":null,"startDate":null,"startTime":null},"install":false},{"platform":"mqpay","name":"\u7801\u94b1","class_name":"MaQian","price":"49.00","describe":"\u7801\u94b1\u5546\u7ba1\u5e73\u53f0","website":"https:\/\/m.hkrt.cn\/","state":0,"query":{"terminalType":"","payType":"","payMode":"","tradeStatus":"1","tradeNo":"","storeId":"","page":1,"rows":10,"endDate":null,"endTime":null,"startDate":null,"startTime":null},"install":false},{"platform":"mqpay","name":"\u7801\u94b1","class_name":"MaQian","price":"49.00","describe":"\u7801\u94b1\u5546\u7ba1\u5e73\u53f0","website":"https:\/\/m.hkrt.cn\/","state":0,"query":{"terminalType":"","payType":"","payMode":"","tradeStatus":"1","tradeNo":"","storeId":"","page":1,"rows":10,"endDate":null,"endTime":null,"startDate":null,"startTime":null},"install":false},{"platform":"lklpay","name":"\u62c9\u5361\u62c9","class_name":"LaKaLa","price":"89.00","describe":"\u6570\u5b57\u652f\u4ed8\uff0c\u66f4\u5b89\u5168\uff0c\u66f4\u9ad8\u6548","website":"https:\/\/customer.lakala.com\/","state":0,"query":{"requestTime":null,"systemCode":"MERDASH","version":"1.0","openEntity":null,"requestId":null,"pageSize":10,"pageNum":1,"startTime":null,"timeOption":null,"tranSts":"SUCCESS","orderNo":null,"srefno":null,"ornNo":null,"endTime":null,"startDate":null,"endDate":null,"page":1,"size":10,"merchantNos":null,"merInnerNos":null},"install":false},{"platform":"lklpay","name":"\u62c9\u5361\u62c9","class_name":"LaKaLa","price":"89.00","describe":"\u6570\u5b57\u652f\u4ed8\uff0c\u66f4\u5b89\u5168\uff0c\u66f4\u9ad8\u6548","website":"https:\/\/customer.lakala.com\/","state":0,"query":{"requestTime":null,"systemCode":"MERDASH","version":"1.0","openEntity":null,"requestId":null,"pageSize":10,"pageNum":1,"startTime":null,"timeOption":null,"tranSts":"SUCCESS","orderNo":null,"srefno":null,"ornNo":null,"endTime":null,"startDate":null,"endDate":null,"page":1,"size":10,"merchantNos":null,"merInnerNos":null},"install":false},{"platform":"lklpay","name":"\u62c9\u5361\u62c9","class_name":"LaKaLa","price":"89.00","describe":"\u6570\u5b57\u652f\u4ed8\uff0c\u66f4\u5b89\u5168\uff0c\u66f4\u9ad8\u6548","website":"https:\/\/customer.lakala.com\/","state":0,"query":{"requestTime":null,"systemCode":"MERDASH","version":"1.0","openEntity":null,"requestId":null,"pageSize":10,"pageNum":1,"startTime":null,"timeOption":null,"tranSts":"SUCCESS","orderNo":null,"srefno":null,"ornNo":null,"endTime":null,"startDate":null,"endDate":null,"page":1,"size":10,"merchantNos":null,"merInnerNos":null},"install":false},{"platform":"sftpay","name":"\u76db\u4ed8\u901a","class_name":"ShengPay","price":"69.00","describe":"\u8f7b\u677e\u751f\u6d3b \u653e\u5fc3\u652f\u4ed8","website":"https:\/\/b.shengpay.com\/","state":0,"query":[],"install":false},{"platform":"sftpay","name":"\u76db\u4ed8\u901a","class_name":"ShengPay","price":"69.00","describe":"\u8f7b\u677e\u751f\u6d3b \u653e\u5fc3\u652f\u4ed8","website":"https:\/\/b.shengpay.com\/","state":0,"query":[],"install":false},{"platform":"sftpay","name":"\u76db\u4ed8\u901a","class_name":"ShengPay","price":"69.00","describe":"\u8f7b\u677e\u751f\u6d3b \u653e\u5fc3\u652f\u4ed8","website":"https:\/\/b.shengpay.com\/","state":0,"query":[],"install":false}] diff --git a/runtime/session/sess_7fe60d5e872e6599bf390679ffcd0220 b/runtime/session/sess_7fe60d5e872e6599bf390679ffcd0220 new file mode 100644 index 0000000..0bbab66 --- /dev/null +++ b/runtime/session/sess_7fe60d5e872e6599bf390679ffcd0220 @@ -0,0 +1 @@ +a:5:{s:6:"userid";i:1;s:3:"pid";i:1000;s:8:"nickname";s:12:"勇敢牛牛";s:8:"userrole";i:1;s:7:"islogin";b:1;} \ No newline at end of file diff --git a/view/plugin/index.html b/view/plugin/index.html index 47c4591..f231230 100644 --- a/view/plugin/index.html +++ b/view/plugin/index.html @@ -76,6 +76,7 @@ page: true, skin: 'line', cols: cols, + where: { show: 1 }, className: 'header-th', toolbar: '#plugin-toolbar', defaultToolbar: [{ title: '刷新', layEvent: 'refresh', icon: 'layui-icon-refresh' }]