Browse Source

修改了appid

master
longjieli 5 months ago
parent
commit
18b1b1a3f6
4 changed files with 10 additions and 9 deletions
  1. +1
    -1
      config.js
  2. +1
    -1
      manifest.json
  3. +1
    -1
      pages/center/center.vue
  4. +7
    -6
      pages/reject/reject.vue

+ 1
- 1
config.js View File

@ -13,7 +13,7 @@ const type = 'prod'
// 环境配置
const config = {
dev : {
// baseUrl : 'http://admin.anqi.shop/a-notice-api',
// baseUrl : 'https://school-admin.xzaiyp.top',
baseUrl : 'http://h5.xzaiyp.top/school-api',
},
prod : {


+ 1
- 1
manifest.json View File

@ -54,7 +54,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wx3c24e397e3b132ea",
"appid" : "wxf215f4abe6f854a3",
"setting" : {
"urlCheck" : false
},


+ 1
- 1
pages/center/center.vue View File

@ -86,7 +86,7 @@
//退
logout() {
uni.navigateTo({
uni.reLaunch({
url: '/pages/login/login'
})
uni.removeStorageSync('token');


+ 7
- 6
pages/reject/reject.vue View File

@ -45,18 +45,19 @@
//
submit() {
this.$refs.form.validate().then(res => {
this.$api('editSchoolOrderError', this.form, res => {
if (res.code == 200) {
uni.redirectTo({
url: '/pages/order/order'
})
}
})
}).catch(errors => {
uni.showToast({
icon: 'none',
title: '请填写驳回原因'
})
})
this.$api('editSchoolOrderError', this.form, res => {
if (res.code == 200) {
console.log(res);
}
})
},
//


Loading…
Cancel
Save