|
@@ -147,13 +147,13 @@ export default {
|
|
|
// if (this.$method.isGoLogin()) { // 扫二维码进来的没登录需要跳到登录页,登录后返回
|
|
|
// return
|
|
|
// }
|
|
|
- console.log('222222222222222')
|
|
|
- if (!uni.getStorageSync('user_account')) {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages4/login/login?isBack=true'
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
+ // console.log('222222222222222')
|
|
|
+ // if (!uni.getStorageSync('user_account')) {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages4/login/login?isBack=true'
|
|
|
+ // })
|
|
|
+ // return
|
|
|
+ // }
|
|
|
this.getActivity()
|
|
|
},
|
|
|
// 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
// 获取活动信息
|
|
|
getActivity() {
|
|
|
this.$http({
|
|
|
- url: `/apply/detail/${this.activityId}`,
|
|
|
+ url: `/app/common/detail/${this.activityId}`,
|
|
|
method: 'get'
|
|
|
}).then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
@@ -202,7 +202,7 @@ export default {
|
|
|
params.userMajors = this.examform.userMajors.join(',')
|
|
|
console.log('eret', params)
|
|
|
this.$http({
|
|
|
- url: '/apply/launch',
|
|
|
+ url: '/app/common/launch',
|
|
|
method: 'post',
|
|
|
data: params,
|
|
|
}).then((res) => {
|