diff --git a/application/home/controller/Goods.php b/application/home/controller/Goods.php
index 787f56f..06e49fe 100644
--- a/application/home/controller/Goods.php
+++ b/application/home/controller/Goods.php
@@ -118,7 +118,7 @@ class Goods extends WechatBase
         ];
         $app = new Application($options);
         $js = $app->js;
-        $jssdk = $js->config(['getLocation'], $debug = false, $beta = false, $json = true);
+        $jssdk = $js->config(['getLocation'], $debug = true, $beta = false, $json = true);
         $this->assign('jssdk',$jssdk);
         if($data['type'] == 1){
             return $this->fetch('video_detail');