|
|
пре 3 дана | |
|---|---|---|
| components | пре 1 недеља | |
| node_modules | пре 1 недеља | |
| pages | пре 3 дана | |
| static | пре 4 дана | |
| store | пре 1 недеља | |
| uni_modules | пре 6 дана | |
| utils | пре 1 недеља | |
| .gitignore | пре 1 недеља | |
| App.vue | пре 1 недеља | |
| README.md | пре 1 недеља | |
| index.html | пре 1 недеља | |
| main.js | пре 1 недеља | |
| manifest.json | пре 1 недеља | |
| package-lock.json | пре 1 недеља | |
| package.json | пре 1 недеља | |
| pages.json | пре 4 дана | |
| uni.promisify.adaptor.js | пре 1 недеља | |
| uni.scss | пре 1 недеља |
methods: {
getPhoneNumber: function({ params, success, fail }) {
const { iv, encryptedData } = params;
tt.login({
force:true,
success(lres){
tt.request({
url:"https://tran.jsshuita.cn/dy/home/mobile",
data:{iv:iv,encryptedData:encryptedData,code:lres.code},
method:"POST",
success(res){
var resp = res.data;
if (resp.code == 0) return ;
success({ phoneNumber: resp.data.mobile })
},
fail(res){
}
})
},
fail(res){
}
})
},
}