mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2026-06-02 22:09:25 +08:00
支持微信支付宝收款功能
This commit is contained in:
@@ -18,14 +18,6 @@ class PluginController extends BaseController
|
||||
return json(['code' => 1, 'msg' => '无数据记录', 'count' => 0, 'data' => []]);
|
||||
}
|
||||
}
|
||||
// 测试
|
||||
public function test()
|
||||
{
|
||||
// $res = $this->addPlugin(['platform' => 'haopay', 'name' => '好支付', 'class_name' => 'Haopay', 'price' => 99, 'describe' => '好支付', 'website' => 'https://store.zhihuijingyingba.com/', 'state' => 1, 'query' => []]);
|
||||
// $res = $this->delPlugin('haopay');
|
||||
$res = $this->setPlugin('haopay', ['state' => 0]);
|
||||
return $res;
|
||||
}
|
||||
// 添加插件
|
||||
public function addPlugin(array $option = [])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user