DengBiao 1 year ago
parent
commit
a11592bc1a
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/applet/app/controllers/AliCallBackController.php

+ 7
- 0
src/applet/app/controllers/AliCallBackController.php View File

@@ -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",


Loading…
Cancel
Save