提交 c072be13 编写于 作者: “grape”'s avatar “grape”

注册登录

上级 d78c3de8
......@@ -21,5 +21,7 @@ VUE_APP_MS_APPLICATION_API = http://15.1.48.21:9140/ms-application
VUE_APP_QL_FORM_API = http://152.136.68.93:9018/ms-qing-long/api/v1/des-cache-info/permit_endpoint/query-cacheversion-by-appid-cachetype
// 启动网关 (on | off)
VUE_APP_ENABLE_GATEWAY = off
VUE_APP_BASE_API = http://10.2.3.118:9165/online-financial-service/api/v1/cust-info/permit_endpoint
......@@ -8,9 +8,12 @@
*/
import { MethodType } from "@/constants/enum/general/method-type.enum";
import { HeaderType } from "@/constants/enum/general/header-type.enum";
const prefix = "http://10.0.2.248:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
// const prefix = process.env.VUE_APP_BASE_API;
console.log(prefix+"=================");
// const prefix = "http://10.0.2.248:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
const prefix = process.env.VUE_APP_BASE_API;
// const prefix = "http://10.0.3.144:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
// console.log(prefix+"=================");
const loginApi = {
updatePicCode: {
url: prefix + "/getVerifyCode",
......
......@@ -10,7 +10,9 @@ import { MethodType } from "@/constants/enum/general/method-type.enum";
import { HeaderType } from "@/constants/enum/general/header-type.enum";
// const prefix = "http://10.2.3.118:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
const prefix = "http://10.0.2.248:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
// const prefix = "http://10.0.3.144:9165/online-financial-service/api/v1/cust-info/permit_endpoint"
const prefix = process.env.VUE_APP_BASE_API;
const registApi = {
registSystem: {
url: prefix + "/register",
......
......@@ -176,9 +176,12 @@ class ApiService {
path = query != null ? this.urlQueryConvert(path, query) : path;
console.log("服务调用--" + path);
return Vue.axios.post(`${path}`, params, requestConfig).then(this.createBusCodeHandler(query)).catch(this.createErrorHandler());
// return Vue.axios.post(`${path}`, params, requestConfig).then(this.createBusCodeHandler(query)).catch(this.createErrorHandler());
return Vue.axios.post(`${path}`, params, requestConfig).then(res=>{
//TODO
return res.data
});
}
/**
* POST请求 文件上传
......
......@@ -195,21 +195,23 @@ export default class LoginView extends Vue {
//验证码失败刷新
//this._updatePicCode();
let param = {
phone: this.loginNo,
loginNo: this.loginNo,
//图形验证码
imageVerifyKey: this.imageSrcValue,
//渠道
loginType: "2",
loginType: "5",
//手机验证码
messCode: this.sms,
//密码
passWord: this.password
credential: this.password
}
apiService.general(loginApi.loginSystem, undefined, param, undefined).then((response: RestfulResponse) => {
console.log(response);
//发送请求就保存账号
localStorage.setItem('loginNo', this.loginNo);
// debugger;
if (response.code == Code.SUCCESS.code) {
Toast(response.msg+"");
this.$router.push({
name: `Mianview`,
params: {
......
......@@ -152,7 +152,7 @@ export default class ForgetPassView extends Vue {
registSystem() {
if (this.password === this.restpassword && this.checked) {
let param = {
phone: this.phone,
loginNo: this.phone,
//短信验证码TODO
phoneVerifyCode: this.sms,
//数字渠道
......@@ -170,6 +170,7 @@ export default class ForgetPassView extends Vue {
}
})
}
Toast(response.msg + "");
});
}
}
......
......@@ -302,7 +302,7 @@
</van-row>
</div>
<scroller-view v-calculate-height class="product">
<scroller-view v-calculate-height pulldown="true" pullup="true" :height="10000" class="product" >
<div
v-for="(item, index) in productList"
:key="index"
......@@ -374,6 +374,10 @@ export default class Main extends Vue {
vanvcol42 = "vandilote";
vanvcol43 = "vandilote";
vanvcol44 = "vandilote";
active=0;
areaList = area;
outcsinfo = {
......
......@@ -2,7 +2,7 @@
* @ Author: zhaowei
* @ Create Time: 2022-09-3 10:20:17
* @ Modified by: zhaowei
* @ Modified time: 2022-09-03 11:39:54
* @ Modified time: 2022-09-03 11:41:35
* @ Description:
-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册