@@ -6,7 +6,7 @@ from message.models import SystemMessageDeleteInfo, SystemMessageInfo, SystemMes |
||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
class UserMessageInfoAdmin(admin.ModelAdmin): |
9 |
- list_display = ('from_uid', 'from_nickname', 'from_avatar', 'to_uid', 'group_id', 'photo_id', 'msg_type', 'read', 'status', 'created_at', 'updated_at') |
|
9 |
+ list_display = ('from_uid', 'from_nickname', 'to_uid', 'group_id', 'photo_id', 'msg_type', 'read', 'status', 'created_at', 'updated_at') |
|
10 | 10 |
list_filter = ('msg_type', 'read', 'status') |
11 | 11 |
|
12 | 12 |
|
@@ -49,7 +49,7 @@ |
||
49 | 49 |
], wxApiFun |
50 | 50 |
|
51 | 51 |
function isOpenOnPC() { // 判断当前网页是否在 PC 浏览器中打开 |
52 |
- ua = navigator.userAgent |
|
52 |
+ var ua = navigator.userAgent |
|
53 | 53 |
return /windows nt/i.test(ua) || /macintosh/i.test(ua) || /linux x86_64/i.test(ua) |
54 | 54 |
} |
55 | 55 |
|
@@ -113,7 +113,7 @@ |
||
113 | 113 |
if (JSWE.wxFail) {JSWE.wxFail()} |
114 | 114 |
} |
115 | 115 |
}, shareInfo = function(flag) { |
116 |
- _share = { |
|
116 |
+ var _share = { |
|
117 | 117 |
title: flag ? wxData.title : (wxData.timeLine || wxData.desc), |
118 | 118 |
link: wxData.link, |
119 | 119 |
imgUrl: wxData.imgUrl, |
@@ -161,7 +161,7 @@ |
||
161 | 161 |
} |
162 | 162 |
|
163 | 163 |
function initWxData(data, flag) { |
164 |
- for(d in data) {if (d in wxData) wxData[d] = data[d]} |
|
164 |
+ for(var d in data) {if (d in wxData) wxData[d] = data[d]} |
|
165 | 165 |
if (flag) fixedWxData() |
166 | 166 |
} |
167 | 167 |
|
@@ -174,7 +174,7 @@ |
||
174 | 174 |
if ('undefined' !== typeof wxApiFun) wxApiFun() |
175 | 175 |
} |
176 | 176 |
|
177 |
- v = { |
|
177 |
+ var v = { |
|
178 | 178 |
version: '1.0.0', |
179 | 179 |
|
180 | 180 |
// Basic Vars |