|
|
@@ -12,7 +12,7 @@ use common\components\util;
|
|
|
class CgRefundController extends BaseController
|
|
|
{
|
|
|
|
|
|
- public $guestAccess = ['list','get-refund-data'];
|
|
|
+ public $guestAccess = ['list', 'get-refund-data'];
|
|
|
|
|
|
//列表
|
|
|
public function actionList()
|
|
|
@@ -32,7 +32,7 @@ class CgRefundController extends BaseController
|
|
|
{
|
|
|
$id = Yii::$app->request->get('id', 0);
|
|
|
$refund = CgRefundClass::getById($id, true);
|
|
|
- CgRefundClass::valid($refund, $this->mainId);
|
|
|
+ //CgRefundClass::valid($refund, $this->mainId);
|
|
|
$cgId = $refund->cgId ?? 0;
|
|
|
$cg = PurchaseClass::getById($cgId, true);
|
|
|
if (empty($refund)) {
|