Skip to content

Commit

Permalink
bar code
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed May 13, 2020
1 parent df341f8 commit f14afa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WeChat/WeChat.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use EasySwoole\Pay\Exceptions\InvalidSignException;


use EasySwoole\Pay\WeChat\RequestBean\BarCode as MicroPayRequest;
use EasySwoole\Pay\WeChat\RequestBean\BarCode as BarCodeRequest;
use EasySwoole\Pay\WeChat\RequestBean\MiniProgram as MiniProgramRequest;
use EasySwoole\Pay\WeChat\RequestBean\OfficialAccount as OfficialAccountRequest;
use EasySwoole\Pay\WeChat\RequestBean\Scan as ScanRequest;
Expand All @@ -35,7 +35,7 @@
use EasySwoole\Pay\WeChat\ResponseBean\Scan as ScanResponse;
use EasySwoole\Pay\WeChat\ResponseBean\MiniProgram as MiniProgramResponse;
use EasySwoole\Pay\WeChat\ResponseBean\App as AppResponse;
use EasySwoole\Pay\WeChat\ResponseBean\BarCode as MicroPayResponse;
use EasySwoole\Pay\WeChat\ResponseBean\BarCode as BarCodeResponse;

use EasySwoole\Pay\WeChat\WeChatPay\BarCode;
use EasySwoole\Pay\WeChat\WeChatPay\MiniProgram;
Expand Down Expand Up @@ -69,7 +69,7 @@ public function officialAccount(OfficialAccountRequest $bean): OfficialAccountRe
return (new OfficialAccount($this->config))->pay($bean);
}

function barCode(MicroPayRequest $bean):MicroPayResponse
function barCode(BarCodeRequest $bean):BarCodeResponse
{
return (new BarCode($this->config))->pay($bean);
}
Expand Down

0 comments on commit f14afa7

Please sign in to comment.