|
|
@@ -94,7 +94,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
|
$userIdentity = UserIdentity::findFirst("id = '{$userIdentityId}'"); |
|
|
|
$this->logger(["userIdentity1" => $userIdentity], 'alipay.planet.ecocampus.spi.trade.pay.detail', true); |
|
|
|
if (empty($userIdentity)) { |
|
|
|
$selfSupportForSchoolInfo = SelfSupportForUserFaceInfo::findFirst("user_id = '{$biz_content["buyer_id"]}'"); |
|
|
|
$selfSupportForSchoolInfo = SelfSupportForUserFaceInfo::findFirst("user_id = '{$biz_content["buyer_id"]}' and school_code = '{$biz_content["buyer_info"]["school_code"]}'"); |
|
|
|
$this->logger(["selfSupportForSchoolInfo" => $selfSupportForSchoolInfo], 'alipay.planet.ecocampus.spi.trade.pay.detail', true); |
|
|
|
if (!empty($selfSupportForSchoolInfo)) { |
|
|
|
$userIdentity = UserIdentity::findFirst("id = '{$selfSupportForSchoolInfo->user_identity_id}'"); |
|
|
|