diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..07b129c --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,10 @@ +{ + "version" : "1.0", + "configurations" : [ + { + "customPlaygroundType" : "device", + "playground" : "standard", + "type" : "uni-app:app-android" + } + ] +} diff --git a/api/group.js b/api/group.js index f0e2965..e7e2162 100644 --- a/api/group.js +++ b/api/group.js @@ -8,4 +8,5 @@ export const groupAPI = { getList: (params) => http.get(baseURL + '/group/list', params), add: (data) => http.post(baseURL + '/group/', data), getOne: (params) => http.get(baseURL + '/group/one', params), + getById: (groupId) => http.get(baseURL + '/group/'+ groupId), } \ No newline at end of file diff --git a/api/message.js b/api/message.js new file mode 100644 index 0000000..13513ba --- /dev/null +++ b/api/message.js @@ -0,0 +1,17 @@ +import { + http +} from "../util/api" + +const baseURL = "http://192.168.0.15:3007" + +// 项目相关API +export const messageAPI = { + // 列表 + read: (params) => http.post(baseURL + '/message/read', params), + unread: (params) => http.get(baseURL + '/message/unread', params), + list: (params) => http.get(baseURL + "/message/list", params) +} + +export default { + messageAPI +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 905739b..54c3a8f 100644 --- a/manifest.json +++ b/manifest.json @@ -45,7 +45,9 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "dSYMs" : false + }, /* SDK配置 */ "sdkConfigs" : { "payment" : { diff --git a/pages.json b/pages.json index 9a051aa..afca67f 100644 --- a/pages.json +++ b/pages.json @@ -69,7 +69,8 @@ "style" : { "navigationBarTitleText" : "聊天页面", - "navigationStyle": "custom" + "navigationStyle": "custom", + "enablePullDownRefresh": true } } ], diff --git a/pages/message/chat.vue b/pages/message/chat.vue index 340fe66..677f1f2 100644 --- a/pages/message/chat.vue +++ b/pages/message/chat.vue @@ -1,9 +1,9 @@