Browse Source

commit pay info

superbee 8 years ago
parent
commit
a405d6fb74
1 changed files with 0 additions and 6 deletions
  1. 0 6
      application/home/controller/Pay.php

+ 0 - 6
application/home/controller/Pay.php

@@ -43,13 +43,11 @@ class Pay extends Controller{
 		$content = [];
 		
 		$content['subject'] = $ipa['desc'];
-// 		$content['subject'] = "Player Pay Money!";
 		$content['out_trade_no'] = $tradeNo = 'D'.getId();
 		$content['total_amount'] = $ipa['price'];
 // 		$content['total_amount'] = 0.01;
 		$content['product_code'] = 'QUICK_MSECURITY_PAY';
 		$content['timeout_express'] = '90m';
-// 		$content['body'] = "Temp Body";
 		$content['body'] = $ipa['desc'];
 		
 		$userPay = new UserPay();
@@ -61,9 +59,6 @@ class Pay extends Controller{
 	private function getAliPayInfo($plugin, $biz_content){
 		$params = [];
 		
-// 		$params['gatewayUrl'] = "https://openapi.alipaydev.com/gateway.do";
-// 		$params['gatewayUrl'] = "https://openapi.alipay.com/gateway.do ";
-		
 		$params['app_id'] = $plugin['appid'];
 		$params['method'] = 'alipay.trade.app.pay';
 		$params['format'] = "JSON";
@@ -80,7 +75,6 @@ class Pay extends Controller{
         $params['sign'] = $sign;
 		
 		foreach ($params as &$value) {
-// 			$value = characet($value, $params['charset']);
             $value = urlencode($value);
 		}