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

This commit is contained in:
wenbo.dong 2017-07-28 21:16:49 +08:00
commit b0b5de804a
31 changed files with 86 additions and 31164 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,484 +0,0 @@
{
"name": "lib",
"content": {
"./node_modules/core-js/modules/es6.regexp.constructor.js": 43485366,
"./node_modules/core-js/modules/es6.object.seal.js": 43527189,
"./node_modules/core-js/modules/es7.string.at.js": 43580516,
"./node_modules/core-js/modules/_defined.js": 43670706,
"./node_modules/fbjs/lib/emptyObject.js": 43681685,
"./node_modules/react/lib/ReactElementValidator.js": 44025518,
"./node_modules/core-js/modules/es6.number.min-safe-integer.js": 44060266,
"./node_modules/core-js/modules/_string-pad.js": 44088210,
"./node_modules/react/lib/traverseAllChildren.js": 47478178,
"./node_modules/react-dom/lib/SyntheticMouseEvent.js": 47787716,
"./node_modules/react-dom/lib/DOMProperty.js": 48088018,
"./node_modules/core-js/modules/_ie8-dom-define.js": 48115471,
"./node_modules/core-js/modules/_dom-create.js": 48189054,
"./node_modules/core-js/modules/es6.typed.float32-array.js": 48200615,
"./node_modules/react-dom/lib/ReactMount.js": 48568870,
"./node_modules/core-js/modules/_is-array-iter.js": 48664912,
"./node_modules/core-js/modules/es6.parse-int.js": 48674953,
"./node_modules/core-js/modules/es6.object.set-prototype-of.js": 48747206,
"./node_modules/core-js/modules/_hide.js": 48788898,
"./node_modules/core-js/modules/_parse-float.js": 48790281,
"./node_modules/react-dom/lib/ReactComponentEnvironment.js": 48826790,
"./node_modules/core-js/modules/_enum-keys.js": 49070719,
"./node_modules/react-dom/lib/EventPluginRegistry.js": 49161007,
"./node_modules/core-js/modules/es7.math.umulh.js": 49227621,
"./node_modules/core-js/modules/_to-index.js": 49552306,
"./node_modules/core-js/modules/es6.string.link.js": 49659822,
"./node_modules/core-js/modules/es6.object.is-extensible.js": 49698998,
"./node_modules/core-js/modules/es6.math.log2.js": 49751157,
"./node_modules/core-js/modules/_a-number-value.js": 50536617,
"./node_modules/core-js/modules/_strict-method.js": 50730450,
"./node_modules/react-dom/lib/shouldUpdateReactComponent.js": 50868501,
"./node_modules/react-dom/lib/SyntheticFocusEvent.js": 50910547,
"./node_modules/core-js/modules/_has.js": 51177303,
"./node_modules/core-js/modules/es6.object.prevent-extensions.js": 52090877,
"./node_modules/react/lib/onlyChild.js": 52489815,
"./node_modules/core-js/modules/_wks.js": 52526573,
"./node_modules/react-dom/lib/CSSProperty.js": 52579043,
"./node_modules/core-js/modules/_array-includes.js": 52679755,
"./node_modules/react-dom/lib/ReactRef.js": 52747288,
"./node_modules/core-js/modules/es6.reflect.construct.js": 52750870,
"./node_modules/core-js/modules/es6.typed.array-buffer.js": 52787448,
"./node_modules/core-js/modules/es7.reflect.has-own-metadata.js": 53004989,
"./node_modules/core-js/modules/_typed-array.js": 53030048,
"./node_modules/core-js/modules/core.regexp.escape.js": 53091466,
"./node_modules/react/lib/ReactElementSymbol.js": 53106907,
"./node_modules/react-dom/lib/getEventKey.js": 53148616,
"./node_modules/core-js/modules/es7.system.global.js": 53151614,
"./node_modules/core-js/modules/es6.number.max-safe-integer.js": 53160520,
"./node_modules/react-dom/lib/reactProdInvariant.js": 53225501,
"./node_modules/core-js/modules/es6.object.to-string.js": 53228475,
"./node_modules/react/lib/getIteratorFn.js": 53524951,
"./node_modules/core-js/modules/_fails.js": 53668905,
"./node_modules/react/lib/lowPriorityWarning.js": 53861003,
"./node_modules/core-js/modules/_set-species.js": 54045300,
"./node_modules/core-js/modules/web.immediate.js": 54049076,
"./node_modules/core-js/modules/es6.number.is-safe-integer.js": 54138673,
"./node_modules/core-js/modules/_global.js": 54140252,
"./node_modules/core-js/modules/es6.string.anchor.js": 54518583,
"./node_modules/core-js/modules/_is-regexp.js": 54876986,
"./node_modules/core-js/modules/_a-function.js": 55079006,
"./node_modules/react/lib/ReactDOMFactories.js": 55155576,
"./node_modules/core-js/modules/es6.array.iterator.js": 55194418,
"./node_modules/core-js/modules/es7.reflect.has-metadata.js": 55226972,
"./node_modules/core-js/modules/_shared.js": 55227199,
"./node_modules/react-dom/lib/DOMLazyTree.js": 55492157,
"./node_modules/react-dom/lib/ReactCompositeComponent.js": 55758150,
"./node_modules/react-dom/lib/ReactDOMFeatureFlags.js": 55760008,
"./node_modules/prop-types/factory.js": 56139853,
"./node_modules/core-js/modules/es6.array.find-index.js": 56158709,
"./node_modules/react-dom/lib/dangerousStyleValue.js": 56177388,
"./node_modules/react-dom/lib/ReactDOMNullInputValuePropHook.js": 56190985,
"./node_modules/core-js/modules/_collection-strong.js": 56977405,
"./node_modules/core-js/modules/_date-to-primitive.js": 57128706,
"./node_modules/core-js/modules/_parse-int.js": 57130989,
"./node_modules/core-js/modules/_object-gpo.js": 57135521,
"./node_modules/core-js/shim.js": 57195098,
"./node_modules/react-dom/lib/ReactUpdateQueue.js": 57838321,
"./node_modules/core-js/modules/es7.string.pad-start.js": 57838778,
"./node_modules/react-dom/lib/ReactEmptyComponent.js": 57977182,
"./node_modules/core-js/modules/_enum-bug-keys.js": 57989918,
"./node_modules/react-dom/lib/ReactDOMTextComponent.js": 58038806,
"./node_modules/core-js/modules/es6.typed.float64-array.js": 58099884,
"./node_modules/react-dom/lib/EventPropagators.js": 58100447,
"./node_modules/core-js/modules/es6.array.reduce-right.js": 58140471,
"./node_modules/core-js/modules/_to-primitive.js": 58215155,
"./node_modules/core-js/modules/_math-expm1.js": 65440254,
"./node_modules/core-js/modules/es7.asap.js": 65489777,
"./node_modules/react-dom/lib/ReactDOMTextarea.js": 65551082,
"./node_modules/core-js/modules/es6.math.imul.js": 65567456,
"./node_modules/react-dom/lib/SyntheticKeyboardEvent.js": 65681253,
"./node_modules/core-js/modules/es6.string.fixed.js": 65727713,
"./node_modules/core-js/modules/es6.array.every.js": 65745648,
"./node_modules/core-js/modules/es7.reflect.metadata.js": 65785143,
"./node_modules/react-dom/lib/SyntheticTransitionEvent.js": 65985587,
"./node_modules/core-js/modules/_for-of.js": 65990801,
"./node_modules/core-js/modules/_fails-is-regexp.js": 66044410,
"./node_modules/core-js/modules/es6.math.expm1.js": 66101188,
"./node_modules/core-js/modules/_meta.js": 66118721,
"./node_modules/prop-types/lib/ReactPropTypesSecret.js": 66160704,
"./node_modules/core-js/modules/_wks-ext.js": 66176955,
"./node_modules/core-js/modules/_array-methods.js": 66178104,
"./node_modules/core-js/modules/es6.object.define-properties.js": 66198013,
"./node_modules/core-js/modules/_collection-weak.js": 66791205,
"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js": 66816856,
"./node_modules/core-js/modules/es6.string.sub.js": 66867675,
"./node_modules/react-dom/lib/quoteAttributeValueForBrowser.js": 66978548,
"./node_modules/core-js/modules/_array-reduce.js": 66998306,
"./node_modules/core-js/modules/es6.reflect.prevent-extensions.js": 67102175,
"./node_modules/react-dom/lib/BeforeInputEventPlugin.js": 67490243,
"./node_modules/core-js/modules/es6.string.repeat.js": 67565382,
"./node_modules/react/lib/KeyEscapeUtils.js": 67675576,
"./node_modules/react-dom/lib/checkReactTypeSpec.js": 68041610,
"./node_modules/react/react.js": 68201172,
"./node_modules/core-js/modules/es6.object.create.js": 68532080,
"./node_modules/core-js/modules/es6.weak-map.js": 68546880,
"./node_modules/react-dom/lib/ARIADOMPropertyConfig.js": 68748681,
"./node_modules/react-dom/lib/ReactMarkupChecksum.js": 69061113,
"./node_modules/core-js/modules/es7.symbol.async-iterator.js": 69087767,
"./node_modules/core-js/modules/es6.string.fontsize.js": 69205651,
"./node_modules/core-js/modules/es6.number.epsilon.js": 69229021,
"./node_modules/core-js/modules/_ctx.js": 69517604,
"./node_modules/core-js/modules/_string-ws.js": 69681511,
"./node_modules/react-dom/lib/SyntheticWheelEvent.js": 69721208,
"./node_modules/core-js/modules/es6.object.freeze.js": 69795613,
"./node_modules/core-js/modules/_object-gops.js": 69877800,
"./node_modules/core-js/modules/es6.string.blink.js": 70015654,
"./node_modules/core-js/modules/_species-constructor.js": 70204371,
"./node_modules/core-js/modules/es6.reflect.apply.js": 70488917,
"./node_modules/fbjs/lib/warning.js": 70537722,
"./node_modules/react-dom/lib/ReactMultiChild.js": 70556750,
"./node_modules/core-js/modules/es6.object.is-sealed.js": 71000806,
"./node_modules/react-dom/lib/ReactUpdates.js": 71025570,
"./node_modules/core-js/modules/es6.math.tanh.js": 71111419,
"./node_modules/core-js/modules/_array-from-iterable.js": 71164378,
"./node_modules/core-js/modules/es6.number.is-finite.js": 71178955,
"./node_modules/core-js/modules/es7.math.iaddh.js": 71775320,
"./node_modules/core-js/modules/_classof.js": 71775566,
"./node_modules/core-js/modules/_string-context.js": 71988466,
"./node_modules/core-js/modules/es6.date.to-json.js": 72065510,
"./node_modules/core-js/modules/es6.number.parse-int.js": 72181111,
"./node_modules/core-js/modules/es6.array.filter.js": 72217154,
"./node_modules/react-dom/lib/DOMNamespaces.js": 72487055,
"./node_modules/core-js/modules/_library.js": 72504967,
"./node_modules/core-js/modules/es6.string.fontcolor.js": 72558648,
"./node_modules/core-js/modules/es7.object.lookup-getter.js": 72665103,
"./node_modules/core-js/modules/es7.object.define-setter.js": 72781257,
"./node_modules/core-js/modules/es7.reflect.define-metadata.js": 73140083,
"./node_modules/react-dom/lib/getEventTarget.js": 73490307,
"./node_modules/react-dom/lib/DefaultEventPluginOrder.js": 73857197,
"./node_modules/react-dom/lib/findDOMNode.js": 73987548,
"./node_modules/react-dom/lib/ReactDOMSelection.js": 74014822,
"./node_modules/react-dom/lib/SyntheticTouchEvent.js": 74195699,
"./node_modules/core-js/modules/_redefine-all.js": 74488508,
"./node_modules/object-assign/index.js": 74527907,
"./node_modules/react-dom/lib/SyntheticCompositionEvent.js": 74559765,
"./node_modules/core-js/modules/_create-property.js": 74681982,
"./node_modules/core-js/modules/_iterators.js": 74795300,
"./node_modules/core-js/modules/es6.reflect.delete-property.js": 74830874,
"./node_modules/core-js/modules/_is-array.js": 74851509,
"./node_modules/core-js/modules/es7.map.to-json.js": 75201385,
"./node_modules/core-js/modules/es6.object.assign.js": 75514774,
"./node_modules/core-js/modules/es6.reflect.set.js": 75525505,
"./node_modules/react-dom/lib/ReactDOMComponentFlags.js": 75568854,
"./node_modules/core-js/modules/es6.regexp.replace.js": 75719811,
"./node_modules/react-dom/lib/ReactDOMIDOperations.js": 75735452,
"./node_modules/fbjs/lib/ExecutionEnvironment.js": 75874955,
"./node_modules/core-js/modules/_task.js": 75895821,
"./node_modules/core-js/modules/_partial.js": 76050914,
"./node_modules/fbjs/lib/camelize.js": 76080607,
"./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js": 76140415,
"./node_modules/react-dom/lib/LinkedValueUtils.js": 76160200,
"./node_modules/core-js/modules/es6.reflect.set-prototype-of.js": 76542253,
"./node_modules/react-dom/lib/ReactHostOperationHistoryHook.js": 76575571,
"./node_modules/prop-types/factoryWithTypeCheckers.js": 76764969,
"./node_modules/core-js/modules/_path.js": 76787767,
"./node_modules/react-dom/lib/ReactDOM.js": 76789116,
"./node_modules/react-dom/lib/ReactHostComponent.js": 76817312,
"./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js": 76839980,
"./node_modules/react-dom/lib/ReactInputSelection.js": 77028811,
"./node_modules/core-js/modules/_fix-re-wks.js": 77096683,
"./node_modules/core-js/modules/es7.object.values.js": 77171022,
"./node_modules/core-js/modules/es6.array.index-of.js": 77188304,
"./node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js": 77520950,
"./node_modules/core-js/modules/_is-object.js": 77562254,
"./node_modules/core-js/modules/_object-dps.js": 78057822,
"./node_modules/core-js/modules/es6.object.is.js": 78091382,
"./node_modules/core-js/modules/es6.function.name.js": 78522205,
"./node_modules/core-js/modules/_string-html.js": 78695048,
"./node_modules/react-dom/index.js": 78757299,
"./node_modules/core-js/modules/_array-species-constructor.js": 78789872,
"./node_modules/react/lib/ReactBaseClasses.js": 78835767,
"./node_modules/core-js/modules/_shared-key.js": 78977166,
"./node_modules/react-dom/lib/setTextContent.js": 79001580,
"./node_modules/react-dom/lib/ReactDOMOption.js": 79760472,
"./node_modules/core-js/modules/web.timers.js": 79851621,
"./node_modules/core-js/modules/es6.reflect.has.js": 79878513,
"./node_modules/core-js/modules/es7.reflect.delete-metadata.js": 80080606,
"./node_modules/core-js/modules/_array-copy-within.js": 80131310,
"./node_modules/core-js/modules/_descriptors.js": 80577398,
"./node_modules/core-js/modules/_redefine.js": 80731216,
"./node_modules/core-js/modules/es6.promise.js": 81071697,
"./node_modules/react-dom/lib/ReactInjection.js": 81476767,
"./node_modules/react/lib/getNextDebugID.js": 81486675,
"./node_modules/fbjs/lib/hyphenate.js": 81524911,
"./node_modules/core-js/modules/es6.parse-float.js": 81526865,
"./node_modules/core-js/modules/_keyof.js": 81699886,
"./node_modules/core-js/modules/es7.object.lookup-setter.js": 81705374,
"./node_modules/fbjs/lib/createArrayFromMixed.js": 81735690,
"./node_modules/react-dom/lib/ReactDOMUnknownPropertyHook.js": 81758251,
"./node_modules/core-js/modules/es6.typed.uint8-array.js": 81851689,
"./node_modules/regenerator-runtime/runtime.js": 81871067,
"./node_modules/core-js/modules/es6.date.to-string.js": 81885386,
"./node_modules/react-dom/lib/ReactErrorUtils.js": 82075189,
"./node_modules/prop-types/checkPropTypes.js": 82115216,
"./node_modules/core-js/modules/es6.array.find.js": 82131307,
"./node_modules/react-dom/lib/getNodeForCharacterOffset.js": 82439899,
"./node_modules/core-js/modules/es6.math.clz32.js": 82508199,
"./node_modules/fbjs/lib/hyphenateStyleName.js": 82552089,
"./node_modules/core-js/modules/es6.array.of.js": 82665498,
"./node_modules/core-js/modules/es6.array.map.js": 82671617,
"./node_modules/react-dom/lib/SelectEventPlugin.js": 82765643,
"./node_modules/core-js/modules/es6.array.from.js": 82830015,
"./node_modules/core-js/modules/es6.regexp.match.js": 82850267,
"./node_modules/fbjs/lib/isTextNode.js": 83057514,
"./node_modules/core-js/modules/_iter-call.js": 83107943,
"./node_modules/core-js/modules/es6.array.join.js": 83154754,
"./node_modules/react-dom/lib/ReactDOMInput.js": 83212311,
"./node_modules/react-dom/lib/DOMChildrenOperations.js": 83491114,
"./node_modules/core-js/modules/es7.reflect.get-metadata.js": 83517877,
"./node_modules/react-dom/lib/SyntheticClipboardEvent.js": 83525447,
"./node_modules/react/lib/checkReactTypeSpec.js": 83535217,
"./node_modules/core-js/modules/es6.reflect.define-property.js": 83565249,
"./node_modules/react/lib/createClass.js": 83764373,
"./node_modules/react-dom/lib/ReactEventEmitterMixin.js": 83866956,
"./node_modules/core-js/modules/es6.number.is-nan.js": 84160374,
"./node_modules/core-js/modules/_is-integer.js": 84532255,
"./node_modules/react-dom/lib/ReactNodeTypes.js": 84742148,
"./node_modules/core-js/modules/es7.array.includes.js": 84771615,
"./node_modules/core-js/modules/es6.object.define-property.js": 84838568,
"./node_modules/react-dom/lib/ReactInstrumentation.js": 84876666,
"./node_modules/core-js/modules/_uid.js": 85525802,
"./node_modules/core-js/modules/_object-keys.js": 85579755,
"./node_modules/core-js/modules/es6.array.reduce.js": 85718057,
"./node_modules/core-js/modules/_string-repeat.js": 85725285,
"./node_modules/react-dom/lib/EventPluginHub.js": 85760782,
"./node_modules/react-dom/lib/PooledClass.js": 85815548,
"./node_modules/fbjs/lib/emptyFunction.js": 85820220,
"./node_modules/core-js/modules/_typed-buffer.js": 86071307,
"./node_modules/react-dom/lib/Transaction.js": 86551850,
"./node_modules/core-js/modules/es6.math.log10.js": 86858756,
"./node_modules/react-dom/lib/accumulateInto.js": 87028616,
"./node_modules/core-js/modules/es6.array.for-each.js": 87157416,
"./node_modules/core-js/modules/_metadata.js": 87219752,
"./node_modules/core-js/modules/_object-gopn.js": 87230948,
"./node_modules/react-dom/lib/forEachAccumulated.js": 87488377,
"./node_modules/react-dom/lib/flattenChildren.js": 87506812,
"./node_modules/core-js/modules/_collection-to-json.js": 87565652,
"./node_modules/react-dom/lib/SimpleEventPlugin.js": 87674973,
"./node_modules/react/lib/ReactCurrentOwner.js": 87681554,
"./node_modules/core-js/modules/es6.function.bind.js": 87740503,
"./node_modules/react-dom/lib/ReactFeatureFlags.js": 88041685,
"./node_modules/fbjs/lib/getActiveElement.js": 89018800,
"./node_modules/react-dom/lib/FallbackCompositionState.js": 89138897,
"./node_modules/core-js/modules/es7.math.isubh.js": 89497643,
"./node_modules/core-js/modules/es6.number.to-precision.js": 89531208,
"./node_modules/react/lib/ReactElement.js": 89665721,
"./node_modules/core-js/modules/es6.math.cbrt.js": 89831775,
"./node_modules/react-dom/lib/CSSPropertyOperations.js": 89896880,
"./node_modules/react-dom/lib/ReactVersion.js": 90074780,
"./node_modules/react/lib/React.js": 90100878,
"./node_modules/react-dom/lib/ReactInstanceMap.js": 90190916,
"./node_modules/react-dom/lib/ReactDebugTool.js": 90482112,
"./node_modules/core-js/modules/es6.object.is-frozen.js": 90501512,
"./node_modules/core-js/modules/_cof.js": 90540102,
"./node_modules/core-js/modules/_add-to-unscopables.js": 90560147,
"./node_modules/react-dom/lib/ReactReconcileTransaction.js": 90774984,
"./node_modules/core-js/modules/es6.string.trim.js": 90875310,
"./node_modules/react-dom/lib/DOMPropertyOperations.js": 91201182,
"./node_modules/core-js/modules/es6.regexp.split.js": 97481147,
"./node_modules/react-dom/lib/ReactPropTypesSecret.js": 97538943,
"./node_modules/core-js/modules/es6.function.has-instance.js": 97559888,
"./node_modules/react-dom/lib/EventPluginUtils.js": 97706684,
"./node_modules/core-js/fn/regexp/escape.js": 97766655,
"./node_modules/react-dom/lib/ViewportMetrics.js": 98576983,
"./node_modules/react-dom/lib/setInnerHTML.js": 98678775,
"./node_modules/react-dom/lib/ReactDOMEmptyComponent.js": 98688898,
"./node_modules/react/lib/ReactPropTypes.js": 98797878,
"./node_modules/react-dom/lib/validateDOMNesting.js": 98798555,
"./node_modules/core-js/modules/es6.weak-set.js": 98828582,
"./node_modules/react-dom/lib/SyntheticDragEvent.js": 98830515,
"./node_modules/core-js/modules/es6.reflect.enumerate.js": 98837014,
"./node_modules/core-js/modules/es6.array.slice.js": 99167110,
"./node_modules/core-js/modules/es6.string.big.js": 99496848,
"./node_modules/core-js/modules/es7.error.is-error.js": 99539012,
"./node_modules/core-js/modules/es7.math.imulh.js": 99680816,
"./node_modules/core-js/modules/es6.set.js": 100122217,
"./node_modules/core-js/modules/es6.reflect.get-prototype-of.js": 100489767,
"./node_modules/core-js/modules/_to-length.js": 100746715,
"./node_modules/core-js/modules/es6.reflect.is-extensible.js": 101017317,
"./node_modules/core-js/modules/_object-gopn-ext.js": 101191208,
"./node_modules/core-js/modules/es6.array.some.js": 101198489,
"./node_modules/react-dom/lib/getVendorPrefixedEventName.js": 101202072,
"./node_modules/react-dom/lib/ReactDOMTreeTraversal.js": 101215247,
"./node_modules/react-dom/lib/ReactChildReconciler.js": 101230651,
"./node_modules/core-js/modules/_object-assign.js": 101516712,
"./node_modules/core-js/modules/es6.reflect.own-keys.js": 101548386,
"./node_modules/react/lib/ReactVersion.js": 101760775,
"./node_modules/core-js/modules/es6.string.strike.js": 101792217,
"./node_modules/core-js/modules/_an-object.js": 101845351,
"./node_modules/react-dom/lib/getEventModifierState.js": 101862265,
"./node_modules/core-js/modules/_iter-create.js": 101990380,
"./node_modules/react-dom/lib/isEventSupported.js": 102040698,
"./node_modules/fbjs/lib/containsNode.js": 102131452,
"./node_modules/core-js/modules/es6.typed.int16-array.js": 102697219,
"./node_modules/react/lib/canDefineProperty.js": 102700379,
"./node_modules/core-js/modules/es6.string.includes.js": 102725612,
"./node_modules/core-js/modules/es6.string.italics.js": 102830503,
"./node_modules/core-js/modules/_typed.js": 103021511,
"./node_modules/core-js/modules/_to-iobject.js": 103551598,
"./node_modules/react-dom/lib/inputValueTracking.js": 103755156,
"./node_modules/fbjs/lib/getMarkupWrap.js": 103821418,
"./node_modules/react-dom/lib/ReactDOMContainerInfo.js": 104037398,
"./node_modules/core-js/modules/_math-log1p.js": 104041006,
"./node_modules/react-dom/lib/renderSubtreeIntoContainer.js": 104145583,
"./node_modules/core-js/modules/es7.object.define-getter.js": 104181181,
"./node_modules/react-dom/lib/ReactServerUpdateQueue.js": 104185022,
"./node_modules/core-js/modules/es7.object.entries.js": 104206980,
"./node_modules/core-js/modules/_bind.js": 104565169,
"./node_modules/core-js/modules/es6.typed.int32-array.js": 104740811,
"./node_modules/core-js/modules/es6.array.fill.js": 104858154,
"./node_modules/core-js/modules/_collection.js": 104878966,
"./node_modules/core-js/modules/_flags.js": 105040815,
"./node_modules/react-dom/lib/getEventCharCode.js": 105072316,
"./node_modules/core-js/modules/_array-fill.js": 105130483,
"./node_modules/core-js/modules/es7.string.trim-right.js": 105212049,
"./node_modules/core-js/modules/es6.object.get-own-property-names.js": 105505147,
"./node_modules/core-js/modules/es6.math.atanh.js": 105860607,
"./node_modules/react-dom/lib/ReactEventListener.js": 105876872,
"./node_modules/core-js/modules/core.get-iterator-method.js": 105974352,
"./node_modules/core-js/modules/es6.regexp.to-string.js": 106030885,
"./node_modules/core-js/modules/_array-species-create.js": 106039815,
"./node_modules/fbjs/lib/memoizeStringOnly.js": 106055273,
"./node_modules/core-js/modules/es6.map.js": 106117577,
"./node_modules/core-js/modules/_export.js": 106226798,
"./node_modules/fbjs/lib/EventListener.js": 106557808,
"./node_modules/react-dom/lib/ReactDOMComponentTree.js": 106660072,
"./node_modules/core-js/modules/es7.observable.js": 106708108,
"./node_modules/core-js/modules/es6.date.to-primitive.js": 106821081,
"./node_modules/react/lib/ReactComponentTreeHook.js": 106839052,
"./node_modules/fbjs/lib/performance.js": 107548981,
"./node_modules/core-js/modules/_own-keys.js": 107656707,
"./node_modules/fbjs/lib/isNode.js": 107757687,
"./node_modules/react-dom/lib/instantiateReactComponent.js": 107769857,
"./node_modules/core-js/modules/es6.math.hypot.js": 107771816,
"./node_modules/core-js/modules/es6.string.sup.js": 107781576,
"./node_modules/react-dom/lib/traverseAllChildren.js": 107785414,
"./node_modules/core-js/modules/es6.number.constructor.js": 107827171,
"./node_modules/core-js/modules/es6.array.last-index-of.js": 107871776,
"./node_modules/react-dom/lib/getHostComponentFromComposite.js": 108055378,
"./node_modules/core-js/modules/es6.reflect.get.js": 108185690,
"./node_modules/core-js/modules/_object-to-array.js": 109068185,
"./node_modules/react-dom/lib/adler32.js": 109161919,
"./node_modules/fbjs/lib/shallowEqual.js": 109217705,
"./node_modules/core-js/modules/es6.math.sinh.js": 109492298,
"./node_modules/react-dom/lib/SyntheticEvent.js": 109494965,
"./node_modules/core-js/modules/es7.symbol.observable.js": 109578413,
"./node_modules/core-js/modules/es6.object.keys.js": 109579766,
"./node_modules/react-dom/lib/ReactReconciler.js": 109705716,
"./node_modules/core-js/modules/_iter-define.js": 109724885,
"./node_modules/react-dom/lib/CallbackQueue.js": 109838153,
"./node_modules/core-js/modules/es6.math.sign.js": 109910857,
"./node_modules/core-js/modules/_iter-detect.js": 110005450,
"./node_modules/create-react-class/factory.js": 110010301,
"./node_modules/react/lib/ReactNoopUpdateQueue.js": 110042017,
"./node_modules/core-js/modules/_object-forced-pam.js": 110051208,
"./node_modules/core-js/modules/es7.string.pad-end.js": 110504909,
"./node_modules/core-js/modules/es6.math.cosh.js": 110701601,
"./node_modules/core-js/modules/_iobject.js": 110719817,
"./node_modules/react-dom/lib/Danger.js": 110725584,
"./node_modules/react-dom/lib/getIteratorFn.js": 110730207,
"./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js": 110741721,
"./node_modules/react-dom/lib/ReactDOMSelect.js": 111001717,
"./node_modules/core-js/modules/es6.array.sort.js": 111148702,
"./node_modules/react/lib/PooledClass.js": 111152184,
"./node_modules/react/lib/ReactPropTypesSecret.js": 111171651,
"./node_modules/core-js/modules/es7.string.match-all.js": 111178252,
"./node_modules/core-js/modules/_object-dp.js": 111195701,
"./node_modules/react-dom/lib/SVGDOMPropertyConfig.js": 111675802,
"./node_modules/core-js/modules/es6.date.to-iso-string.js": 111721418,
"./node_modules/react-dom/lib/ChangeEventPlugin.js": 111757801,
"./node_modules/react-dom/lib/EnterLeaveEventPlugin.js": 111790956,
"./node_modules/react-dom/lib/ReactDOMComponent.js": 111814809,
"./node_modules/core-js/modules/es6.math.asinh.js": 111984949,
"./node_modules/core-js/modules/_inherit-if-required.js": 112042102,
"./node_modules/react-dom/lib/escapeTextContentForBrowser.js": 112098151,
"./node_modules/core-js/modules/_replacer.js": 112580376,
"./node_modules/process/browser.js": 112667218,
"./node_modules/core-js/modules/es6.regexp.flags.js": 112690468,
"./node_modules/react-dom/lib/getTextContentAccessor.js": 113048104,
"./node_modules/core-js/modules/es7.string.trim-left.js": 113132100,
"./node_modules/core-js/modules/es6.number.is-integer.js": 113198276,
"./node_modules/core-js/modules/es6.math.acosh.js": 113215147,
"./node_modules/react-dom/lib/ReactComponentBrowserEnvironment.js": 113226943,
"./node_modules/fbjs/lib/createNodesFromMarkup.js": 113497967,
"./node_modules/core-js/modules/es6.string.small.js": 113671451,
"./node_modules/core-js/modules/es6.typed.data-view.js": 113765266,
"./node_modules/core-js/modules/_math-sign.js": 114168721,
"./node_modules/core-js/modules/es6.math.log1p.js": 114171267,
"./node_modules/core-js/modules/_wks-define.js": 114531886,
"./node_modules/react/lib/ReactPropTypeLocationNames.js": 114558189,
"./node_modules/fbjs/lib/performanceNow.js": 114772209,
"./node_modules/core-js/modules/_to-object.js": 115028688,
"./node_modules/core-js/modules/_set-to-string-tag.js": 115135213,
"./node_modules/core-js/modules/es6.string.bold.js": 115215157,
"./node_modules/core-js/modules/es7.set.to-json.js": 115490874,
"./node_modules/fbjs/lib/camelizeStyleName.js": 115558367,
"./node_modules/core-js/modules/_object-sap.js": 115561802,
"./node_modules/core-js/modules/_microtask.js": 115706612,
"./node_modules/react-dom/lib/HTMLDOMPropertyConfig.js": 115796567,
"./node_modules/react/lib/ReactChildren.js": 115878681,
"./node_modules/core-js/modules/_object-create.js": 115899775,
"./node_modules/react-dom/lib/KeyEscapeUtils.js": 115974974,
"./node_modules/react-dom/lib/createMicrosoftUnsafeLocalFunction.js": 116040616,
"./node_modules/core-js/modules/es6.array.species.js": 116101051,
"./node_modules/core-js/modules/es7.reflect.get-own-metadata.js": 116140648,
"./node_modules/react-dom/lib/ReactPropTypeLocationNames.js": 116148552,
"./node_modules/core-js/modules/_core.js": 116155765,
"./node_modules/core-js/modules/es6.date.now.js": 116181577,
"./node_modules/core-js/modules/es6.string.raw.js": 116504757,
"./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js": 116764420,
"./node_modules/core-js/modules/es6.typed.uint32-array.js": 116788078,
"./node_modules/core-js/modules/es6.array.copy-within.js": 116878466,
"./node_modules/core-js/modules/es6.string.iterator.js": 116987603,
"./node_modules/core-js/modules/es6.math.trunc.js": 117057982,
"./node_modules/react-dom/lib/isTextInputElement.js": 117707497,
"./node_modules/react-dom/lib/ReactDOMInvalidARIAHook.js": 117711020,
"./node_modules/core-js/modules/_object-gopd.js": 117740690,
"./node_modules/core-js/modules/_property-desc.js": 117745500,
"./node_modules/core-js/modules/es6.symbol.js": 117871057,
"./node_modules/core-js/modules/es6.object.get-prototype-of.js": 118005217,
"./node_modules/react/lib/reactProdInvariant.js": 118495602,
"./node_modules/core-js/modules/web.dom.iterable.js": 118546606,
"./node_modules/core-js/modules/_object-keys-internal.js": 118764890,
"./node_modules/core-js/modules/_object-pie.js": 119068312,
"./node_modules/core-js/modules/es6.math.fround.js": 119100913,
"./node_modules/core-js/modules/_set-proto.js": 119105183,
"./node_modules/core-js/modules/es6.number.to-fixed.js": 119189748,
"./node_modules/core-js/modules/es6.string.starts-with.js": 119508365,
"./node_modules/fbjs/lib/invariant.js": 119828543,
"./node_modules/react-dom/lib/SyntheticInputEvent.js": 120008009,
"./node_modules/babel-polyfill/lib/index.js": 120090918,
"./node_modules/react-dom/lib/SyntheticUIEvent.js": 120107086,
"./node_modules/react-dom/lib/ReactElementSymbol.js": 120118872,
"./node_modules/core-js/modules/es6.typed.int8-array.js": 120137743,
"./node_modules/react-dom/lib/ReactBrowserEventEmitter.js": 120218368,
"./node_modules/core-js/modules/_string-at.js": 120542177,
"./node_modules/core-js/modules/es6.array.is-array.js": 120560570,
"./node_modules/core-js/modules/_iter-step.js": 120569851,
"./node_modules/react-dom/lib/SyntheticAnimationEvent.js": 120578147,
"./node_modules/core-js/modules/es6.string.from-code-point.js": 120837751,
"./node_modules/react-dom/lib/AutoFocusUtils.js": 120899975,
"./node_modules/core-js/modules/_invoke.js": 120999886,
"./node_modules/core-js/modules/_html.js": 121064798,
"./node_modules/core-js/modules/es6.typed.uint16-array.js": 121220054,
"./node_modules/core-js/modules/_string-trim.js": 121540950,
"./node_modules/core-js/modules/_an-instance.js": 121748470,
"./node_modules/core-js/modules/_to-integer.js": 122068679,
"./node_modules/core-js/modules/es6.number.parse-float.js": 122072202,
"./node_modules/react-dom/lib/ReactDefaultInjection.js": 122149809,
"./node_modules/react-dom/lib/ReactServerRenderingTransaction.js": 122177147,
"./node_modules/react-dom/lib/ReactInvalidSetStateWarningHook.js": 122481051,
"./node_modules/react-dom/lib/ReactOwner.js": 122786567,
"./node_modules/core-js/modules/es6.regexp.search.js": 122799798,
"./node_modules/fbjs/lib/getUnboundedScrollPosition.js": 122805178,
"./node_modules/core-js/modules/es6.string.code-point-at.js": 122825821,
"./node_modules/core-js/modules/es6.string.ends-with.js": 122831055,
"./node_modules/fbjs/lib/focusNode.js": 122990582,
"./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js": 123064988,
"./node_modules/core-js/modules/_same-value.js": 123181718
}
}

View File

@ -2,7 +2,7 @@
## 平台介绍
YApi是高效、易用、功能强大的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。可以帮助开发者轻松创建、发布、维护、监控和保护任意规模的 API而且yapi为用户提供了优秀的交互体验开发人员只需利用平台提供的接口数据写入工具以及简单的点击操作就可以实现接口的创建。
<p style='text-indent:2em;line-height:1.8em'>YApi是<strong>高效</strong><strong>易用</strong><strong>功能强大</strong>的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。可以帮助开发者轻松创建、发布、维护、监控和保护任意规模的 API而且yapi为用户提供了优秀的交互体验开发人员只需利用平台提供的接口数据写入工具以及简单的点击操作就可以实现接口的创建。</p>
## 功能
1. 项目接口管理
@ -21,65 +21,77 @@ YApi是高效、易用、功能强大的api管理平台旨在为开发、产
### 1 接口管理架构
平台以**项目分组** -> **项目** -> **接口**的划分进行接口组织管理。
![](http://upload-images.jianshu.io/upload_images/842107-305ba49a60ee1ff5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-305ba49a60ee1ff5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
#### 1.1 项目分组
登录之后进到项目首页,左边侧边栏显示的即分组列表。
![分组列表](http://upload-images.jianshu.io/upload_images/842107-d90ca4b3242fa760.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-d90ca4b3242fa760.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "200" style="margin-left:170px;display:block;" alt="图片名称" align=center />
管理员有权限添加或删除分组。
![添加分组](http://upload-images.jianshu.io/upload_images/842107-a0d4d9a98003896a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-a0d4d9a98003896a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "500" style="margin-left:170px;display:block;" alt="图片名称" align=center />
> 分组名称具有唯一性
#### 1.2 项目
选中不同的分组,右边会显示该分组下的项目列表。
![项目列表](http://upload-images.jianshu.io/upload_images/842107-137bcae58b84715e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-137bcae58b84715e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
创建项目需要填写项目名称,项目线上域名(添加完成后可配置项目其他环境域名),项目接口基本路径(接口路径前面相同的部分)以及项目描述。
![创建项目](http://upload-images.jianshu.io/upload_images/842107-360a50ddb746f73d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-360a50ddb746f73d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
> 项目『线上域名 + 基本路径』具有唯一性
#### 1.3 接口
点击项目名称,进入该项目接口列表。
![接口列表](http://upload-images.jianshu.io/upload_images/842107-e858005f714f4889.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-e858005f714f4889.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
点击编辑,进入接口详情页(之后接口详情页和编辑也会分开),可以编辑接口或者请求测试真实接口。
![接口详情](http://upload-images.jianshu.io/upload_images/842107-78c0ea839619d068.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-78c0ea839619d068.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
![请求真实接口](http://upload-images.jianshu.io/upload_images/842107-2ee7171d707e91ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
<img src="http://upload-images.jianshu.io/upload_images/842107-2ee7171d707e91ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
#### Mock功能
### 2 Mock功能
&emsp;&emsp;yapi的Mock功能可以根据用户的输入接口信息如协议、URL、接口名、请求头、请求参数、mock规则生成Mock接口这些接口会自动生成模拟数据支持复杂的生成逻辑创建者可以自由构造需要的数据。而且与常见的Mock方式如将Mock写在代码里和JS拦截等相比yapi的Mock在使用场景和效率和复杂度上是相差甚远的正是由于yapi的Mock是一个第三方平台那么在 团队开发时任何人都可以权限许可下创建、修改接口信息等操作,这对于团队开发是很有好处的。
<p style='text-indent:2em;line-height:1.8em'>yapi的Mock功能可以根据用户的输入接口信息如协议、URL、接口名、请求头、请求参数、mock规则生成Mock接口这些接口会自动生成模拟数据支持复杂的生成逻辑创建者可以自由构造需要的数据。而且与常见的Mock方式如将Mock写在代码里和JS拦截等相比yapi的Mock在使用场景和效率和复杂度上是相差甚远的正是由于yapi的Mock是一个第三方平台那么在 团队开发时任何人都可以权限许可下创建、修改接口信息等操作,这对于团队开发是很有好处的。</p>
#### 2.1 添加接口
##### 第一步:添加接口
通过点击页面上的"+添加接口"
![接口添加](http://note.youdao.com/yws/api/personal/file/WEB613bd4f29db038f2b41c03dcfceda2b6?method=download&shareKey=29bfc2b855f6f26ce0079baf567e54cc)
<img src="http://note.youdao.com/yws/api/personal/file/WEB613bd4f29db038f2b41c03dcfceda2b6?method=download&shareKey=29bfc2b855f6f26ce0079baf567e54cc" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
##### 第二步:输入协议、URL、接口名、请求头、请求参数、mock规则等信息然后点击右上角的"Mock"按钮。
输入协议、URL、接口名、请求头、请求参数、mock规则等信息然后点击右上角的"Mock"按钮。
![接口详情](http://note.youdao.com/yws/api/personal/file/WEB0759331a53e095d910cfb4024ea657d5?method=download&shareKey=a86046f0bd2353d4763a9c962d747e5b)
<img src="http://upload-images.jianshu.io/upload_images/842107-78c0ea839619d068.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
##### 第三步:当点击"Mock"按钮之后就会在页面下方生成一个mock结果并产生一个API接口。点击"复制"按钮即可复制,用户拿到接口后就可以发请求了。
#### 2.2 Mock
![Mock结果](http://note.youdao.com/yws/api/personal/file/WEB265d4bf7cc979bda06d07639d1b84557?method=download&shareKey=64d41dea0371e38761f494d7899b3b35)
当点击"Mock"按钮之后就会在页面下方生成一个mock结果并产生一个API接口。点击"复制"按钮即可复制,用户拿到接口后就可以发请求了。
##### 第四步当拿到复制好接口之后就可以发起一个请求了先将请求的信息填写完善如请求方法post、get等、URL、请求头、请求的数据等。然后就点击"发送",然后在"返回结果"出可以看到接口返回的数据。
<img src="http://note.youdao.com/yws/api/personal/file/WEBf9b154cb88d21daa8206e8c4a3d76042?method=download&shareKey=1999f6c2cf197b5b6d775c312e34073d" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
![请求接口](http://note.youdao.com/yws/api/personal/file/WEB1c22d5c4062be5f10be0b1cdfae86621?method=download&shareKey=93be3a4f1fe56219b89ea2c5ba04014d)
将请求的信息填写完善如请求方法post、get等、URL、请求头、请求的数据等。然后就点击"发送",然后在"返回结果"出可以看到接口返回的数据。
<img src="http://upload-images.jianshu.io/upload_images/842107-2ee7171d707e91ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
#### 2.3 成员管理
你也可以通过点击"管理成员"来添加和删除项目的成员,便于团队管理。
![成员管理](http://note.youdao.com/yws/api/personal/file/WEB1b9defdf0cb884f46c2bd6c30ceb02fb?method=download&shareKey=218b9326659208ec564b9fff3ea8c6c3)
<img src="http://note.youdao.com/yws/api/personal/file/WEB1b9defdf0cb884f46c2bd6c30ceb02fb?method=download&shareKey=218b9326659208ec564b9fff3ea8c6c3" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center />
## 未来计划推出功能
1. 可视化JSON编辑器可定义JSON_Schema和mockjs
2. 支持HTTP和RPC协议
3. 自动化测试

View File

@ -1,21 +1,21 @@
import React from 'react'
import PropTypes from 'prop-types'
import { Col, Icon } from 'antd'
import { Icon } from 'antd'
import "./Intro.scss"
import { OverPack } from 'rc-scroll-anim'
import TweenOne from 'rc-tween-one'
import QueueAnim from 'rc-queue-anim';
const IntroPart = (props) =>(
<Col span={12} className="switch-content">
<li className="switch-content">
<div className="icon-switch">
<Icon type={props.iconType} />
</div>
<div>
<div className="text-switch">
<p><b>{props.title}</b></p>
<p>{props.des}</p>
</div>
</Col>
</li>
)
IntroPart.propTypes = {
@ -80,11 +80,11 @@ class Intro extends React.Component{
{intro.des}
</div>
</div>
<div className="des-switch" key={`${id}-des-switch`}>
<ul className="des-switch" key={`${id}-des-switch`}>
{intro.detail.map(function(item,i){
return(<IntroPart key={i} title={item.title} des={item.des} iconType={item.iconType}/>)
})}
</div>
</ul>
</QueueAnim>
</OverPack>
</div>

View File

@ -32,14 +32,17 @@ $color-white: #fff;
}
.des-switch{
.switch-content{
float: left;
width: 50%;
max-height: .85rem;
font-size: .14rem;
margin-bottom: .15rem;
padding: .1rem .15rem .1rem 0;
div{
float: left;
}
.icon-switch{
height: .3rem;
width: .3rem;
height: .4rem;
width: .4rem;
border-radius: .02rem;
background-color: $color-blue;
margin-right: .1rem;
@ -47,6 +50,10 @@ $color-white: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: .18rem;
}
.text-switch{
width: calc(100% - .65rem);
}
}
}

View File

@ -174,19 +174,19 @@ class Home extends Component {
Home.defaultProps={
introList:[{
title:"接口管理",
des:"yapi将满足你的所有接口管理需求。不再需要 为每个项目搭建独立的接口管理平台和编写离线的接口文档",
des:"满足你的所有接口管理需求。不再需要为每个项目搭建独立的接口管理平台和编写离线的接口文档,其权限管理和项目日志让协作开发不再痛苦。",
detail:[
{title:"接口管理",des:"强大的接口文档",iconType:"smile-o"},
{title:"接口管理",des:"强大的接口文档",iconType:"smile-o"},
{title:"接口管理",des:"强大的接口文档",iconType:"smile-o"}
{title:"团队协作",des:"多成员协作,掌握项目进度",iconType:"team"},
{title:"权限管理",des:"设置每个成员的操作权限",iconType:"usergroup-add"},
{title:"项目日志",des:"推送项目情况,掌握更新动态",iconType:"schedule"}
],
img:"./image/demo-img.png"
},{
title:"接口管理",
des:"yapi将满足你的所有接口管理需求。不再需要 为每个项目搭建独立的接口管理平台和编写离线的接口文档",
title:"接口测试",
des:"一键即可得到返回结果。根据用户的输入接口信息如协议、URL、接口名、请求头、请求参数、mock规则生成Mock接口这些接口会自动生成模拟数据。",
detail:[
{title:"接口管理",des:"强大的接口文档",iconType:"smile-o"},
{title:"接口管理",des:"强大的接口文档",iconType:"smile-o"}
{title:"编辑接口",des:"团队开发时任何人都可以在权限许可下创建、修改接口",iconType:"tags-o"},
{title:"mock请求",des:"创建者可以自由构造需要的数据,支持复杂的生成逻辑",iconType:"fork"}
],
img:"./image/demo-img.png"
}

View File

@ -1,21 +0,0 @@
{
"port": "3000",
"webhost": "yapi.local.qunar.com",
"adminAccount": "admin@admin.com",
"db": {
"servername": "10.86.40.194",
"DATABASE": "yapi",
"port": 27017,
"user": "test1",
"pass": "test1",
"server_ip": "192.222.193.50"
},
"mail": {
"host": "smtp.163.com",
"port": 465,
"auth": {
"user": "hellosean1025@163.com",
"pass": "helloqunar123"
}
}
}

View File

@ -46,8 +46,8 @@
<div class="ydoc-banner-bg">
<div class="ydoc-banner ">
<div class="ydoc-banner-area">
<h1 >index</h1>
<p class="desc ">首页说明文字</p>
<h1 >Yapi</h1>
<p class="desc ">高效、易用、功能强大、的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。</p>
</div>
</div>
@ -58,7 +58,8 @@
<div class="ydoc-container-content " id="readme">
<article class="markdown-body">
<h1 class="subject" id="YApi">YApi <a class="hashlink" href="#YApi">#</a></h1><h2 class="subject" id="平台介绍">平台介绍 <a class="hashlink" href="#平台介绍">#</a></h2><p>YApi是高效、易用、功能强大的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。可以帮助开发者轻松创建、发布、维护、监控和保护任意规模的 API而且yapi为用户提供了优秀的交互体验开发人员只需利用平台提供的接口数据写入工具以及简单的点击操作就可以实现接口的创建。</p>
<h1 class="subject" id="YApi">YApi <a class="hashlink" href="#YApi">#</a></h1><h2 class="subject" id="平台介绍">平台介绍 <a class="hashlink" href="#平台介绍">#</a></h2><p style='text-indent:2em;line-height:1.8em'>YApi是<strong>高效</strong><strong>易用</strong><strong>功能强大</strong>、的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。可以帮助开发者轻松创建、发布、维护、监控和保护任意规模的 API而且yapi为用户提供了优秀的交互体验开发人员只需利用平台提供的接口数据写入工具以及简单的点击操作就可以实现接口的创建。</p>
<h2 class="subject" id="功能">功能 <a class="hashlink" href="#功能">#</a></h2><ol>
<li><p>项目接口管理</p>
<p> 提供基本的项目分组,项目管理,接口管理功能</p>
@ -68,34 +69,38 @@
<p> 提供基本的用户注册登录管理等功能集成了去哪儿QSSO登录</p>
</li></ol>
<h2 class="subject" id="快速开始">快速开始 <a class="hashlink" href="#快速开始">#</a></h2><h3 class="subject" id="1 接口管理架构">1 接口管理架构 <a class="hashlink" href="#1 接口管理架构">#</a></h3><p>平台以<strong>项目分组</strong> -&gt; <strong>项目</strong> -&gt; <strong>接口</strong>的划分进行接口组织管理。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-305ba49a60ee1ff5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt=""></p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-305ba49a60ee1ff5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<h4 class="subject" id="1.1 项目分组">1.1 项目分组 <a class="hashlink" href="#1.1 项目分组">#</a></h4><p>登录之后进到项目首页,左边侧边栏显示的即分组列表。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-d90ca4b3242fa760.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="分组列表"></p>
<p>管理员有权限添加或删除分组。
<img src="http://upload-images.jianshu.io/upload_images/842107-a0d4d9a98003896a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="添加分组"></p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-d90ca4b3242fa760.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "200" style="margin-left:170px;display:block;" alt="图片名称" align=center /></p>
<p>管理员有权限添加或删除分组。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-a0d4d9a98003896a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "500" style="margin-left:170px;display:block;" alt="图片名称" align=center /></p>
<blockquote>
<p>分组名称具有唯一性</p>
</blockquote>
<h4 class="subject" id="1.2 项目">1.2 项目 <a class="hashlink" href="#1.2 项目">#</a></h4><p>选中不同的分组,右边会显示该分组下的项目列表。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-137bcae58b84715e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="项目列表"></p>
<p>创建项目需要填写项目名称,项目线上域名(添加完成后可配置项目其他环境域名),项目接口基本路径(接口路径前面相同的部分)以及项目描述。
<img src="http://upload-images.jianshu.io/upload_images/842107-360a50ddb746f73d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="创建项目"></p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-137bcae58b84715e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<p>创建项目需要填写项目名称,项目线上域名(添加完成后可配置项目其他环境域名),项目接口基本路径(接口路径前面相同的部分)以及项目描述。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-360a50ddb746f73d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<blockquote>
<p>项目『线上域名 + 基本路径』具有唯一性</p>
</blockquote>
<h4 class="subject" id="1.3 接口">1.3 接口 <a class="hashlink" href="#1.3 接口">#</a></h4><p>点击项目名称,进入该项目接口列表。
<img src="http://upload-images.jianshu.io/upload_images/842107-e858005f714f4889.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="接口列表"></p>
<h4 class="subject" id="1.3 接口">1.3 接口 <a class="hashlink" href="#1.3 接口">#</a></h4><p>点击项目名称,进入该项目接口列表。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-e858005f714f4889.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<p>点击编辑,进入接口详情页(之后接口详情页和编辑也会分开),可以编辑接口或者请求测试真实接口。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-78c0ea839619d068.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="接口详情"></p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-2ee7171d707e91ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="请求真实接口"></p>
<h4 class="subject" id="Mock功能">Mock功能 <a class="hashlink" href="#Mock功能">#</a></h4><p> &emsp;&emsp;yapi的Mock功能可以根据用户的输入接口信息如协议、URL、接口名、请求头、请求参数、mock规则生成Mock接口这些接口会自动生成模拟数据支持复杂的生成逻辑创建者可以自由构造需要的数据。而且与常见的Mock方式如将Mock写在代码里和JS拦截等相比yapi的Mock在使用场景和效率和复杂度上是相差甚远的正是由于yapi的Mock是一个第三方平台那么在 团队开发时任何人都可以权限许可下创建、修改接口信息等操作,这对于团队开发是很有好处的。</p>
<h5 class="subject" id="第一步:添加接口">第一步:添加接口 <a class="hashlink" href="#第一步:添加接口">#</a></h5><p>通过点击页面上的&quot;+添加接口&quot;</p>
<p><img src="http://note.youdao.com/yws/api/personal/file/WEB613bd4f29db038f2b41c03dcfceda2b6?method=download&amp;shareKey=29bfc2b855f6f26ce0079baf567e54cc" alt="接口添加"></p>
<h5 class="subject" id="第二步输入协议、URL、接口名、请求头、请求参数、mock规则等信息然后点击右上角的&quot;Mock&quot;按钮。">第二步输入协议、URL、接口名、请求头、请求参数、mock规则等信息然后点击右上角的&quot;Mock&quot;按钮。 <a class="hashlink" href="#第二步输入协议、URL、接口名、请求头、请求参数、mock规则等信息然后点击右上角的&quot;Mock&quot;按钮。">#</a></h5><p><img src="http://note.youdao.com/yws/api/personal/file/WEB0759331a53e095d910cfb4024ea657d5?method=download&amp;shareKey=a86046f0bd2353d4763a9c962d747e5b" alt="接口详情"></p>
<h5 class="subject" id="第三步:当点击&quot;Mock&quot;按钮之后就会在页面下方生成一个mock结果并产生一个API接口。点击&quot;复制&quot;按钮即可复制,用户拿到接口后就可以发请求了。">第三步:当点击&quot;Mock&quot;按钮之后就会在页面下方生成一个mock结果并产生一个API接口。点击&quot;复制&quot;按钮即可复制,用户拿到接口后就可以发请求了。 <a class="hashlink" href="#第三步:当点击&quot;Mock&quot;按钮之后就会在页面下方生成一个mock结果并产生一个API接口。点击&quot;复制&quot;按钮即可复制,用户拿到接口后就可以发请求了。">#</a></h5><p><img src="http://note.youdao.com/yws/api/personal/file/WEB265d4bf7cc979bda06d07639d1b84557?method=download&amp;shareKey=64d41dea0371e38761f494d7899b3b35" alt="Mock结果"></p>
<h5 class="subject" id="第四步当拿到复制好接口之后就可以发起一个请求了先将请求的信息填写完善如请求方法post、get等、URL、请求头、请求的数据等。然后就点击&quot;发送&quot;,然后在&quot;返回结果&quot;出可以看到接口返回的数据。">第四步当拿到复制好接口之后就可以发起一个请求了先将请求的信息填写完善如请求方法post、get等、URL、请求头、请求的数据等。然后就点击&quot;发送&quot;,然后在&quot;返回结果&quot;出可以看到接口返回的数据。 <a class="hashlink" href="#第四步当拿到复制好接口之后就可以发起一个请求了先将请求的信息填写完善如请求方法post、get等、URL、请求头、请求的数据等。然后就点击&quot;发送&quot;,然后在&quot;返回结果&quot;出可以看到接口返回的数据。">#</a></h5><p><img src="http://note.youdao.com/yws/api/personal/file/WEB1c22d5c4062be5f10be0b1cdfae86621?method=download&amp;shareKey=93be3a4f1fe56219b89ea2c5ba04014d" alt="请求接口"></p>
<p>你也可以通过点击&quot;管理成员&quot;来添加和删除项目的成员,便于团队管理。</p>
<p><img src="http://note.youdao.com/yws/api/personal/file/WEB1b9defdf0cb884f46c2bd6c30ceb02fb?method=download&amp;shareKey=218b9326659208ec564b9fff3ea8c6c3" alt="成员管理"></p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-78c0ea839619d068.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-2ee7171d707e91ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<h3 class="subject" id="2 Mock功能">2 Mock功能 <a class="hashlink" href="#2 Mock功能">#</a></h3> <p style='text-indent:2em;line-height:1.8em'>yapi的Mock功能可以根据用户的输入接口信息如协议、URL、接口名、请求头、请求参数、mock规则生成Mock接口这些接口会自动生成模拟数据支持复杂的生成逻辑创建者可以自由构造需要的数据。而且与常见的Mock方式如将Mock写在代码里和JS拦截等相比yapi的Mock在使用场景和效率和复杂度上是相差甚远的正是由于yapi的Mock是一个第三方平台那么在 团队开发时任何人都可以权限许可下创建、修改接口信息等操作,这对于团队开发是很有好处的。</p>
<h4 class="subject" id="2.1 添加接口">2.1 添加接口 <a class="hashlink" href="#2.1 添加接口">#</a></h4><p>通过点击页面上的&quot;+添加接口&quot;</p>
<p><img src="http://note.youdao.com/yws/api/personal/file/WEB613bd4f29db038f2b41c03dcfceda2b6?method=download&shareKey=29bfc2b855f6f26ce0079baf567e54cc" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<p> 输入协议、URL、接口名、请求头、请求参数、mock规则等信息然后点击右上角的&quot;Mock&quot;按钮。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-78c0ea839619d068.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<h4 class="subject" id="2.2 Mock">2.2 Mock <a class="hashlink" href="#2.2 Mock">#</a></h4><p>当点击&quot;Mock&quot;按钮之后就会在页面下方生成一个mock结果并产生一个API接口。点击&quot;复制&quot;按钮即可复制,用户拿到接口后就可以发请求了。</p>
<p><img src="http://note.youdao.com/yws/api/personal/file/WEBf9b154cb88d21daa8206e8c4a3d76042?method=download&shareKey=1999f6c2cf197b5b6d775c312e34073d" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<p>将请求的信息填写完善如请求方法post、get等、URL、请求头、请求的数据等。然后就点击&quot;发送&quot;,然后在&quot;返回结果&quot;出可以看到接口返回的数据。</p>
<p><img src="http://upload-images.jianshu.io/upload_images/842107-2ee7171d707e91ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<h4 class="subject" id="2.3 成员管理">2.3 成员管理 <a class="hashlink" href="#2.3 成员管理">#</a></h4><p>你也可以通过点击&quot;管理成员&quot;来添加和删除项目的成员,便于团队管理。</p>
<p><img src="http://note.youdao.com/yws/api/personal/file/WEB1b9defdf0cb884f46c2bd6c30ceb02fb?method=download&shareKey=218b9326659208ec564b9fff3ea8c6c3" width = "800" style="margin:0px auto;display:block;" alt="图片名称" align=center /></p>
<h2 class="subject" id="未来计划推出功能">未来计划推出功能 <a class="hashlink" href="#未来计划推出功能">#</a></h2><ol>
<li>可视化JSON编辑器可定义JSON_Schema和mockjs</li><li>支持HTTP和RPC协议</li><li>自动化测试</li><li>多人协作</li></ol>

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 405 B

After

Width:  |  Height:  |  Size: 405 B

View File

@ -1,6 +1,6 @@
{
"name": "yapi",
"dest": "doc/build",
"dest": "static/doc",
"examplePath": "./exampleCode",
"defaultGrammar": "json",
"instructionsInfoPath": "", //使 (JS-Component@instructions使)
@ -18,8 +18,8 @@
"name": "index", // Page Name html : index.html
"title": "首页", // Page Title
"banner": { // Banner
"title": "index",
"description": "首页说明文字"
"title": "Yapi",
"description": "高效、易用、功能强大、的api管理平台旨在为开发、产品、测试人员提供更优雅的接口管理服务。"
},
"content": "./README.md" // (markdown)
},{