DengBiao 1 jaar geleden
bovenliggende
commit
148b85c252
1 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. +4
    -1
      src/applet/app/controllers/AliCallBackController.php

+ 4
- 1
src/applet/app/controllers/AliCallBackController.php Bestand weergeven

@@ -85,7 +85,10 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
$this->logger($params, 'alipay.planet.ecocampus.spi.trade.pay.detail', true);
$biz_content = json_decode($params["biz_content"], true);
//获取用户身份信息
$userIdentityId = $biz_content["buyer_info"]["roster_code"] ?? 0; //身份id
$userIdentityId = 0;
if (isset($biz_content["buyer_info"])) {
$userIdentityId = $biz_content["buyer_info"]["roster_code"] ?? 0; //身份id
}
$selfSupportForSchoolInfo = UserIdentity::findFirst("id = '{$userIdentityId}'");
if (empty($selfSupportForSchoolInfo)) {
$response = [


Laden…
Annuleren
Opslaan