浏览代码

update

master
DengBiao 11 个月前
父节点
当前提交
5f0b785b90
共有 1 个文件被更改,包括 32 次插入0 次删除
  1. +32
    -0
      src/applet/app/controllers/TaobaoCallBackController.php

+ 32
- 0
src/applet/app/controllers/TaobaoCallBackController.php 查看文件

@@ -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
));
}


}

正在加载...
取消
保存