Merge branch 'dev-export' of http://gitlab.corp.qunar.com/mfe/yapi into dev-export

This commit is contained in:
喻希里 2017-11-09 14:14:16 +08:00
commit 4005a844b3
4 changed files with 11 additions and 24 deletions

View File

@ -45,29 +45,16 @@ YApi 是<strong>高效</strong>、<strong>易用</strong>、<strong>功能强大
密码: ymfe.org
### YApi 的客户
* 去哪儿
### YApi 的一些客户
* 去哪儿
* 携程
* 艺龙
* 京东
* 唯品支付
* 链家网
* 快手
* 中山市鲣鸟网络科技有限公司
* 广州大象健康科技有限公司
* 杭州数慧科技有限公司
* 厦门凌拓通信科技有限公司
* 北京星度网络科技有限公司
* 广州奥睿智能科技有限公司
* 厦门彩虹狗科技有限公司
* 企智互联科技
* 西安市唐朝商贸有限公司
* 华生基因
* 维拉假日科技有限公司
* 小斑马科技(天津)有限公司
* 梅州幻麟网络科技有限公司
* 安百科技
* 好玩友
* Nexusguard
* 木木工作室
* 汇通天下
* 便利蜂
### Authors
* [suxiaoxin](https://github.com/suxiaoxin)

View File

@ -543,7 +543,7 @@ class InterfaceColContent extends Component {
header: {
label: 'key',
formatters: [() => {
return <Tooltip title={<span>每个用例都有唯一的key用于获取所匹配接口的响应数据例如使用 <a href="https://yapi.ymfe.org/case.html#变量参数" className="link-tooltip" target="blank">变量参数</a> </span>}>
return <Tooltip title={<span>每个用例都有唯一的key用于获取所匹配接口的响应数据例如使用 <a href="http://yapi.qunar.com/case.html#变量参数" className="link-tooltip" target="blank">变量参数</a> </span>}>
Key</Tooltip>
}]
},
@ -649,7 +649,7 @@ class InterfaceColContent extends Component {
let colEnv = this.props.currProject.env || [];
return (
<div className="interface-col">
<h2 className="interface-title" style={{ display: 'inline-block', margin: "0 20px", marginBottom: '16px' }}>测试集合&nbsp;<a target="_blank" rel="noopener noreferrer" href="https://yapi.ymfe.org/case.html" >
<h2 className="interface-title" style={{ display: 'inline-block', margin: "0 20px", marginBottom: '16px' }}>测试集合&nbsp;<a target="_blank" rel="noopener noreferrer" href="http://yapi.qunar.com/case.html" >
<Tooltip title="点击查看文档"><Icon type="question-circle-o" /></Tooltip>
</a></h2>
<div style={{ display: 'inline-block', margin: 0, marginBottom: '16px' }}>

View File

@ -769,7 +769,7 @@ class InterfaceEditForm extends Component {
</Tabs>
<div>
<h3 style={{ padding: '10px 0' }}>基于mockjs和json5,可直接写mock模板和注释,具体使用方法请 <span className="href" onClick={() => window.open('https://yapi.ymfe.org/mock.html', '_blank')}>查看文档</span></h3>
<h3 style={{ padding: '10px 0' }}>基于mockjs和json5,可直接写mock模板和注释,具体使用方法请 <span className="href" onClick={() => window.open('http://yapi.qunar.com/mock.html', '_blank')}>查看文档</span></h3>
<div id="res_body_json" style={{ minHeight: "300px", display: this.state.jsonType === 'tpl' ? 'block' : 'none' }} ></div>
<div id="mock-preview" style={{ backgroundColor: "#eee", lineHeight: "20px", minHeight: "300px", display: this.state.jsonType === 'preview' ? 'block' : 'none' }}></div>
</div>

View File

@ -188,7 +188,7 @@ class ProjectData extends Component {
<div className="m-panel">
<div className="postman-dataImport">
<div className="dataImportCon">
<div ><h3>数据导入&nbsp;<a target="_blank" rel="noopener noreferrer" href="https://yapi.ymfe.org/data.html" >
<div ><h3>数据导入&nbsp;<a target="_blank" rel="noopener noreferrer" href="http://yapi.qunar.com/data.html" >
<Tooltip title="点击查看文档"><Icon type="question-circle-o" /></Tooltip>
</a></h3></div>
<div className="dataImportTile">