DengBiao il y a 1 an
Parent
révision
148b85c252
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      src/applet/app/controllers/AliCallBackController.php

+ 4
- 1
src/applet/app/controllers/AliCallBackController.php Voir le fichier

@@ -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 = [


Chargement…
Annuler
Enregistrer