dever 5 vuotta sitten
vanhempi
commit
86e0e90722
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      service/src/Base.php

+ 2 - 2
service/src/Base.php

@@ -8,7 +8,7 @@ class Base
 
 	public function __construct()
     {
-        $this->location('list', array(), 'buy');
+        
         $p = Dever::input('p');
         if ($p) {
             $this->config = Dever::json_decode(Dever::decode($p, $this->key));
@@ -26,7 +26,7 @@ class Base
 
         $this->signature = Dever::input('signature');
         $this->source_type = Dever::input('source_type');
-
+        $this->location('list', array(), 'buy');
         $this->user = Dever::load('passport/user')->data();
         # 用户信息
         if (!$this->user && $this->signature) {