zj #69
@ -12,7 +12,7 @@ import { del, get, post, put, setToken } from './base'
|
|||||||
* @param password 密码
|
* @param password 密码
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export async function loginpass(phone: string, password: string,type?:number,smscode?:string){
|
export async function loginpass(phone: string, password: string,type?: number,smscode?: string){
|
||||||
let newdata={}
|
let newdata={}
|
||||||
if(type==1){
|
if(type==1){
|
||||||
newdata={type:type?type:2,username: phone, smscode: smscode}
|
newdata={type:type?type:2,username: phone, smscode: smscode}
|
||||||
@ -595,7 +595,7 @@ export async function getquhaolist() {
|
|||||||
/**
|
/**
|
||||||
* 获取时区列表
|
* 获取时区列表
|
||||||
*/
|
*/
|
||||||
export async function getzonelist():Promise<any>{
|
export async function getzonelist(): Promise<any>{
|
||||||
const res=await get("timezones")
|
const res=await get("timezones")
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
return res.data
|
return res.data
|
||||||
@ -796,7 +796,7 @@ export async function cancellive(id: number, status: number){
|
|||||||
/**
|
/**
|
||||||
* 修改手机号
|
* 修改手机号
|
||||||
*/
|
*/
|
||||||
export async function changetel(e:string) {
|
export async function changetel(e: string) {
|
||||||
const res = await put(`member/${store.state.userinfo.memberid}`,{mobile:e});
|
const res = await put(`member/${store.state.userinfo.memberid}`,{mobile:e});
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if(res.code == 0){
|
if(res.code == 0){
|
||||||
|
@ -233,9 +233,9 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
};
|
};
|
||||||
function getquhao(e ?:any){
|
function getquhao(e?: any){
|
||||||
console.log(e)
|
console.log(e)
|
||||||
myquhao.value=e.toString()
|
myquhao.value = e.toString()
|
||||||
console.log(myquhao.value)
|
console.log(myquhao.value)
|
||||||
}
|
}
|
||||||
function login(): void {
|
function login(): void {
|
||||||
|
@ -443,7 +443,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function getquhao(e ?:any){
|
function getquhao(e?: any){
|
||||||
console.log(e)
|
console.log(e)
|
||||||
myquhao.value=e.toString()
|
myquhao.value=e.toString()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user