|
|
@@ -6,6 +6,7 @@ use biz\admin\services\ShopAdminService;
|
|
|
use biz\admin\services\AdminService;
|
|
|
use biz\auth\services\AuthService;
|
|
|
use biz\user\classes\UserClass;
|
|
|
+use biz\wx\classes\WxOpenClass;
|
|
|
use biz\wx\services\WxOpenService;
|
|
|
use common\components\httpUtil;
|
|
|
use common\components\jwt;
|
|
|
@@ -174,9 +175,12 @@ class AuthController extends PublicController
|
|
|
if (empty($code)) {
|
|
|
util::fail('没有CODE信息');
|
|
|
}
|
|
|
- $wxMiniBase = WxOpenService::getWxMiniBase();
|
|
|
- $appId = $wxMiniBase['miniAppId'];
|
|
|
- $appSecret = $wxMiniBase['miniAppSecret'];
|
|
|
+// $wxMiniBase = WxOpenClass::getGhsWxMiniBase();
|
|
|
+// $appId = $wxMiniBase['miniAppId'];
|
|
|
+// $appSecret = $wxMiniBase['miniAppSecret'];
|
|
|
+ //暂时先写死
|
|
|
+ $appId = 'wx21b7c3ef12082099';
|
|
|
+ $appSecret = 'fd21ef3ebbc70e89d5c3a5a3c013edb6';
|
|
|
if (empty($appSecret)) {
|
|
|
util::fail('没有找到小程序的密钥');
|
|
|
}
|