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