|
@@ -12,8 +12,8 @@ use think\Db; |
|
@@ -12,8 +12,8 @@ use think\Db; |
|
12
|
*/
|
12
|
*/
|
|
13
|
class Wechat {
|
13
|
class Wechat {
|
|
14
|
static public $app = null;
|
14
|
static public $app = null;
|
|
15
|
- static private $appid= '';
|
|
|
|
16
|
- static private $appsecret= '';
|
15
|
+ static public $appid= '';
|
|
|
|
16
|
+ static public $appsecret= '';
|
|
17
|
|
17
|
|
|
18
|
static private $inc = null;
|
18
|
static private $inc = null;
|
|
19
|
|
19
|
|
|
@@ -31,6 +31,7 @@ class Wechat { |
|
@@ -31,6 +31,7 @@ class Wechat { |
|
31
|
}
|
31
|
}
|
|
32
|
return self::$inc;
|
32
|
return self::$inc;
|
|
33
|
}
|
33
|
}
|
|
|
|
34
|
+
|
|
34
|
|
35
|
|
|
35
|
//初始化 easywechat app
|
36
|
//初始化 easywechat app
|
|
36
|
static public function initWechat(){
|
37
|
static public function initWechat(){
|