Browse Source

修改重定向

tuonina 5 years ago
parent
commit
5a7d3b87d8
2 changed files with 1 additions and 3 deletions
  1. 1 1
      src/const/qywx.json
  2. 0 2
      src/pages/qywx/QywxSearch.jsx

+ 1 - 1
src/const/qywx.json

@@ -1,6 +1,6 @@
 {
 {
   "appId": "ww8f998c05fc31f118",
   "appId": "ww8f998c05fc31f118",
-  "redirect_url": "http://portal.tonyandmoney.cn/",
+  "redirect_url": "http://portal.tonyandmoney.cn/wx",
   "response_type": "code",
   "response_type": "code",
   "scope": "snsapi_userinfo",
   "scope": "snsapi_userinfo",
   "path": "https://open.weixin.qq.com/connect/oauth2/authorize?",
   "path": "https://open.weixin.qq.com/connect/oauth2/authorize?",

+ 0 - 2
src/pages/qywx/QywxSearch.jsx

@@ -58,9 +58,7 @@ class QywxSearch extends React.Component {
 
 
     render() {
     render() {
         let { data: results = [], isFetching } = this.props.searchResults || {};
         let { data: results = [], isFetching } = this.props.searchResults || {};
-
         console.log('qywx search data=> ', isFetching, results);
         console.log('qywx search data=> ', isFetching, results);
-
         return (<div>
         return (<div>
             <div className="qywx-search">
             <div className="qywx-search">
                 <h3 className="search-title">搜索</h3>
                 <h3 className="search-title">搜索</h3>