swagger.json 381 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "produces": [
  358. "application/json"
  359. ],
  360. "tags": [
  361. "通用服务"
  362. ],
  363. "summary": "获取所有枚举信息",
  364. "responses": {
  365. "200": {
  366. "description": "OK",
  367. "schema": {
  368. "$ref": "#/definitions/models.Enumdicitem"
  369. }
  370. },
  371. "500": {
  372. "description": "Internal Server Error",
  373. "schema": {
  374. "$ref": "#/definitions/app.Response"
  375. }
  376. }
  377. }
  378. }
  379. },
  380. "/Common/GetServerTime": {
  381. "get": {
  382. "produces": [
  383. "application/json"
  384. ],
  385. "tags": [
  386. "通用服务"
  387. ],
  388. "summary": "获取服务器时间",
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/NoticeReaded": {
  406. "post": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "通知公告设置已读请求",
  419. "parameters": [
  420. {
  421. "type": "integer",
  422. "description": "登录账号",
  423. "name": "loginID",
  424. "in": "query",
  425. "required": true
  426. },
  427. {
  428. "type": "integer",
  429. "description": "通知公告ID",
  430. "name": "noticeID",
  431. "in": "query",
  432. "required": true
  433. }
  434. ],
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/QueryImageConfigs": {
  452. "get": {
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "查询轮播图配置信息",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "类型 - 1:App首页轮播 2:我的",
  464. "name": "imageType",
  465. "in": "query"
  466. }
  467. ],
  468. "responses": {
  469. "200": {
  470. "description": "OK",
  471. "schema": {
  472. "$ref": "#/definitions/models.Szdz2imageconfig"
  473. }
  474. },
  475. "500": {
  476. "description": "Internal Server Error",
  477. "schema": {
  478. "$ref": "#/definitions/app.Response"
  479. }
  480. }
  481. }
  482. }
  483. },
  484. "/Common/QueryNotice": {
  485. "get": {
  486. "security": [
  487. {
  488. "ApiKeyAuth": []
  489. }
  490. ],
  491. "produces": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "通用服务"
  496. ],
  497. "summary": "通知公告系统消息查询",
  498. "parameters": [
  499. {
  500. "type": "integer",
  501. "description": "页码",
  502. "name": "page",
  503. "in": "query"
  504. },
  505. {
  506. "type": "integer",
  507. "description": "每页条数",
  508. "name": "pagesize",
  509. "in": "query"
  510. },
  511. {
  512. "type": "integer",
  513. "description": "登录账号",
  514. "name": "loginID",
  515. "in": "query",
  516. "required": true
  517. },
  518. {
  519. "type": "integer",
  520. "description": "消息类型 - 1:公告通知 2:系统消息",
  521. "name": "msgType",
  522. "in": "query"
  523. },
  524. {
  525. "type": "boolean",
  526. "description": "是否只获取未读信息",
  527. "name": "onlyUnRead",
  528. "in": "query"
  529. }
  530. ],
  531. "responses": {
  532. "200": {
  533. "description": "OK",
  534. "schema": {
  535. "$ref": "#/definitions/common.QueryNoticeRsp"
  536. }
  537. },
  538. "500": {
  539. "description": "Internal Server Error",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. }
  544. }
  545. }
  546. },
  547. "/Common/QueryProvincesAndCities": {
  548. "get": {
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "查询省市信息(不包括区)",
  556. "parameters": [
  557. {
  558. "type": "integer",
  559. "description": "省ID",
  560. "name": "provinceID",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryTableDefine": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询交易端列表头信息",
  589. "parameters": [
  590. {
  591. "type": "string",
  592. "description": "表key",
  593. "name": "TableKey",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryTableDefineRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryTraderMenu": {
  614. "get": {
  615. "produces": [
  616. "application/json"
  617. ],
  618. "tags": [
  619. "通用服务"
  620. ],
  621. "summary": "查询交易端菜单",
  622. "parameters": [
  623. {
  624. "type": "integer",
  625. "description": "登录账号",
  626. "name": "loginid",
  627. "in": "query",
  628. "required": true
  629. }
  630. ],
  631. "responses": {
  632. "200": {
  633. "description": "OK",
  634. "schema": {
  635. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  636. }
  637. },
  638. "500": {
  639. "description": "Internal Server Error",
  640. "schema": {
  641. "$ref": "#/definitions/app.Response"
  642. }
  643. }
  644. }
  645. }
  646. },
  647. "/Delivery/QueryDeliveryRelation": {
  648. "get": {
  649. "security": [
  650. {
  651. "ApiKeyAuth": []
  652. }
  653. ],
  654. "produces": [
  655. "application/json"
  656. ],
  657. "tags": [
  658. "交割服务"
  659. ],
  660. "summary": "查询商品交割关系表",
  661. "parameters": [
  662. {
  663. "type": "integer",
  664. "description": "商品ID",
  665. "name": "goodsid",
  666. "in": "query"
  667. },
  668. {
  669. "type": "integer",
  670. "description": "品种ID",
  671. "name": "deliverygoodsid",
  672. "in": "query"
  673. },
  674. {
  675. "type": "integer",
  676. "description": "市场ID",
  677. "name": "marketid",
  678. "in": "query"
  679. }
  680. ],
  681. "responses": {
  682. "200": {
  683. "description": "OK",
  684. "schema": {
  685. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  686. }
  687. },
  688. "500": {
  689. "description": "Internal Server Error",
  690. "schema": {
  691. "$ref": "#/definitions/app.Response"
  692. }
  693. }
  694. }
  695. }
  696. },
  697. "/Erms2/QueryArbitrageStrategy": {
  698. "get": {
  699. "security": [
  700. {
  701. "ApiKeyAuth": []
  702. }
  703. ],
  704. "produces": [
  705. "application/json"
  706. ],
  707. "tags": [
  708. "风险管理"
  709. ],
  710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  711. "parameters": [
  712. {
  713. "type": "integer",
  714. "description": "账户ID",
  715. "name": "userid",
  716. "in": "query",
  717. "required": true
  718. },
  719. {
  720. "type": "string",
  721. "description": "商品组ID(品种ID)",
  722. "name": "goodsgroupid",
  723. "in": "query"
  724. }
  725. ],
  726. "responses": {
  727. "200": {
  728. "description": "OK",
  729. "schema": {
  730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  731. }
  732. },
  733. "500": {
  734. "description": "Internal Server Error",
  735. "schema": {
  736. "$ref": "#/definitions/app.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/Erms2/QueryInnerTradeDetail": {
  743. "get": {
  744. "security": [
  745. {
  746. "ApiKeyAuth": []
  747. }
  748. ],
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "风险管理"
  754. ],
  755. "summary": "查询内部成交单信息",
  756. "parameters": [
  757. {
  758. "type": "integer",
  759. "description": "资金账户",
  760. "name": "accountid",
  761. "in": "query",
  762. "required": true
  763. }
  764. ],
  765. "responses": {
  766. "200": {
  767. "description": "OK",
  768. "schema": {
  769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Erms2/QuerySpotContract": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "风险管理"
  793. ],
  794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  795. "parameters": [
  796. {
  797. "type": "integer",
  798. "description": "策略申请ID",
  799. "name": "asapplyid",
  800. "in": "query",
  801. "required": true
  802. },
  803. {
  804. "type": "integer",
  805. "description": "现货合同ID",
  806. "name": "spotcontractid",
  807. "in": "query"
  808. }
  809. ],
  810. "responses": {
  811. "200": {
  812. "description": "OK",
  813. "schema": {
  814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  815. }
  816. },
  817. "500": {
  818. "description": "Internal Server Error",
  819. "schema": {
  820. "$ref": "#/definitions/app.Response"
  821. }
  822. }
  823. }
  824. }
  825. },
  826. "/Erms3/AddErms2ASApply": {
  827. "post": {
  828. "security": [
  829. {
  830. "ApiKeyAuth": []
  831. }
  832. ],
  833. "produces": [
  834. "application/json"
  835. ],
  836. "tags": [
  837. "风险管理v3"
  838. ],
  839. "summary": "新增期现套利业务申请",
  840. "parameters": [
  841. {
  842. "description": "申请参数",
  843. "name": "jsonBody",
  844. "in": "body",
  845. "required": true,
  846. "schema": {
  847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  848. }
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/app.Response"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Erms3/AddErms2SpotTradeApply": {
  868. "post": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "风险管理v3"
  879. ],
  880. "summary": "新增现货贸易业务申请",
  881. "parameters": [
  882. {
  883. "description": "申请参数",
  884. "name": "jsonBody",
  885. "in": "body",
  886. "required": true,
  887. "schema": {
  888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  889. }
  890. }
  891. ],
  892. "responses": {
  893. "200": {
  894. "description": "OK",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Erms3/AddSpotContractApply": {
  909. "post": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "风险管理v3"
  920. ],
  921. "summary": "新增现货合同申请",
  922. "parameters": [
  923. {
  924. "description": "申请参数",
  925. "name": "jsonBody",
  926. "in": "body",
  927. "required": true,
  928. "schema": {
  929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  930. }
  931. }
  932. ],
  933. "responses": {
  934. "200": {
  935. "description": "OK",
  936. "schema": {
  937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Erms3/AddUserInfoApply": {
  950. "post": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "风险管理v3"
  961. ],
  962. "summary": "新增客户申请",
  963. "parameters": [
  964. {
  965. "description": "申请参数",
  966. "name": "jsonBody",
  967. "in": "body",
  968. "required": true,
  969. "schema": {
  970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  971. }
  972. }
  973. ],
  974. "responses": {
  975. "200": {
  976. "description": "OK",
  977. "schema": {
  978. "$ref": "#/definitions/app.Response"
  979. }
  980. },
  981. "500": {
  982. "description": "Internal Server Error",
  983. "schema": {
  984. "$ref": "#/definitions/app.Response"
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "/Erms3/QueryBusinessInfo": {
  991. "get": {
  992. "security": [
  993. {
  994. "ApiKeyAuth": []
  995. }
  996. ],
  997. "produces": [
  998. "application/json"
  999. ],
  1000. "tags": [
  1001. "风险管理v3"
  1002. ],
  1003. "summary": "查询业务表单数据",
  1004. "parameters": [
  1005. {
  1006. "type": "string",
  1007. "description": "资金账号ID列表,用逗号分隔",
  1008. "name": "accountids",
  1009. "in": "query",
  1010. "required": true
  1011. },
  1012. {
  1013. "type": "integer",
  1014. "description": "状态,0为未结束 1为已结束",
  1015. "name": "status",
  1016. "in": "query",
  1017. "required": true
  1018. }
  1019. ],
  1020. "responses": {
  1021. "200": {
  1022. "description": "OK",
  1023. "schema": {
  1024. "type": "array",
  1025. "items": {
  1026. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1027. }
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Erms3/QueryPendingAuditContract": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "风险管理v3"
  1051. ],
  1052. "summary": "查询待审核合同",
  1053. "parameters": [
  1054. {
  1055. "type": "string",
  1056. "description": "资金账号ID列表,逗号隔开",
  1057. "name": "accountids",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "合同类型 1-采购 -1-销售",
  1064. "name": "contracttype",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "合同模式 1-普通 2-回购",
  1071. "name": "contractmode",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Erms3/QueryPendingBusiness": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "风险管理v3"
  1107. ],
  1108. "summary": "查询待审核基差贸易业务",
  1109. "parameters": [
  1110. {
  1111. "type": "string",
  1112. "description": "资金账号ID列表,逗号隔开",
  1113. "name": "accountids",
  1114. "in": "query",
  1115. "required": true
  1116. }
  1117. ],
  1118. "responses": {
  1119. "200": {
  1120. "description": "OK",
  1121. "schema": {
  1122. "type": "array",
  1123. "items": {
  1124. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1125. }
  1126. }
  1127. },
  1128. "500": {
  1129. "description": "Internal Server Error",
  1130. "schema": {
  1131. "$ref": "#/definitions/app.Response"
  1132. }
  1133. }
  1134. }
  1135. }
  1136. },
  1137. "/Erms3/QuerySpotContractAppleForm": {
  1138. "get": {
  1139. "security": [
  1140. {
  1141. "ApiKeyAuth": []
  1142. }
  1143. ],
  1144. "produces": [
  1145. "application/json"
  1146. ],
  1147. "tags": [
  1148. "风险管理v3"
  1149. ],
  1150. "summary": "查询合同申请表单数据",
  1151. "parameters": [
  1152. {
  1153. "type": "integer",
  1154. "description": "登录账号",
  1155. "name": "loginID",
  1156. "in": "query",
  1157. "required": true
  1158. }
  1159. ],
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1165. }
  1166. },
  1167. "500": {
  1168. "description": "Internal Server Error",
  1169. "schema": {
  1170. "$ref": "#/definitions/app.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/Erms3/QuerySpotContractDetail": {
  1177. "get": {
  1178. "security": [
  1179. {
  1180. "ApiKeyAuth": []
  1181. }
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "风险管理v3"
  1188. ],
  1189. "summary": "查询合同详细信息",
  1190. "parameters": [
  1191. {
  1192. "type": "string",
  1193. "description": "资金账号ID列表,用逗号分隔",
  1194. "name": "accountids",
  1195. "in": "query",
  1196. "required": true
  1197. },
  1198. {
  1199. "type": "integer",
  1200. "description": "合同类型,1为采购合同 -1为销售合同",
  1201. "name": "contracttype",
  1202. "in": "query",
  1203. "required": true
  1204. },
  1205. {
  1206. "type": "integer",
  1207. "description": "合同模式,1为普通合同 2为回购销售合同",
  1208. "name": "contractmode",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "状态,0为履约中 1为已完成",
  1215. "name": "status",
  1216. "in": "query",
  1217. "required": true
  1218. }
  1219. ],
  1220. "responses": {
  1221. "200": {
  1222. "description": "OK",
  1223. "schema": {
  1224. "type": "array",
  1225. "items": {
  1226. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1227. }
  1228. }
  1229. },
  1230. "500": {
  1231. "description": "Internal Server Error",
  1232. "schema": {
  1233. "$ref": "#/definitions/app.Response"
  1234. }
  1235. }
  1236. }
  1237. }
  1238. },
  1239. "/Erms3/QueryUserInfoApplies": {
  1240. "get": {
  1241. "security": [
  1242. {
  1243. "ApiKeyAuth": []
  1244. }
  1245. ],
  1246. "produces": [
  1247. "application/json"
  1248. ],
  1249. "tags": [
  1250. "风险管理v3"
  1251. ],
  1252. "summary": "客户申请信息查询",
  1253. "parameters": [
  1254. {
  1255. "type": "integer",
  1256. "description": "页码",
  1257. "name": "page",
  1258. "in": "query"
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "每页条数",
  1263. "name": "pagesize",
  1264. "in": "query"
  1265. },
  1266. {
  1267. "type": "string",
  1268. "description": "客户名称,支持模糊查询",
  1269. "name": "userName",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1278. }
  1279. },
  1280. "500": {
  1281. "description": "Internal Server Error",
  1282. "schema": {
  1283. "$ref": "#/definitions/app.Response"
  1284. }
  1285. }
  1286. }
  1287. }
  1288. },
  1289. "/Erms3/QueryUserInfos": {
  1290. "get": {
  1291. "security": [
  1292. {
  1293. "ApiKeyAuth": []
  1294. }
  1295. ],
  1296. "produces": [
  1297. "application/json"
  1298. ],
  1299. "tags": [
  1300. "风险管理v3"
  1301. ],
  1302. "summary": "客户信息查询",
  1303. "parameters": [
  1304. {
  1305. "type": "integer",
  1306. "description": "页码",
  1307. "name": "page",
  1308. "in": "query"
  1309. },
  1310. {
  1311. "type": "integer",
  1312. "description": "每页条数",
  1313. "name": "pagesize",
  1314. "in": "query"
  1315. },
  1316. {
  1317. "type": "string",
  1318. "description": "客户名称,支持模糊查询",
  1319. "name": "userName",
  1320. "in": "query"
  1321. }
  1322. ],
  1323. "responses": {
  1324. "200": {
  1325. "description": "OK",
  1326. "schema": {
  1327. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/HSBY/GetHsbyMyCount": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "description": "说明: 不包括已完成的数量。",
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "定制【海商报业】"
  1352. ],
  1353. "summary": "获取我的订单与包裹数量",
  1354. "parameters": [
  1355. {
  1356. "type": "string",
  1357. "description": "资金账户列表,格式:1,2,3",
  1358. "name": "accountIDs",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1368. }
  1369. },
  1370. "500": {
  1371. "description": "Internal Server Error",
  1372. "schema": {
  1373. "$ref": "#/definitions/app.Response"
  1374. }
  1375. }
  1376. }
  1377. }
  1378. },
  1379. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1380. "get": {
  1381. "security": [
  1382. {
  1383. "ApiKeyAuth": []
  1384. }
  1385. ],
  1386. "produces": [
  1387. "application/json"
  1388. ],
  1389. "tags": [
  1390. "定制【海商报业】"
  1391. ],
  1392. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1393. "parameters": [
  1394. {
  1395. "type": "integer",
  1396. "description": "页码",
  1397. "name": "page",
  1398. "in": "query"
  1399. },
  1400. {
  1401. "type": "integer",
  1402. "description": "每页条数",
  1403. "name": "pagesize",
  1404. "in": "query"
  1405. },
  1406. {
  1407. "type": "string",
  1408. "description": "资金账户列表,格式:1,2,3",
  1409. "name": "accountIDs",
  1410. "in": "query",
  1411. "required": true
  1412. }
  1413. ],
  1414. "responses": {
  1415. "200": {
  1416. "description": "OK",
  1417. "schema": {
  1418. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "description": "说明:查询结果已按委托价格和委托时间排序",
  1438. "produces": [
  1439. "application/json"
  1440. ],
  1441. "tags": [
  1442. "定制【海商报业】"
  1443. ],
  1444. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1445. "parameters": [
  1446. {
  1447. "type": "integer",
  1448. "description": "商品ID",
  1449. "name": "goodsID",
  1450. "in": "query",
  1451. "required": true
  1452. },
  1453. {
  1454. "type": "string",
  1455. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1456. "name": "accountIDs",
  1457. "in": "query"
  1458. },
  1459. {
  1460. "type": "integer",
  1461. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1462. "name": "buyOrSell",
  1463. "in": "query"
  1464. },
  1465. {
  1466. "type": "number",
  1467. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1468. "name": "price",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "档位,不传则默认为3档",
  1474. "name": "speed",
  1475. "in": "query"
  1476. }
  1477. ],
  1478. "responses": {
  1479. "200": {
  1480. "description": "OK",
  1481. "schema": {
  1482. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1483. }
  1484. },
  1485. "500": {
  1486. "description": "Internal Server Error",
  1487. "schema": {
  1488. "$ref": "#/definitions/app.Response"
  1489. }
  1490. }
  1491. }
  1492. }
  1493. },
  1494. "/HSBY/QueryHsbyListingGoodsDetail": {
  1495. "get": {
  1496. "security": [
  1497. {
  1498. "ApiKeyAuth": []
  1499. }
  1500. ],
  1501. "produces": [
  1502. "application/json"
  1503. ],
  1504. "tags": [
  1505. "定制【海商报业】"
  1506. ],
  1507. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1508. "parameters": [
  1509. {
  1510. "type": "integer",
  1511. "description": "商品ID",
  1512. "name": "goodsID",
  1513. "in": "query",
  1514. "required": true
  1515. },
  1516. {
  1517. "type": "integer",
  1518. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1519. "name": "AccountID",
  1520. "in": "query"
  1521. }
  1522. ],
  1523. "responses": {
  1524. "200": {
  1525. "description": "OK",
  1526. "schema": {
  1527. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1528. }
  1529. },
  1530. "500": {
  1531. "description": "Internal Server Error",
  1532. "schema": {
  1533. "$ref": "#/definitions/app.Response"
  1534. }
  1535. }
  1536. }
  1537. }
  1538. },
  1539. "/HSBY/QueryHsbyMarketGoodses": {
  1540. "get": {
  1541. "security": [
  1542. {
  1543. "ApiKeyAuth": []
  1544. }
  1545. ],
  1546. "produces": [
  1547. "application/json"
  1548. ],
  1549. "tags": [
  1550. "定制【海商报业】"
  1551. ],
  1552. "summary": "查询特卖商品列表(三级商城)",
  1553. "parameters": [
  1554. {
  1555. "type": "integer",
  1556. "description": "页码",
  1557. "name": "page",
  1558. "in": "query"
  1559. },
  1560. {
  1561. "type": "integer",
  1562. "description": "每页条数",
  1563. "name": "pagesize",
  1564. "in": "query"
  1565. },
  1566. {
  1567. "type": "string",
  1568. "description": "市场ID列表,格式:1,2,3",
  1569. "name": "marketIDs",
  1570. "in": "query",
  1571. "required": true
  1572. },
  1573. {
  1574. "type": "integer",
  1575. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1576. "name": "accountID",
  1577. "in": "query"
  1578. },
  1579. {
  1580. "type": "integer",
  1581. "description": "类别ID",
  1582. "name": "categoryID",
  1583. "in": "query"
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "$ref": "#/definitions/models.HsbyMarketGoods"
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/HSBY/QueryHsbyMarkets": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "定制【海商报业】"
  1614. ],
  1615. "summary": "查询海商报业相关市场信息",
  1616. "responses": {
  1617. "200": {
  1618. "description": "OK",
  1619. "schema": {
  1620. "$ref": "#/definitions/models.HsbyMarketInfo"
  1621. }
  1622. },
  1623. "500": {
  1624. "description": "Internal Server Error",
  1625. "schema": {
  1626. "$ref": "#/definitions/app.Response"
  1627. }
  1628. }
  1629. }
  1630. }
  1631. },
  1632. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1633. "get": {
  1634. "security": [
  1635. {
  1636. "ApiKeyAuth": []
  1637. }
  1638. ],
  1639. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1640. "produces": [
  1641. "application/json"
  1642. ],
  1643. "tags": [
  1644. "定制【海商报业】"
  1645. ],
  1646. "summary": "查询“我的订单”信息",
  1647. "parameters": [
  1648. {
  1649. "type": "string",
  1650. "description": "资金账户列表,格式:1,2,3",
  1651. "name": "accountIDs",
  1652. "in": "query",
  1653. "required": true
  1654. },
  1655. {
  1656. "type": "integer",
  1657. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1658. "name": "myBuyStatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1667. }
  1668. },
  1669. "500": {
  1670. "description": "Internal Server Error",
  1671. "schema": {
  1672. "$ref": "#/definitions/app.Response"
  1673. }
  1674. }
  1675. }
  1676. }
  1677. },
  1678. "/HSBY/QueryHsbyMyGoods": {
  1679. "get": {
  1680. "security": [
  1681. {
  1682. "ApiKeyAuth": []
  1683. }
  1684. ],
  1685. "produces": [
  1686. "application/json"
  1687. ],
  1688. "tags": [
  1689. "定制【海商报业】"
  1690. ],
  1691. "summary": "查询“我的商品”信息",
  1692. "parameters": [
  1693. {
  1694. "type": "string",
  1695. "description": "资金账户列表,格式:1,2,3",
  1696. "name": "accountIDs",
  1697. "in": "query",
  1698. "required": true
  1699. }
  1700. ],
  1701. "responses": {
  1702. "200": {
  1703. "description": "OK",
  1704. "schema": {
  1705. "$ref": "#/definitions/models.HsbyMyGoods"
  1706. }
  1707. },
  1708. "500": {
  1709. "description": "Internal Server Error",
  1710. "schema": {
  1711. "$ref": "#/definitions/app.Response"
  1712. }
  1713. }
  1714. }
  1715. }
  1716. },
  1717. "/HSBY/QueryHsbyMyPackages": {
  1718. "get": {
  1719. "security": [
  1720. {
  1721. "ApiKeyAuth": []
  1722. }
  1723. ],
  1724. "produces": [
  1725. "application/json"
  1726. ],
  1727. "tags": [
  1728. "定制【海商报业】"
  1729. ],
  1730. "summary": "查询我的包裹信息",
  1731. "parameters": [
  1732. {
  1733. "type": "string",
  1734. "description": "资金账户列表,格式:1,2,3",
  1735. "name": "accountIDs",
  1736. "in": "query",
  1737. "required": true
  1738. },
  1739. {
  1740. "type": "integer",
  1741. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1742. "name": "takeOrderStatus",
  1743. "in": "query"
  1744. }
  1745. ],
  1746. "responses": {
  1747. "200": {
  1748. "description": "OK",
  1749. "schema": {
  1750. "$ref": "#/definitions/models.HsbyMyPackage"
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/HSBY/QueryHsbyPreGoodsDetail": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "定制【海商报业】"
  1774. ],
  1775. "summary": "查询一级市场(预售)商品信息详情",
  1776. "parameters": [
  1777. {
  1778. "type": "integer",
  1779. "description": "商品ID",
  1780. "name": "goodsID",
  1781. "in": "query",
  1782. "required": true
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户,主要用于获取预售商品购买上限",
  1787. "name": "accountID",
  1788. "in": "query"
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1796. }
  1797. },
  1798. "500": {
  1799. "description": "Internal Server Error",
  1800. "schema": {
  1801. "$ref": "#/definitions/app.Response"
  1802. }
  1803. }
  1804. }
  1805. }
  1806. },
  1807. "/HSBY/QueryHsbyPreGoodses": {
  1808. "get": {
  1809. "security": [
  1810. {
  1811. "ApiKeyAuth": []
  1812. }
  1813. ],
  1814. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1815. "produces": [
  1816. "application/json"
  1817. ],
  1818. "tags": [
  1819. "定制【海商报业】"
  1820. ],
  1821. "summary": "查询新品上市商品列表(一级市场预售)",
  1822. "parameters": [
  1823. {
  1824. "type": "integer",
  1825. "description": "页码",
  1826. "name": "page",
  1827. "in": "query"
  1828. },
  1829. {
  1830. "type": "integer",
  1831. "description": "每页条数",
  1832. "name": "pagesize",
  1833. "in": "query"
  1834. },
  1835. {
  1836. "type": "string",
  1837. "description": "市场ID列表,格式:1,2,3",
  1838. "name": "marketIDs",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "目的地(省)ID",
  1845. "name": "descProvinceID",
  1846. "in": "query"
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "目的地(市)ID",
  1851. "name": "descCityID",
  1852. "in": "query"
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "$ref": "#/definitions/models.HsbyPreGoods"
  1860. }
  1861. },
  1862. "500": {
  1863. "description": "Internal Server Error",
  1864. "schema": {
  1865. "$ref": "#/definitions/app.Response"
  1866. }
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/HSBY/QueryHsbySellMyDetails": {
  1872. "get": {
  1873. "security": [
  1874. {
  1875. "ApiKeyAuth": []
  1876. }
  1877. ],
  1878. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1879. "produces": [
  1880. "application/json"
  1881. ],
  1882. "tags": [
  1883. "定制【海商报业】"
  1884. ],
  1885. "summary": "查询\"我的闲置\"单据信息",
  1886. "parameters": [
  1887. {
  1888. "type": "integer",
  1889. "description": "页码",
  1890. "name": "page",
  1891. "in": "query"
  1892. },
  1893. {
  1894. "type": "integer",
  1895. "description": "每页条数",
  1896. "name": "pagesize",
  1897. "in": "query"
  1898. },
  1899. {
  1900. "type": "string",
  1901. "description": "资金账户列表,格式:1,2,3",
  1902. "name": "accountIDs",
  1903. "in": "query",
  1904. "required": true
  1905. },
  1906. {
  1907. "type": "integer",
  1908. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  1909. "name": "orderType",
  1910. "in": "query"
  1911. }
  1912. ],
  1913. "responses": {
  1914. "200": {
  1915. "description": "OK",
  1916. "schema": {
  1917. "$ref": "#/definitions/models.HsbySellMyDetail"
  1918. }
  1919. },
  1920. "500": {
  1921. "description": "Internal Server Error",
  1922. "schema": {
  1923. "$ref": "#/definitions/app.Response"
  1924. }
  1925. }
  1926. }
  1927. }
  1928. },
  1929. "/HSBY/QueryHsbyTopGoodses": {
  1930. "get": {
  1931. "security": [
  1932. {
  1933. "ApiKeyAuth": []
  1934. }
  1935. ],
  1936. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1937. "produces": [
  1938. "application/json"
  1939. ],
  1940. "tags": [
  1941. "定制【海商报业】"
  1942. ],
  1943. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1944. "parameters": [
  1945. {
  1946. "type": "integer",
  1947. "description": "页码",
  1948. "name": "page",
  1949. "in": "query"
  1950. },
  1951. {
  1952. "type": "integer",
  1953. "description": "每页条数",
  1954. "name": "pagesize",
  1955. "in": "query"
  1956. },
  1957. {
  1958. "type": "string",
  1959. "description": "市场ID列表,格式:1,2,3",
  1960. "name": "marketIDs",
  1961. "in": "query",
  1962. "required": true
  1963. },
  1964. {
  1965. "type": "integer",
  1966. "description": "目的地(省)ID",
  1967. "name": "descProvinceID",
  1968. "in": "query"
  1969. },
  1970. {
  1971. "type": "integer",
  1972. "description": "目的地(市)ID",
  1973. "name": "descCityID",
  1974. "in": "query"
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.HsbyTopGoods"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/HSBY/QueryMyCollectionOrders": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "定制【海商报业】"
  2005. ],
  2006. "summary": "我的闲置中收款信息查询",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "页码",
  2011. "name": "page",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "每页条数",
  2017. "name": "pagesize",
  2018. "in": "query"
  2019. },
  2020. {
  2021. "type": "string",
  2022. "description": "资金账户,格式:1,2,3",
  2023. "name": "accountIDs",
  2024. "in": "query",
  2025. "required": true
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/HSBY/QueryMyCoupons": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "produces": [
  2052. "application/json"
  2053. ],
  2054. "tags": [
  2055. "定制【海商报业】"
  2056. ],
  2057. "summary": "我的优惠卷查询",
  2058. "parameters": [
  2059. {
  2060. "type": "string",
  2061. "description": "资金账户列表,格式:1,2,3",
  2062. "name": "accountIDs",
  2063. "in": "query",
  2064. "required": true
  2065. },
  2066. {
  2067. "type": "integer",
  2068. "description": "商品ID, 一般与sellUserID配套传入",
  2069. "name": "goodsID",
  2070. "in": "query"
  2071. },
  2072. {
  2073. "type": "integer",
  2074. "description": "卖方UserID",
  2075. "name": "sellUserID",
  2076. "in": "query"
  2077. }
  2078. ],
  2079. "responses": {
  2080. "200": {
  2081. "description": "OK",
  2082. "schema": {
  2083. "$ref": "#/definitions/models.MyCoupon"
  2084. }
  2085. },
  2086. "500": {
  2087. "description": "Internal Server Error",
  2088. "schema": {
  2089. "$ref": "#/definitions/app.Response"
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "/HSBY/QueryMyPayOrders": {
  2096. "get": {
  2097. "security": [
  2098. {
  2099. "ApiKeyAuth": []
  2100. }
  2101. ],
  2102. "produces": [
  2103. "application/json"
  2104. ],
  2105. "tags": [
  2106. "定制【海商报业】"
  2107. ],
  2108. "summary": "获取我的订单中待付款信息",
  2109. "parameters": [
  2110. {
  2111. "type": "integer",
  2112. "description": "页码",
  2113. "name": "page",
  2114. "in": "query"
  2115. },
  2116. {
  2117. "type": "integer",
  2118. "description": "每页条数",
  2119. "name": "pagesize",
  2120. "in": "query"
  2121. },
  2122. {
  2123. "type": "string",
  2124. "description": "资金账户列表,格式:1,2,3",
  2125. "name": "accountIDs",
  2126. "in": "query",
  2127. "required": true
  2128. },
  2129. {
  2130. "type": "integer",
  2131. "description": "买方委托单号",
  2132. "name": "buyOrderID",
  2133. "in": "query"
  2134. },
  2135. {
  2136. "type": "integer",
  2137. "description": "卖方委托单号",
  2138. "name": "sellOrderID",
  2139. "in": "query"
  2140. }
  2141. ],
  2142. "responses": {
  2143. "200": {
  2144. "description": "OK",
  2145. "schema": {
  2146. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2147. }
  2148. },
  2149. "500": {
  2150. "description": "Internal Server Error",
  2151. "schema": {
  2152. "$ref": "#/definitions/app.Response"
  2153. }
  2154. }
  2155. }
  2156. }
  2157. },
  2158. "/HSBY/QueryProvincesAndCities": {
  2159. "get": {
  2160. "security": [
  2161. {
  2162. "ApiKeyAuth": []
  2163. }
  2164. ],
  2165. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2166. "produces": [
  2167. "application/json"
  2168. ],
  2169. "tags": [
  2170. "定制【海商报业】"
  2171. ],
  2172. "summary": "查询省市信息(不包括区)",
  2173. "parameters": [
  2174. {
  2175. "type": "integer",
  2176. "description": "省ID",
  2177. "name": "provinceID",
  2178. "in": "query"
  2179. }
  2180. ],
  2181. "responses": {
  2182. "200": {
  2183. "description": "OK",
  2184. "schema": {
  2185. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2186. }
  2187. },
  2188. "500": {
  2189. "description": "Internal Server Error",
  2190. "schema": {
  2191. "$ref": "#/definitions/app.Response"
  2192. }
  2193. }
  2194. }
  2195. }
  2196. },
  2197. "/HSBY/SetHsbyMyPackagesStatus": {
  2198. "post": {
  2199. "security": [
  2200. {
  2201. "ApiKeyAuth": []
  2202. }
  2203. ],
  2204. "produces": [
  2205. "application/json"
  2206. ],
  2207. "tags": [
  2208. "定制【海商报业】"
  2209. ],
  2210. "summary": "设置我的包裹已收货状态",
  2211. "parameters": [
  2212. {
  2213. "type": "string",
  2214. "description": "提货单号",
  2215. "name": "takeOrderID",
  2216. "in": "query",
  2217. "required": true
  2218. },
  2219. {
  2220. "type": "integer",
  2221. "description": "资金账号",
  2222. "name": "accountID",
  2223. "in": "query",
  2224. "required": true
  2225. }
  2226. ],
  2227. "responses": {
  2228. "200": {
  2229. "description": "OK",
  2230. "schema": {
  2231. "$ref": "#/definitions/app.Response"
  2232. }
  2233. },
  2234. "500": {
  2235. "description": "Internal Server Error",
  2236. "schema": {
  2237. "$ref": "#/definitions/app.Response"
  2238. }
  2239. }
  2240. }
  2241. }
  2242. },
  2243. "/Order/QueryHisTradeDetail": {
  2244. "get": {
  2245. "security": [
  2246. {
  2247. "ApiKeyAuth": []
  2248. }
  2249. ],
  2250. "produces": [
  2251. "application/json"
  2252. ],
  2253. "tags": [
  2254. "通用单据"
  2255. ],
  2256. "summary": "历史成交单查询(合约市场)",
  2257. "parameters": [
  2258. {
  2259. "type": "string",
  2260. "description": "资金账户 - 格式:1,2,3",
  2261. "name": "accountID",
  2262. "in": "query",
  2263. "required": true
  2264. },
  2265. {
  2266. "type": "integer",
  2267. "description": "成交单号",
  2268. "name": "tradeID",
  2269. "in": "query"
  2270. },
  2271. {
  2272. "type": "integer",
  2273. "description": "委托单号",
  2274. "name": "orderID",
  2275. "in": "query"
  2276. },
  2277. {
  2278. "type": "string",
  2279. "description": "交易模式 - 格式:1,2,3",
  2280. "name": "tradeMode",
  2281. "in": "query"
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "委托单据类型",
  2286. "name": "buildType",
  2287. "in": "query"
  2288. },
  2289. {
  2290. "type": "string",
  2291. "description": "成交类别 - 格式:1,2,3",
  2292. "name": "tradeType",
  2293. "in": "query"
  2294. },
  2295. {
  2296. "type": "string",
  2297. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2298. "name": "startDate",
  2299. "in": "query"
  2300. },
  2301. {
  2302. "type": "string",
  2303. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2304. "name": "endDate",
  2305. "in": "query"
  2306. }
  2307. ],
  2308. "responses": {
  2309. "200": {
  2310. "description": "OK",
  2311. "schema": {
  2312. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2313. }
  2314. },
  2315. "500": {
  2316. "description": "Internal Server Error",
  2317. "schema": {
  2318. "$ref": "#/definitions/app.Response"
  2319. }
  2320. }
  2321. }
  2322. }
  2323. },
  2324. "/Order/QueryHisTradeOrderDetail": {
  2325. "get": {
  2326. "security": [
  2327. {
  2328. "ApiKeyAuth": []
  2329. }
  2330. ],
  2331. "produces": [
  2332. "application/json"
  2333. ],
  2334. "tags": [
  2335. "通用单据"
  2336. ],
  2337. "summary": "历史委托单查询请求(合约市场)",
  2338. "parameters": [
  2339. {
  2340. "type": "string",
  2341. "description": "资金账户 - 格式:1,2,3",
  2342. "name": "accountID",
  2343. "in": "query",
  2344. "required": true
  2345. },
  2346. {
  2347. "type": "string",
  2348. "description": "交易模式 - 格式:1,2,3",
  2349. "name": "tradeMode",
  2350. "in": "query"
  2351. },
  2352. {
  2353. "type": "string",
  2354. "description": "委托状态 - 格式:1,2,3",
  2355. "name": "orderStatus",
  2356. "in": "query"
  2357. },
  2358. {
  2359. "type": "integer",
  2360. "description": "委托单号",
  2361. "name": "orderID",
  2362. "in": "query"
  2363. },
  2364. {
  2365. "type": "string",
  2366. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2367. "name": "startDate",
  2368. "in": "query"
  2369. },
  2370. {
  2371. "type": "string",
  2372. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2373. "name": "endDate",
  2374. "in": "query"
  2375. }
  2376. ],
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2382. }
  2383. },
  2384. "500": {
  2385. "description": "Internal Server Error",
  2386. "schema": {
  2387. "$ref": "#/definitions/app.Response"
  2388. }
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "/Order/QueryTradeDetail": {
  2394. "get": {
  2395. "security": [
  2396. {
  2397. "ApiKeyAuth": []
  2398. }
  2399. ],
  2400. "produces": [
  2401. "application/json"
  2402. ],
  2403. "tags": [
  2404. "通用单据"
  2405. ],
  2406. "summary": "成交单查询(合约市场)",
  2407. "parameters": [
  2408. {
  2409. "type": "string",
  2410. "description": "资金账户 - 格式:1,2,3",
  2411. "name": "accountID",
  2412. "in": "query",
  2413. "required": true
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "成交单号",
  2418. "name": "tradeID",
  2419. "in": "query"
  2420. },
  2421. {
  2422. "type": "integer",
  2423. "description": "委托单号",
  2424. "name": "orderID",
  2425. "in": "query"
  2426. },
  2427. {
  2428. "type": "string",
  2429. "description": "交易模式 - 格式:1,2,3",
  2430. "name": "tradeMode",
  2431. "in": "query"
  2432. },
  2433. {
  2434. "type": "integer",
  2435. "description": "委托单据类型",
  2436. "name": "buildType",
  2437. "in": "query"
  2438. },
  2439. {
  2440. "type": "string",
  2441. "description": "成交类别 - 格式:1,2,3",
  2442. "name": "tradeType",
  2443. "in": "query"
  2444. }
  2445. ],
  2446. "responses": {
  2447. "200": {
  2448. "description": "OK",
  2449. "schema": {
  2450. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2451. }
  2452. },
  2453. "500": {
  2454. "description": "Internal Server Error",
  2455. "schema": {
  2456. "$ref": "#/definitions/app.Response"
  2457. }
  2458. }
  2459. }
  2460. }
  2461. },
  2462. "/Order/QueryTradeOrderDetail": {
  2463. "get": {
  2464. "security": [
  2465. {
  2466. "ApiKeyAuth": []
  2467. }
  2468. ],
  2469. "produces": [
  2470. "application/json"
  2471. ],
  2472. "tags": [
  2473. "通用单据"
  2474. ],
  2475. "summary": "委托单查询请求(合约市场)",
  2476. "parameters": [
  2477. {
  2478. "type": "string",
  2479. "description": "资金账户 - 格式:1,2,3",
  2480. "name": "accountID",
  2481. "in": "query",
  2482. "required": true
  2483. },
  2484. {
  2485. "type": "string",
  2486. "description": "交易模式 - 格式:1,2,3",
  2487. "name": "tradeMode",
  2488. "in": "query"
  2489. },
  2490. {
  2491. "type": "string",
  2492. "description": "委托状态 - 格式:1,2,3",
  2493. "name": "orderStatus",
  2494. "in": "query"
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "委托单号",
  2499. "name": "orderID",
  2500. "in": "query"
  2501. }
  2502. ],
  2503. "responses": {
  2504. "200": {
  2505. "description": "OK",
  2506. "schema": {
  2507. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2508. }
  2509. },
  2510. "500": {
  2511. "description": "Internal Server Error",
  2512. "schema": {
  2513. "$ref": "#/definitions/app.Response"
  2514. }
  2515. }
  2516. }
  2517. }
  2518. },
  2519. "/Order/QueryTradePosition": {
  2520. "get": {
  2521. "security": [
  2522. {
  2523. "ApiKeyAuth": []
  2524. }
  2525. ],
  2526. "produces": [
  2527. "application/json"
  2528. ],
  2529. "tags": [
  2530. "通用单据"
  2531. ],
  2532. "summary": "持仓汇总查询(合约市场)",
  2533. "parameters": [
  2534. {
  2535. "type": "string",
  2536. "description": "资金账户 - 格式:1,2,3",
  2537. "name": "accountID",
  2538. "in": "query",
  2539. "required": true
  2540. },
  2541. {
  2542. "type": "string",
  2543. "description": "交易模式 - 格式:1,2,3",
  2544. "name": "tradeMode",
  2545. "in": "query"
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2553. }
  2554. },
  2555. "500": {
  2556. "description": "Internal Server Error",
  2557. "schema": {
  2558. "$ref": "#/definitions/app.Response"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/Quote/QueryHistoryDatas": {
  2565. "get": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "produces": [
  2572. "application/json"
  2573. ],
  2574. "tags": [
  2575. "行情服务"
  2576. ],
  2577. "summary": "查询行情历史数据",
  2578. "parameters": [
  2579. {
  2580. "type": "integer",
  2581. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2582. "name": "cycleType",
  2583. "in": "query",
  2584. "required": true
  2585. },
  2586. {
  2587. "type": "string",
  2588. "description": "商品代码",
  2589. "name": "goodsCode",
  2590. "in": "query",
  2591. "required": true
  2592. },
  2593. {
  2594. "type": "string",
  2595. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2596. "name": "startTime",
  2597. "in": "query"
  2598. },
  2599. {
  2600. "type": "string",
  2601. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2602. "name": "endTime",
  2603. "in": "query"
  2604. },
  2605. {
  2606. "type": "integer",
  2607. "description": "条数",
  2608. "name": "count",
  2609. "in": "query"
  2610. },
  2611. {
  2612. "type": "boolean",
  2613. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2614. "name": "isAsc",
  2615. "in": "query"
  2616. }
  2617. ],
  2618. "responses": {
  2619. "200": {
  2620. "description": "OK",
  2621. "schema": {
  2622. "$ref": "#/definitions/quote.HistoryData"
  2623. }
  2624. },
  2625. "500": {
  2626. "description": "Internal Server Error",
  2627. "schema": {
  2628. "$ref": "#/definitions/app.Response"
  2629. }
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "/Quote/QueryTSData": {
  2635. "get": {
  2636. "produces": [
  2637. "application/json"
  2638. ],
  2639. "tags": [
  2640. "行情服务"
  2641. ],
  2642. "summary": "分时图数据查询",
  2643. "parameters": [
  2644. {
  2645. "type": "string",
  2646. "description": "商品代码",
  2647. "name": "GoodsCode",
  2648. "in": "query",
  2649. "required": true
  2650. }
  2651. ],
  2652. "responses": {
  2653. "200": {
  2654. "description": "OK",
  2655. "schema": {
  2656. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/SZDZ/QueryConvertConfig": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "定制【尚志大宗】"
  2680. ],
  2681. "summary": "查询交易系统转换设置",
  2682. "parameters": [
  2683. {
  2684. "type": "integer",
  2685. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2686. "name": "convertType",
  2687. "in": "query"
  2688. },
  2689. {
  2690. "type": "string",
  2691. "description": "外部商品代码[JD\\PD]",
  2692. "name": "outerGoodsCode",
  2693. "in": "query"
  2694. },
  2695. {
  2696. "type": "string",
  2697. "description": "内部商品ID列表[交易],格式:1,2,3",
  2698. "name": "innerGoodsIDs",
  2699. "in": "query"
  2700. }
  2701. ],
  2702. "responses": {
  2703. "200": {
  2704. "description": "OK",
  2705. "schema": {
  2706. "$ref": "#/definitions/models.Szdz3convertconfig"
  2707. }
  2708. },
  2709. "500": {
  2710. "description": "Internal Server Error",
  2711. "schema": {
  2712. "$ref": "#/definitions/app.Response"
  2713. }
  2714. }
  2715. }
  2716. }
  2717. },
  2718. "/SZDZ/QueryConvertLog": {
  2719. "get": {
  2720. "security": [
  2721. {
  2722. "ApiKeyAuth": []
  2723. }
  2724. ],
  2725. "produces": [
  2726. "application/json"
  2727. ],
  2728. "tags": [
  2729. "定制【尚志大宗】"
  2730. ],
  2731. "summary": "交易系统转换流水查询",
  2732. "parameters": [
  2733. {
  2734. "type": "string",
  2735. "description": "资金账户 - 格式:1,2,3",
  2736. "name": "accountID",
  2737. "in": "query",
  2738. "required": true
  2739. },
  2740. {
  2741. "type": "string",
  2742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2743. "name": "startDate",
  2744. "in": "query"
  2745. },
  2746. {
  2747. "type": "string",
  2748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2749. "name": "endDate",
  2750. "in": "query"
  2751. }
  2752. ],
  2753. "responses": {
  2754. "200": {
  2755. "description": "OK",
  2756. "schema": {
  2757. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2758. }
  2759. },
  2760. "500": {
  2761. "description": "Internal Server Error",
  2762. "schema": {
  2763. "$ref": "#/definitions/app.Response"
  2764. }
  2765. }
  2766. }
  2767. }
  2768. },
  2769. "/SZDZ/QueryGoodsPickup": {
  2770. "get": {
  2771. "security": [
  2772. {
  2773. "ApiKeyAuth": []
  2774. }
  2775. ],
  2776. "produces": [
  2777. "application/json"
  2778. ],
  2779. "tags": [
  2780. "定制【尚志大宗】"
  2781. ],
  2782. "summary": "商品提货单查询",
  2783. "parameters": [
  2784. {
  2785. "type": "string",
  2786. "description": "资金账户 - 格式:1,2,3",
  2787. "name": "accountID",
  2788. "in": "query",
  2789. "required": true
  2790. },
  2791. {
  2792. "type": "integer",
  2793. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2794. "name": "takeOrderStatus",
  2795. "in": "query"
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/SZDZ/QueryRecieptOrder": {
  2815. "get": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2822. "produces": [
  2823. "application/json"
  2824. ],
  2825. "tags": [
  2826. "定制【尚志大宗】"
  2827. ],
  2828. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2829. "parameters": [
  2830. {
  2831. "type": "integer",
  2832. "description": "页码",
  2833. "name": "page",
  2834. "in": "query"
  2835. },
  2836. {
  2837. "type": "integer",
  2838. "description": "每页条数",
  2839. "name": "pagesize",
  2840. "in": "query"
  2841. },
  2842. {
  2843. "type": "integer",
  2844. "description": "商品ID",
  2845. "name": "goodsID",
  2846. "in": "query",
  2847. "required": true
  2848. },
  2849. {
  2850. "type": "string",
  2851. "description": "所属账户名称",
  2852. "name": "accountName",
  2853. "in": "query"
  2854. },
  2855. {
  2856. "type": "integer",
  2857. "description": "市场ID",
  2858. "name": "marketID",
  2859. "in": "query"
  2860. },
  2861. {
  2862. "type": "integer",
  2863. "description": "方向 - 0:买 1:卖",
  2864. "name": "buyorsell",
  2865. "in": "query",
  2866. "required": true
  2867. }
  2868. ],
  2869. "responses": {
  2870. "200": {
  2871. "description": "OK",
  2872. "schema": {
  2873. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/SZDZ/QuerySZDZTradePosition": {
  2886. "get": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "定制【尚志大宗】"
  2897. ],
  2898. "summary": "持仓汇总查询(尚志大宗)",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "资金账户",
  2903. "name": "accountID",
  2904. "in": "query",
  2905. "required": true
  2906. }
  2907. ],
  2908. "responses": {
  2909. "200": {
  2910. "description": "OK",
  2911. "schema": {
  2912. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2913. }
  2914. },
  2915. "500": {
  2916. "description": "Internal Server Error",
  2917. "schema": {
  2918. "$ref": "#/definitions/app.Response"
  2919. }
  2920. }
  2921. }
  2922. }
  2923. },
  2924. "/SZDZ/SearchWhite": {
  2925. "get": {
  2926. "security": [
  2927. {
  2928. "ApiKeyAuth": []
  2929. }
  2930. ],
  2931. "produces": [
  2932. "application/json"
  2933. ],
  2934. "tags": [
  2935. "定制【尚志大宗】"
  2936. ],
  2937. "summary": "搜索白名单",
  2938. "parameters": [
  2939. {
  2940. "type": "integer",
  2941. "description": "用户ID",
  2942. "name": "userID",
  2943. "in": "query",
  2944. "required": true
  2945. }
  2946. ],
  2947. "responses": {
  2948. "200": {
  2949. "description": "OK",
  2950. "schema": {
  2951. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2952. }
  2953. },
  2954. "500": {
  2955. "description": "Internal Server Error",
  2956. "schema": {
  2957. "$ref": "#/definitions/app.Response"
  2958. }
  2959. }
  2960. }
  2961. }
  2962. },
  2963. "/Search/SearchGoodses": {
  2964. "get": {
  2965. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2966. "produces": [
  2967. "application/json"
  2968. ],
  2969. "tags": [
  2970. "检索服务"
  2971. ],
  2972. "summary": "检索商品信息",
  2973. "parameters": [
  2974. {
  2975. "type": "string",
  2976. "description": "检索内容",
  2977. "name": "content",
  2978. "in": "query",
  2979. "required": true
  2980. },
  2981. {
  2982. "type": "string",
  2983. "description": "交易模式,格式:1,2,3",
  2984. "name": "tradeModes",
  2985. "in": "query"
  2986. }
  2987. ],
  2988. "responses": {
  2989. "200": {
  2990. "description": "OK",
  2991. "schema": {
  2992. "$ref": "#/definitions/models.SearchGoods"
  2993. }
  2994. },
  2995. "500": {
  2996. "description": "Internal Server Error",
  2997. "schema": {
  2998. "$ref": "#/definitions/app.Response"
  2999. }
  3000. }
  3001. }
  3002. }
  3003. },
  3004. "/TaAccount/QueryAmountLog": {
  3005. "get": {
  3006. "security": [
  3007. {
  3008. "ApiKeyAuth": []
  3009. }
  3010. ],
  3011. "produces": [
  3012. "application/json"
  3013. ],
  3014. "tags": [
  3015. "资金账户"
  3016. ],
  3017. "summary": "资金流水查询(当前)",
  3018. "parameters": [
  3019. {
  3020. "type": "integer",
  3021. "description": "页码",
  3022. "name": "page",
  3023. "in": "query"
  3024. },
  3025. {
  3026. "type": "integer",
  3027. "description": "每页条数",
  3028. "name": "pagesize",
  3029. "in": "query"
  3030. },
  3031. {
  3032. "type": "string",
  3033. "description": "资金账户 - 格式:1,2,3",
  3034. "name": "accountID",
  3035. "in": "query",
  3036. "required": true
  3037. },
  3038. {
  3039. "type": "string",
  3040. "description": "资金操作类型 - 格式:1,2,3",
  3041. "name": "OperateType",
  3042. "in": "query"
  3043. }
  3044. ],
  3045. "responses": {
  3046. "200": {
  3047. "description": "OK",
  3048. "schema": {
  3049. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3050. }
  3051. },
  3052. "500": {
  3053. "description": "Internal Server Error",
  3054. "schema": {
  3055. "$ref": "#/definitions/app.Response"
  3056. }
  3057. }
  3058. }
  3059. }
  3060. },
  3061. "/TaAccount/QueryHisAmountLog": {
  3062. "get": {
  3063. "security": [
  3064. {
  3065. "ApiKeyAuth": []
  3066. }
  3067. ],
  3068. "produces": [
  3069. "application/json"
  3070. ],
  3071. "tags": [
  3072. "资金账户"
  3073. ],
  3074. "summary": "资金流水查询(历史)",
  3075. "parameters": [
  3076. {
  3077. "type": "integer",
  3078. "description": "页码",
  3079. "name": "page",
  3080. "in": "query"
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "每页条数",
  3085. "name": "pagesize",
  3086. "in": "query"
  3087. },
  3088. {
  3089. "type": "string",
  3090. "description": "资金账户 - 格式:1,2,3",
  3091. "name": "accountID",
  3092. "in": "query",
  3093. "required": true
  3094. },
  3095. {
  3096. "type": "string",
  3097. "description": "资金操作类型 - 格式:1,2,3",
  3098. "name": "OperateType",
  3099. "in": "query"
  3100. },
  3101. {
  3102. "type": "string",
  3103. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3104. "name": "startDate",
  3105. "in": "query"
  3106. },
  3107. {
  3108. "type": "string",
  3109. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3110. "name": "endDate",
  3111. "in": "query"
  3112. }
  3113. ],
  3114. "responses": {
  3115. "200": {
  3116. "description": "OK",
  3117. "schema": {
  3118. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3119. }
  3120. },
  3121. "500": {
  3122. "description": "Internal Server Error",
  3123. "schema": {
  3124. "$ref": "#/definitions/app.Response"
  3125. }
  3126. }
  3127. }
  3128. }
  3129. },
  3130. "/Trade/QueryRecieptOrder": {
  3131. "get": {
  3132. "security": [
  3133. {
  3134. "ApiKeyAuth": []
  3135. }
  3136. ],
  3137. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3138. "produces": [
  3139. "application/json"
  3140. ],
  3141. "tags": [
  3142. "通用交易"
  3143. ],
  3144. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3145. "parameters": [
  3146. {
  3147. "type": "integer",
  3148. "description": "页码",
  3149. "name": "page",
  3150. "in": "query"
  3151. },
  3152. {
  3153. "type": "integer",
  3154. "description": "每页条数",
  3155. "name": "pagesize",
  3156. "in": "query"
  3157. },
  3158. {
  3159. "type": "integer",
  3160. "description": "商品ID",
  3161. "name": "goodsID",
  3162. "in": "query",
  3163. "required": true
  3164. },
  3165. {
  3166. "type": "string",
  3167. "description": "所属账户名称",
  3168. "name": "accountName",
  3169. "in": "query"
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "市场ID",
  3174. "name": "marketID",
  3175. "in": "query"
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "方向 - 0:买 1:卖",
  3180. "name": "buyorsell",
  3181. "in": "query",
  3182. "required": true
  3183. }
  3184. ],
  3185. "responses": {
  3186. "200": {
  3187. "description": "OK",
  3188. "schema": {
  3189. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3190. }
  3191. },
  3192. "500": {
  3193. "description": "Internal Server Error",
  3194. "schema": {
  3195. "$ref": "#/definitions/app.Response"
  3196. }
  3197. }
  3198. }
  3199. }
  3200. },
  3201. "/User/AddMessageBoard": {
  3202. "post": {
  3203. "security": [
  3204. {
  3205. "ApiKeyAuth": []
  3206. }
  3207. ],
  3208. "produces": [
  3209. "application/json"
  3210. ],
  3211. "tags": [
  3212. "用户信息"
  3213. ],
  3214. "summary": "添加用户留言板信息",
  3215. "parameters": [
  3216. {
  3217. "type": "integer",
  3218. "description": "用户ID",
  3219. "name": "userID",
  3220. "in": "query",
  3221. "required": true
  3222. },
  3223. {
  3224. "type": "string",
  3225. "description": "留言信息",
  3226. "name": "message",
  3227. "in": "query",
  3228. "required": true
  3229. }
  3230. ],
  3231. "responses": {
  3232. "200": {
  3233. "description": "OK",
  3234. "schema": {
  3235. "$ref": "#/definitions/app.Response"
  3236. }
  3237. },
  3238. "500": {
  3239. "description": "Internal Server Error",
  3240. "schema": {
  3241. "$ref": "#/definitions/app.Response"
  3242. }
  3243. }
  3244. }
  3245. }
  3246. },
  3247. "/User/AddUserFavoriteGoods": {
  3248. "post": {
  3249. "security": [
  3250. {
  3251. "ApiKeyAuth": []
  3252. }
  3253. ],
  3254. "produces": [
  3255. "application/json"
  3256. ],
  3257. "tags": [
  3258. "用户信息"
  3259. ],
  3260. "summary": "添加用户商品收藏信息",
  3261. "parameters": [
  3262. {
  3263. "type": "integer",
  3264. "description": "用户ID",
  3265. "name": "userID",
  3266. "in": "query",
  3267. "required": true
  3268. },
  3269. {
  3270. "type": "integer",
  3271. "description": "商品ID",
  3272. "name": "goodsID",
  3273. "in": "query",
  3274. "required": true
  3275. }
  3276. ],
  3277. "responses": {
  3278. "200": {
  3279. "description": "OK",
  3280. "schema": {
  3281. "$ref": "#/definitions/app.Response"
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/User/GetLoginID": {
  3294. "get": {
  3295. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3296. "produces": [
  3297. "application/json"
  3298. ],
  3299. "tags": [
  3300. "用户信息"
  3301. ],
  3302. "summary": "获取登录ID",
  3303. "parameters": [
  3304. {
  3305. "type": "string",
  3306. "description": "登录代码",
  3307. "name": "username",
  3308. "in": "query",
  3309. "required": true
  3310. }
  3311. ],
  3312. "responses": {
  3313. "200": {
  3314. "description": "OK",
  3315. "schema": {
  3316. "$ref": "#/definitions/app.Response"
  3317. }
  3318. },
  3319. "500": {
  3320. "description": "Internal Server Error",
  3321. "schema": {
  3322. "$ref": "#/definitions/app.Response"
  3323. }
  3324. }
  3325. }
  3326. }
  3327. },
  3328. "/User/GetUserAccount": {
  3329. "get": {
  3330. "security": [
  3331. {
  3332. "ApiKeyAuth": []
  3333. }
  3334. ],
  3335. "produces": [
  3336. "application/json"
  3337. ],
  3338. "tags": [
  3339. "用户信息"
  3340. ],
  3341. "summary": "获取用户账号信息",
  3342. "parameters": [
  3343. {
  3344. "type": "integer",
  3345. "description": "用户ID",
  3346. "name": "userID",
  3347. "in": "query",
  3348. "required": true
  3349. }
  3350. ],
  3351. "responses": {
  3352. "200": {
  3353. "description": "OK",
  3354. "schema": {
  3355. "$ref": "#/definitions/models.Useraccount"
  3356. }
  3357. },
  3358. "500": {
  3359. "description": "Internal Server Error",
  3360. "schema": {
  3361. "$ref": "#/definitions/app.Response"
  3362. }
  3363. }
  3364. }
  3365. }
  3366. },
  3367. "/User/GetUserAuthStatus": {
  3368. "get": {
  3369. "security": [
  3370. {
  3371. "ApiKeyAuth": []
  3372. }
  3373. ],
  3374. "produces": [
  3375. "application/json"
  3376. ],
  3377. "tags": [
  3378. "用户信息"
  3379. ],
  3380. "summary": "获取用户实名认证状态",
  3381. "parameters": [
  3382. {
  3383. "type": "integer",
  3384. "description": "用户ID",
  3385. "name": "userID",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "$ref": "#/definitions/app.Response"
  3395. }
  3396. },
  3397. "500": {
  3398. "description": "Internal Server Error",
  3399. "schema": {
  3400. "$ref": "#/definitions/app.Response"
  3401. }
  3402. }
  3403. }
  3404. }
  3405. },
  3406. "/User/QueryMessageBoard": {
  3407. "get": {
  3408. "security": [
  3409. {
  3410. "ApiKeyAuth": []
  3411. }
  3412. ],
  3413. "produces": [
  3414. "application/json"
  3415. ],
  3416. "tags": [
  3417. "用户信息"
  3418. ],
  3419. "summary": "获取用户留言板信息",
  3420. "parameters": [
  3421. {
  3422. "type": "integer",
  3423. "description": "用户ID",
  3424. "name": "userID",
  3425. "in": "query",
  3426. "required": true
  3427. }
  3428. ],
  3429. "responses": {
  3430. "200": {
  3431. "description": "OK",
  3432. "schema": {
  3433. "$ref": "#/definitions/models.Messageboard"
  3434. }
  3435. },
  3436. "500": {
  3437. "description": "Internal Server Error",
  3438. "schema": {
  3439. "$ref": "#/definitions/app.Response"
  3440. }
  3441. }
  3442. }
  3443. }
  3444. },
  3445. "/User/QueryUserFavoriteGoodses": {
  3446. "get": {
  3447. "security": [
  3448. {
  3449. "ApiKeyAuth": []
  3450. }
  3451. ],
  3452. "produces": [
  3453. "application/json"
  3454. ],
  3455. "tags": [
  3456. "用户信息"
  3457. ],
  3458. "summary": "获取用户商品收藏信息",
  3459. "parameters": [
  3460. {
  3461. "type": "integer",
  3462. "description": "用户ID",
  3463. "name": "userID",
  3464. "in": "query",
  3465. "required": true
  3466. }
  3467. ],
  3468. "responses": {
  3469. "200": {
  3470. "description": "OK",
  3471. "schema": {
  3472. "$ref": "#/definitions/models.Userfavoritegoods"
  3473. }
  3474. },
  3475. "500": {
  3476. "description": "Internal Server Error",
  3477. "schema": {
  3478. "$ref": "#/definitions/app.Response"
  3479. }
  3480. }
  3481. }
  3482. }
  3483. },
  3484. "/User/QueryUserInfo": {
  3485. "get": {
  3486. "security": [
  3487. {
  3488. "ApiKeyAuth": []
  3489. }
  3490. ],
  3491. "produces": [
  3492. "application/json"
  3493. ],
  3494. "tags": [
  3495. "用户信息"
  3496. ],
  3497. "summary": "获取用户信息",
  3498. "parameters": [
  3499. {
  3500. "type": "integer",
  3501. "description": "用户ID",
  3502. "name": "userID",
  3503. "in": "query",
  3504. "required": true
  3505. }
  3506. ],
  3507. "responses": {
  3508. "200": {
  3509. "description": "OK",
  3510. "schema": {
  3511. "$ref": "#/definitions/models.Userinfo"
  3512. }
  3513. },
  3514. "500": {
  3515. "description": "Internal Server Error",
  3516. "schema": {
  3517. "$ref": "#/definitions/app.Response"
  3518. }
  3519. }
  3520. }
  3521. }
  3522. },
  3523. "/User/QueryUserReferNum": {
  3524. "get": {
  3525. "produces": [
  3526. "application/json"
  3527. ],
  3528. "tags": [
  3529. "用户信息"
  3530. ],
  3531. "summary": "获取用户邀请码",
  3532. "parameters": [
  3533. {
  3534. "type": "integer",
  3535. "description": "用户ID",
  3536. "name": "userID",
  3537. "in": "query",
  3538. "required": true
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "$ref": "#/definitions/app.Response"
  3546. }
  3547. },
  3548. "500": {
  3549. "description": "Internal Server Error",
  3550. "schema": {
  3551. "$ref": "#/definitions/app.Response"
  3552. }
  3553. }
  3554. }
  3555. }
  3556. },
  3557. "/User/RemoveUserFavoriteGoods": {
  3558. "post": {
  3559. "security": [
  3560. {
  3561. "ApiKeyAuth": []
  3562. }
  3563. ],
  3564. "produces": [
  3565. "application/json"
  3566. ],
  3567. "tags": [
  3568. "用户信息"
  3569. ],
  3570. "summary": "移除用户商品收藏信息",
  3571. "parameters": [
  3572. {
  3573. "type": "integer",
  3574. "description": "用户ID",
  3575. "name": "userID",
  3576. "in": "query",
  3577. "required": true
  3578. },
  3579. {
  3580. "type": "integer",
  3581. "description": "商品ID",
  3582. "name": "goodsID",
  3583. "in": "query",
  3584. "required": true
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "$ref": "#/definitions/app.Response"
  3592. }
  3593. },
  3594. "500": {
  3595. "description": "Internal Server Error",
  3596. "schema": {
  3597. "$ref": "#/definitions/app.Response"
  3598. }
  3599. }
  3600. }
  3601. }
  3602. },
  3603. "/WR/GetWRCategoryInfo": {
  3604. "get": {
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "仓单服务"
  3610. ],
  3611. "summary": "获取现货分类信息",
  3612. "responses": {
  3613. "200": {
  3614. "description": "OK",
  3615. "schema": {
  3616. "$ref": "#/definitions/models.WRCategoryTree"
  3617. }
  3618. },
  3619. "500": {
  3620. "description": "Internal Server Error",
  3621. "schema": {
  3622. "$ref": "#/definitions/app.Response"
  3623. }
  3624. }
  3625. }
  3626. }
  3627. },
  3628. "/WRTrade/GetAllDeliveryGoods": {
  3629. "get": {
  3630. "security": [
  3631. {
  3632. "ApiKeyAuth": []
  3633. },
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json",
  3640. "application/json"
  3641. ],
  3642. "tags": [
  3643. "仓单贸易",
  3644. "仓单贸易"
  3645. ],
  3646. "summary": "获取带仓单分类的种类信息",
  3647. "responses": {
  3648. "200": {
  3649. "description": "OK",
  3650. "schema": {
  3651. "$ref": "#/definitions/app.Response"
  3652. }
  3653. },
  3654. "500": {
  3655. "description": "Internal Server Error",
  3656. "schema": {
  3657. "$ref": "#/definitions/app.Response"
  3658. }
  3659. }
  3660. }
  3661. }
  3662. }
  3663. },
  3664. "definitions": {
  3665. "app.Response": {
  3666. "type": "object",
  3667. "properties": {
  3668. "code": {
  3669. "type": "integer"
  3670. },
  3671. "data": {
  3672. "type": "object"
  3673. },
  3674. "msg": {
  3675. "type": "string"
  3676. },
  3677. "page": {
  3678. "description": "页码",
  3679. "type": "integer"
  3680. },
  3681. "pagesize": {
  3682. "description": "每页条数",
  3683. "type": "integer"
  3684. },
  3685. "total": {
  3686. "description": "总条数",
  3687. "type": "integer"
  3688. }
  3689. }
  3690. },
  3691. "common.QueryNoticeRsp": {
  3692. "type": "object",
  3693. "required": [
  3694. "autoid"
  3695. ],
  3696. "properties": {
  3697. "auditoruserid": {
  3698. "description": "审核人",
  3699. "type": "integer"
  3700. },
  3701. "auditremark": {
  3702. "description": "审核备注",
  3703. "type": "string"
  3704. },
  3705. "audittime": {
  3706. "description": "审核日期",
  3707. "type": "string"
  3708. },
  3709. "autoid": {
  3710. "description": "自增ID",
  3711. "type": "integer"
  3712. },
  3713. "content": {
  3714. "description": "内容",
  3715. "type": "string"
  3716. },
  3717. "createtime": {
  3718. "description": "创建时间",
  3719. "type": "string"
  3720. },
  3721. "creatorid": {
  3722. "description": "建仓人",
  3723. "type": "integer"
  3724. },
  3725. "endtime": {
  3726. "description": "结束时间",
  3727. "type": "string"
  3728. },
  3729. "istop": {
  3730. "description": "是否置顶 - 0:不置顶 1:置顶",
  3731. "type": "integer"
  3732. },
  3733. "msgiconurl": {
  3734. "description": "消息图标Url",
  3735. "type": "string"
  3736. },
  3737. "msgtype": {
  3738. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3739. "type": "integer"
  3740. },
  3741. "publisher": {
  3742. "description": "消息发布者",
  3743. "type": "string"
  3744. },
  3745. "readed": {
  3746. "description": "是否已读",
  3747. "type": "boolean"
  3748. },
  3749. "scheduletime": {
  3750. "description": "计划发送时间",
  3751. "type": "string"
  3752. },
  3753. "sendtype": {
  3754. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3755. "type": "integer"
  3756. },
  3757. "sentstatus": {
  3758. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3759. "type": "integer"
  3760. },
  3761. "title": {
  3762. "description": "标题",
  3763. "type": "string"
  3764. },
  3765. "userid": {
  3766. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3767. "type": "integer"
  3768. }
  3769. }
  3770. },
  3771. "common.QueryProvincesAndCitiesRsp": {
  3772. "type": "object",
  3773. "properties": {
  3774. "cities": {
  3775. "description": "市",
  3776. "type": "array",
  3777. "items": {
  3778. "$ref": "#/definitions/models.Division"
  3779. }
  3780. },
  3781. "province": {
  3782. "description": "省",
  3783. "$ref": "#/definitions/models.Division"
  3784. }
  3785. }
  3786. },
  3787. "common.QueryTableDefineRsp": {
  3788. "type": "object",
  3789. "required": [
  3790. "tablekey"
  3791. ],
  3792. "properties": {
  3793. "columns": {
  3794. "description": "列头信息数组",
  3795. "type": "array",
  3796. "items": {
  3797. "$ref": "#/definitions/models.Tablecolumnconfig"
  3798. }
  3799. },
  3800. "remark": {
  3801. "description": "Remark",
  3802. "type": "string"
  3803. },
  3804. "tabelmenu": {
  3805. "description": "列表菜单",
  3806. "type": "string"
  3807. },
  3808. "tablekey": {
  3809. "description": "列表Key",
  3810. "type": "string"
  3811. },
  3812. "tablename": {
  3813. "description": "列表名称",
  3814. "type": "string"
  3815. },
  3816. "tabletype": {
  3817. "description": "列表类型 - 1:管理端 2:终端",
  3818. "type": "integer"
  3819. }
  3820. }
  3821. },
  3822. "common.QueryTraderMenuRsp": {
  3823. "type": "object",
  3824. "properties": {
  3825. "OperationMenu": {
  3826. "description": "功能菜单",
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3830. }
  3831. },
  3832. "QuoteMenu": {
  3833. "description": "报价牌分类菜单",
  3834. "type": "array",
  3835. "items": {
  3836. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "cptrade.Cptradepositioncancel": {
  3842. "type": "object",
  3843. "required": [
  3844. "cancelid"
  3845. ],
  3846. "properties": {
  3847. "accountid": {
  3848. "description": "申请人账户ID",
  3849. "type": "integer"
  3850. },
  3851. "applystatus": {
  3852. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3853. "type": "integer"
  3854. },
  3855. "applytime": {
  3856. "description": "申请时间",
  3857. "type": "string"
  3858. },
  3859. "cancelid": {
  3860. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3861. "type": "integer"
  3862. },
  3863. "cancelqty": {
  3864. "description": "注销数量",
  3865. "type": "integer"
  3866. },
  3867. "createtime": {
  3868. "description": "创建时间",
  3869. "type": "string"
  3870. },
  3871. "creatorid": {
  3872. "description": "创建人ID",
  3873. "type": "integer"
  3874. },
  3875. "creatorname": {
  3876. "description": "创建人",
  3877. "type": "string"
  3878. },
  3879. "goodscode": {
  3880. "description": "订单商品代码",
  3881. "type": "string"
  3882. },
  3883. "goodsid": {
  3884. "description": "商品ID",
  3885. "type": "integer"
  3886. },
  3887. "goodsname": {
  3888. "description": "订单商品名称",
  3889. "type": "string"
  3890. },
  3891. "goodunit": {
  3892. "description": "报价单位",
  3893. "type": "string"
  3894. },
  3895. "handlestatus": {
  3896. "description": "处理状态",
  3897. "type": "integer"
  3898. },
  3899. "marketid": {
  3900. "description": "市场ID",
  3901. "type": "integer"
  3902. },
  3903. "marketname": {
  3904. "description": "市场名称",
  3905. "type": "string"
  3906. },
  3907. "tradedate": {
  3908. "description": "交易日(yyyyMMdd)",
  3909. "type": "string"
  3910. },
  3911. "userid": {
  3912. "description": "申请人ID",
  3913. "type": "integer"
  3914. }
  3915. }
  3916. },
  3917. "cptrade.Cptradepresaleapply": {
  3918. "type": "object",
  3919. "required": [
  3920. "applyid"
  3921. ],
  3922. "properties": {
  3923. "accountid": {
  3924. "description": "申请人账户ID",
  3925. "type": "integer"
  3926. },
  3927. "applyid": {
  3928. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3929. "type": "integer"
  3930. },
  3931. "applyremark": {
  3932. "description": "申请备注",
  3933. "type": "string"
  3934. },
  3935. "applystatus": {
  3936. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3937. "type": "integer"
  3938. },
  3939. "applytime": {
  3940. "description": "申请时间",
  3941. "type": "string"
  3942. },
  3943. "attachmenturl": {
  3944. "description": "附件地址",
  3945. "type": "string"
  3946. },
  3947. "endtime": {
  3948. "description": "预售结束时间",
  3949. "type": "string"
  3950. },
  3951. "goodscode": {
  3952. "description": "商品代码",
  3953. "type": "string"
  3954. },
  3955. "goodsid": {
  3956. "description": "商品ID",
  3957. "type": "integer"
  3958. },
  3959. "goodsname": {
  3960. "description": "商品名称",
  3961. "type": "string"
  3962. },
  3963. "goodunit": {
  3964. "description": "报价单位",
  3965. "type": "string"
  3966. },
  3967. "handlestatus": {
  3968. "description": "处理状态",
  3969. "type": "integer"
  3970. },
  3971. "marketid": {
  3972. "description": "预售市场ID",
  3973. "type": "integer"
  3974. },
  3975. "marketname": {
  3976. "description": "预售市场名称",
  3977. "type": "string"
  3978. },
  3979. "presaleqty": {
  3980. "description": "预售数量",
  3981. "type": "integer"
  3982. },
  3983. "relatedgoodscode": {
  3984. "description": "关联交易合约代码",
  3985. "type": "string"
  3986. },
  3987. "relatedgoodsid": {
  3988. "description": "关联交易合约ID",
  3989. "type": "integer"
  3990. },
  3991. "relatedgoodsname": {
  3992. "description": "关联交易合约名称",
  3993. "type": "string"
  3994. },
  3995. "starttime": {
  3996. "description": "预售开始时间",
  3997. "type": "string"
  3998. },
  3999. "tradedate": {
  4000. "description": "交易日(yyyyMMdd)",
  4001. "type": "string"
  4002. },
  4003. "trademode": {
  4004. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4005. "type": "integer"
  4006. },
  4007. "userid": {
  4008. "description": "申请人ID",
  4009. "type": "integer"
  4010. }
  4011. }
  4012. },
  4013. "cptrade.Cptradeusergoodsdata": {
  4014. "type": "object",
  4015. "required": [
  4016. "accountid",
  4017. "goodsid"
  4018. ],
  4019. "properties": {
  4020. "EnabledQty": {
  4021. "description": "可用量",
  4022. "type": "integer"
  4023. },
  4024. "GoodsCode": {
  4025. "description": "订单商品代码",
  4026. "type": "string"
  4027. },
  4028. "GoodsName": {
  4029. "description": "订单商品名称",
  4030. "type": "string"
  4031. },
  4032. "WRStandardCode": {
  4033. "description": "仓单标准代码",
  4034. "type": "string"
  4035. },
  4036. "WRStandardName": {
  4037. "description": "仓单标准名称",
  4038. "type": "string"
  4039. },
  4040. "accountid": {
  4041. "description": "账户ID",
  4042. "type": "integer"
  4043. },
  4044. "cancelqty": {
  4045. "description": "注销量",
  4046. "type": "integer"
  4047. },
  4048. "curpresaleqty": {
  4049. "description": "当前预售量",
  4050. "type": "integer"
  4051. },
  4052. "deliveryqty": {
  4053. "description": "交割量",
  4054. "type": "integer"
  4055. },
  4056. "freezeamount": {
  4057. "description": "冻结金额",
  4058. "type": "number"
  4059. },
  4060. "goodsid": {
  4061. "description": "商品ID",
  4062. "type": "integer"
  4063. },
  4064. "goodunit": {
  4065. "description": "报价单位",
  4066. "type": "string"
  4067. },
  4068. "hasspotfreeze": {
  4069. "description": "是否有现货冻结 - 0:否 1:有",
  4070. "type": "integer"
  4071. },
  4072. "inqty": {
  4073. "description": "转入量(总数量)",
  4074. "type": "integer"
  4075. },
  4076. "marketid": {
  4077. "description": "市场ID",
  4078. "type": "integer"
  4079. },
  4080. "presaledamount": {
  4081. "description": "已预售总金额",
  4082. "type": "integer"
  4083. },
  4084. "presaledqty": {
  4085. "description": "已预售量",
  4086. "type": "integer"
  4087. },
  4088. "userid": {
  4089. "description": "用户ID",
  4090. "type": "integer"
  4091. },
  4092. "wrstandardid": {
  4093. "description": "仓单标准ID",
  4094. "type": "integer"
  4095. }
  4096. }
  4097. },
  4098. "cptrade.QueryCPTradeMyBidRsp": {
  4099. "type": "object",
  4100. "required": [
  4101. "accountid",
  4102. "goodsid",
  4103. "marketid",
  4104. "orderid",
  4105. "orderqty",
  4106. "ordertime",
  4107. "tradeprice",
  4108. "tradeqty"
  4109. ],
  4110. "properties": {
  4111. "accountid": {
  4112. "description": "账户ID[报价币种]",
  4113. "type": "integer"
  4114. },
  4115. "goodsid": {
  4116. "description": "商品ID",
  4117. "type": "integer"
  4118. },
  4119. "goodunit": {
  4120. "description": "报价单位",
  4121. "type": "string"
  4122. },
  4123. "marketid": {
  4124. "description": "市场ID",
  4125. "type": "integer"
  4126. },
  4127. "orderid": {
  4128. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4129. "type": "integer"
  4130. },
  4131. "orderprice": {
  4132. "description": "委托价格",
  4133. "type": "number"
  4134. },
  4135. "orderqty": {
  4136. "description": "委托数量",
  4137. "type": "integer"
  4138. },
  4139. "ordertime": {
  4140. "description": "委托时间",
  4141. "type": "string"
  4142. },
  4143. "ordertotalprice": {
  4144. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4145. "type": "number"
  4146. },
  4147. "ordertotalweight": {
  4148. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4149. "type": "integer"
  4150. },
  4151. "totaltotalprice": {
  4152. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4153. "type": "number"
  4154. },
  4155. "tradeprice": {
  4156. "description": "成交价格",
  4157. "type": "number"
  4158. },
  4159. "tradeqty": {
  4160. "description": "成交数量",
  4161. "type": "integer"
  4162. }
  4163. }
  4164. },
  4165. "cptrade.QueryCPTradeOrderDetailRsq": {
  4166. "type": "object",
  4167. "required": [
  4168. "accountid",
  4169. "buildtype",
  4170. "buyorsell",
  4171. "goodsid",
  4172. "marketid",
  4173. "memberuserid",
  4174. "operatetype",
  4175. "orderqty",
  4176. "ordertime",
  4177. "pricemode",
  4178. "strorderid",
  4179. "tradedate",
  4180. "validtype"
  4181. ],
  4182. "properties": {
  4183. "accountid": {
  4184. "description": "账户ID[报价币种]",
  4185. "type": "integer"
  4186. },
  4187. "buildtype": {
  4188. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4189. "type": "integer"
  4190. },
  4191. "buyorsell": {
  4192. "description": "买卖 - 0:买 1:卖",
  4193. "type": "integer"
  4194. },
  4195. "cancelorderid": {
  4196. "description": "撤单单号(撤单时填写)",
  4197. "type": "integer"
  4198. },
  4199. "cancelqty": {
  4200. "description": "撤单数量",
  4201. "type": "integer"
  4202. },
  4203. "clientordertime": {
  4204. "description": "客户端委托时间",
  4205. "type": "string"
  4206. },
  4207. "clientticket": {
  4208. "description": "客户端流水号",
  4209. "type": "string"
  4210. },
  4211. "clienttype": {
  4212. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4213. "type": "integer"
  4214. },
  4215. "closeexchagechargevalue": {
  4216. "description": "平仓交易所手续费设置值",
  4217. "type": "number"
  4218. },
  4219. "closefeealgorithm": {
  4220. "description": "平仓手续费收取方式 1:比率 2:固定",
  4221. "type": "integer"
  4222. },
  4223. "closefreezecharge": {
  4224. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4225. "type": "number"
  4226. },
  4227. "closememberchargevalue": {
  4228. "description": "平仓会员手续费设置值",
  4229. "type": "number"
  4230. },
  4231. "closeqty": {
  4232. "description": "平仓数量(先建后平操作 需要记录)",
  4233. "type": "integer"
  4234. },
  4235. "closetradeqty": {
  4236. "description": "平仓成交数量(先建后平操作,需要记录)",
  4237. "type": "integer"
  4238. },
  4239. "closeunfreezecharge": {
  4240. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4241. "type": "number"
  4242. },
  4243. "delistingtype": {
  4244. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4245. "type": "integer"
  4246. },
  4247. "freezecharge": {
  4248. "description": "冻结手续费",
  4249. "type": "number"
  4250. },
  4251. "freezemargin": {
  4252. "description": "冻结保证金(冻结交易金额)",
  4253. "type": "number"
  4254. },
  4255. "gcaccountid": {
  4256. "description": "账户ID[合约币种]",
  4257. "type": "integer"
  4258. },
  4259. "goodsid": {
  4260. "description": "商品ID",
  4261. "type": "integer"
  4262. },
  4263. "isconfirmexercise": {
  4264. "description": "是否确认行权- 0:否 1:是",
  4265. "type": "integer"
  4266. },
  4267. "ispreexercise": {
  4268. "description": "是否预申报- 0:否 1:是",
  4269. "type": "integer"
  4270. },
  4271. "listingselecttype": {
  4272. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4273. "type": "integer"
  4274. },
  4275. "marginalgorithm": {
  4276. "description": "保证金收取方式 1:比率 2:固定",
  4277. "type": "integer"
  4278. },
  4279. "marginvalue": {
  4280. "description": "即市保证金设置值",
  4281. "type": "number"
  4282. },
  4283. "marketid": {
  4284. "description": "市场ID",
  4285. "type": "integer"
  4286. },
  4287. "marketmaxsub": {
  4288. "description": "市价最大偏移范围",
  4289. "type": "number"
  4290. },
  4291. "memberuserid": {
  4292. "description": "所属会员UserID",
  4293. "type": "integer"
  4294. },
  4295. "openexchagechargevalue": {
  4296. "description": "建仓交易所手续费设置值",
  4297. "type": "number"
  4298. },
  4299. "openfeealgorithm": {
  4300. "description": "建仓手续费收取方式 1:比率 2:固定",
  4301. "type": "integer"
  4302. },
  4303. "openfreezecharge": {
  4304. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4305. "type": "number"
  4306. },
  4307. "openmemberchargevalue": {
  4308. "description": "建仓会员手续费设置值",
  4309. "type": "number"
  4310. },
  4311. "openqty": {
  4312. "description": "开仓数量(先建后平操作,需要记录)",
  4313. "type": "integer"
  4314. },
  4315. "opentradeqty": {
  4316. "description": "开仓成交数量(先建后平操作,需要记录)",
  4317. "type": "integer"
  4318. },
  4319. "openunfreezecharge": {
  4320. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4321. "type": "number"
  4322. },
  4323. "operatetype": {
  4324. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4325. "type": "integer"
  4326. },
  4327. "operatorid": {
  4328. "description": "登录账号(LoginID)",
  4329. "type": "integer"
  4330. },
  4331. "optiontype": {
  4332. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4333. "type": "integer"
  4334. },
  4335. "orderprice": {
  4336. "description": "委托价格",
  4337. "type": "number"
  4338. },
  4339. "orderqty": {
  4340. "description": "委托数量",
  4341. "type": "integer"
  4342. },
  4343. "ordersrc": {
  4344. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4345. "type": "integer"
  4346. },
  4347. "orderstatus": {
  4348. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4349. "type": "integer"
  4350. },
  4351. "ordertime": {
  4352. "description": "委托时间",
  4353. "type": "string"
  4354. },
  4355. "preexerciseprice": {
  4356. "description": "预申报价格",
  4357. "type": "number"
  4358. },
  4359. "premium": {
  4360. "description": "权利金",
  4361. "type": "number"
  4362. },
  4363. "preorderid": {
  4364. "description": "关联预埋单号(止盈止损单时填写)",
  4365. "type": "integer"
  4366. },
  4367. "pricemode": {
  4368. "description": "取价方式 - 1:市价 2: 限价",
  4369. "type": "integer"
  4370. },
  4371. "quoteid": {
  4372. "description": "报价单ID",
  4373. "type": "integer"
  4374. },
  4375. "relatedid": {
  4376. "description": "关联单号(交割单)",
  4377. "type": "integer"
  4378. },
  4379. "retcode": {
  4380. "description": "错误代码",
  4381. "type": "integer"
  4382. },
  4383. "sessionid": {
  4384. "description": "会话ID",
  4385. "type": "integer"
  4386. },
  4387. "strorderid": {
  4388. "description": "委托单号",
  4389. "type": "string"
  4390. },
  4391. "tradedate": {
  4392. "description": "交易日(yyyyMMdd)",
  4393. "type": "string"
  4394. },
  4395. "tradeproperty": {
  4396. "description": "交易属性",
  4397. "type": "integer"
  4398. },
  4399. "tradeqty": {
  4400. "description": "成交数量",
  4401. "type": "integer"
  4402. },
  4403. "unfreezecharge": {
  4404. "description": "解冻手续费",
  4405. "type": "number"
  4406. },
  4407. "unfreezemargin": {
  4408. "description": "解冻保证金",
  4409. "type": "number"
  4410. },
  4411. "updatetime": {
  4412. "description": "更新时间",
  4413. "type": "string"
  4414. },
  4415. "uuid": {
  4416. "description": "发起端唯一id",
  4417. "type": "string"
  4418. },
  4419. "validtime": {
  4420. "description": "有效期限",
  4421. "type": "string"
  4422. },
  4423. "validtype": {
  4424. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4425. "type": "integer"
  4426. },
  4427. "volumetype": {
  4428. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4429. "type": "integer"
  4430. }
  4431. }
  4432. },
  4433. "cptrade.QueryMyCPTradeGoodsRsp": {
  4434. "type": "object",
  4435. "required": [
  4436. "goodscode",
  4437. "goodsid",
  4438. "goodsname",
  4439. "marketid",
  4440. "relatedgoodscode",
  4441. "relatedgoodsname"
  4442. ],
  4443. "properties": {
  4444. "accountid": {
  4445. "description": "卖方账户ID",
  4446. "type": "integer"
  4447. },
  4448. "agreeunit": {
  4449. "description": "合约单位",
  4450. "type": "number"
  4451. },
  4452. "applyid": {
  4453. "description": "关联申请ID",
  4454. "type": "integer"
  4455. },
  4456. "attachmenturl": {
  4457. "description": "附件地址",
  4458. "type": "string"
  4459. },
  4460. "createtime": {
  4461. "description": "创建时间",
  4462. "type": "string"
  4463. },
  4464. "currencyid": {
  4465. "description": "报价货币ID",
  4466. "type": "integer"
  4467. },
  4468. "decimalplace": {
  4469. "description": "报价小数位",
  4470. "type": "integer"
  4471. },
  4472. "endtime": {
  4473. "description": "预售结束时间",
  4474. "type": "string"
  4475. },
  4476. "floorprice": {
  4477. "description": "底价[大宗式竞拍]",
  4478. "type": "number"
  4479. },
  4480. "goodscode": {
  4481. "description": "商品代码(预售)",
  4482. "type": "string"
  4483. },
  4484. "goodsdetail": {
  4485. "description": "详情[大宗]",
  4486. "type": "string"
  4487. },
  4488. "goodsid": {
  4489. "description": "商品ID(自增ID SEQ_GOODS)",
  4490. "type": "integer"
  4491. },
  4492. "goodsname": {
  4493. "description": "商品名称(预售)",
  4494. "type": "string"
  4495. },
  4496. "goodunit": {
  4497. "description": "报价单位",
  4498. "type": "string"
  4499. },
  4500. "goodunitid": {
  4501. "description": "报价单位ID",
  4502. "type": "integer"
  4503. },
  4504. "marketid": {
  4505. "description": "所属市场ID",
  4506. "type": "integer"
  4507. },
  4508. "marketname": {
  4509. "description": "预售市场名称",
  4510. "type": "string"
  4511. },
  4512. "presaledamount": {
  4513. "description": "已预售总金额(预售结束时更新)",
  4514. "type": "number"
  4515. },
  4516. "presaledqty": {
  4517. "description": "已预售量(预售结束时更新)",
  4518. "type": "integer"
  4519. },
  4520. "presalemode": {
  4521. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4522. "type": "integer"
  4523. },
  4524. "presaleqty": {
  4525. "description": "预售数量",
  4526. "type": "integer"
  4527. },
  4528. "refprice": {
  4529. "description": "参考价格[一口价]",
  4530. "type": "number"
  4531. },
  4532. "relatedgoodscode": {
  4533. "description": "商品代码(订单)",
  4534. "type": "string"
  4535. },
  4536. "relatedgoodsid": {
  4537. "description": "关联交易合约ID",
  4538. "type": "integer"
  4539. },
  4540. "relatedgoodsname": {
  4541. "description": "商品名称(订单)",
  4542. "type": "string"
  4543. },
  4544. "relatedmarketid": {
  4545. "description": "关联交易合约市场ID",
  4546. "type": "integer"
  4547. },
  4548. "sellstatus": {
  4549. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4550. "type": "integer"
  4551. },
  4552. "startprice": {
  4553. "description": "起拍价[大宗式竞拍]",
  4554. "type": "number"
  4555. },
  4556. "starttime": {
  4557. "description": "预售开始时间",
  4558. "type": "string"
  4559. },
  4560. "tradedate": {
  4561. "description": "交易日(yyyyMMdd)",
  4562. "type": "string"
  4563. },
  4564. "tradeprice": {
  4565. "description": "成交价[大宗]",
  4566. "type": "number"
  4567. },
  4568. "userid": {
  4569. "description": "卖方用户ID",
  4570. "type": "integer"
  4571. }
  4572. }
  4573. },
  4574. "cptrade.QueryPresaleGoodsExRsp": {
  4575. "type": "object",
  4576. "required": [
  4577. "goodsid"
  4578. ],
  4579. "properties": {
  4580. "attachmenturl": {
  4581. "description": "附件地址",
  4582. "type": "string"
  4583. },
  4584. "createtime": {
  4585. "description": "创建时间",
  4586. "type": "string"
  4587. },
  4588. "endtime": {
  4589. "description": "预售结束时间",
  4590. "type": "string"
  4591. },
  4592. "floorprice": {
  4593. "description": "底价[大宗式竞拍]",
  4594. "type": "number"
  4595. },
  4596. "goodsdetail": {
  4597. "description": "详情[大宗]",
  4598. "type": "string"
  4599. },
  4600. "goodsid": {
  4601. "description": "商品ID(预售)",
  4602. "type": "integer"
  4603. },
  4604. "goodunit": {
  4605. "description": "报价单位",
  4606. "type": "string"
  4607. },
  4608. "marketid": {
  4609. "description": "预售市场ID - 根据预售模式选择市场",
  4610. "type": "integer"
  4611. },
  4612. "presaledamount": {
  4613. "description": "已预售总金额(预售结束时更新)",
  4614. "type": "number"
  4615. },
  4616. "presaledqty": {
  4617. "description": "已预售量(预售结束时更新)",
  4618. "type": "integer"
  4619. },
  4620. "presalemode": {
  4621. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4622. "type": "integer"
  4623. },
  4624. "presaleqty": {
  4625. "description": "预售数量",
  4626. "type": "integer"
  4627. },
  4628. "refprice": {
  4629. "description": "参考价格[一口价]",
  4630. "type": "number"
  4631. },
  4632. "relatedgoodsid": {
  4633. "description": "关联交易合约ID",
  4634. "type": "integer"
  4635. },
  4636. "relatedmarketid": {
  4637. "description": "关联交易合约市场ID",
  4638. "type": "integer"
  4639. },
  4640. "sellstatus": {
  4641. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4642. "type": "integer"
  4643. },
  4644. "startprice": {
  4645. "description": "起拍价[大宗式竞拍]",
  4646. "type": "number"
  4647. },
  4648. "starttime": {
  4649. "description": "预售开始时间",
  4650. "type": "string"
  4651. },
  4652. "tradedate": {
  4653. "description": "交易日(yyyyMMdd)",
  4654. "type": "string"
  4655. },
  4656. "tradeprice": {
  4657. "description": "成交价[大宗]",
  4658. "type": "number"
  4659. }
  4660. }
  4661. },
  4662. "delivery.QueryDeliveryRelationRsp": {
  4663. "type": "object",
  4664. "required": [
  4665. "begindate",
  4666. "enddate",
  4667. "goodsid",
  4668. "mindeliveryqty",
  4669. "xdeliveryratio"
  4670. ],
  4671. "properties": {
  4672. "begindate": {
  4673. "description": "起始日期(yyyyMMdd)",
  4674. "type": "string"
  4675. },
  4676. "buytemplateid": {
  4677. "description": "买履约计划模板ID",
  4678. "type": "integer"
  4679. },
  4680. "deliverygoodscode": {
  4681. "description": "品种代码",
  4682. "type": "string"
  4683. },
  4684. "deliverygoodsid": {
  4685. "description": "交割商品",
  4686. "type": "integer"
  4687. },
  4688. "deliverygoodsname": {
  4689. "description": "品种名称",
  4690. "type": "string"
  4691. },
  4692. "deliverymode": {
  4693. "description": "交割方式 - 1:点选式 2:申报式",
  4694. "type": "integer"
  4695. },
  4696. "deliverypricerule": {
  4697. "description": "交割价规则- 1:行情价 2:建仓价",
  4698. "type": "integer"
  4699. },
  4700. "deliverytype": {
  4701. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4702. "type": "integer"
  4703. },
  4704. "enddate": {
  4705. "description": "结束日期(yyyyMMdd)",
  4706. "type": "string"
  4707. },
  4708. "goodscode": {
  4709. "description": "商品代码",
  4710. "type": "string"
  4711. },
  4712. "goodsid": {
  4713. "description": "交易合约ID",
  4714. "type": "integer"
  4715. },
  4716. "goodsname": {
  4717. "description": "商品名称",
  4718. "type": "string"
  4719. },
  4720. "marketid": {
  4721. "description": "市场ID",
  4722. "type": "integer"
  4723. },
  4724. "mindeliveryqty": {
  4725. "description": "最小交割系数(K)",
  4726. "type": "integer"
  4727. },
  4728. "p2deliveryprice": {
  4729. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4730. "type": "number"
  4731. },
  4732. "p2deliveryratio": {
  4733. "description": "P2合约系数(p)",
  4734. "type": "integer"
  4735. },
  4736. "p2goodsid": {
  4737. "description": "P2合约ID",
  4738. "type": "integer"
  4739. },
  4740. "p2pricemode": {
  4741. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4742. "type": "integer"
  4743. },
  4744. "pdeliveryprice": {
  4745. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4746. "type": "number"
  4747. },
  4748. "pdeliveryratio": {
  4749. "description": "P合约系数(n)",
  4750. "type": "integer"
  4751. },
  4752. "pgoodsid": {
  4753. "description": "P合约ID",
  4754. "type": "integer"
  4755. },
  4756. "ppricemode": {
  4757. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4758. "type": "integer"
  4759. },
  4760. "rratio": {
  4761. "description": "兑换系数(R)",
  4762. "type": "integer"
  4763. },
  4764. "rratio1": {
  4765. "description": "兑换系数(交易合约)(R1)",
  4766. "type": "integer"
  4767. },
  4768. "rratio2": {
  4769. "description": "兑换系数(仓单标准)(R2)",
  4770. "type": "integer"
  4771. },
  4772. "selltemplateid": {
  4773. "description": "卖履约计划模板ID",
  4774. "type": "integer"
  4775. },
  4776. "wrstandardid": {
  4777. "description": "仓单标准ID",
  4778. "type": "integer"
  4779. },
  4780. "xdeliveryratio": {
  4781. "description": "交易合约系数(m)",
  4782. "type": "integer"
  4783. }
  4784. }
  4785. },
  4786. "erms2.QueryArbitrageStrategyRsp": {
  4787. "type": "object",
  4788. "required": [
  4789. "asapplyid"
  4790. ],
  4791. "properties": {
  4792. "applybasis": {
  4793. "description": "申请基差",
  4794. "type": "number"
  4795. },
  4796. "asapplyid": {
  4797. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4798. "type": "string"
  4799. },
  4800. "asname": {
  4801. "description": "策略名称",
  4802. "type": "string"
  4803. },
  4804. "asno": {
  4805. "description": "策略编号",
  4806. "type": "string"
  4807. },
  4808. "basischangepl": {
  4809. "description": "基差变动损益[结算更新]",
  4810. "type": "number"
  4811. },
  4812. "biztype": {
  4813. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4814. "type": "integer"
  4815. },
  4816. "closetradedate": {
  4817. "description": "完结交易日(yyyyMMdd)",
  4818. "type": "string"
  4819. },
  4820. "curbasis": {
  4821. "description": "当前基差[结算更新]",
  4822. "type": "number"
  4823. },
  4824. "deliverygoodsid": {
  4825. "description": "现货品种ID",
  4826. "type": "integer"
  4827. },
  4828. "futureavgprice": {
  4829. "description": "期货建仓均价",
  4830. "type": "number"
  4831. },
  4832. "futurecloseamount": {
  4833. "description": "期货平仓金额",
  4834. "type": "number"
  4835. },
  4836. "futurecloseqty": {
  4837. "description": "期货平仓数量",
  4838. "type": "number"
  4839. },
  4840. "futureopenamount": {
  4841. "description": "期货开仓金额",
  4842. "type": "number"
  4843. },
  4844. "futureopenqty": {
  4845. "description": "期货开仓数量",
  4846. "type": "number"
  4847. },
  4848. "futurepl": {
  4849. "description": "期货总盈亏[结算更新]",
  4850. "type": "number"
  4851. },
  4852. "futureqty": {
  4853. "description": "期货持仓数量",
  4854. "type": "number"
  4855. },
  4856. "futurequote": {
  4857. "description": "期货额度",
  4858. "type": "number"
  4859. },
  4860. "goodsgroupid": {
  4861. "description": "期货品种ID",
  4862. "type": "integer"
  4863. },
  4864. "marketid": {
  4865. "description": "市场ID",
  4866. "type": "integer"
  4867. },
  4868. "netexposure": {
  4869. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4870. "type": "number"
  4871. },
  4872. "netexposurepl": {
  4873. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4874. "type": "number"
  4875. },
  4876. "netexposurerate": {
  4877. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4878. "type": "number"
  4879. },
  4880. "openbasis": {
  4881. "description": "建仓基差",
  4882. "type": "number"
  4883. },
  4884. "pricedspotqty": {
  4885. "description": "已定价现货数量",
  4886. "type": "number"
  4887. },
  4888. "pricedspotqtynotax": {
  4889. "description": "已定价现货不含税数量",
  4890. "type": "number"
  4891. },
  4892. "remark": {
  4893. "description": "备注",
  4894. "type": "string"
  4895. },
  4896. "spotavgprice": {
  4897. "description": "现货均价",
  4898. "type": "number"
  4899. },
  4900. "spotbuyamount": {
  4901. "description": "现货采购金额",
  4902. "type": "number"
  4903. },
  4904. "spotbuyqty": {
  4905. "description": "现货采购数量",
  4906. "type": "number"
  4907. },
  4908. "spotpl": {
  4909. "description": "现货总盈亏[结算更新]",
  4910. "type": "number"
  4911. },
  4912. "spotquota": {
  4913. "description": "现货额度",
  4914. "type": "number"
  4915. },
  4916. "spotsellamount": {
  4917. "description": "现货销售金额",
  4918. "type": "number"
  4919. },
  4920. "spotsellqty": {
  4921. "description": "现货销售数量",
  4922. "type": "number"
  4923. },
  4924. "spotusedquota": {
  4925. "description": "现货占用资金",
  4926. "type": "number"
  4927. },
  4928. "strategystatus": {
  4929. "description": "策略状态 - 0:未结束 1:已结束",
  4930. "type": "integer"
  4931. },
  4932. "totalpl": {
  4933. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4934. "type": "number"
  4935. },
  4936. "tradedate": {
  4937. "description": "交易日(yyyyMMdd)",
  4938. "type": "string"
  4939. },
  4940. "updatetime": {
  4941. "description": "更新时间",
  4942. "type": "string"
  4943. },
  4944. "usedquota": {
  4945. "description": "已占用资金",
  4946. "type": "number"
  4947. },
  4948. "userid": {
  4949. "description": "所属机构",
  4950. "type": "integer"
  4951. }
  4952. }
  4953. },
  4954. "erms2.QueryInnerTradeDetailRsp": {
  4955. "type": "object",
  4956. "required": [
  4957. "asapplyid",
  4958. "buyorsell",
  4959. "goodscode",
  4960. "goodsgroupid",
  4961. "goodsgroupname",
  4962. "goodsname",
  4963. "tradeid"
  4964. ],
  4965. "properties": {
  4966. "accountid": {
  4967. "description": "账号ID",
  4968. "type": "integer"
  4969. },
  4970. "agreeunit": {
  4971. "description": "合约单位",
  4972. "type": "number"
  4973. },
  4974. "asapplyid": {
  4975. "description": "策略申请ID",
  4976. "type": "integer"
  4977. },
  4978. "asname": {
  4979. "description": "策略名称",
  4980. "type": "string"
  4981. },
  4982. "asno": {
  4983. "description": "策略编号",
  4984. "type": "string"
  4985. },
  4986. "buyorsell": {
  4987. "description": "方向 - 0:买 1:卖",
  4988. "type": "integer"
  4989. },
  4990. "channelbuildtype": {
  4991. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4992. "type": "integer"
  4993. },
  4994. "closetype": {
  4995. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4996. "type": "integer"
  4997. },
  4998. "decimalplace": {
  4999. "description": "报价小数位",
  5000. "type": "integer"
  5001. },
  5002. "detailtype": {
  5003. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5004. "type": "integer"
  5005. },
  5006. "exexchangecode": {
  5007. "description": "外部交易所代码",
  5008. "type": "string"
  5009. },
  5010. "exexchangename": {
  5011. "description": "外部交易所名称",
  5012. "type": "string"
  5013. },
  5014. "goodscode": {
  5015. "description": "商品代码(合约)",
  5016. "type": "string"
  5017. },
  5018. "goodsgroupid": {
  5019. "description": "商品组ID(品种ID)",
  5020. "type": "integer"
  5021. },
  5022. "goodsgroupname": {
  5023. "description": "商品组名称(品种)",
  5024. "type": "string"
  5025. },
  5026. "goodsid": {
  5027. "description": "商品ID",
  5028. "type": "integer"
  5029. },
  5030. "goodsname": {
  5031. "description": "商品名称(合约)",
  5032. "type": "string"
  5033. },
  5034. "goodunit": {
  5035. "description": "报价单位",
  5036. "type": "string"
  5037. },
  5038. "marketid": {
  5039. "description": "市场ID",
  5040. "type": "integer"
  5041. },
  5042. "orderid": {
  5043. "description": "委托单号",
  5044. "type": "string"
  5045. },
  5046. "outgoodscode": {
  5047. "description": "商品代码(外部)",
  5048. "type": "string"
  5049. },
  5050. "relatedouttradeid": {
  5051. "description": "关联外部成交单ID",
  5052. "type": "string"
  5053. },
  5054. "remark": {
  5055. "description": "备注",
  5056. "type": "string"
  5057. },
  5058. "spotcontractid": {
  5059. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5060. "type": "integer"
  5061. },
  5062. "spotcontractno": {
  5063. "description": "现货合同编号",
  5064. "type": "string"
  5065. },
  5066. "tradeid": {
  5067. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5068. "type": "string"
  5069. },
  5070. "tradeprice": {
  5071. "description": "成交价格",
  5072. "type": "number"
  5073. },
  5074. "tradeqty": {
  5075. "description": "成交数量",
  5076. "type": "integer"
  5077. },
  5078. "tradetime": {
  5079. "description": "成交时间",
  5080. "type": "string"
  5081. },
  5082. "updatetime": {
  5083. "description": "更新时间",
  5084. "type": "string"
  5085. }
  5086. }
  5087. },
  5088. "erms2.QuerySpotContractRsp": {
  5089. "type": "object",
  5090. "required": [
  5091. "spotcontractid"
  5092. ],
  5093. "properties": {
  5094. "accountid": {
  5095. "description": "资金账户ID",
  5096. "type": "integer"
  5097. },
  5098. "areauserid": {
  5099. "description": "所属机构",
  5100. "type": "integer"
  5101. },
  5102. "closedate": {
  5103. "description": "终止日期",
  5104. "type": "string"
  5105. },
  5106. "closeremark": {
  5107. "description": "结束备注",
  5108. "type": "string"
  5109. },
  5110. "closetradedate": {
  5111. "description": "完结交易日(yyyyMMdd)",
  5112. "type": "string"
  5113. },
  5114. "closetype": {
  5115. "description": "终止类型 - 1:违约 2:提前终止",
  5116. "type": "integer"
  5117. },
  5118. "contractamount": {
  5119. "description": "合同金额",
  5120. "type": "number"
  5121. },
  5122. "contractattachment": {
  5123. "description": "合同附件",
  5124. "type": "string"
  5125. },
  5126. "contractno": {
  5127. "description": "现货合同编号",
  5128. "type": "string"
  5129. },
  5130. "contractqty": {
  5131. "description": "合同数量(数值) (用于计算)",
  5132. "type": "number"
  5133. },
  5134. "contractqtychar": {
  5135. "description": "合同数量\\已订价数量 (用于显示)",
  5136. "type": "string"
  5137. },
  5138. "contractstatus": {
  5139. "description": "合同状态 - 0:未结束 1:已结束",
  5140. "type": "integer"
  5141. },
  5142. "contracttype": {
  5143. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5144. "type": "integer"
  5145. },
  5146. "customeraccountid": {
  5147. "description": "客户资金账户ID",
  5148. "type": "integer"
  5149. },
  5150. "customeruserid": {
  5151. "description": "客户ID",
  5152. "type": "integer"
  5153. },
  5154. "deliverygoodsdesc": {
  5155. "description": "品种说明",
  5156. "type": "string"
  5157. },
  5158. "deliverygoodsid": {
  5159. "description": "现货品种ID",
  5160. "type": "integer"
  5161. },
  5162. "handlestatus": {
  5163. "description": "处理状态",
  5164. "type": "integer"
  5165. },
  5166. "invoiceatt": {
  5167. "description": "发票附件",
  5168. "type": "string"
  5169. },
  5170. "invoicedatetime": {
  5171. "description": "开收票更新时间",
  5172. "type": "string"
  5173. },
  5174. "invoiceopentime": {
  5175. "description": "开票时间",
  5176. "type": "string"
  5177. },
  5178. "invoiceremark": {
  5179. "description": "发票备注",
  5180. "type": "string"
  5181. },
  5182. "invoicestatus": {
  5183. "description": "开收票状态 - 0:未开票 1:已开票",
  5184. "type": "integer"
  5185. },
  5186. "lastdate": {
  5187. "description": "交货时间",
  5188. "type": "string"
  5189. },
  5190. "marketid": {
  5191. "description": "市场ID",
  5192. "type": "integer"
  5193. },
  5194. "paydatetime": {
  5195. "description": "收付款更新时间",
  5196. "type": "string"
  5197. },
  5198. "payremark": {
  5199. "description": "收付款备注",
  5200. "type": "string"
  5201. },
  5202. "paystatus": {
  5203. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5204. "type": "integer"
  5205. },
  5206. "positionqty": {
  5207. "description": "头寸数量 - 合同数量去小数部分",
  5208. "type": "integer"
  5209. },
  5210. "producttype": {
  5211. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5212. "type": "integer"
  5213. },
  5214. "relatedqty": {
  5215. "description": "已关联数量",
  5216. "type": "number"
  5217. },
  5218. "relatedstatus": {
  5219. "description": "关联完结状态 - 0:未结束 1:已结束",
  5220. "type": "integer"
  5221. },
  5222. "remark": {
  5223. "description": "备注",
  5224. "type": "string"
  5225. },
  5226. "signdate": {
  5227. "description": "签订日期",
  5228. "type": "string"
  5229. },
  5230. "spotcontractid": {
  5231. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5232. "type": "string"
  5233. },
  5234. "spotdatetime": {
  5235. "description": "收发货更新时间",
  5236. "type": "string"
  5237. },
  5238. "spotprice": {
  5239. "description": "价格",
  5240. "type": "number"
  5241. },
  5242. "spotremark": {
  5243. "description": "收发货备注",
  5244. "type": "string"
  5245. },
  5246. "spotstatus": {
  5247. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5248. "type": "integer"
  5249. },
  5250. "tradedate": {
  5251. "description": "交易日(yyyyMMdd)",
  5252. "type": "string"
  5253. },
  5254. "userid": {
  5255. "description": "业务员用户ID",
  5256. "type": "integer"
  5257. },
  5258. "warehouseid": {
  5259. "description": "仓库ID",
  5260. "type": "integer"
  5261. },
  5262. "wrfactortypeid": {
  5263. "description": "仓单要素类型ID",
  5264. "type": "integer"
  5265. },
  5266. "wrstandardid": {
  5267. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5268. "type": "integer"
  5269. }
  5270. }
  5271. },
  5272. "erms3.AddErms2ASApplyReq": {
  5273. "type": "object",
  5274. "required": [
  5275. "asapplyid"
  5276. ],
  5277. "properties": {
  5278. "applybasis": {
  5279. "description": "申请基差",
  5280. "type": "number"
  5281. },
  5282. "applystatus": {
  5283. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5284. "type": "integer"
  5285. },
  5286. "asapplyid": {
  5287. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5288. "type": "integer"
  5289. },
  5290. "asname": {
  5291. "description": "策略名称",
  5292. "type": "string"
  5293. },
  5294. "asno": {
  5295. "description": "策略编号",
  5296. "type": "string"
  5297. },
  5298. "auditid": {
  5299. "description": "审核人",
  5300. "type": "integer"
  5301. },
  5302. "auditremark": {
  5303. "description": "审核备注",
  5304. "type": "string"
  5305. },
  5306. "audittime": {
  5307. "description": "审核时间",
  5308. "type": "string"
  5309. },
  5310. "biztype": {
  5311. "description": "业务类型 - 1:正向套利 2:反向套利",
  5312. "type": "integer"
  5313. },
  5314. "createtime": {
  5315. "description": "创建时间",
  5316. "type": "string"
  5317. },
  5318. "creatorid": {
  5319. "description": "创建人",
  5320. "type": "integer"
  5321. },
  5322. "deliverygoodsid": {
  5323. "description": "现货品种ID",
  5324. "type": "integer"
  5325. },
  5326. "futurequote": {
  5327. "description": "期货额度",
  5328. "type": "number"
  5329. },
  5330. "goodsgroupid": {
  5331. "description": "期货品种ID",
  5332. "type": "integer"
  5333. },
  5334. "marketid": {
  5335. "description": "市场ID",
  5336. "type": "integer"
  5337. },
  5338. "remark": {
  5339. "description": "备注",
  5340. "type": "string"
  5341. },
  5342. "spotquota": {
  5343. "description": "现货额度",
  5344. "type": "number"
  5345. },
  5346. "tradedate": {
  5347. "description": "交易日(yyyyMMdd)",
  5348. "type": "string"
  5349. },
  5350. "userid": {
  5351. "description": "所属机构",
  5352. "type": "integer"
  5353. }
  5354. }
  5355. },
  5356. "erms3.AddErms2SpotTradeApplyReq": {
  5357. "type": "object",
  5358. "required": [
  5359. "spottradeid"
  5360. ],
  5361. "properties": {
  5362. "applyjsondetail": {
  5363. "description": "申请明细(JSON)",
  5364. "type": "string"
  5365. },
  5366. "applystatus": {
  5367. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5368. "type": "integer"
  5369. },
  5370. "areauserid": {
  5371. "description": "所属机构",
  5372. "type": "integer"
  5373. },
  5374. "auditid": {
  5375. "description": "审核人",
  5376. "type": "integer"
  5377. },
  5378. "auditremark": {
  5379. "description": "审核备注",
  5380. "type": "string"
  5381. },
  5382. "audittime": {
  5383. "description": "审核时间",
  5384. "type": "string"
  5385. },
  5386. "createtime": {
  5387. "description": "创建时间",
  5388. "type": "string"
  5389. },
  5390. "creatorid": {
  5391. "description": "创建人",
  5392. "type": "integer"
  5393. },
  5394. "deliverygoodsid": {
  5395. "description": "现货品种ID",
  5396. "type": "integer"
  5397. },
  5398. "futureaccountid": {
  5399. "description": "期货资金账户",
  5400. "type": "integer"
  5401. },
  5402. "goodsgroupid": {
  5403. "description": "期货品种",
  5404. "type": "integer"
  5405. },
  5406. "marketid": {
  5407. "description": "市场ID",
  5408. "type": "integer"
  5409. },
  5410. "remark": {
  5411. "description": "备注",
  5412. "type": "string"
  5413. },
  5414. "spotaccountid": {
  5415. "description": "现货资金账户",
  5416. "type": "integer"
  5417. },
  5418. "spottradeid": {
  5419. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5420. "type": "integer"
  5421. },
  5422. "spottradename": {
  5423. "description": "业务名称",
  5424. "type": "string"
  5425. },
  5426. "spottradeno": {
  5427. "description": "业务编号",
  5428. "type": "string"
  5429. },
  5430. "tradedate": {
  5431. "description": "交易日(yyyyMMdd)",
  5432. "type": "string"
  5433. },
  5434. "wrstandardid": {
  5435. "description": "仓单标准ID",
  5436. "type": "integer"
  5437. }
  5438. }
  5439. },
  5440. "erms3.AddSpotContractApplyReq": {
  5441. "type": "object",
  5442. "required": [
  5443. "accountid",
  5444. "areauserid",
  5445. "contractno",
  5446. "contracttype",
  5447. "customeraccountid",
  5448. "customeruserid",
  5449. "details",
  5450. "orimargin",
  5451. "signdate"
  5452. ],
  5453. "properties": {
  5454. "accountid": {
  5455. "description": "资金账户ID",
  5456. "type": "integer"
  5457. },
  5458. "areauserid": {
  5459. "description": "所属机构",
  5460. "type": "integer"
  5461. },
  5462. "contractattachment": {
  5463. "description": "合同附件",
  5464. "type": "string"
  5465. },
  5466. "contractno": {
  5467. "description": "现货合同编号",
  5468. "type": "string"
  5469. },
  5470. "contracttype": {
  5471. "description": "现货合同类型 - 1:采购 -1:销售",
  5472. "type": "integer"
  5473. },
  5474. "creatorid": {
  5475. "description": "申请人",
  5476. "type": "integer"
  5477. },
  5478. "customeraccountid": {
  5479. "description": "客户资金账户ID",
  5480. "type": "integer"
  5481. },
  5482. "customeruserid": {
  5483. "description": "客户ID",
  5484. "type": "integer"
  5485. },
  5486. "details": {
  5487. "description": "明细",
  5488. "type": "array",
  5489. "items": {
  5490. "$ref": "#/definitions/erms3.SoptContractDetail"
  5491. }
  5492. },
  5493. "orimargin": {
  5494. "description": "初始保证金",
  5495. "type": "number"
  5496. },
  5497. "remark": {
  5498. "description": "备注",
  5499. "type": "string"
  5500. },
  5501. "signdate": {
  5502. "description": "签订日期",
  5503. "type": "string"
  5504. }
  5505. }
  5506. },
  5507. "erms3.AddSpotContractApplyRsp": {
  5508. "type": "object",
  5509. "required": [
  5510. "contractno"
  5511. ],
  5512. "properties": {
  5513. "contractno": {
  5514. "description": "现货合同编号",
  5515. "type": "string"
  5516. },
  5517. "spotcontractid": {
  5518. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5519. "type": "integer"
  5520. }
  5521. }
  5522. },
  5523. "erms3.AddUserInfoApplyReq": {
  5524. "type": "object",
  5525. "required": [
  5526. "userid"
  5527. ],
  5528. "properties": {
  5529. "accountid": {
  5530. "description": "交易系统帐号Id (加密存储)",
  5531. "type": "integer"
  5532. },
  5533. "areacode": {
  5534. "description": "机构代码",
  5535. "type": "string"
  5536. },
  5537. "areaid": {
  5538. "description": "机构Id",
  5539. "type": "integer"
  5540. },
  5541. "attachment1": {
  5542. "description": "附件1",
  5543. "type": "string"
  5544. },
  5545. "attachment2": {
  5546. "description": "附件2",
  5547. "type": "string"
  5548. },
  5549. "attachment3": {
  5550. "description": "附件3",
  5551. "type": "string"
  5552. },
  5553. "attachment4": {
  5554. "description": "附件4",
  5555. "type": "string"
  5556. },
  5557. "attachment5": {
  5558. "description": "附件5",
  5559. "type": "string"
  5560. },
  5561. "auditedby": {
  5562. "description": "审核人",
  5563. "type": "string"
  5564. },
  5565. "auditime": {
  5566. "description": "审核时间",
  5567. "type": "string"
  5568. },
  5569. "bankaccount": {
  5570. "description": "银行帐号 (加密存储)",
  5571. "type": "string"
  5572. },
  5573. "bankaccountname": {
  5574. "description": "收款人名称",
  5575. "type": "string"
  5576. },
  5577. "bankcardbackphotourl": {
  5578. "description": "银行卡背面照地址",
  5579. "type": "string"
  5580. },
  5581. "bankcardfrontphotourl": {
  5582. "description": "银行卡正面照地址",
  5583. "type": "string"
  5584. },
  5585. "bankid": {
  5586. "description": "银行编码",
  5587. "type": "string"
  5588. },
  5589. "bankname": {
  5590. "description": "银行名称",
  5591. "type": "string"
  5592. },
  5593. "bankpictureurl": {
  5594. "description": "银行卡正面地址",
  5595. "type": "string"
  5596. },
  5597. "biznature": {
  5598. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5599. "type": "integer"
  5600. },
  5601. "bizscope": {
  5602. "description": "企业经营范围(企业)",
  5603. "type": "string"
  5604. },
  5605. "biztype": {
  5606. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5607. "type": "integer"
  5608. },
  5609. "brokerid": {
  5610. "description": "经纪人ID(加密存储)",
  5611. "type": "string"
  5612. },
  5613. "cardaddress": {
  5614. "description": "证件地址 (加密存储)",
  5615. "type": "string"
  5616. },
  5617. "cardbackphotourl": {
  5618. "description": "背面证件照地址",
  5619. "type": "string"
  5620. },
  5621. "cardfrontphotourl": {
  5622. "description": "正面证件照地址",
  5623. "type": "string"
  5624. },
  5625. "cardnum": {
  5626. "description": "证件号码 (加密存储)",
  5627. "type": "string"
  5628. },
  5629. "cardtype": {
  5630. "description": "证件类型",
  5631. "type": "integer"
  5632. },
  5633. "cityid": {
  5634. "description": "市",
  5635. "type": "integer"
  5636. },
  5637. "company": {
  5638. "description": "公司(个人)",
  5639. "type": "string"
  5640. },
  5641. "contactcardbackphotourl": {
  5642. "description": "联系人证件背面图片地址",
  5643. "type": "string"
  5644. },
  5645. "contactcardfrontphotourl": {
  5646. "description": "联系人证件正面图片地址",
  5647. "type": "string"
  5648. },
  5649. "contactname": {
  5650. "description": "联系人",
  5651. "type": "string"
  5652. },
  5653. "countryid": {
  5654. "description": "国家",
  5655. "type": "integer"
  5656. },
  5657. "createtime": {
  5658. "description": "开户申请时间",
  5659. "type": "string"
  5660. },
  5661. "cusbankid": {
  5662. "description": "签约类型",
  5663. "type": "string"
  5664. },
  5665. "cusbankname": {
  5666. "description": "签约类型名称",
  5667. "type": "string"
  5668. },
  5669. "customername": {
  5670. "description": "客户名称(企业名称)",
  5671. "type": "string"
  5672. },
  5673. "districtid": {
  5674. "description": "地区",
  5675. "type": "integer"
  5676. },
  5677. "email": {
  5678. "description": "Email地址(加密存储)",
  5679. "type": "string"
  5680. },
  5681. "halfbodyphotourl": {
  5682. "description": "半身照地址",
  5683. "type": "string"
  5684. },
  5685. "headurl": {
  5686. "description": "头像地址",
  5687. "type": "string"
  5688. },
  5689. "ipaddress": {
  5690. "description": "IP地址",
  5691. "type": "string"
  5692. },
  5693. "isvalidate": {
  5694. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5695. "type": "string"
  5696. },
  5697. "legalcardbackphotourl": {
  5698. "description": "法人身份证背面照地址",
  5699. "type": "string"
  5700. },
  5701. "legalcardfrontphotourl": {
  5702. "description": "法人身份证正面照地址",
  5703. "type": "string"
  5704. },
  5705. "legalpersonname": {
  5706. "description": "法人姓名(企业)",
  5707. "type": "string"
  5708. },
  5709. "logincode": {
  5710. "description": "登录帐号 (加密存储)",
  5711. "type": "string"
  5712. },
  5713. "memberareaid": {
  5714. "description": "所属会员ID",
  5715. "type": "integer"
  5716. },
  5717. "mobile2": {
  5718. "description": "手机号码[明文-尚志]",
  5719. "type": "string"
  5720. },
  5721. "mobilephone": {
  5722. "description": "手机号码 (加密存储)",
  5723. "type": "string"
  5724. },
  5725. "modifiedby": {
  5726. "description": "修改人帐号",
  5727. "type": "integer"
  5728. },
  5729. "modifiedtime": {
  5730. "description": "修改时间",
  5731. "type": "string"
  5732. },
  5733. "nickname": {
  5734. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5735. "type": "string"
  5736. },
  5737. "openmode": {
  5738. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5739. "type": "integer"
  5740. },
  5741. "otherurl": {
  5742. "description": "其它图片地址[使用分号分隔]",
  5743. "type": "string"
  5744. },
  5745. "postalcode": {
  5746. "description": "邮政编码",
  5747. "type": "string"
  5748. },
  5749. "provinceid": {
  5750. "description": "省",
  5751. "type": "integer"
  5752. },
  5753. "proxystatementurl": {
  5754. "description": "授权委托书",
  5755. "type": "string"
  5756. },
  5757. "qq": {
  5758. "description": "QQ(加密存储",
  5759. "type": "string"
  5760. },
  5761. "referral": {
  5762. "description": "推荐人编码",
  5763. "type": "string"
  5764. },
  5765. "remark": {
  5766. "description": "备注",
  5767. "type": "string"
  5768. },
  5769. "removebeforestatus": {
  5770. "description": "REMOVEBEFORESTATUS",
  5771. "type": "integer"
  5772. },
  5773. "sex": {
  5774. "description": "性别 - 0:女 1:男",
  5775. "type": "integer"
  5776. },
  5777. "signedstatus": {
  5778. "description": "账户一号签签约状态",
  5779. "type": "integer"
  5780. },
  5781. "signpdfurl": {
  5782. "description": "签约pdf文件",
  5783. "type": "string"
  5784. },
  5785. "subbranch": {
  5786. "description": "开户支行",
  5787. "type": "string"
  5788. },
  5789. "telphone": {
  5790. "description": "联系电话(加密存储)",
  5791. "type": "string"
  5792. },
  5793. "userid": {
  5794. "description": "用户ID(自增ID)",
  5795. "type": "integer"
  5796. },
  5797. "userinfotype": {
  5798. "description": "用户信息类型 - 1:个人 2:企业",
  5799. "type": "integer"
  5800. },
  5801. "username": {
  5802. "description": "用户姓名",
  5803. "type": "string"
  5804. },
  5805. "userstate": {
  5806. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5807. "type": "integer"
  5808. },
  5809. "usertype": {
  5810. "description": "用户类型 - 1:投资者 2:机构",
  5811. "type": "integer"
  5812. },
  5813. "videourl": {
  5814. "description": "视频地址",
  5815. "type": "string"
  5816. },
  5817. "wechat": {
  5818. "description": "微信号 (加密存储)",
  5819. "type": "string"
  5820. }
  5821. }
  5822. },
  5823. "erms3.CustomerInfo": {
  5824. "type": "object",
  5825. "required": [
  5826. "userid"
  5827. ],
  5828. "properties": {
  5829. "accountids": {
  5830. "description": "资金账户ID列表",
  5831. "type": "array",
  5832. "items": {
  5833. "type": "integer"
  5834. }
  5835. },
  5836. "customername": {
  5837. "description": "名称(企业名称)",
  5838. "type": "string"
  5839. },
  5840. "mobile": {
  5841. "description": "手机号码",
  5842. "type": "string"
  5843. },
  5844. "userid": {
  5845. "description": "用户ID",
  5846. "type": "integer"
  5847. }
  5848. }
  5849. },
  5850. "erms3.QryAuditContractRsp": {
  5851. "type": "object",
  5852. "required": [
  5853. "matchcustomername",
  5854. "spotcontractid"
  5855. ],
  5856. "properties": {
  5857. "accountid": {
  5858. "description": "交易员ID",
  5859. "type": "string"
  5860. },
  5861. "applystatus": {
  5862. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5863. "type": "integer"
  5864. },
  5865. "curdeliveryqty": {
  5866. "description": "未交收量",
  5867. "type": "integer"
  5868. },
  5869. "customername": {
  5870. "description": "采购方ID",
  5871. "type": "string"
  5872. },
  5873. "deliverygoodsid": {
  5874. "description": "品种ID",
  5875. "type": "string"
  5876. },
  5877. "deliveryqty": {
  5878. "description": "交收量",
  5879. "type": "integer"
  5880. },
  5881. "enumdicname": {
  5882. "description": "单位名称",
  5883. "type": "string"
  5884. },
  5885. "matchaccountid": {
  5886. "description": "业务员ID",
  5887. "type": "string"
  5888. },
  5889. "matchcustomername": {
  5890. "description": "销售方ID",
  5891. "type": "string"
  5892. },
  5893. "pricedqty": {
  5894. "description": "定价量",
  5895. "type": "number"
  5896. },
  5897. "signdate": {
  5898. "description": "签订日期",
  5899. "type": "string"
  5900. },
  5901. "spotcontractid": {
  5902. "description": "合同ID",
  5903. "type": "string"
  5904. },
  5905. "totaldqty": {
  5906. "description": "合同量",
  5907. "type": "number"
  5908. },
  5909. "unpricedqty": {
  5910. "description": "未定价量",
  5911. "type": "number"
  5912. },
  5913. "wrstandardname": {
  5914. "description": "商品名称",
  5915. "type": "string"
  5916. }
  5917. }
  5918. },
  5919. "erms3.QryPendingBizRsp": {
  5920. "type": "object",
  5921. "properties": {
  5922. "accountid": {
  5923. "description": "现货账户",
  5924. "type": "string"
  5925. },
  5926. "areaname": {
  5927. "description": "所属部门",
  5928. "type": "string"
  5929. },
  5930. "bizid": {
  5931. "description": "业务ID",
  5932. "type": "string"
  5933. },
  5934. "bizname": {
  5935. "description": "业务名称",
  5936. "type": "string"
  5937. },
  5938. "status": {
  5939. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5940. "type": "integer"
  5941. },
  5942. "type": {
  5943. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5944. "type": "integer"
  5945. }
  5946. }
  5947. },
  5948. "erms3.QueryBusinessInfoRsp": {
  5949. "type": "object",
  5950. "properties": {
  5951. "businessid": {
  5952. "description": "业务ID.",
  5953. "type": "integer"
  5954. },
  5955. "buyamount": {
  5956. "description": "采购额.",
  5957. "type": "number"
  5958. },
  5959. "buyqty": {
  5960. "description": "采购量.",
  5961. "type": "string"
  5962. },
  5963. "futurepl": {
  5964. "description": "期货盈亏.",
  5965. "type": "number"
  5966. },
  5967. "futureqty": {
  5968. "description": "期货敞口.",
  5969. "type": "string"
  5970. },
  5971. "goodsid": {
  5972. "description": "商品名称/商品代码.",
  5973. "type": "string"
  5974. },
  5975. "hedgingqty": {
  5976. "description": "套保量.",
  5977. "type": "string"
  5978. },
  5979. "sellamount": {
  5980. "description": "销售额.",
  5981. "type": "number"
  5982. },
  5983. "sellqty": {
  5984. "description": "销售量.",
  5985. "type": "string"
  5986. },
  5987. "spotmarketvalue": {
  5988. "description": "现货市值.",
  5989. "type": "number"
  5990. },
  5991. "spotpl": {
  5992. "description": "浮动权益.",
  5993. "type": "number"
  5994. },
  5995. "spotqty": {
  5996. "description": "现货量.",
  5997. "type": "string"
  5998. },
  5999. "statu": {
  6000. "description": "状态,0-未结束 1-已结束.",
  6001. "type": "integer"
  6002. },
  6003. "totalpl": {
  6004. "description": "总盈亏.",
  6005. "type": "number"
  6006. },
  6007. "totalqty": {
  6008. "description": "总敞口.",
  6009. "type": "string"
  6010. },
  6011. "type": {
  6012. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6013. "type": "integer"
  6014. }
  6015. }
  6016. },
  6017. "erms3.QuerySpotContractAppleFormRsp": {
  6018. "type": "object",
  6019. "properties": {
  6020. "goodses": {
  6021. "description": "合约列表",
  6022. "type": "array",
  6023. "items": {
  6024. "$ref": "#/definitions/models.GoodsIDAndName"
  6025. }
  6026. },
  6027. "oppositeusers": {
  6028. "description": "对方账号列表",
  6029. "type": "array",
  6030. "items": {
  6031. "$ref": "#/definitions/erms3.CustomerInfo"
  6032. }
  6033. },
  6034. "ouruser": {
  6035. "description": "我方账号",
  6036. "$ref": "#/definitions/erms3.CustomerInfo"
  6037. },
  6038. "warehouseinfos": {
  6039. "description": "仓库信息列表",
  6040. "type": "array",
  6041. "items": {
  6042. "$ref": "#/definitions/models.Warehouseinfo"
  6043. }
  6044. },
  6045. "wrstandards": {
  6046. "description": "仓单标准列表",
  6047. "type": "array",
  6048. "items": {
  6049. "$ref": "#/definitions/models.WRStandardInfo"
  6050. }
  6051. }
  6052. }
  6053. },
  6054. "erms3.QuerySpotContractInfoRsp": {
  6055. "type": "object",
  6056. "properties": {
  6057. "accountid": {
  6058. "description": "表示交易员ID.",
  6059. "type": "integer"
  6060. },
  6061. "curdeliveryqty": {
  6062. "description": "表示未交收量.",
  6063. "type": "number"
  6064. },
  6065. "customername": {
  6066. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6067. "type": "string"
  6068. },
  6069. "deliverygoodsid": {
  6070. "description": "表示品种ID.",
  6071. "type": "string"
  6072. },
  6073. "deliveryqty": {
  6074. "description": "表示交收量.",
  6075. "type": "number"
  6076. },
  6077. "matchaccountid": {
  6078. "description": "表示业务员ID.",
  6079. "type": "integer"
  6080. },
  6081. "matchcustomername": {
  6082. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6083. "type": "string"
  6084. },
  6085. "priceqty": {
  6086. "description": "表示定价量.",
  6087. "type": "number"
  6088. },
  6089. "relatedbizid": {
  6090. "description": "表示业务ID.",
  6091. "type": "string"
  6092. },
  6093. "signdate": {
  6094. "description": "表示签订日期.",
  6095. "type": "string"
  6096. },
  6097. "spotcontractid": {
  6098. "description": "合同ID",
  6099. "type": "string"
  6100. },
  6101. "status": {
  6102. "description": "表示状态,0-履约中 1-已完成.",
  6103. "type": "integer"
  6104. },
  6105. "totalqty": {
  6106. "description": "表示合同量.",
  6107. "type": "number"
  6108. },
  6109. "unpricedqty": {
  6110. "description": "表示未定价量.",
  6111. "type": "number"
  6112. },
  6113. "wrstandardname": {
  6114. "description": "表示商品ID.",
  6115. "type": "string"
  6116. }
  6117. }
  6118. },
  6119. "erms3.QueryUserInfoAppliesRsp": {
  6120. "type": "object",
  6121. "required": [
  6122. "userid"
  6123. ],
  6124. "properties": {
  6125. "biznature": {
  6126. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6127. "type": "integer"
  6128. },
  6129. "contactname": {
  6130. "description": "联系人",
  6131. "type": "string"
  6132. },
  6133. "createtime": {
  6134. "description": "开户申请时间",
  6135. "type": "string"
  6136. },
  6137. "userid": {
  6138. "description": "用户ID(自增ID)",
  6139. "type": "integer"
  6140. },
  6141. "userinfotype": {
  6142. "description": "用户信息类型 - 1:个人 2:企业",
  6143. "type": "integer"
  6144. },
  6145. "username": {
  6146. "description": "用户姓名",
  6147. "type": "string"
  6148. },
  6149. "userstate": {
  6150. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6151. "type": "integer"
  6152. }
  6153. }
  6154. },
  6155. "erms3.QueryUserInfosRsp": {
  6156. "type": "object",
  6157. "required": [
  6158. "userid"
  6159. ],
  6160. "properties": {
  6161. "biznature": {
  6162. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6163. "type": "integer"
  6164. },
  6165. "contactname": {
  6166. "description": "联系人",
  6167. "type": "string"
  6168. },
  6169. "customername": {
  6170. "description": "客户名称(企业名称)",
  6171. "type": "string"
  6172. },
  6173. "userid": {
  6174. "description": "用户ID",
  6175. "type": "integer"
  6176. },
  6177. "userinfotype": {
  6178. "description": "用户信息类型 - 1:个人 2:企业",
  6179. "type": "integer"
  6180. },
  6181. "userstatus": {
  6182. "description": "用户状态 - 1:正常 2:注销",
  6183. "type": "integer"
  6184. }
  6185. }
  6186. },
  6187. "erms3.SoptContractDetail": {
  6188. "type": "object",
  6189. "required": [
  6190. "deliverygoodsid",
  6191. "producttype",
  6192. "unitname",
  6193. "warehouseid",
  6194. "wrstandardid",
  6195. "wrstandardname"
  6196. ],
  6197. "properties": {
  6198. "deliverygoodsdesc": {
  6199. "description": "现货品种说明",
  6200. "type": "string"
  6201. },
  6202. "deliverygoodsid": {
  6203. "description": "现货品种ID",
  6204. "type": "integer"
  6205. },
  6206. "deliverygoodsname": {
  6207. "description": "现货品种名称",
  6208. "type": "string"
  6209. },
  6210. "pointdesc": {
  6211. "description": "点价描述",
  6212. "type": "string"
  6213. },
  6214. "producttype": {
  6215. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6216. "type": "integer"
  6217. },
  6218. "producttypename": {
  6219. "description": "产品类型名称",
  6220. "type": "string"
  6221. },
  6222. "spotPointOrderVoList": {
  6223. "description": "点价列表",
  6224. "type": "array",
  6225. "items": {
  6226. "$ref": "#/definitions/erms3.SpotPointOrder"
  6227. }
  6228. },
  6229. "spotPriceOrderList": {
  6230. "description": "定价列表",
  6231. "type": "array",
  6232. "items": {
  6233. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6234. }
  6235. },
  6236. "unitname": {
  6237. "description": "单位名称",
  6238. "type": "string"
  6239. },
  6240. "warehouseid": {
  6241. "description": "仓库ID",
  6242. "type": "integer"
  6243. },
  6244. "warehousename": {
  6245. "description": "仓库名称",
  6246. "type": "string"
  6247. },
  6248. "wrstandardid": {
  6249. "description": "交易标的ID",
  6250. "type": "integer"
  6251. },
  6252. "wrstandardname": {
  6253. "description": "交易标的名称",
  6254. "type": "string"
  6255. }
  6256. }
  6257. },
  6258. "erms3.SpotPointOrder": {
  6259. "type": "object",
  6260. "required": [
  6261. "basic",
  6262. "goodsid",
  6263. "qty"
  6264. ],
  6265. "properties": {
  6266. "basic": {
  6267. "description": "基差",
  6268. "type": "number"
  6269. },
  6270. "deliveryenddate": {
  6271. "description": "交收结束日期",
  6272. "type": "string"
  6273. },
  6274. "deliverystartdate": {
  6275. "description": "交收开始日期",
  6276. "type": "string"
  6277. },
  6278. "enddate": {
  6279. "description": "点价结束日期",
  6280. "type": "string"
  6281. },
  6282. "goodsid": {
  6283. "description": "商品ID",
  6284. "type": "integer"
  6285. },
  6286. "goodsname": {
  6287. "description": "商品名称",
  6288. "type": "string"
  6289. },
  6290. "qty": {
  6291. "description": "数量",
  6292. "type": "number"
  6293. },
  6294. "startdate": {
  6295. "description": "点价开始日期",
  6296. "type": "string"
  6297. }
  6298. }
  6299. },
  6300. "erms3.SpotPriceOrder": {
  6301. "type": "object",
  6302. "required": [
  6303. "amount",
  6304. "price",
  6305. "qty"
  6306. ],
  6307. "properties": {
  6308. "amount": {
  6309. "description": "金额",
  6310. "type": "number"
  6311. },
  6312. "deliveryenddate": {
  6313. "description": "交收结束日期",
  6314. "type": "string"
  6315. },
  6316. "deliverystartdate": {
  6317. "description": "交收开始日期",
  6318. "type": "string"
  6319. },
  6320. "price": {
  6321. "description": "价格",
  6322. "type": "number"
  6323. },
  6324. "qty": {
  6325. "description": "数量",
  6326. "type": "number"
  6327. }
  6328. }
  6329. },
  6330. "hsby.GetHsbyMyCountRsp": {
  6331. "type": "object",
  6332. "properties": {
  6333. "myOrderDetailListingCount": {
  6334. "description": "我的订单求购中数量",
  6335. "type": "integer"
  6336. },
  6337. "myOrderDetailPreCount": {
  6338. "description": "我的订单抢购中数量",
  6339. "type": "integer"
  6340. },
  6341. "myPackageUnReceiveCount": {
  6342. "description": "我的包裹待收货数量",
  6343. "type": "integer"
  6344. },
  6345. "myPackageUnSendCount": {
  6346. "description": "我的包裹待发货数量",
  6347. "type": "integer"
  6348. },
  6349. "myPayOrderCount": {
  6350. "description": "我的订单待付款数量",
  6351. "type": "integer"
  6352. }
  6353. }
  6354. },
  6355. "hsby.QueryProvincesAndCitiesRsp": {
  6356. "type": "object",
  6357. "properties": {
  6358. "cities": {
  6359. "description": "市",
  6360. "type": "array",
  6361. "items": {
  6362. "$ref": "#/definitions/models.Division"
  6363. }
  6364. },
  6365. "province": {
  6366. "description": "省",
  6367. "$ref": "#/definitions/models.Division"
  6368. }
  6369. }
  6370. },
  6371. "models.Division": {
  6372. "type": "object",
  6373. "required": [
  6374. "autoid",
  6375. "divisioncode"
  6376. ],
  6377. "properties": {
  6378. "autoid": {
  6379. "description": "自增ID",
  6380. "type": "integer"
  6381. },
  6382. "divisioncode": {
  6383. "description": "行政代码",
  6384. "type": "string"
  6385. },
  6386. "divisionlevel": {
  6387. "description": "行政级别",
  6388. "type": "string"
  6389. },
  6390. "divisionname": {
  6391. "description": "行政名称",
  6392. "type": "string"
  6393. },
  6394. "modifierid": {
  6395. "description": "修改人",
  6396. "type": "integer"
  6397. },
  6398. "modifytime": {
  6399. "description": "修改时间",
  6400. "type": "string"
  6401. },
  6402. "parentcode": {
  6403. "description": "上级行政代码",
  6404. "type": "string"
  6405. },
  6406. "pathname": {
  6407. "description": "路径名称",
  6408. "type": "string"
  6409. },
  6410. "postcode": {
  6411. "description": "邮政编码",
  6412. "type": "string"
  6413. },
  6414. "separablename": {
  6415. "description": "可拆分的全称",
  6416. "type": "string"
  6417. },
  6418. "shortcode": {
  6419. "description": "地区简码",
  6420. "type": "string"
  6421. }
  6422. }
  6423. },
  6424. "models.Enumdicitem": {
  6425. "type": "object",
  6426. "required": [
  6427. "autoid",
  6428. "enumdiccode",
  6429. "enumdicid",
  6430. "enumitemname"
  6431. ],
  6432. "properties": {
  6433. "autoid": {
  6434. "description": "自增ID",
  6435. "type": "integer"
  6436. },
  6437. "bankmappedvalue": {
  6438. "description": "银行服务对应值",
  6439. "type": "string"
  6440. },
  6441. "enumdiccode": {
  6442. "description": "所属枚举代码",
  6443. "type": "string"
  6444. },
  6445. "enumdicid": {
  6446. "description": "所属枚举ID",
  6447. "type": "integer"
  6448. },
  6449. "enumdicname": {
  6450. "description": "枚举项名称",
  6451. "type": "string"
  6452. },
  6453. "enumitemname": {
  6454. "description": "枚举项值",
  6455. "type": "integer"
  6456. },
  6457. "enumitemstatus": {
  6458. "description": "枚举项状态 - 1.启用 2.不启用",
  6459. "type": "integer"
  6460. },
  6461. "enumitemvalue": {
  6462. "description": "通用值 - [币种通用简写]",
  6463. "type": "string"
  6464. },
  6465. "param1": {
  6466. "description": "参数1[币种:币种小数位]",
  6467. "type": "string"
  6468. },
  6469. "param2": {
  6470. "description": "参数1[币种:币种显示单位]",
  6471. "type": "string"
  6472. },
  6473. "remark": {
  6474. "description": "备注",
  6475. "type": "string"
  6476. }
  6477. }
  6478. },
  6479. "models.GoodsIDAndName": {
  6480. "type": "object",
  6481. "required": [
  6482. "goodscode",
  6483. "goodsid",
  6484. "goodsname",
  6485. "marketid"
  6486. ],
  6487. "properties": {
  6488. "goodscode": {
  6489. "description": "商品代码(内部)",
  6490. "type": "string"
  6491. },
  6492. "goodsid": {
  6493. "description": "商品ID(自增ID SEQ_GOODS)",
  6494. "type": "integer"
  6495. },
  6496. "goodsname": {
  6497. "description": "商品名称",
  6498. "type": "string"
  6499. },
  6500. "marketid": {
  6501. "description": "所属市场ID",
  6502. "type": "integer"
  6503. }
  6504. }
  6505. },
  6506. "models.HsbyBuyMyPayOrder": {
  6507. "type": "object",
  6508. "required": [
  6509. "goodscode",
  6510. "goodsname",
  6511. "tradeid",
  6512. "trademode"
  6513. ],
  6514. "properties": {
  6515. "agreeunit": {
  6516. "description": "合约单位",
  6517. "type": "number"
  6518. },
  6519. "buyaccountid": {
  6520. "description": "买方账号ID[报价币种]",
  6521. "type": "integer"
  6522. },
  6523. "buyorderid": {
  6524. "description": "买方委托单号",
  6525. "type": "string"
  6526. },
  6527. "createtime": {
  6528. "description": "创建时间",
  6529. "type": "string"
  6530. },
  6531. "currencysign": {
  6532. "description": "货币符号",
  6533. "type": "string"
  6534. },
  6535. "decimalplace": {
  6536. "description": "报价小数位",
  6537. "type": "integer"
  6538. },
  6539. "goodscode": {
  6540. "description": "商品代码(内部)",
  6541. "type": "string"
  6542. },
  6543. "goodsid": {
  6544. "description": "商品ID",
  6545. "type": "integer"
  6546. },
  6547. "goodsname": {
  6548. "description": "商品名称",
  6549. "type": "string"
  6550. },
  6551. "marketid": {
  6552. "description": "市场ID",
  6553. "type": "integer"
  6554. },
  6555. "offamount": {
  6556. "description": "优惠金额",
  6557. "type": "number"
  6558. },
  6559. "payamount": {
  6560. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  6561. "type": "number"
  6562. },
  6563. "payflag": {
  6564. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  6565. "type": "integer"
  6566. },
  6567. "paylimitedtime": {
  6568. "description": "支付期限",
  6569. "type": "string"
  6570. },
  6571. "paytime": {
  6572. "description": "付款时间",
  6573. "type": "string"
  6574. },
  6575. "picurls1": {
  6576. "description": "预售商品介绍图片[多张用逗号分隔]",
  6577. "type": "string"
  6578. },
  6579. "picurls2": {
  6580. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6581. "type": "string"
  6582. },
  6583. "sellaccountid": {
  6584. "description": "卖方账号ID[报价币种]",
  6585. "type": "integer"
  6586. },
  6587. "sellorderid": {
  6588. "description": "卖方委托单号",
  6589. "type": "string"
  6590. },
  6591. "tradeamount": {
  6592. "description": "成交金额",
  6593. "type": "number"
  6594. },
  6595. "tradecharge": {
  6596. "description": "成交手续费(买方)",
  6597. "type": "number"
  6598. },
  6599. "tradedate": {
  6600. "description": "交易日(yyyyMMdd)",
  6601. "type": "string"
  6602. },
  6603. "tradeid": {
  6604. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6605. "type": "string"
  6606. },
  6607. "trademode": {
  6608. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6609. "type": "integer"
  6610. },
  6611. "tradeprice": {
  6612. "description": "成交价格",
  6613. "type": "number"
  6614. },
  6615. "tradeqty": {
  6616. "description": "成交数量",
  6617. "type": "integer"
  6618. },
  6619. "vendorname1": {
  6620. "description": "预售商品供应商名称",
  6621. "type": "string"
  6622. },
  6623. "vendorname2": {
  6624. "description": "挂牌商品供应商名称",
  6625. "type": "string"
  6626. }
  6627. }
  6628. },
  6629. "models.HsbyBuyMyTradeDetail": {
  6630. "type": "object",
  6631. "required": [
  6632. "accountid",
  6633. "buyorsell",
  6634. "goodscode",
  6635. "goodsid",
  6636. "goodsname",
  6637. "marketid",
  6638. "orderid",
  6639. "qty",
  6640. "time",
  6641. "trademode"
  6642. ],
  6643. "properties": {
  6644. "accountid": {
  6645. "description": "账户ID[报价币种]",
  6646. "type": "integer"
  6647. },
  6648. "agreeunit": {
  6649. "description": "合约单位",
  6650. "type": "number"
  6651. },
  6652. "amount": {
  6653. "description": "金额 = 价格 * 数量 * 合约单位",
  6654. "type": "number"
  6655. },
  6656. "buyorsell": {
  6657. "description": "买卖 - 0:买 1:卖",
  6658. "type": "integer"
  6659. },
  6660. "currencysign": {
  6661. "description": "货币符号",
  6662. "type": "string"
  6663. },
  6664. "decimalplace": {
  6665. "description": "报价小数位",
  6666. "type": "integer"
  6667. },
  6668. "goodscode": {
  6669. "description": "商品代码(内部)",
  6670. "type": "string"
  6671. },
  6672. "goodsid": {
  6673. "description": "商品ID",
  6674. "type": "integer"
  6675. },
  6676. "goodsname": {
  6677. "description": "商品名称",
  6678. "type": "string"
  6679. },
  6680. "marketid": {
  6681. "description": "市场ID",
  6682. "type": "integer"
  6683. },
  6684. "orderid": {
  6685. "description": "单号(成交单号)",
  6686. "type": "string"
  6687. },
  6688. "picurls1": {
  6689. "description": "预售商品介绍图片[多张用逗号分隔]",
  6690. "type": "string"
  6691. },
  6692. "picurls2": {
  6693. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6694. "type": "string"
  6695. },
  6696. "price": {
  6697. "description": "价格",
  6698. "type": "number"
  6699. },
  6700. "qty": {
  6701. "description": "数量",
  6702. "type": "integer"
  6703. },
  6704. "time": {
  6705. "description": "时间",
  6706. "type": "string"
  6707. },
  6708. "trademode": {
  6709. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6710. "type": "integer"
  6711. },
  6712. "vendorname1": {
  6713. "description": "预售商品供应商名称",
  6714. "type": "string"
  6715. },
  6716. "vendorname2": {
  6717. "description": "挂牌商品供应商名称",
  6718. "type": "string"
  6719. }
  6720. }
  6721. },
  6722. "models.HsbyGoodsOrderDetail": {
  6723. "type": "object",
  6724. "required": [
  6725. "buyorsell",
  6726. "orderid",
  6727. "ordertime"
  6728. ],
  6729. "properties": {
  6730. "buyorsell": {
  6731. "description": "买卖 - 0:买 1:卖",
  6732. "type": "integer"
  6733. },
  6734. "currencysign": {
  6735. "description": "货币符号",
  6736. "type": "string"
  6737. },
  6738. "customername": {
  6739. "description": "客户名称(企业名称),已脱敏",
  6740. "type": "string"
  6741. },
  6742. "enableqty": {
  6743. "description": "可用数量",
  6744. "type": "integer"
  6745. },
  6746. "goodunit": {
  6747. "description": "报价单位",
  6748. "type": "string"
  6749. },
  6750. "orderid": {
  6751. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6752. "type": "string"
  6753. },
  6754. "orderprice": {
  6755. "description": "委托价格",
  6756. "type": "number"
  6757. },
  6758. "ordertime": {
  6759. "description": "委托时间",
  6760. "type": "string"
  6761. }
  6762. }
  6763. },
  6764. "models.HsbyListingGoodsDetail": {
  6765. "type": "object",
  6766. "required": [
  6767. "goodscode",
  6768. "goodsid",
  6769. "goodsname",
  6770. "marketid",
  6771. "trademode"
  6772. ],
  6773. "properties": {
  6774. "agreeunit": {
  6775. "description": "合约单位",
  6776. "type": "number"
  6777. },
  6778. "currency": {
  6779. "description": "货币",
  6780. "type": "string"
  6781. },
  6782. "currencysign": {
  6783. "description": "货币符号",
  6784. "type": "string"
  6785. },
  6786. "decimalplace": {
  6787. "description": "报价小数位",
  6788. "type": "integer"
  6789. },
  6790. "desccityid": {
  6791. "description": "目的地(市)ID",
  6792. "type": "integer"
  6793. },
  6794. "descprovinceid": {
  6795. "description": "目的地(省)ID",
  6796. "type": "integer"
  6797. },
  6798. "goodscode": {
  6799. "description": "商品代码(内部)",
  6800. "type": "string"
  6801. },
  6802. "goodsdesc": {
  6803. "description": "商品详情",
  6804. "type": "string"
  6805. },
  6806. "goodsid": {
  6807. "description": "商品ID(自增ID SEQ_GOODS)",
  6808. "type": "integer"
  6809. },
  6810. "goodsname": {
  6811. "description": "商品名称",
  6812. "type": "string"
  6813. },
  6814. "hotindex": {
  6815. "description": "景点热度",
  6816. "type": "integer"
  6817. },
  6818. "last": {
  6819. "description": "现价",
  6820. "type": "number"
  6821. },
  6822. "limitdown": {
  6823. "description": "跌停价",
  6824. "type": "number"
  6825. },
  6826. "limitup": {
  6827. "description": "涨停价",
  6828. "type": "number"
  6829. },
  6830. "lotsize": {
  6831. "description": "手数最小变动单位",
  6832. "type": "integer"
  6833. },
  6834. "marketid": {
  6835. "description": "所属市场ID",
  6836. "type": "integer"
  6837. },
  6838. "picurls": {
  6839. "description": "介绍图片[多张用逗号分隔]",
  6840. "type": "string"
  6841. },
  6842. "quoteminunit": {
  6843. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6844. "type": "integer"
  6845. },
  6846. "stepvalue": {
  6847. "description": "价格最小变动单位",
  6848. "type": "number"
  6849. },
  6850. "trademode": {
  6851. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6852. "type": "integer"
  6853. },
  6854. "vendorattr": {
  6855. "description": "供应商附件(多张,逗号分隔)",
  6856. "type": "string"
  6857. },
  6858. "vendorname": {
  6859. "description": "供应商名称",
  6860. "type": "string"
  6861. },
  6862. "vendorphone": {
  6863. "description": "供应商客服电话",
  6864. "type": "string"
  6865. },
  6866. "videourls": {
  6867. "description": "介绍视频[多张用逗号分隔]",
  6868. "type": "string"
  6869. }
  6870. }
  6871. },
  6872. "models.HsbyMarketGoods": {
  6873. "type": "object",
  6874. "required": [
  6875. "accountid",
  6876. "buyorsell",
  6877. "goodscode",
  6878. "goodsid",
  6879. "goodsname",
  6880. "marketid",
  6881. "orderid",
  6882. "orderqty",
  6883. "trademode"
  6884. ],
  6885. "properties": {
  6886. "accountid": {
  6887. "description": "账户ID[报价币种]",
  6888. "type": "integer"
  6889. },
  6890. "agreeunit": {
  6891. "description": "合约单位",
  6892. "type": "number"
  6893. },
  6894. "buyorsell": {
  6895. "description": "买卖 - 0:买 1:卖",
  6896. "type": "integer"
  6897. },
  6898. "cancelqty": {
  6899. "description": "撤单数量",
  6900. "type": "integer"
  6901. },
  6902. "categoryid": {
  6903. "description": "类别ID(WRCATEGORY)",
  6904. "type": "integer"
  6905. },
  6906. "currency": {
  6907. "description": "货币",
  6908. "type": "string"
  6909. },
  6910. "currencysign": {
  6911. "description": "货币符号",
  6912. "type": "string"
  6913. },
  6914. "customername": {
  6915. "description": "卖家名称",
  6916. "type": "string"
  6917. },
  6918. "decimalplace": {
  6919. "description": "报价小数位",
  6920. "type": "integer"
  6921. },
  6922. "goodscode": {
  6923. "description": "商品代码(内部)",
  6924. "type": "string"
  6925. },
  6926. "goodsdesc": {
  6927. "description": "商品详情",
  6928. "type": "string"
  6929. },
  6930. "goodsid": {
  6931. "description": "商品ID",
  6932. "type": "integer"
  6933. },
  6934. "goodsname": {
  6935. "description": "商品名称",
  6936. "type": "string"
  6937. },
  6938. "hascoupon": {
  6939. "description": "是否可用优惠卷",
  6940. "type": "boolean"
  6941. },
  6942. "hotindex": {
  6943. "description": "景点热度",
  6944. "type": "integer"
  6945. },
  6946. "marketid": {
  6947. "description": "市场ID",
  6948. "type": "integer"
  6949. },
  6950. "orderid": {
  6951. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6952. "type": "string"
  6953. },
  6954. "orderprice": {
  6955. "description": "委托价格",
  6956. "type": "number"
  6957. },
  6958. "orderqty": {
  6959. "description": "委托数量",
  6960. "type": "integer"
  6961. },
  6962. "orderstatus": {
  6963. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6964. "type": "integer"
  6965. },
  6966. "picurls": {
  6967. "description": "介绍图片[多张用逗号分隔]",
  6968. "type": "string"
  6969. },
  6970. "quoteminunit": {
  6971. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6972. "type": "integer"
  6973. },
  6974. "sellUserID": {
  6975. "description": "卖方UserID",
  6976. "type": "integer"
  6977. },
  6978. "trademode": {
  6979. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6980. "type": "integer"
  6981. },
  6982. "tradeqty": {
  6983. "description": "成交数量",
  6984. "type": "integer"
  6985. },
  6986. "vendorname": {
  6987. "description": "供应商名称",
  6988. "type": "string"
  6989. },
  6990. "videourls": {
  6991. "description": "介绍视频[多张用逗号分隔]",
  6992. "type": "string"
  6993. }
  6994. }
  6995. },
  6996. "models.HsbyMarketInfo": {
  6997. "type": "object",
  6998. "required": [
  6999. "marketid",
  7000. "marketstatus",
  7001. "trademode"
  7002. ],
  7003. "properties": {
  7004. "marketid": {
  7005. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  7006. "type": "integer"
  7007. },
  7008. "marketname": {
  7009. "description": "市场名称",
  7010. "type": "string"
  7011. },
  7012. "marketstatus": {
  7013. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  7014. "type": "integer"
  7015. },
  7016. "trademode": {
  7017. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7018. "type": "integer"
  7019. }
  7020. }
  7021. },
  7022. "models.HsbyMyGoods": {
  7023. "type": "object",
  7024. "required": [
  7025. "accountid",
  7026. "goodscode",
  7027. "goodsid",
  7028. "goodsname"
  7029. ],
  7030. "properties": {
  7031. "accountid": {
  7032. "description": "账号Id",
  7033. "type": "integer"
  7034. },
  7035. "agreeunit": {
  7036. "description": "合约单位",
  7037. "type": "number"
  7038. },
  7039. "buyaverageprice": {
  7040. "description": "持仓均价",
  7041. "type": "number"
  7042. },
  7043. "buycurholderamount": {
  7044. "description": "买当前持仓总金额[商品币种]",
  7045. "type": "number"
  7046. },
  7047. "buycurpositionqty": {
  7048. "description": "买当前持仓总数量",
  7049. "type": "integer"
  7050. },
  7051. "currencysign": {
  7052. "description": "货币符号",
  7053. "type": "string"
  7054. },
  7055. "decimalplace": {
  7056. "description": "报价小数位",
  7057. "type": "integer"
  7058. },
  7059. "enableqty": {
  7060. "description": "可用数量",
  7061. "type": "integer"
  7062. },
  7063. "goodscode": {
  7064. "description": "商品代码(内部)",
  7065. "type": "string"
  7066. },
  7067. "goodsid": {
  7068. "description": "商品Id",
  7069. "type": "integer"
  7070. },
  7071. "goodsname": {
  7072. "description": "商品名称",
  7073. "type": "string"
  7074. },
  7075. "goodsstatus": {
  7076. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7077. "type": "integer"
  7078. },
  7079. "picurls": {
  7080. "description": "介绍图片[多张用逗号分隔]",
  7081. "type": "string"
  7082. }
  7083. }
  7084. },
  7085. "models.HsbyMyPackage": {
  7086. "type": "object",
  7087. "required": [
  7088. "goodscode",
  7089. "goodsname",
  7090. "takeorderid"
  7091. ],
  7092. "properties": {
  7093. "accountid": {
  7094. "description": "账户ID",
  7095. "type": "integer"
  7096. },
  7097. "address": {
  7098. "description": "提货人详细地址",
  7099. "type": "string"
  7100. },
  7101. "agreeunit": {
  7102. "description": "合约单位",
  7103. "type": "number"
  7104. },
  7105. "amount": {
  7106. "description": "提货金额",
  7107. "type": "number"
  7108. },
  7109. "auditer": {
  7110. "description": "审核人",
  7111. "type": "integer"
  7112. },
  7113. "audittime": {
  7114. "description": "审核时间",
  7115. "type": "string"
  7116. },
  7117. "averageprice": {
  7118. "description": "均价",
  7119. "type": "number"
  7120. },
  7121. "cardnum": {
  7122. "description": "提货人证件号码",
  7123. "type": "string"
  7124. },
  7125. "cardtypeid": {
  7126. "description": "提货人证件类型",
  7127. "type": "integer"
  7128. },
  7129. "checkremark": {
  7130. "description": "审核备注",
  7131. "type": "string"
  7132. },
  7133. "currencysign": {
  7134. "description": "货币符号",
  7135. "type": "string"
  7136. },
  7137. "decimalplace": {
  7138. "description": "报价小数位",
  7139. "type": "integer"
  7140. },
  7141. "goodscode": {
  7142. "description": "商品代码(内部)",
  7143. "type": "string"
  7144. },
  7145. "goodsid": {
  7146. "description": "商品ID",
  7147. "type": "integer"
  7148. },
  7149. "goodsname": {
  7150. "description": "商品名称",
  7151. "type": "string"
  7152. },
  7153. "handlestatus": {
  7154. "description": "处理状态",
  7155. "type": "integer"
  7156. },
  7157. "marketid": {
  7158. "description": "市场ID",
  7159. "type": "integer"
  7160. },
  7161. "phonenum": {
  7162. "description": "提货人联系方式",
  7163. "type": "string"
  7164. },
  7165. "picurls": {
  7166. "description": "介绍图片[多张用逗号分隔]",
  7167. "type": "string"
  7168. },
  7169. "qty": {
  7170. "description": "提货数量",
  7171. "type": "number"
  7172. },
  7173. "recivername": {
  7174. "description": "提货人姓名",
  7175. "type": "string"
  7176. },
  7177. "reqtime": {
  7178. "description": "更新时间",
  7179. "type": "string"
  7180. },
  7181. "takemode": {
  7182. "description": "提货方式 - 2:自提 3:配送",
  7183. "type": "integer"
  7184. },
  7185. "takeorderid": {
  7186. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7187. "type": "string"
  7188. },
  7189. "takeorderstatus": {
  7190. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7191. "type": "integer"
  7192. },
  7193. "takeremark": {
  7194. "description": "提货备注",
  7195. "type": "string"
  7196. },
  7197. "tradedate": {
  7198. "description": "交易日(yyyyMMdd)",
  7199. "type": "string"
  7200. },
  7201. "userid": {
  7202. "description": "用户ID",
  7203. "type": "integer"
  7204. },
  7205. "vendorname": {
  7206. "description": "供应商名称",
  7207. "type": "string"
  7208. }
  7209. }
  7210. },
  7211. "models.HsbyPreGoods": {
  7212. "type": "object",
  7213. "required": [
  7214. "goodscode",
  7215. "goodsid",
  7216. "goodsname",
  7217. "marketid",
  7218. "trademode"
  7219. ],
  7220. "properties": {
  7221. "agreeunit": {
  7222. "description": "合约单位",
  7223. "type": "number"
  7224. },
  7225. "currency": {
  7226. "description": "货币",
  7227. "type": "string"
  7228. },
  7229. "currencysign": {
  7230. "description": "货币符号",
  7231. "type": "string"
  7232. },
  7233. "decimalplace": {
  7234. "description": "报价小数位",
  7235. "type": "integer"
  7236. },
  7237. "enableqty": {
  7238. "description": "剩余数量",
  7239. "type": "integer"
  7240. },
  7241. "goodscode": {
  7242. "description": "商品代码(内部)",
  7243. "type": "string"
  7244. },
  7245. "goodsid": {
  7246. "description": "商品ID(自增ID SEQ_GOODS)",
  7247. "type": "integer"
  7248. },
  7249. "goodsname": {
  7250. "description": "商品名称",
  7251. "type": "string"
  7252. },
  7253. "goodsstatus": {
  7254. "description": "商品状态- 2:未上市 3:上市",
  7255. "type": "integer"
  7256. },
  7257. "lasttradedate": {
  7258. "description": "最后交易日期(状态:待退市)",
  7259. "type": "string"
  7260. },
  7261. "listingdate": {
  7262. "description": "交易开始日期",
  7263. "type": "string"
  7264. },
  7265. "marketid": {
  7266. "description": "所属市场ID",
  7267. "type": "integer"
  7268. },
  7269. "picurls": {
  7270. "description": "介绍图片[多张用逗号分隔]",
  7271. "type": "string"
  7272. },
  7273. "presaledqty": {
  7274. "description": "已预售量(预售结束时更新)",
  7275. "type": "integer"
  7276. },
  7277. "presaleqty": {
  7278. "description": "预售数量",
  7279. "type": "integer"
  7280. },
  7281. "quoteminunit": {
  7282. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7283. "type": "integer"
  7284. },
  7285. "refprice": {
  7286. "description": "参考价格[一口价]",
  7287. "type": "number"
  7288. },
  7289. "relatedgoodsid": {
  7290. "description": "关联交易合约ID",
  7291. "type": "integer"
  7292. },
  7293. "trademode": {
  7294. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7295. "type": "integer"
  7296. },
  7297. "videourls": {
  7298. "description": "介绍视频[多张用逗号分隔]",
  7299. "type": "string"
  7300. }
  7301. }
  7302. },
  7303. "models.HsbyPreGoodsDetail": {
  7304. "type": "object",
  7305. "required": [
  7306. "goodscode",
  7307. "goodsid",
  7308. "goodsname",
  7309. "marketid",
  7310. "trademode"
  7311. ],
  7312. "properties": {
  7313. "agreeunit": {
  7314. "description": "合约单位",
  7315. "type": "number"
  7316. },
  7317. "buymaxqty": {
  7318. "description": "购买上限 [71] - 0为不限",
  7319. "type": "integer"
  7320. },
  7321. "currency": {
  7322. "description": "货币",
  7323. "type": "string"
  7324. },
  7325. "currencysign": {
  7326. "description": "货币符号",
  7327. "type": "string"
  7328. },
  7329. "customername": {
  7330. "description": "发行单位",
  7331. "type": "string"
  7332. },
  7333. "decimalplace": {
  7334. "description": "报价小数位",
  7335. "type": "integer"
  7336. },
  7337. "desccityid": {
  7338. "description": "目的地(市)ID",
  7339. "type": "integer"
  7340. },
  7341. "descprovinceid": {
  7342. "description": "目的地(省)ID",
  7343. "type": "integer"
  7344. },
  7345. "enableqty": {
  7346. "description": "剩余数量",
  7347. "type": "integer"
  7348. },
  7349. "goodscode": {
  7350. "description": "商品代码(内部)",
  7351. "type": "string"
  7352. },
  7353. "goodsdesc": {
  7354. "description": "商品详情",
  7355. "type": "string"
  7356. },
  7357. "goodsid": {
  7358. "description": "商品ID(自增ID SEQ_GOODS)",
  7359. "type": "integer"
  7360. },
  7361. "goodsname": {
  7362. "description": "商品名称",
  7363. "type": "string"
  7364. },
  7365. "goodsstatus": {
  7366. "description": "商品状态- 2:未上市 3:上市",
  7367. "type": "integer"
  7368. },
  7369. "goodunit": {
  7370. "description": "报价单位",
  7371. "type": "string"
  7372. },
  7373. "lasttradedate": {
  7374. "description": "最后交易日期(状态:待退市)",
  7375. "type": "string"
  7376. },
  7377. "listingdate": {
  7378. "description": "交易开始日期",
  7379. "type": "string"
  7380. },
  7381. "lotsize": {
  7382. "description": "手数最小变动单位",
  7383. "type": "integer"
  7384. },
  7385. "marketid": {
  7386. "description": "所属市场ID",
  7387. "type": "integer"
  7388. },
  7389. "picurls": {
  7390. "description": "介绍图片[多张用逗号分隔]",
  7391. "type": "string"
  7392. },
  7393. "presaledqty": {
  7394. "description": "已预售量(预售结束时更新)",
  7395. "type": "integer"
  7396. },
  7397. "presaleqty": {
  7398. "description": "预售数量",
  7399. "type": "integer"
  7400. },
  7401. "quoteminunit": {
  7402. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7403. "type": "integer"
  7404. },
  7405. "refprice": {
  7406. "description": "参考价格[一口价]",
  7407. "type": "number"
  7408. },
  7409. "relatedgoodsid": {
  7410. "description": "关联交易合约ID",
  7411. "type": "integer"
  7412. },
  7413. "stepvalue": {
  7414. "description": "价格最小变动单位",
  7415. "type": "number"
  7416. },
  7417. "trademode": {
  7418. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7419. "type": "integer"
  7420. },
  7421. "vendorattr": {
  7422. "description": "供应商附件(多张,逗号分隔)",
  7423. "type": "string"
  7424. },
  7425. "vendorname": {
  7426. "description": "供应商名称",
  7427. "type": "string"
  7428. },
  7429. "vendorphone": {
  7430. "description": "供应商客服电话",
  7431. "type": "string"
  7432. },
  7433. "videourls": {
  7434. "description": "介绍视频[多张用逗号分隔]",
  7435. "type": "string"
  7436. }
  7437. }
  7438. },
  7439. "models.HsbySellCollectionOrder": {
  7440. "type": "object",
  7441. "required": [
  7442. "goodscode",
  7443. "goodsname",
  7444. "tradeid",
  7445. "trademode"
  7446. ],
  7447. "properties": {
  7448. "agreeunit": {
  7449. "description": "合约单位",
  7450. "type": "number"
  7451. },
  7452. "buyaccountid": {
  7453. "description": "买方账号ID[报价币种]",
  7454. "type": "integer"
  7455. },
  7456. "buyorderid": {
  7457. "description": "买方委托单号",
  7458. "type": "string"
  7459. },
  7460. "createtime": {
  7461. "description": "创建时间",
  7462. "type": "string"
  7463. },
  7464. "currencysign": {
  7465. "description": "货币符号",
  7466. "type": "string"
  7467. },
  7468. "decimalplace": {
  7469. "description": "报价小数位",
  7470. "type": "integer"
  7471. },
  7472. "goodscode": {
  7473. "description": "商品代码(内部)",
  7474. "type": "string"
  7475. },
  7476. "goodsid": {
  7477. "description": "商品ID",
  7478. "type": "integer"
  7479. },
  7480. "goodsname": {
  7481. "description": "商品名称",
  7482. "type": "string"
  7483. },
  7484. "marketid": {
  7485. "description": "市场ID",
  7486. "type": "integer"
  7487. },
  7488. "offamount": {
  7489. "description": "优惠金额",
  7490. "type": "number"
  7491. },
  7492. "payamount": {
  7493. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7494. "type": "number"
  7495. },
  7496. "payflag": {
  7497. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7498. "type": "integer"
  7499. },
  7500. "paylimitedtime": {
  7501. "description": "支付期限",
  7502. "type": "string"
  7503. },
  7504. "paytime": {
  7505. "description": "付款时间",
  7506. "type": "string"
  7507. },
  7508. "picurls": {
  7509. "description": "商品介绍图片[多张用逗号分隔]",
  7510. "type": "string"
  7511. },
  7512. "sellaccountid": {
  7513. "description": "卖方账号ID[报价币种]",
  7514. "type": "integer"
  7515. },
  7516. "sellorderid": {
  7517. "description": "卖方委托单号",
  7518. "type": "string"
  7519. },
  7520. "tradeamount": {
  7521. "description": "成交金额",
  7522. "type": "number"
  7523. },
  7524. "tradecharge": {
  7525. "description": "成交手续费(买方)",
  7526. "type": "number"
  7527. },
  7528. "tradedate": {
  7529. "description": "交易日(yyyyMMdd)",
  7530. "type": "string"
  7531. },
  7532. "tradeid": {
  7533. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7534. "type": "string"
  7535. },
  7536. "trademode": {
  7537. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7538. "type": "integer"
  7539. },
  7540. "tradeprice": {
  7541. "description": "成交价格",
  7542. "type": "number"
  7543. },
  7544. "tradeqty": {
  7545. "description": "成交数量",
  7546. "type": "integer"
  7547. }
  7548. }
  7549. },
  7550. "models.HsbySellMyDetail": {
  7551. "type": "object",
  7552. "required": [
  7553. "accountid",
  7554. "buyorsell",
  7555. "goodscode",
  7556. "goodsid",
  7557. "goodsname",
  7558. "marketid",
  7559. "orderid",
  7560. "time",
  7561. "trademode"
  7562. ],
  7563. "properties": {
  7564. "accountid": {
  7565. "description": "账户ID[报价币种]",
  7566. "type": "integer"
  7567. },
  7568. "agreeunit": {
  7569. "description": "合约单位",
  7570. "type": "number"
  7571. },
  7572. "buyorsell": {
  7573. "description": "买卖 - 0:买 1:卖",
  7574. "type": "integer"
  7575. },
  7576. "currencysign": {
  7577. "description": "货币符号",
  7578. "type": "string"
  7579. },
  7580. "decimalplace": {
  7581. "description": "报价小数位",
  7582. "type": "integer"
  7583. },
  7584. "goodscode": {
  7585. "description": "商品代码(内部)",
  7586. "type": "string"
  7587. },
  7588. "goodsid": {
  7589. "description": "商品ID",
  7590. "type": "integer"
  7591. },
  7592. "goodsname": {
  7593. "description": "商品名称",
  7594. "type": "string"
  7595. },
  7596. "marketid": {
  7597. "description": "市场ID",
  7598. "type": "integer"
  7599. },
  7600. "orderid": {
  7601. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  7602. "type": "string"
  7603. },
  7604. "ordertype": {
  7605. "description": "单据类型:0 - 发布中, 1 - 已完成",
  7606. "type": "integer"
  7607. },
  7608. "picurls": {
  7609. "description": "介绍图片[多张用逗号分隔]",
  7610. "type": "string"
  7611. },
  7612. "price": {
  7613. "description": "价格",
  7614. "type": "number"
  7615. },
  7616. "qty": {
  7617. "description": "数量",
  7618. "type": "integer"
  7619. },
  7620. "time": {
  7621. "description": "时间",
  7622. "type": "string"
  7623. },
  7624. "trademode": {
  7625. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7626. "type": "integer"
  7627. },
  7628. "vendorname": {
  7629. "description": "供应商名称",
  7630. "type": "string"
  7631. }
  7632. }
  7633. },
  7634. "models.HsbyTopGoods": {
  7635. "type": "object",
  7636. "required": [
  7637. "goodscode",
  7638. "goodsid",
  7639. "goodsname",
  7640. "marketid",
  7641. "trademode"
  7642. ],
  7643. "properties": {
  7644. "agreeunit": {
  7645. "description": "合约单位",
  7646. "type": "number"
  7647. },
  7648. "currency": {
  7649. "description": "货币",
  7650. "type": "string"
  7651. },
  7652. "currencysign": {
  7653. "description": "货币符号",
  7654. "type": "string"
  7655. },
  7656. "decimalplace": {
  7657. "description": "报价小数位",
  7658. "type": "integer"
  7659. },
  7660. "goodscode": {
  7661. "description": "商品代码(内部)",
  7662. "type": "string"
  7663. },
  7664. "goodsid": {
  7665. "description": "商品ID(自增ID SEQ_GOODS)",
  7666. "type": "integer"
  7667. },
  7668. "goodsname": {
  7669. "description": "商品名称",
  7670. "type": "string"
  7671. },
  7672. "hotindex": {
  7673. "description": "景点热度",
  7674. "type": "integer"
  7675. },
  7676. "last": {
  7677. "description": "现价",
  7678. "type": "number"
  7679. },
  7680. "marketid": {
  7681. "description": "所属市场ID",
  7682. "type": "integer"
  7683. },
  7684. "picurls": {
  7685. "description": "介绍图片[多张用逗号分隔]",
  7686. "type": "string"
  7687. },
  7688. "quoteminunit": {
  7689. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7690. "type": "integer"
  7691. },
  7692. "trademode": {
  7693. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7694. "type": "integer"
  7695. },
  7696. "videourls": {
  7697. "description": "介绍视频[多张用逗号分隔]",
  7698. "type": "string"
  7699. }
  7700. }
  7701. },
  7702. "models.HybsMyBuyOrderDetail": {
  7703. "type": "object",
  7704. "required": [
  7705. "accountid",
  7706. "buyorsell",
  7707. "goodscode",
  7708. "goodsid",
  7709. "goodsname",
  7710. "marketid",
  7711. "orderid",
  7712. "orderqty",
  7713. "ordertime",
  7714. "trademode"
  7715. ],
  7716. "properties": {
  7717. "accountid": {
  7718. "description": "账户ID[报价币种]",
  7719. "type": "integer"
  7720. },
  7721. "agreeunit": {
  7722. "description": "合约单位",
  7723. "type": "number"
  7724. },
  7725. "buyorsell": {
  7726. "description": "买卖 - 0:买 1:卖",
  7727. "type": "integer"
  7728. },
  7729. "cancelqty": {
  7730. "description": "撤单数量",
  7731. "type": "integer"
  7732. },
  7733. "currencysign": {
  7734. "description": "货币符号",
  7735. "type": "string"
  7736. },
  7737. "decimalplace": {
  7738. "description": "报价小数位",
  7739. "type": "integer"
  7740. },
  7741. "goodscode": {
  7742. "description": "商品代码(内部)",
  7743. "type": "string"
  7744. },
  7745. "goodsid": {
  7746. "description": "商品ID",
  7747. "type": "integer"
  7748. },
  7749. "goodsname": {
  7750. "description": "商品名称",
  7751. "type": "string"
  7752. },
  7753. "listingselecttype": {
  7754. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7755. "type": "integer"
  7756. },
  7757. "marketid": {
  7758. "description": "市场ID",
  7759. "type": "integer"
  7760. },
  7761. "mybuystatus": {
  7762. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7763. "type": "integer"
  7764. },
  7765. "orderamount": {
  7766. "description": "委托金额",
  7767. "type": "number"
  7768. },
  7769. "orderid": {
  7770. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7771. "type": "string"
  7772. },
  7773. "orderprice": {
  7774. "description": "委托价格",
  7775. "type": "number"
  7776. },
  7777. "orderqty": {
  7778. "description": "委托数量",
  7779. "type": "integer"
  7780. },
  7781. "orderstatus": {
  7782. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7783. "type": "integer"
  7784. },
  7785. "ordertime": {
  7786. "description": "委托时间",
  7787. "type": "string"
  7788. },
  7789. "picurls1": {
  7790. "description": "预售商品介绍图片[多张用逗号分隔]",
  7791. "type": "string"
  7792. },
  7793. "picurls2": {
  7794. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7795. "type": "string"
  7796. },
  7797. "trademode": {
  7798. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7799. "type": "integer"
  7800. },
  7801. "tradeqty": {
  7802. "description": "成交数量",
  7803. "type": "integer"
  7804. },
  7805. "vendorname1": {
  7806. "description": "预售商品供应商名称",
  7807. "type": "string"
  7808. },
  7809. "vendorname2": {
  7810. "description": "挂牌商品供应商名称",
  7811. "type": "string"
  7812. }
  7813. }
  7814. },
  7815. "models.Messageboard": {
  7816. "type": "object",
  7817. "required": [
  7818. "messageboardid"
  7819. ],
  7820. "properties": {
  7821. "createtime": {
  7822. "description": "创建时间",
  7823. "type": "string"
  7824. },
  7825. "message": {
  7826. "description": "留言信息",
  7827. "type": "string"
  7828. },
  7829. "messageboardid": {
  7830. "description": "留言簿ID(SEQ_MessageBoard)",
  7831. "type": "integer"
  7832. },
  7833. "userid": {
  7834. "description": "用户ID",
  7835. "type": "integer"
  7836. }
  7837. }
  7838. },
  7839. "models.MyCoupon": {
  7840. "type": "object",
  7841. "required": [
  7842. "accountid",
  7843. "coupontypeid"
  7844. ],
  7845. "properties": {
  7846. "accountid": {
  7847. "description": "资金账户ID",
  7848. "type": "integer"
  7849. },
  7850. "areauserid": {
  7851. "description": "所属机构",
  7852. "type": "integer"
  7853. },
  7854. "conditionvalue": {
  7855. "description": "条件阈值(可为0)",
  7856. "type": "number"
  7857. },
  7858. "couponcategroy": {
  7859. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  7860. "type": "integer"
  7861. },
  7862. "couponname": {
  7863. "description": "优惠券名称",
  7864. "type": "string"
  7865. },
  7866. "coupontypeid": {
  7867. "description": "优惠券类型ID",
  7868. "type": "integer"
  7869. },
  7870. "couponvalue": {
  7871. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  7872. "type": "number"
  7873. },
  7874. "curfreezeqty": {
  7875. "description": "期末冻结数量",
  7876. "type": "integer"
  7877. },
  7878. "curqty": {
  7879. "description": "期末数量",
  7880. "type": "integer"
  7881. },
  7882. "isgeneral": {
  7883. "description": "是否通用券 - 0:否 1:是",
  7884. "type": "integer"
  7885. },
  7886. "isunusable": {
  7887. "description": "是否不可用",
  7888. "type": "boolean"
  7889. },
  7890. "limitedflag": {
  7891. "description": "是否指定商品 - 0:不限 1:限制",
  7892. "type": "integer"
  7893. },
  7894. "limitedgoodsids": {
  7895. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  7896. "type": "string"
  7897. },
  7898. "orifreezeqty": {
  7899. "description": "期初冻结数量",
  7900. "type": "integer"
  7901. },
  7902. "oriqty": {
  7903. "description": "期初数量",
  7904. "type": "integer"
  7905. },
  7906. "reasontype": {
  7907. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  7908. "type": "integer"
  7909. },
  7910. "todaydecrease": {
  7911. "description": "今日减少",
  7912. "type": "integer"
  7913. },
  7914. "todayincrease": {
  7915. "description": "今日增加",
  7916. "type": "integer"
  7917. },
  7918. "userid": {
  7919. "description": "用户ID",
  7920. "type": "integer"
  7921. },
  7922. "userscope": {
  7923. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  7924. "type": "string"
  7925. }
  7926. }
  7927. },
  7928. "models.OperationPrimaryMenu": {
  7929. "type": "object",
  7930. "properties": {
  7931. "Children": {
  7932. "description": "二级功能菜单",
  7933. "type": "array",
  7934. "items": {
  7935. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7936. }
  7937. },
  7938. "Key": {
  7939. "description": "菜单KEY",
  7940. "type": "string"
  7941. },
  7942. "Label": {
  7943. "description": "菜单标题",
  7944. "type": "string"
  7945. }
  7946. }
  7947. },
  7948. "models.OperationSecondaryMenu": {
  7949. "type": "object",
  7950. "properties": {
  7951. "Key": {
  7952. "description": "菜单KEY",
  7953. "type": "string"
  7954. },
  7955. "Label": {
  7956. "description": "菜单标题",
  7957. "type": "string"
  7958. },
  7959. "TabList": {
  7960. "description": "三级功能菜单",
  7961. "type": "array",
  7962. "items": {
  7963. "$ref": "#/definitions/models.OperationTabMenu"
  7964. }
  7965. }
  7966. }
  7967. },
  7968. "models.OperationTabMenu": {
  7969. "type": "object",
  7970. "properties": {
  7971. "Key": {
  7972. "description": "菜单KEY",
  7973. "type": "string"
  7974. },
  7975. "Label": {
  7976. "description": "菜单标题",
  7977. "type": "string"
  7978. }
  7979. }
  7980. },
  7981. "models.QuotePrimaryMenu": {
  7982. "type": "object",
  7983. "properties": {
  7984. "Index": {
  7985. "description": "序号",
  7986. "type": "integer"
  7987. },
  7988. "Key": {
  7989. "description": "键名",
  7990. "type": "string"
  7991. },
  7992. "Name": {
  7993. "description": "菜单名称",
  7994. "type": "string"
  7995. },
  7996. "SubMenus": {
  7997. "description": "子菜单",
  7998. "type": "array",
  7999. "items": {
  8000. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  8001. }
  8002. },
  8003. "SubTitleType": {
  8004. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  8005. "type": "integer"
  8006. },
  8007. "TradeModes": {
  8008. "description": "包含市场交易类型",
  8009. "type": "string"
  8010. }
  8011. }
  8012. },
  8013. "models.QuoteSecondaryMenu": {
  8014. "type": "object",
  8015. "properties": {
  8016. "ExExchangeCode": {
  8017. "description": "外部交易所代码",
  8018. "type": "string"
  8019. },
  8020. "ExExchangeID": {
  8021. "description": "外部交易所ID",
  8022. "type": "integer"
  8023. },
  8024. "GoodsGroupIDs": {
  8025. "description": "商品组ID列表",
  8026. "type": "array",
  8027. "items": {
  8028. "type": "integer"
  8029. }
  8030. },
  8031. "Index": {
  8032. "description": "序号",
  8033. "type": "integer"
  8034. },
  8035. "MarketID": {
  8036. "description": "市场ID",
  8037. "type": "integer"
  8038. },
  8039. "MenuTitle": {
  8040. "description": "菜单标题(市场名称或外部交易所名称)",
  8041. "type": "string"
  8042. },
  8043. "TradeMode": {
  8044. "description": "交易模式",
  8045. "type": "integer"
  8046. }
  8047. }
  8048. },
  8049. "models.SearchGoods": {
  8050. "type": "object",
  8051. "required": [
  8052. "goodscode",
  8053. "goodsid",
  8054. "goodsname",
  8055. "marketid",
  8056. "trademode"
  8057. ],
  8058. "properties": {
  8059. "goodscode": {
  8060. "description": "商品代码(内部)",
  8061. "type": "string"
  8062. },
  8063. "goodsid": {
  8064. "description": "商品ID(自增ID SEQ_GOODS)",
  8065. "type": "integer"
  8066. },
  8067. "goodsname": {
  8068. "description": "商品名称",
  8069. "type": "string"
  8070. },
  8071. "marketid": {
  8072. "description": "所属市场ID",
  8073. "type": "integer"
  8074. },
  8075. "marketname": {
  8076. "description": "市场名称",
  8077. "type": "string"
  8078. },
  8079. "trademode": {
  8080. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8081. "type": "integer"
  8082. }
  8083. }
  8084. },
  8085. "models.Szdz2imageconfig": {
  8086. "type": "object",
  8087. "required": [
  8088. "configid"
  8089. ],
  8090. "properties": {
  8091. "configid": {
  8092. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8093. "type": "integer"
  8094. },
  8095. "imagepath": {
  8096. "description": "图片",
  8097. "type": "string"
  8098. },
  8099. "imagetype": {
  8100. "description": "类型 - 1:App首页轮播 2:我的",
  8101. "type": "integer"
  8102. },
  8103. "sort": {
  8104. "description": "排序",
  8105. "type": "integer"
  8106. },
  8107. "title": {
  8108. "description": "标题",
  8109. "type": "string"
  8110. },
  8111. "url": {
  8112. "description": "链接",
  8113. "type": "string"
  8114. }
  8115. }
  8116. },
  8117. "models.Szdz3convertconfig": {
  8118. "type": "object",
  8119. "required": [
  8120. "converttype",
  8121. "innergoodsid",
  8122. "outergoodscode"
  8123. ],
  8124. "properties": {
  8125. "canin": {
  8126. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  8127. "type": "integer"
  8128. },
  8129. "canout": {
  8130. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  8131. "type": "integer"
  8132. },
  8133. "converttype": {
  8134. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8135. "type": "integer"
  8136. },
  8137. "createtime": {
  8138. "description": "创建时间",
  8139. "type": "string"
  8140. },
  8141. "creatorid": {
  8142. "description": "创建人",
  8143. "type": "integer"
  8144. },
  8145. "daymaxvalue": {
  8146. "description": "当日最大转入限制",
  8147. "type": "number"
  8148. },
  8149. "freezedays": {
  8150. "description": "冻结天数 [5:花生米转交易]",
  8151. "type": "integer"
  8152. },
  8153. "innergoodsid": {
  8154. "description": "内部商品ID[交易]",
  8155. "type": "integer"
  8156. },
  8157. "inratio": {
  8158. "description": "目标值",
  8159. "type": "integer"
  8160. },
  8161. "modifierid": {
  8162. "description": "修改人",
  8163. "type": "integer"
  8164. },
  8165. "modifytime": {
  8166. "description": "修改时间",
  8167. "type": "string"
  8168. },
  8169. "outergoodscode": {
  8170. "description": "外部商品代码[JD\\PD]",
  8171. "type": "string"
  8172. },
  8173. "outratio": {
  8174. "description": "源值",
  8175. "type": "integer"
  8176. },
  8177. "pddecimalplace": {
  8178. "description": "PD小数位",
  8179. "type": "integer"
  8180. },
  8181. "timemaxvalue": {
  8182. "description": "单次最大转入限制",
  8183. "type": "number"
  8184. },
  8185. "timeminvalue": {
  8186. "description": "单次最小转入限制",
  8187. "type": "number"
  8188. }
  8189. }
  8190. },
  8191. "models.Szdz3searchwhitelist": {
  8192. "type": "object",
  8193. "required": [
  8194. "userid"
  8195. ],
  8196. "properties": {
  8197. "createtime": {
  8198. "description": "创建时间",
  8199. "type": "string"
  8200. },
  8201. "creatorid": {
  8202. "description": "创建人",
  8203. "type": "integer"
  8204. },
  8205. "modifierid": {
  8206. "description": "修改人",
  8207. "type": "integer"
  8208. },
  8209. "modifytime": {
  8210. "description": "修改时间",
  8211. "type": "string"
  8212. },
  8213. "userid": {
  8214. "description": "用户ID",
  8215. "type": "integer"
  8216. }
  8217. }
  8218. },
  8219. "models.Tablecolumnconfig": {
  8220. "type": "object",
  8221. "required": [
  8222. "autoid"
  8223. ],
  8224. "properties": {
  8225. "aligntype": {
  8226. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  8227. "type": "integer"
  8228. },
  8229. "autoid": {
  8230. "description": "AutoID",
  8231. "type": "integer"
  8232. },
  8233. "columnfield": {
  8234. "description": "列字段",
  8235. "type": "string"
  8236. },
  8237. "columntitle": {
  8238. "description": "列Title",
  8239. "type": "string"
  8240. },
  8241. "columnwidth": {
  8242. "description": "列宽",
  8243. "type": "string"
  8244. },
  8245. "formatterstring": {
  8246. "description": "格式化字符",
  8247. "type": "string"
  8248. },
  8249. "formattertype": {
  8250. "description": "格式化类型",
  8251. "type": "string"
  8252. },
  8253. "groupname": {
  8254. "description": "表头分组名称",
  8255. "type": "string"
  8256. },
  8257. "isshow": {
  8258. "description": "是否显示 - 0:不显示 1:显示",
  8259. "type": "integer"
  8260. },
  8261. "needsummary": {
  8262. "description": "是否需要汇总 - 0:不需要 1:需要",
  8263. "type": "integer"
  8264. },
  8265. "orderindex": {
  8266. "description": "顺序",
  8267. "type": "integer"
  8268. },
  8269. "remark": {
  8270. "description": "备注",
  8271. "type": "string"
  8272. },
  8273. "summarytype": {
  8274. "description": "汇总类型 - 1:加总 2:最后一个",
  8275. "type": "integer"
  8276. },
  8277. "tablekey": {
  8278. "description": "列表Key",
  8279. "type": "string"
  8280. }
  8281. }
  8282. },
  8283. "models.Useraccount": {
  8284. "type": "object",
  8285. "required": [
  8286. "userid"
  8287. ],
  8288. "properties": {
  8289. "accountname": {
  8290. "description": "账户名称(机构名称)",
  8291. "type": "string"
  8292. },
  8293. "accountstatus": {
  8294. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8295. "type": "integer"
  8296. },
  8297. "auditremark": {
  8298. "description": "审核备注",
  8299. "type": "string"
  8300. },
  8301. "audittime": {
  8302. "description": "审核时间",
  8303. "type": "string"
  8304. },
  8305. "audituserid": {
  8306. "description": "审核人",
  8307. "type": "integer"
  8308. },
  8309. "broker": {
  8310. "description": "所属经纪人ID",
  8311. "type": "integer"
  8312. },
  8313. "canceltime": {
  8314. "description": "销户时间",
  8315. "type": "string"
  8316. },
  8317. "canceluserid": {
  8318. "description": "销户人",
  8319. "type": "integer"
  8320. },
  8321. "createtime": {
  8322. "description": "创建时间",
  8323. "type": "string"
  8324. },
  8325. "creatorid": {
  8326. "description": "创建人",
  8327. "type": "integer"
  8328. },
  8329. "hasauth": {
  8330. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  8331. "type": "integer"
  8332. },
  8333. "isanonymous": {
  8334. "description": "是否匿名下单 - 0:否 1:是",
  8335. "type": "integer"
  8336. },
  8337. "maxinvestornum": {
  8338. "description": "最大用户数(经纪会员下投资者个数)",
  8339. "type": "integer"
  8340. },
  8341. "memberuserid": {
  8342. "description": "所属会员ID",
  8343. "type": "integer"
  8344. },
  8345. "modifierid": {
  8346. "description": "修改人",
  8347. "type": "integer"
  8348. },
  8349. "modifyremark": {
  8350. "description": "变更备注",
  8351. "type": "string"
  8352. },
  8353. "modifystatus": {
  8354. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  8355. "type": "integer"
  8356. },
  8357. "modifytime": {
  8358. "description": "修改时间",
  8359. "type": "string"
  8360. },
  8361. "parentuserid": {
  8362. "description": "所属机构ID",
  8363. "type": "integer"
  8364. },
  8365. "reckonaccountid": {
  8366. "description": "默认结算资金账号ID(机构分润使用) 作废",
  8367. "type": "integer"
  8368. },
  8369. "refercount": {
  8370. "description": "推荐总人数",
  8371. "type": "integer"
  8372. },
  8373. "refereeuserid": {
  8374. "description": "推荐人ID",
  8375. "type": "integer"
  8376. },
  8377. "refernum": {
  8378. "description": "推荐码",
  8379. "type": "string"
  8380. },
  8381. "subarealevelpath": {
  8382. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  8383. "type": "string"
  8384. },
  8385. "userid": {
  8386. "description": "用户ID",
  8387. "type": "integer"
  8388. },
  8389. "usertype": {
  8390. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8391. "type": "integer"
  8392. }
  8393. }
  8394. },
  8395. "models.Userfavoritegoods": {
  8396. "type": "object",
  8397. "required": [
  8398. "goodsid"
  8399. ],
  8400. "properties": {
  8401. "goodsid": {
  8402. "description": "商品ID",
  8403. "type": "integer"
  8404. }
  8405. }
  8406. },
  8407. "models.Userinfo": {
  8408. "type": "object",
  8409. "required": [
  8410. "userid"
  8411. ],
  8412. "properties": {
  8413. "address": {
  8414. "description": "地址",
  8415. "type": "string"
  8416. },
  8417. "attachment1": {
  8418. "description": "附件1",
  8419. "type": "string"
  8420. },
  8421. "attachment2": {
  8422. "description": "附件2",
  8423. "type": "string"
  8424. },
  8425. "bankaccount": {
  8426. "description": "银行帐号 (加密存储)",
  8427. "type": "string"
  8428. },
  8429. "bankaccountname": {
  8430. "description": "收款人名称",
  8431. "type": "string"
  8432. },
  8433. "bankcardfrontphotourl": {
  8434. "description": "银行卡正面照地址",
  8435. "type": "string"
  8436. },
  8437. "bankid": {
  8438. "description": "银行编码",
  8439. "type": "string"
  8440. },
  8441. "bankname": {
  8442. "description": "银行名称",
  8443. "type": "string"
  8444. },
  8445. "biznature": {
  8446. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8447. "type": "integer"
  8448. },
  8449. "bizscope": {
  8450. "description": "企业经营范围(企业)",
  8451. "type": "string"
  8452. },
  8453. "cardbackphotourl": {
  8454. "description": "证件背面图片地址",
  8455. "type": "string"
  8456. },
  8457. "cardfrontphotourl": {
  8458. "description": "证件正面图片地址",
  8459. "type": "string"
  8460. },
  8461. "cardnum": {
  8462. "description": "证件号码(加密存储)",
  8463. "type": "string"
  8464. },
  8465. "cardtypeid": {
  8466. "description": "证件类型ID",
  8467. "type": "integer"
  8468. },
  8469. "cityid": {
  8470. "description": "市",
  8471. "type": "integer"
  8472. },
  8473. "company": {
  8474. "description": "公司(个人)",
  8475. "type": "string"
  8476. },
  8477. "contactname": {
  8478. "description": "联系人",
  8479. "type": "string"
  8480. },
  8481. "countryid": {
  8482. "description": "国家",
  8483. "type": "integer"
  8484. },
  8485. "createtime": {
  8486. "description": "创建时间",
  8487. "type": "string"
  8488. },
  8489. "creatorid": {
  8490. "description": "创建人",
  8491. "type": "integer"
  8492. },
  8493. "customername": {
  8494. "description": "客户名称(企业名称)",
  8495. "type": "string"
  8496. },
  8497. "districtid": {
  8498. "description": "地区",
  8499. "type": "integer"
  8500. },
  8501. "email": {
  8502. "description": "邮件(加密存储)",
  8503. "type": "string"
  8504. },
  8505. "fax": {
  8506. "description": "传真(加密存储)",
  8507. "type": "string"
  8508. },
  8509. "halfbodyphotourl": {
  8510. "description": "半身照地址",
  8511. "type": "string"
  8512. },
  8513. "hasencrypt": {
  8514. "description": "数据是否已加密 - 0:未加密 1:已加密",
  8515. "type": "integer"
  8516. },
  8517. "headurl": {
  8518. "description": "头像地址",
  8519. "type": "string"
  8520. },
  8521. "legalcardbackphotourl": {
  8522. "description": "法人身份证背面照地址",
  8523. "type": "string"
  8524. },
  8525. "legalcardfrontphotourl": {
  8526. "description": "法人身份证正面照地址",
  8527. "type": "string"
  8528. },
  8529. "legalpersonname": {
  8530. "description": "法人姓名(企业)",
  8531. "type": "string"
  8532. },
  8533. "mobile": {
  8534. "description": "手机号码(加密存储)",
  8535. "type": "string"
  8536. },
  8537. "mobile2": {
  8538. "description": "手机号码[明文-尚志]",
  8539. "type": "string"
  8540. },
  8541. "modifierid": {
  8542. "description": "修改人",
  8543. "type": "integer"
  8544. },
  8545. "modifiertime": {
  8546. "description": "修改时间",
  8547. "type": "string"
  8548. },
  8549. "needinvoice": {
  8550. "description": "是否需要发票 - 0:不需要 1:需要",
  8551. "type": "integer"
  8552. },
  8553. "nickname": {
  8554. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  8555. "type": "string"
  8556. },
  8557. "openmode": {
  8558. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  8559. "type": "integer"
  8560. },
  8561. "otherurl": {
  8562. "description": "其它图片地址[使用分号分隔]",
  8563. "type": "string"
  8564. },
  8565. "postalcode": {
  8566. "description": "邮政编码",
  8567. "type": "string"
  8568. },
  8569. "provinceid": {
  8570. "description": "省",
  8571. "type": "integer"
  8572. },
  8573. "qq": {
  8574. "description": "QQ(加密存储",
  8575. "type": "string"
  8576. },
  8577. "remark": {
  8578. "description": "备注",
  8579. "type": "string"
  8580. },
  8581. "sex": {
  8582. "description": "用户性别 0: 女 1: 男",
  8583. "type": "integer"
  8584. },
  8585. "signpdfurl": {
  8586. "description": "签约pdf文件",
  8587. "type": "string"
  8588. },
  8589. "telphone": {
  8590. "description": "联系电话(加密存储)",
  8591. "type": "string"
  8592. },
  8593. "userid": {
  8594. "description": "用户ID",
  8595. "type": "integer"
  8596. },
  8597. "userinfotype": {
  8598. "description": "用户信息类型 - 1:个人 2:企业",
  8599. "type": "integer"
  8600. },
  8601. "userstatus": {
  8602. "description": "用户状态 - 1:正常 2:注销",
  8603. "type": "integer"
  8604. },
  8605. "usertype": {
  8606. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8607. "type": "integer"
  8608. },
  8609. "wechat": {
  8610. "description": "微信(加密存储)",
  8611. "type": "string"
  8612. },
  8613. "wskhinfo": {
  8614. "description": "开户申请信息(JSON)",
  8615. "type": "string"
  8616. }
  8617. }
  8618. },
  8619. "models.WRCategoryTree": {
  8620. "type": "object",
  8621. "required": [
  8622. "categoryid"
  8623. ],
  8624. "properties": {
  8625. "areauserid": {
  8626. "description": "所属机构",
  8627. "type": "integer"
  8628. },
  8629. "categorydesc": {
  8630. "description": "类别描述",
  8631. "type": "string"
  8632. },
  8633. "categoryid": {
  8634. "description": "类别ID(SEQ_WRCATEGORY)",
  8635. "type": "integer"
  8636. },
  8637. "categoryname": {
  8638. "description": "类别名称",
  8639. "type": "string"
  8640. },
  8641. "iconurl": {
  8642. "description": "图标地址",
  8643. "type": "string"
  8644. },
  8645. "orderindex": {
  8646. "description": "顺序",
  8647. "type": "integer"
  8648. },
  8649. "parentcategoryid": {
  8650. "description": "父类别ID",
  8651. "type": "integer"
  8652. },
  8653. "subCategory": {
  8654. "description": "子分类",
  8655. "type": "array",
  8656. "items": {
  8657. "$ref": "#/definitions/models.WRCategoryTree"
  8658. }
  8659. }
  8660. }
  8661. },
  8662. "models.WRStandardInfo": {
  8663. "type": "object",
  8664. "required": [
  8665. "wrstandardid"
  8666. ],
  8667. "properties": {
  8668. "createtime": {
  8669. "description": "创建时间",
  8670. "type": "string"
  8671. },
  8672. "creatorid": {
  8673. "description": "创建人",
  8674. "type": "integer"
  8675. },
  8676. "deliverygoodsid": {
  8677. "description": "品种ID",
  8678. "type": "integer"
  8679. },
  8680. "deliverygoodsname": {
  8681. "description": "交割商品名称",
  8682. "type": "string"
  8683. },
  8684. "factoryitemjson": {
  8685. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8686. "type": "string"
  8687. },
  8688. "isvalid": {
  8689. "description": "是否有效 - 0:无效 1:有效",
  8690. "type": "integer"
  8691. },
  8692. "minivalue": {
  8693. "description": "最小变动值",
  8694. "type": "integer"
  8695. },
  8696. "minivaluedp": {
  8697. "description": "最小变动值小数位",
  8698. "type": "integer"
  8699. },
  8700. "realminivalue": {
  8701. "description": "实际最小变动值",
  8702. "type": "integer"
  8703. },
  8704. "realminivaluedp": {
  8705. "description": "实际最小变动值小数位",
  8706. "type": "integer"
  8707. },
  8708. "unitid": {
  8709. "description": "单位ID",
  8710. "type": "integer"
  8711. },
  8712. "unitname": {
  8713. "description": "单位",
  8714. "type": "string"
  8715. },
  8716. "updatetime": {
  8717. "description": "更新时间",
  8718. "type": "string"
  8719. },
  8720. "updatorid": {
  8721. "description": "更新人",
  8722. "type": "integer"
  8723. },
  8724. "wrsstatus": {
  8725. "description": "状态 - 作废 - 0:未激活 1:正常",
  8726. "type": "integer"
  8727. },
  8728. "wrstandardcode": {
  8729. "description": "仓单标准代码",
  8730. "type": "string"
  8731. },
  8732. "wrstandardid": {
  8733. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8734. "type": "integer"
  8735. },
  8736. "wrstandardname": {
  8737. "description": "仓单标准名称",
  8738. "type": "string"
  8739. }
  8740. }
  8741. },
  8742. "models.Warehouseinfo": {
  8743. "type": "object",
  8744. "required": [
  8745. "autoid",
  8746. "warehousecode"
  8747. ],
  8748. "properties": {
  8749. "address": {
  8750. "description": "详细地址",
  8751. "type": "string"
  8752. },
  8753. "areauserid": {
  8754. "description": "所属机构",
  8755. "type": "integer"
  8756. },
  8757. "autoid": {
  8758. "description": "自增ID",
  8759. "type": "integer"
  8760. },
  8761. "cityid": {
  8762. "description": "市",
  8763. "type": "integer"
  8764. },
  8765. "contactname": {
  8766. "description": "联系人",
  8767. "type": "string"
  8768. },
  8769. "contactnum": {
  8770. "description": "联系电话",
  8771. "type": "string"
  8772. },
  8773. "countryid": {
  8774. "description": "国家",
  8775. "type": "integer"
  8776. },
  8777. "createtime": {
  8778. "description": "创建时间",
  8779. "type": "string"
  8780. },
  8781. "districtid": {
  8782. "description": "区",
  8783. "type": "integer"
  8784. },
  8785. "hasvideo": {
  8786. "description": "是否有视频 - 0:无 1:有",
  8787. "type": "integer"
  8788. },
  8789. "provinceid": {
  8790. "description": "省",
  8791. "type": "integer"
  8792. },
  8793. "remark": {
  8794. "description": "审核备注",
  8795. "type": "string"
  8796. },
  8797. "videourl": {
  8798. "description": "视频地址",
  8799. "type": "string"
  8800. },
  8801. "warehousecode": {
  8802. "description": "仓库代码",
  8803. "type": "string"
  8804. },
  8805. "warehousename": {
  8806. "description": "仓库名称",
  8807. "type": "string"
  8808. },
  8809. "warehousestatus": {
  8810. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8811. "type": "integer"
  8812. },
  8813. "warehousetype": {
  8814. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8815. "type": "integer"
  8816. }
  8817. }
  8818. },
  8819. "order.QueryHisTradeDetailRsp": {
  8820. "type": "object",
  8821. "required": [
  8822. "accountid",
  8823. "buyorsell",
  8824. "goodsid",
  8825. "histradedate",
  8826. "marketid",
  8827. "memberuserid",
  8828. "orderid",
  8829. "tradeamount",
  8830. "tradedate",
  8831. "tradeid",
  8832. "tradeprice",
  8833. "tradeqty",
  8834. "tradetime"
  8835. ],
  8836. "properties": {
  8837. "accountid": {
  8838. "description": "账户ID[报价币种]",
  8839. "type": "integer"
  8840. },
  8841. "buildtype": {
  8842. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8843. "type": "integer"
  8844. },
  8845. "buyorsell": {
  8846. "description": "方向 - 0:买 1:卖",
  8847. "type": "integer"
  8848. },
  8849. "charge": {
  8850. "description": "手续费",
  8851. "type": "number"
  8852. },
  8853. "closecharge": {
  8854. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8855. "type": "number"
  8856. },
  8857. "closeexchagechargevalue": {
  8858. "description": "平仓交易所手续费设置值",
  8859. "type": "number"
  8860. },
  8861. "closefeealgorithm": {
  8862. "description": "平仓手续费收取方式 1:比率 2:固定",
  8863. "type": "integer"
  8864. },
  8865. "closememberchargevalue": {
  8866. "description": "平仓会员手续费设置值",
  8867. "type": "number"
  8868. },
  8869. "closepl": {
  8870. "description": "平仓盈亏",
  8871. "type": "number"
  8872. },
  8873. "closepl2": {
  8874. "description": "平仓盈亏[逐笔]",
  8875. "type": "number"
  8876. },
  8877. "closeqty": {
  8878. "description": "平仓数量(先建后平操作 需要记录)",
  8879. "type": "integer"
  8880. },
  8881. "creditamount": {
  8882. "description": "授信金额",
  8883. "type": "number"
  8884. },
  8885. "gcaccountid": {
  8886. "description": "账户ID[合约币种]",
  8887. "type": "integer"
  8888. },
  8889. "goodscode": {
  8890. "description": "商品代码",
  8891. "type": "string"
  8892. },
  8893. "goodsid": {
  8894. "description": "商品ID",
  8895. "type": "integer"
  8896. },
  8897. "goodsname": {
  8898. "description": "商品名称",
  8899. "type": "string"
  8900. },
  8901. "histradedate": {
  8902. "description": "历史交易日",
  8903. "type": "string"
  8904. },
  8905. "intclosepl": {
  8906. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8907. "type": "integer"
  8908. },
  8909. "isconfirmexercise": {
  8910. "description": "是否确认行权- 0:否 1:是",
  8911. "type": "integer"
  8912. },
  8913. "ismain": {
  8914. "description": "是否主单 - 0:不是 1:是",
  8915. "type": "integer"
  8916. },
  8917. "ispreexercise": {
  8918. "description": "是否预申报- 0:否 1:是",
  8919. "type": "integer"
  8920. },
  8921. "isreckoned": {
  8922. "description": "是否结算 - 0:未结算 1:已结算",
  8923. "type": "integer"
  8924. },
  8925. "isvaliddata": {
  8926. "description": "是否有效 - 0:无效 1:有效",
  8927. "type": "integer"
  8928. },
  8929. "listingselecttype": {
  8930. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8931. "type": "integer"
  8932. },
  8933. "marketid": {
  8934. "description": "市场ID",
  8935. "type": "integer"
  8936. },
  8937. "marketname": {
  8938. "description": "市场名称",
  8939. "type": "string"
  8940. },
  8941. "matchaccountid": {
  8942. "description": "对手账号id",
  8943. "type": "integer"
  8944. },
  8945. "memberuserid": {
  8946. "description": "会员id 个人投资者 需要填写",
  8947. "type": "integer"
  8948. },
  8949. "opencharge": {
  8950. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8951. "type": "number"
  8952. },
  8953. "openexchagechargevalue": {
  8954. "description": "建仓交易所手续费设置值",
  8955. "type": "number"
  8956. },
  8957. "openfeealgorithm": {
  8958. "description": "建仓手续费收取方式 1:比率 2:固定",
  8959. "type": "integer"
  8960. },
  8961. "openmemberchargevalue": {
  8962. "description": "建仓会员手续费设置值",
  8963. "type": "number"
  8964. },
  8965. "openqty": {
  8966. "description": "开仓数量(先建后平操作 需要记录)",
  8967. "type": "integer"
  8968. },
  8969. "optiontype": {
  8970. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8971. "type": "integer"
  8972. },
  8973. "orderid": {
  8974. "description": "委托单号",
  8975. "type": "string"
  8976. },
  8977. "performanceplanid": {
  8978. "description": "履约计划ID[期权]",
  8979. "type": "integer"
  8980. },
  8981. "performancestatus": {
  8982. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8983. "type": "integer"
  8984. },
  8985. "preexerciseprice": {
  8986. "description": "预申报价格",
  8987. "type": "number"
  8988. },
  8989. "premium": {
  8990. "description": "权利金 - [持仓单的权利金]",
  8991. "type": "number"
  8992. },
  8993. "relatedouttradeid": {
  8994. "description": "关联外部成交单ID",
  8995. "type": "integer"
  8996. },
  8997. "status": {
  8998. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8999. "type": "integer"
  9000. },
  9001. "tradeamount": {
  9002. "description": "成交金额[账户币种,用于所有权]",
  9003. "type": "number"
  9004. },
  9005. "tradedate": {
  9006. "description": "交易日(yyyyMMdd)",
  9007. "type": "string"
  9008. },
  9009. "tradeid": {
  9010. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9011. "type": "string"
  9012. },
  9013. "trademode": {
  9014. "description": "交易模式",
  9015. "type": "integer"
  9016. },
  9017. "tradeprice": {
  9018. "description": "成交价格",
  9019. "type": "number"
  9020. },
  9021. "tradeproperty": {
  9022. "description": "交易属性",
  9023. "type": "integer"
  9024. },
  9025. "tradeqty": {
  9026. "description": "成交数量",
  9027. "type": "integer"
  9028. },
  9029. "tradetime": {
  9030. "description": "成交时间",
  9031. "type": "string"
  9032. },
  9033. "tradetype": {
  9034. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9035. "type": "integer"
  9036. }
  9037. }
  9038. },
  9039. "order.QueryHisTradeOrderDetailRsp": {
  9040. "type": "object",
  9041. "required": [
  9042. "accountid",
  9043. "buildtype",
  9044. "buyorsell",
  9045. "goodsid",
  9046. "histradedate",
  9047. "marketid",
  9048. "memberuserid",
  9049. "operatetype",
  9050. "orderid",
  9051. "orderqty",
  9052. "ordertime",
  9053. "pricemode",
  9054. "tradedate",
  9055. "validtype"
  9056. ],
  9057. "properties": {
  9058. "accountid": {
  9059. "description": "账户ID[报价币种]",
  9060. "type": "integer"
  9061. },
  9062. "buildtype": {
  9063. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9064. "type": "integer"
  9065. },
  9066. "buyorsell": {
  9067. "description": "买卖 - 0:买 1:卖",
  9068. "type": "integer"
  9069. },
  9070. "cancelorderid": {
  9071. "description": "撤单单号(撤单时填写)",
  9072. "type": "string"
  9073. },
  9074. "cancelqty": {
  9075. "description": "撤单数量",
  9076. "type": "integer"
  9077. },
  9078. "clientordertime": {
  9079. "description": "客户端委托时间",
  9080. "type": "string"
  9081. },
  9082. "clientticket": {
  9083. "description": "客户端流水号",
  9084. "type": "string"
  9085. },
  9086. "clienttype": {
  9087. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9088. "type": "integer"
  9089. },
  9090. "closeexchagechargevalue": {
  9091. "description": "平仓交易所手续费设置值",
  9092. "type": "number"
  9093. },
  9094. "closefeealgorithm": {
  9095. "description": "平仓手续费收取方式 1:比率 2:固定",
  9096. "type": "integer"
  9097. },
  9098. "closefreezecharge": {
  9099. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9100. "type": "number"
  9101. },
  9102. "closememberchargevalue": {
  9103. "description": "平仓会员手续费设置值",
  9104. "type": "number"
  9105. },
  9106. "closeqty": {
  9107. "description": "平仓数量(先建后平操作 需要记录)",
  9108. "type": "integer"
  9109. },
  9110. "closetradeqty": {
  9111. "description": "平仓成交数量(先建后平操作,需要记录)",
  9112. "type": "integer"
  9113. },
  9114. "closeunfreezecharge": {
  9115. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9116. "type": "number"
  9117. },
  9118. "delistingtype": {
  9119. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9120. "type": "integer"
  9121. },
  9122. "freezecharge": {
  9123. "description": "冻结手续费",
  9124. "type": "number"
  9125. },
  9126. "freezemargin": {
  9127. "description": "冻结保证金(冻结交易金额)",
  9128. "type": "number"
  9129. },
  9130. "gcaccountid": {
  9131. "description": "账户ID[合约币种]",
  9132. "type": "integer"
  9133. },
  9134. "goodscode": {
  9135. "description": "商品代码",
  9136. "type": "string"
  9137. },
  9138. "goodsid": {
  9139. "description": "商品ID",
  9140. "type": "integer"
  9141. },
  9142. "goodsname": {
  9143. "description": "商品名称",
  9144. "type": "string"
  9145. },
  9146. "histradedate": {
  9147. "description": "历史交易日",
  9148. "type": "string"
  9149. },
  9150. "isconfirmexercise": {
  9151. "description": "是否确认行权- 0:否 1:是",
  9152. "type": "integer"
  9153. },
  9154. "ispreexercise": {
  9155. "description": "是否预申报- 0:否 1:是",
  9156. "type": "integer"
  9157. },
  9158. "isvaliddata": {
  9159. "description": "是否有效 - 0:无效 1:有效",
  9160. "type": "integer"
  9161. },
  9162. "listingselecttype": {
  9163. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9164. "type": "integer"
  9165. },
  9166. "marginalgorithm": {
  9167. "description": "保证金收取方式 1:比率 2:固定",
  9168. "type": "integer"
  9169. },
  9170. "marginvalue": {
  9171. "description": "即市保证金设置值",
  9172. "type": "number"
  9173. },
  9174. "marketid": {
  9175. "description": "市场ID",
  9176. "type": "integer"
  9177. },
  9178. "marketmaxsub": {
  9179. "description": "市价最大偏移范围",
  9180. "type": "number"
  9181. },
  9182. "marketname": {
  9183. "description": "市场名称",
  9184. "type": "string"
  9185. },
  9186. "memberuserid": {
  9187. "description": "所属会员UserID",
  9188. "type": "integer"
  9189. },
  9190. "openexchagechargevalue": {
  9191. "description": "建仓交易所手续费设置值",
  9192. "type": "number"
  9193. },
  9194. "openfeealgorithm": {
  9195. "description": "建仓手续费收取方式 1:比率 2:固定",
  9196. "type": "integer"
  9197. },
  9198. "openfreezecharge": {
  9199. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9200. "type": "number"
  9201. },
  9202. "openmemberchargevalue": {
  9203. "description": "建仓会员手续费设置值",
  9204. "type": "number"
  9205. },
  9206. "openqty": {
  9207. "description": "开仓数量(先建后平操作,需要记录)",
  9208. "type": "integer"
  9209. },
  9210. "opentradeqty": {
  9211. "description": "开仓成交数量(先建后平操作,需要记录)",
  9212. "type": "integer"
  9213. },
  9214. "openunfreezecharge": {
  9215. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9216. "type": "number"
  9217. },
  9218. "operatetype": {
  9219. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9220. "type": "integer"
  9221. },
  9222. "operatorid": {
  9223. "description": "登录账号(LoginID)",
  9224. "type": "integer"
  9225. },
  9226. "optiontype": {
  9227. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9228. "type": "integer"
  9229. },
  9230. "orderid": {
  9231. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9232. "type": "string"
  9233. },
  9234. "orderprice": {
  9235. "description": "委托价格",
  9236. "type": "number"
  9237. },
  9238. "orderqty": {
  9239. "description": "委托数量",
  9240. "type": "integer"
  9241. },
  9242. "ordersrc": {
  9243. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9244. "type": "integer"
  9245. },
  9246. "orderstatus": {
  9247. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9248. "type": "integer"
  9249. },
  9250. "ordertime": {
  9251. "description": "委托时间",
  9252. "type": "string"
  9253. },
  9254. "preexerciseprice": {
  9255. "description": "预申报价格",
  9256. "type": "number"
  9257. },
  9258. "premium": {
  9259. "description": "权利金",
  9260. "type": "number"
  9261. },
  9262. "preorderid": {
  9263. "description": "关联预埋单号(止盈止损单时填写)",
  9264. "type": "string"
  9265. },
  9266. "pricemode": {
  9267. "description": "取价方式 - 1:市价 2: 限价",
  9268. "type": "integer"
  9269. },
  9270. "quoteid": {
  9271. "description": "报价单ID",
  9272. "type": "integer"
  9273. },
  9274. "relatedid": {
  9275. "description": "关联单号(交割单)",
  9276. "type": "string"
  9277. },
  9278. "retcode": {
  9279. "description": "错误代码",
  9280. "type": "integer"
  9281. },
  9282. "sessionid": {
  9283. "description": "会话ID",
  9284. "type": "integer"
  9285. },
  9286. "tradedate": {
  9287. "description": "交易日(yyyyMMdd)",
  9288. "type": "string"
  9289. },
  9290. "trademode": {
  9291. "description": "交易模式",
  9292. "type": "integer"
  9293. },
  9294. "tradeproperty": {
  9295. "description": "交易属性",
  9296. "type": "integer"
  9297. },
  9298. "tradeqty": {
  9299. "description": "成交数量",
  9300. "type": "integer"
  9301. },
  9302. "unfreezecharge": {
  9303. "description": "解冻手续费",
  9304. "type": "number"
  9305. },
  9306. "unfreezemargin": {
  9307. "description": "解冻保证金",
  9308. "type": "number"
  9309. },
  9310. "updatetime": {
  9311. "description": "更新时间",
  9312. "type": "string"
  9313. },
  9314. "uuid": {
  9315. "description": "发起端唯一id",
  9316. "type": "string"
  9317. },
  9318. "validtime": {
  9319. "description": "有效期限",
  9320. "type": "string"
  9321. },
  9322. "validtype": {
  9323. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9324. "type": "integer"
  9325. },
  9326. "volumetype": {
  9327. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9328. "type": "integer"
  9329. }
  9330. }
  9331. },
  9332. "order.QueryTradeDetailRsp": {
  9333. "type": "object",
  9334. "required": [
  9335. "accountid",
  9336. "buyorsell",
  9337. "goodsid",
  9338. "marketid",
  9339. "memberuserid",
  9340. "orderid",
  9341. "tradeamount",
  9342. "tradedate",
  9343. "tradeid",
  9344. "tradeprice",
  9345. "tradeqty",
  9346. "tradetime"
  9347. ],
  9348. "properties": {
  9349. "accountid": {
  9350. "description": "账户ID[报价币种]",
  9351. "type": "integer"
  9352. },
  9353. "buildtype": {
  9354. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9355. "type": "integer"
  9356. },
  9357. "buyorsell": {
  9358. "description": "方向 - 0:买 1:卖",
  9359. "type": "integer"
  9360. },
  9361. "charge": {
  9362. "description": "手续费",
  9363. "type": "number"
  9364. },
  9365. "closecharge": {
  9366. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9367. "type": "number"
  9368. },
  9369. "closeexchagechargevalue": {
  9370. "description": "平仓交易所手续费设置值",
  9371. "type": "number"
  9372. },
  9373. "closefeealgorithm": {
  9374. "description": "平仓手续费收取方式 1:比率 2:固定",
  9375. "type": "integer"
  9376. },
  9377. "closememberchargevalue": {
  9378. "description": "平仓会员手续费设置值",
  9379. "type": "number"
  9380. },
  9381. "closepl": {
  9382. "description": "平仓盈亏",
  9383. "type": "number"
  9384. },
  9385. "closepl2": {
  9386. "description": "平仓盈亏[逐笔]",
  9387. "type": "number"
  9388. },
  9389. "closeqty": {
  9390. "description": "平仓数量(先建后平操作 需要记录)",
  9391. "type": "integer"
  9392. },
  9393. "creditamount": {
  9394. "description": "授信金额",
  9395. "type": "number"
  9396. },
  9397. "gcaccountid": {
  9398. "description": "账户ID[合约币种]",
  9399. "type": "integer"
  9400. },
  9401. "goodscode": {
  9402. "description": "商品代码",
  9403. "type": "string"
  9404. },
  9405. "goodsid": {
  9406. "description": "商品ID",
  9407. "type": "integer"
  9408. },
  9409. "goodsname": {
  9410. "description": "商品名称",
  9411. "type": "string"
  9412. },
  9413. "intclosepl": {
  9414. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9415. "type": "integer"
  9416. },
  9417. "isconfirmexercise": {
  9418. "description": "是否确认行权- 0:否 1:是",
  9419. "type": "integer"
  9420. },
  9421. "ismain": {
  9422. "description": "是否主单 - 0:不是 1:是",
  9423. "type": "integer"
  9424. },
  9425. "ispreexercise": {
  9426. "description": "是否预申报- 0:否 1:是",
  9427. "type": "integer"
  9428. },
  9429. "isreckoned": {
  9430. "description": "是否结算 - 0:未结算 1:已结算",
  9431. "type": "integer"
  9432. },
  9433. "listingselecttype": {
  9434. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9435. "type": "integer"
  9436. },
  9437. "marketid": {
  9438. "description": "市场ID",
  9439. "type": "integer"
  9440. },
  9441. "marketname": {
  9442. "description": "市场名称",
  9443. "type": "string"
  9444. },
  9445. "matchaccountid": {
  9446. "description": "对手账号id",
  9447. "type": "integer"
  9448. },
  9449. "memberuserid": {
  9450. "description": "会员id 个人投资者 需要填写",
  9451. "type": "integer"
  9452. },
  9453. "opencharge": {
  9454. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9455. "type": "number"
  9456. },
  9457. "openexchagechargevalue": {
  9458. "description": "建仓交易所手续费设置值",
  9459. "type": "number"
  9460. },
  9461. "openfeealgorithm": {
  9462. "description": "建仓手续费收取方式 1:比率 2:固定",
  9463. "type": "integer"
  9464. },
  9465. "openmemberchargevalue": {
  9466. "description": "建仓会员手续费设置值",
  9467. "type": "number"
  9468. },
  9469. "openqty": {
  9470. "description": "开仓数量(先建后平操作 需要记录)",
  9471. "type": "integer"
  9472. },
  9473. "optiontype": {
  9474. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9475. "type": "integer"
  9476. },
  9477. "orderid": {
  9478. "description": "委托单号",
  9479. "type": "string"
  9480. },
  9481. "performanceplanid": {
  9482. "description": "履约计划ID[期权]",
  9483. "type": "integer"
  9484. },
  9485. "performancestatus": {
  9486. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9487. "type": "integer"
  9488. },
  9489. "preexerciseprice": {
  9490. "description": "预申报价格",
  9491. "type": "number"
  9492. },
  9493. "premium": {
  9494. "description": "权利金 - [持仓单的权利金]",
  9495. "type": "number"
  9496. },
  9497. "relatedouttradeid": {
  9498. "description": "关联外部成交单ID",
  9499. "type": "integer"
  9500. },
  9501. "status": {
  9502. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9503. "type": "integer"
  9504. },
  9505. "tradeamount": {
  9506. "description": "成交金额[账户币种,用于所有权]",
  9507. "type": "number"
  9508. },
  9509. "tradedate": {
  9510. "description": "交易日(yyyyMMdd)",
  9511. "type": "string"
  9512. },
  9513. "tradeid": {
  9514. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9515. "type": "string"
  9516. },
  9517. "trademode": {
  9518. "description": "交易模式",
  9519. "type": "integer"
  9520. },
  9521. "tradeprice": {
  9522. "description": "成交价格",
  9523. "type": "number"
  9524. },
  9525. "tradeproperty": {
  9526. "description": "交易属性",
  9527. "type": "integer"
  9528. },
  9529. "tradeqty": {
  9530. "description": "成交数量",
  9531. "type": "integer"
  9532. },
  9533. "tradetime": {
  9534. "description": "成交时间",
  9535. "type": "string"
  9536. },
  9537. "tradetype": {
  9538. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9539. "type": "integer"
  9540. }
  9541. }
  9542. },
  9543. "order.QueryTradeOrderDetailRsp": {
  9544. "type": "object",
  9545. "required": [
  9546. "accountid",
  9547. "buildtype",
  9548. "buyorsell",
  9549. "goodsid",
  9550. "marketid",
  9551. "operatetype",
  9552. "orderqty",
  9553. "ordertime",
  9554. "pricemode",
  9555. "tradedate",
  9556. "validtype"
  9557. ],
  9558. "properties": {
  9559. "accountid": {
  9560. "description": "账户ID[报价币种]",
  9561. "type": "integer"
  9562. },
  9563. "buildtype": {
  9564. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9565. "type": "integer"
  9566. },
  9567. "buyorsell": {
  9568. "description": "买卖 - 0:买 1:卖",
  9569. "type": "integer"
  9570. },
  9571. "cancelorderid": {
  9572. "description": "撤单单号(撤单时填写)",
  9573. "type": "string"
  9574. },
  9575. "cancelqty": {
  9576. "description": "撤单数量",
  9577. "type": "integer"
  9578. },
  9579. "clienttype": {
  9580. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9581. "type": "integer"
  9582. },
  9583. "closefreezecharge": {
  9584. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9585. "type": "number"
  9586. },
  9587. "closeqty": {
  9588. "description": "平仓数量(先建后平操作 需要记录)",
  9589. "type": "integer"
  9590. },
  9591. "closetradeqty": {
  9592. "description": "平仓成交数量(先建后平操作,需要记录)",
  9593. "type": "integer"
  9594. },
  9595. "closeunfreezecharge": {
  9596. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9597. "type": "number"
  9598. },
  9599. "delistingtype": {
  9600. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9601. "type": "integer"
  9602. },
  9603. "enableqty": {
  9604. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  9605. "type": "integer"
  9606. },
  9607. "freezecharge": {
  9608. "description": "冻结手续费",
  9609. "type": "number"
  9610. },
  9611. "freezemargin": {
  9612. "description": "冻结保证金(冻结交易金额)",
  9613. "type": "number"
  9614. },
  9615. "goodscode": {
  9616. "description": "商品代码",
  9617. "type": "string"
  9618. },
  9619. "goodsid": {
  9620. "description": "商品ID",
  9621. "type": "integer"
  9622. },
  9623. "goodsname": {
  9624. "description": "商品名称",
  9625. "type": "string"
  9626. },
  9627. "listingselecttype": {
  9628. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9629. "type": "integer"
  9630. },
  9631. "marketid": {
  9632. "description": "市场ID",
  9633. "type": "integer"
  9634. },
  9635. "marketname": {
  9636. "description": "市场名称",
  9637. "type": "string"
  9638. },
  9639. "openfreezecharge": {
  9640. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9641. "type": "number"
  9642. },
  9643. "openqty": {
  9644. "description": "开仓数量(先建后平操作,需要记录)",
  9645. "type": "integer"
  9646. },
  9647. "opentradeqty": {
  9648. "description": "开仓成交数量(先建后平操作,需要记录)",
  9649. "type": "integer"
  9650. },
  9651. "openunfreezecharge": {
  9652. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9653. "type": "number"
  9654. },
  9655. "operatetype": {
  9656. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9657. "type": "integer"
  9658. },
  9659. "operatorid": {
  9660. "description": "登录账号(LoginID)",
  9661. "type": "integer"
  9662. },
  9663. "orderid": {
  9664. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9665. "type": "string"
  9666. },
  9667. "orderprice": {
  9668. "description": "委托价格",
  9669. "type": "number"
  9670. },
  9671. "orderqty": {
  9672. "description": "委托数量",
  9673. "type": "integer"
  9674. },
  9675. "ordersrc": {
  9676. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9677. "type": "integer"
  9678. },
  9679. "orderstatus": {
  9680. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9681. "type": "integer"
  9682. },
  9683. "ordertime": {
  9684. "description": "委托时间",
  9685. "type": "string"
  9686. },
  9687. "preorderid": {
  9688. "description": "关联预埋单号(止盈止损单时填写)",
  9689. "type": "string"
  9690. },
  9691. "pricemode": {
  9692. "description": "取价方式 - 1:市价 2: 限价",
  9693. "type": "integer"
  9694. },
  9695. "relatedid": {
  9696. "description": "关联单号(交割单)",
  9697. "type": "string"
  9698. },
  9699. "tradedate": {
  9700. "description": "交易日(yyyyMMdd)",
  9701. "type": "string"
  9702. },
  9703. "trademode": {
  9704. "description": "交易模式",
  9705. "type": "integer"
  9706. },
  9707. "tradeqty": {
  9708. "description": "成交数量",
  9709. "type": "integer"
  9710. },
  9711. "unfreezecharge": {
  9712. "description": "解冻手续费",
  9713. "type": "number"
  9714. },
  9715. "unfreezemargin": {
  9716. "description": "解冻保证金",
  9717. "type": "number"
  9718. },
  9719. "validtime": {
  9720. "description": "有效期限",
  9721. "type": "string"
  9722. },
  9723. "validtype": {
  9724. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9725. "type": "integer"
  9726. },
  9727. "volumetype": {
  9728. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9729. "type": "integer"
  9730. }
  9731. }
  9732. },
  9733. "order.QueryTradePositionRsp": {
  9734. "type": "object",
  9735. "required": [
  9736. "goodsid"
  9737. ],
  9738. "properties": {
  9739. "accountid": {
  9740. "description": "资金账户",
  9741. "type": "integer"
  9742. },
  9743. "agreeunit": {
  9744. "description": "合约单位",
  9745. "type": "number"
  9746. },
  9747. "averageprice": {
  9748. "description": "持仓均价",
  9749. "type": "number"
  9750. },
  9751. "buyorsell": {
  9752. "description": "方向 - 0:买 1:卖",
  9753. "type": "integer"
  9754. },
  9755. "closetotalqty": {
  9756. "description": "平仓总数量",
  9757. "type": "integer"
  9758. },
  9759. "curholderamount": {
  9760. "description": "当前持仓总金额[商品币种]",
  9761. "type": "number"
  9762. },
  9763. "curpositionqty": {
  9764. "description": "当前持仓总数量",
  9765. "type": "integer"
  9766. },
  9767. "currencyid": {
  9768. "description": "报价货币ID",
  9769. "type": "integer"
  9770. },
  9771. "curtdposition": {
  9772. "description": "期末今日头寸",
  9773. "type": "integer"
  9774. },
  9775. "decimalplace": {
  9776. "description": "报价小数位",
  9777. "type": "integer"
  9778. },
  9779. "enableqty": {
  9780. "description": "可用量",
  9781. "type": "integer"
  9782. },
  9783. "fretdposition": {
  9784. "description": "冻结今日头寸",
  9785. "type": "integer"
  9786. },
  9787. "frozenqty": {
  9788. "description": "持仓冻结数量",
  9789. "type": "integer"
  9790. },
  9791. "goodscode": {
  9792. "description": "商品代码",
  9793. "type": "string"
  9794. },
  9795. "goodsid": {
  9796. "description": "商品Id",
  9797. "type": "integer"
  9798. },
  9799. "goodsname": {
  9800. "description": "商品名称",
  9801. "type": "string"
  9802. },
  9803. "goodunit": {
  9804. "description": "报价单位",
  9805. "type": "string"
  9806. },
  9807. "goodunitid": {
  9808. "description": "报价单位ID",
  9809. "type": "integer"
  9810. },
  9811. "holderamount": {
  9812. "description": "期初持仓总金额[商品币种]",
  9813. "type": "number"
  9814. },
  9815. "marketid": {
  9816. "description": "所属市场ID",
  9817. "type": "integer"
  9818. },
  9819. "openreqqty": {
  9820. "description": "开仓申请数量(用于比较最大持仓数量)",
  9821. "type": "integer"
  9822. },
  9823. "opentotalqty": {
  9824. "description": "开仓总数量",
  9825. "type": "integer"
  9826. },
  9827. "otherfrozenqty": {
  9828. "description": "持仓其他冻结数量(交割冻结)",
  9829. "type": "integer"
  9830. },
  9831. "positionqty": {
  9832. "description": "期初持仓数量",
  9833. "type": "integer"
  9834. },
  9835. "tnqty": {
  9836. "description": "T+N冻结总量",
  9837. "type": "integer"
  9838. },
  9839. "tnusedqty": {
  9840. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9841. "type": "integer"
  9842. },
  9843. "trademode": {
  9844. "description": "交易模式",
  9845. "type": "integer"
  9846. },
  9847. "usedmargin": {
  9848. "description": "占用保证金[商品币种]",
  9849. "type": "number"
  9850. }
  9851. }
  9852. },
  9853. "quote.HistoryData": {
  9854. "type": "object",
  9855. "properties": {
  9856. "c": {
  9857. "description": "收盘价",
  9858. "type": "number"
  9859. },
  9860. "h": {
  9861. "description": "最高价",
  9862. "type": "number"
  9863. },
  9864. "hv": {
  9865. "description": "持仓量",
  9866. "type": "integer"
  9867. },
  9868. "l": {
  9869. "description": "最低价",
  9870. "type": "number"
  9871. },
  9872. "o": {
  9873. "description": "开盘价",
  9874. "type": "number"
  9875. },
  9876. "s": {
  9877. "description": "结算价,日线周期(包括)以上才有",
  9878. "type": "number"
  9879. },
  9880. "ts": {
  9881. "description": "时间",
  9882. "type": "string"
  9883. },
  9884. "tt": {
  9885. "description": "总金额",
  9886. "type": "number"
  9887. },
  9888. "tv": {
  9889. "description": "总量",
  9890. "type": "integer"
  9891. }
  9892. }
  9893. },
  9894. "quote.QueryTSDataRsp": {
  9895. "type": "object",
  9896. "properties": {
  9897. "decimalPlace": {
  9898. "description": "小数位",
  9899. "type": "integer"
  9900. },
  9901. "endTime": {
  9902. "description": "结束时间",
  9903. "type": "string"
  9904. },
  9905. "goodsCode": {
  9906. "description": "商品代码",
  9907. "type": "string"
  9908. },
  9909. "historyDatas": {
  9910. "description": "历史数据",
  9911. "type": "array",
  9912. "items": {
  9913. "$ref": "#/definitions/quote.HistoryData"
  9914. }
  9915. },
  9916. "preSettle": {
  9917. "description": "昨结",
  9918. "type": "number"
  9919. },
  9920. "startTime": {
  9921. "description": "开始时间",
  9922. "type": "string"
  9923. },
  9924. "tradeDate": {
  9925. "description": "交易日",
  9926. "type": "string"
  9927. }
  9928. }
  9929. },
  9930. "szdz.QueryConvertLogRsp": {
  9931. "type": "object",
  9932. "required": [
  9933. "logid"
  9934. ],
  9935. "properties": {
  9936. "accountid": {
  9937. "description": "资金账户ID",
  9938. "type": "integer"
  9939. },
  9940. "clientticket": {
  9941. "description": "客户端流水号",
  9942. "type": "string"
  9943. },
  9944. "converttype": {
  9945. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9946. "type": "integer"
  9947. },
  9948. "createtime": {
  9949. "description": "记账时间",
  9950. "type": "string"
  9951. },
  9952. "daymaxvalue": {
  9953. "description": "配置当日最大转入限制",
  9954. "type": "number"
  9955. },
  9956. "daymaxvalue2": {
  9957. "description": "配置当日最大转入限制(转入)",
  9958. "type": "number"
  9959. },
  9960. "goodscode": {
  9961. "description": "商品代码",
  9962. "type": "string"
  9963. },
  9964. "goodsname": {
  9965. "description": "商品名称",
  9966. "type": "string"
  9967. },
  9968. "handlestatus": {
  9969. "description": "处理状态",
  9970. "type": "integer"
  9971. },
  9972. "innergoodsid": {
  9973. "description": "内部商品ID",
  9974. "type": "integer"
  9975. },
  9976. "inratio": {
  9977. "description": "配置转入比值",
  9978. "type": "integer"
  9979. },
  9980. "invalue": {
  9981. "description": "目标值",
  9982. "type": "number"
  9983. },
  9984. "logid": {
  9985. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9986. "type": "integer"
  9987. },
  9988. "mobile": {
  9989. "description": "手机号码(加密存储)",
  9990. "type": "string"
  9991. },
  9992. "outergoodscode": {
  9993. "description": "外部商品代码[JD\\PD]",
  9994. "type": "string"
  9995. },
  9996. "outratio": {
  9997. "description": "配置转出比值",
  9998. "type": "integer"
  9999. },
  10000. "outvalue": {
  10001. "description": "源值",
  10002. "type": "number"
  10003. },
  10004. "pddecimalplace": {
  10005. "description": "PD小数位",
  10006. "type": "integer"
  10007. },
  10008. "qty": {
  10009. "description": "数量",
  10010. "type": "string"
  10011. },
  10012. "remark": {
  10013. "description": "备注",
  10014. "type": "string"
  10015. },
  10016. "sessionid": {
  10017. "description": "会话ID",
  10018. "type": "integer"
  10019. },
  10020. "timemaxvalue": {
  10021. "description": "配置单次最大转入限制",
  10022. "type": "number"
  10023. },
  10024. "timemaxvalue2": {
  10025. "description": "配置单次最大转入限制(转入)",
  10026. "type": "number"
  10027. },
  10028. "timeminvalue": {
  10029. "description": "配置单次最小数量限制",
  10030. "type": "number"
  10031. },
  10032. "timeminvalue2": {
  10033. "description": "配置单次最小数量限制(转入)",
  10034. "type": "number"
  10035. },
  10036. "tradedate": {
  10037. "description": "交易日(yyyyMMdd)",
  10038. "type": "string"
  10039. },
  10040. "userid": {
  10041. "description": "用户ID",
  10042. "type": "integer"
  10043. }
  10044. }
  10045. },
  10046. "szdz.QueryGoodsPickupRsp": {
  10047. "type": "object",
  10048. "required": [
  10049. "takeorderid"
  10050. ],
  10051. "properties": {
  10052. "accountid": {
  10053. "description": "账户ID",
  10054. "type": "integer"
  10055. },
  10056. "address": {
  10057. "description": "提货人详细地址",
  10058. "type": "string"
  10059. },
  10060. "auditer": {
  10061. "description": "审核人",
  10062. "type": "integer"
  10063. },
  10064. "audittime": {
  10065. "description": "审核时间",
  10066. "type": "string"
  10067. },
  10068. "cardnum": {
  10069. "description": "提货人证件号码",
  10070. "type": "string"
  10071. },
  10072. "cardtypeid": {
  10073. "description": "提货人证件类型",
  10074. "type": "integer"
  10075. },
  10076. "checkremark": {
  10077. "description": "审核备注",
  10078. "type": "string"
  10079. },
  10080. "goodscode": {
  10081. "description": "商品代码",
  10082. "type": "string"
  10083. },
  10084. "goodsid": {
  10085. "description": "商品ID",
  10086. "type": "integer"
  10087. },
  10088. "goodsname": {
  10089. "description": "商品名称",
  10090. "type": "string"
  10091. },
  10092. "handlestatus": {
  10093. "description": "处理状态",
  10094. "type": "integer"
  10095. },
  10096. "marketid": {
  10097. "description": "市场ID",
  10098. "type": "integer"
  10099. },
  10100. "phonenum": {
  10101. "description": "提货人联系方式",
  10102. "type": "string"
  10103. },
  10104. "qty": {
  10105. "description": "提货数量",
  10106. "type": "number"
  10107. },
  10108. "recivername": {
  10109. "description": "提货人姓名",
  10110. "type": "string"
  10111. },
  10112. "reqtime": {
  10113. "description": "更新时间",
  10114. "type": "string"
  10115. },
  10116. "takemode": {
  10117. "description": "提货方式 - 2:自提 3:配送",
  10118. "type": "integer"
  10119. },
  10120. "takeorderid": {
  10121. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10122. "type": "string"
  10123. },
  10124. "takeorderstatus": {
  10125. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10126. "type": "integer"
  10127. },
  10128. "takeremark": {
  10129. "description": "提货备注",
  10130. "type": "string"
  10131. },
  10132. "tradedate": {
  10133. "description": "交易日(yyyyMMdd)",
  10134. "type": "string"
  10135. },
  10136. "userid": {
  10137. "description": "用户ID",
  10138. "type": "integer"
  10139. }
  10140. }
  10141. },
  10142. "szdz.QueryRecieptOrderRsp": {
  10143. "type": "object",
  10144. "required": [
  10145. "ordertime"
  10146. ],
  10147. "properties": {
  10148. "accountName": {
  10149. "description": "所属账号名称(已脱敏)",
  10150. "type": "string"
  10151. },
  10152. "accountid": {
  10153. "description": "资金账号",
  10154. "type": "integer"
  10155. },
  10156. "buyorsell": {
  10157. "description": "方向 - 0:买 1:卖",
  10158. "type": "integer"
  10159. },
  10160. "enableqty": {
  10161. "description": "可摘数量",
  10162. "type": "integer"
  10163. },
  10164. "goodscode": {
  10165. "description": "商品代码",
  10166. "type": "string"
  10167. },
  10168. "goodsid": {
  10169. "description": "商品ID",
  10170. "type": "integer"
  10171. },
  10172. "goodsname": {
  10173. "description": "商品名称",
  10174. "type": "string"
  10175. },
  10176. "orderid": {
  10177. "description": "委托单号",
  10178. "type": "string"
  10179. },
  10180. "orderprice": {
  10181. "description": "委托价格",
  10182. "type": "number"
  10183. },
  10184. "ordertime": {
  10185. "description": "委托时间",
  10186. "type": "string"
  10187. },
  10188. "tradedate": {
  10189. "description": "交易日(yyyyMMdd)",
  10190. "type": "string"
  10191. }
  10192. }
  10193. },
  10194. "szdz.QuerySZDZTradePositionRsp": {
  10195. "type": "object",
  10196. "properties": {
  10197. "accountid": {
  10198. "description": "账号Id",
  10199. "type": "integer"
  10200. },
  10201. "agreeunit": {
  10202. "description": "合约单位",
  10203. "type": "number"
  10204. },
  10205. "averageprice": {
  10206. "description": "持仓均价",
  10207. "type": "number"
  10208. },
  10209. "buyorsell": {
  10210. "description": "方向 - 0:买 1:卖",
  10211. "type": "integer"
  10212. },
  10213. "closetotalqty": {
  10214. "description": "平仓总数量",
  10215. "type": "integer"
  10216. },
  10217. "curholderamount": {
  10218. "description": "当前持仓总金额",
  10219. "type": "number"
  10220. },
  10221. "curpositionqty": {
  10222. "description": "当前持仓总数量",
  10223. "type": "integer"
  10224. },
  10225. "currencyid": {
  10226. "description": "报价货币ID",
  10227. "type": "integer"
  10228. },
  10229. "curtdposition": {
  10230. "description": "期末今日头寸",
  10231. "type": "integer"
  10232. },
  10233. "decimalplace": {
  10234. "description": "报价小数位",
  10235. "type": "integer"
  10236. },
  10237. "enableqty": {
  10238. "description": "可用量",
  10239. "type": "integer"
  10240. },
  10241. "fretdposition": {
  10242. "description": "冻结今日头寸",
  10243. "type": "integer"
  10244. },
  10245. "frozenqty": {
  10246. "description": "持仓冻结数量",
  10247. "type": "integer"
  10248. },
  10249. "goodscode": {
  10250. "description": "商品代码(内部)",
  10251. "type": "string"
  10252. },
  10253. "goodsid": {
  10254. "description": "商品Id",
  10255. "type": "integer"
  10256. },
  10257. "goodsname": {
  10258. "description": "商品名称",
  10259. "type": "string"
  10260. },
  10261. "goodunit": {
  10262. "description": "报价单位",
  10263. "type": "string"
  10264. },
  10265. "goodunitid": {
  10266. "description": "报价单位ID",
  10267. "type": "integer"
  10268. },
  10269. "holderamount": {
  10270. "description": "期初持仓总金额",
  10271. "type": "number"
  10272. },
  10273. "marketid": {
  10274. "description": "市场ID",
  10275. "type": "integer"
  10276. },
  10277. "openreqqty": {
  10278. "description": "开仓申请数量",
  10279. "type": "integer"
  10280. },
  10281. "opentotalqty": {
  10282. "description": "开仓总数量",
  10283. "type": "integer"
  10284. },
  10285. "otherfrozenqty": {
  10286. "description": "持仓其他冻结数量(交割冻结)",
  10287. "type": "integer"
  10288. },
  10289. "positionqty": {
  10290. "description": "期初持仓数量",
  10291. "type": "integer"
  10292. },
  10293. "szdz3freezqty": {
  10294. "description": "尚志大宗转换冻结总数量",
  10295. "type": "integer"
  10296. },
  10297. "tnqty": {
  10298. "description": "T+N冻结总量",
  10299. "type": "integer"
  10300. },
  10301. "tnusedqty": {
  10302. "description": "T+N使用量",
  10303. "type": "integer"
  10304. },
  10305. "trademode": {
  10306. "description": "交易模式",
  10307. "type": "integer"
  10308. },
  10309. "usedmargin": {
  10310. "description": "占用保证金",
  10311. "type": "number"
  10312. }
  10313. }
  10314. },
  10315. "taaccount.QueryAmountLogRsp": {
  10316. "type": "object",
  10317. "required": [
  10318. "accountid",
  10319. "amount",
  10320. "amountadjusttype",
  10321. "autoid",
  10322. "balance",
  10323. "createtime",
  10324. "currentbalance",
  10325. "operatetype"
  10326. ],
  10327. "properties": {
  10328. "OPERATETYPENAME": {
  10329. "description": "资金操作类型名称",
  10330. "type": "string"
  10331. },
  10332. "accountid": {
  10333. "description": "资金账户ID",
  10334. "type": "integer"
  10335. },
  10336. "agoodscode": {
  10337. "description": "竞拍商品代码",
  10338. "type": "string"
  10339. },
  10340. "agoodsname": {
  10341. "description": "竞拍商品名称",
  10342. "type": "string"
  10343. },
  10344. "amount": {
  10345. "description": "资金金额",
  10346. "type": "number"
  10347. },
  10348. "amountadjusttype": {
  10349. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10350. "type": "integer"
  10351. },
  10352. "autoid": {
  10353. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10354. "type": "integer"
  10355. },
  10356. "balance": {
  10357. "description": "期初余额",
  10358. "type": "number"
  10359. },
  10360. "businesscode": {
  10361. "description": "业务编号",
  10362. "type": "integer"
  10363. },
  10364. "createtime": {
  10365. "description": "发生时间",
  10366. "type": "string"
  10367. },
  10368. "currencyid": {
  10369. "description": "币种ID",
  10370. "type": "integer"
  10371. },
  10372. "currentbalance": {
  10373. "description": "期末余额(变动后金额)",
  10374. "type": "number"
  10375. },
  10376. "dgoodscode": {
  10377. "description": "交割商品代码",
  10378. "type": "string"
  10379. },
  10380. "dgoodsname": {
  10381. "description": "交割商品名称",
  10382. "type": "string"
  10383. },
  10384. "goodscode": {
  10385. "description": "商品代码",
  10386. "type": "string"
  10387. },
  10388. "goodsid": {
  10389. "description": "商品ID",
  10390. "type": "integer"
  10391. },
  10392. "goodsname": {
  10393. "description": "商品名称",
  10394. "type": "string"
  10395. },
  10396. "marketid": {
  10397. "description": "市场ID",
  10398. "type": "integer"
  10399. },
  10400. "marketname": {
  10401. "description": "市场名称",
  10402. "type": "string"
  10403. },
  10404. "moneyticket": {
  10405. "description": "资金流水号:银行端流水号",
  10406. "type": "integer"
  10407. },
  10408. "operatetype": {
  10409. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  10410. "type": "integer"
  10411. },
  10412. "relationorderid": {
  10413. "description": "关联单号",
  10414. "type": "string"
  10415. },
  10416. "remark": {
  10417. "description": "备注",
  10418. "type": "string"
  10419. },
  10420. "trademode": {
  10421. "description": "交易模式",
  10422. "type": "integer"
  10423. }
  10424. }
  10425. },
  10426. "taaccount.QueryHisAmountLogRsp": {
  10427. "type": "object",
  10428. "required": [
  10429. "accountid",
  10430. "amount",
  10431. "amountadjusttype",
  10432. "autoid",
  10433. "balance",
  10434. "createtime",
  10435. "currentbalance",
  10436. "histradedate",
  10437. "operatetype"
  10438. ],
  10439. "properties": {
  10440. "OPERATETYPENAME": {
  10441. "description": "资金操作类型名称",
  10442. "type": "string"
  10443. },
  10444. "accountid": {
  10445. "description": "资金账户ID",
  10446. "type": "integer"
  10447. },
  10448. "agoodscode": {
  10449. "description": "竞拍商品代码",
  10450. "type": "string"
  10451. },
  10452. "agoodsname": {
  10453. "description": "竞拍商品名称",
  10454. "type": "string"
  10455. },
  10456. "amount": {
  10457. "description": "资金金额",
  10458. "type": "number"
  10459. },
  10460. "amountadjusttype": {
  10461. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10462. "type": "integer"
  10463. },
  10464. "autoid": {
  10465. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10466. "type": "integer"
  10467. },
  10468. "balance": {
  10469. "description": "期初余额",
  10470. "type": "number"
  10471. },
  10472. "businesscode": {
  10473. "description": "业务编号",
  10474. "type": "integer"
  10475. },
  10476. "createtime": {
  10477. "description": "发生时间",
  10478. "type": "string"
  10479. },
  10480. "currencyid": {
  10481. "description": "币种ID",
  10482. "type": "integer"
  10483. },
  10484. "currentbalance": {
  10485. "description": "期末余额(变动后金额)",
  10486. "type": "number"
  10487. },
  10488. "dgoodscode": {
  10489. "description": "交割商品代码",
  10490. "type": "string"
  10491. },
  10492. "dgoodsname": {
  10493. "description": "交割商品名称",
  10494. "type": "string"
  10495. },
  10496. "goodscode": {
  10497. "description": "商品代码",
  10498. "type": "string"
  10499. },
  10500. "goodsid": {
  10501. "description": "商品ID",
  10502. "type": "integer"
  10503. },
  10504. "goodsname": {
  10505. "description": "商品名称",
  10506. "type": "string"
  10507. },
  10508. "histradedate": {
  10509. "description": "历史交易日",
  10510. "type": "string"
  10511. },
  10512. "isvaliddata": {
  10513. "description": "是否有效 - 0:无效 1:有效",
  10514. "type": "integer"
  10515. },
  10516. "marketid": {
  10517. "description": "市场ID",
  10518. "type": "integer"
  10519. },
  10520. "marketname": {
  10521. "description": "市场名称",
  10522. "type": "string"
  10523. },
  10524. "moneyticket": {
  10525. "description": "资金流水号:银行端流水号",
  10526. "type": "integer"
  10527. },
  10528. "operatetype": {
  10529. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  10530. "type": "integer"
  10531. },
  10532. "relationorderid": {
  10533. "description": "关联单号",
  10534. "type": "string"
  10535. },
  10536. "remark": {
  10537. "description": "备注",
  10538. "type": "string"
  10539. },
  10540. "trademode": {
  10541. "description": "交易模式",
  10542. "type": "integer"
  10543. }
  10544. }
  10545. },
  10546. "trade.QueryRecieptOrderRsp": {
  10547. "type": "object",
  10548. "required": [
  10549. "ordertime"
  10550. ],
  10551. "properties": {
  10552. "accountName": {
  10553. "description": "所属账号名称(已脱敏)",
  10554. "type": "string"
  10555. },
  10556. "accountid": {
  10557. "description": "资金账号",
  10558. "type": "integer"
  10559. },
  10560. "buyorsell": {
  10561. "description": "方向 - 0:买 1:卖",
  10562. "type": "integer"
  10563. },
  10564. "enableqty": {
  10565. "description": "可摘数量",
  10566. "type": "integer"
  10567. },
  10568. "goodscode": {
  10569. "description": "商品代码",
  10570. "type": "string"
  10571. },
  10572. "goodsid": {
  10573. "description": "商品ID",
  10574. "type": "integer"
  10575. },
  10576. "goodsname": {
  10577. "description": "商品名称",
  10578. "type": "string"
  10579. },
  10580. "orderid": {
  10581. "description": "委托单号",
  10582. "type": "string"
  10583. },
  10584. "orderprice": {
  10585. "description": "委托价格",
  10586. "type": "number"
  10587. },
  10588. "ordertime": {
  10589. "description": "委托时间",
  10590. "type": "string"
  10591. },
  10592. "tradedate": {
  10593. "description": "交易日(yyyyMMdd)",
  10594. "type": "string"
  10595. }
  10596. }
  10597. }
  10598. },
  10599. "securityDefinitions": {
  10600. "ApiKeyAuth": {
  10601. "type": "apiKey",
  10602. "name": "Authorization",
  10603. "in": "header"
  10604. }
  10605. }
  10606. }