diff --git a/app/portal/controller/PrizeController.php b/app/portal/controller/PrizeController.php
index fd36b77..1e868fa 100644
--- a/app/portal/controller/PrizeController.php
+++ b/app/portal/controller/PrizeController.php
@@ -139,25 +139,11 @@ class PrizeController extends WeChatBaseController
     public function getScore(){
         $app = new Application($this->options);
         $js = $app->js;
-        $jss = $js->config(['chooseImage', 'uploadImage', 'previewImage'], $debug = false, $beta = false, $json = true);
+        $jss = $js->config(['chooseImage', 'uploadImage', 'previewImage'], $debug = true, $beta = false, $json = true);
         $this->assign('js',$jss);
         return $this->fetch('getScore');
     }
 
-
-    //上传小票
-    public function upload(){
-        $options = [
-            'app_id' => config('wechat_config.app_id'),
-            'secret' => config('wechat_config.secret'),
-            'payment' => config('wechat_config.payment'),
-        ];
-        $app = new Application($options);
-        $js = $app->js;
-        $jss = $js->config(['chooseImage', 'uploadImage', 'previewImage'], $debug = false, $beta = false, $json = true);
-        $this->assign('js', $jss);
-        return $this->fetch();
-    }
     //上传小票提交
     public function uploadPost(){
         $param = $this->request->param();