add clear
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user