Ver código fonte

update

master
DengBiao 11 meses atrás
pai
commit
5f0b785b90
1 arquivos alterados com 32 adições e 0 exclusões
  1. +32
    -0
      src/applet/app/controllers/TaobaoCallBackController.php

+ 32
- 0
src/applet/app/controllers/TaobaoCallBackController.php Ver arquivo

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


}

Carregando…
Cancelar
Salvar