Browse Source

update

master
DengBiao 1 year ago
parent
commit
41e35a1ef3
3 changed files with 2 additions and 10 deletions
  1. +0
    -8
      src/applet/app/controllers/AliCallBackController.php
  2. +1
    -1
      src/common/Model/SelfSupportForSchoolOrd.php
  3. +1
    -1
      src/common/Model/UserIdentity.php

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

@@ -89,14 +89,7 @@ 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",
@@ -137,7 +130,6 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
"msg" => "Success",
];
}
$this->logger($response, 'alipay.planet.ecocampus.spi.trade.pay.detail', true);
break;
default:
$response = [


+ 1
- 1
src/common/Model/SelfSupportForSchoolOrd.php View File

@@ -2,7 +2,7 @@

namespace SRVX\Model;

class SelfSupportForSchoolOrd extends BaseModel
class SelfSupportForSchoolOrd extends BasicModel
{

/**


+ 1
- 1
src/common/Model/UserIdentity.php View File

@@ -2,7 +2,7 @@

namespace SRVX\Model;

class UserIdentity extends BaseModel
class UserIdentity extends BasicModel
{

/**


Loading…
Cancel
Save