Browse Source

校长信箱接口修改

RaoMeng 6 years ago
parent
commit
c03288ceee

+ 1 - 1
frontend/wechat-web/src/configs/api.config.js

@@ -9,7 +9,7 @@ import store from './../redux/store/store'
  */
  */
 // export const _baseURL = 'https://tmobile.ydyhz.com/school'
 // export const _baseURL = 'https://tmobile.ydyhz.com/school'
 // export const _baseURL = 'http://10.1.80.101:9560'
 // export const _baseURL = 'http://10.1.80.101:9560'
-export const _baseURL = 'https://school-api.ubtob.com/api/school'
+export const _baseURL = 'https://school-api.ydyhz.com/api/school'
 // export const _baseURL = 'https://school-api.ydyhz.com/api/school/grade/read/1'
 // export const _baseURL = 'https://school-api.ydyhz.com/api/school/grade/read/1'
 
 
 export const API = {
 export const API = {

+ 1 - 1
frontend/wechat-web/src/modules/accountBind/BindMenu.jsx

@@ -49,7 +49,7 @@ class BindMenu extends Component {
                 })
                 })
                 window.location.href =
                 window.location.href =
                     'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' +
                     'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' +
-                    this.paramId + '&redirect_uri=https%3a%2f%2fschool-api.ubtob.com%2fapi%2fschool%2fwxSchool%2fuser%2fuserLogin&response_type=code&scope=snsapi_userinfo&state=' +
+                    this.paramId + '&redirect_uri=https%3a%2f%2fschool-api.ydyhz.com%2fapi%2fschool%2fwxSchool%2fuser%2fuserLogin&response_type=code&scope=snsapi_userinfo&state=' +
                     this.paramId + '&connect_redirect=1#wechat_redirect'
                     this.paramId + '&connect_redirect=1#wechat_redirect'
             }
             }