From 06e3c3dc879ceb27a5a995759c6fa97a7233b9fb Mon Sep 17 00:00:00 2001
From: 潘浩文 <phw@bronet.cn>
Date: Mon, 22 Oct 2018 16:57:33 +0800
Subject: [PATCH] 1

---
 public/themes/simpleboot3/portal/prize/getScore.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/themes/simpleboot3/portal/prize/getScore.html b/public/themes/simpleboot3/portal/prize/getScore.html
index d21d99d..9b6a6a9 100644
--- a/public/themes/simpleboot3/portal/prize/getScore.html
+++ b/public/themes/simpleboot3/portal/prize/getScore.html
@@ -128,6 +128,7 @@
 //            }
 //
 //        }
+        var serverIds = '';
 wx.ready(function () {
     $('#imghead').click(function () {
 //        var id = $(this).attr('id');
@@ -149,8 +150,7 @@ wx.ready(function () {
             localId: localIds,
             isShowProgressTips: 1,
             success: function (res) {
-                var serverId = res.serverId; // 返回图片的服务器端ID
-                serverIds += id+':'+serverId + ',';
+                serverIds = res.serverId; // 返回图片的服务器端ID
             },
             fail: function (res) {
                 $modal.toast(JSON.stringify(res));
--
libgit2 0.24.0