diff --git a/src/applet/app/controllers/AliCallBackController.php b/src/applet/app/controllers/AliCallBackController.php index f135fb6..1fe633b 100644 --- a/src/applet/app/controllers/AliCallBackController.php +++ b/src/applet/app/controllers/AliCallBackController.php @@ -89,7 +89,14 @@ 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",