diff --git a/api/user.js b/api/user.js
index fe95985..d809e72 100644
--- a/api/user.js
+++ b/api/user.js
@@ -62,6 +62,12 @@ export function logout() {
});
}
+export function deleteUser() {
+ return http.get("/my/deleteUser", null, {
+ requireAuth: true
+ });
+}
+
export function validateCode(phone, code) {
return http.get("/my/validate_code", {
phone,
diff --git a/manifest.json b/manifest.json
index 231e162..b85d6fe 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "梦航学习宝",
"appid" : "__UNI__640EC10",
"description" : "1.1",
- "versionName" : "1.0.8",
- "versionCode" : 108,
+ "versionName" : "1.0.9",
+ "versionCode" : 109,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
@@ -62,8 +62,9 @@
"urltypes" : "zsff.xinbadaweb.cn",
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "该应用需要读取你的相册,用于设置个人头像",
- "NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,用于设置个人头像",
- "NSLocationWhenInUseUsageDescription" : "该应用需要获取你的地理位置,以便为你推荐附近的线下课程"
+ "NSPhotoLibraryAddUsageDescription" : "该应用需要写入你的相册,用于设置个人头像",
+ "NSLocationWhenInUseUsageDescription" : "该应用需要获取你的地理位置,以便为你推荐附近的线下课程",
+ "NSCameraUsageDescription" : "该应用需要调用摄像头,用于设置个人头像"
},
"idfa" : false
},
diff --git a/pages/my/user_info.vue b/pages/my/user_info.vue
index 54c4491..074986e 100644
--- a/pages/my/user_info.vue
+++ b/pages/my/user_info.vue
@@ -41,6 +41,9 @@
+
@@ -76,7 +79,7 @@
diff --git a/pages/special/record.vue b/pages/special/record.vue
index e59c589..15cdf55 100644
--- a/pages/special/record.vue
+++ b/pages/special/record.vue
@@ -144,7 +144,7 @@ export default {
this.loadTitle = this.loadend ? "我是有底线的" : "上拉加载更多";
this.$set(this, "specials", specials);
} catch (err) {
- that.loading = false;
+ this.loading = false;
this.loadTitle = "加载更多";
}
uni.hideLoading();