|
@@ -0,0 +1,18 @@
|
|
|
+<?php
|
|
|
+declare (strict_types = 1);
|
|
|
+
|
|
|
+namespace app\youzan\controller;
|
|
|
+
|
|
|
+use app\BaseController;
|
|
|
+use think\facade\Cache;
|
|
|
+use think\Request;
|
|
|
+
|
|
|
+class Push extends BaseController
|
|
|
+{
|
|
|
+ public function GetPush(){
|
|
|
+ $data =$this->request->post();
|
|
|
+ $header=$this->request->header(['Event-Sign','Event-Type','Client-Id']);
|
|
|
+ Cache::set("header",$header);
|
|
|
+ Cache::set("youzan",$data);
|
|
|
+ }
|
|
|
+}
|