add clear

This commit is contained in:
as2252258@163.com
2019-07-17 17:17:37 +08:00
parent 6e12764656
commit 9c6b01fc94
13 changed files with 1323 additions and 477 deletions
+17 -3
View File
@@ -8,8 +8,22 @@
spl_autoload_register(function ($className) {
include __DIR__ . '/wx/' . str_replace('wchat\\', '', $className) . '.php';
include __DIR__ . '/wx/' . str_replace('wchat\\', '', $className) . '.php';
});
$data = \wchat\Recharge::call( __DIR__.'/config.php');
var_dump($data);
$config = new \wchat\Config();
$config->setAppid('');
$config->setAppsecret('');
$config->setMchId('');
$config->setKey('');
$config->setRemoteAddr('');
$config->
$instance = \wchat\Wx::getMiniProGaRamPage();
$instance->setConfig($config);
$recharge = $instance->getRecharge();
$recharge->cashWithdrawal(1, 'xxx', 'ooo');