wugg 2 years ago
parent
commit
1b20f779ab
1 changed files with 18 additions and 0 deletions
  1. 18 0
      app/youzan/controller/Push.php

+ 18 - 0
app/youzan/controller/Push.php

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