|
|
@@ -89,14 +89,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
|
if (isset($biz_content["buyer_info"])) { |
|
|
|
$userIdentityId = $biz_content["buyer_info"]["roster_code"] ?? 0; //身份id |
|
|
|
} |
|
|
|
$this->logger([ |
|
|
|
"userIdentityId" => $userIdentityId |
|
|
|
], 'alipay.planet.ecocampus.spi.trade.pay.detail', true); |
|
|
|
$selfSupportForSchoolInfo = UserIdentity::findFirst("id = '{$userIdentityId}'"); |
|
|
|
$this->logger([ |
|
|
|
"selfSupportForSchoolInfo" => $selfSupportForSchoolInfo |
|
|
|
], 'alipay.planet.ecocampus.spi.trade.pay.detail', true); |
|
|
|
|
|
|
|
if (empty($selfSupportForSchoolInfo)) { |
|
|
|
$response = [ |
|
|
|
"code" => "40000", |
|
|
@@ -137,7 +130,6 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
|
"msg" => "Success", |
|
|
|
]; |
|
|
|
} |
|
|
|
$this->logger($response, 'alipay.planet.ecocampus.spi.trade.pay.detail', true); |
|
|
|
break; |
|
|
|
default: |
|
|
|
$response = [ |
|
|
|