Parcourir la source

update

master
DengBiao il y a 1 an
Parent
révision
41e35a1ef3
3 fichiers modifiés avec 2 ajouts et 10 suppressions
  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 Voir le fichier

@@ -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 Voir le fichier

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

namespace SRVX\Model;

class SelfSupportForSchoolOrd extends BaseModel
class SelfSupportForSchoolOrd extends BasicModel
{

/**


+ 1
- 1
src/common/Model/UserIdentity.php Voir le fichier

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

namespace SRVX\Model;

class UserIdentity extends BaseModel
class UserIdentity extends BasicModel
{

/**


Chargement…
Annuler
Enregistrer