parent
2eb6bf0dad
commit
5dac594e44
|
|
@ -132,7 +132,7 @@ class WC_Huayi_Score extends WC_Payment_Gateway {
|
|||
if ( $huayi_uid > 0 ) {
|
||||
require_once(plugin_basename('includes' . DIRECTORY_SEPARATOR . 'huayi-score-sdk.php'));
|
||||
$huayiScoreSdk = new HuayiScoreSdk(array('apiurl'=>'1','token'=>'1'));
|
||||
$balanceResult = $huayiScoreSdk->getBalance($huai_uid);//获取积分余额 TODO
|
||||
$balanceResult = $huayiScoreSdk->getBalance($huayi_uid);//获取积分余额 TODO
|
||||
wc_add_notice( __('结算失败:', 'huayi_score') . $balanceResult, 'error' );
|
||||
return;//debug
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue