Pārlūkot izejas kodu

修改重定向

tuonina 5 gadi atpakaļ
vecāks
revīzija
5a7d3b87d8
2 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  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",
-  "redirect_url": "http://portal.tonyandmoney.cn/",
+  "redirect_url": "http://portal.tonyandmoney.cn/wx",
   "response_type": "code",
   "scope": "snsapi_userinfo",
   "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() {
         let { data: results = [], isFetching } = this.props.searchResults || {};
-
         console.log('qywx search data=> ', isFetching, results);
-
         return (<div>
             <div className="qywx-search">
                 <h3 className="search-title">搜索</h3>