diff --git a/api/mine.js b/api/mine.js
index 7a536f3..64cbe01 100644
--- a/api/mine.js
+++ b/api/mine.js
@@ -3,7 +3,9 @@
const USER_REGISTER = BASE_URL + '/webserver/userInfo/saveUserRegInfo.do'
const USER_LOGIN = BASE_URL + '/webserver/userInfo/verifyUserLoginInfo.do'
-const USER_UPDATE = BASE_URL + '/webserver/userInfo/modifyPersonPassword.do'
+const ENCRYPT = BASE_URL + '/webserver/secretController/encrypt'
+const DECRYPR = BASE_URL + '/webserver/secretController/decrypt'
+const CODE = BASE_URL + '/webserver/captchaController/generateVerifyCodeOfReport.do'
// 用户注册
export function registerUser(data) {
return fetch.post(USER_REGISTER, data, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
@@ -16,5 +18,17 @@
export function updateUser(data) {
return fetch.post(USER_UPDATE, data, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
}
+// 加密接口
+export function encryption(data) {
+ return fetch.post(ENCRYPT, {str: data, token: ''}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
+// 解密接口
+export function decryption(data) {
+ return fetch.post(DECRYPR, {str: data, token: ''}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
+// 获取验证码图片
+export function getCode(data) {
+ return fetch.post(`${CODE}?timeStr=${new Date().getTime()}`, {index: '0.6261334077388199'}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
diff --git a/api/mine.js b/api/mine.js
index 7a536f3..64cbe01 100644
--- a/api/mine.js
+++ b/api/mine.js
@@ -3,7 +3,9 @@
const USER_REGISTER = BASE_URL + '/webserver/userInfo/saveUserRegInfo.do'
const USER_LOGIN = BASE_URL + '/webserver/userInfo/verifyUserLoginInfo.do'
-const USER_UPDATE = BASE_URL + '/webserver/userInfo/modifyPersonPassword.do'
+const ENCRYPT = BASE_URL + '/webserver/secretController/encrypt'
+const DECRYPR = BASE_URL + '/webserver/secretController/decrypt'
+const CODE = BASE_URL + '/webserver/captchaController/generateVerifyCodeOfReport.do'
// 用户注册
export function registerUser(data) {
return fetch.post(USER_REGISTER, data, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
@@ -16,5 +18,17 @@
export function updateUser(data) {
return fetch.post(USER_UPDATE, data, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
}
+// 加密接口
+export function encryption(data) {
+ return fetch.post(ENCRYPT, {str: data, token: ''}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
+// 解密接口
+export function decryption(data) {
+ return fetch.post(DECRYPR, {str: data, token: ''}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
+// 获取验证码图片
+export function getCode(data) {
+ return fetch.post(`${CODE}?timeStr=${new Date().getTime()}`, {index: '0.6261334077388199'}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
diff --git a/packageIndex/supervisor/supervisor.vue b/packageIndex/supervisor/supervisor.vue
index 1bb73f7..a12858e 100644
--- a/packageIndex/supervisor/supervisor.vue
+++ b/packageIndex/supervisor/supervisor.vue
@@ -12,7 +12,7 @@
申报资料填写
- 请下载并填写申报表
+ 请前往官方网站下载,填写申请表
diff --git a/api/mine.js b/api/mine.js
index 7a536f3..64cbe01 100644
--- a/api/mine.js
+++ b/api/mine.js
@@ -3,7 +3,9 @@
const USER_REGISTER = BASE_URL + '/webserver/userInfo/saveUserRegInfo.do'
const USER_LOGIN = BASE_URL + '/webserver/userInfo/verifyUserLoginInfo.do'
-const USER_UPDATE = BASE_URL + '/webserver/userInfo/modifyPersonPassword.do'
+const ENCRYPT = BASE_URL + '/webserver/secretController/encrypt'
+const DECRYPR = BASE_URL + '/webserver/secretController/decrypt'
+const CODE = BASE_URL + '/webserver/captchaController/generateVerifyCodeOfReport.do'
// 用户注册
export function registerUser(data) {
return fetch.post(USER_REGISTER, data, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
@@ -16,5 +18,17 @@
export function updateUser(data) {
return fetch.post(USER_UPDATE, data, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
}
+// 加密接口
+export function encryption(data) {
+ return fetch.post(ENCRYPT, {str: data, token: ''}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
+// 解密接口
+export function decryption(data) {
+ return fetch.post(DECRYPR, {str: data, token: ''}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
+// 获取验证码图片
+export function getCode(data) {
+ return fetch.post(`${CODE}?timeStr=${new Date().getTime()}`, {index: '0.6261334077388199'}, {}, {'content-type': 'application/x-www-form-urlencoded'}).then(res => res);
+}
diff --git a/packageIndex/supervisor/supervisor.vue b/packageIndex/supervisor/supervisor.vue
index 1bb73f7..a12858e 100644
--- a/packageIndex/supervisor/supervisor.vue
+++ b/packageIndex/supervisor/supervisor.vue
@@ -12,7 +12,7 @@
申报资料填写
- 请下载并填写申报表
+ 请前往官方网站下载,填写申请表
diff --git a/packageMine/accountBound/accountBound.vue b/packageMine/accountBound/accountBound.vue
index 686c9cb..6bd808e 100644
--- a/packageMine/accountBound/accountBound.vue
+++ b/packageMine/accountBound/accountBound.vue
@@ -51,7 +51,7 @@