1.31 财务分析,财务数据模块完善,产业链桑基图展示
This commit is contained in:
1
unpackage/dist/build/mp-weixin/request/api.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/request/api.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("./http.js");exports.actualControl=t=>e.get("/api/stock/"+t+"/actual-control",null,!0),exports.agreements=()=>e.get("/api/agreements"),exports.analyseHighStocks=t=>e.get("/api/limit-analyse/high-position-stocks",t,!0),exports.branchesList=t=>e.get("/api/stock/"+t+"/branches",null,!0),exports.calendarCombinedData=t=>e.get("/api/v1/calendar/combined-data",t,!0),exports.calendarDataList=t=>e.get("/api/calendar/data",t),exports.calendarEventCount=t=>e.get("/api/calendar-event-counts",t),exports.calendarEventList=t=>e.get("/api/calendar/events",t),exports.cashflowSheet=(t,a)=>e.get("/api/financial/cashflow/"+t,a,!0),exports.commentEvent=(t,a)=>e.post("/post/create/"+t,a),exports.companyAnnouncementsList=(t,a)=>e.get("/api/stock/"+t+"/announcements",a,!0),exports.comprehensiveAnalysis=t=>e.get("/api/company/comprehensive-analysis/"+t,null,!0),exports.conceptDetails=(t,a)=>e.get("/concept-api/concept/"+t,a,!0),exports.conceptNews=t=>e.get("/news-api/search_china_news",t,!0),exports.conceptOtherDetails=(t,a)=>e.post("/api/market/trade/batch",a),exports.conceptRankList=t=>e.get("/concept-api/statistics",t,!0),exports.conceptReport=t=>e.get("/report-api/search",t,!0),exports.conceptStocks=(t,a)=>e.get("/api/concept/"+t+"/stocks",a,!0),exports.conceptsDailyTop=t=>e.get("/api/concepts/daily-top",t,!0),exports.eventCommentList=t=>e.get("/api/event/"+t+"/comments"),exports.eventHistoryEvent=t=>e.get("/api/event/"+t+"/historical-events"),exports.eventList=(t,a)=>e.get("/api/events",t,a),exports.eventRelatedConcept=t=>e.post("/concept-api/search",t),exports.eventRelatedStock=t=>e.get("/api/event/"+t+"/related-stocks-detail"),exports.feedback=t=>e.post("/api/user/feedback",t),exports.filterOptions=t=>e.get("/api/filter/options",t),exports.financialBalanceSheet=(t,a)=>e.get("/api/financial/balance-sheet/"+t,a,!0),exports.financialComparison=(t,a)=>e.get("/api/financial/comparison/"+t,a,!0),exports.financialMainBusiness=(t,a)=>e.get("/api/financial/main-business/"+t,a,!0),exports.financialMetrics=(t,a)=>e.get("/api/financial/financial-metrics/"+t,a,!0),exports.financialStockInfo=t=>e.get("/api/financial/stock-info/"+t,null,!0),exports.followEvent=t=>e.post("/event/follow/"+t),exports.homeData=t=>e.get("/api/home",t),exports.incomeStatementSheet=(t,a)=>e.get("/api/financial/income-statement/"+t,a,!0),exports.industryCategoryList=t=>e.get("/api/sector/hierarchy",t),exports.industryRankList=t=>e.get("/api/financial/industry-rank/"+t,null,!0),exports.investEventDetails=(t,a)=>e.get("/api/calendar/detail/"+t,a),exports.keyFactorsTimeline=t=>e.get("/api/company/key-factors-timeline/"+t,null,!0),exports.likeEventComment=t=>e.post("/post/like/"+t),exports.loginByPhone=t=>e.post("/api/auth/login/phone",t),exports.loginByWx=t=>e.post("/api/auth/login/wechat",t),exports.managementTeam=(t,a)=>e.get("/api/stock/"+t+"/management",a,!0),exports.marketHeatmap=t=>e.get("/api/market/heatmap",t,!0),exports.marketHotspotOverview=t=>e.get("/api/market/hotspot-overview",t,!0),exports.marketStatistics=t=>e.get("/api/market/statistics",t,!0),exports.membershipStatus=t=>e.get("/api/membership/status",t),exports.newestPriceDate=t=>e.get("/concept-api/price/latest",t,!0),exports.ownershipConcentration=t=>e.get("/api/stock/"+t+"/concentration",null,!0),exports.priceTimeline=(t,a)=>e.get("/concept-api/concept/"+t+"/price-timeseries",a,!0),exports.quoteDetailsInfo=t=>e.get("/api/stock/"+t+"/quote-detail",null,!0),exports.replyComment=(t,a)=>e.post("/post/comment/"+t,a),exports.searchStockInfo=t=>e.get("/api/stocks/search",t,!0),exports.sendSMS=t=>e.post("/api/auth/send-sms",t),exports.stockBasicInfo=t=>e.get("/api/stock/"+t+"/basic-info",null,!0),exports.stockCandlestickChartData=(t,a)=>e.get("/api/stock/"+t+"/kline",a),exports.stockCategoryList=t=>e.get("/api/sector/banner",t),exports.stockDetails=(t,a)=>e.get("/api/event/"+t+"/stock/"+a+"/detail"),exports.topCirculatingShareholdersList=(t,a)=>e.get("/api/stock/"+t+"/top-circulation-shareholders",a,!0),exports.topShareholdersList=(t,a)=>e.get("/api/stock/"+t+"/top-shareholders",a,!0),exports.updateBasicInfo=t=>e.post("/settings/profile",t),exports.updateInvestPreference=t=>e.post("/settings/investment_preferences",t),exports.userActivityList=t=>e.get("/api/user/activities",t),exports.userInfo=t=>e.get("/api/user/profile",t),exports.valueChainAnalysis=t=>e.get("/api/company/value-chain-analysis/"+t,null,!0),exports.valueChainRelatedCompany=t=>e.get("/api/company/value-chain/related-companies",t,!0),exports.wxBindPhone=t=>e.post("/api/auth/bindphone/wechat",t);
|
||||
1
unpackage/dist/build/mp-weixin/request/http.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/request/http.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js");let o="";o="https://api.valuefrontier.cn:5002",exports.get=function(t,n,i){return new Promise(((a,r)=>{let d=e.index.getStorageSync("token");e.index.showLoading({title:"加载中"});let s=o;i&&(s="https://api.valuefrontier.cn"),e.index.request({url:s+t,data:n,header:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded",Authorization:d?"Bearer "+d:""},method:"GET",success:o=>{console.log(o),e.index.hideLoading(),401==o.data.code?(e.index.removeStorageSync("token"),e.index.navigateTo({url:"/pages/login/login"})):a(o.data)},fail:o=>{e.index.hideLoading(),e.index.showToast({title:"请求失败",icon:"error"}),r(o.response)}})}))},exports.getBaseURL1=function(){return"https://valuefrontier.cn"},exports.post=function(t,n,i){return new Promise(((i,a)=>{let r=e.index.getStorageSync("token"),d=0,s=0;if(n&&(d=n.isJson),n&&(s=n.isFile),e.index.showLoading({title:"加载中"}),s){let r=e.index.getStorageSync("token");e.index.uploadFile({url:o+t,filePath:n.avatar,name:"avatar",header:{Authorization:r?"Bearer "+r:""},formData:n,success:o=>{console.log(o),e.index.hideLoading(),401==o.data.code?(e.index.removeStorageSync("token"),e.index.navigateTo({url:"/pages/login/login"}),a(o.data)):i(o.data)},fail:o=>{console.log("上传失败"+o.errMsg),e.index.hideLoading(),e.index.showToast({title:"请求失败",icon:"error"}),a()}})}else{let l=o;(t.indexOf("concept-api")>-1||t.indexOf("api/market/trade/batch")>-1)&&(l="https://api.valuefrontier.cn"),e.index.request({url:l+t,data:n,header:{Accept:"application/json","Content-Type":d?"application/json":s?"multipart/form-data":"application/x-www-form-urlencoded",Authorization:r?"Bearer "+r:""},method:"POST",success:o=>{e.index.hideLoading(),n&&n.isNotNeedLogin||(console.log(o.data),401==o.data.code?(e.index.removeStorageSync("token"),e.index.navigateTo({url:"/pages/login/login"}),a(o.data)):i(o.data))},fail:o=>{e.index.hideLoading(),e.index.showToast({title:"请求失败",icon:"error"}),a(o.response)}})}}))};
|
||||
Reference in New Issue
Block a user