diff --git a/api/question/questionApi.js b/api/question/questionApi.js
index 8add50f..f5cbfe7 100644
--- a/api/question/questionApi.js
+++ b/api/question/questionApi.js
@@ -61,4 +61,31 @@ export function queryQuestionAnswerTitle(_data) {
})
}
+/**
+ * add by wuxw
+ * @param {Object} _data 保存 用户地址
+ */
+export function saveUserQuestionAnswerValue(_data){
+
+ return new Promise((resolve, reject) => {
+ let moreRooms = [];
+ request({
+ url: url.saveUserQuestionAnswerValue,
+ method: "POST",
+ data: _data, //动态数据
+ success: function(res) {
+ let _data = res.data;
+ if (_data.code == 0) {
+ resolve(_data);
+ return ;
+ }
+ reject(_data.msg);
+ },
+ fail: function(e) {
+ reject(e);
+ }
+ });
+ })
+}
+
diff --git a/constant/url.js b/constant/url.js
index b848b96..74058fc 100644
--- a/constant/url.js
+++ b/constant/url.js
@@ -116,6 +116,7 @@ export default {
queryContract:baseUrl + "app/contract/queryContract",
queryQuestionAnswer:baseUrl + "app/questionAnswer/queryQuestionAnswer",
queryQuestionAnswerTitle:baseUrl + "app/questionAnswer/queryQuestionAnswerTitle",
+ saveUserQuestionAnswerValue:baseUrl + "app/userQuestionAnswer/saveUserQuestionAnswerValue",
NEED_NOT_LOGIN_PAGE: [
'/pages/login/login',
diff --git a/pages/questionAnswer/questionAnswer.vue b/pages/questionAnswer/questionAnswer.vue
index db50ab3..ef86de9 100644
--- a/pages/questionAnswer/questionAnswer.vue
+++ b/pages/questionAnswer/questionAnswer.vue
@@ -12,6 +12,7 @@
结束时间: {{question.endTime}}
已结束
+ 已投票