forked from useryangtao/vue-wechat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase-person.js
46 lines (46 loc) · 1.16 KB
/
base-person.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//个人,群 公众号 基本 数据模型
/*
id
name
wxid
qq
email
type [friends:好友/group:群/service:服务号/sub:订阅号]
iconSrc
qrCode
signature //签名
newsUnreadCount {Number} //未读
endTimeStr //最后消息
endChatAuth //最后消息作者
endChatTxt //最后消息内容
chatBackground //聊天背景
newsMute {Boolean} //消息免打扰
area
selfPhotos
telphone
*/
module.exports = {
"base": {
"id": 1,
"nickname": "杨涛",
"remark":"杨涛",
"wxid": "wxid_yangtao",
"qq": "00001",
"email": "[email protected]",
"type": "firends",
"iconSrc": "//images2015.cnblogs.com/blog/528573/201609/528573-20160922181803449-1753077357.jpg",
"qrCode": "",
"telphone":18812345678,
"signature": "个性签名",
"area":["中国","北京","海淀"],
"selfPhotos":[{imgSrc:""}]
},
"chatPrevivw": {
"newsUnreadCount": 1, //未读
"endTimeStr": 1472632586443,
"endChatAuth": "杨涛",
"endChatTxt": "晚上打球",
"chatBackground": null, //聊天背景
"newsMute": false
}
}