Browse Source

update

master
DengBiao 11 months ago
parent
commit
5f0b785b90
1 changed files with 32 additions and 0 deletions
  1. +32
    -0
      src/applet/app/controllers/TaobaoCallBackController.php

+ 32
- 0
src/applet/app/controllers/TaobaoCallBackController.php View File

@@ -0,0 +1,32 @@
<?php

namespace SRVX\Api\Controllers;

use SRVX\Model\SelfSupportForSchoolInfo;
use SRVX\Model\SelfSupportForSchoolOrd;
use SRVX\Model\SelfSupportForUserFaceInfo;
use SRVX\Model\UserIdentity;
use SRVX\Traits\BasisFun;

class TaobaoCallBackController extends \Phalcon\Mvc\Controller
{

use BasisFun;


//接口服务商解析入参、包装返回值
public function callBackAction()
{
$params = $this->request->get();
$this->logger(["req" => $params], 'taobaoCallBack', true);

$result = ["code" => 10000, "msg" => "success"];

header('Content-Type: application/json');
exit(json_encode(
$result
));
}


}

Loading…
Cancel
Save