Skip to content

Commit

Permalink
官方SDK已支持_json方法
Browse files Browse the repository at this point in the history
  • Loading branch information
lyt8384 committed Jan 6, 2016
1 parent 7431ed8 commit 5ad12b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pingpp-laravel5-plus
pingxx基于laravel5的封装
[![Latest Stable Version](https://poser.pugx.org/lyt8384/pingpp-laravel5-plus/v/stable)](https://packagist.org/packages/lyt8384/pingpp-laravel5-plus) [![Total Downloads](https://poser.pugx.org/lyt8384/pingpp-laravel5-plus/downloads)](https://packagist.org/packages/lyt8384/pingpp-laravel5-plus) [![Latest Unstable Version](https://poser.pugx.org/lyt8384/pingpp-laravel5-plus/v/unstable)](https://packagist.org/packages/lyt8384/pingpp-laravel5-plus) [![License](https://poser.pugx.org/lyt8384/pingpp-laravel5-plus/license)](https://packagist.org/packages/lyt8384/pingpp-laravel5-plus)

# 配置方法
1.`composer.json`里添加如下内容,并运行`composer update`:
Expand Down
4 changes: 2 additions & 2 deletions src/PingppCollertion.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function __call( $method, $arg_array = null ){
if(method_exists('Pingpp\\'.$this->method,$method)){
$func = 'Pingpp\\'.$this->method.'::'.$method;
$ret = forward_static_call_array($func,$arg_array);
return (string)$ret;
return $ret;
}
}else{
$class = 'Pingpp\\'.$method;
Expand All @@ -24,7 +24,7 @@ public function __call( $method, $arg_array = null ){
if(method_exists('Pingpp\Charge',$method)) {
$func = 'Pingpp\Charge::'.$method;
$ret = forward_static_call_array($func,$arg_array);
return (string)$ret;
return $ret;
}
}
}
Expand Down

0 comments on commit 5ad12b1

Please sign in to comment.