wugg 2 年之前
父节点
当前提交
1b20f779ab
共有 1 个文件被更改,包括 18 次插入0 次删除
  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);
+   }
+}