斜塘答题

master
lion 2 years ago
commit 8b78f09e2c

@ -162,7 +162,8 @@
let redirect = encodeURIComponent(link.replace(/#\//, ""))
// let appid = 'wx7b33df2cb829cec6'
let appid = 'wxbf4862e929ab85b0'
uni.setStorageSync('userInfo_token', {"token":"7881|46ePF9WTeCxRWTioGoy6Sf1zVvwaCCb4DOQYm5FQ","user_id":5101});
// uni.setStorageSync('userInfo_token', {"token":"7777|QHwrodQSA6dhth3TEYjIwJfW2BNok5azI9CO25yb","user_id":5081});
window.location.href =
`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${redirect}&response_type=code&scope=snsapi_base#wechat_redirect`

@ -199,7 +199,7 @@
url = '/pages/me/me'
}
console.log(userinfo,url,isclick)
return
// return
if(isclick){
uni.navigateTo({
url:url

@ -194,6 +194,7 @@ export default {
api: '/api/mobile/quiz/get-departments',
data: this.form,
method: 'GET',
customLoading: true,
utilSuccess: function(res) {
let _arr = []
res.map(item=>{
@ -209,6 +210,9 @@ export default {
openPicker(){
uni.hideKeyboard()
this.partyShow = true
if (this.partyColumns.length === 0) {
this.getParty()
}
},
confirmParty(e){
console.log(e)

Loading…
Cancel
Save