zj #69

Merged
asd merged 9 commits from zj into master 2020-10-23 01:56:47 +00:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit bf3ba7228e - Show all commits

View File

@ -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){

View File

@ -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 {

View File

@ -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()
} }