Commit 9d5b9d71 by yeran

update some bugs

1 parent 8a12cc33
...@@ -2,11 +2,8 @@ ...@@ -2,11 +2,8 @@
namespace Payment\Charge\Sw; namespace Payment\Charge\Sw;
use Payment\Common\Sw\Data\BackCancelData; use Payment\Common\Sw\Data\Cancel\BackCloseData;
use Payment\Common\Sw\Data\BackCloseData; use Payment\Common\Sw\Data\Cancel\CloseData;
use Payment\Common\Sw\Data\Charge\CancelData;
use Payment\Common\Sw\Data\Charge\CloseData;
use Payment\Common\Sw\SwBaseStrategy; use Payment\Common\Sw\SwBaseStrategy;
use Payment\Common\SwConfig; use Payment\Common\SwConfig;
...@@ -32,7 +29,6 @@ class SwClose extends SwBaseStrategy ...@@ -32,7 +29,6 @@ class SwClose extends SwBaseStrategy
protected function getReqUrl($url=null){ protected function getReqUrl($url=null){
return parent::getReqUrl($url??SwConfig::CLOSE_URL); return parent::getReqUrl($url??SwConfig::CLOSE_URL);
// return SwConfig::CLOSE_URL;
} }
/** /**
......
<?php <?php
namespace Payment\Common\Sw\Data; namespace Payment\Common\Sw\Data\Cancel;
use Payment\Common\PayException;
use Payment\Common\Sw\Data\SwBaseData;
/** /**
......
<?php <?php
namespace Payment\Common\Sw\Data; namespace Payment\Common\Sw\Data\Cancel;
use Payment\Common\Sw\Data\SwBaseData;
/** /**
......
<?php <?php
namespace Payment\Common\Sw\Data\Charge; namespace Payment\Common\Sw\Data\Cancel;
use Payment\Common\PayException; use Payment\Common\Sw\Data\SwBaseData;
use Payment\Utils\ArrayUtil; use Payment\Utils\ArrayUtil;
/** /**
...@@ -14,12 +14,10 @@ use Payment\Utils\ArrayUtil; ...@@ -14,12 +14,10 @@ use Payment\Utils\ArrayUtil;
* @package Payment\Common\Sw\Data\Charge * @package Payment\Common\Sw\Data\Charge
* *
*/ */
class CancelData extends ChargeBaseData class CancelData extends SwBaseData
{ {
protected function checkDataParam() protected function checkDataParam()
{ {
parent::checkDataParam();
$this->pay_ver = '100'; $this->pay_ver = '100';
$this->service_id = '040'; $this->service_id = '040';
} }
......
<?php <?php
namespace Payment\Common\Sw\Data\Charge; namespace Payment\Common\Sw\Data\Cancel;
use Payment\Common\Sw\Data\SwBaseData;
use Payment\Utils\ArrayUtil; use Payment\Utils\ArrayUtil;
/** /**
...@@ -13,11 +14,10 @@ use Payment\Utils\ArrayUtil; ...@@ -13,11 +14,10 @@ use Payment\Utils\ArrayUtil;
* @package Payment\Common\Sw\Data\Charge * @package Payment\Common\Sw\Data\Charge
* *
*/ */
class CloseData extends ChargeBaseData class CloseData extends SwBaseData
{ {
protected function checkDataParam() protected function checkDataParam()
{ {
parent::checkDataParam();
$this->pay_ver = '100'; $this->pay_ver = '100';
$this->service_id = '041'; $this->service_id = '041';
......
...@@ -17,7 +17,7 @@ use Payment\Common\SwConfig; ...@@ -17,7 +17,7 @@ use Payment\Common\SwConfig;
* 限支付30天内退款,超过30天,不能进行退款操作(具体退款限制时间由通道决定)。 * 限支付30天内退款,超过30天,不能进行退款操作(具体退款限制时间由通道决定)。
* *
* Class SwRefund * Class SwRefund
* @package Payment\Query\Sw * @package Payment\Refund\Sw
*/ */
class SwRefund extends SwBaseStrategy class SwRefund extends SwBaseStrategy
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!