swagger.json 527 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "responses": {
  366. "200": {
  367. "description": "OK",
  368. "schema": {
  369. "$ref": "#/definitions/models.Enumdicitem"
  370. }
  371. },
  372. "500": {
  373. "description": "Internal Server Error",
  374. "schema": {
  375. "$ref": "#/definitions/app.Response"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "/Common/GetServerTime": {
  382. "get": {
  383. "produces": [
  384. "application/json"
  385. ],
  386. "tags": [
  387. "通用服务"
  388. ],
  389. "summary": "获取服务器时间",
  390. "responses": {
  391. "200": {
  392. "description": "OK",
  393. "schema": {
  394. "$ref": "#/definitions/app.Response"
  395. }
  396. },
  397. "500": {
  398. "description": "Internal Server Error",
  399. "schema": {
  400. "$ref": "#/definitions/app.Response"
  401. }
  402. }
  403. }
  404. }
  405. },
  406. "/Common/NoticeReaded": {
  407. "post": {
  408. "security": [
  409. {
  410. "ApiKeyAuth": []
  411. }
  412. ],
  413. "produces": [
  414. "application/json"
  415. ],
  416. "tags": [
  417. "通用服务"
  418. ],
  419. "summary": "通知公告设置已读请求",
  420. "parameters": [
  421. {
  422. "type": "integer",
  423. "description": "登录账号",
  424. "name": "loginID",
  425. "in": "query",
  426. "required": true
  427. },
  428. {
  429. "type": "integer",
  430. "description": "通知公告ID",
  431. "name": "noticeID",
  432. "in": "query",
  433. "required": true
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/QueryImageConfigs": {
  453. "get": {
  454. "produces": [
  455. "application/json"
  456. ],
  457. "tags": [
  458. "通用服务"
  459. ],
  460. "summary": "查询轮播图配置信息",
  461. "parameters": [
  462. {
  463. "type": "integer",
  464. "description": "类型 - 1:App首页轮播 2:我的",
  465. "name": "imageType",
  466. "in": "query"
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/models.Szdz2imageconfig"
  474. }
  475. },
  476. "500": {
  477. "description": "Internal Server Error",
  478. "schema": {
  479. "$ref": "#/definitions/app.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/Common/QueryNotice": {
  486. "get": {
  487. "security": [
  488. {
  489. "ApiKeyAuth": []
  490. }
  491. ],
  492. "produces": [
  493. "application/json"
  494. ],
  495. "tags": [
  496. "通用服务"
  497. ],
  498. "summary": "通知公告系统消息查询",
  499. "parameters": [
  500. {
  501. "type": "integer",
  502. "description": "页码",
  503. "name": "page",
  504. "in": "query"
  505. },
  506. {
  507. "type": "integer",
  508. "description": "每页条数",
  509. "name": "pagesize",
  510. "in": "query"
  511. },
  512. {
  513. "type": "integer",
  514. "description": "登录账号",
  515. "name": "loginID",
  516. "in": "query",
  517. "required": true
  518. },
  519. {
  520. "type": "integer",
  521. "description": "消息类型 - 1:公告通知 2:系统消息",
  522. "name": "msgType",
  523. "in": "query"
  524. },
  525. {
  526. "type": "boolean",
  527. "description": "是否只获取未读信息",
  528. "name": "onlyUnRead",
  529. "in": "query"
  530. }
  531. ],
  532. "responses": {
  533. "200": {
  534. "description": "OK",
  535. "schema": {
  536. "$ref": "#/definitions/common.QueryNoticeRsp"
  537. }
  538. },
  539. "500": {
  540. "description": "Internal Server Error",
  541. "schema": {
  542. "$ref": "#/definitions/app.Response"
  543. }
  544. }
  545. }
  546. }
  547. },
  548. "/Common/QueryProvincesAndCities": {
  549. "get": {
  550. "produces": [
  551. "application/json"
  552. ],
  553. "tags": [
  554. "通用服务"
  555. ],
  556. "summary": "查询省市信息(不包括区)",
  557. "parameters": [
  558. {
  559. "type": "integer",
  560. "description": "省ID",
  561. "name": "provinceID",
  562. "in": "query"
  563. }
  564. ],
  565. "responses": {
  566. "200": {
  567. "description": "OK",
  568. "schema": {
  569. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  570. }
  571. },
  572. "500": {
  573. "description": "Internal Server Error",
  574. "schema": {
  575. "$ref": "#/definitions/app.Response"
  576. }
  577. }
  578. }
  579. }
  580. },
  581. "/Common/QueryTableDefine": {
  582. "get": {
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "通用服务"
  588. ],
  589. "summary": "查询交易端列表头信息",
  590. "parameters": [
  591. {
  592. "type": "string",
  593. "description": "表key",
  594. "name": "tableKey",
  595. "in": "query"
  596. },
  597. {
  598. "type": "integer",
  599. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  600. "name": "tableType",
  601. "in": "query"
  602. }
  603. ],
  604. "responses": {
  605. "200": {
  606. "description": "OK",
  607. "schema": {
  608. "$ref": "#/definitions/common.QueryTableDefineRsp"
  609. }
  610. },
  611. "500": {
  612. "description": "Internal Server Error",
  613. "schema": {
  614. "$ref": "#/definitions/app.Response"
  615. }
  616. }
  617. }
  618. }
  619. },
  620. "/Common/QueryTraderMenu": {
  621. "get": {
  622. "produces": [
  623. "application/json"
  624. ],
  625. "tags": [
  626. "通用服务"
  627. ],
  628. "summary": "查询交易端菜单",
  629. "parameters": [
  630. {
  631. "type": "integer",
  632. "description": "登录账号",
  633. "name": "loginid",
  634. "in": "query",
  635. "required": true
  636. }
  637. ],
  638. "responses": {
  639. "200": {
  640. "description": "OK",
  641. "schema": {
  642. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  643. }
  644. },
  645. "500": {
  646. "description": "Internal Server Error",
  647. "schema": {
  648. "$ref": "#/definitions/app.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/Delivery/QueryDeliveryRelation": {
  655. "get": {
  656. "security": [
  657. {
  658. "ApiKeyAuth": []
  659. }
  660. ],
  661. "produces": [
  662. "application/json"
  663. ],
  664. "tags": [
  665. "交割服务"
  666. ],
  667. "summary": "查询商品交割关系表",
  668. "parameters": [
  669. {
  670. "type": "integer",
  671. "description": "商品ID",
  672. "name": "goodsid",
  673. "in": "query"
  674. },
  675. {
  676. "type": "integer",
  677. "description": "品种ID",
  678. "name": "deliverygoodsid",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "市场ID",
  684. "name": "marketid",
  685. "in": "query"
  686. }
  687. ],
  688. "responses": {
  689. "200": {
  690. "description": "OK",
  691. "schema": {
  692. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  693. }
  694. },
  695. "500": {
  696. "description": "Internal Server Error",
  697. "schema": {
  698. "$ref": "#/definitions/app.Response"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "/Ermcp/QueryAvaildGoodsGroup": {
  705. "get": {
  706. "security": [
  707. {
  708. "ApiKeyAuth": []
  709. }
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "企业风险管理(app)"
  716. ],
  717. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  718. "parameters": [
  719. {
  720. "type": "integer",
  721. "description": "所属机构ID",
  722. "name": "userid",
  723. "in": "query",
  724. "required": true
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "type": "array",
  732. "items": {
  733. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  734. }
  735. }
  736. },
  737. "500": {
  738. "description": "Internal Server Error",
  739. "schema": {
  740. "$ref": "#/definitions/app.Response"
  741. }
  742. }
  743. }
  744. }
  745. },
  746. "/Ermcp/QueryBusinessDj": {
  747. "get": {
  748. "security": [
  749. {
  750. "ApiKeyAuth": []
  751. }
  752. ],
  753. "produces": [
  754. "application/json"
  755. ],
  756. "tags": [
  757. "企业风险管理(app)"
  758. ],
  759. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  760. "parameters": [
  761. {
  762. "type": "integer",
  763. "description": "用户ID",
  764. "name": "UserId",
  765. "in": "query",
  766. "required": true
  767. },
  768. {
  769. "type": "string",
  770. "description": "现货合同ID, 不填则查所有",
  771. "name": "relatedid",
  772. "in": "query"
  773. }
  774. ],
  775. "responses": {
  776. "200": {
  777. "description": "OK",
  778. "schema": {
  779. "type": "array",
  780. "items": {
  781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  782. }
  783. }
  784. },
  785. "500": {
  786. "description": "Internal Server Error",
  787. "schema": {
  788. "$ref": "#/definitions/app.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/Ermcp/QueryBusinessFp": {
  795. "get": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "企业风险管理(app)"
  806. ],
  807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  808. "parameters": [
  809. {
  810. "type": "integer",
  811. "description": "用户ID",
  812. "name": "UserId",
  813. "in": "query",
  814. "required": true
  815. },
  816. {
  817. "type": "string",
  818. "description": "现货合同ID, 不填则查所有",
  819. "name": "relatedid",
  820. "in": "query"
  821. }
  822. ],
  823. "responses": {
  824. "200": {
  825. "description": "OK",
  826. "schema": {
  827. "type": "array",
  828. "items": {
  829. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  830. }
  831. }
  832. },
  833. "500": {
  834. "description": "Internal Server Error",
  835. "schema": {
  836. "$ref": "#/definitions/app.Response"
  837. }
  838. }
  839. }
  840. }
  841. },
  842. "/Ermcp/QueryBusinessJs": {
  843. "get": {
  844. "security": [
  845. {
  846. "ApiKeyAuth": []
  847. }
  848. ],
  849. "produces": [
  850. "application/json"
  851. ],
  852. "tags": [
  853. "企业风险管理(app)"
  854. ],
  855. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  856. "parameters": [
  857. {
  858. "type": "integer",
  859. "description": "用户ID",
  860. "name": "UserId",
  861. "in": "query",
  862. "required": true
  863. },
  864. {
  865. "type": "string",
  866. "description": "现货合同ID, 不填则查所有",
  867. "name": "relatedid",
  868. "in": "query"
  869. }
  870. ],
  871. "responses": {
  872. "200": {
  873. "description": "OK",
  874. "schema": {
  875. "type": "array",
  876. "items": {
  877. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  878. }
  879. }
  880. },
  881. "500": {
  882. "description": "Internal Server Error",
  883. "schema": {
  884. "$ref": "#/definitions/app.Response"
  885. }
  886. }
  887. }
  888. }
  889. },
  890. "/Ermcp/QueryBusinessKx": {
  891. "get": {
  892. "security": [
  893. {
  894. "ApiKeyAuth": []
  895. }
  896. ],
  897. "produces": [
  898. "application/json"
  899. ],
  900. "tags": [
  901. "企业风险管理(app)"
  902. ],
  903. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  904. "parameters": [
  905. {
  906. "type": "integer",
  907. "description": "用户ID",
  908. "name": "UserId",
  909. "in": "query",
  910. "required": true
  911. },
  912. {
  913. "type": "string",
  914. "description": "现货合同ID, 不填则查所有",
  915. "name": "relatedid",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "type": "array",
  924. "items": {
  925. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  926. }
  927. }
  928. },
  929. "500": {
  930. "description": "Internal Server Error",
  931. "schema": {
  932. "$ref": "#/definitions/app.Response"
  933. }
  934. }
  935. }
  936. }
  937. },
  938. "/Ermcp/QueryChangeLog": {
  939. "get": {
  940. "security": [
  941. {
  942. "ApiKeyAuth": []
  943. }
  944. ],
  945. "produces": [
  946. "application/json"
  947. ],
  948. "tags": [
  949. "企业风险管理(app)"
  950. ],
  951. "summary": "查询变更记录",
  952. "parameters": [
  953. {
  954. "type": "string",
  955. "description": "用户ID",
  956. "name": "RelatedId",
  957. "in": "query",
  958. "required": true
  959. }
  960. ],
  961. "responses": {
  962. "200": {
  963. "description": "OK",
  964. "schema": {
  965. "type": "array",
  966. "items": {
  967. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  968. }
  969. }
  970. },
  971. "500": {
  972. "description": "Internal Server Error",
  973. "schema": {
  974. "$ref": "#/definitions/app.Response"
  975. }
  976. }
  977. }
  978. }
  979. },
  980. "/Ermcp/QueryContract": {
  981. "get": {
  982. "security": [
  983. {
  984. "ApiKeyAuth": []
  985. }
  986. ],
  987. "produces": [
  988. "application/json"
  989. ],
  990. "tags": [
  991. "企业风险管理(app)"
  992. ],
  993. "summary": "查询合同(采购和销售)",
  994. "parameters": [
  995. {
  996. "type": "integer",
  997. "description": "用户ID",
  998. "name": "userId",
  999. "in": "query",
  1000. "required": true
  1001. },
  1002. {
  1003. "type": "integer",
  1004. "description": "合同类型 1-采购, -1-销售",
  1005. "name": "contracttype",
  1006. "in": "query",
  1007. "required": true
  1008. },
  1009. {
  1010. "type": "integer",
  1011. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1012. "name": "querytype",
  1013. "in": "query",
  1014. "required": true
  1015. }
  1016. ],
  1017. "responses": {
  1018. "200": {
  1019. "description": "OK",
  1020. "schema": {
  1021. "type": "array",
  1022. "items": {
  1023. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1024. }
  1025. }
  1026. },
  1027. "500": {
  1028. "description": "Internal Server Error",
  1029. "schema": {
  1030. "$ref": "#/definitions/app.Response"
  1031. }
  1032. }
  1033. }
  1034. }
  1035. },
  1036. "/Ermcp/QueryExposureDetail": {
  1037. "get": {
  1038. "security": [
  1039. {
  1040. "ApiKeyAuth": []
  1041. }
  1042. ],
  1043. "produces": [
  1044. "application/json"
  1045. ],
  1046. "tags": [
  1047. "企业风险管理(app)"
  1048. ],
  1049. "summary": "查询敞口现货明细",
  1050. "parameters": [
  1051. {
  1052. "type": "integer",
  1053. "description": "所属机构ID",
  1054. "name": "areaUserId",
  1055. "in": "query",
  1056. "required": true
  1057. },
  1058. {
  1059. "type": "integer",
  1060. "description": "套保商品",
  1061. "name": "middleGoodsId",
  1062. "in": "query",
  1063. "required": true
  1064. }
  1065. ],
  1066. "responses": {
  1067. "200": {
  1068. "description": "OK",
  1069. "schema": {
  1070. "type": "array",
  1071. "items": {
  1072. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1073. }
  1074. }
  1075. },
  1076. "500": {
  1077. "description": "Internal Server Error",
  1078. "schema": {
  1079. "$ref": "#/definitions/app.Response"
  1080. }
  1081. }
  1082. }
  1083. }
  1084. },
  1085. "/Ermcp/QueryExposureSpot": {
  1086. "get": {
  1087. "security": [
  1088. {
  1089. "ApiKeyAuth": []
  1090. }
  1091. ],
  1092. "produces": [
  1093. "application/json"
  1094. ],
  1095. "tags": [
  1096. "企业风险管理(app)"
  1097. ],
  1098. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1099. "parameters": [
  1100. {
  1101. "type": "integer",
  1102. "description": "所属机构ID",
  1103. "name": "areaUserId",
  1104. "in": "query",
  1105. "required": true
  1106. }
  1107. ],
  1108. "responses": {
  1109. "200": {
  1110. "description": "OK",
  1111. "schema": {
  1112. "type": "array",
  1113. "items": {
  1114. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1115. }
  1116. }
  1117. },
  1118. "500": {
  1119. "description": "Internal Server Error",
  1120. "schema": {
  1121. "$ref": "#/definitions/app.Response"
  1122. }
  1123. }
  1124. }
  1125. }
  1126. },
  1127. "/Ermcp/QueryExposureSpotDetail": {
  1128. "get": {
  1129. "security": [
  1130. {
  1131. "ApiKeyAuth": []
  1132. }
  1133. ],
  1134. "produces": [
  1135. "application/json"
  1136. ],
  1137. "tags": [
  1138. "企业风险管理(app)"
  1139. ],
  1140. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1141. "parameters": [
  1142. {
  1143. "type": "integer",
  1144. "description": "所属机构ID",
  1145. "name": "areaUserId",
  1146. "in": "query",
  1147. "required": true
  1148. },
  1149. {
  1150. "type": "integer",
  1151. "description": "现货品种ID",
  1152. "name": "wrstandardId",
  1153. "in": "query",
  1154. "required": true
  1155. }
  1156. ],
  1157. "responses": {
  1158. "200": {
  1159. "description": "OK",
  1160. "schema": {
  1161. "type": "array",
  1162. "items": {
  1163. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1164. }
  1165. }
  1166. },
  1167. "500": {
  1168. "description": "Internal Server Error",
  1169. "schema": {
  1170. "$ref": "#/definitions/app.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/Ermcp/QueryGGConvertConfig": {
  1177. "get": {
  1178. "security": [
  1179. {
  1180. "ApiKeyAuth": []
  1181. }
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "企业风险管理(app)"
  1188. ],
  1189. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1190. "parameters": [
  1191. {
  1192. "type": "integer",
  1193. "description": "品种id(不填则查所有)",
  1194. "name": "goodsgroupid",
  1195. "in": "query"
  1196. }
  1197. ],
  1198. "responses": {
  1199. "200": {
  1200. "description": "OK",
  1201. "schema": {
  1202. "type": "array",
  1203. "items": {
  1204. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1205. }
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/Ermcp/QueryHedgePlan": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "企业风险管理(app)"
  1229. ],
  1230. "summary": "查询套保计划",
  1231. "parameters": [
  1232. {
  1233. "type": "integer",
  1234. "description": "用户ID",
  1235. "name": "userId",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "string",
  1241. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1242. "name": "HedgePlanStatus",
  1243. "in": "query",
  1244. "required": true
  1245. }
  1246. ],
  1247. "responses": {
  1248. "200": {
  1249. "description": "OK",
  1250. "schema": {
  1251. "type": "array",
  1252. "items": {
  1253. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1254. }
  1255. }
  1256. },
  1257. "500": {
  1258. "description": "Internal Server Error",
  1259. "schema": {
  1260. "$ref": "#/definitions/app.Response"
  1261. }
  1262. }
  1263. }
  1264. }
  1265. },
  1266. "/Ermcp/QueryHisExposure": {
  1267. "get": {
  1268. "security": [
  1269. {
  1270. "ApiKeyAuth": []
  1271. }
  1272. ],
  1273. "produces": [
  1274. "application/json"
  1275. ],
  1276. "tags": [
  1277. "企业风险管理(app)"
  1278. ],
  1279. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1280. "parameters": [
  1281. {
  1282. "type": "integer",
  1283. "description": "所属机构ID",
  1284. "name": "areaUserId",
  1285. "in": "query",
  1286. "required": true
  1287. },
  1288. {
  1289. "type": "integer",
  1290. "description": "最近多少条记录, -1:为查全部",
  1291. "name": "lastNum",
  1292. "in": "query",
  1293. "required": true
  1294. }
  1295. ],
  1296. "responses": {
  1297. "200": {
  1298. "description": "OK",
  1299. "schema": {
  1300. "type": "array",
  1301. "items": {
  1302. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1303. }
  1304. }
  1305. },
  1306. "500": {
  1307. "description": "Internal Server Error",
  1308. "schema": {
  1309. "$ref": "#/definitions/app.Response"
  1310. }
  1311. }
  1312. }
  1313. }
  1314. },
  1315. "/Ermcp/QueryMiddleGoods": {
  1316. "get": {
  1317. "security": [
  1318. {
  1319. "ApiKeyAuth": []
  1320. }
  1321. ],
  1322. "produces": [
  1323. "application/json"
  1324. ],
  1325. "tags": [
  1326. "企业风险管理(app)"
  1327. ],
  1328. "summary": "查询套保品种(菜单:套保品种)",
  1329. "parameters": [
  1330. {
  1331. "type": "integer",
  1332. "description": "所属机构ID",
  1333. "name": "userid",
  1334. "in": "query",
  1335. "required": true
  1336. },
  1337. {
  1338. "type": "integer",
  1339. "description": "状态 0-停用 1-正常",
  1340. "name": "status",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1378. "parameters": [
  1379. {
  1380. "type": "integer",
  1381. "description": "所属机构ID",
  1382. "name": "userid",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "套保品种id",
  1389. "name": "middlegoodsid",
  1390. "in": "query",
  1391. "required": true
  1392. }
  1393. ],
  1394. "responses": {
  1395. "200": {
  1396. "description": "OK",
  1397. "schema": {
  1398. "type": "array",
  1399. "items": {
  1400. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1401. }
  1402. }
  1403. },
  1404. "500": {
  1405. "description": "Internal Server Error",
  1406. "schema": {
  1407. "$ref": "#/definitions/app.Response"
  1408. }
  1409. }
  1410. }
  1411. }
  1412. },
  1413. "/Ermcp/QueryMiddleGoodsDetail": {
  1414. "get": {
  1415. "security": [
  1416. {
  1417. "ApiKeyAuth": []
  1418. }
  1419. ],
  1420. "produces": [
  1421. "application/json"
  1422. ],
  1423. "tags": [
  1424. "企业风险管理(app)"
  1425. ],
  1426. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1427. "parameters": [
  1428. {
  1429. "type": "integer",
  1430. "description": "所属机构ID",
  1431. "name": "userid",
  1432. "in": "query",
  1433. "required": true
  1434. },
  1435. {
  1436. "type": "integer",
  1437. "description": "套保品种id",
  1438. "name": "middlegoodsid",
  1439. "in": "query",
  1440. "required": true
  1441. }
  1442. ],
  1443. "responses": {
  1444. "200": {
  1445. "description": "OK",
  1446. "schema": {
  1447. "type": "array",
  1448. "items": {
  1449. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1450. }
  1451. }
  1452. },
  1453. "500": {
  1454. "description": "Internal Server Error",
  1455. "schema": {
  1456. "$ref": "#/definitions/app.Response"
  1457. }
  1458. }
  1459. }
  1460. }
  1461. },
  1462. "/Ermcp/QueryRealtimeExposure": {
  1463. "get": {
  1464. "security": [
  1465. {
  1466. "ApiKeyAuth": []
  1467. }
  1468. ],
  1469. "produces": [
  1470. "application/json"
  1471. ],
  1472. "tags": [
  1473. "企业风险管理(app)"
  1474. ],
  1475. "summary": "查询实时敞口",
  1476. "parameters": [
  1477. {
  1478. "type": "integer",
  1479. "description": "所属机构ID",
  1480. "name": "AreaUserID",
  1481. "in": "query",
  1482. "required": true
  1483. }
  1484. ],
  1485. "responses": {
  1486. "200": {
  1487. "description": "OK",
  1488. "schema": {
  1489. "type": "array",
  1490. "items": {
  1491. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1492. }
  1493. }
  1494. },
  1495. "500": {
  1496. "description": "Internal Server Error",
  1497. "schema": {
  1498. "$ref": "#/definitions/app.Response"
  1499. }
  1500. }
  1501. }
  1502. }
  1503. },
  1504. "/Ermcp/QueryRealtimeExposurePosition": {
  1505. "get": {
  1506. "security": [
  1507. {
  1508. "ApiKeyAuth": []
  1509. }
  1510. ],
  1511. "produces": [
  1512. "application/json"
  1513. ],
  1514. "tags": [
  1515. "企业风险管理(app)"
  1516. ],
  1517. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1518. "parameters": [
  1519. {
  1520. "type": "integer",
  1521. "description": "所属机构ID",
  1522. "name": "areaUserId",
  1523. "in": "query",
  1524. "required": true
  1525. },
  1526. {
  1527. "type": "integer",
  1528. "description": "套保商品ID",
  1529. "name": "middleGoodsId",
  1530. "in": "query",
  1531. "required": true
  1532. }
  1533. ],
  1534. "responses": {
  1535. "200": {
  1536. "description": "OK",
  1537. "schema": {
  1538. "type": "array",
  1539. "items": {
  1540. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1541. }
  1542. }
  1543. },
  1544. "500": {
  1545. "description": "Internal Server Error",
  1546. "schema": {
  1547. "$ref": "#/definitions/app.Response"
  1548. }
  1549. }
  1550. }
  1551. }
  1552. },
  1553. "/Ermcp/QuerySpotContract": {
  1554. "get": {
  1555. "security": [
  1556. {
  1557. "ApiKeyAuth": []
  1558. }
  1559. ],
  1560. "produces": [
  1561. "application/json"
  1562. ],
  1563. "tags": [
  1564. "企业风险管理(app)"
  1565. ],
  1566. "summary": "查询现货合同(对应现货合同菜单)",
  1567. "parameters": [
  1568. {
  1569. "type": "integer",
  1570. "description": "用户ID",
  1571. "name": "userId",
  1572. "in": "query",
  1573. "required": true
  1574. },
  1575. {
  1576. "type": "integer",
  1577. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1578. "name": "QueryType",
  1579. "in": "query",
  1580. "required": true
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryUserInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询客户资料",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "所属机构用户ID",
  1620. "name": "MemberUserID",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1627. "name": "queryType",
  1628. "in": "query",
  1629. "required": true
  1630. }
  1631. ],
  1632. "responses": {
  1633. "200": {
  1634. "description": "OK",
  1635. "schema": {
  1636. "type": "array",
  1637. "items": {
  1638. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1639. }
  1640. }
  1641. },
  1642. "500": {
  1643. "description": "Internal Server Error",
  1644. "schema": {
  1645. "$ref": "#/definitions/app.Response"
  1646. }
  1647. }
  1648. }
  1649. }
  1650. },
  1651. "/Ermcp/QueryWrStandard": {
  1652. "get": {
  1653. "security": [
  1654. {
  1655. "ApiKeyAuth": []
  1656. }
  1657. ],
  1658. "produces": [
  1659. "application/json"
  1660. ],
  1661. "tags": [
  1662. "企业风险管理(app)"
  1663. ],
  1664. "summary": "查询现货商品",
  1665. "parameters": [
  1666. {
  1667. "type": "integer",
  1668. "description": "所属机构ID",
  1669. "name": "userid",
  1670. "in": "query",
  1671. "required": true
  1672. },
  1673. {
  1674. "type": "integer",
  1675. "description": "状态 0-停用 1-正常",
  1676. "name": "status",
  1677. "in": "query",
  1678. "required": true
  1679. }
  1680. ],
  1681. "responses": {
  1682. "200": {
  1683. "description": "OK",
  1684. "schema": {
  1685. "type": "array",
  1686. "items": {
  1687. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1688. }
  1689. }
  1690. },
  1691. "500": {
  1692. "description": "Internal Server Error",
  1693. "schema": {
  1694. "$ref": "#/definitions/app.Response"
  1695. }
  1696. }
  1697. }
  1698. }
  1699. },
  1700. "/Ermcp/QueryWrStandardDetail": {
  1701. "get": {
  1702. "security": [
  1703. {
  1704. "ApiKeyAuth": []
  1705. }
  1706. ],
  1707. "produces": [
  1708. "application/json"
  1709. ],
  1710. "tags": [
  1711. "企业风险管理(app)"
  1712. ],
  1713. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1714. "parameters": [
  1715. {
  1716. "type": "integer",
  1717. "description": "所属机构ID",
  1718. "name": "userid",
  1719. "in": "query",
  1720. "required": true
  1721. },
  1722. {
  1723. "type": "integer",
  1724. "description": "现货商品ID",
  1725. "name": "wrstandardid",
  1726. "in": "query",
  1727. "required": true
  1728. }
  1729. ],
  1730. "responses": {
  1731. "200": {
  1732. "description": "OK",
  1733. "schema": {
  1734. "type": "array",
  1735. "items": {
  1736. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1737. }
  1738. }
  1739. },
  1740. "500": {
  1741. "description": "Internal Server Error",
  1742. "schema": {
  1743. "$ref": "#/definitions/app.Response"
  1744. }
  1745. }
  1746. }
  1747. }
  1748. },
  1749. "/Erms2/QueryArbitrageStrategy": {
  1750. "get": {
  1751. "security": [
  1752. {
  1753. "ApiKeyAuth": []
  1754. }
  1755. ],
  1756. "produces": [
  1757. "application/json"
  1758. ],
  1759. "tags": [
  1760. "风险管理"
  1761. ],
  1762. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1763. "parameters": [
  1764. {
  1765. "type": "integer",
  1766. "description": "账户ID",
  1767. "name": "userid",
  1768. "in": "query",
  1769. "required": true
  1770. },
  1771. {
  1772. "type": "string",
  1773. "description": "商品组ID(品种ID)",
  1774. "name": "goodsgroupid",
  1775. "in": "query"
  1776. }
  1777. ],
  1778. "responses": {
  1779. "200": {
  1780. "description": "OK",
  1781. "schema": {
  1782. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Erms2/QueryInnerTradeDetail": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "风险管理"
  1806. ],
  1807. "summary": "查询内部成交单信息",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "资金账户",
  1812. "name": "accountid",
  1813. "in": "query",
  1814. "required": true
  1815. }
  1816. ],
  1817. "responses": {
  1818. "200": {
  1819. "description": "OK",
  1820. "schema": {
  1821. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1822. }
  1823. },
  1824. "500": {
  1825. "description": "Internal Server Error",
  1826. "schema": {
  1827. "$ref": "#/definitions/app.Response"
  1828. }
  1829. }
  1830. }
  1831. }
  1832. },
  1833. "/Erms2/QuerySpotContract": {
  1834. "get": {
  1835. "security": [
  1836. {
  1837. "ApiKeyAuth": []
  1838. }
  1839. ],
  1840. "produces": [
  1841. "application/json"
  1842. ],
  1843. "tags": [
  1844. "风险管理"
  1845. ],
  1846. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1847. "parameters": [
  1848. {
  1849. "type": "integer",
  1850. "description": "策略申请ID",
  1851. "name": "asapplyid",
  1852. "in": "query",
  1853. "required": true
  1854. },
  1855. {
  1856. "type": "integer",
  1857. "description": "现货合同ID",
  1858. "name": "spotcontractid",
  1859. "in": "query"
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1867. }
  1868. },
  1869. "500": {
  1870. "description": "Internal Server Error",
  1871. "schema": {
  1872. "$ref": "#/definitions/app.Response"
  1873. }
  1874. }
  1875. }
  1876. }
  1877. },
  1878. "/Erms3/AddErms2ASApply": {
  1879. "post": {
  1880. "security": [
  1881. {
  1882. "ApiKeyAuth": []
  1883. }
  1884. ],
  1885. "produces": [
  1886. "application/json"
  1887. ],
  1888. "tags": [
  1889. "风险管理v3"
  1890. ],
  1891. "summary": "新增期现套利业务申请",
  1892. "parameters": [
  1893. {
  1894. "description": "申请参数",
  1895. "name": "jsonBody",
  1896. "in": "body",
  1897. "required": true,
  1898. "schema": {
  1899. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1900. }
  1901. }
  1902. ],
  1903. "responses": {
  1904. "200": {
  1905. "description": "OK",
  1906. "schema": {
  1907. "$ref": "#/definitions/app.Response"
  1908. }
  1909. },
  1910. "500": {
  1911. "description": "Internal Server Error",
  1912. "schema": {
  1913. "$ref": "#/definitions/app.Response"
  1914. }
  1915. }
  1916. }
  1917. }
  1918. },
  1919. "/Erms3/AddErms2SpotTradeApply": {
  1920. "post": {
  1921. "security": [
  1922. {
  1923. "ApiKeyAuth": []
  1924. }
  1925. ],
  1926. "produces": [
  1927. "application/json"
  1928. ],
  1929. "tags": [
  1930. "风险管理v3"
  1931. ],
  1932. "summary": "新增现货贸易业务申请",
  1933. "parameters": [
  1934. {
  1935. "description": "申请参数",
  1936. "name": "jsonBody",
  1937. "in": "body",
  1938. "required": true,
  1939. "schema": {
  1940. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1941. }
  1942. }
  1943. ],
  1944. "responses": {
  1945. "200": {
  1946. "description": "OK",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. },
  1951. "500": {
  1952. "description": "Internal Server Error",
  1953. "schema": {
  1954. "$ref": "#/definitions/app.Response"
  1955. }
  1956. }
  1957. }
  1958. }
  1959. },
  1960. "/Erms3/AddSpotContractApply": {
  1961. "post": {
  1962. "security": [
  1963. {
  1964. "ApiKeyAuth": []
  1965. }
  1966. ],
  1967. "produces": [
  1968. "application/json"
  1969. ],
  1970. "tags": [
  1971. "风险管理v3"
  1972. ],
  1973. "summary": "新增现货合同申请",
  1974. "parameters": [
  1975. {
  1976. "description": "申请参数",
  1977. "name": "jsonBody",
  1978. "in": "body",
  1979. "required": true,
  1980. "schema": {
  1981. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1982. }
  1983. }
  1984. ],
  1985. "responses": {
  1986. "200": {
  1987. "description": "OK",
  1988. "schema": {
  1989. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1990. }
  1991. },
  1992. "500": {
  1993. "description": "Internal Server Error",
  1994. "schema": {
  1995. "$ref": "#/definitions/app.Response"
  1996. }
  1997. }
  1998. }
  1999. }
  2000. },
  2001. "/Erms3/AddUserInfoApply": {
  2002. "post": {
  2003. "security": [
  2004. {
  2005. "ApiKeyAuth": []
  2006. }
  2007. ],
  2008. "produces": [
  2009. "application/json"
  2010. ],
  2011. "tags": [
  2012. "风险管理v3"
  2013. ],
  2014. "summary": "新增客户申请",
  2015. "parameters": [
  2016. {
  2017. "description": "申请参数",
  2018. "name": "jsonBody",
  2019. "in": "body",
  2020. "required": true,
  2021. "schema": {
  2022. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2023. }
  2024. }
  2025. ],
  2026. "responses": {
  2027. "200": {
  2028. "description": "OK",
  2029. "schema": {
  2030. "$ref": "#/definitions/app.Response"
  2031. }
  2032. },
  2033. "500": {
  2034. "description": "Internal Server Error",
  2035. "schema": {
  2036. "$ref": "#/definitions/app.Response"
  2037. }
  2038. }
  2039. }
  2040. }
  2041. },
  2042. "/Erms3/QueryBusinessInfo": {
  2043. "get": {
  2044. "security": [
  2045. {
  2046. "ApiKeyAuth": []
  2047. }
  2048. ],
  2049. "produces": [
  2050. "application/json"
  2051. ],
  2052. "tags": [
  2053. "风险管理v3"
  2054. ],
  2055. "summary": "查询业务表单数据",
  2056. "parameters": [
  2057. {
  2058. "type": "string",
  2059. "description": "资金账号ID列表,用逗号分隔",
  2060. "name": "accountids",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "integer",
  2066. "description": "状态,0为未结束 1为已结束",
  2067. "name": "status",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "type": "array",
  2077. "items": {
  2078. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2079. }
  2080. }
  2081. },
  2082. "500": {
  2083. "description": "Internal Server Error",
  2084. "schema": {
  2085. "$ref": "#/definitions/app.Response"
  2086. }
  2087. }
  2088. }
  2089. }
  2090. },
  2091. "/Erms3/QueryPendingAuditContract": {
  2092. "get": {
  2093. "security": [
  2094. {
  2095. "ApiKeyAuth": []
  2096. }
  2097. ],
  2098. "produces": [
  2099. "application/json"
  2100. ],
  2101. "tags": [
  2102. "风险管理v3"
  2103. ],
  2104. "summary": "查询待审核合同",
  2105. "parameters": [
  2106. {
  2107. "type": "string",
  2108. "description": "资金账号ID列表,逗号隔开",
  2109. "name": "accountids",
  2110. "in": "query",
  2111. "required": true
  2112. },
  2113. {
  2114. "type": "integer",
  2115. "description": "合同类型 1-采购 -1-销售",
  2116. "name": "contracttype",
  2117. "in": "query",
  2118. "required": true
  2119. },
  2120. {
  2121. "type": "integer",
  2122. "description": "合同模式 1-普通 2-回购",
  2123. "name": "contractmode",
  2124. "in": "query",
  2125. "required": true
  2126. }
  2127. ],
  2128. "responses": {
  2129. "200": {
  2130. "description": "OK",
  2131. "schema": {
  2132. "type": "array",
  2133. "items": {
  2134. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2135. }
  2136. }
  2137. },
  2138. "500": {
  2139. "description": "Internal Server Error",
  2140. "schema": {
  2141. "$ref": "#/definitions/app.Response"
  2142. }
  2143. }
  2144. }
  2145. }
  2146. },
  2147. "/Erms3/QueryPendingBusiness": {
  2148. "get": {
  2149. "security": [
  2150. {
  2151. "ApiKeyAuth": []
  2152. }
  2153. ],
  2154. "produces": [
  2155. "application/json"
  2156. ],
  2157. "tags": [
  2158. "风险管理v3"
  2159. ],
  2160. "summary": "查询待审核基差贸易业务",
  2161. "parameters": [
  2162. {
  2163. "type": "string",
  2164. "description": "资金账号ID列表,逗号隔开",
  2165. "name": "accountids",
  2166. "in": "query",
  2167. "required": true
  2168. }
  2169. ],
  2170. "responses": {
  2171. "200": {
  2172. "description": "OK",
  2173. "schema": {
  2174. "type": "array",
  2175. "items": {
  2176. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2177. }
  2178. }
  2179. },
  2180. "500": {
  2181. "description": "Internal Server Error",
  2182. "schema": {
  2183. "$ref": "#/definitions/app.Response"
  2184. }
  2185. }
  2186. }
  2187. }
  2188. },
  2189. "/Erms3/QuerySpotContractAppleForm": {
  2190. "get": {
  2191. "security": [
  2192. {
  2193. "ApiKeyAuth": []
  2194. }
  2195. ],
  2196. "produces": [
  2197. "application/json"
  2198. ],
  2199. "tags": [
  2200. "风险管理v3"
  2201. ],
  2202. "summary": "查询合同申请表单数据",
  2203. "parameters": [
  2204. {
  2205. "type": "integer",
  2206. "description": "登录账号",
  2207. "name": "loginID",
  2208. "in": "query",
  2209. "required": true
  2210. }
  2211. ],
  2212. "responses": {
  2213. "200": {
  2214. "description": "OK",
  2215. "schema": {
  2216. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2217. }
  2218. },
  2219. "500": {
  2220. "description": "Internal Server Error",
  2221. "schema": {
  2222. "$ref": "#/definitions/app.Response"
  2223. }
  2224. }
  2225. }
  2226. }
  2227. },
  2228. "/Erms3/QuerySpotContractDetail": {
  2229. "get": {
  2230. "security": [
  2231. {
  2232. "ApiKeyAuth": []
  2233. }
  2234. ],
  2235. "produces": [
  2236. "application/json"
  2237. ],
  2238. "tags": [
  2239. "风险管理v3"
  2240. ],
  2241. "summary": "查询合同详细信息",
  2242. "parameters": [
  2243. {
  2244. "type": "string",
  2245. "description": "资金账号ID列表,用逗号分隔",
  2246. "name": "accountids",
  2247. "in": "query",
  2248. "required": true
  2249. },
  2250. {
  2251. "type": "integer",
  2252. "description": "合同类型,1为采购合同 -1为销售合同",
  2253. "name": "contracttype",
  2254. "in": "query",
  2255. "required": true
  2256. },
  2257. {
  2258. "type": "integer",
  2259. "description": "合同模式,1为普通合同 2为回购销售合同",
  2260. "name": "contractmode",
  2261. "in": "query",
  2262. "required": true
  2263. },
  2264. {
  2265. "type": "integer",
  2266. "description": "状态,0为履约中 1为已完成",
  2267. "name": "status",
  2268. "in": "query",
  2269. "required": true
  2270. }
  2271. ],
  2272. "responses": {
  2273. "200": {
  2274. "description": "OK",
  2275. "schema": {
  2276. "type": "array",
  2277. "items": {
  2278. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2279. }
  2280. }
  2281. },
  2282. "500": {
  2283. "description": "Internal Server Error",
  2284. "schema": {
  2285. "$ref": "#/definitions/app.Response"
  2286. }
  2287. }
  2288. }
  2289. }
  2290. },
  2291. "/Erms3/QueryUserInfoApplies": {
  2292. "get": {
  2293. "security": [
  2294. {
  2295. "ApiKeyAuth": []
  2296. }
  2297. ],
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "风险管理v3"
  2303. ],
  2304. "summary": "客户申请信息查询",
  2305. "parameters": [
  2306. {
  2307. "type": "integer",
  2308. "description": "页码",
  2309. "name": "page",
  2310. "in": "query"
  2311. },
  2312. {
  2313. "type": "integer",
  2314. "description": "每页条数",
  2315. "name": "pagesize",
  2316. "in": "query"
  2317. },
  2318. {
  2319. "type": "string",
  2320. "description": "客户名称,支持模糊查询",
  2321. "name": "userName",
  2322. "in": "query"
  2323. }
  2324. ],
  2325. "responses": {
  2326. "200": {
  2327. "description": "OK",
  2328. "schema": {
  2329. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2330. }
  2331. },
  2332. "500": {
  2333. "description": "Internal Server Error",
  2334. "schema": {
  2335. "$ref": "#/definitions/app.Response"
  2336. }
  2337. }
  2338. }
  2339. }
  2340. },
  2341. "/Erms3/QueryUserInfos": {
  2342. "get": {
  2343. "security": [
  2344. {
  2345. "ApiKeyAuth": []
  2346. }
  2347. ],
  2348. "produces": [
  2349. "application/json"
  2350. ],
  2351. "tags": [
  2352. "风险管理v3"
  2353. ],
  2354. "summary": "客户信息查询",
  2355. "parameters": [
  2356. {
  2357. "type": "integer",
  2358. "description": "页码",
  2359. "name": "page",
  2360. "in": "query"
  2361. },
  2362. {
  2363. "type": "integer",
  2364. "description": "每页条数",
  2365. "name": "pagesize",
  2366. "in": "query"
  2367. },
  2368. {
  2369. "type": "string",
  2370. "description": "客户名称,支持模糊查询",
  2371. "name": "userName",
  2372. "in": "query"
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/HSBY/GetHsbyMyCount": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "description": "说明: 不包括已完成的数量。",
  2399. "produces": [
  2400. "application/json"
  2401. ],
  2402. "tags": [
  2403. "定制【海商报业】"
  2404. ],
  2405. "summary": "获取我的订单与包裹数量",
  2406. "parameters": [
  2407. {
  2408. "type": "string",
  2409. "description": "资金账户列表,格式:1,2,3",
  2410. "name": "accountIDs",
  2411. "in": "query",
  2412. "required": true
  2413. }
  2414. ],
  2415. "responses": {
  2416. "200": {
  2417. "description": "OK",
  2418. "schema": {
  2419. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2420. }
  2421. },
  2422. "500": {
  2423. "description": "Internal Server Error",
  2424. "schema": {
  2425. "$ref": "#/definitions/app.Response"
  2426. }
  2427. }
  2428. }
  2429. }
  2430. },
  2431. "/HSBY/QueryClientFixedADConfigs": {
  2432. "get": {
  2433. "security": [
  2434. {
  2435. "ApiKeyAuth": []
  2436. }
  2437. ],
  2438. "produces": [
  2439. "application/json"
  2440. ],
  2441. "tags": [
  2442. "定制【海商报业】"
  2443. ],
  2444. "summary": "获取终端固定广告配置",
  2445. "responses": {
  2446. "200": {
  2447. "description": "OK",
  2448. "schema": {
  2449. "$ref": "#/definitions/models.Clientfixedadconfig"
  2450. }
  2451. },
  2452. "500": {
  2453. "description": "Internal Server Error",
  2454. "schema": {
  2455. "$ref": "#/definitions/app.Response"
  2456. }
  2457. }
  2458. }
  2459. }
  2460. },
  2461. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2462. "get": {
  2463. "security": [
  2464. {
  2465. "ApiKeyAuth": []
  2466. }
  2467. ],
  2468. "produces": [
  2469. "application/json"
  2470. ],
  2471. "tags": [
  2472. "定制【海商报业】"
  2473. ],
  2474. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2475. "parameters": [
  2476. {
  2477. "type": "integer",
  2478. "description": "页码",
  2479. "name": "page",
  2480. "in": "query"
  2481. },
  2482. {
  2483. "type": "integer",
  2484. "description": "每页条数",
  2485. "name": "pagesize",
  2486. "in": "query"
  2487. },
  2488. {
  2489. "type": "string",
  2490. "description": "资金账户列表,格式:1,2,3",
  2491. "name": "accountIDs",
  2492. "in": "query",
  2493. "required": true
  2494. }
  2495. ],
  2496. "responses": {
  2497. "200": {
  2498. "description": "OK",
  2499. "schema": {
  2500. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2501. }
  2502. },
  2503. "500": {
  2504. "description": "Internal Server Error",
  2505. "schema": {
  2506. "$ref": "#/definitions/app.Response"
  2507. }
  2508. }
  2509. }
  2510. }
  2511. },
  2512. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2513. "get": {
  2514. "security": [
  2515. {
  2516. "ApiKeyAuth": []
  2517. }
  2518. ],
  2519. "description": "说明:查询结果已按委托价格和委托时间排序",
  2520. "produces": [
  2521. "application/json"
  2522. ],
  2523. "tags": [
  2524. "定制【海商报业】"
  2525. ],
  2526. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2527. "parameters": [
  2528. {
  2529. "type": "integer",
  2530. "description": "商品ID",
  2531. "name": "goodsID",
  2532. "in": "query",
  2533. "required": true
  2534. },
  2535. {
  2536. "type": "string",
  2537. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2538. "name": "accountIDs",
  2539. "in": "query"
  2540. },
  2541. {
  2542. "type": "integer",
  2543. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2544. "name": "buyOrSell",
  2545. "in": "query"
  2546. },
  2547. {
  2548. "type": "number",
  2549. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2550. "name": "price",
  2551. "in": "query"
  2552. },
  2553. {
  2554. "type": "integer",
  2555. "description": "档位,不传则默认为3档",
  2556. "name": "speed",
  2557. "in": "query"
  2558. }
  2559. ],
  2560. "responses": {
  2561. "200": {
  2562. "description": "OK",
  2563. "schema": {
  2564. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/HSBY/QueryHsbyListingGoodsDetail": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "定制【海商报业】"
  2589. ],
  2590. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "商品ID",
  2595. "name": "goodsID",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2602. "name": "accountID",
  2603. "in": "query"
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2611. }
  2612. },
  2613. "500": {
  2614. "description": "Internal Server Error",
  2615. "schema": {
  2616. "$ref": "#/definitions/app.Response"
  2617. }
  2618. }
  2619. }
  2620. }
  2621. },
  2622. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2623. "get": {
  2624. "security": [
  2625. {
  2626. "ApiKeyAuth": []
  2627. }
  2628. ],
  2629. "produces": [
  2630. "application/json"
  2631. ],
  2632. "tags": [
  2633. "定制【海商报业】"
  2634. ],
  2635. "summary": "查询三级市场(商城)商品信息详情",
  2636. "parameters": [
  2637. {
  2638. "type": "integer",
  2639. "description": "委托单号",
  2640. "name": "orderID",
  2641. "in": "query",
  2642. "required": true
  2643. },
  2644. {
  2645. "type": "integer",
  2646. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2647. "name": "accountID",
  2648. "in": "query"
  2649. }
  2650. ],
  2651. "responses": {
  2652. "200": {
  2653. "description": "OK",
  2654. "schema": {
  2655. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2656. }
  2657. },
  2658. "500": {
  2659. "description": "Internal Server Error",
  2660. "schema": {
  2661. "$ref": "#/definitions/app.Response"
  2662. }
  2663. }
  2664. }
  2665. }
  2666. },
  2667. "/HSBY/QueryHsbyMarketGoodses": {
  2668. "get": {
  2669. "security": [
  2670. {
  2671. "ApiKeyAuth": []
  2672. }
  2673. ],
  2674. "produces": [
  2675. "application/json"
  2676. ],
  2677. "tags": [
  2678. "定制【海商报业】"
  2679. ],
  2680. "summary": "查询特卖商品列表(三级商城)",
  2681. "parameters": [
  2682. {
  2683. "type": "integer",
  2684. "description": "页码",
  2685. "name": "page",
  2686. "in": "query"
  2687. },
  2688. {
  2689. "type": "integer",
  2690. "description": "每页条数",
  2691. "name": "pagesize",
  2692. "in": "query"
  2693. },
  2694. {
  2695. "type": "string",
  2696. "description": "市场ID列表,格式:1,2,3",
  2697. "name": "marketIDs",
  2698. "in": "query",
  2699. "required": true
  2700. },
  2701. {
  2702. "type": "integer",
  2703. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2704. "name": "accountID",
  2705. "in": "query",
  2706. "required": true
  2707. },
  2708. {
  2709. "type": "integer",
  2710. "description": "类别ID",
  2711. "name": "categoryID",
  2712. "in": "query"
  2713. },
  2714. {
  2715. "type": "string",
  2716. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2717. "name": "goodsIDs",
  2718. "in": "query"
  2719. },
  2720. {
  2721. "type": "integer",
  2722. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2723. "name": "couponTypeID",
  2724. "in": "query"
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "$ref": "#/definitions/models.HsbyMarketGoods"
  2732. }
  2733. },
  2734. "500": {
  2735. "description": "Internal Server Error",
  2736. "schema": {
  2737. "$ref": "#/definitions/app.Response"
  2738. }
  2739. }
  2740. }
  2741. }
  2742. },
  2743. "/HSBY/QueryHsbyMarkets": {
  2744. "get": {
  2745. "security": [
  2746. {
  2747. "ApiKeyAuth": []
  2748. }
  2749. ],
  2750. "produces": [
  2751. "application/json"
  2752. ],
  2753. "tags": [
  2754. "定制【海商报业】"
  2755. ],
  2756. "summary": "查询海商报业相关市场信息",
  2757. "responses": {
  2758. "200": {
  2759. "description": "OK",
  2760. "schema": {
  2761. "$ref": "#/definitions/models.HsbyMarketInfo"
  2762. }
  2763. },
  2764. "500": {
  2765. "description": "Internal Server Error",
  2766. "schema": {
  2767. "$ref": "#/definitions/app.Response"
  2768. }
  2769. }
  2770. }
  2771. }
  2772. },
  2773. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2774. "get": {
  2775. "security": [
  2776. {
  2777. "ApiKeyAuth": []
  2778. }
  2779. ],
  2780. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2781. "produces": [
  2782. "application/json"
  2783. ],
  2784. "tags": [
  2785. "定制【海商报业】"
  2786. ],
  2787. "summary": "查询“我的订单”信息",
  2788. "parameters": [
  2789. {
  2790. "type": "string",
  2791. "description": "资金账户列表,格式:1,2,3",
  2792. "name": "accountIDs",
  2793. "in": "query",
  2794. "required": true
  2795. },
  2796. {
  2797. "type": "integer",
  2798. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2799. "name": "myBuyStatus",
  2800. "in": "query"
  2801. }
  2802. ],
  2803. "responses": {
  2804. "200": {
  2805. "description": "OK",
  2806. "schema": {
  2807. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2808. }
  2809. },
  2810. "500": {
  2811. "description": "Internal Server Error",
  2812. "schema": {
  2813. "$ref": "#/definitions/app.Response"
  2814. }
  2815. }
  2816. }
  2817. }
  2818. },
  2819. "/HSBY/QueryHsbyMyGoods": {
  2820. "get": {
  2821. "security": [
  2822. {
  2823. "ApiKeyAuth": []
  2824. }
  2825. ],
  2826. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2827. "produces": [
  2828. "application/json"
  2829. ],
  2830. "tags": [
  2831. "定制【海商报业】"
  2832. ],
  2833. "summary": "查询“我的商品”信息",
  2834. "parameters": [
  2835. {
  2836. "type": "string",
  2837. "description": "资金账户列表,格式:1,2,3",
  2838. "name": "accountIDs",
  2839. "in": "query",
  2840. "required": true
  2841. }
  2842. ],
  2843. "responses": {
  2844. "200": {
  2845. "description": "OK",
  2846. "schema": {
  2847. "$ref": "#/definitions/models.HsbyMyGoods"
  2848. }
  2849. },
  2850. "500": {
  2851. "description": "Internal Server Error",
  2852. "schema": {
  2853. "$ref": "#/definitions/app.Response"
  2854. }
  2855. }
  2856. }
  2857. }
  2858. },
  2859. "/HSBY/QueryHsbyMyPackages": {
  2860. "get": {
  2861. "security": [
  2862. {
  2863. "ApiKeyAuth": []
  2864. }
  2865. ],
  2866. "produces": [
  2867. "application/json"
  2868. ],
  2869. "tags": [
  2870. "定制【海商报业】"
  2871. ],
  2872. "summary": "查询我的包裹信息",
  2873. "parameters": [
  2874. {
  2875. "type": "string",
  2876. "description": "资金账户列表,格式:1,2,3",
  2877. "name": "accountIDs",
  2878. "in": "query",
  2879. "required": true
  2880. },
  2881. {
  2882. "type": "integer",
  2883. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2884. "name": "takeOrderStatus",
  2885. "in": "query"
  2886. }
  2887. ],
  2888. "responses": {
  2889. "200": {
  2890. "description": "OK",
  2891. "schema": {
  2892. "$ref": "#/definitions/models.HsbyMyPackage"
  2893. }
  2894. },
  2895. "500": {
  2896. "description": "Internal Server Error",
  2897. "schema": {
  2898. "$ref": "#/definitions/app.Response"
  2899. }
  2900. }
  2901. }
  2902. }
  2903. },
  2904. "/HSBY/QueryHsbyPreGoodsDetail": {
  2905. "get": {
  2906. "security": [
  2907. {
  2908. "ApiKeyAuth": []
  2909. }
  2910. ],
  2911. "produces": [
  2912. "application/json"
  2913. ],
  2914. "tags": [
  2915. "定制【海商报业】"
  2916. ],
  2917. "summary": "查询一级市场(预售)商品信息详情",
  2918. "parameters": [
  2919. {
  2920. "type": "integer",
  2921. "description": "商品ID",
  2922. "name": "goodsID",
  2923. "in": "query",
  2924. "required": true
  2925. },
  2926. {
  2927. "type": "integer",
  2928. "description": "资金账户,主要用于获取预售商品购买上限",
  2929. "name": "accountID",
  2930. "in": "query"
  2931. }
  2932. ],
  2933. "responses": {
  2934. "200": {
  2935. "description": "OK",
  2936. "schema": {
  2937. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/HSBY/QueryHsbyPreGoodses": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "定制【海商报业】"
  2962. ],
  2963. "summary": "查询新品上市商品列表(一级市场预售)",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "页码",
  2968. "name": "page",
  2969. "in": "query"
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "每页条数",
  2974. "name": "pagesize",
  2975. "in": "query"
  2976. },
  2977. {
  2978. "type": "string",
  2979. "description": "市场ID列表,格式:1,2,3",
  2980. "name": "marketIDs",
  2981. "in": "query",
  2982. "required": true
  2983. },
  2984. {
  2985. "type": "integer",
  2986. "description": "目的地(省)ID",
  2987. "name": "descProvinceID",
  2988. "in": "query"
  2989. },
  2990. {
  2991. "type": "integer",
  2992. "description": "目的地(市)ID",
  2993. "name": "descCityID",
  2994. "in": "query"
  2995. }
  2996. ],
  2997. "responses": {
  2998. "200": {
  2999. "description": "OK",
  3000. "schema": {
  3001. "$ref": "#/definitions/models.HsbyPreGoods"
  3002. }
  3003. },
  3004. "500": {
  3005. "description": "Internal Server Error",
  3006. "schema": {
  3007. "$ref": "#/definitions/app.Response"
  3008. }
  3009. }
  3010. }
  3011. }
  3012. },
  3013. "/HSBY/QueryHsbySellMyDetails": {
  3014. "get": {
  3015. "security": [
  3016. {
  3017. "ApiKeyAuth": []
  3018. }
  3019. ],
  3020. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3021. "produces": [
  3022. "application/json"
  3023. ],
  3024. "tags": [
  3025. "定制【海商报业】"
  3026. ],
  3027. "summary": "查询\"我的闲置\"单据信息",
  3028. "parameters": [
  3029. {
  3030. "type": "integer",
  3031. "description": "页码",
  3032. "name": "page",
  3033. "in": "query"
  3034. },
  3035. {
  3036. "type": "integer",
  3037. "description": "每页条数",
  3038. "name": "pagesize",
  3039. "in": "query"
  3040. },
  3041. {
  3042. "type": "string",
  3043. "description": "资金账户列表,格式:1,2,3",
  3044. "name": "accountIDs",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "integer",
  3050. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3051. "name": "orderType",
  3052. "in": "query"
  3053. }
  3054. ],
  3055. "responses": {
  3056. "200": {
  3057. "description": "OK",
  3058. "schema": {
  3059. "$ref": "#/definitions/models.HsbySellMyDetail"
  3060. }
  3061. },
  3062. "500": {
  3063. "description": "Internal Server Error",
  3064. "schema": {
  3065. "$ref": "#/definitions/app.Response"
  3066. }
  3067. }
  3068. }
  3069. }
  3070. },
  3071. "/HSBY/QueryHsbyTopGoodses": {
  3072. "get": {
  3073. "security": [
  3074. {
  3075. "ApiKeyAuth": []
  3076. }
  3077. ],
  3078. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3079. "produces": [
  3080. "application/json"
  3081. ],
  3082. "tags": [
  3083. "定制【海商报业】"
  3084. ],
  3085. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3086. "parameters": [
  3087. {
  3088. "type": "integer",
  3089. "description": "页码",
  3090. "name": "page",
  3091. "in": "query"
  3092. },
  3093. {
  3094. "type": "integer",
  3095. "description": "每页条数",
  3096. "name": "pagesize",
  3097. "in": "query"
  3098. },
  3099. {
  3100. "type": "string",
  3101. "description": "市场ID列表,格式:1,2,3",
  3102. "name": "marketIDs",
  3103. "in": "query",
  3104. "required": true
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": "目的地(省)ID",
  3109. "name": "descProvinceID",
  3110. "in": "query"
  3111. },
  3112. {
  3113. "type": "integer",
  3114. "description": "目的地(市)ID",
  3115. "name": "descCityID",
  3116. "in": "query"
  3117. }
  3118. ],
  3119. "responses": {
  3120. "200": {
  3121. "description": "OK",
  3122. "schema": {
  3123. "$ref": "#/definitions/models.HsbyTopGoods"
  3124. }
  3125. },
  3126. "500": {
  3127. "description": "Internal Server Error",
  3128. "schema": {
  3129. "$ref": "#/definitions/app.Response"
  3130. }
  3131. }
  3132. }
  3133. }
  3134. },
  3135. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3136. "get": {
  3137. "security": [
  3138. {
  3139. "ApiKeyAuth": []
  3140. }
  3141. ],
  3142. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3143. "produces": [
  3144. "application/json"
  3145. ],
  3146. "tags": [
  3147. "定制【海商报业】"
  3148. ],
  3149. "summary": "查询游客三级市场(商城)商品信息详情",
  3150. "parameters": [
  3151. {
  3152. "type": "integer",
  3153. "description": "商品ID",
  3154. "name": "goodsID",
  3155. "in": "query",
  3156. "required": true
  3157. }
  3158. ],
  3159. "responses": {
  3160. "200": {
  3161. "description": "OK",
  3162. "schema": {
  3163. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3164. }
  3165. },
  3166. "500": {
  3167. "description": "Internal Server Error",
  3168. "schema": {
  3169. "$ref": "#/definitions/app.Response"
  3170. }
  3171. }
  3172. }
  3173. }
  3174. },
  3175. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3176. "get": {
  3177. "security": [
  3178. {
  3179. "ApiKeyAuth": []
  3180. }
  3181. ],
  3182. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3183. "produces": [
  3184. "application/json"
  3185. ],
  3186. "tags": [
  3187. "定制【海商报业】"
  3188. ],
  3189. "summary": "查询游客特卖商品列表(三级商城)",
  3190. "parameters": [
  3191. {
  3192. "type": "integer",
  3193. "description": "页码",
  3194. "name": "page",
  3195. "in": "query"
  3196. },
  3197. {
  3198. "type": "integer",
  3199. "description": "每页条数",
  3200. "name": "pagesize",
  3201. "in": "query"
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "市场ID列表,格式:1,2,3",
  3206. "name": "marketIDs",
  3207. "in": "query",
  3208. "required": true
  3209. },
  3210. {
  3211. "type": "integer",
  3212. "description": "类别ID",
  3213. "name": "categoryID",
  3214. "in": "query"
  3215. },
  3216. {
  3217. "type": "string",
  3218. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3219. "name": "goodsIDs",
  3220. "in": "query"
  3221. }
  3222. ],
  3223. "responses": {
  3224. "200": {
  3225. "description": "OK",
  3226. "schema": {
  3227. "$ref": "#/definitions/models.HsbyMarketGoods"
  3228. }
  3229. },
  3230. "500": {
  3231. "description": "Internal Server Error",
  3232. "schema": {
  3233. "$ref": "#/definitions/app.Response"
  3234. }
  3235. }
  3236. }
  3237. }
  3238. },
  3239. "/HSBY/QueryMyCollectionOrders": {
  3240. "get": {
  3241. "security": [
  3242. {
  3243. "ApiKeyAuth": []
  3244. }
  3245. ],
  3246. "produces": [
  3247. "application/json"
  3248. ],
  3249. "tags": [
  3250. "定制【海商报业】"
  3251. ],
  3252. "summary": "我的闲置中收款信息查询",
  3253. "parameters": [
  3254. {
  3255. "type": "integer",
  3256. "description": "页码",
  3257. "name": "page",
  3258. "in": "query"
  3259. },
  3260. {
  3261. "type": "integer",
  3262. "description": "每页条数",
  3263. "name": "pagesize",
  3264. "in": "query"
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "资金账户,格式:1,2,3",
  3269. "name": "accountIDs",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3279. }
  3280. },
  3281. "500": {
  3282. "description": "Internal Server Error",
  3283. "schema": {
  3284. "$ref": "#/definitions/app.Response"
  3285. }
  3286. }
  3287. }
  3288. }
  3289. },
  3290. "/HSBY/QueryMyCouponHolds": {
  3291. "get": {
  3292. "security": [
  3293. {
  3294. "ApiKeyAuth": []
  3295. }
  3296. ],
  3297. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3298. "produces": [
  3299. "application/json"
  3300. ],
  3301. "tags": [
  3302. "定制【海商报业】"
  3303. ],
  3304. "summary": "我的优惠卷持仓查询",
  3305. "parameters": [
  3306. {
  3307. "type": "string",
  3308. "description": "资金账户列表,格式:1,2,3",
  3309. "name": "accountIDs",
  3310. "in": "query",
  3311. "required": true
  3312. },
  3313. {
  3314. "type": "string",
  3315. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3316. "name": "holdStatus",
  3317. "in": "query"
  3318. }
  3319. ],
  3320. "responses": {
  3321. "200": {
  3322. "description": "OK",
  3323. "schema": {
  3324. "$ref": "#/definitions/models.MyCouponHold"
  3325. }
  3326. },
  3327. "500": {
  3328. "description": "Internal Server Error",
  3329. "schema": {
  3330. "$ref": "#/definitions/app.Response"
  3331. }
  3332. }
  3333. }
  3334. }
  3335. },
  3336. "/HSBY/QueryMyCoupons": {
  3337. "get": {
  3338. "security": [
  3339. {
  3340. "ApiKeyAuth": []
  3341. }
  3342. ],
  3343. "produces": [
  3344. "application/json"
  3345. ],
  3346. "tags": [
  3347. "定制【海商报业】"
  3348. ],
  3349. "summary": "我的优惠卷查询",
  3350. "parameters": [
  3351. {
  3352. "type": "string",
  3353. "description": "资金账户列表,格式:1,2,3",
  3354. "name": "accountIDs",
  3355. "in": "query",
  3356. "required": true
  3357. },
  3358. {
  3359. "type": "integer",
  3360. "description": "商品ID, 一般与sellUserID配套传入",
  3361. "name": "goodsID",
  3362. "in": "query"
  3363. },
  3364. {
  3365. "type": "integer",
  3366. "description": "卖方UserID",
  3367. "name": "sellUserID",
  3368. "in": "query"
  3369. }
  3370. ],
  3371. "responses": {
  3372. "200": {
  3373. "description": "OK",
  3374. "schema": {
  3375. "$ref": "#/definitions/models.MyCoupon"
  3376. }
  3377. },
  3378. "500": {
  3379. "description": "Internal Server Error",
  3380. "schema": {
  3381. "$ref": "#/definitions/app.Response"
  3382. }
  3383. }
  3384. }
  3385. }
  3386. },
  3387. "/HSBY/QueryMyPayOrders": {
  3388. "get": {
  3389. "security": [
  3390. {
  3391. "ApiKeyAuth": []
  3392. }
  3393. ],
  3394. "produces": [
  3395. "application/json"
  3396. ],
  3397. "tags": [
  3398. "定制【海商报业】"
  3399. ],
  3400. "summary": "获取我的订单中待付款信息",
  3401. "parameters": [
  3402. {
  3403. "type": "integer",
  3404. "description": "页码",
  3405. "name": "page",
  3406. "in": "query"
  3407. },
  3408. {
  3409. "type": "integer",
  3410. "description": "每页条数",
  3411. "name": "pagesize",
  3412. "in": "query"
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "资金账户列表,格式:1,2,3",
  3417. "name": "accountIDs",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "买方委托单号",
  3424. "name": "buyOrderID",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "卖方委托单号",
  3430. "name": "sellOrderID",
  3431. "in": "query"
  3432. }
  3433. ],
  3434. "responses": {
  3435. "200": {
  3436. "description": "OK",
  3437. "schema": {
  3438. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3439. }
  3440. },
  3441. "500": {
  3442. "description": "Internal Server Error",
  3443. "schema": {
  3444. "$ref": "#/definitions/app.Response"
  3445. }
  3446. }
  3447. }
  3448. }
  3449. },
  3450. "/HSBY/QueryMyUsedCoupon": {
  3451. "get": {
  3452. "security": [
  3453. {
  3454. "ApiKeyAuth": []
  3455. }
  3456. ],
  3457. "produces": [
  3458. "application/json"
  3459. ],
  3460. "tags": [
  3461. "定制【海商报业】"
  3462. ],
  3463. "summary": "已使用优惠卷查询",
  3464. "parameters": [
  3465. {
  3466. "type": "string",
  3467. "description": "资金账户列表,格式:1,2,3",
  3468. "name": "accountIDs",
  3469. "in": "query",
  3470. "required": true
  3471. }
  3472. ],
  3473. "responses": {
  3474. "200": {
  3475. "description": "OK",
  3476. "schema": {
  3477. "$ref": "#/definitions/models.MyUsedCoupon"
  3478. }
  3479. },
  3480. "500": {
  3481. "description": "Internal Server Error",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. }
  3486. }
  3487. }
  3488. },
  3489. "/HSBY/QueryProvincesAndCities": {
  3490. "get": {
  3491. "security": [
  3492. {
  3493. "ApiKeyAuth": []
  3494. }
  3495. ],
  3496. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3497. "produces": [
  3498. "application/json"
  3499. ],
  3500. "tags": [
  3501. "定制【海商报业】"
  3502. ],
  3503. "summary": "查询省市信息(不包括区)",
  3504. "parameters": [
  3505. {
  3506. "type": "integer",
  3507. "description": "省ID",
  3508. "name": "provinceID",
  3509. "in": "query"
  3510. }
  3511. ],
  3512. "responses": {
  3513. "200": {
  3514. "description": "OK",
  3515. "schema": {
  3516. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/HSBY/SetHsbyMyPackagesStatus": {
  3529. "post": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "定制【海商报业】"
  3540. ],
  3541. "summary": "设置我的包裹已收货状态",
  3542. "parameters": [
  3543. {
  3544. "type": "string",
  3545. "description": "提货单号",
  3546. "name": "takeOrderID",
  3547. "in": "query",
  3548. "required": true
  3549. },
  3550. {
  3551. "type": "integer",
  3552. "description": "资金账号",
  3553. "name": "accountID",
  3554. "in": "query",
  3555. "required": true
  3556. }
  3557. ],
  3558. "responses": {
  3559. "200": {
  3560. "description": "OK",
  3561. "schema": {
  3562. "$ref": "#/definitions/app.Response"
  3563. }
  3564. },
  3565. "500": {
  3566. "description": "Internal Server Error",
  3567. "schema": {
  3568. "$ref": "#/definitions/app.Response"
  3569. }
  3570. }
  3571. }
  3572. }
  3573. },
  3574. "/Market/QueryGoodsesByLoginID": {
  3575. "get": {
  3576. "security": [
  3577. {
  3578. "ApiKeyAuth": []
  3579. }
  3580. ],
  3581. "produces": [
  3582. "application/json"
  3583. ],
  3584. "tags": [
  3585. "通用市场"
  3586. ],
  3587. "summary": "获取登录账号有权限的商品信息",
  3588. "parameters": [
  3589. {
  3590. "type": "integer",
  3591. "description": "登录账号",
  3592. "name": "loginID",
  3593. "in": "query",
  3594. "required": true
  3595. },
  3596. {
  3597. "type": "string",
  3598. "description": "市场ID列表,格式:1,2,3",
  3599. "name": "marketIDs",
  3600. "in": "query"
  3601. }
  3602. ],
  3603. "responses": {
  3604. "200": {
  3605. "description": "OK",
  3606. "schema": {
  3607. "$ref": "#/definitions/models.Goods"
  3608. }
  3609. },
  3610. "500": {
  3611. "description": "Internal Server Error",
  3612. "schema": {
  3613. "$ref": "#/definitions/app.Response"
  3614. }
  3615. }
  3616. }
  3617. }
  3618. },
  3619. "/Market/QueryMarketRun": {
  3620. "get": {
  3621. "security": [
  3622. {
  3623. "ApiKeyAuth": []
  3624. }
  3625. ],
  3626. "produces": [
  3627. "application/json"
  3628. ],
  3629. "tags": [
  3630. "通用市场"
  3631. ],
  3632. "summary": "查询市场运行信息",
  3633. "parameters": [
  3634. {
  3635. "type": "integer",
  3636. "description": "市场ID,不传返回所有",
  3637. "name": "marketID",
  3638. "in": "query"
  3639. }
  3640. ],
  3641. "responses": {
  3642. "200": {
  3643. "description": "OK",
  3644. "schema": {
  3645. "$ref": "#/definitions/models.Marketrun"
  3646. }
  3647. },
  3648. "500": {
  3649. "description": "Internal Server Error",
  3650. "schema": {
  3651. "$ref": "#/definitions/app.Response"
  3652. }
  3653. }
  3654. }
  3655. }
  3656. },
  3657. "/Market/QueryMarketsByLoginID": {
  3658. "get": {
  3659. "security": [
  3660. {
  3661. "ApiKeyAuth": []
  3662. }
  3663. ],
  3664. "produces": [
  3665. "application/json"
  3666. ],
  3667. "tags": [
  3668. "通用市场"
  3669. ],
  3670. "summary": "获取登录账号有权限的市场信息",
  3671. "parameters": [
  3672. {
  3673. "type": "integer",
  3674. "description": "登录账号",
  3675. "name": "loginID",
  3676. "in": "query",
  3677. "required": true
  3678. }
  3679. ],
  3680. "responses": {
  3681. "200": {
  3682. "description": "OK",
  3683. "schema": {
  3684. "$ref": "#/definitions/models.Market"
  3685. }
  3686. },
  3687. "500": {
  3688. "description": "Internal Server Error",
  3689. "schema": {
  3690. "$ref": "#/definitions/app.Response"
  3691. }
  3692. }
  3693. }
  3694. }
  3695. },
  3696. "/Order/QueryHisTradeDetail": {
  3697. "get": {
  3698. "security": [
  3699. {
  3700. "ApiKeyAuth": []
  3701. }
  3702. ],
  3703. "produces": [
  3704. "application/json"
  3705. ],
  3706. "tags": [
  3707. "通用单据"
  3708. ],
  3709. "summary": "历史成交单查询(合约市场)",
  3710. "parameters": [
  3711. {
  3712. "type": "string",
  3713. "description": "资金账户 - 格式:1,2,3",
  3714. "name": "accountID",
  3715. "in": "query",
  3716. "required": true
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "成交单号",
  3721. "name": "tradeID",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "integer",
  3726. "description": "委托单号",
  3727. "name": "orderID",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "string",
  3732. "description": "交易模式 - 格式:1,2,3",
  3733. "name": "tradeMode",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "委托单据类型",
  3739. "name": "buildType",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "string",
  3744. "description": "成交类别 - 格式:1,2,3",
  3745. "name": "tradeType",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "string",
  3750. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3751. "name": "startDate",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3757. "name": "endDate",
  3758. "in": "query"
  3759. }
  3760. ],
  3761. "responses": {
  3762. "200": {
  3763. "description": "OK",
  3764. "schema": {
  3765. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3766. }
  3767. },
  3768. "500": {
  3769. "description": "Internal Server Error",
  3770. "schema": {
  3771. "$ref": "#/definitions/app.Response"
  3772. }
  3773. }
  3774. }
  3775. }
  3776. },
  3777. "/Order/QueryHisTradeOrderDetail": {
  3778. "get": {
  3779. "security": [
  3780. {
  3781. "ApiKeyAuth": []
  3782. }
  3783. ],
  3784. "produces": [
  3785. "application/json"
  3786. ],
  3787. "tags": [
  3788. "通用单据"
  3789. ],
  3790. "summary": "历史委托单查询请求(合约市场)",
  3791. "parameters": [
  3792. {
  3793. "type": "string",
  3794. "description": "资金账户 - 格式:1,2,3",
  3795. "name": "accountID",
  3796. "in": "query",
  3797. "required": true
  3798. },
  3799. {
  3800. "type": "string",
  3801. "description": "交易模式 - 格式:1,2,3",
  3802. "name": "tradeMode",
  3803. "in": "query"
  3804. },
  3805. {
  3806. "type": "string",
  3807. "description": "委托状态 - 格式:1,2,3",
  3808. "name": "orderStatus",
  3809. "in": "query"
  3810. },
  3811. {
  3812. "type": "integer",
  3813. "description": "委托单号",
  3814. "name": "orderID",
  3815. "in": "query"
  3816. },
  3817. {
  3818. "type": "string",
  3819. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3820. "name": "startDate",
  3821. "in": "query"
  3822. },
  3823. {
  3824. "type": "string",
  3825. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3826. "name": "endDate",
  3827. "in": "query"
  3828. }
  3829. ],
  3830. "responses": {
  3831. "200": {
  3832. "description": "OK",
  3833. "schema": {
  3834. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/Order/QueryTradeDetail": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "produces": [
  3854. "application/json"
  3855. ],
  3856. "tags": [
  3857. "通用单据"
  3858. ],
  3859. "summary": "成交单查询(合约市场)",
  3860. "parameters": [
  3861. {
  3862. "type": "string",
  3863. "description": "资金账户 - 格式:1,2,3",
  3864. "name": "accountID",
  3865. "in": "query",
  3866. "required": true
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "成交单号",
  3871. "name": "tradeID",
  3872. "in": "query"
  3873. },
  3874. {
  3875. "type": "integer",
  3876. "description": "委托单号",
  3877. "name": "orderID",
  3878. "in": "query"
  3879. },
  3880. {
  3881. "type": "string",
  3882. "description": "交易模式 - 格式:1,2,3",
  3883. "name": "tradeMode",
  3884. "in": "query"
  3885. },
  3886. {
  3887. "type": "integer",
  3888. "description": "委托单据类型",
  3889. "name": "buildType",
  3890. "in": "query"
  3891. },
  3892. {
  3893. "type": "string",
  3894. "description": "成交类别 - 格式:1,2,3",
  3895. "name": "tradeType",
  3896. "in": "query"
  3897. }
  3898. ],
  3899. "responses": {
  3900. "200": {
  3901. "description": "OK",
  3902. "schema": {
  3903. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3904. }
  3905. },
  3906. "500": {
  3907. "description": "Internal Server Error",
  3908. "schema": {
  3909. "$ref": "#/definitions/app.Response"
  3910. }
  3911. }
  3912. }
  3913. }
  3914. },
  3915. "/Order/QueryTradeOrderDetail": {
  3916. "get": {
  3917. "security": [
  3918. {
  3919. "ApiKeyAuth": []
  3920. }
  3921. ],
  3922. "produces": [
  3923. "application/json"
  3924. ],
  3925. "tags": [
  3926. "通用单据"
  3927. ],
  3928. "summary": "委托单查询请求(合约市场)",
  3929. "parameters": [
  3930. {
  3931. "type": "string",
  3932. "description": "资金账户 - 格式:1,2,3",
  3933. "name": "accountID",
  3934. "in": "query",
  3935. "required": true
  3936. },
  3937. {
  3938. "type": "string",
  3939. "description": "交易模式 - 格式:1,2,3",
  3940. "name": "tradeMode",
  3941. "in": "query"
  3942. },
  3943. {
  3944. "type": "string",
  3945. "description": "委托状态 - 格式:1,2,3",
  3946. "name": "orderStatus",
  3947. "in": "query"
  3948. },
  3949. {
  3950. "type": "integer",
  3951. "description": "委托单号",
  3952. "name": "orderID",
  3953. "in": "query"
  3954. }
  3955. ],
  3956. "responses": {
  3957. "200": {
  3958. "description": "OK",
  3959. "schema": {
  3960. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3961. }
  3962. },
  3963. "500": {
  3964. "description": "Internal Server Error",
  3965. "schema": {
  3966. "$ref": "#/definitions/app.Response"
  3967. }
  3968. }
  3969. }
  3970. }
  3971. },
  3972. "/Order/QueryTradePosition": {
  3973. "get": {
  3974. "security": [
  3975. {
  3976. "ApiKeyAuth": []
  3977. }
  3978. ],
  3979. "produces": [
  3980. "application/json"
  3981. ],
  3982. "tags": [
  3983. "通用单据"
  3984. ],
  3985. "summary": "持仓汇总查询(合约市场)",
  3986. "parameters": [
  3987. {
  3988. "type": "string",
  3989. "description": "资金账户 - 格式:1,2,3",
  3990. "name": "accountID",
  3991. "in": "query",
  3992. "required": true
  3993. },
  3994. {
  3995. "type": "string",
  3996. "description": "交易模式 - 格式:1,2,3",
  3997. "name": "tradeMode",
  3998. "in": "query"
  3999. }
  4000. ],
  4001. "responses": {
  4002. "200": {
  4003. "description": "OK",
  4004. "schema": {
  4005. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4006. }
  4007. },
  4008. "500": {
  4009. "description": "Internal Server Error",
  4010. "schema": {
  4011. "$ref": "#/definitions/app.Response"
  4012. }
  4013. }
  4014. }
  4015. }
  4016. },
  4017. "/Quote/QueryHistoryDatas": {
  4018. "get": {
  4019. "security": [
  4020. {
  4021. "ApiKeyAuth": []
  4022. }
  4023. ],
  4024. "produces": [
  4025. "application/json"
  4026. ],
  4027. "tags": [
  4028. "行情服务"
  4029. ],
  4030. "summary": "查询行情历史数据",
  4031. "parameters": [
  4032. {
  4033. "type": "integer",
  4034. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4035. "name": "cycleType",
  4036. "in": "query",
  4037. "required": true
  4038. },
  4039. {
  4040. "type": "string",
  4041. "description": "商品代码",
  4042. "name": "goodsCode",
  4043. "in": "query",
  4044. "required": true
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4049. "name": "startTime",
  4050. "in": "query"
  4051. },
  4052. {
  4053. "type": "string",
  4054. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4055. "name": "endTime",
  4056. "in": "query"
  4057. },
  4058. {
  4059. "type": "integer",
  4060. "description": "条数",
  4061. "name": "count",
  4062. "in": "query"
  4063. },
  4064. {
  4065. "type": "boolean",
  4066. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4067. "name": "isAsc",
  4068. "in": "query"
  4069. }
  4070. ],
  4071. "responses": {
  4072. "200": {
  4073. "description": "OK",
  4074. "schema": {
  4075. "$ref": "#/definitions/quote.HistoryData"
  4076. }
  4077. },
  4078. "500": {
  4079. "description": "Internal Server Error",
  4080. "schema": {
  4081. "$ref": "#/definitions/app.Response"
  4082. }
  4083. }
  4084. }
  4085. }
  4086. },
  4087. "/Quote/QueryTSData": {
  4088. "get": {
  4089. "produces": [
  4090. "application/json"
  4091. ],
  4092. "tags": [
  4093. "行情服务"
  4094. ],
  4095. "summary": "分时图数据查询",
  4096. "parameters": [
  4097. {
  4098. "type": "string",
  4099. "description": "商品代码",
  4100. "name": "GoodsCode",
  4101. "in": "query",
  4102. "required": true
  4103. }
  4104. ],
  4105. "responses": {
  4106. "200": {
  4107. "description": "OK",
  4108. "schema": {
  4109. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4110. }
  4111. },
  4112. "500": {
  4113. "description": "Internal Server Error",
  4114. "schema": {
  4115. "$ref": "#/definitions/app.Response"
  4116. }
  4117. }
  4118. }
  4119. }
  4120. },
  4121. "/SZDZ/QueryConvertConfig": {
  4122. "get": {
  4123. "security": [
  4124. {
  4125. "ApiKeyAuth": []
  4126. }
  4127. ],
  4128. "produces": [
  4129. "application/json"
  4130. ],
  4131. "tags": [
  4132. "定制【尚志大宗】"
  4133. ],
  4134. "summary": "查询交易系统转换设置",
  4135. "parameters": [
  4136. {
  4137. "type": "integer",
  4138. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4139. "name": "convertType",
  4140. "in": "query"
  4141. },
  4142. {
  4143. "type": "string",
  4144. "description": "外部商品代码[JD\\PD]",
  4145. "name": "outerGoodsCode",
  4146. "in": "query"
  4147. },
  4148. {
  4149. "type": "string",
  4150. "description": "内部商品ID列表[交易],格式:1,2,3",
  4151. "name": "innerGoodsIDs",
  4152. "in": "query"
  4153. }
  4154. ],
  4155. "responses": {
  4156. "200": {
  4157. "description": "OK",
  4158. "schema": {
  4159. "$ref": "#/definitions/models.Szdz3convertconfig"
  4160. }
  4161. },
  4162. "500": {
  4163. "description": "Internal Server Error",
  4164. "schema": {
  4165. "$ref": "#/definitions/app.Response"
  4166. }
  4167. }
  4168. }
  4169. }
  4170. },
  4171. "/SZDZ/QueryConvertLog": {
  4172. "get": {
  4173. "security": [
  4174. {
  4175. "ApiKeyAuth": []
  4176. }
  4177. ],
  4178. "produces": [
  4179. "application/json"
  4180. ],
  4181. "tags": [
  4182. "定制【尚志大宗】"
  4183. ],
  4184. "summary": "交易系统转换流水查询",
  4185. "parameters": [
  4186. {
  4187. "type": "string",
  4188. "description": "资金账户 - 格式:1,2,3",
  4189. "name": "accountID",
  4190. "in": "query",
  4191. "required": true
  4192. },
  4193. {
  4194. "type": "string",
  4195. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4196. "name": "startDate",
  4197. "in": "query"
  4198. },
  4199. {
  4200. "type": "string",
  4201. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4202. "name": "endDate",
  4203. "in": "query"
  4204. }
  4205. ],
  4206. "responses": {
  4207. "200": {
  4208. "description": "OK",
  4209. "schema": {
  4210. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4211. }
  4212. },
  4213. "500": {
  4214. "description": "Internal Server Error",
  4215. "schema": {
  4216. "$ref": "#/definitions/app.Response"
  4217. }
  4218. }
  4219. }
  4220. }
  4221. },
  4222. "/SZDZ/QueryGoodsPickup": {
  4223. "get": {
  4224. "security": [
  4225. {
  4226. "ApiKeyAuth": []
  4227. }
  4228. ],
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "定制【尚志大宗】"
  4234. ],
  4235. "summary": "商品提货单查询",
  4236. "parameters": [
  4237. {
  4238. "type": "string",
  4239. "description": "资金账户 - 格式:1,2,3",
  4240. "name": "accountID",
  4241. "in": "query",
  4242. "required": true
  4243. },
  4244. {
  4245. "type": "integer",
  4246. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4247. "name": "takeOrderStatus",
  4248. "in": "query"
  4249. }
  4250. ],
  4251. "responses": {
  4252. "200": {
  4253. "description": "OK",
  4254. "schema": {
  4255. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/SZDZ/QueryRecieptOrder": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "定制【尚志大宗】"
  4280. ],
  4281. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4282. "parameters": [
  4283. {
  4284. "type": "integer",
  4285. "description": "页码",
  4286. "name": "page",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "每页条数",
  4292. "name": "pagesize",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "商品ID",
  4298. "name": "goodsID",
  4299. "in": "query",
  4300. "required": true
  4301. },
  4302. {
  4303. "type": "string",
  4304. "description": "所属账户名称",
  4305. "name": "accountName",
  4306. "in": "query"
  4307. },
  4308. {
  4309. "type": "integer",
  4310. "description": "市场ID",
  4311. "name": "marketID",
  4312. "in": "query"
  4313. },
  4314. {
  4315. "type": "integer",
  4316. "description": "方向 - 0:买 1:卖",
  4317. "name": "buyorsell",
  4318. "in": "query",
  4319. "required": true
  4320. }
  4321. ],
  4322. "responses": {
  4323. "200": {
  4324. "description": "OK",
  4325. "schema": {
  4326. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4327. }
  4328. },
  4329. "500": {
  4330. "description": "Internal Server Error",
  4331. "schema": {
  4332. "$ref": "#/definitions/app.Response"
  4333. }
  4334. }
  4335. }
  4336. }
  4337. },
  4338. "/SZDZ/QuerySZDZTradePosition": {
  4339. "get": {
  4340. "security": [
  4341. {
  4342. "ApiKeyAuth": []
  4343. }
  4344. ],
  4345. "produces": [
  4346. "application/json"
  4347. ],
  4348. "tags": [
  4349. "定制【尚志大宗】"
  4350. ],
  4351. "summary": "持仓汇总查询(尚志大宗)",
  4352. "parameters": [
  4353. {
  4354. "type": "integer",
  4355. "description": "资金账户",
  4356. "name": "accountID",
  4357. "in": "query",
  4358. "required": true
  4359. }
  4360. ],
  4361. "responses": {
  4362. "200": {
  4363. "description": "OK",
  4364. "schema": {
  4365. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4366. }
  4367. },
  4368. "500": {
  4369. "description": "Internal Server Error",
  4370. "schema": {
  4371. "$ref": "#/definitions/app.Response"
  4372. }
  4373. }
  4374. }
  4375. }
  4376. },
  4377. "/SZDZ/SearchWhite": {
  4378. "get": {
  4379. "security": [
  4380. {
  4381. "ApiKeyAuth": []
  4382. }
  4383. ],
  4384. "produces": [
  4385. "application/json"
  4386. ],
  4387. "tags": [
  4388. "定制【尚志大宗】"
  4389. ],
  4390. "summary": "搜索白名单",
  4391. "parameters": [
  4392. {
  4393. "type": "integer",
  4394. "description": "用户ID",
  4395. "name": "userID",
  4396. "in": "query",
  4397. "required": true
  4398. }
  4399. ],
  4400. "responses": {
  4401. "200": {
  4402. "description": "OK",
  4403. "schema": {
  4404. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4405. }
  4406. },
  4407. "500": {
  4408. "description": "Internal Server Error",
  4409. "schema": {
  4410. "$ref": "#/definitions/app.Response"
  4411. }
  4412. }
  4413. }
  4414. }
  4415. },
  4416. "/Search/SearchGoodses": {
  4417. "get": {
  4418. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "检索服务"
  4424. ],
  4425. "summary": "检索商品信息",
  4426. "parameters": [
  4427. {
  4428. "type": "string",
  4429. "description": "检索内容",
  4430. "name": "content",
  4431. "in": "query",
  4432. "required": true
  4433. },
  4434. {
  4435. "type": "string",
  4436. "description": "交易模式,格式:1,2,3",
  4437. "name": "tradeModes",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "$ref": "#/definitions/models.SearchGoods"
  4446. }
  4447. },
  4448. "500": {
  4449. "description": "Internal Server Error",
  4450. "schema": {
  4451. "$ref": "#/definitions/app.Response"
  4452. }
  4453. }
  4454. }
  4455. }
  4456. },
  4457. "/TaAccount/QueryAmountLog": {
  4458. "get": {
  4459. "security": [
  4460. {
  4461. "ApiKeyAuth": []
  4462. }
  4463. ],
  4464. "produces": [
  4465. "application/json"
  4466. ],
  4467. "tags": [
  4468. "资金账户"
  4469. ],
  4470. "summary": "资金流水查询(当前)",
  4471. "parameters": [
  4472. {
  4473. "type": "integer",
  4474. "description": "页码",
  4475. "name": "page",
  4476. "in": "query"
  4477. },
  4478. {
  4479. "type": "integer",
  4480. "description": "每页条数",
  4481. "name": "pagesize",
  4482. "in": "query"
  4483. },
  4484. {
  4485. "type": "string",
  4486. "description": "资金账户 - 格式:1,2,3",
  4487. "name": "accountID",
  4488. "in": "query",
  4489. "required": true
  4490. },
  4491. {
  4492. "type": "string",
  4493. "description": "资金操作类型 - 格式:1,2,3",
  4494. "name": "OperateType",
  4495. "in": "query"
  4496. }
  4497. ],
  4498. "responses": {
  4499. "200": {
  4500. "description": "OK",
  4501. "schema": {
  4502. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/TaAccount/QueryHisAmountLog": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "资金账户"
  4526. ],
  4527. "summary": "资金流水查询(历史)",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "页码",
  4532. "name": "page",
  4533. "in": "query"
  4534. },
  4535. {
  4536. "type": "integer",
  4537. "description": "每页条数",
  4538. "name": "pagesize",
  4539. "in": "query"
  4540. },
  4541. {
  4542. "type": "string",
  4543. "description": "资金账户 - 格式:1,2,3",
  4544. "name": "accountID",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "string",
  4550. "description": "资金操作类型 - 格式:1,2,3",
  4551. "name": "OperateType",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "string",
  4556. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4557. "name": "startDate",
  4558. "in": "query"
  4559. },
  4560. {
  4561. "type": "string",
  4562. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4563. "name": "endDate",
  4564. "in": "query"
  4565. }
  4566. ],
  4567. "responses": {
  4568. "200": {
  4569. "description": "OK",
  4570. "schema": {
  4571. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4572. }
  4573. },
  4574. "500": {
  4575. "description": "Internal Server Error",
  4576. "schema": {
  4577. "$ref": "#/definitions/app.Response"
  4578. }
  4579. }
  4580. }
  4581. }
  4582. },
  4583. "/Trade/QueryRecieptOrder": {
  4584. "get": {
  4585. "security": [
  4586. {
  4587. "ApiKeyAuth": []
  4588. }
  4589. ],
  4590. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4591. "produces": [
  4592. "application/json"
  4593. ],
  4594. "tags": [
  4595. "通用交易"
  4596. ],
  4597. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4598. "parameters": [
  4599. {
  4600. "type": "integer",
  4601. "description": "页码",
  4602. "name": "page",
  4603. "in": "query"
  4604. },
  4605. {
  4606. "type": "integer",
  4607. "description": "每页条数",
  4608. "name": "pagesize",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "integer",
  4613. "description": "商品ID",
  4614. "name": "goodsID",
  4615. "in": "query",
  4616. "required": true
  4617. },
  4618. {
  4619. "type": "string",
  4620. "description": "所属账户名称",
  4621. "name": "accountName",
  4622. "in": "query"
  4623. },
  4624. {
  4625. "type": "integer",
  4626. "description": "市场ID",
  4627. "name": "marketID",
  4628. "in": "query"
  4629. },
  4630. {
  4631. "type": "integer",
  4632. "description": "方向 - 0:买 1:卖",
  4633. "name": "buyorsell",
  4634. "in": "query",
  4635. "required": true
  4636. }
  4637. ],
  4638. "responses": {
  4639. "200": {
  4640. "description": "OK",
  4641. "schema": {
  4642. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4643. }
  4644. },
  4645. "500": {
  4646. "description": "Internal Server Error",
  4647. "schema": {
  4648. "$ref": "#/definitions/app.Response"
  4649. }
  4650. }
  4651. }
  4652. }
  4653. },
  4654. "/User/AddMessageBoard": {
  4655. "post": {
  4656. "security": [
  4657. {
  4658. "ApiKeyAuth": []
  4659. }
  4660. ],
  4661. "produces": [
  4662. "application/json"
  4663. ],
  4664. "tags": [
  4665. "用户信息"
  4666. ],
  4667. "summary": "添加用户留言板信息",
  4668. "parameters": [
  4669. {
  4670. "type": "integer",
  4671. "description": "用户ID",
  4672. "name": "userID",
  4673. "in": "query",
  4674. "required": true
  4675. },
  4676. {
  4677. "type": "string",
  4678. "description": "留言信息",
  4679. "name": "message",
  4680. "in": "query",
  4681. "required": true
  4682. }
  4683. ],
  4684. "responses": {
  4685. "200": {
  4686. "description": "OK",
  4687. "schema": {
  4688. "$ref": "#/definitions/app.Response"
  4689. }
  4690. },
  4691. "500": {
  4692. "description": "Internal Server Error",
  4693. "schema": {
  4694. "$ref": "#/definitions/app.Response"
  4695. }
  4696. }
  4697. }
  4698. }
  4699. },
  4700. "/User/AddUserFavoriteGoods": {
  4701. "post": {
  4702. "security": [
  4703. {
  4704. "ApiKeyAuth": []
  4705. }
  4706. ],
  4707. "produces": [
  4708. "application/json"
  4709. ],
  4710. "tags": [
  4711. "用户信息"
  4712. ],
  4713. "summary": "添加用户商品收藏信息",
  4714. "parameters": [
  4715. {
  4716. "type": "integer",
  4717. "description": "用户ID",
  4718. "name": "userID",
  4719. "in": "query",
  4720. "required": true
  4721. },
  4722. {
  4723. "type": "integer",
  4724. "description": "商品ID",
  4725. "name": "goodsID",
  4726. "in": "query",
  4727. "required": true
  4728. }
  4729. ],
  4730. "responses": {
  4731. "200": {
  4732. "description": "OK",
  4733. "schema": {
  4734. "$ref": "#/definitions/app.Response"
  4735. }
  4736. },
  4737. "500": {
  4738. "description": "Internal Server Error",
  4739. "schema": {
  4740. "$ref": "#/definitions/app.Response"
  4741. }
  4742. }
  4743. }
  4744. }
  4745. },
  4746. "/User/GetLoginID": {
  4747. "get": {
  4748. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4749. "produces": [
  4750. "application/json"
  4751. ],
  4752. "tags": [
  4753. "用户信息"
  4754. ],
  4755. "summary": "获取登录ID",
  4756. "parameters": [
  4757. {
  4758. "type": "string",
  4759. "description": "登录代码",
  4760. "name": "username",
  4761. "in": "query",
  4762. "required": true
  4763. }
  4764. ],
  4765. "responses": {
  4766. "200": {
  4767. "description": "OK",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. },
  4772. "500": {
  4773. "description": "Internal Server Error",
  4774. "schema": {
  4775. "$ref": "#/definitions/app.Response"
  4776. }
  4777. }
  4778. }
  4779. }
  4780. },
  4781. "/User/GetUserAccount": {
  4782. "get": {
  4783. "security": [
  4784. {
  4785. "ApiKeyAuth": []
  4786. }
  4787. ],
  4788. "produces": [
  4789. "application/json"
  4790. ],
  4791. "tags": [
  4792. "用户信息"
  4793. ],
  4794. "summary": "获取用户账号信息",
  4795. "parameters": [
  4796. {
  4797. "type": "integer",
  4798. "description": "用户ID",
  4799. "name": "userID",
  4800. "in": "query",
  4801. "required": true
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "$ref": "#/definitions/models.Useraccount"
  4809. }
  4810. },
  4811. "500": {
  4812. "description": "Internal Server Error",
  4813. "schema": {
  4814. "$ref": "#/definitions/app.Response"
  4815. }
  4816. }
  4817. }
  4818. }
  4819. },
  4820. "/User/GetUserAuthStatus": {
  4821. "get": {
  4822. "security": [
  4823. {
  4824. "ApiKeyAuth": []
  4825. }
  4826. ],
  4827. "produces": [
  4828. "application/json"
  4829. ],
  4830. "tags": [
  4831. "用户信息"
  4832. ],
  4833. "summary": "获取用户实名认证状态",
  4834. "parameters": [
  4835. {
  4836. "type": "integer",
  4837. "description": "用户ID",
  4838. "name": "userID",
  4839. "in": "query",
  4840. "required": true
  4841. }
  4842. ],
  4843. "responses": {
  4844. "200": {
  4845. "description": "OK",
  4846. "schema": {
  4847. "$ref": "#/definitions/app.Response"
  4848. }
  4849. },
  4850. "500": {
  4851. "description": "Internal Server Error",
  4852. "schema": {
  4853. "$ref": "#/definitions/app.Response"
  4854. }
  4855. }
  4856. }
  4857. }
  4858. },
  4859. "/User/QueryMessageBoard": {
  4860. "get": {
  4861. "security": [
  4862. {
  4863. "ApiKeyAuth": []
  4864. }
  4865. ],
  4866. "produces": [
  4867. "application/json"
  4868. ],
  4869. "tags": [
  4870. "用户信息"
  4871. ],
  4872. "summary": "获取用户留言板信息",
  4873. "parameters": [
  4874. {
  4875. "type": "integer",
  4876. "description": "用户ID",
  4877. "name": "userID",
  4878. "in": "query",
  4879. "required": true
  4880. }
  4881. ],
  4882. "responses": {
  4883. "200": {
  4884. "description": "OK",
  4885. "schema": {
  4886. "$ref": "#/definitions/models.Messageboard"
  4887. }
  4888. },
  4889. "500": {
  4890. "description": "Internal Server Error",
  4891. "schema": {
  4892. "$ref": "#/definitions/app.Response"
  4893. }
  4894. }
  4895. }
  4896. }
  4897. },
  4898. "/User/QueryUserFavoriteGoodses": {
  4899. "get": {
  4900. "security": [
  4901. {
  4902. "ApiKeyAuth": []
  4903. }
  4904. ],
  4905. "produces": [
  4906. "application/json"
  4907. ],
  4908. "tags": [
  4909. "用户信息"
  4910. ],
  4911. "summary": "获取用户商品收藏信息",
  4912. "parameters": [
  4913. {
  4914. "type": "integer",
  4915. "description": "用户ID",
  4916. "name": "userID",
  4917. "in": "query",
  4918. "required": true
  4919. }
  4920. ],
  4921. "responses": {
  4922. "200": {
  4923. "description": "OK",
  4924. "schema": {
  4925. "$ref": "#/definitions/models.Userfavoritegoods"
  4926. }
  4927. },
  4928. "500": {
  4929. "description": "Internal Server Error",
  4930. "schema": {
  4931. "$ref": "#/definitions/app.Response"
  4932. }
  4933. }
  4934. }
  4935. }
  4936. },
  4937. "/User/QueryUserInfo": {
  4938. "get": {
  4939. "security": [
  4940. {
  4941. "ApiKeyAuth": []
  4942. }
  4943. ],
  4944. "produces": [
  4945. "application/json"
  4946. ],
  4947. "tags": [
  4948. "用户信息"
  4949. ],
  4950. "summary": "获取用户信息",
  4951. "parameters": [
  4952. {
  4953. "type": "integer",
  4954. "description": "用户ID",
  4955. "name": "userID",
  4956. "in": "query",
  4957. "required": true
  4958. }
  4959. ],
  4960. "responses": {
  4961. "200": {
  4962. "description": "OK",
  4963. "schema": {
  4964. "$ref": "#/definitions/models.Userinfo"
  4965. }
  4966. },
  4967. "500": {
  4968. "description": "Internal Server Error",
  4969. "schema": {
  4970. "$ref": "#/definitions/app.Response"
  4971. }
  4972. }
  4973. }
  4974. }
  4975. },
  4976. "/User/QueryUserReferNum": {
  4977. "get": {
  4978. "produces": [
  4979. "application/json"
  4980. ],
  4981. "tags": [
  4982. "用户信息"
  4983. ],
  4984. "summary": "获取用户邀请码",
  4985. "parameters": [
  4986. {
  4987. "type": "integer",
  4988. "description": "用户ID",
  4989. "name": "userID",
  4990. "in": "query",
  4991. "required": true
  4992. }
  4993. ],
  4994. "responses": {
  4995. "200": {
  4996. "description": "OK",
  4997. "schema": {
  4998. "$ref": "#/definitions/app.Response"
  4999. }
  5000. },
  5001. "500": {
  5002. "description": "Internal Server Error",
  5003. "schema": {
  5004. "$ref": "#/definitions/app.Response"
  5005. }
  5006. }
  5007. }
  5008. }
  5009. },
  5010. "/User/RemoveUserFavoriteGoods": {
  5011. "post": {
  5012. "security": [
  5013. {
  5014. "ApiKeyAuth": []
  5015. }
  5016. ],
  5017. "produces": [
  5018. "application/json"
  5019. ],
  5020. "tags": [
  5021. "用户信息"
  5022. ],
  5023. "summary": "移除用户商品收藏信息",
  5024. "parameters": [
  5025. {
  5026. "type": "integer",
  5027. "description": "用户ID",
  5028. "name": "userID",
  5029. "in": "query",
  5030. "required": true
  5031. },
  5032. {
  5033. "type": "integer",
  5034. "description": "商品ID",
  5035. "name": "goodsID",
  5036. "in": "query",
  5037. "required": true
  5038. }
  5039. ],
  5040. "responses": {
  5041. "200": {
  5042. "description": "OK",
  5043. "schema": {
  5044. "$ref": "#/definitions/app.Response"
  5045. }
  5046. },
  5047. "500": {
  5048. "description": "Internal Server Error",
  5049. "schema": {
  5050. "$ref": "#/definitions/app.Response"
  5051. }
  5052. }
  5053. }
  5054. }
  5055. },
  5056. "/WR/GetWRCategoryInfo": {
  5057. "get": {
  5058. "produces": [
  5059. "application/json"
  5060. ],
  5061. "tags": [
  5062. "仓单服务"
  5063. ],
  5064. "summary": "获取现货分类信息",
  5065. "responses": {
  5066. "200": {
  5067. "description": "OK",
  5068. "schema": {
  5069. "$ref": "#/definitions/models.WRCategoryTree"
  5070. }
  5071. },
  5072. "500": {
  5073. "description": "Internal Server Error",
  5074. "schema": {
  5075. "$ref": "#/definitions/app.Response"
  5076. }
  5077. }
  5078. }
  5079. }
  5080. },
  5081. "/WRTrade/GetAllDeliveryGoods": {
  5082. "get": {
  5083. "security": [
  5084. {
  5085. "ApiKeyAuth": []
  5086. },
  5087. {
  5088. "ApiKeyAuth": []
  5089. }
  5090. ],
  5091. "produces": [
  5092. "application/json",
  5093. "application/json"
  5094. ],
  5095. "tags": [
  5096. "仓单贸易",
  5097. "仓单贸易"
  5098. ],
  5099. "summary": "获取带仓单分类的种类信息",
  5100. "responses": {
  5101. "200": {
  5102. "description": "OK",
  5103. "schema": {
  5104. "$ref": "#/definitions/app.Response"
  5105. }
  5106. },
  5107. "500": {
  5108. "description": "Internal Server Error",
  5109. "schema": {
  5110. "$ref": "#/definitions/app.Response"
  5111. }
  5112. }
  5113. }
  5114. }
  5115. }
  5116. },
  5117. "definitions": {
  5118. "app.Response": {
  5119. "type": "object",
  5120. "properties": {
  5121. "code": {
  5122. "type": "integer"
  5123. },
  5124. "data": {
  5125. "type": "object"
  5126. },
  5127. "msg": {
  5128. "type": "string"
  5129. },
  5130. "page": {
  5131. "description": "页码",
  5132. "type": "integer"
  5133. },
  5134. "pagesize": {
  5135. "description": "每页条数",
  5136. "type": "integer"
  5137. },
  5138. "total": {
  5139. "description": "总条数",
  5140. "type": "integer"
  5141. }
  5142. }
  5143. },
  5144. "common.QueryNoticeRsp": {
  5145. "type": "object",
  5146. "required": [
  5147. "autoid"
  5148. ],
  5149. "properties": {
  5150. "auditoruserid": {
  5151. "description": "审核人",
  5152. "type": "integer"
  5153. },
  5154. "auditremark": {
  5155. "description": "审核备注",
  5156. "type": "string"
  5157. },
  5158. "audittime": {
  5159. "description": "审核日期",
  5160. "type": "string"
  5161. },
  5162. "autoid": {
  5163. "description": "自增ID",
  5164. "type": "integer"
  5165. },
  5166. "content": {
  5167. "description": "内容",
  5168. "type": "string"
  5169. },
  5170. "createtime": {
  5171. "description": "创建时间",
  5172. "type": "string"
  5173. },
  5174. "creatorid": {
  5175. "description": "建仓人",
  5176. "type": "integer"
  5177. },
  5178. "endtime": {
  5179. "description": "结束时间",
  5180. "type": "string"
  5181. },
  5182. "istop": {
  5183. "description": "是否置顶 - 0:不置顶 1:置顶",
  5184. "type": "integer"
  5185. },
  5186. "msgiconurl": {
  5187. "description": "消息图标Url",
  5188. "type": "string"
  5189. },
  5190. "msgtype": {
  5191. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5192. "type": "integer"
  5193. },
  5194. "publisher": {
  5195. "description": "消息发布者",
  5196. "type": "string"
  5197. },
  5198. "readed": {
  5199. "description": "是否已读",
  5200. "type": "boolean"
  5201. },
  5202. "scheduletime": {
  5203. "description": "计划发送时间",
  5204. "type": "string"
  5205. },
  5206. "sendtype": {
  5207. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5208. "type": "integer"
  5209. },
  5210. "sentstatus": {
  5211. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5212. "type": "integer"
  5213. },
  5214. "title": {
  5215. "description": "标题",
  5216. "type": "string"
  5217. },
  5218. "userid": {
  5219. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5220. "type": "integer"
  5221. }
  5222. }
  5223. },
  5224. "common.QueryProvincesAndCitiesRsp": {
  5225. "type": "object",
  5226. "properties": {
  5227. "cities": {
  5228. "description": "市",
  5229. "type": "array",
  5230. "items": {
  5231. "$ref": "#/definitions/models.Division"
  5232. }
  5233. },
  5234. "province": {
  5235. "description": "省",
  5236. "type": "object",
  5237. "$ref": "#/definitions/models.Division"
  5238. }
  5239. }
  5240. },
  5241. "common.QueryTableDefineRsp": {
  5242. "type": "object",
  5243. "required": [
  5244. "tablekey"
  5245. ],
  5246. "properties": {
  5247. "columns": {
  5248. "description": "列头信息数组",
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Tablecolumnconfig"
  5252. }
  5253. },
  5254. "remark": {
  5255. "description": "Remark",
  5256. "type": "string"
  5257. },
  5258. "tabelmenu": {
  5259. "description": "列表菜单",
  5260. "type": "string"
  5261. },
  5262. "tablekey": {
  5263. "description": "列表Key",
  5264. "type": "string"
  5265. },
  5266. "tablename": {
  5267. "description": "列表名称",
  5268. "type": "string"
  5269. },
  5270. "tabletype": {
  5271. "description": "列表类型 - 1:管理端 2:终端",
  5272. "type": "integer"
  5273. }
  5274. }
  5275. },
  5276. "common.QueryTraderMenuRsp": {
  5277. "type": "object",
  5278. "properties": {
  5279. "OperationMenu": {
  5280. "description": "功能菜单",
  5281. "type": "array",
  5282. "items": {
  5283. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5284. }
  5285. },
  5286. "QuoteMenu": {
  5287. "description": "报价牌分类菜单",
  5288. "type": "array",
  5289. "items": {
  5290. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5291. }
  5292. }
  5293. }
  5294. },
  5295. "cptrade.Cptradepositioncancel": {
  5296. "type": "object",
  5297. "required": [
  5298. "cancelid"
  5299. ],
  5300. "properties": {
  5301. "accountid": {
  5302. "description": "申请人账户ID",
  5303. "type": "integer"
  5304. },
  5305. "applystatus": {
  5306. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5307. "type": "integer"
  5308. },
  5309. "applytime": {
  5310. "description": "申请时间",
  5311. "type": "string"
  5312. },
  5313. "cancelid": {
  5314. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5315. "type": "integer"
  5316. },
  5317. "cancelqty": {
  5318. "description": "注销数量",
  5319. "type": "integer"
  5320. },
  5321. "createtime": {
  5322. "description": "创建时间",
  5323. "type": "string"
  5324. },
  5325. "creatorid": {
  5326. "description": "创建人ID",
  5327. "type": "integer"
  5328. },
  5329. "creatorname": {
  5330. "description": "创建人",
  5331. "type": "string"
  5332. },
  5333. "goodscode": {
  5334. "description": "订单商品代码",
  5335. "type": "string"
  5336. },
  5337. "goodsid": {
  5338. "description": "商品ID",
  5339. "type": "integer"
  5340. },
  5341. "goodsname": {
  5342. "description": "订单商品名称",
  5343. "type": "string"
  5344. },
  5345. "goodunit": {
  5346. "description": "报价单位",
  5347. "type": "string"
  5348. },
  5349. "handlestatus": {
  5350. "description": "处理状态",
  5351. "type": "integer"
  5352. },
  5353. "marketid": {
  5354. "description": "市场ID",
  5355. "type": "integer"
  5356. },
  5357. "marketname": {
  5358. "description": "市场名称",
  5359. "type": "string"
  5360. },
  5361. "tradedate": {
  5362. "description": "交易日(yyyyMMdd)",
  5363. "type": "string"
  5364. },
  5365. "userid": {
  5366. "description": "申请人ID",
  5367. "type": "integer"
  5368. }
  5369. }
  5370. },
  5371. "cptrade.Cptradepresaleapply": {
  5372. "type": "object",
  5373. "required": [
  5374. "applyid"
  5375. ],
  5376. "properties": {
  5377. "accountid": {
  5378. "description": "申请人账户ID",
  5379. "type": "integer"
  5380. },
  5381. "applyid": {
  5382. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5383. "type": "integer"
  5384. },
  5385. "applyremark": {
  5386. "description": "申请备注",
  5387. "type": "string"
  5388. },
  5389. "applystatus": {
  5390. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5391. "type": "integer"
  5392. },
  5393. "applytime": {
  5394. "description": "申请时间",
  5395. "type": "string"
  5396. },
  5397. "attachmenturl": {
  5398. "description": "附件地址",
  5399. "type": "string"
  5400. },
  5401. "endtime": {
  5402. "description": "预售结束时间",
  5403. "type": "string"
  5404. },
  5405. "goodscode": {
  5406. "description": "商品代码",
  5407. "type": "string"
  5408. },
  5409. "goodsid": {
  5410. "description": "商品ID",
  5411. "type": "integer"
  5412. },
  5413. "goodsname": {
  5414. "description": "商品名称",
  5415. "type": "string"
  5416. },
  5417. "goodunit": {
  5418. "description": "报价单位",
  5419. "type": "string"
  5420. },
  5421. "handlestatus": {
  5422. "description": "处理状态",
  5423. "type": "integer"
  5424. },
  5425. "marketid": {
  5426. "description": "预售市场ID",
  5427. "type": "integer"
  5428. },
  5429. "marketname": {
  5430. "description": "预售市场名称",
  5431. "type": "string"
  5432. },
  5433. "presaleqty": {
  5434. "description": "预售数量",
  5435. "type": "integer"
  5436. },
  5437. "relatedgoodscode": {
  5438. "description": "关联交易合约代码",
  5439. "type": "string"
  5440. },
  5441. "relatedgoodsid": {
  5442. "description": "关联交易合约ID",
  5443. "type": "integer"
  5444. },
  5445. "relatedgoodsname": {
  5446. "description": "关联交易合约名称",
  5447. "type": "string"
  5448. },
  5449. "starttime": {
  5450. "description": "预售开始时间",
  5451. "type": "string"
  5452. },
  5453. "tradedate": {
  5454. "description": "交易日(yyyyMMdd)",
  5455. "type": "string"
  5456. },
  5457. "trademode": {
  5458. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5459. "type": "integer"
  5460. },
  5461. "userid": {
  5462. "description": "申请人ID",
  5463. "type": "integer"
  5464. }
  5465. }
  5466. },
  5467. "cptrade.Cptradeusergoodsdata": {
  5468. "type": "object",
  5469. "required": [
  5470. "accountid",
  5471. "goodsid"
  5472. ],
  5473. "properties": {
  5474. "EnabledQty": {
  5475. "description": "可用量",
  5476. "type": "integer"
  5477. },
  5478. "GoodsCode": {
  5479. "description": "订单商品代码",
  5480. "type": "string"
  5481. },
  5482. "GoodsName": {
  5483. "description": "订单商品名称",
  5484. "type": "string"
  5485. },
  5486. "WRStandardCode": {
  5487. "description": "仓单标准代码",
  5488. "type": "string"
  5489. },
  5490. "WRStandardName": {
  5491. "description": "仓单标准名称",
  5492. "type": "string"
  5493. },
  5494. "accountid": {
  5495. "description": "账户ID",
  5496. "type": "integer"
  5497. },
  5498. "cancelqty": {
  5499. "description": "注销量",
  5500. "type": "integer"
  5501. },
  5502. "curpresaleqty": {
  5503. "description": "当前预售量",
  5504. "type": "integer"
  5505. },
  5506. "deliveryqty": {
  5507. "description": "交割量",
  5508. "type": "integer"
  5509. },
  5510. "freezeamount": {
  5511. "description": "冻结金额",
  5512. "type": "number"
  5513. },
  5514. "goodsid": {
  5515. "description": "商品ID",
  5516. "type": "integer"
  5517. },
  5518. "goodunit": {
  5519. "description": "报价单位",
  5520. "type": "string"
  5521. },
  5522. "hasspotfreeze": {
  5523. "description": "是否有现货冻结 - 0:否 1:有",
  5524. "type": "integer"
  5525. },
  5526. "inqty": {
  5527. "description": "转入量(总数量)",
  5528. "type": "integer"
  5529. },
  5530. "marketid": {
  5531. "description": "市场ID",
  5532. "type": "integer"
  5533. },
  5534. "presaledamount": {
  5535. "description": "已预售总金额",
  5536. "type": "integer"
  5537. },
  5538. "presaledqty": {
  5539. "description": "已预售量",
  5540. "type": "integer"
  5541. },
  5542. "userid": {
  5543. "description": "用户ID",
  5544. "type": "integer"
  5545. },
  5546. "wrstandardid": {
  5547. "description": "仓单标准ID",
  5548. "type": "integer"
  5549. }
  5550. }
  5551. },
  5552. "cptrade.QueryCPTradeMyBidRsp": {
  5553. "type": "object",
  5554. "required": [
  5555. "accountid",
  5556. "goodsid",
  5557. "marketid",
  5558. "orderid",
  5559. "orderqty",
  5560. "ordertime",
  5561. "tradeprice",
  5562. "tradeqty"
  5563. ],
  5564. "properties": {
  5565. "accountid": {
  5566. "description": "账户ID[报价币种]",
  5567. "type": "integer"
  5568. },
  5569. "goodsid": {
  5570. "description": "商品ID",
  5571. "type": "integer"
  5572. },
  5573. "goodunit": {
  5574. "description": "报价单位",
  5575. "type": "string"
  5576. },
  5577. "marketid": {
  5578. "description": "市场ID",
  5579. "type": "integer"
  5580. },
  5581. "orderid": {
  5582. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5583. "type": "integer"
  5584. },
  5585. "orderprice": {
  5586. "description": "委托价格",
  5587. "type": "number"
  5588. },
  5589. "orderqty": {
  5590. "description": "委托数量",
  5591. "type": "integer"
  5592. },
  5593. "ordertime": {
  5594. "description": "委托时间",
  5595. "type": "string"
  5596. },
  5597. "ordertotalprice": {
  5598. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5599. "type": "number"
  5600. },
  5601. "ordertotalweight": {
  5602. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5603. "type": "integer"
  5604. },
  5605. "totaltotalprice": {
  5606. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5607. "type": "number"
  5608. },
  5609. "tradeprice": {
  5610. "description": "成交价格",
  5611. "type": "number"
  5612. },
  5613. "tradeqty": {
  5614. "description": "成交数量",
  5615. "type": "integer"
  5616. }
  5617. }
  5618. },
  5619. "cptrade.QueryCPTradeOrderDetailRsq": {
  5620. "type": "object",
  5621. "required": [
  5622. "accountid",
  5623. "buildtype",
  5624. "buyorsell",
  5625. "goodsid",
  5626. "marketid",
  5627. "memberuserid",
  5628. "operatetype",
  5629. "orderqty",
  5630. "ordertime",
  5631. "pricemode",
  5632. "strorderid",
  5633. "tradedate",
  5634. "validtype"
  5635. ],
  5636. "properties": {
  5637. "accountid": {
  5638. "description": "账户ID[报价币种]",
  5639. "type": "integer"
  5640. },
  5641. "buildtype": {
  5642. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5643. "type": "integer"
  5644. },
  5645. "buyorsell": {
  5646. "description": "买卖 - 0:买 1:卖",
  5647. "type": "integer"
  5648. },
  5649. "cancelorderid": {
  5650. "description": "撤单单号(撤单时填写)",
  5651. "type": "integer"
  5652. },
  5653. "cancelqty": {
  5654. "description": "撤单数量",
  5655. "type": "integer"
  5656. },
  5657. "clientordertime": {
  5658. "description": "客户端委托时间",
  5659. "type": "string"
  5660. },
  5661. "clientticket": {
  5662. "description": "客户端流水号",
  5663. "type": "string"
  5664. },
  5665. "clienttype": {
  5666. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5667. "type": "integer"
  5668. },
  5669. "closeexchagechargevalue": {
  5670. "description": "平仓交易所手续费设置值",
  5671. "type": "number"
  5672. },
  5673. "closefeealgorithm": {
  5674. "description": "平仓手续费收取方式 1:比率 2:固定",
  5675. "type": "integer"
  5676. },
  5677. "closefreezecharge": {
  5678. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5679. "type": "number"
  5680. },
  5681. "closememberchargevalue": {
  5682. "description": "平仓会员手续费设置值",
  5683. "type": "number"
  5684. },
  5685. "closeqty": {
  5686. "description": "平仓数量(先建后平操作 需要记录)",
  5687. "type": "integer"
  5688. },
  5689. "closetradeqty": {
  5690. "description": "平仓成交数量(先建后平操作,需要记录)",
  5691. "type": "integer"
  5692. },
  5693. "closeunfreezecharge": {
  5694. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5695. "type": "number"
  5696. },
  5697. "delistingtype": {
  5698. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5699. "type": "integer"
  5700. },
  5701. "freezecharge": {
  5702. "description": "冻结手续费",
  5703. "type": "number"
  5704. },
  5705. "freezemargin": {
  5706. "description": "冻结保证金(冻结交易金额)",
  5707. "type": "number"
  5708. },
  5709. "gcaccountid": {
  5710. "description": "账户ID[合约币种]",
  5711. "type": "integer"
  5712. },
  5713. "goodsid": {
  5714. "description": "商品ID",
  5715. "type": "integer"
  5716. },
  5717. "isconfirmexercise": {
  5718. "description": "是否确认行权- 0:否 1:是",
  5719. "type": "integer"
  5720. },
  5721. "ispreexercise": {
  5722. "description": "是否预申报- 0:否 1:是",
  5723. "type": "integer"
  5724. },
  5725. "listingselecttype": {
  5726. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5727. "type": "integer"
  5728. },
  5729. "marginalgorithm": {
  5730. "description": "保证金收取方式 1:比率 2:固定",
  5731. "type": "integer"
  5732. },
  5733. "marginvalue": {
  5734. "description": "即市保证金设置值",
  5735. "type": "number"
  5736. },
  5737. "marketid": {
  5738. "description": "市场ID",
  5739. "type": "integer"
  5740. },
  5741. "marketmaxsub": {
  5742. "description": "市价最大偏移范围",
  5743. "type": "number"
  5744. },
  5745. "memberuserid": {
  5746. "description": "所属会员UserID",
  5747. "type": "integer"
  5748. },
  5749. "openexchagechargevalue": {
  5750. "description": "建仓交易所手续费设置值",
  5751. "type": "number"
  5752. },
  5753. "openfeealgorithm": {
  5754. "description": "建仓手续费收取方式 1:比率 2:固定",
  5755. "type": "integer"
  5756. },
  5757. "openfreezecharge": {
  5758. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5759. "type": "number"
  5760. },
  5761. "openmemberchargevalue": {
  5762. "description": "建仓会员手续费设置值",
  5763. "type": "number"
  5764. },
  5765. "openqty": {
  5766. "description": "开仓数量(先建后平操作,需要记录)",
  5767. "type": "integer"
  5768. },
  5769. "opentradeqty": {
  5770. "description": "开仓成交数量(先建后平操作,需要记录)",
  5771. "type": "integer"
  5772. },
  5773. "openunfreezecharge": {
  5774. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5775. "type": "number"
  5776. },
  5777. "operatetype": {
  5778. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5779. "type": "integer"
  5780. },
  5781. "operatorid": {
  5782. "description": "登录账号(LoginID)",
  5783. "type": "integer"
  5784. },
  5785. "optiontype": {
  5786. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5787. "type": "integer"
  5788. },
  5789. "orderprice": {
  5790. "description": "委托价格",
  5791. "type": "number"
  5792. },
  5793. "orderqty": {
  5794. "description": "委托数量",
  5795. "type": "integer"
  5796. },
  5797. "ordersrc": {
  5798. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5799. "type": "integer"
  5800. },
  5801. "orderstatus": {
  5802. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5803. "type": "integer"
  5804. },
  5805. "ordertime": {
  5806. "description": "委托时间",
  5807. "type": "string"
  5808. },
  5809. "preexerciseprice": {
  5810. "description": "预申报价格",
  5811. "type": "number"
  5812. },
  5813. "premium": {
  5814. "description": "权利金",
  5815. "type": "number"
  5816. },
  5817. "preorderid": {
  5818. "description": "关联预埋单号(止盈止损单时填写)",
  5819. "type": "integer"
  5820. },
  5821. "pricemode": {
  5822. "description": "取价方式 - 1:市价 2: 限价",
  5823. "type": "integer"
  5824. },
  5825. "quoteid": {
  5826. "description": "报价单ID",
  5827. "type": "integer"
  5828. },
  5829. "relatedid": {
  5830. "description": "关联单号(交割单)",
  5831. "type": "integer"
  5832. },
  5833. "retcode": {
  5834. "description": "错误代码",
  5835. "type": "integer"
  5836. },
  5837. "sessionid": {
  5838. "description": "会话ID",
  5839. "type": "integer"
  5840. },
  5841. "strorderid": {
  5842. "description": "委托单号",
  5843. "type": "string"
  5844. },
  5845. "tradedate": {
  5846. "description": "交易日(yyyyMMdd)",
  5847. "type": "string"
  5848. },
  5849. "tradeproperty": {
  5850. "description": "交易属性",
  5851. "type": "integer"
  5852. },
  5853. "tradeqty": {
  5854. "description": "成交数量",
  5855. "type": "integer"
  5856. },
  5857. "unfreezecharge": {
  5858. "description": "解冻手续费",
  5859. "type": "number"
  5860. },
  5861. "unfreezemargin": {
  5862. "description": "解冻保证金",
  5863. "type": "number"
  5864. },
  5865. "updatetime": {
  5866. "description": "更新时间",
  5867. "type": "string"
  5868. },
  5869. "uuid": {
  5870. "description": "发起端唯一id",
  5871. "type": "string"
  5872. },
  5873. "validtime": {
  5874. "description": "有效期限",
  5875. "type": "string"
  5876. },
  5877. "validtype": {
  5878. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5879. "type": "integer"
  5880. },
  5881. "volumetype": {
  5882. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5883. "type": "integer"
  5884. }
  5885. }
  5886. },
  5887. "cptrade.QueryMyCPTradeGoodsRsp": {
  5888. "type": "object",
  5889. "required": [
  5890. "goodscode",
  5891. "goodsid",
  5892. "goodsname",
  5893. "marketid",
  5894. "relatedgoodscode",
  5895. "relatedgoodsname"
  5896. ],
  5897. "properties": {
  5898. "accountid": {
  5899. "description": "卖方账户ID",
  5900. "type": "integer"
  5901. },
  5902. "agreeunit": {
  5903. "description": "合约单位",
  5904. "type": "number"
  5905. },
  5906. "applyid": {
  5907. "description": "关联申请ID",
  5908. "type": "integer"
  5909. },
  5910. "attachmenturl": {
  5911. "description": "附件地址",
  5912. "type": "string"
  5913. },
  5914. "createtime": {
  5915. "description": "创建时间",
  5916. "type": "string"
  5917. },
  5918. "currencyid": {
  5919. "description": "报价货币ID",
  5920. "type": "integer"
  5921. },
  5922. "decimalplace": {
  5923. "description": "报价小数位",
  5924. "type": "integer"
  5925. },
  5926. "endtime": {
  5927. "description": "预售结束时间",
  5928. "type": "string"
  5929. },
  5930. "floorprice": {
  5931. "description": "底价[大宗式竞拍]",
  5932. "type": "number"
  5933. },
  5934. "goodscode": {
  5935. "description": "商品代码(预售)",
  5936. "type": "string"
  5937. },
  5938. "goodsdetail": {
  5939. "description": "详情[大宗]",
  5940. "type": "string"
  5941. },
  5942. "goodsid": {
  5943. "description": "商品ID(自增ID SEQ_GOODS)",
  5944. "type": "integer"
  5945. },
  5946. "goodsname": {
  5947. "description": "商品名称(预售)",
  5948. "type": "string"
  5949. },
  5950. "goodunit": {
  5951. "description": "报价单位",
  5952. "type": "string"
  5953. },
  5954. "goodunitid": {
  5955. "description": "报价单位ID",
  5956. "type": "integer"
  5957. },
  5958. "marketid": {
  5959. "description": "所属市场ID",
  5960. "type": "integer"
  5961. },
  5962. "marketname": {
  5963. "description": "预售市场名称",
  5964. "type": "string"
  5965. },
  5966. "presaledamount": {
  5967. "description": "已预售总金额(预售结束时更新)",
  5968. "type": "number"
  5969. },
  5970. "presaledqty": {
  5971. "description": "已预售量(预售结束时更新)",
  5972. "type": "integer"
  5973. },
  5974. "presalemode": {
  5975. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5976. "type": "integer"
  5977. },
  5978. "presaleqty": {
  5979. "description": "预售数量",
  5980. "type": "integer"
  5981. },
  5982. "refprice": {
  5983. "description": "参考价格[一口价]",
  5984. "type": "number"
  5985. },
  5986. "relatedgoodscode": {
  5987. "description": "商品代码(订单)",
  5988. "type": "string"
  5989. },
  5990. "relatedgoodsid": {
  5991. "description": "关联交易合约ID",
  5992. "type": "integer"
  5993. },
  5994. "relatedgoodsname": {
  5995. "description": "商品名称(订单)",
  5996. "type": "string"
  5997. },
  5998. "relatedmarketid": {
  5999. "description": "关联交易合约市场ID",
  6000. "type": "integer"
  6001. },
  6002. "sellstatus": {
  6003. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6004. "type": "integer"
  6005. },
  6006. "startprice": {
  6007. "description": "起拍价[大宗式竞拍]",
  6008. "type": "number"
  6009. },
  6010. "starttime": {
  6011. "description": "预售开始时间",
  6012. "type": "string"
  6013. },
  6014. "tradedate": {
  6015. "description": "交易日(yyyyMMdd)",
  6016. "type": "string"
  6017. },
  6018. "tradeprice": {
  6019. "description": "成交价[大宗]",
  6020. "type": "number"
  6021. },
  6022. "userid": {
  6023. "description": "卖方用户ID",
  6024. "type": "integer"
  6025. }
  6026. }
  6027. },
  6028. "cptrade.QueryPresaleGoodsExRsp": {
  6029. "type": "object",
  6030. "required": [
  6031. "goodsid"
  6032. ],
  6033. "properties": {
  6034. "attachmenturl": {
  6035. "description": "附件地址",
  6036. "type": "string"
  6037. },
  6038. "createtime": {
  6039. "description": "创建时间",
  6040. "type": "string"
  6041. },
  6042. "endtime": {
  6043. "description": "预售结束时间",
  6044. "type": "string"
  6045. },
  6046. "floorprice": {
  6047. "description": "底价[大宗式竞拍]",
  6048. "type": "number"
  6049. },
  6050. "goodsdetail": {
  6051. "description": "详情[大宗]",
  6052. "type": "string"
  6053. },
  6054. "goodsid": {
  6055. "description": "商品ID(预售)",
  6056. "type": "integer"
  6057. },
  6058. "goodunit": {
  6059. "description": "报价单位",
  6060. "type": "string"
  6061. },
  6062. "marketid": {
  6063. "description": "预售市场ID - 根据预售模式选择市场",
  6064. "type": "integer"
  6065. },
  6066. "presaledamount": {
  6067. "description": "已预售总金额(预售结束时更新)",
  6068. "type": "number"
  6069. },
  6070. "presaledqty": {
  6071. "description": "已预售量(预售结束时更新)",
  6072. "type": "integer"
  6073. },
  6074. "presalemode": {
  6075. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6076. "type": "integer"
  6077. },
  6078. "presaleqty": {
  6079. "description": "预售数量",
  6080. "type": "integer"
  6081. },
  6082. "refprice": {
  6083. "description": "参考价格[一口价]",
  6084. "type": "number"
  6085. },
  6086. "relatedgoodsid": {
  6087. "description": "关联交易合约ID",
  6088. "type": "integer"
  6089. },
  6090. "relatedmarketid": {
  6091. "description": "关联交易合约市场ID",
  6092. "type": "integer"
  6093. },
  6094. "sellstatus": {
  6095. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6096. "type": "integer"
  6097. },
  6098. "startprice": {
  6099. "description": "起拍价[大宗式竞拍]",
  6100. "type": "number"
  6101. },
  6102. "starttime": {
  6103. "description": "预售开始时间",
  6104. "type": "string"
  6105. },
  6106. "tradedate": {
  6107. "description": "交易日(yyyyMMdd)",
  6108. "type": "string"
  6109. },
  6110. "tradeprice": {
  6111. "description": "成交价[大宗]",
  6112. "type": "number"
  6113. }
  6114. }
  6115. },
  6116. "delivery.QueryDeliveryRelationRsp": {
  6117. "type": "object",
  6118. "required": [
  6119. "begindate",
  6120. "enddate",
  6121. "goodsid",
  6122. "mindeliveryqty",
  6123. "xdeliveryratio"
  6124. ],
  6125. "properties": {
  6126. "begindate": {
  6127. "description": "起始日期(yyyyMMdd)",
  6128. "type": "string"
  6129. },
  6130. "buytemplateid": {
  6131. "description": "买履约计划模板ID",
  6132. "type": "integer"
  6133. },
  6134. "deliverygoodscode": {
  6135. "description": "品种代码",
  6136. "type": "string"
  6137. },
  6138. "deliverygoodsid": {
  6139. "description": "交割商品",
  6140. "type": "integer"
  6141. },
  6142. "deliverygoodsname": {
  6143. "description": "品种名称",
  6144. "type": "string"
  6145. },
  6146. "deliverymode": {
  6147. "description": "交割方式 - 1:点选式 2:申报式",
  6148. "type": "integer"
  6149. },
  6150. "deliverypricerule": {
  6151. "description": "交割价规则- 1:行情价 2:建仓价",
  6152. "type": "integer"
  6153. },
  6154. "deliverytype": {
  6155. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6156. "type": "integer"
  6157. },
  6158. "enddate": {
  6159. "description": "结束日期(yyyyMMdd)",
  6160. "type": "string"
  6161. },
  6162. "goodscode": {
  6163. "description": "商品代码",
  6164. "type": "string"
  6165. },
  6166. "goodsid": {
  6167. "description": "交易合约ID",
  6168. "type": "integer"
  6169. },
  6170. "goodsname": {
  6171. "description": "商品名称",
  6172. "type": "string"
  6173. },
  6174. "marketid": {
  6175. "description": "市场ID",
  6176. "type": "integer"
  6177. },
  6178. "mindeliveryqty": {
  6179. "description": "最小交割系数(K)",
  6180. "type": "integer"
  6181. },
  6182. "p2deliveryprice": {
  6183. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6184. "type": "number"
  6185. },
  6186. "p2deliveryratio": {
  6187. "description": "P2合约系数(p)",
  6188. "type": "integer"
  6189. },
  6190. "p2goodsid": {
  6191. "description": "P2合约ID",
  6192. "type": "integer"
  6193. },
  6194. "p2pricemode": {
  6195. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6196. "type": "integer"
  6197. },
  6198. "pdeliveryprice": {
  6199. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6200. "type": "number"
  6201. },
  6202. "pdeliveryratio": {
  6203. "description": "P合约系数(n)",
  6204. "type": "integer"
  6205. },
  6206. "pgoodsid": {
  6207. "description": "P合约ID",
  6208. "type": "integer"
  6209. },
  6210. "ppricemode": {
  6211. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6212. "type": "integer"
  6213. },
  6214. "rratio": {
  6215. "description": "兑换系数(R)",
  6216. "type": "integer"
  6217. },
  6218. "rratio1": {
  6219. "description": "兑换系数(交易合约)(R1)",
  6220. "type": "integer"
  6221. },
  6222. "rratio2": {
  6223. "description": "兑换系数(仓单标准)(R2)",
  6224. "type": "integer"
  6225. },
  6226. "selltemplateid": {
  6227. "description": "卖履约计划模板ID",
  6228. "type": "integer"
  6229. },
  6230. "wrstandardid": {
  6231. "description": "仓单标准ID",
  6232. "type": "integer"
  6233. },
  6234. "xdeliveryratio": {
  6235. "description": "交易合约系数(m)",
  6236. "type": "integer"
  6237. }
  6238. }
  6239. },
  6240. "ermcp.ExposureDetailRsp": {
  6241. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6242. },
  6243. "ermcp.ExposureSpotDetailRsp": {
  6244. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6245. },
  6246. "ermcp.ExposureSpotRsp": {
  6247. "$ref": "#/definitions/models.AreaSpotModel"
  6248. },
  6249. "ermcp.HisExposureRsp": {
  6250. "$ref": "#/definitions/models.ErmcpHisExposure"
  6251. },
  6252. "ermcp.QryAvalidGPRsp": {
  6253. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6254. },
  6255. "ermcp.QryBusinessDjRsp": {
  6256. "type": "object",
  6257. "properties": {
  6258. "amount": {
  6259. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6260. "type": "number"
  6261. },
  6262. "applyid": {
  6263. "description": "申请人",
  6264. "type": "string"
  6265. },
  6266. "applyname": {
  6267. "description": "申请人名称",
  6268. "type": "string"
  6269. },
  6270. "applystatus": {
  6271. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6272. "type": "integer"
  6273. },
  6274. "applytime": {
  6275. "description": "申请时间",
  6276. "type": "string"
  6277. },
  6278. "auditname": {
  6279. "description": "审核人名称",
  6280. "type": "string"
  6281. },
  6282. "audittime": {
  6283. "description": "审核时间",
  6284. "type": "string"
  6285. },
  6286. "buyusername": {
  6287. "description": "采购方名称",
  6288. "type": "string"
  6289. },
  6290. "contractno": {
  6291. "description": "合同编号",
  6292. "type": "string"
  6293. },
  6294. "contractstatus": {
  6295. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6296. "type": "integer"
  6297. },
  6298. "contracttype": {
  6299. "description": "现货合同类型 - 1:采购 -1:销售",
  6300. "type": "integer"
  6301. },
  6302. "enumdicname": {
  6303. "description": "单位名称",
  6304. "type": "string"
  6305. },
  6306. "goodscode": {
  6307. "description": "点价合约",
  6308. "type": "string"
  6309. },
  6310. "goodsname": {
  6311. "description": "商品名称",
  6312. "type": "string"
  6313. },
  6314. "operateapplyid": {
  6315. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6316. "type": "string"
  6317. },
  6318. "operateapplytype": {
  6319. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6320. "type": "integer"
  6321. },
  6322. "pricedPrice": {
  6323. "description": "点价价格(非必填)",
  6324. "type": "number"
  6325. },
  6326. "pricedQty": {
  6327. "description": "点价数量(非必填)",
  6328. "type": "number"
  6329. },
  6330. "pricemove": {
  6331. "description": "升贴水",
  6332. "type": "number"
  6333. },
  6334. "pricetype": {
  6335. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6336. "type": "integer"
  6337. },
  6338. "relatedid": {
  6339. "description": "现货合同ID",
  6340. "type": "string"
  6341. },
  6342. "sellusername": {
  6343. "description": "销售方名字",
  6344. "type": "string"
  6345. },
  6346. "userid": {
  6347. "description": "用户ID",
  6348. "type": "integer"
  6349. }
  6350. }
  6351. },
  6352. "ermcp.QryBussinessFpRsp": {
  6353. "type": "object",
  6354. "properties": {
  6355. "applyid": {
  6356. "description": "申请人",
  6357. "type": "string"
  6358. },
  6359. "applyname": {
  6360. "description": "申请人名称",
  6361. "type": "string"
  6362. },
  6363. "applystatus": {
  6364. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6365. "type": "integer"
  6366. },
  6367. "applytime": {
  6368. "description": "申请时间",
  6369. "type": "string"
  6370. },
  6371. "auditname": {
  6372. "description": "审核人名称",
  6373. "type": "string"
  6374. },
  6375. "audittime": {
  6376. "description": "审核时间",
  6377. "type": "string"
  6378. },
  6379. "buyusername": {
  6380. "description": "采购方名称",
  6381. "type": "string"
  6382. },
  6383. "contractno": {
  6384. "description": "合同编号",
  6385. "type": "string"
  6386. },
  6387. "contractstatus": {
  6388. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6389. "type": "integer"
  6390. },
  6391. "contracttype": {
  6392. "description": "现货合同类型 - 1:采购 -1:销售",
  6393. "type": "integer"
  6394. },
  6395. "enumdicname": {
  6396. "description": "单位名称",
  6397. "type": "string"
  6398. },
  6399. "goodscode": {
  6400. "description": "点价合约",
  6401. "type": "string"
  6402. },
  6403. "goodsname": {
  6404. "description": "商品名称",
  6405. "type": "string"
  6406. },
  6407. "invoiceAmount": {
  6408. "description": "已开收票金额(销售为开票,采购为收票)",
  6409. "type": "number"
  6410. },
  6411. "operateapplyid": {
  6412. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6413. "type": "string"
  6414. },
  6415. "operateapplytype": {
  6416. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6417. "type": "integer"
  6418. },
  6419. "pricemove": {
  6420. "description": "升贴水",
  6421. "type": "number"
  6422. },
  6423. "pricetype": {
  6424. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6425. "type": "integer"
  6426. },
  6427. "relatedid": {
  6428. "description": "现货合同ID",
  6429. "type": "string"
  6430. },
  6431. "sellusername": {
  6432. "description": "销售方名字",
  6433. "type": "string"
  6434. },
  6435. "userid": {
  6436. "description": "用户ID",
  6437. "type": "integer"
  6438. }
  6439. }
  6440. },
  6441. "ermcp.QryBussinessJsRsp": {
  6442. "type": "object",
  6443. "properties": {
  6444. "addmargin": {
  6445. "description": "追加保证金(非必填)",
  6446. "type": "number"
  6447. },
  6448. "applyid": {
  6449. "description": "申请人",
  6450. "type": "string"
  6451. },
  6452. "applyname": {
  6453. "description": "申请人名称",
  6454. "type": "string"
  6455. },
  6456. "applystatus": {
  6457. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6458. "type": "integer"
  6459. },
  6460. "applytime": {
  6461. "description": "申请时间",
  6462. "type": "string"
  6463. },
  6464. "auditname": {
  6465. "description": "审核人名称",
  6466. "type": "string"
  6467. },
  6468. "audittime": {
  6469. "description": "审核时间",
  6470. "type": "string"
  6471. },
  6472. "buyusername": {
  6473. "description": "采购方名称",
  6474. "type": "string"
  6475. },
  6476. "contractno": {
  6477. "description": "合同编号",
  6478. "type": "string"
  6479. },
  6480. "contractstatus": {
  6481. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6482. "type": "integer"
  6483. },
  6484. "contracttype": {
  6485. "description": "现货合同类型 - 1:采购 -1:销售",
  6486. "type": "integer"
  6487. },
  6488. "decmargin": {
  6489. "description": "减少保证金(非必填)",
  6490. "type": "number"
  6491. },
  6492. "enumdicname": {
  6493. "description": "单位名称",
  6494. "type": "string"
  6495. },
  6496. "goodscode": {
  6497. "description": "点价合约",
  6498. "type": "string"
  6499. },
  6500. "goodsname": {
  6501. "description": "商品名称",
  6502. "type": "string"
  6503. },
  6504. "operateapplyid": {
  6505. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6506. "type": "string"
  6507. },
  6508. "operateapplytype": {
  6509. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6510. "type": "integer"
  6511. },
  6512. "pricemove": {
  6513. "description": "升贴水",
  6514. "type": "number"
  6515. },
  6516. "pricetype": {
  6517. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6518. "type": "integer"
  6519. },
  6520. "reckonadjustamount": {
  6521. "description": "结算调整金额(非必填)",
  6522. "type": "number"
  6523. },
  6524. "reckonosamount": {
  6525. "description": "结算溢短金额(非必填)",
  6526. "type": "number"
  6527. },
  6528. "reckonotheramount": {
  6529. "description": "结算其他费用(非必填)",
  6530. "type": "number"
  6531. },
  6532. "reckonrealqty": {
  6533. "description": "结算实际数量(非必填)",
  6534. "type": "number"
  6535. },
  6536. "relatedid": {
  6537. "description": "现货合同ID",
  6538. "type": "string"
  6539. },
  6540. "sellusername": {
  6541. "description": "销售方名字",
  6542. "type": "string"
  6543. },
  6544. "userid": {
  6545. "description": "用户ID",
  6546. "type": "integer"
  6547. }
  6548. }
  6549. },
  6550. "ermcp.QryBussinessKxRsp": {
  6551. "type": "object",
  6552. "properties": {
  6553. "applyid": {
  6554. "description": "申请人",
  6555. "type": "string"
  6556. },
  6557. "applyname": {
  6558. "description": "申请人名称",
  6559. "type": "string"
  6560. },
  6561. "applystatus": {
  6562. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6563. "type": "integer"
  6564. },
  6565. "applytime": {
  6566. "description": "申请时间",
  6567. "type": "string"
  6568. },
  6569. "auditname": {
  6570. "description": "审核人名称",
  6571. "type": "string"
  6572. },
  6573. "audittime": {
  6574. "description": "审核时间",
  6575. "type": "string"
  6576. },
  6577. "buyusername": {
  6578. "description": "采购方名称",
  6579. "type": "string"
  6580. },
  6581. "contractno": {
  6582. "description": "合同编号",
  6583. "type": "string"
  6584. },
  6585. "contractstatus": {
  6586. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6587. "type": "integer"
  6588. },
  6589. "contracttype": {
  6590. "description": "现货合同类型 - 1:采购 -1:销售",
  6591. "type": "integer"
  6592. },
  6593. "deductamount": {
  6594. "description": "退款(非必填)",
  6595. "type": "number"
  6596. },
  6597. "enumdicname": {
  6598. "description": "单位名称",
  6599. "type": "string"
  6600. },
  6601. "goodscode": {
  6602. "description": "点价合约",
  6603. "type": "string"
  6604. },
  6605. "goodsname": {
  6606. "description": "商品名称",
  6607. "type": "string"
  6608. },
  6609. "kxtype": {
  6610. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6611. "type": "integer"
  6612. },
  6613. "operateapplyid": {
  6614. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6615. "type": "string"
  6616. },
  6617. "operateapplytype": {
  6618. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6619. "type": "integer"
  6620. },
  6621. "payamount": {
  6622. "description": "收付款(非必填)",
  6623. "type": "number"
  6624. },
  6625. "pricemove": {
  6626. "description": "升贴水",
  6627. "type": "number"
  6628. },
  6629. "pricetype": {
  6630. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6631. "type": "integer"
  6632. },
  6633. "relatedid": {
  6634. "description": "现货合同ID",
  6635. "type": "string"
  6636. },
  6637. "sellusername": {
  6638. "description": "销售方名字",
  6639. "type": "string"
  6640. },
  6641. "userid": {
  6642. "description": "用户ID",
  6643. "type": "integer"
  6644. }
  6645. }
  6646. },
  6647. "ermcp.QryErmcpRsp": {
  6648. "$ref": "#/definitions/models.ErmcpModel"
  6649. },
  6650. "ermcp.QryGGCovertCfgRsp": {
  6651. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6652. },
  6653. "ermcp.QryHedgePlanRsp": {
  6654. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6655. },
  6656. "ermcp.QryMGChangeLogRsp": {
  6657. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6658. },
  6659. "ermcp.QryMiddleGoodsDetailRsp": {
  6660. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6661. },
  6662. "ermcp.QryMiddleGoodsRsp": {
  6663. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6664. },
  6665. "ermcp.QryOPLogRsp": {
  6666. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6667. },
  6668. "ermcp.QrySpotContractRsp": {
  6669. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6670. },
  6671. "ermcp.QryUserInfoRsp": {
  6672. "$ref": "#/definitions/models.ErmcpUserModel"
  6673. },
  6674. "ermcp.QryWrStandardDetailRsp": {
  6675. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6676. },
  6677. "ermcp.QryWrStandardRsp": {
  6678. "$ref": "#/definitions/models.ErmcpWrstandard"
  6679. },
  6680. "ermcp.RealtimeExposurePositionRsp": {
  6681. "$ref": "#/definitions/models.ErmcpExposurePostion"
  6682. },
  6683. "ermcp.RealtimeExposureRsp": {
  6684. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6685. },
  6686. "erms2.QueryArbitrageStrategyRsp": {
  6687. "type": "object",
  6688. "required": [
  6689. "asapplyid"
  6690. ],
  6691. "properties": {
  6692. "applybasis": {
  6693. "description": "申请基差",
  6694. "type": "number"
  6695. },
  6696. "asapplyid": {
  6697. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6698. "type": "string"
  6699. },
  6700. "asname": {
  6701. "description": "策略名称",
  6702. "type": "string"
  6703. },
  6704. "asno": {
  6705. "description": "策略编号",
  6706. "type": "string"
  6707. },
  6708. "basischangepl": {
  6709. "description": "基差变动损益[结算更新]",
  6710. "type": "number"
  6711. },
  6712. "biztype": {
  6713. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6714. "type": "integer"
  6715. },
  6716. "closetradedate": {
  6717. "description": "完结交易日(yyyyMMdd)",
  6718. "type": "string"
  6719. },
  6720. "curbasis": {
  6721. "description": "当前基差[结算更新]",
  6722. "type": "number"
  6723. },
  6724. "deliverygoodsid": {
  6725. "description": "现货品种ID",
  6726. "type": "integer"
  6727. },
  6728. "futureavgprice": {
  6729. "description": "期货建仓均价",
  6730. "type": "number"
  6731. },
  6732. "futurecloseamount": {
  6733. "description": "期货平仓金额",
  6734. "type": "number"
  6735. },
  6736. "futurecloseqty": {
  6737. "description": "期货平仓数量",
  6738. "type": "number"
  6739. },
  6740. "futureopenamount": {
  6741. "description": "期货开仓金额",
  6742. "type": "number"
  6743. },
  6744. "futureopenqty": {
  6745. "description": "期货开仓数量",
  6746. "type": "number"
  6747. },
  6748. "futurepl": {
  6749. "description": "期货总盈亏[结算更新]",
  6750. "type": "number"
  6751. },
  6752. "futureqty": {
  6753. "description": "期货持仓数量",
  6754. "type": "number"
  6755. },
  6756. "futurequote": {
  6757. "description": "期货额度",
  6758. "type": "number"
  6759. },
  6760. "goodsgroupid": {
  6761. "description": "期货品种ID",
  6762. "type": "integer"
  6763. },
  6764. "marketid": {
  6765. "description": "市场ID",
  6766. "type": "integer"
  6767. },
  6768. "netexposure": {
  6769. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6770. "type": "number"
  6771. },
  6772. "netexposurepl": {
  6773. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6774. "type": "number"
  6775. },
  6776. "netexposurerate": {
  6777. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6778. "type": "number"
  6779. },
  6780. "openbasis": {
  6781. "description": "建仓基差",
  6782. "type": "number"
  6783. },
  6784. "pricedspotqty": {
  6785. "description": "已定价现货数量",
  6786. "type": "number"
  6787. },
  6788. "pricedspotqtynotax": {
  6789. "description": "已定价现货不含税数量",
  6790. "type": "number"
  6791. },
  6792. "remark": {
  6793. "description": "备注",
  6794. "type": "string"
  6795. },
  6796. "spotavgprice": {
  6797. "description": "现货均价",
  6798. "type": "number"
  6799. },
  6800. "spotbuyamount": {
  6801. "description": "现货采购金额",
  6802. "type": "number"
  6803. },
  6804. "spotbuyqty": {
  6805. "description": "现货采购数量",
  6806. "type": "number"
  6807. },
  6808. "spotpl": {
  6809. "description": "现货总盈亏[结算更新]",
  6810. "type": "number"
  6811. },
  6812. "spotquota": {
  6813. "description": "现货额度",
  6814. "type": "number"
  6815. },
  6816. "spotsellamount": {
  6817. "description": "现货销售金额",
  6818. "type": "number"
  6819. },
  6820. "spotsellqty": {
  6821. "description": "现货销售数量",
  6822. "type": "number"
  6823. },
  6824. "spotusedquota": {
  6825. "description": "现货占用资金",
  6826. "type": "number"
  6827. },
  6828. "strategystatus": {
  6829. "description": "策略状态 - 0:未结束 1:已结束",
  6830. "type": "integer"
  6831. },
  6832. "totalpl": {
  6833. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6834. "type": "number"
  6835. },
  6836. "tradedate": {
  6837. "description": "交易日(yyyyMMdd)",
  6838. "type": "string"
  6839. },
  6840. "updatetime": {
  6841. "description": "更新时间",
  6842. "type": "string"
  6843. },
  6844. "usedquota": {
  6845. "description": "已占用资金",
  6846. "type": "number"
  6847. },
  6848. "userid": {
  6849. "description": "所属机构",
  6850. "type": "integer"
  6851. }
  6852. }
  6853. },
  6854. "erms2.QueryInnerTradeDetailRsp": {
  6855. "type": "object",
  6856. "required": [
  6857. "asapplyid",
  6858. "buyorsell",
  6859. "goodscode",
  6860. "goodsgroupid",
  6861. "goodsgroupname",
  6862. "goodsname",
  6863. "tradeid"
  6864. ],
  6865. "properties": {
  6866. "accountid": {
  6867. "description": "账号ID",
  6868. "type": "integer"
  6869. },
  6870. "agreeunit": {
  6871. "description": "合约单位",
  6872. "type": "number"
  6873. },
  6874. "asapplyid": {
  6875. "description": "策略申请ID",
  6876. "type": "integer"
  6877. },
  6878. "asname": {
  6879. "description": "策略名称",
  6880. "type": "string"
  6881. },
  6882. "asno": {
  6883. "description": "策略编号",
  6884. "type": "string"
  6885. },
  6886. "buyorsell": {
  6887. "description": "方向 - 0:买 1:卖",
  6888. "type": "integer"
  6889. },
  6890. "channelbuildtype": {
  6891. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6892. "type": "integer"
  6893. },
  6894. "closetype": {
  6895. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6896. "type": "integer"
  6897. },
  6898. "decimalplace": {
  6899. "description": "报价小数位",
  6900. "type": "integer"
  6901. },
  6902. "detailtype": {
  6903. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6904. "type": "integer"
  6905. },
  6906. "exexchangecode": {
  6907. "description": "外部交易所代码",
  6908. "type": "string"
  6909. },
  6910. "exexchangename": {
  6911. "description": "外部交易所名称",
  6912. "type": "string"
  6913. },
  6914. "goodscode": {
  6915. "description": "商品代码(合约)",
  6916. "type": "string"
  6917. },
  6918. "goodsgroupid": {
  6919. "description": "商品组ID(品种ID)",
  6920. "type": "integer"
  6921. },
  6922. "goodsgroupname": {
  6923. "description": "商品组名称(品种)",
  6924. "type": "string"
  6925. },
  6926. "goodsid": {
  6927. "description": "商品ID",
  6928. "type": "integer"
  6929. },
  6930. "goodsname": {
  6931. "description": "商品名称(合约)",
  6932. "type": "string"
  6933. },
  6934. "goodunit": {
  6935. "description": "报价单位",
  6936. "type": "string"
  6937. },
  6938. "marketid": {
  6939. "description": "市场ID",
  6940. "type": "integer"
  6941. },
  6942. "orderid": {
  6943. "description": "委托单号",
  6944. "type": "string"
  6945. },
  6946. "outgoodscode": {
  6947. "description": "商品代码(外部)",
  6948. "type": "string"
  6949. },
  6950. "relatedouttradeid": {
  6951. "description": "关联外部成交单ID",
  6952. "type": "string"
  6953. },
  6954. "remark": {
  6955. "description": "备注",
  6956. "type": "string"
  6957. },
  6958. "spotcontractid": {
  6959. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6960. "type": "integer"
  6961. },
  6962. "spotcontractno": {
  6963. "description": "现货合同编号",
  6964. "type": "string"
  6965. },
  6966. "tradeid": {
  6967. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6968. "type": "string"
  6969. },
  6970. "tradeprice": {
  6971. "description": "成交价格",
  6972. "type": "number"
  6973. },
  6974. "tradeqty": {
  6975. "description": "成交数量",
  6976. "type": "integer"
  6977. },
  6978. "tradetime": {
  6979. "description": "成交时间",
  6980. "type": "string"
  6981. },
  6982. "updatetime": {
  6983. "description": "更新时间",
  6984. "type": "string"
  6985. }
  6986. }
  6987. },
  6988. "erms2.QuerySpotContractRsp": {
  6989. "type": "object",
  6990. "required": [
  6991. "spotcontractid"
  6992. ],
  6993. "properties": {
  6994. "accountid": {
  6995. "description": "资金账户ID",
  6996. "type": "integer"
  6997. },
  6998. "areauserid": {
  6999. "description": "所属机构",
  7000. "type": "integer"
  7001. },
  7002. "closedate": {
  7003. "description": "终止日期",
  7004. "type": "string"
  7005. },
  7006. "closeremark": {
  7007. "description": "结束备注",
  7008. "type": "string"
  7009. },
  7010. "closetradedate": {
  7011. "description": "完结交易日(yyyyMMdd)",
  7012. "type": "string"
  7013. },
  7014. "closetype": {
  7015. "description": "终止类型 - 1:违约 2:提前终止",
  7016. "type": "integer"
  7017. },
  7018. "contractamount": {
  7019. "description": "合同金额",
  7020. "type": "number"
  7021. },
  7022. "contractattachment": {
  7023. "description": "合同附件",
  7024. "type": "string"
  7025. },
  7026. "contractno": {
  7027. "description": "现货合同编号",
  7028. "type": "string"
  7029. },
  7030. "contractqty": {
  7031. "description": "合同数量(数值) (用于计算)",
  7032. "type": "number"
  7033. },
  7034. "contractqtychar": {
  7035. "description": "合同数量\\已订价数量 (用于显示)",
  7036. "type": "string"
  7037. },
  7038. "contractstatus": {
  7039. "description": "合同状态 - 0:未结束 1:已结束",
  7040. "type": "integer"
  7041. },
  7042. "contracttype": {
  7043. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7044. "type": "integer"
  7045. },
  7046. "customeraccountid": {
  7047. "description": "客户资金账户ID",
  7048. "type": "integer"
  7049. },
  7050. "customeruserid": {
  7051. "description": "客户ID",
  7052. "type": "integer"
  7053. },
  7054. "deliverygoodsdesc": {
  7055. "description": "品种说明",
  7056. "type": "string"
  7057. },
  7058. "deliverygoodsid": {
  7059. "description": "现货品种ID",
  7060. "type": "integer"
  7061. },
  7062. "handlestatus": {
  7063. "description": "处理状态",
  7064. "type": "integer"
  7065. },
  7066. "invoiceatt": {
  7067. "description": "发票附件",
  7068. "type": "string"
  7069. },
  7070. "invoicedatetime": {
  7071. "description": "开收票更新时间",
  7072. "type": "string"
  7073. },
  7074. "invoiceopentime": {
  7075. "description": "开票时间",
  7076. "type": "string"
  7077. },
  7078. "invoiceremark": {
  7079. "description": "发票备注",
  7080. "type": "string"
  7081. },
  7082. "invoicestatus": {
  7083. "description": "开收票状态 - 0:未开票 1:已开票",
  7084. "type": "integer"
  7085. },
  7086. "lastdate": {
  7087. "description": "交货时间",
  7088. "type": "string"
  7089. },
  7090. "marketid": {
  7091. "description": "市场ID",
  7092. "type": "integer"
  7093. },
  7094. "paydatetime": {
  7095. "description": "收付款更新时间",
  7096. "type": "string"
  7097. },
  7098. "payremark": {
  7099. "description": "收付款备注",
  7100. "type": "string"
  7101. },
  7102. "paystatus": {
  7103. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7104. "type": "integer"
  7105. },
  7106. "positionqty": {
  7107. "description": "头寸数量 - 合同数量去小数部分",
  7108. "type": "integer"
  7109. },
  7110. "producttype": {
  7111. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7112. "type": "integer"
  7113. },
  7114. "relatedqty": {
  7115. "description": "已关联数量",
  7116. "type": "number"
  7117. },
  7118. "relatedstatus": {
  7119. "description": "关联完结状态 - 0:未结束 1:已结束",
  7120. "type": "integer"
  7121. },
  7122. "remark": {
  7123. "description": "备注",
  7124. "type": "string"
  7125. },
  7126. "signdate": {
  7127. "description": "签订日期",
  7128. "type": "string"
  7129. },
  7130. "spotcontractid": {
  7131. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7132. "type": "string"
  7133. },
  7134. "spotdatetime": {
  7135. "description": "收发货更新时间",
  7136. "type": "string"
  7137. },
  7138. "spotprice": {
  7139. "description": "价格",
  7140. "type": "number"
  7141. },
  7142. "spotremark": {
  7143. "description": "收发货备注",
  7144. "type": "string"
  7145. },
  7146. "spotstatus": {
  7147. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7148. "type": "integer"
  7149. },
  7150. "tradedate": {
  7151. "description": "交易日(yyyyMMdd)",
  7152. "type": "string"
  7153. },
  7154. "userid": {
  7155. "description": "业务员用户ID",
  7156. "type": "integer"
  7157. },
  7158. "warehouseid": {
  7159. "description": "仓库ID",
  7160. "type": "integer"
  7161. },
  7162. "wrfactortypeid": {
  7163. "description": "仓单要素类型ID",
  7164. "type": "integer"
  7165. },
  7166. "wrstandardid": {
  7167. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7168. "type": "integer"
  7169. }
  7170. }
  7171. },
  7172. "erms3.AddErms2ASApplyReq": {
  7173. "type": "object",
  7174. "required": [
  7175. "asapplyid"
  7176. ],
  7177. "properties": {
  7178. "applybasis": {
  7179. "description": "申请基差",
  7180. "type": "number"
  7181. },
  7182. "applystatus": {
  7183. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7184. "type": "integer"
  7185. },
  7186. "asapplyid": {
  7187. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7188. "type": "integer"
  7189. },
  7190. "asname": {
  7191. "description": "策略名称",
  7192. "type": "string"
  7193. },
  7194. "asno": {
  7195. "description": "策略编号",
  7196. "type": "string"
  7197. },
  7198. "auditid": {
  7199. "description": "审核人",
  7200. "type": "integer"
  7201. },
  7202. "auditremark": {
  7203. "description": "审核备注",
  7204. "type": "string"
  7205. },
  7206. "audittime": {
  7207. "description": "审核时间",
  7208. "type": "string"
  7209. },
  7210. "biztype": {
  7211. "description": "业务类型 - 1:正向套利 2:反向套利",
  7212. "type": "integer"
  7213. },
  7214. "createtime": {
  7215. "description": "创建时间",
  7216. "type": "string"
  7217. },
  7218. "creatorid": {
  7219. "description": "创建人",
  7220. "type": "integer"
  7221. },
  7222. "deliverygoodsid": {
  7223. "description": "现货品种ID",
  7224. "type": "integer"
  7225. },
  7226. "futurequote": {
  7227. "description": "期货额度",
  7228. "type": "number"
  7229. },
  7230. "goodsgroupid": {
  7231. "description": "期货品种ID",
  7232. "type": "integer"
  7233. },
  7234. "marketid": {
  7235. "description": "市场ID",
  7236. "type": "integer"
  7237. },
  7238. "remark": {
  7239. "description": "备注",
  7240. "type": "string"
  7241. },
  7242. "spotquota": {
  7243. "description": "现货额度",
  7244. "type": "number"
  7245. },
  7246. "tradedate": {
  7247. "description": "交易日(yyyyMMdd)",
  7248. "type": "string"
  7249. },
  7250. "userid": {
  7251. "description": "所属机构",
  7252. "type": "integer"
  7253. }
  7254. }
  7255. },
  7256. "erms3.AddErms2SpotTradeApplyReq": {
  7257. "type": "object",
  7258. "required": [
  7259. "spottradeid"
  7260. ],
  7261. "properties": {
  7262. "applyjsondetail": {
  7263. "description": "申请明细(JSON)",
  7264. "type": "string"
  7265. },
  7266. "applystatus": {
  7267. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7268. "type": "integer"
  7269. },
  7270. "areauserid": {
  7271. "description": "所属机构",
  7272. "type": "integer"
  7273. },
  7274. "auditid": {
  7275. "description": "审核人",
  7276. "type": "integer"
  7277. },
  7278. "auditremark": {
  7279. "description": "审核备注",
  7280. "type": "string"
  7281. },
  7282. "audittime": {
  7283. "description": "审核时间",
  7284. "type": "string"
  7285. },
  7286. "createtime": {
  7287. "description": "创建时间",
  7288. "type": "string"
  7289. },
  7290. "creatorid": {
  7291. "description": "创建人",
  7292. "type": "integer"
  7293. },
  7294. "deliverygoodsid": {
  7295. "description": "现货品种ID",
  7296. "type": "integer"
  7297. },
  7298. "futureaccountid": {
  7299. "description": "期货资金账户",
  7300. "type": "integer"
  7301. },
  7302. "goodsgroupid": {
  7303. "description": "期货品种",
  7304. "type": "integer"
  7305. },
  7306. "marketid": {
  7307. "description": "市场ID",
  7308. "type": "integer"
  7309. },
  7310. "remark": {
  7311. "description": "备注",
  7312. "type": "string"
  7313. },
  7314. "spotaccountid": {
  7315. "description": "现货资金账户",
  7316. "type": "integer"
  7317. },
  7318. "spottradeid": {
  7319. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7320. "type": "integer"
  7321. },
  7322. "spottradename": {
  7323. "description": "业务名称",
  7324. "type": "string"
  7325. },
  7326. "spottradeno": {
  7327. "description": "业务编号",
  7328. "type": "string"
  7329. },
  7330. "tradedate": {
  7331. "description": "交易日(yyyyMMdd)",
  7332. "type": "string"
  7333. },
  7334. "wrstandardid": {
  7335. "description": "仓单标准ID",
  7336. "type": "integer"
  7337. }
  7338. }
  7339. },
  7340. "erms3.AddSpotContractApplyReq": {
  7341. "type": "object",
  7342. "required": [
  7343. "accountid",
  7344. "areauserid",
  7345. "contractno",
  7346. "contracttype",
  7347. "customeraccountid",
  7348. "customeruserid",
  7349. "details",
  7350. "orimargin",
  7351. "signdate"
  7352. ],
  7353. "properties": {
  7354. "accountid": {
  7355. "description": "资金账户ID",
  7356. "type": "integer"
  7357. },
  7358. "areauserid": {
  7359. "description": "所属机构",
  7360. "type": "integer"
  7361. },
  7362. "contractattachment": {
  7363. "description": "合同附件",
  7364. "type": "string"
  7365. },
  7366. "contractno": {
  7367. "description": "现货合同编号",
  7368. "type": "string"
  7369. },
  7370. "contracttype": {
  7371. "description": "现货合同类型 - 1:采购 -1:销售",
  7372. "type": "integer"
  7373. },
  7374. "creatorid": {
  7375. "description": "申请人",
  7376. "type": "integer"
  7377. },
  7378. "customeraccountid": {
  7379. "description": "客户资金账户ID",
  7380. "type": "integer"
  7381. },
  7382. "customeruserid": {
  7383. "description": "客户ID",
  7384. "type": "integer"
  7385. },
  7386. "details": {
  7387. "description": "明细",
  7388. "type": "array",
  7389. "items": {
  7390. "$ref": "#/definitions/erms3.SoptContractDetail"
  7391. }
  7392. },
  7393. "orimargin": {
  7394. "description": "初始保证金",
  7395. "type": "number"
  7396. },
  7397. "remark": {
  7398. "description": "备注",
  7399. "type": "string"
  7400. },
  7401. "signdate": {
  7402. "description": "签订日期",
  7403. "type": "string"
  7404. }
  7405. }
  7406. },
  7407. "erms3.AddSpotContractApplyRsp": {
  7408. "type": "object",
  7409. "required": [
  7410. "contractno"
  7411. ],
  7412. "properties": {
  7413. "contractno": {
  7414. "description": "现货合同编号",
  7415. "type": "string"
  7416. },
  7417. "spotcontractid": {
  7418. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7419. "type": "integer"
  7420. }
  7421. }
  7422. },
  7423. "erms3.AddUserInfoApplyReq": {
  7424. "type": "object",
  7425. "required": [
  7426. "userid"
  7427. ],
  7428. "properties": {
  7429. "accountid": {
  7430. "description": "交易系统帐号Id (加密存储)",
  7431. "type": "integer"
  7432. },
  7433. "areacode": {
  7434. "description": "机构代码",
  7435. "type": "string"
  7436. },
  7437. "areaid": {
  7438. "description": "机构Id",
  7439. "type": "integer"
  7440. },
  7441. "attachment1": {
  7442. "description": "附件1",
  7443. "type": "string"
  7444. },
  7445. "attachment2": {
  7446. "description": "附件2",
  7447. "type": "string"
  7448. },
  7449. "attachment3": {
  7450. "description": "附件3",
  7451. "type": "string"
  7452. },
  7453. "attachment4": {
  7454. "description": "附件4",
  7455. "type": "string"
  7456. },
  7457. "attachment5": {
  7458. "description": "附件5",
  7459. "type": "string"
  7460. },
  7461. "auditedby": {
  7462. "description": "审核人",
  7463. "type": "string"
  7464. },
  7465. "auditime": {
  7466. "description": "审核时间",
  7467. "type": "string"
  7468. },
  7469. "bankaccount": {
  7470. "description": "银行帐号 (加密存储)",
  7471. "type": "string"
  7472. },
  7473. "bankaccountname": {
  7474. "description": "收款人名称",
  7475. "type": "string"
  7476. },
  7477. "bankcardbackphotourl": {
  7478. "description": "银行卡背面照地址",
  7479. "type": "string"
  7480. },
  7481. "bankcardfrontphotourl": {
  7482. "description": "银行卡正面照地址",
  7483. "type": "string"
  7484. },
  7485. "bankid": {
  7486. "description": "银行编码",
  7487. "type": "string"
  7488. },
  7489. "bankname": {
  7490. "description": "银行名称",
  7491. "type": "string"
  7492. },
  7493. "bankpictureurl": {
  7494. "description": "银行卡正面地址",
  7495. "type": "string"
  7496. },
  7497. "biznature": {
  7498. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7499. "type": "integer"
  7500. },
  7501. "bizscope": {
  7502. "description": "企业经营范围(企业)",
  7503. "type": "string"
  7504. },
  7505. "biztype": {
  7506. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7507. "type": "integer"
  7508. },
  7509. "brokerid": {
  7510. "description": "经纪人ID(加密存储)",
  7511. "type": "string"
  7512. },
  7513. "cardaddress": {
  7514. "description": "证件地址 (加密存储)",
  7515. "type": "string"
  7516. },
  7517. "cardbackphotourl": {
  7518. "description": "背面证件照地址",
  7519. "type": "string"
  7520. },
  7521. "cardfrontphotourl": {
  7522. "description": "正面证件照地址",
  7523. "type": "string"
  7524. },
  7525. "cardnum": {
  7526. "description": "证件号码 (加密存储)",
  7527. "type": "string"
  7528. },
  7529. "cardtype": {
  7530. "description": "证件类型",
  7531. "type": "integer"
  7532. },
  7533. "cityid": {
  7534. "description": "市",
  7535. "type": "integer"
  7536. },
  7537. "company": {
  7538. "description": "公司(个人)",
  7539. "type": "string"
  7540. },
  7541. "contactcardbackphotourl": {
  7542. "description": "联系人证件背面图片地址",
  7543. "type": "string"
  7544. },
  7545. "contactcardfrontphotourl": {
  7546. "description": "联系人证件正面图片地址",
  7547. "type": "string"
  7548. },
  7549. "contactname": {
  7550. "description": "联系人",
  7551. "type": "string"
  7552. },
  7553. "countryid": {
  7554. "description": "国家",
  7555. "type": "integer"
  7556. },
  7557. "createtime": {
  7558. "description": "开户申请时间",
  7559. "type": "string"
  7560. },
  7561. "cusbankid": {
  7562. "description": "签约类型",
  7563. "type": "string"
  7564. },
  7565. "cusbankname": {
  7566. "description": "签约类型名称",
  7567. "type": "string"
  7568. },
  7569. "customername": {
  7570. "description": "客户名称(企业名称)",
  7571. "type": "string"
  7572. },
  7573. "districtid": {
  7574. "description": "地区",
  7575. "type": "integer"
  7576. },
  7577. "email": {
  7578. "description": "Email地址(加密存储)",
  7579. "type": "string"
  7580. },
  7581. "halfbodyphotourl": {
  7582. "description": "半身照地址",
  7583. "type": "string"
  7584. },
  7585. "headurl": {
  7586. "description": "头像地址",
  7587. "type": "string"
  7588. },
  7589. "ipaddress": {
  7590. "description": "IP地址",
  7591. "type": "string"
  7592. },
  7593. "isvalidate": {
  7594. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7595. "type": "string"
  7596. },
  7597. "legalcardbackphotourl": {
  7598. "description": "法人身份证背面照地址",
  7599. "type": "string"
  7600. },
  7601. "legalcardfrontphotourl": {
  7602. "description": "法人身份证正面照地址",
  7603. "type": "string"
  7604. },
  7605. "legalpersonname": {
  7606. "description": "法人姓名(企业)",
  7607. "type": "string"
  7608. },
  7609. "logincode": {
  7610. "description": "登录帐号 (加密存储)",
  7611. "type": "string"
  7612. },
  7613. "memberareaid": {
  7614. "description": "所属会员ID",
  7615. "type": "integer"
  7616. },
  7617. "mobile2": {
  7618. "description": "手机号码[明文-尚志]",
  7619. "type": "string"
  7620. },
  7621. "mobilephone": {
  7622. "description": "手机号码 (加密存储)",
  7623. "type": "string"
  7624. },
  7625. "modifiedby": {
  7626. "description": "修改人帐号",
  7627. "type": "integer"
  7628. },
  7629. "modifiedtime": {
  7630. "description": "修改时间",
  7631. "type": "string"
  7632. },
  7633. "nickname": {
  7634. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7635. "type": "string"
  7636. },
  7637. "openmode": {
  7638. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7639. "type": "integer"
  7640. },
  7641. "otherurl": {
  7642. "description": "其它图片地址[使用分号分隔]",
  7643. "type": "string"
  7644. },
  7645. "postalcode": {
  7646. "description": "邮政编码",
  7647. "type": "string"
  7648. },
  7649. "provinceid": {
  7650. "description": "省",
  7651. "type": "integer"
  7652. },
  7653. "proxystatementurl": {
  7654. "description": "授权委托书",
  7655. "type": "string"
  7656. },
  7657. "qq": {
  7658. "description": "QQ(加密存储",
  7659. "type": "string"
  7660. },
  7661. "referral": {
  7662. "description": "推荐人编码",
  7663. "type": "string"
  7664. },
  7665. "remark": {
  7666. "description": "备注",
  7667. "type": "string"
  7668. },
  7669. "removebeforestatus": {
  7670. "description": "REMOVEBEFORESTATUS",
  7671. "type": "integer"
  7672. },
  7673. "sex": {
  7674. "description": "性别 - 0:女 1:男",
  7675. "type": "integer"
  7676. },
  7677. "signedstatus": {
  7678. "description": "账户一号签签约状态",
  7679. "type": "integer"
  7680. },
  7681. "signpdfurl": {
  7682. "description": "签约pdf文件",
  7683. "type": "string"
  7684. },
  7685. "subbranch": {
  7686. "description": "开户支行",
  7687. "type": "string"
  7688. },
  7689. "telphone": {
  7690. "description": "联系电话(加密存储)",
  7691. "type": "string"
  7692. },
  7693. "userid": {
  7694. "description": "用户ID(自增ID)",
  7695. "type": "integer"
  7696. },
  7697. "userinfotype": {
  7698. "description": "用户信息类型 - 1:个人 2:企业",
  7699. "type": "integer"
  7700. },
  7701. "username": {
  7702. "description": "用户姓名",
  7703. "type": "string"
  7704. },
  7705. "userstate": {
  7706. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7707. "type": "integer"
  7708. },
  7709. "usertype": {
  7710. "description": "用户类型 - 1:投资者 2:机构",
  7711. "type": "integer"
  7712. },
  7713. "videourl": {
  7714. "description": "视频地址",
  7715. "type": "string"
  7716. },
  7717. "wechat": {
  7718. "description": "微信号 (加密存储)",
  7719. "type": "string"
  7720. }
  7721. }
  7722. },
  7723. "erms3.CustomerInfo": {
  7724. "type": "object",
  7725. "required": [
  7726. "userid"
  7727. ],
  7728. "properties": {
  7729. "accountids": {
  7730. "description": "资金账户ID列表",
  7731. "type": "array",
  7732. "items": {
  7733. "type": "integer"
  7734. }
  7735. },
  7736. "customername": {
  7737. "description": "名称(企业名称)",
  7738. "type": "string"
  7739. },
  7740. "mobile": {
  7741. "description": "手机号码",
  7742. "type": "string"
  7743. },
  7744. "userid": {
  7745. "description": "用户ID",
  7746. "type": "integer"
  7747. }
  7748. }
  7749. },
  7750. "erms3.QryAuditContractRsp": {
  7751. "type": "object",
  7752. "required": [
  7753. "matchcustomername",
  7754. "spotcontractid"
  7755. ],
  7756. "properties": {
  7757. "accountid": {
  7758. "description": "交易员ID",
  7759. "type": "string"
  7760. },
  7761. "applystatus": {
  7762. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7763. "type": "integer"
  7764. },
  7765. "curdeliveryqty": {
  7766. "description": "未交收量",
  7767. "type": "integer"
  7768. },
  7769. "customername": {
  7770. "description": "采购方ID",
  7771. "type": "string"
  7772. },
  7773. "deliverygoodsid": {
  7774. "description": "品种ID",
  7775. "type": "string"
  7776. },
  7777. "deliveryqty": {
  7778. "description": "交收量",
  7779. "type": "integer"
  7780. },
  7781. "enumdicname": {
  7782. "description": "单位名称",
  7783. "type": "string"
  7784. },
  7785. "matchaccountid": {
  7786. "description": "业务员ID",
  7787. "type": "string"
  7788. },
  7789. "matchcustomername": {
  7790. "description": "销售方ID",
  7791. "type": "string"
  7792. },
  7793. "pricedqty": {
  7794. "description": "定价量",
  7795. "type": "number"
  7796. },
  7797. "signdate": {
  7798. "description": "签订日期",
  7799. "type": "string"
  7800. },
  7801. "spotcontractid": {
  7802. "description": "合同ID",
  7803. "type": "string"
  7804. },
  7805. "totaldqty": {
  7806. "description": "合同量",
  7807. "type": "number"
  7808. },
  7809. "unpricedqty": {
  7810. "description": "未定价量",
  7811. "type": "number"
  7812. },
  7813. "wrstandardname": {
  7814. "description": "商品名称",
  7815. "type": "string"
  7816. }
  7817. }
  7818. },
  7819. "erms3.QryPendingBizRsp": {
  7820. "$ref": "#/definitions/models.PendingAuditBizModel"
  7821. },
  7822. "erms3.QueryBusinessInfoRsp": {
  7823. "type": "object",
  7824. "properties": {
  7825. "businessid": {
  7826. "description": "业务ID.",
  7827. "type": "integer"
  7828. },
  7829. "buyamount": {
  7830. "description": "采购额.",
  7831. "type": "number"
  7832. },
  7833. "buyqty": {
  7834. "description": "采购量.",
  7835. "type": "string"
  7836. },
  7837. "futurepl": {
  7838. "description": "期货盈亏.",
  7839. "type": "number"
  7840. },
  7841. "futureqty": {
  7842. "description": "期货敞口.",
  7843. "type": "string"
  7844. },
  7845. "goodsid": {
  7846. "description": "商品名称/商品代码.",
  7847. "type": "string"
  7848. },
  7849. "hedgingqty": {
  7850. "description": "套保量.",
  7851. "type": "string"
  7852. },
  7853. "sellamount": {
  7854. "description": "销售额.",
  7855. "type": "number"
  7856. },
  7857. "sellqty": {
  7858. "description": "销售量.",
  7859. "type": "string"
  7860. },
  7861. "spotmarketvalue": {
  7862. "description": "现货市值.",
  7863. "type": "number"
  7864. },
  7865. "spotpl": {
  7866. "description": "浮动权益.",
  7867. "type": "number"
  7868. },
  7869. "spotqty": {
  7870. "description": "现货量.",
  7871. "type": "string"
  7872. },
  7873. "statu": {
  7874. "description": "状态,0-未结束 1-已结束.",
  7875. "type": "integer"
  7876. },
  7877. "totalpl": {
  7878. "description": "总盈亏.",
  7879. "type": "number"
  7880. },
  7881. "totalqty": {
  7882. "description": "总敞口.",
  7883. "type": "string"
  7884. },
  7885. "type": {
  7886. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7887. "type": "integer"
  7888. }
  7889. }
  7890. },
  7891. "erms3.QuerySpotContractAppleFormRsp": {
  7892. "type": "object",
  7893. "properties": {
  7894. "goodses": {
  7895. "description": "合约列表",
  7896. "type": "array",
  7897. "items": {
  7898. "$ref": "#/definitions/models.GoodsIDAndName"
  7899. }
  7900. },
  7901. "oppositeusers": {
  7902. "description": "对方账号列表",
  7903. "type": "array",
  7904. "items": {
  7905. "$ref": "#/definitions/erms3.CustomerInfo"
  7906. }
  7907. },
  7908. "ouruser": {
  7909. "description": "我方账号",
  7910. "type": "object",
  7911. "$ref": "#/definitions/erms3.CustomerInfo"
  7912. },
  7913. "warehouseinfos": {
  7914. "description": "仓库信息列表",
  7915. "type": "array",
  7916. "items": {
  7917. "$ref": "#/definitions/models.Warehouseinfo"
  7918. }
  7919. },
  7920. "wrstandards": {
  7921. "description": "仓单标准列表",
  7922. "type": "array",
  7923. "items": {
  7924. "$ref": "#/definitions/models.WRStandardInfo"
  7925. }
  7926. }
  7927. }
  7928. },
  7929. "erms3.QuerySpotContractInfoRsp": {
  7930. "type": "object",
  7931. "properties": {
  7932. "accountid": {
  7933. "description": "表示交易员ID.",
  7934. "type": "integer"
  7935. },
  7936. "curdeliveryqty": {
  7937. "description": "表示未交收量.",
  7938. "type": "number"
  7939. },
  7940. "customername": {
  7941. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7942. "type": "string"
  7943. },
  7944. "deliverygoodsid": {
  7945. "description": "表示品种ID.",
  7946. "type": "string"
  7947. },
  7948. "deliveryqty": {
  7949. "description": "表示交收量.",
  7950. "type": "number"
  7951. },
  7952. "matchaccountid": {
  7953. "description": "表示业务员ID.",
  7954. "type": "integer"
  7955. },
  7956. "matchcustomername": {
  7957. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7958. "type": "string"
  7959. },
  7960. "priceqty": {
  7961. "description": "表示定价量.",
  7962. "type": "number"
  7963. },
  7964. "relatedbizid": {
  7965. "description": "表示业务ID.",
  7966. "type": "string"
  7967. },
  7968. "signdate": {
  7969. "description": "表示签订日期.",
  7970. "type": "string"
  7971. },
  7972. "spotcontractid": {
  7973. "description": "合同ID",
  7974. "type": "string"
  7975. },
  7976. "status": {
  7977. "description": "表示状态,0-履约中 1-已完成.",
  7978. "type": "integer"
  7979. },
  7980. "totalqty": {
  7981. "description": "表示合同量.",
  7982. "type": "number"
  7983. },
  7984. "unpricedqty": {
  7985. "description": "表示未定价量.",
  7986. "type": "number"
  7987. },
  7988. "wrstandardname": {
  7989. "description": "表示商品ID.",
  7990. "type": "string"
  7991. }
  7992. }
  7993. },
  7994. "erms3.QueryUserInfoAppliesRsp": {
  7995. "type": "object",
  7996. "required": [
  7997. "userid"
  7998. ],
  7999. "properties": {
  8000. "biznature": {
  8001. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8002. "type": "integer"
  8003. },
  8004. "contactname": {
  8005. "description": "联系人",
  8006. "type": "string"
  8007. },
  8008. "createtime": {
  8009. "description": "开户申请时间",
  8010. "type": "string"
  8011. },
  8012. "userid": {
  8013. "description": "用户ID(自增ID)",
  8014. "type": "integer"
  8015. },
  8016. "userinfotype": {
  8017. "description": "用户信息类型 - 1:个人 2:企业",
  8018. "type": "integer"
  8019. },
  8020. "username": {
  8021. "description": "用户姓名",
  8022. "type": "string"
  8023. },
  8024. "userstate": {
  8025. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8026. "type": "integer"
  8027. }
  8028. }
  8029. },
  8030. "erms3.QueryUserInfosRsp": {
  8031. "type": "object",
  8032. "required": [
  8033. "userid"
  8034. ],
  8035. "properties": {
  8036. "biznature": {
  8037. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8038. "type": "integer"
  8039. },
  8040. "contactname": {
  8041. "description": "联系人",
  8042. "type": "string"
  8043. },
  8044. "customername": {
  8045. "description": "客户名称(企业名称)",
  8046. "type": "string"
  8047. },
  8048. "userid": {
  8049. "description": "用户ID",
  8050. "type": "integer"
  8051. },
  8052. "userinfotype": {
  8053. "description": "用户信息类型 - 1:个人 2:企业",
  8054. "type": "integer"
  8055. },
  8056. "userstatus": {
  8057. "description": "用户状态 - 1:正常 2:注销",
  8058. "type": "integer"
  8059. }
  8060. }
  8061. },
  8062. "erms3.SoptContractDetail": {
  8063. "type": "object",
  8064. "required": [
  8065. "deliverygoodsid",
  8066. "producttype",
  8067. "unitname",
  8068. "warehouseid",
  8069. "wrstandardid",
  8070. "wrstandardname"
  8071. ],
  8072. "properties": {
  8073. "deliverygoodsdesc": {
  8074. "description": "现货品种说明",
  8075. "type": "string"
  8076. },
  8077. "deliverygoodsid": {
  8078. "description": "现货品种ID",
  8079. "type": "integer"
  8080. },
  8081. "deliverygoodsname": {
  8082. "description": "现货品种名称",
  8083. "type": "string"
  8084. },
  8085. "pointdesc": {
  8086. "description": "点价描述",
  8087. "type": "string"
  8088. },
  8089. "producttype": {
  8090. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8091. "type": "integer"
  8092. },
  8093. "producttypename": {
  8094. "description": "产品类型名称",
  8095. "type": "string"
  8096. },
  8097. "spotPointOrderVoList": {
  8098. "description": "点价列表",
  8099. "type": "array",
  8100. "items": {
  8101. "$ref": "#/definitions/erms3.SpotPointOrder"
  8102. }
  8103. },
  8104. "spotPriceOrderList": {
  8105. "description": "定价列表",
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8109. }
  8110. },
  8111. "unitname": {
  8112. "description": "单位名称",
  8113. "type": "string"
  8114. },
  8115. "warehouseid": {
  8116. "description": "仓库ID",
  8117. "type": "integer"
  8118. },
  8119. "warehousename": {
  8120. "description": "仓库名称",
  8121. "type": "string"
  8122. },
  8123. "wrstandardid": {
  8124. "description": "交易标的ID",
  8125. "type": "integer"
  8126. },
  8127. "wrstandardname": {
  8128. "description": "交易标的名称",
  8129. "type": "string"
  8130. }
  8131. }
  8132. },
  8133. "erms3.SpotPointOrder": {
  8134. "type": "object",
  8135. "required": [
  8136. "basic",
  8137. "goodsid",
  8138. "qty"
  8139. ],
  8140. "properties": {
  8141. "basic": {
  8142. "description": "基差",
  8143. "type": "number"
  8144. },
  8145. "deliveryenddate": {
  8146. "description": "交收结束日期",
  8147. "type": "string"
  8148. },
  8149. "deliverystartdate": {
  8150. "description": "交收开始日期",
  8151. "type": "string"
  8152. },
  8153. "enddate": {
  8154. "description": "点价结束日期",
  8155. "type": "string"
  8156. },
  8157. "goodsid": {
  8158. "description": "商品ID",
  8159. "type": "integer"
  8160. },
  8161. "goodsname": {
  8162. "description": "商品名称",
  8163. "type": "string"
  8164. },
  8165. "qty": {
  8166. "description": "数量",
  8167. "type": "number"
  8168. },
  8169. "startdate": {
  8170. "description": "点价开始日期",
  8171. "type": "string"
  8172. }
  8173. }
  8174. },
  8175. "erms3.SpotPriceOrder": {
  8176. "type": "object",
  8177. "required": [
  8178. "amount",
  8179. "price",
  8180. "qty"
  8181. ],
  8182. "properties": {
  8183. "amount": {
  8184. "description": "金额",
  8185. "type": "number"
  8186. },
  8187. "deliveryenddate": {
  8188. "description": "交收结束日期",
  8189. "type": "string"
  8190. },
  8191. "deliverystartdate": {
  8192. "description": "交收开始日期",
  8193. "type": "string"
  8194. },
  8195. "price": {
  8196. "description": "价格",
  8197. "type": "number"
  8198. },
  8199. "qty": {
  8200. "description": "数量",
  8201. "type": "number"
  8202. }
  8203. }
  8204. },
  8205. "hsby.GetHsbyMyCountRsp": {
  8206. "type": "object",
  8207. "properties": {
  8208. "myCouponCount": {
  8209. "description": "我的优惠卷数量",
  8210. "type": "integer"
  8211. },
  8212. "myOrderDetailListingCount": {
  8213. "description": "我的订单求购中数量",
  8214. "type": "integer"
  8215. },
  8216. "myOrderDetailPreCount": {
  8217. "description": "我的订单抢购中数量",
  8218. "type": "integer"
  8219. },
  8220. "myPackageUnReceiveCount": {
  8221. "description": "我的包裹待收货数量",
  8222. "type": "integer"
  8223. },
  8224. "myPackageUnSendCount": {
  8225. "description": "我的包裹待发货数量",
  8226. "type": "integer"
  8227. },
  8228. "myPayOrderCount": {
  8229. "description": "我的订单待付款数量",
  8230. "type": "integer"
  8231. }
  8232. }
  8233. },
  8234. "hsby.QueryProvincesAndCitiesRsp": {
  8235. "type": "object",
  8236. "properties": {
  8237. "cities": {
  8238. "description": "市",
  8239. "type": "array",
  8240. "items": {
  8241. "$ref": "#/definitions/models.Division"
  8242. }
  8243. },
  8244. "province": {
  8245. "description": "省",
  8246. "type": "object",
  8247. "$ref": "#/definitions/models.Division"
  8248. }
  8249. }
  8250. },
  8251. "models.AreaSpotModel": {
  8252. "type": "object",
  8253. "properties": {
  8254. "areauserid": {
  8255. "description": "所属机构",
  8256. "type": "integer"
  8257. },
  8258. "decreaseqty": {
  8259. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8260. "type": "number"
  8261. },
  8262. "increaseqty": {
  8263. "description": "增加数量=销售计划数量+采购已定价数量",
  8264. "type": "number"
  8265. },
  8266. "oritoalspotqty": {
  8267. "description": "昨日数量",
  8268. "type": "number"
  8269. },
  8270. "totalspotqty": {
  8271. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8272. "type": "number"
  8273. },
  8274. "updatetime": {
  8275. "description": "更新时间",
  8276. "type": "string"
  8277. },
  8278. "wrstandardcode": {
  8279. "description": "现货品种代码",
  8280. "type": "string"
  8281. },
  8282. "wrstandardid": {
  8283. "description": "现货商品ID",
  8284. "type": "integer"
  8285. },
  8286. "wrstandardname": {
  8287. "description": "现货品种",
  8288. "type": "string"
  8289. }
  8290. }
  8291. },
  8292. "models.Clientfixedadconfig": {
  8293. "type": "object",
  8294. "required": [
  8295. "adsort",
  8296. "adtype"
  8297. ],
  8298. "properties": {
  8299. "adsort": {
  8300. "description": "排序",
  8301. "type": "integer"
  8302. },
  8303. "adtype": {
  8304. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8305. "type": "integer"
  8306. },
  8307. "areauserid": {
  8308. "description": "所属机构ID",
  8309. "type": "integer"
  8310. },
  8311. "createdate": {
  8312. "description": "创建时间",
  8313. "type": "string"
  8314. },
  8315. "creatorid": {
  8316. "description": "创建人",
  8317. "type": "integer"
  8318. },
  8319. "imagepath": {
  8320. "description": "图片",
  8321. "type": "string"
  8322. },
  8323. "isshow": {
  8324. "description": "是否展示 - 0:不展示 1:展示",
  8325. "type": "integer"
  8326. },
  8327. "modifierid": {
  8328. "description": "操作人",
  8329. "type": "integer"
  8330. },
  8331. "recsize": {
  8332. "description": "推荐尺寸",
  8333. "type": "string"
  8334. },
  8335. "title": {
  8336. "description": "标题",
  8337. "type": "string"
  8338. },
  8339. "updatedate": {
  8340. "description": "更新时间",
  8341. "type": "string"
  8342. },
  8343. "urlcontent": {
  8344. "description": "链接(地址或商品ID)",
  8345. "type": "string"
  8346. },
  8347. "urltype": {
  8348. "description": "链接类型 - 1:直接地址 2:商品ID",
  8349. "type": "integer"
  8350. }
  8351. }
  8352. },
  8353. "models.Division": {
  8354. "type": "object",
  8355. "required": [
  8356. "autoid",
  8357. "divisioncode"
  8358. ],
  8359. "properties": {
  8360. "autoid": {
  8361. "description": "自增ID",
  8362. "type": "integer"
  8363. },
  8364. "divisioncode": {
  8365. "description": "行政代码",
  8366. "type": "string"
  8367. },
  8368. "divisionlevel": {
  8369. "description": "行政级别",
  8370. "type": "string"
  8371. },
  8372. "divisionname": {
  8373. "description": "行政名称",
  8374. "type": "string"
  8375. },
  8376. "modifierid": {
  8377. "description": "修改人",
  8378. "type": "integer"
  8379. },
  8380. "modifytime": {
  8381. "description": "修改时间",
  8382. "type": "string"
  8383. },
  8384. "parentcode": {
  8385. "description": "上级行政代码",
  8386. "type": "string"
  8387. },
  8388. "pathname": {
  8389. "description": "路径名称",
  8390. "type": "string"
  8391. },
  8392. "postcode": {
  8393. "description": "邮政编码",
  8394. "type": "string"
  8395. },
  8396. "separablename": {
  8397. "description": "可拆分的全称",
  8398. "type": "string"
  8399. },
  8400. "shortcode": {
  8401. "description": "地区简码",
  8402. "type": "string"
  8403. }
  8404. }
  8405. },
  8406. "models.Enumdicitem": {
  8407. "type": "object",
  8408. "required": [
  8409. "autoid",
  8410. "enumdiccode",
  8411. "enumdicid",
  8412. "enumitemname"
  8413. ],
  8414. "properties": {
  8415. "autoid": {
  8416. "description": "自增ID",
  8417. "type": "integer"
  8418. },
  8419. "bankmappedvalue": {
  8420. "description": "银行服务对应值",
  8421. "type": "string"
  8422. },
  8423. "enumdiccode": {
  8424. "description": "所属枚举代码",
  8425. "type": "string"
  8426. },
  8427. "enumdicid": {
  8428. "description": "所属枚举ID",
  8429. "type": "integer"
  8430. },
  8431. "enumdicname": {
  8432. "description": "枚举项名称",
  8433. "type": "string"
  8434. },
  8435. "enumitemname": {
  8436. "description": "枚举项值",
  8437. "type": "integer"
  8438. },
  8439. "enumitemstatus": {
  8440. "description": "枚举项状态 - 1.启用 2.不启用",
  8441. "type": "integer"
  8442. },
  8443. "enumitemvalue": {
  8444. "description": "通用值 - [币种通用简写]",
  8445. "type": "string"
  8446. },
  8447. "param1": {
  8448. "description": "参数1[币种:币种小数位]",
  8449. "type": "string"
  8450. },
  8451. "param2": {
  8452. "description": "参数1[币种:币种显示单位]",
  8453. "type": "string"
  8454. },
  8455. "remark": {
  8456. "description": "备注",
  8457. "type": "string"
  8458. }
  8459. }
  8460. },
  8461. "models.ErmcpAreaSpotDetailModel": {
  8462. "type": "object",
  8463. "properties": {
  8464. "contracttype": {
  8465. "description": "合同类型 1-采购 -1-销售",
  8466. "type": "integer"
  8467. },
  8468. "enumdicname": {
  8469. "description": "现货商品单位名称",
  8470. "type": "string"
  8471. },
  8472. "logtype": {
  8473. "description": "记录类型 1-套保 2-现货合同",
  8474. "type": "integer"
  8475. },
  8476. "qty": {
  8477. "description": "数量",
  8478. "type": "number"
  8479. },
  8480. "recordname": {
  8481. "description": "类型名称",
  8482. "type": "string"
  8483. },
  8484. "relatedid": {
  8485. "description": "套保计划ID/现货合同ID",
  8486. "type": "string"
  8487. },
  8488. "relatedno": {
  8489. "description": "编号",
  8490. "type": "string"
  8491. },
  8492. "strtime": {
  8493. "description": "时间",
  8494. "type": "string"
  8495. },
  8496. "wrstandardcode": {
  8497. "description": "现货商品代码",
  8498. "type": "string"
  8499. },
  8500. "wrstandardname": {
  8501. "description": "现货商品名称",
  8502. "type": "string"
  8503. }
  8504. }
  8505. },
  8506. "models.ErmcpAvalidGoodsGroupModel": {
  8507. "type": "object",
  8508. "properties": {
  8509. "goodsgroupid": {
  8510. "description": "期货品种id",
  8511. "type": "integer"
  8512. },
  8513. "goodsgroupname": {
  8514. "description": "期货品种名称",
  8515. "type": "string"
  8516. },
  8517. "goodunitid": {
  8518. "description": "品种单位id",
  8519. "type": "integer"
  8520. },
  8521. "goodunitname": {
  8522. "description": "品种单位名称",
  8523. "type": "string"
  8524. },
  8525. "outergroupcode": {
  8526. "description": "期货品种代码",
  8527. "type": "string"
  8528. }
  8529. }
  8530. },
  8531. "models.ErmcpExposureDetailModel": {
  8532. "type": "object",
  8533. "properties": {
  8534. "areauserid": {
  8535. "description": "机构ID",
  8536. "type": "integer"
  8537. },
  8538. "changeQty": {
  8539. "description": "套保变动量",
  8540. "type": "number"
  8541. },
  8542. "contracttype": {
  8543. "description": "现货合同类型 - 1:采购 -1:销售",
  8544. "type": "integer"
  8545. },
  8546. "convertfactor": {
  8547. "description": "标仓系数",
  8548. "type": "number"
  8549. },
  8550. "convertratio": {
  8551. "description": "套保系数",
  8552. "type": "number"
  8553. },
  8554. "createtime": {
  8555. "description": "时间",
  8556. "type": "string"
  8557. },
  8558. "enumdicname": {
  8559. "description": "现货商品单位名称",
  8560. "type": "string"
  8561. },
  8562. "logtype": {
  8563. "description": "类型 - 1:套保计划 2:现货合同",
  8564. "type": "integer"
  8565. },
  8566. "middlegoodsId": {
  8567. "description": "套保商品id",
  8568. "type": "integer"
  8569. },
  8570. "middlegoodscode": {
  8571. "description": "套保商品代码",
  8572. "type": "string"
  8573. },
  8574. "middlegoodsname": {
  8575. "description": "套保商品名称",
  8576. "type": "string"
  8577. },
  8578. "qty": {
  8579. "description": "数量",
  8580. "type": "number"
  8581. },
  8582. "relateNo": {
  8583. "description": "现货合同/套保计划编号",
  8584. "type": "string"
  8585. },
  8586. "wrstandardcode": {
  8587. "description": "现货商品代码",
  8588. "type": "string"
  8589. },
  8590. "wrstandardid": {
  8591. "description": "现货商品ID",
  8592. "type": "integer"
  8593. },
  8594. "wrstandardname": {
  8595. "description": "现货商品名称",
  8596. "type": "string"
  8597. }
  8598. }
  8599. },
  8600. "models.ErmcpExposurePostion": {
  8601. "type": "object",
  8602. "properties": {
  8603. "areauserid": {
  8604. "description": "所属机构id",
  8605. "type": "integer"
  8606. },
  8607. "curqty": {
  8608. "description": "当前持仓",
  8609. "type": "integer"
  8610. },
  8611. "diffhedgeqty": {
  8612. "description": "套保品种变动量",
  8613. "type": "number"
  8614. },
  8615. "diffqty": {
  8616. "description": "持仓变动量",
  8617. "type": "integer"
  8618. },
  8619. "goodscode": {
  8620. "description": "商品代码",
  8621. "type": "string"
  8622. },
  8623. "goodsid": {
  8624. "description": "商品id",
  8625. "type": "integer"
  8626. },
  8627. "goodsname": {
  8628. "description": "商品名称",
  8629. "type": "string"
  8630. },
  8631. "middlegoodsid": {
  8632. "description": "套保商品id",
  8633. "type": "integer"
  8634. },
  8635. "ydqty": {
  8636. "description": "昨日持仓",
  8637. "type": "integer"
  8638. }
  8639. }
  8640. },
  8641. "models.ErmcpGGConvertCfg": {
  8642. "type": "object",
  8643. "properties": {
  8644. "convertratio": {
  8645. "description": "折算系数",
  8646. "type": "number"
  8647. },
  8648. "destgoodsgroupid": {
  8649. "description": "目标品种ID",
  8650. "type": "integer"
  8651. },
  8652. "dstcode": {
  8653. "description": "目录品种代码",
  8654. "type": "string"
  8655. },
  8656. "dstname": {
  8657. "description": "目标品种名称",
  8658. "type": "string"
  8659. },
  8660. "dstunitid": {
  8661. "description": "目标品种单位ID",
  8662. "type": "integer"
  8663. },
  8664. "dstunitidname": {
  8665. "description": "目标品种单位名称",
  8666. "type": "string"
  8667. },
  8668. "srccode": {
  8669. "description": "源品种代码",
  8670. "type": "string"
  8671. },
  8672. "srcgoodsgroupid": {
  8673. "description": "源品种ID",
  8674. "type": "integer"
  8675. },
  8676. "srcname": {
  8677. "description": "源品种名称",
  8678. "type": "string"
  8679. },
  8680. "srcunitid": {
  8681. "description": "源品种单位ID",
  8682. "type": "integer"
  8683. },
  8684. "srcunitidname": {
  8685. "description": "源品种单位名称",
  8686. "type": "string"
  8687. }
  8688. }
  8689. },
  8690. "models.ErmcpHedgePlan": {
  8691. "type": "object",
  8692. "properties": {
  8693. "areauserid": {
  8694. "description": "用户ID",
  8695. "type": "integer"
  8696. },
  8697. "contracttype": {
  8698. "description": "计划类型 - 1:采购 -1:销售",
  8699. "type": "integer"
  8700. },
  8701. "convertfactor": {
  8702. "description": "标仓系数",
  8703. "type": "number"
  8704. },
  8705. "deliverygoodsid": {
  8706. "description": "现货品种ID",
  8707. "type": "integer"
  8708. },
  8709. "deliverygoodsname": {
  8710. "description": "现货品种名称",
  8711. "type": "string"
  8712. },
  8713. "hedgeplanid": {
  8714. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8715. "type": "string"
  8716. },
  8717. "hedgeplanno": {
  8718. "description": "套保计划编号(名称)",
  8719. "type": "string"
  8720. },
  8721. "hedgeplanstatus": {
  8722. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8723. "type": "integer"
  8724. },
  8725. "planqty": {
  8726. "description": "计划数量",
  8727. "type": "number"
  8728. },
  8729. "plantime": {
  8730. "description": "计划时间",
  8731. "type": "string"
  8732. },
  8733. "producttype": {
  8734. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8735. "type": "integer"
  8736. },
  8737. "remark": {
  8738. "description": "备注",
  8739. "type": "string"
  8740. },
  8741. "spotgoodsdesc": {
  8742. "description": "商品型号",
  8743. "type": "string"
  8744. },
  8745. "wrstandardid": {
  8746. "description": "现货商品ID",
  8747. "type": "integer"
  8748. },
  8749. "wrstandardname": {
  8750. "description": "现货商品名称",
  8751. "type": "string"
  8752. }
  8753. }
  8754. },
  8755. "models.ErmcpHisExposure": {
  8756. "type": "object",
  8757. "properties": {
  8758. "areauserid": {
  8759. "description": "所属机构",
  8760. "type": "integer"
  8761. },
  8762. "middlegoodscode": {
  8763. "description": "套保品种代码",
  8764. "type": "string"
  8765. },
  8766. "middlegoodsid": {
  8767. "description": "套保品种ID",
  8768. "type": "integer"
  8769. },
  8770. "middlegoodsname": {
  8771. "description": "套保品种名称",
  8772. "type": "string"
  8773. },
  8774. "needhedgeexposourE": {
  8775. "description": "应套保敞口",
  8776. "type": "number"
  8777. },
  8778. "needhedgeratio": {
  8779. "description": "应套保敞口比例",
  8780. "type": "number"
  8781. },
  8782. "reckondate": {
  8783. "description": "日照时期(yyyyMMdd)",
  8784. "type": "string"
  8785. },
  8786. "totalexposure": {
  8787. "description": "总敞口",
  8788. "type": "number"
  8789. },
  8790. "totalfutureqty": {
  8791. "description": "期货头寸总量",
  8792. "type": "number"
  8793. },
  8794. "totalhedgeratio": {
  8795. "description": "敞口比例",
  8796. "type": "number"
  8797. },
  8798. "totalneedhedgeqty": {
  8799. "description": "应套保总量",
  8800. "type": "number"
  8801. },
  8802. "totalspotqty": {
  8803. "description": "现货头寸总量",
  8804. "type": "number"
  8805. }
  8806. }
  8807. },
  8808. "models.ErmcpMiddleGoodsChangeLog": {
  8809. "type": "object",
  8810. "properties": {
  8811. "aftervalue": {
  8812. "description": "变更后",
  8813. "type": "number"
  8814. },
  8815. "applyid": {
  8816. "description": "操作人",
  8817. "type": "integer"
  8818. },
  8819. "applyname": {
  8820. "description": "操作人名称",
  8821. "type": "string"
  8822. },
  8823. "applysrc": {
  8824. "description": "操作来源 - 1:管理端 2:终端",
  8825. "type": "integer"
  8826. },
  8827. "beforevalue": {
  8828. "description": "变更前",
  8829. "type": "number"
  8830. },
  8831. "changelogtype": {
  8832. "description": "变更流水类型 - 1:套保比率变更",
  8833. "type": "integer"
  8834. },
  8835. "handlestatus": {
  8836. "description": "处理状态",
  8837. "type": "integer"
  8838. },
  8839. "logdatetime": {
  8840. "description": "流水日期",
  8841. "type": "string"
  8842. },
  8843. "logid": {
  8844. "description": "流水ID",
  8845. "type": "integer"
  8846. },
  8847. "logremark": {
  8848. "description": "流水备注",
  8849. "type": "string"
  8850. },
  8851. "middlegoodsid": {
  8852. "description": "套保品种ID",
  8853. "type": "integer"
  8854. },
  8855. "tradedate": {
  8856. "description": "交易日(yyyyMMdd)",
  8857. "type": "string"
  8858. },
  8859. "updatetime": {
  8860. "description": "更新时间",
  8861. "type": "string"
  8862. }
  8863. }
  8864. },
  8865. "models.ErmcpMiddleGoodsDetail": {
  8866. "type": "object",
  8867. "properties": {
  8868. "cvList": {
  8869. "description": "期货品种折算列表",
  8870. "type": "array",
  8871. "items": {
  8872. "$ref": "#/definitions/models.GoodsGroupConvert"
  8873. }
  8874. },
  8875. "mg": {
  8876. "description": "套保品种基本信息",
  8877. "type": "object",
  8878. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8879. }
  8880. }
  8881. },
  8882. "models.ErmcpMiddleGoodsModel": {
  8883. "type": "object",
  8884. "properties": {
  8885. "areauserid": {
  8886. "description": "机构用户ID",
  8887. "type": "integer"
  8888. },
  8889. "enumdicname": {
  8890. "description": "单位名称",
  8891. "type": "string"
  8892. },
  8893. "evaluateratio": {
  8894. "description": "估价系数",
  8895. "type": "number"
  8896. },
  8897. "goodsgroupid": {
  8898. "description": "关联期货品种ID",
  8899. "type": "integer"
  8900. },
  8901. "isvalid": {
  8902. "description": "状态 0-无效(停用) 1-有效(正常)",
  8903. "type": "integer"
  8904. },
  8905. "middlegoodscode": {
  8906. "description": "套保品种代码",
  8907. "type": "string"
  8908. },
  8909. "middlegoodsid": {
  8910. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8911. "type": "integer"
  8912. },
  8913. "middlegoodsname": {
  8914. "description": "套保品种名称",
  8915. "type": "string"
  8916. },
  8917. "modifytime": {
  8918. "description": "修改时间",
  8919. "type": "string"
  8920. },
  8921. "needhedgeratio": {
  8922. "description": "套保比率",
  8923. "type": "number"
  8924. },
  8925. "qtydecimalplace": {
  8926. "description": "数量小数位",
  8927. "type": "integer"
  8928. },
  8929. "relatedgoodsid": {
  8930. "description": "关联交易商品ID",
  8931. "type": "integer"
  8932. },
  8933. "relatedgoodstype": {
  8934. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8935. "type": "integer"
  8936. }
  8937. }
  8938. },
  8939. "models.ErmcpModel": {
  8940. "type": "object",
  8941. "properties": {
  8942. "accountname": {
  8943. "description": "账户名称",
  8944. "type": "string"
  8945. },
  8946. "audittime": {
  8947. "description": "审核时间",
  8948. "type": "string"
  8949. },
  8950. "contracctstatus": {
  8951. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8952. "type": "integer"
  8953. },
  8954. "contractmargin": {
  8955. "description": "合同保证金",
  8956. "type": "number"
  8957. },
  8958. "contractno": {
  8959. "description": "合同编号",
  8960. "type": "string"
  8961. },
  8962. "contracttype": {
  8963. "description": "合同类型 1-采购, -1-销售",
  8964. "type": "integer"
  8965. },
  8966. "convertfactor": {
  8967. "description": "标仓系数",
  8968. "type": "number"
  8969. },
  8970. "daikaiamount": {
  8971. "description": "待开票额",
  8972. "type": "number"
  8973. },
  8974. "deliveryenddate": {
  8975. "description": "交割结束日",
  8976. "type": "string"
  8977. },
  8978. "deliverygoodscode": {
  8979. "description": "现货商品代码",
  8980. "type": "string"
  8981. },
  8982. "deliverygoodsid": {
  8983. "description": "现货商品ID",
  8984. "type": "integer"
  8985. },
  8986. "deliverygoodsname": {
  8987. "description": "现货商品名称",
  8988. "type": "string"
  8989. },
  8990. "deliverystartdate": {
  8991. "description": "交割开始日",
  8992. "type": "string"
  8993. },
  8994. "enddate": {
  8995. "description": "点价结束日",
  8996. "type": "string"
  8997. },
  8998. "enumdicname": {
  8999. "description": "单位名称",
  9000. "type": "string"
  9001. },
  9002. "goodscode": {
  9003. "description": "点价商品代码",
  9004. "type": "string"
  9005. },
  9006. "goodsid": {
  9007. "description": "点价商品ID",
  9008. "type": "integer"
  9009. },
  9010. "invoiceamount": {
  9011. "description": "已开票额",
  9012. "type": "number"
  9013. },
  9014. "loanamount": {
  9015. "description": "贷款总额=已定价额+调整金额",
  9016. "type": "number"
  9017. },
  9018. "margin": {
  9019. "description": "保证金",
  9020. "type": "number"
  9021. },
  9022. "payamount": {
  9023. "description": "已收付额(收款或付款)",
  9024. "type": "number"
  9025. },
  9026. "price": {
  9027. "description": "价格",
  9028. "type": "number"
  9029. },
  9030. "pricedamount": {
  9031. "description": "已定价额",
  9032. "type": "number"
  9033. },
  9034. "pricedavg": {
  9035. "description": "已点均价",
  9036. "type": "number"
  9037. },
  9038. "pricedqty": {
  9039. "description": "已定价量",
  9040. "type": "number"
  9041. },
  9042. "pricemove": {
  9043. "description": "升贴水",
  9044. "type": "number"
  9045. },
  9046. "pricetype": {
  9047. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9048. "type": "integer"
  9049. },
  9050. "producttype": {
  9051. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9052. "type": "integer"
  9053. },
  9054. "qty": {
  9055. "description": "合同量",
  9056. "type": "number"
  9057. },
  9058. "reckonadjustamount": {
  9059. "description": "调整金额",
  9060. "type": "number"
  9061. },
  9062. "reckonedamount": {
  9063. "description": "已收付额(已确定额)",
  9064. "type": "number"
  9065. },
  9066. "reckonotheramount": {
  9067. "description": "其它费用",
  9068. "type": "number"
  9069. },
  9070. "reckonrealqty": {
  9071. "description": "已确定量",
  9072. "type": "number"
  9073. },
  9074. "remark": {
  9075. "description": "备注",
  9076. "type": "string"
  9077. },
  9078. "spotcontractid": {
  9079. "description": "合同ID",
  9080. "type": "string"
  9081. },
  9082. "spotgoodsdesc": {
  9083. "description": "商品型号(商品规格)",
  9084. "type": "string"
  9085. },
  9086. "startdate": {
  9087. "description": "点价开始日",
  9088. "type": "string"
  9089. },
  9090. "totalamount": {
  9091. "description": "合计总额",
  9092. "type": "number"
  9093. },
  9094. "unpayamount": {
  9095. "description": "待支收额(支付或收款)",
  9096. "type": "number"
  9097. },
  9098. "unpricedqty": {
  9099. "description": "未定价量",
  9100. "type": "number"
  9101. },
  9102. "unsureqty": {
  9103. "description": "未确定量",
  9104. "type": "number"
  9105. },
  9106. "userid": {
  9107. "description": "用户ID",
  9108. "type": "integer"
  9109. }
  9110. }
  9111. },
  9112. "models.ErmcpOPLogModel": {
  9113. "type": "object",
  9114. "properties": {
  9115. "aftervalue": {
  9116. "description": "变更后",
  9117. "type": "number"
  9118. },
  9119. "applyid": {
  9120. "description": "操作人ID",
  9121. "type": "string"
  9122. },
  9123. "applyname": {
  9124. "description": "操作人名称",
  9125. "type": "string"
  9126. },
  9127. "beforevalue": {
  9128. "description": "变更前",
  9129. "type": "number"
  9130. },
  9131. "biztype": {
  9132. "description": "业务类型 - 1:套保计划 2:现货合同",
  9133. "type": "integer"
  9134. },
  9135. "contracttype": {
  9136. "description": "现货合同类型 - 1:采购 -1:销售",
  9137. "type": "integer"
  9138. },
  9139. "logvalue": {
  9140. "description": "数值",
  9141. "type": "number"
  9142. },
  9143. "operatelogtype": {
  9144. "description": "操作流水类型",
  9145. "type": "integer"
  9146. },
  9147. "operatelogtypedesc": {
  9148. "description": "操作流水类型名称",
  9149. "type": "string"
  9150. },
  9151. "relatedid": {
  9152. "description": "现货合同ID\\套保计划",
  9153. "type": "string"
  9154. },
  9155. "updatetime": {
  9156. "description": "更新时间",
  9157. "type": "string"
  9158. }
  9159. }
  9160. },
  9161. "models.ErmcpRealExposureModel": {
  9162. "type": "object",
  9163. "properties": {
  9164. "areaUserID": {
  9165. "description": "所属机构",
  9166. "type": "integer"
  9167. },
  9168. "buyFutureQty": {
  9169. "description": "买入期货数量",
  9170. "type": "number"
  9171. },
  9172. "buyPlanQty": {
  9173. "description": "采购计划数量",
  9174. "type": "number"
  9175. },
  9176. "buyPricedQty": {
  9177. "description": "采购合同已定价数量",
  9178. "type": "number"
  9179. },
  9180. "middleGoodsCode": {
  9181. "description": "套保品种代码",
  9182. "type": "string"
  9183. },
  9184. "middleGoodsHedgeRatio": {
  9185. "description": "应套保比例",
  9186. "type": "number"
  9187. },
  9188. "middleGoodsID": {
  9189. "description": "套保品种",
  9190. "type": "integer"
  9191. },
  9192. "middleGoodsName": {
  9193. "description": "************以下需计算或非redis数据************//",
  9194. "type": "string"
  9195. },
  9196. "needHedgeExposoure": {
  9197. "description": "应套保敞口",
  9198. "type": "number"
  9199. },
  9200. "needHedgeRatio": {
  9201. "description": "应套保敞口比例",
  9202. "type": "number"
  9203. },
  9204. "oriBuyFutureQty": {
  9205. "description": "期初买入期货数量",
  9206. "type": "integer"
  9207. },
  9208. "oriBuyPlanQty": {
  9209. "description": "期初采购计划数量",
  9210. "type": "number"
  9211. },
  9212. "oriBuyPricedQty": {
  9213. "description": "期初采购合同已定价数量",
  9214. "type": "number"
  9215. },
  9216. "oriSellFutureQty": {
  9217. "description": "期初卖出期货数量",
  9218. "type": "integer"
  9219. },
  9220. "oriSellPlanQty": {
  9221. "description": "期初销售计划数量",
  9222. "type": "number"
  9223. },
  9224. "oriSellPricedQty": {
  9225. "description": "期初销售合同已定价数量",
  9226. "type": "number"
  9227. },
  9228. "oriTotalFutuQty": {
  9229. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9230. "type": "integer"
  9231. },
  9232. "oriTotalSpotQty": {
  9233. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9234. "type": "number"
  9235. },
  9236. "sellFutureQty": {
  9237. "description": "卖出期货数量",
  9238. "type": "number"
  9239. },
  9240. "sellPlanQty": {
  9241. "description": "销售计划数量",
  9242. "type": "number"
  9243. },
  9244. "sellPricedQty": {
  9245. "description": "销售合同已定价数量",
  9246. "type": "number"
  9247. },
  9248. "totalExposure": {
  9249. "description": "总敞口",
  9250. "type": "number"
  9251. },
  9252. "totalFutureQty": {
  9253. "description": "期货数量",
  9254. "type": "number"
  9255. },
  9256. "totalHedgeRatio": {
  9257. "description": "敞口比例",
  9258. "type": "number"
  9259. },
  9260. "totalNeedHedgeQty": {
  9261. "description": "期货应套保量",
  9262. "type": "number"
  9263. },
  9264. "totalSpotQty": {
  9265. "description": "现货数量",
  9266. "type": "number"
  9267. }
  9268. }
  9269. },
  9270. "models.ErmcpSpotContractModel": {
  9271. "type": "object",
  9272. "properties": {
  9273. "amount": {
  9274. "description": "金额 [1:一口价、3:暂定价]",
  9275. "type": "number"
  9276. },
  9277. "audittime": {
  9278. "description": "审核时间",
  9279. "type": "string"
  9280. },
  9281. "buyuserid": {
  9282. "description": "采购方ID",
  9283. "type": "integer"
  9284. },
  9285. "buyusername": {
  9286. "description": "采购方名称",
  9287. "type": "string"
  9288. },
  9289. "contracctstatus": {
  9290. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9291. "type": "integer"
  9292. },
  9293. "contractmargin": {
  9294. "description": "合同保证金",
  9295. "type": "number"
  9296. },
  9297. "contractno": {
  9298. "description": "现货合同编号",
  9299. "type": "string"
  9300. },
  9301. "contracttype": {
  9302. "description": "现货合同类型 - 1:采购 -1:销售",
  9303. "type": "integer"
  9304. },
  9305. "convertfactor": {
  9306. "description": "标仓系数",
  9307. "type": "number"
  9308. },
  9309. "deliveryenddate": {
  9310. "description": "交收期(结束)",
  9311. "type": "string"
  9312. },
  9313. "deliverygoodscode": {
  9314. "description": "现货品种代码",
  9315. "type": "string"
  9316. },
  9317. "deliverygoodsid": {
  9318. "description": "现货品种ID",
  9319. "type": "integer"
  9320. },
  9321. "deliverygoodsname": {
  9322. "description": "现货品种名称",
  9323. "type": "string"
  9324. },
  9325. "deliverystartdate": {
  9326. "description": "交收期(开始)",
  9327. "type": "string"
  9328. },
  9329. "enddate": {
  9330. "description": "点价结束日期 [2:点价 3:暂定价]",
  9331. "type": "string"
  9332. },
  9333. "enumdicname": {
  9334. "description": "单位名称",
  9335. "type": "string"
  9336. },
  9337. "goodscode": {
  9338. "description": "点价合约代码",
  9339. "type": "string"
  9340. },
  9341. "goodsid": {
  9342. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9343. "type": "integer"
  9344. },
  9345. "margin": {
  9346. "description": "当前保证金",
  9347. "type": "number"
  9348. },
  9349. "price": {
  9350. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9351. "type": "number"
  9352. },
  9353. "pricemove": {
  9354. "description": "升贴水 [2:点价 3:暂定价]",
  9355. "type": "number"
  9356. },
  9357. "pricetype": {
  9358. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9359. "type": "integer"
  9360. },
  9361. "producttype": {
  9362. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9363. "type": "integer"
  9364. },
  9365. "qty": {
  9366. "description": "数量",
  9367. "type": "number"
  9368. },
  9369. "remark": {
  9370. "description": "备注",
  9371. "type": "string"
  9372. },
  9373. "selluserid": {
  9374. "description": "销售方ID",
  9375. "type": "integer"
  9376. },
  9377. "sellusername": {
  9378. "description": "销售方名称",
  9379. "type": "string"
  9380. },
  9381. "spotcontractid": {
  9382. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9383. "type": "string"
  9384. },
  9385. "spotgoodsdesc": {
  9386. "description": "商品型号",
  9387. "type": "string"
  9388. },
  9389. "startdate": {
  9390. "description": "点价开始日期 [2:点价 3:暂定价]",
  9391. "type": "string"
  9392. },
  9393. "userid": {
  9394. "description": "机构ID",
  9395. "type": "integer"
  9396. }
  9397. }
  9398. },
  9399. "models.ErmcpUserModel": {
  9400. "type": "object",
  9401. "properties": {
  9402. "address": {
  9403. "description": "通讯地址",
  9404. "type": "string"
  9405. },
  9406. "attachment1": {
  9407. "description": "附件1",
  9408. "type": "string"
  9409. },
  9410. "cardfrontphotourl": {
  9411. "description": "证件正面图片地址",
  9412. "type": "string"
  9413. },
  9414. "cardnum": {
  9415. "description": "证件号码",
  9416. "type": "string"
  9417. },
  9418. "cardtype": {
  9419. "description": "证件类型",
  9420. "type": "integer"
  9421. },
  9422. "cardtypename": {
  9423. "description": "证件类型名称",
  9424. "type": "string"
  9425. },
  9426. "cityid": {
  9427. "description": "市",
  9428. "type": "integer"
  9429. },
  9430. "countryid": {
  9431. "description": "国家",
  9432. "type": "integer"
  9433. },
  9434. "customername": {
  9435. "description": "企业名称",
  9436. "type": "string"
  9437. },
  9438. "memberuserid": {
  9439. "description": "所属机构ID",
  9440. "type": "integer"
  9441. },
  9442. "mobile": {
  9443. "description": "手机号码",
  9444. "type": "string"
  9445. },
  9446. "provinceid": {
  9447. "description": "省",
  9448. "type": "integer"
  9449. },
  9450. "remark": {
  9451. "description": "备注",
  9452. "type": "string"
  9453. },
  9454. "status": {
  9455. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9456. "type": "integer"
  9457. },
  9458. "statusdesc": {
  9459. "description": "账户状态中文描述",
  9460. "type": "string"
  9461. },
  9462. "telphone": {
  9463. "description": "联系电话",
  9464. "type": "string"
  9465. },
  9466. "userid": {
  9467. "description": "用户ID",
  9468. "type": "integer"
  9469. },
  9470. "userinfotype": {
  9471. "description": "客户类型",
  9472. "type": "string"
  9473. }
  9474. }
  9475. },
  9476. "models.ErmcpWrstandDetail": {
  9477. "type": "object",
  9478. "properties": {
  9479. "gbList": {
  9480. "description": "品牌列表",
  9481. "type": "array",
  9482. "items": {
  9483. "$ref": "#/definitions/models.GoodsBrand"
  9484. }
  9485. },
  9486. "gtList": {
  9487. "description": "型号列表",
  9488. "type": "array",
  9489. "items": {
  9490. "$ref": "#/definitions/models.GoodsTypeModel"
  9491. }
  9492. },
  9493. "wrd": {
  9494. "description": "基本信息",
  9495. "type": "object",
  9496. "$ref": "#/definitions/models.ErmcpWrstandard"
  9497. },
  9498. "wrsList": {
  9499. "description": "套保信息列表",
  9500. "type": "array",
  9501. "items": {
  9502. "$ref": "#/definitions/models.WRSConverTDetail"
  9503. }
  9504. }
  9505. }
  9506. },
  9507. "models.ErmcpWrstandard": {
  9508. "type": "object",
  9509. "properties": {
  9510. "areauserid": {
  9511. "description": "所属机构",
  9512. "type": "integer"
  9513. },
  9514. "createtime": {
  9515. "description": "创建时间",
  9516. "type": "string"
  9517. },
  9518. "creatorid": {
  9519. "description": "创建人",
  9520. "type": "integer"
  9521. },
  9522. "deliverygoodsid": {
  9523. "description": "品种ID",
  9524. "type": "integer"
  9525. },
  9526. "enumdicname": {
  9527. "description": "单位名称",
  9528. "type": "string"
  9529. },
  9530. "isvalid": {
  9531. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9532. "type": "integer"
  9533. },
  9534. "minivalue": {
  9535. "description": "最小变动值",
  9536. "type": "integer"
  9537. },
  9538. "minivaluedp": {
  9539. "description": "最小变动值小数位",
  9540. "type": "integer"
  9541. },
  9542. "realminivalue": {
  9543. "description": "实际最小变动值",
  9544. "type": "integer"
  9545. },
  9546. "realminivaluedp": {
  9547. "description": "实际最小变动值小数位",
  9548. "type": "integer"
  9549. },
  9550. "remark": {
  9551. "description": "备注",
  9552. "type": "string"
  9553. },
  9554. "unitid": {
  9555. "description": "单位ID",
  9556. "type": "integer"
  9557. },
  9558. "updatetime": {
  9559. "description": "更新时间",
  9560. "type": "string"
  9561. },
  9562. "wrstandardcode": {
  9563. "description": "现货商品代码",
  9564. "type": "string"
  9565. },
  9566. "wrstandardid": {
  9567. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9568. "type": "integer"
  9569. },
  9570. "wrstandardname": {
  9571. "description": "现货商品名称",
  9572. "type": "string"
  9573. }
  9574. }
  9575. },
  9576. "models.Goods": {
  9577. "type": "object",
  9578. "required": [
  9579. "goodscode",
  9580. "goodsid",
  9581. "goodsname",
  9582. "marketid"
  9583. ],
  9584. "properties": {
  9585. "agreeunit": {
  9586. "description": "合约单位",
  9587. "type": "number"
  9588. },
  9589. "auditaccountid": {
  9590. "description": "审核操作员账号",
  9591. "type": "integer"
  9592. },
  9593. "audittime": {
  9594. "description": "审核时间",
  9595. "type": "string"
  9596. },
  9597. "cancelaccountid": {
  9598. "description": "注销操作员账号",
  9599. "type": "integer"
  9600. },
  9601. "canceltime": {
  9602. "description": "注销时间",
  9603. "type": "string"
  9604. },
  9605. "closepricemode": {
  9606. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9607. "type": "integer"
  9608. },
  9609. "closepriceparam": {
  9610. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9611. "type": "number"
  9612. },
  9613. "createtime": {
  9614. "description": "创建时间",
  9615. "type": "string"
  9616. },
  9617. "creatorid": {
  9618. "description": "创建人",
  9619. "type": "integer"
  9620. },
  9621. "currencyid": {
  9622. "description": "报价货币ID",
  9623. "type": "integer"
  9624. },
  9625. "cutmode": {
  9626. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9627. "type": "integer"
  9628. },
  9629. "decimalplace": {
  9630. "description": "报价小数位",
  9631. "type": "integer"
  9632. },
  9633. "delistingdate": {
  9634. "description": "商品退市时间(状态:退市) -- 已作废",
  9635. "type": "string"
  9636. },
  9637. "delistingmode": {
  9638. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  9639. "type": "integer"
  9640. },
  9641. "deliveryflag": {
  9642. "description": "交割标志 - 0:不可交割 1:可交割",
  9643. "type": "integer"
  9644. },
  9645. "forceclosemode": {
  9646. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  9647. "type": "integer"
  9648. },
  9649. "forceclosevalue": {
  9650. "description": "定期强平参数 [收益权]",
  9651. "type": "integer"
  9652. },
  9653. "goodscode": {
  9654. "description": "商品代码(内部)",
  9655. "type": "string"
  9656. },
  9657. "goodscurrencyid": {
  9658. "description": "合约货币ID",
  9659. "type": "integer"
  9660. },
  9661. "goodsgroupid": {
  9662. "description": "所属商品组ID",
  9663. "type": "integer"
  9664. },
  9665. "goodsid": {
  9666. "description": "商品ID(自增ID SEQ_GOODS)",
  9667. "type": "integer"
  9668. },
  9669. "goodsname": {
  9670. "description": "商品名称",
  9671. "type": "string"
  9672. },
  9673. "goodsquotetype": {
  9674. "description": "合约报价类型: 1-直接报价 2-间接报价",
  9675. "type": "integer"
  9676. },
  9677. "goodsstatus": {
  9678. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9679. "type": "integer"
  9680. },
  9681. "goodstradetype": {
  9682. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  9683. "type": "integer"
  9684. },
  9685. "goodunitid": {
  9686. "description": "报价单位ID",
  9687. "type": "integer"
  9688. },
  9689. "hasquoter": {
  9690. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  9691. "type": "integer"
  9692. },
  9693. "hqprotecttime": {
  9694. "description": "行情保护时间(秒)",
  9695. "type": "integer"
  9696. },
  9697. "innerdealmode": {
  9698. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  9699. "type": "integer"
  9700. },
  9701. "isbuylimited": {
  9702. "description": "是否限制建仓量 - 0:不限制 1:限制",
  9703. "type": "integer"
  9704. },
  9705. "lasttradedate": {
  9706. "description": "最后交易日期(状态:待退市)",
  9707. "type": "string"
  9708. },
  9709. "listingdate": {
  9710. "description": "交易开始日期",
  9711. "type": "string"
  9712. },
  9713. "marketid": {
  9714. "description": "所属市场ID",
  9715. "type": "integer"
  9716. },
  9717. "modifierid": {
  9718. "description": "修改人",
  9719. "type": "integer"
  9720. },
  9721. "modifystatus": {
  9722. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  9723. "type": "integer"
  9724. },
  9725. "modifytime": {
  9726. "description": "修改时间",
  9727. "type": "string"
  9728. },
  9729. "outerdealmode": {
  9730. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  9731. "type": "integer"
  9732. },
  9733. "outgoodscode": {
  9734. "description": "商品代码(外部)",
  9735. "type": "string"
  9736. },
  9737. "qtydecimalplace": {
  9738. "description": "成交量小数位",
  9739. "type": "integer"
  9740. },
  9741. "quotegear": {
  9742. "description": "行情档位(1-10)",
  9743. "type": "integer"
  9744. },
  9745. "quoteminunit": {
  9746. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9747. "type": "integer"
  9748. },
  9749. "quoteshowtype": {
  9750. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  9751. "type": "integer"
  9752. },
  9753. "quoteshowtypeinterval": {
  9754. "description": "行情报价间隔时间(秒)(成交价时为0)",
  9755. "type": "integer"
  9756. },
  9757. "remark": {
  9758. "description": "备注",
  9759. "type": "string"
  9760. }
  9761. }
  9762. },
  9763. "models.GoodsBrand": {
  9764. "type": "object",
  9765. "properties": {
  9766. "brandid": {
  9767. "description": "品牌ID",
  9768. "type": "integer"
  9769. },
  9770. "brandname": {
  9771. "description": "品牌名称",
  9772. "type": "string"
  9773. },
  9774. "isvalid": {
  9775. "description": "是否有效 - 0:无效 1:有效",
  9776. "type": "integer"
  9777. }
  9778. }
  9779. },
  9780. "models.GoodsGroupConvert": {
  9781. "type": "object",
  9782. "properties": {
  9783. "convertratio": {
  9784. "description": "折算系数",
  9785. "type": "number"
  9786. },
  9787. "dstgoodsgroupid": {
  9788. "description": "目标期货品种ID",
  9789. "type": "integer"
  9790. },
  9791. "goodsgroupname": {
  9792. "description": "期货品种名称",
  9793. "type": "string"
  9794. },
  9795. "outergroupcode": {
  9796. "description": "期货品种代码",
  9797. "type": "string"
  9798. },
  9799. "srcgoodsgroupid": {
  9800. "description": "源期货品种ID",
  9801. "type": "integer"
  9802. }
  9803. }
  9804. },
  9805. "models.GoodsIDAndName": {
  9806. "type": "object",
  9807. "required": [
  9808. "goodscode",
  9809. "goodsid",
  9810. "goodsname",
  9811. "marketid"
  9812. ],
  9813. "properties": {
  9814. "goodscode": {
  9815. "description": "商品代码(内部)",
  9816. "type": "string"
  9817. },
  9818. "goodsid": {
  9819. "description": "商品ID(自增ID SEQ_GOODS)",
  9820. "type": "integer"
  9821. },
  9822. "goodsname": {
  9823. "description": "商品名称",
  9824. "type": "string"
  9825. },
  9826. "marketid": {
  9827. "description": "所属市场ID",
  9828. "type": "integer"
  9829. }
  9830. }
  9831. },
  9832. "models.GoodsTypeModel": {
  9833. "type": "object",
  9834. "properties": {
  9835. "modelid": {
  9836. "description": "型号ID",
  9837. "type": "integer"
  9838. },
  9839. "modelname": {
  9840. "description": "型号名称",
  9841. "type": "string"
  9842. },
  9843. "updatetime": {
  9844. "description": "更新时间",
  9845. "type": "string"
  9846. }
  9847. }
  9848. },
  9849. "models.HsbyBuyMyPayOrder": {
  9850. "type": "object",
  9851. "required": [
  9852. "goodscode",
  9853. "goodsname",
  9854. "tradeid",
  9855. "trademode"
  9856. ],
  9857. "properties": {
  9858. "agreeunit": {
  9859. "description": "合约单位",
  9860. "type": "number"
  9861. },
  9862. "buyaccountid": {
  9863. "description": "买方账号ID[报价币种]",
  9864. "type": "integer"
  9865. },
  9866. "buyorderid": {
  9867. "description": "买方委托单号",
  9868. "type": "string"
  9869. },
  9870. "createtime": {
  9871. "description": "创建时间",
  9872. "type": "string"
  9873. },
  9874. "currencysign": {
  9875. "description": "货币符号",
  9876. "type": "string"
  9877. },
  9878. "decimalplace": {
  9879. "description": "报价小数位",
  9880. "type": "integer"
  9881. },
  9882. "goodscode": {
  9883. "description": "商品代码(内部)",
  9884. "type": "string"
  9885. },
  9886. "goodsid": {
  9887. "description": "商品ID",
  9888. "type": "integer"
  9889. },
  9890. "goodsname": {
  9891. "description": "商品名称",
  9892. "type": "string"
  9893. },
  9894. "marketid": {
  9895. "description": "市场ID",
  9896. "type": "integer"
  9897. },
  9898. "offamount": {
  9899. "description": "优惠金额",
  9900. "type": "number"
  9901. },
  9902. "payamount": {
  9903. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9904. "type": "number"
  9905. },
  9906. "payflag": {
  9907. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9908. "type": "integer"
  9909. },
  9910. "paylimitedtime": {
  9911. "description": "支付期限",
  9912. "type": "string"
  9913. },
  9914. "paytime": {
  9915. "description": "付款时间",
  9916. "type": "string"
  9917. },
  9918. "picurls1": {
  9919. "description": "预售商品介绍图片[多张用逗号分隔]",
  9920. "type": "string"
  9921. },
  9922. "picurls2": {
  9923. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9924. "type": "string"
  9925. },
  9926. "sellaccountid": {
  9927. "description": "卖方账号ID[报价币种]",
  9928. "type": "integer"
  9929. },
  9930. "sellorderid": {
  9931. "description": "卖方委托单号",
  9932. "type": "string"
  9933. },
  9934. "tradeamount": {
  9935. "description": "成交金额",
  9936. "type": "number"
  9937. },
  9938. "tradecharge": {
  9939. "description": "成交手续费(买方)",
  9940. "type": "number"
  9941. },
  9942. "tradedate": {
  9943. "description": "交易日(yyyyMMdd)",
  9944. "type": "string"
  9945. },
  9946. "tradeid": {
  9947. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9948. "type": "string"
  9949. },
  9950. "trademode": {
  9951. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9952. "type": "integer"
  9953. },
  9954. "tradeprice": {
  9955. "description": "成交价格",
  9956. "type": "number"
  9957. },
  9958. "tradeqty": {
  9959. "description": "成交数量",
  9960. "type": "integer"
  9961. },
  9962. "vendorname1": {
  9963. "description": "预售商品供应商名称",
  9964. "type": "string"
  9965. },
  9966. "vendorname2": {
  9967. "description": "挂牌商品供应商名称",
  9968. "type": "string"
  9969. }
  9970. }
  9971. },
  9972. "models.HsbyBuyMyTradeDetail": {
  9973. "type": "object",
  9974. "required": [
  9975. "accountid",
  9976. "buyorsell",
  9977. "goodscode",
  9978. "goodsid",
  9979. "goodsname",
  9980. "marketid",
  9981. "orderid",
  9982. "qty",
  9983. "time",
  9984. "trademode"
  9985. ],
  9986. "properties": {
  9987. "accountid": {
  9988. "description": "账户ID[报价币种]",
  9989. "type": "integer"
  9990. },
  9991. "agreeunit": {
  9992. "description": "合约单位",
  9993. "type": "number"
  9994. },
  9995. "amount": {
  9996. "description": "金额 = 价格 * 数量 * 合约单位",
  9997. "type": "number"
  9998. },
  9999. "buyorsell": {
  10000. "description": "买卖 - 0:买 1:卖",
  10001. "type": "integer"
  10002. },
  10003. "currencysign": {
  10004. "description": "货币符号",
  10005. "type": "string"
  10006. },
  10007. "decimalplace": {
  10008. "description": "报价小数位",
  10009. "type": "integer"
  10010. },
  10011. "goodscode": {
  10012. "description": "商品代码(内部)",
  10013. "type": "string"
  10014. },
  10015. "goodsid": {
  10016. "description": "商品ID",
  10017. "type": "integer"
  10018. },
  10019. "goodsname": {
  10020. "description": "商品名称",
  10021. "type": "string"
  10022. },
  10023. "marketid": {
  10024. "description": "市场ID",
  10025. "type": "integer"
  10026. },
  10027. "orderid": {
  10028. "description": "单号(成交单号)",
  10029. "type": "string"
  10030. },
  10031. "picurls1": {
  10032. "description": "预售商品介绍图片[多张用逗号分隔]",
  10033. "type": "string"
  10034. },
  10035. "picurls2": {
  10036. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10037. "type": "string"
  10038. },
  10039. "price": {
  10040. "description": "价格",
  10041. "type": "number"
  10042. },
  10043. "qty": {
  10044. "description": "数量",
  10045. "type": "integer"
  10046. },
  10047. "time": {
  10048. "description": "时间",
  10049. "type": "string"
  10050. },
  10051. "trademode": {
  10052. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10053. "type": "integer"
  10054. },
  10055. "vendorname1": {
  10056. "description": "预售商品供应商名称",
  10057. "type": "string"
  10058. },
  10059. "vendorname2": {
  10060. "description": "挂牌商品供应商名称",
  10061. "type": "string"
  10062. }
  10063. }
  10064. },
  10065. "models.HsbyGoodsOrderDetail": {
  10066. "type": "object",
  10067. "required": [
  10068. "buyorsell",
  10069. "orderid",
  10070. "ordertime"
  10071. ],
  10072. "properties": {
  10073. "buyorsell": {
  10074. "description": "买卖 - 0:买 1:卖",
  10075. "type": "integer"
  10076. },
  10077. "currencysign": {
  10078. "description": "货币符号",
  10079. "type": "string"
  10080. },
  10081. "customername": {
  10082. "description": "客户名称(企业名称),已脱敏",
  10083. "type": "string"
  10084. },
  10085. "enableqty": {
  10086. "description": "可用数量",
  10087. "type": "integer"
  10088. },
  10089. "goodunit": {
  10090. "description": "报价单位",
  10091. "type": "string"
  10092. },
  10093. "orderid": {
  10094. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10095. "type": "string"
  10096. },
  10097. "orderprice": {
  10098. "description": "委托价格",
  10099. "type": "number"
  10100. },
  10101. "ordertime": {
  10102. "description": "委托时间",
  10103. "type": "string"
  10104. }
  10105. }
  10106. },
  10107. "models.HsbyListingGoodsDetail": {
  10108. "type": "object",
  10109. "required": [
  10110. "goodscode",
  10111. "goodsid",
  10112. "goodsname",
  10113. "marketid",
  10114. "trademode"
  10115. ],
  10116. "properties": {
  10117. "agreeunit": {
  10118. "description": "合约单位",
  10119. "type": "number"
  10120. },
  10121. "buymaxqty": {
  10122. "description": "购买上限 [71] - 0为不限",
  10123. "type": "integer"
  10124. },
  10125. "currency": {
  10126. "description": "货币",
  10127. "type": "string"
  10128. },
  10129. "currencysign": {
  10130. "description": "货币符号",
  10131. "type": "string"
  10132. },
  10133. "decimalplace": {
  10134. "description": "报价小数位",
  10135. "type": "integer"
  10136. },
  10137. "desccityid": {
  10138. "description": "目的地(市)ID",
  10139. "type": "integer"
  10140. },
  10141. "descprovinceid": {
  10142. "description": "目的地(省)ID",
  10143. "type": "integer"
  10144. },
  10145. "goodscode": {
  10146. "description": "商品代码(内部)",
  10147. "type": "string"
  10148. },
  10149. "goodsdesc": {
  10150. "description": "商品详情",
  10151. "type": "string"
  10152. },
  10153. "goodsid": {
  10154. "description": "商品ID(自增ID SEQ_GOODS)",
  10155. "type": "integer"
  10156. },
  10157. "goodsname": {
  10158. "description": "商品名称",
  10159. "type": "string"
  10160. },
  10161. "goodsprice": {
  10162. "description": "商品价格",
  10163. "type": "number"
  10164. },
  10165. "hotindex": {
  10166. "description": "景点热度",
  10167. "type": "integer"
  10168. },
  10169. "last": {
  10170. "description": "现价",
  10171. "type": "number"
  10172. },
  10173. "limitdown": {
  10174. "description": "跌停价",
  10175. "type": "number"
  10176. },
  10177. "limitup": {
  10178. "description": "涨停价",
  10179. "type": "number"
  10180. },
  10181. "lotsize": {
  10182. "description": "手数最小变动单位",
  10183. "type": "integer"
  10184. },
  10185. "marketid": {
  10186. "description": "所属市场ID",
  10187. "type": "integer"
  10188. },
  10189. "picurls": {
  10190. "description": "介绍图片[多张用逗号分隔]",
  10191. "type": "string"
  10192. },
  10193. "quoteminunit": {
  10194. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10195. "type": "integer"
  10196. },
  10197. "stepvalue": {
  10198. "description": "价格最小变动单位",
  10199. "type": "number"
  10200. },
  10201. "trademode": {
  10202. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10203. "type": "integer"
  10204. },
  10205. "vendorattr": {
  10206. "description": "供应商附件(多张,逗号分隔)",
  10207. "type": "string"
  10208. },
  10209. "vendorname": {
  10210. "description": "供应商名称",
  10211. "type": "string"
  10212. },
  10213. "vendorphone": {
  10214. "description": "供应商客服电话",
  10215. "type": "string"
  10216. },
  10217. "videourls": {
  10218. "description": "介绍视频[多张用逗号分隔]",
  10219. "type": "string"
  10220. }
  10221. }
  10222. },
  10223. "models.HsbyMarketGoods": {
  10224. "type": "object",
  10225. "required": [
  10226. "accountid",
  10227. "buyorsell",
  10228. "goodscode",
  10229. "goodsid",
  10230. "goodsname",
  10231. "marketid",
  10232. "orderid",
  10233. "trademode"
  10234. ],
  10235. "properties": {
  10236. "accountid": {
  10237. "description": "账户ID[报价币种]",
  10238. "type": "integer"
  10239. },
  10240. "agreeunit": {
  10241. "description": "合约单位",
  10242. "type": "number"
  10243. },
  10244. "buyorsell": {
  10245. "description": "买卖 - 0:买 1:卖",
  10246. "type": "integer"
  10247. },
  10248. "categoryid": {
  10249. "description": "类别ID(WRCATEGORY)",
  10250. "type": "integer"
  10251. },
  10252. "currency": {
  10253. "description": "货币",
  10254. "type": "string"
  10255. },
  10256. "currencysign": {
  10257. "description": "货币符号",
  10258. "type": "string"
  10259. },
  10260. "customername": {
  10261. "description": "卖家名称",
  10262. "type": "string"
  10263. },
  10264. "decimalplace": {
  10265. "description": "报价小数位",
  10266. "type": "integer"
  10267. },
  10268. "goodscode": {
  10269. "description": "商品代码(内部)",
  10270. "type": "string"
  10271. },
  10272. "goodsid": {
  10273. "description": "商品ID",
  10274. "type": "integer"
  10275. },
  10276. "goodsname": {
  10277. "description": "商品名称",
  10278. "type": "string"
  10279. },
  10280. "goodsprice": {
  10281. "description": "商品价格",
  10282. "type": "number"
  10283. },
  10284. "hascoupon": {
  10285. "description": "是否可用优惠卷",
  10286. "type": "boolean"
  10287. },
  10288. "hotindex": {
  10289. "description": "景点热度",
  10290. "type": "integer"
  10291. },
  10292. "marketid": {
  10293. "description": "市场ID",
  10294. "type": "integer"
  10295. },
  10296. "orderid": {
  10297. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10298. "type": "string"
  10299. },
  10300. "orderprice": {
  10301. "description": "委托价格",
  10302. "type": "number"
  10303. },
  10304. "orderstatus": {
  10305. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10306. "type": "integer"
  10307. },
  10308. "picurls": {
  10309. "description": "介绍图片[多张用逗号分隔]",
  10310. "type": "string"
  10311. },
  10312. "quoteminunit": {
  10313. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10314. "type": "integer"
  10315. },
  10316. "sellUserID": {
  10317. "description": "卖方UserID",
  10318. "type": "integer"
  10319. },
  10320. "trademode": {
  10321. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10322. "type": "integer"
  10323. },
  10324. "videourls": {
  10325. "description": "介绍视频[多张用逗号分隔]",
  10326. "type": "string"
  10327. }
  10328. }
  10329. },
  10330. "models.HsbyMarketGoodsDetail": {
  10331. "type": "object",
  10332. "required": [
  10333. "accountid",
  10334. "buyorsell",
  10335. "goodscode",
  10336. "goodsid",
  10337. "goodsname",
  10338. "marketid",
  10339. "orderid",
  10340. "orderqty",
  10341. "trademode"
  10342. ],
  10343. "properties": {
  10344. "accountid": {
  10345. "description": "账户ID[报价币种]",
  10346. "type": "integer"
  10347. },
  10348. "agreeunit": {
  10349. "description": "合约单位",
  10350. "type": "number"
  10351. },
  10352. "buymaxqty": {
  10353. "description": "购买上限 [71] - 0为不限",
  10354. "type": "integer"
  10355. },
  10356. "buyorsell": {
  10357. "description": "买卖 - 0:买 1:卖",
  10358. "type": "integer"
  10359. },
  10360. "cancelqty": {
  10361. "description": "撤单数量",
  10362. "type": "integer"
  10363. },
  10364. "categoryid": {
  10365. "description": "类别ID(WRCATEGORY)",
  10366. "type": "integer"
  10367. },
  10368. "currency": {
  10369. "description": "货币",
  10370. "type": "string"
  10371. },
  10372. "currencysign": {
  10373. "description": "货币符号",
  10374. "type": "string"
  10375. },
  10376. "customername": {
  10377. "description": "卖家名称",
  10378. "type": "string"
  10379. },
  10380. "decimalplace": {
  10381. "description": "报价小数位",
  10382. "type": "integer"
  10383. },
  10384. "goodscode": {
  10385. "description": "商品代码(内部)",
  10386. "type": "string"
  10387. },
  10388. "goodsdesc": {
  10389. "description": "商品详情",
  10390. "type": "string"
  10391. },
  10392. "goodsid": {
  10393. "description": "商品ID",
  10394. "type": "integer"
  10395. },
  10396. "goodsname": {
  10397. "description": "商品名称",
  10398. "type": "string"
  10399. },
  10400. "goodsprice": {
  10401. "description": "商品价格",
  10402. "type": "number"
  10403. },
  10404. "hotindex": {
  10405. "description": "景点热度",
  10406. "type": "integer"
  10407. },
  10408. "lotsize": {
  10409. "description": "手数最小变动单位",
  10410. "type": "integer"
  10411. },
  10412. "marketid": {
  10413. "description": "市场ID",
  10414. "type": "integer"
  10415. },
  10416. "orderid": {
  10417. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10418. "type": "string"
  10419. },
  10420. "orderprice": {
  10421. "description": "委托价格",
  10422. "type": "number"
  10423. },
  10424. "orderqty": {
  10425. "description": "委托数量",
  10426. "type": "integer"
  10427. },
  10428. "orderstatus": {
  10429. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10430. "type": "integer"
  10431. },
  10432. "picurls": {
  10433. "description": "介绍图片[多张用逗号分隔]",
  10434. "type": "string"
  10435. },
  10436. "quoteminunit": {
  10437. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10438. "type": "integer"
  10439. },
  10440. "sellUserID": {
  10441. "description": "卖方UserID",
  10442. "type": "integer"
  10443. },
  10444. "trademode": {
  10445. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10446. "type": "integer"
  10447. },
  10448. "tradeqty": {
  10449. "description": "成交数量",
  10450. "type": "integer"
  10451. },
  10452. "vendorattr": {
  10453. "description": "供应商附件(多张,逗号分隔)",
  10454. "type": "string"
  10455. },
  10456. "vendorname": {
  10457. "description": "供应商名称",
  10458. "type": "string"
  10459. },
  10460. "vendorphone": {
  10461. "description": "供应商客服电话",
  10462. "type": "string"
  10463. },
  10464. "videourls": {
  10465. "description": "介绍视频[多张用逗号分隔]",
  10466. "type": "string"
  10467. }
  10468. }
  10469. },
  10470. "models.HsbyMarketInfo": {
  10471. "type": "object",
  10472. "required": [
  10473. "marketid",
  10474. "marketstatus",
  10475. "trademode"
  10476. ],
  10477. "properties": {
  10478. "marketid": {
  10479. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10480. "type": "integer"
  10481. },
  10482. "marketname": {
  10483. "description": "市场名称",
  10484. "type": "string"
  10485. },
  10486. "marketstatus": {
  10487. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10488. "type": "integer"
  10489. },
  10490. "trademode": {
  10491. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10492. "type": "integer"
  10493. }
  10494. }
  10495. },
  10496. "models.HsbyMyGoods": {
  10497. "type": "object",
  10498. "required": [
  10499. "accountid",
  10500. "goodscode",
  10501. "goodsid",
  10502. "goodsname",
  10503. "marketid",
  10504. "trademode"
  10505. ],
  10506. "properties": {
  10507. "accountid": {
  10508. "description": "账号Id",
  10509. "type": "integer"
  10510. },
  10511. "agreeunit": {
  10512. "description": "合约单位",
  10513. "type": "number"
  10514. },
  10515. "buyaverageprice": {
  10516. "description": "持仓均价",
  10517. "type": "number"
  10518. },
  10519. "buycurholderamount": {
  10520. "description": "买当前持仓总金额[商品币种]",
  10521. "type": "number"
  10522. },
  10523. "buycurpositionqty": {
  10524. "description": "买当前持仓总数量",
  10525. "type": "integer"
  10526. },
  10527. "buymaxqty": {
  10528. "description": "购买上限 [71] - 0为不限",
  10529. "type": "integer"
  10530. },
  10531. "currencysign": {
  10532. "description": "货币符号",
  10533. "type": "string"
  10534. },
  10535. "decimalplace": {
  10536. "description": "报价小数位",
  10537. "type": "integer"
  10538. },
  10539. "enableqty": {
  10540. "description": "可用数量",
  10541. "type": "integer"
  10542. },
  10543. "goodscode": {
  10544. "description": "商品代码(内部)",
  10545. "type": "string"
  10546. },
  10547. "goodsid": {
  10548. "description": "商品Id",
  10549. "type": "integer"
  10550. },
  10551. "goodsname": {
  10552. "description": "商品名称",
  10553. "type": "string"
  10554. },
  10555. "goodsprice": {
  10556. "description": "商品价格",
  10557. "type": "number"
  10558. },
  10559. "goodsstatus": {
  10560. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10561. "type": "integer"
  10562. },
  10563. "last": {
  10564. "description": "现价(仅使用于挂牌点选)",
  10565. "type": "number"
  10566. },
  10567. "limitdown": {
  10568. "description": "跌停价(仅使用于挂牌点选)",
  10569. "type": "number"
  10570. },
  10571. "limitup": {
  10572. "description": "涨停价(仅使用于挂牌点选)",
  10573. "type": "number"
  10574. },
  10575. "lotsize": {
  10576. "description": "手数最小变动单位",
  10577. "type": "integer"
  10578. },
  10579. "marketid": {
  10580. "description": "所属市场ID",
  10581. "type": "integer"
  10582. },
  10583. "picurls": {
  10584. "description": "介绍图片[多张用逗号分隔]",
  10585. "type": "string"
  10586. },
  10587. "quoteminunit": {
  10588. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10589. "type": "integer"
  10590. },
  10591. "stepvalue": {
  10592. "description": "价格最小变动单位",
  10593. "type": "number"
  10594. },
  10595. "trademode": {
  10596. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10597. "type": "integer"
  10598. }
  10599. }
  10600. },
  10601. "models.HsbyMyPackage": {
  10602. "type": "object",
  10603. "required": [
  10604. "goodscode",
  10605. "goodsname",
  10606. "takeorderid",
  10607. "trademode"
  10608. ],
  10609. "properties": {
  10610. "accountid": {
  10611. "description": "账户ID",
  10612. "type": "integer"
  10613. },
  10614. "address": {
  10615. "description": "提货人详细地址",
  10616. "type": "string"
  10617. },
  10618. "agreeunit": {
  10619. "description": "合约单位",
  10620. "type": "number"
  10621. },
  10622. "amount": {
  10623. "description": "提货金额",
  10624. "type": "number"
  10625. },
  10626. "auditer": {
  10627. "description": "审核人",
  10628. "type": "integer"
  10629. },
  10630. "audittime": {
  10631. "description": "审核时间",
  10632. "type": "string"
  10633. },
  10634. "averageprice": {
  10635. "description": "均价",
  10636. "type": "number"
  10637. },
  10638. "cardnum": {
  10639. "description": "提货人证件号码",
  10640. "type": "string"
  10641. },
  10642. "cardtypeid": {
  10643. "description": "提货人证件类型",
  10644. "type": "integer"
  10645. },
  10646. "checkremark": {
  10647. "description": "审核备注",
  10648. "type": "string"
  10649. },
  10650. "currencysign": {
  10651. "description": "货币符号",
  10652. "type": "string"
  10653. },
  10654. "decimalplace": {
  10655. "description": "报价小数位",
  10656. "type": "integer"
  10657. },
  10658. "goodscode": {
  10659. "description": "商品代码(内部)",
  10660. "type": "string"
  10661. },
  10662. "goodsid": {
  10663. "description": "商品ID",
  10664. "type": "integer"
  10665. },
  10666. "goodsname": {
  10667. "description": "商品名称",
  10668. "type": "string"
  10669. },
  10670. "handlestatus": {
  10671. "description": "处理状态",
  10672. "type": "integer"
  10673. },
  10674. "marketid": {
  10675. "description": "市场ID",
  10676. "type": "integer"
  10677. },
  10678. "phonenum": {
  10679. "description": "提货人联系方式",
  10680. "type": "string"
  10681. },
  10682. "picurls": {
  10683. "description": "介绍图片[多张用逗号分隔]",
  10684. "type": "string"
  10685. },
  10686. "qty": {
  10687. "description": "提货数量",
  10688. "type": "number"
  10689. },
  10690. "recivername": {
  10691. "description": "提货人姓名",
  10692. "type": "string"
  10693. },
  10694. "reqtime": {
  10695. "description": "更新时间",
  10696. "type": "string"
  10697. },
  10698. "takemode": {
  10699. "description": "提货方式 - 2:自提 3:配送",
  10700. "type": "integer"
  10701. },
  10702. "takeorderid": {
  10703. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10704. "type": "string"
  10705. },
  10706. "takeorderstatus": {
  10707. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10708. "type": "integer"
  10709. },
  10710. "takeremark": {
  10711. "description": "提货备注",
  10712. "type": "string"
  10713. },
  10714. "tradedate": {
  10715. "description": "交易日(yyyyMMdd)",
  10716. "type": "string"
  10717. },
  10718. "trademode": {
  10719. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10720. "type": "integer"
  10721. },
  10722. "userid": {
  10723. "description": "用户ID",
  10724. "type": "integer"
  10725. },
  10726. "vendorname": {
  10727. "description": "供应商名称",
  10728. "type": "string"
  10729. }
  10730. }
  10731. },
  10732. "models.HsbyPreGoods": {
  10733. "type": "object",
  10734. "required": [
  10735. "goodscode",
  10736. "goodsid",
  10737. "goodsname",
  10738. "marketid",
  10739. "trademode"
  10740. ],
  10741. "properties": {
  10742. "agreeunit": {
  10743. "description": "合约单位",
  10744. "type": "number"
  10745. },
  10746. "currency": {
  10747. "description": "货币",
  10748. "type": "string"
  10749. },
  10750. "currencysign": {
  10751. "description": "货币符号",
  10752. "type": "string"
  10753. },
  10754. "decimalplace": {
  10755. "description": "报价小数位",
  10756. "type": "integer"
  10757. },
  10758. "enableqty": {
  10759. "description": "剩余数量",
  10760. "type": "integer"
  10761. },
  10762. "goodscode": {
  10763. "description": "商品代码(内部)",
  10764. "type": "string"
  10765. },
  10766. "goodsid": {
  10767. "description": "商品ID(自增ID SEQ_GOODS)",
  10768. "type": "integer"
  10769. },
  10770. "goodsname": {
  10771. "description": "商品名称",
  10772. "type": "string"
  10773. },
  10774. "goodsstatus": {
  10775. "description": "商品状态- 2:未上市 3:上市",
  10776. "type": "integer"
  10777. },
  10778. "lasttradedate": {
  10779. "description": "最后交易日期(状态:待退市)",
  10780. "type": "string"
  10781. },
  10782. "listingdate": {
  10783. "description": "交易开始日期",
  10784. "type": "string"
  10785. },
  10786. "marketid": {
  10787. "description": "所属市场ID",
  10788. "type": "integer"
  10789. },
  10790. "picurls": {
  10791. "description": "介绍图片[多张用逗号分隔]",
  10792. "type": "string"
  10793. },
  10794. "presaledqty": {
  10795. "description": "已预售量(预售结束时更新)",
  10796. "type": "integer"
  10797. },
  10798. "presaleqty": {
  10799. "description": "预售数量",
  10800. "type": "integer"
  10801. },
  10802. "quoteminunit": {
  10803. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10804. "type": "integer"
  10805. },
  10806. "refprice": {
  10807. "description": "参考价格[一口价]",
  10808. "type": "number"
  10809. },
  10810. "relatedgoodsid": {
  10811. "description": "关联交易合约ID",
  10812. "type": "integer"
  10813. },
  10814. "trademode": {
  10815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10816. "type": "integer"
  10817. },
  10818. "videourls": {
  10819. "description": "介绍视频[多张用逗号分隔]",
  10820. "type": "string"
  10821. }
  10822. }
  10823. },
  10824. "models.HsbyPreGoodsDetail": {
  10825. "type": "object",
  10826. "required": [
  10827. "goodscode",
  10828. "goodsid",
  10829. "goodsname",
  10830. "marketid",
  10831. "trademode"
  10832. ],
  10833. "properties": {
  10834. "agreeunit": {
  10835. "description": "合约单位",
  10836. "type": "number"
  10837. },
  10838. "buymaxqty": {
  10839. "description": "购买上限 [71] - 0为不限",
  10840. "type": "integer"
  10841. },
  10842. "currency": {
  10843. "description": "货币",
  10844. "type": "string"
  10845. },
  10846. "currencysign": {
  10847. "description": "货币符号",
  10848. "type": "string"
  10849. },
  10850. "customername": {
  10851. "description": "发行单位",
  10852. "type": "string"
  10853. },
  10854. "decimalplace": {
  10855. "description": "报价小数位",
  10856. "type": "integer"
  10857. },
  10858. "desccityid": {
  10859. "description": "目的地(市)ID",
  10860. "type": "integer"
  10861. },
  10862. "descprovinceid": {
  10863. "description": "目的地(省)ID",
  10864. "type": "integer"
  10865. },
  10866. "enableqty": {
  10867. "description": "剩余数量",
  10868. "type": "integer"
  10869. },
  10870. "goodscode": {
  10871. "description": "商品代码(内部)",
  10872. "type": "string"
  10873. },
  10874. "goodsdesc": {
  10875. "description": "商品详情",
  10876. "type": "string"
  10877. },
  10878. "goodsid": {
  10879. "description": "商品ID(自增ID SEQ_GOODS)",
  10880. "type": "integer"
  10881. },
  10882. "goodsname": {
  10883. "description": "商品名称",
  10884. "type": "string"
  10885. },
  10886. "goodsstatus": {
  10887. "description": "商品状态- 2:未上市 3:上市",
  10888. "type": "integer"
  10889. },
  10890. "goodunit": {
  10891. "description": "报价单位",
  10892. "type": "string"
  10893. },
  10894. "lasttradedate": {
  10895. "description": "最后交易日期(状态:待退市)",
  10896. "type": "string"
  10897. },
  10898. "listingdate": {
  10899. "description": "交易开始日期",
  10900. "type": "string"
  10901. },
  10902. "lotsize": {
  10903. "description": "手数最小变动单位",
  10904. "type": "integer"
  10905. },
  10906. "marketid": {
  10907. "description": "所属市场ID",
  10908. "type": "integer"
  10909. },
  10910. "picurls": {
  10911. "description": "介绍图片[多张用逗号分隔]",
  10912. "type": "string"
  10913. },
  10914. "presaledqty": {
  10915. "description": "已预售量(预售结束时更新)",
  10916. "type": "integer"
  10917. },
  10918. "presaleqty": {
  10919. "description": "预售数量",
  10920. "type": "integer"
  10921. },
  10922. "quoteminunit": {
  10923. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10924. "type": "integer"
  10925. },
  10926. "refprice": {
  10927. "description": "参考价格[一口价]",
  10928. "type": "number"
  10929. },
  10930. "relatedgoodsid": {
  10931. "description": "关联交易合约ID",
  10932. "type": "integer"
  10933. },
  10934. "stepvalue": {
  10935. "description": "价格最小变动单位",
  10936. "type": "number"
  10937. },
  10938. "trademode": {
  10939. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10940. "type": "integer"
  10941. },
  10942. "vendorattr": {
  10943. "description": "供应商附件(多张,逗号分隔)",
  10944. "type": "string"
  10945. },
  10946. "vendorname": {
  10947. "description": "供应商名称",
  10948. "type": "string"
  10949. },
  10950. "vendorphone": {
  10951. "description": "供应商客服电话",
  10952. "type": "string"
  10953. },
  10954. "videourls": {
  10955. "description": "介绍视频[多张用逗号分隔]",
  10956. "type": "string"
  10957. }
  10958. }
  10959. },
  10960. "models.HsbySellCollectionOrder": {
  10961. "type": "object",
  10962. "required": [
  10963. "goodscode",
  10964. "goodsname",
  10965. "tradeid",
  10966. "trademode"
  10967. ],
  10968. "properties": {
  10969. "agreeunit": {
  10970. "description": "合约单位",
  10971. "type": "number"
  10972. },
  10973. "buyaccountid": {
  10974. "description": "买方账号ID[报价币种]",
  10975. "type": "integer"
  10976. },
  10977. "buyorderid": {
  10978. "description": "买方委托单号",
  10979. "type": "string"
  10980. },
  10981. "createtime": {
  10982. "description": "创建时间",
  10983. "type": "string"
  10984. },
  10985. "currencysign": {
  10986. "description": "货币符号",
  10987. "type": "string"
  10988. },
  10989. "decimalplace": {
  10990. "description": "报价小数位",
  10991. "type": "integer"
  10992. },
  10993. "goodscode": {
  10994. "description": "商品代码(内部)",
  10995. "type": "string"
  10996. },
  10997. "goodsid": {
  10998. "description": "商品ID",
  10999. "type": "integer"
  11000. },
  11001. "goodsname": {
  11002. "description": "商品名称",
  11003. "type": "string"
  11004. },
  11005. "marketid": {
  11006. "description": "市场ID",
  11007. "type": "integer"
  11008. },
  11009. "offamount": {
  11010. "description": "优惠金额",
  11011. "type": "number"
  11012. },
  11013. "payamount": {
  11014. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11015. "type": "number"
  11016. },
  11017. "payflag": {
  11018. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11019. "type": "integer"
  11020. },
  11021. "paylimitedtime": {
  11022. "description": "支付期限",
  11023. "type": "string"
  11024. },
  11025. "paytime": {
  11026. "description": "付款时间",
  11027. "type": "string"
  11028. },
  11029. "picurls": {
  11030. "description": "商品介绍图片[多张用逗号分隔]",
  11031. "type": "string"
  11032. },
  11033. "sellaccountid": {
  11034. "description": "卖方账号ID[报价币种]",
  11035. "type": "integer"
  11036. },
  11037. "sellorderid": {
  11038. "description": "卖方委托单号",
  11039. "type": "string"
  11040. },
  11041. "tradeamount": {
  11042. "description": "成交金额",
  11043. "type": "number"
  11044. },
  11045. "tradecharge": {
  11046. "description": "成交手续费(买方)",
  11047. "type": "number"
  11048. },
  11049. "tradedate": {
  11050. "description": "交易日(yyyyMMdd)",
  11051. "type": "string"
  11052. },
  11053. "tradeid": {
  11054. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11055. "type": "string"
  11056. },
  11057. "trademode": {
  11058. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11059. "type": "integer"
  11060. },
  11061. "tradeprice": {
  11062. "description": "成交价格",
  11063. "type": "number"
  11064. },
  11065. "tradeqty": {
  11066. "description": "成交数量",
  11067. "type": "integer"
  11068. }
  11069. }
  11070. },
  11071. "models.HsbySellMyDetail": {
  11072. "type": "object",
  11073. "required": [
  11074. "accountid",
  11075. "buyorsell",
  11076. "goodscode",
  11077. "goodsid",
  11078. "goodsname",
  11079. "marketid",
  11080. "orderid",
  11081. "time",
  11082. "trademode"
  11083. ],
  11084. "properties": {
  11085. "accountid": {
  11086. "description": "账户ID[报价币种]",
  11087. "type": "integer"
  11088. },
  11089. "agreeunit": {
  11090. "description": "合约单位",
  11091. "type": "number"
  11092. },
  11093. "buyorsell": {
  11094. "description": "买卖 - 0:买 1:卖",
  11095. "type": "integer"
  11096. },
  11097. "currencysign": {
  11098. "description": "货币符号",
  11099. "type": "string"
  11100. },
  11101. "decimalplace": {
  11102. "description": "报价小数位",
  11103. "type": "integer"
  11104. },
  11105. "goodscode": {
  11106. "description": "商品代码(内部)",
  11107. "type": "string"
  11108. },
  11109. "goodsid": {
  11110. "description": "商品ID",
  11111. "type": "integer"
  11112. },
  11113. "goodsname": {
  11114. "description": "商品名称",
  11115. "type": "string"
  11116. },
  11117. "marketid": {
  11118. "description": "市场ID",
  11119. "type": "integer"
  11120. },
  11121. "orderid": {
  11122. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11123. "type": "string"
  11124. },
  11125. "ordertype": {
  11126. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11127. "type": "integer"
  11128. },
  11129. "picurls": {
  11130. "description": "介绍图片[多张用逗号分隔]",
  11131. "type": "string"
  11132. },
  11133. "price": {
  11134. "description": "价格",
  11135. "type": "number"
  11136. },
  11137. "qty": {
  11138. "description": "数量",
  11139. "type": "integer"
  11140. },
  11141. "time": {
  11142. "description": "时间",
  11143. "type": "string"
  11144. },
  11145. "trademode": {
  11146. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11147. "type": "integer"
  11148. },
  11149. "vendorname": {
  11150. "description": "供应商名称",
  11151. "type": "string"
  11152. }
  11153. }
  11154. },
  11155. "models.HsbyTopGoods": {
  11156. "type": "object",
  11157. "required": [
  11158. "goodscode",
  11159. "goodsid",
  11160. "goodsname",
  11161. "marketid",
  11162. "trademode"
  11163. ],
  11164. "properties": {
  11165. "agreeunit": {
  11166. "description": "合约单位",
  11167. "type": "number"
  11168. },
  11169. "currency": {
  11170. "description": "货币",
  11171. "type": "string"
  11172. },
  11173. "currencysign": {
  11174. "description": "货币符号",
  11175. "type": "string"
  11176. },
  11177. "decimalplace": {
  11178. "description": "报价小数位",
  11179. "type": "integer"
  11180. },
  11181. "goodscode": {
  11182. "description": "商品代码(内部)",
  11183. "type": "string"
  11184. },
  11185. "goodsid": {
  11186. "description": "商品ID(自增ID SEQ_GOODS)",
  11187. "type": "integer"
  11188. },
  11189. "goodsname": {
  11190. "description": "商品名称",
  11191. "type": "string"
  11192. },
  11193. "hotindex": {
  11194. "description": "景点热度",
  11195. "type": "integer"
  11196. },
  11197. "last": {
  11198. "description": "现价",
  11199. "type": "number"
  11200. },
  11201. "marketid": {
  11202. "description": "所属市场ID",
  11203. "type": "integer"
  11204. },
  11205. "picurls": {
  11206. "description": "介绍图片[多张用逗号分隔]",
  11207. "type": "string"
  11208. },
  11209. "quoteminunit": {
  11210. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11211. "type": "integer"
  11212. },
  11213. "trademode": {
  11214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11215. "type": "integer"
  11216. },
  11217. "videourls": {
  11218. "description": "介绍视频[多张用逗号分隔]",
  11219. "type": "string"
  11220. }
  11221. }
  11222. },
  11223. "models.HybsMyBuyOrderDetail": {
  11224. "type": "object",
  11225. "required": [
  11226. "accountid",
  11227. "buyorsell",
  11228. "goodscode",
  11229. "goodsid",
  11230. "goodsname",
  11231. "marketid",
  11232. "orderid",
  11233. "orderqty",
  11234. "ordertime",
  11235. "trademode"
  11236. ],
  11237. "properties": {
  11238. "accountid": {
  11239. "description": "账户ID[报价币种]",
  11240. "type": "integer"
  11241. },
  11242. "agreeunit": {
  11243. "description": "合约单位",
  11244. "type": "number"
  11245. },
  11246. "buyorsell": {
  11247. "description": "买卖 - 0:买 1:卖",
  11248. "type": "integer"
  11249. },
  11250. "cancelqty": {
  11251. "description": "撤单数量",
  11252. "type": "integer"
  11253. },
  11254. "currencysign": {
  11255. "description": "货币符号",
  11256. "type": "string"
  11257. },
  11258. "decimalplace": {
  11259. "description": "报价小数位",
  11260. "type": "integer"
  11261. },
  11262. "goodscode": {
  11263. "description": "商品代码(内部)",
  11264. "type": "string"
  11265. },
  11266. "goodsid": {
  11267. "description": "商品ID",
  11268. "type": "integer"
  11269. },
  11270. "goodsname": {
  11271. "description": "商品名称",
  11272. "type": "string"
  11273. },
  11274. "listingselecttype": {
  11275. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11276. "type": "integer"
  11277. },
  11278. "marketid": {
  11279. "description": "市场ID",
  11280. "type": "integer"
  11281. },
  11282. "mybuystatus": {
  11283. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11284. "type": "integer"
  11285. },
  11286. "orderamount": {
  11287. "description": "委托金额",
  11288. "type": "number"
  11289. },
  11290. "orderid": {
  11291. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11292. "type": "string"
  11293. },
  11294. "orderprice": {
  11295. "description": "委托价格",
  11296. "type": "number"
  11297. },
  11298. "orderqty": {
  11299. "description": "委托数量",
  11300. "type": "integer"
  11301. },
  11302. "orderstatus": {
  11303. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11304. "type": "integer"
  11305. },
  11306. "ordertime": {
  11307. "description": "委托时间",
  11308. "type": "string"
  11309. },
  11310. "picurls1": {
  11311. "description": "预售商品介绍图片[多张用逗号分隔]",
  11312. "type": "string"
  11313. },
  11314. "picurls2": {
  11315. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11316. "type": "string"
  11317. },
  11318. "trademode": {
  11319. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11320. "type": "integer"
  11321. },
  11322. "tradeqty": {
  11323. "description": "成交数量",
  11324. "type": "integer"
  11325. },
  11326. "vendorname1": {
  11327. "description": "预售商品供应商名称",
  11328. "type": "string"
  11329. },
  11330. "vendorname2": {
  11331. "description": "挂牌商品供应商名称",
  11332. "type": "string"
  11333. }
  11334. }
  11335. },
  11336. "models.Market": {
  11337. "type": "object",
  11338. "required": [
  11339. "marketid",
  11340. "marketstatus",
  11341. "openmethod",
  11342. "reckonpricealgorithm",
  11343. "trademode",
  11344. "tradeproperty"
  11345. ],
  11346. "properties": {
  11347. "auctionwrtype": {
  11348. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11349. "type": "integer"
  11350. },
  11351. "canacceptquote": {
  11352. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11353. "type": "integer"
  11354. },
  11355. "cangoodsexercise": {
  11356. "description": "[期权]是否可现货行权- 0:否 1:是",
  11357. "type": "integer"
  11358. },
  11359. "cangoodsexercisetype": {
  11360. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11361. "type": "integer"
  11362. },
  11363. "canmanualquotestrike": {
  11364. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11365. "type": "integer"
  11366. },
  11367. "canmutistage": {
  11368. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11369. "type": "integer"
  11370. },
  11371. "canpreexercise": {
  11372. "description": "[期权]是否可预申报- 0:否 1:是",
  11373. "type": "integer"
  11374. },
  11375. "clearinterval": {
  11376. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11377. "type": "integer"
  11378. },
  11379. "contracttmp": {
  11380. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11381. "type": "string"
  11382. },
  11383. "exchareaid": {
  11384. "description": "所属交易所,可以没有",
  11385. "type": "integer"
  11386. },
  11387. "goodstype": {
  11388. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11389. "type": "integer"
  11390. },
  11391. "hasrebate": {
  11392. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11393. "type": "integer"
  11394. },
  11395. "hastradecredit": {
  11396. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11397. "type": "integer"
  11398. },
  11399. "haswr": {
  11400. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11401. "type": "integer"
  11402. },
  11403. "isdeductmargin": {
  11404. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11405. "type": "integer"
  11406. },
  11407. "isrecordsource": {
  11408. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11409. "type": "integer"
  11410. },
  11411. "isreleasemargin": {
  11412. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11413. "type": "integer"
  11414. },
  11415. "marginformula": {
  11416. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11417. "type": "integer"
  11418. },
  11419. "marginformula2": {
  11420. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11421. "type": "integer"
  11422. },
  11423. "marketid": {
  11424. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11425. "type": "integer"
  11426. },
  11427. "marketname": {
  11428. "description": "市场名称",
  11429. "type": "string"
  11430. },
  11431. "marketserviceid": {
  11432. "description": "市场服务ID",
  11433. "type": "integer"
  11434. },
  11435. "marketstatus": {
  11436. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11437. "type": "integer"
  11438. },
  11439. "markettype": {
  11440. "description": "市场类型- 1:非交易服务 2:交易服务",
  11441. "type": "integer"
  11442. },
  11443. "matchermode": {
  11444. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11445. "type": "integer"
  11446. },
  11447. "openmethod": {
  11448. "description": "开盘模式 - 0 自动 1手动",
  11449. "type": "integer"
  11450. },
  11451. "otcuserid": {
  11452. "description": "场外期权做市商[场外期权]",
  11453. "type": "integer"
  11454. },
  11455. "outersynctime": {
  11456. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11457. "type": "string"
  11458. },
  11459. "pendingflag": {
  11460. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11461. "type": "integer"
  11462. },
  11463. "pendingtime": {
  11464. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11465. "type": "string"
  11466. },
  11467. "performancetempid": {
  11468. "description": "履约计划模板ID - 作废",
  11469. "type": "integer"
  11470. },
  11471. "premiumquotemode": {
  11472. "description": "权利金报价方式 - 1:自动 2:手动",
  11473. "type": "integer"
  11474. },
  11475. "rebateratio": {
  11476. "description": "返利比率[竞价式]",
  11477. "type": "number"
  11478. },
  11479. "reckonorder": {
  11480. "description": "结算顺序",
  11481. "type": "integer"
  11482. },
  11483. "reckonpricealgorithm": {
  11484. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11485. "type": "integer"
  11486. },
  11487. "reckonpriceparam": {
  11488. "description": "结算价参数",
  11489. "type": "integer"
  11490. },
  11491. "reckontime": {
  11492. "description": "结算时间[通道交易-对冲](HH:mm)",
  11493. "type": "string"
  11494. },
  11495. "roleprioritytype": {
  11496. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11497. "type": "integer"
  11498. },
  11499. "selllistingauditflag": {
  11500. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11501. "type": "integer"
  11502. },
  11503. "trademarkettype": {
  11504. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11505. "type": "integer"
  11506. },
  11507. "trademode": {
  11508. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11509. "type": "integer"
  11510. },
  11511. "tradeproperty": {
  11512. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11513. "type": "integer"
  11514. },
  11515. "tradetype": {
  11516. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11517. "type": "integer"
  11518. }
  11519. }
  11520. },
  11521. "models.Marketrun": {
  11522. "type": "object",
  11523. "required": [
  11524. "marketid",
  11525. "nexttradedate",
  11526. "reckonflag",
  11527. "runstatus",
  11528. "tradedate",
  11529. "tradedate2"
  11530. ],
  11531. "properties": {
  11532. "afternexttradedate": {
  11533. "description": "下下交易日",
  11534. "type": "string"
  11535. },
  11536. "clearquoteflag": {
  11537. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11538. "type": "integer"
  11539. },
  11540. "lastreckondate": {
  11541. "description": "最新交易日(结算成功)",
  11542. "type": "string"
  11543. },
  11544. "machinedate": {
  11545. "description": "机器时间",
  11546. "type": "string"
  11547. },
  11548. "manualflag": {
  11549. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11550. "type": "integer"
  11551. },
  11552. "marketid": {
  11553. "description": "市场ID",
  11554. "type": "integer"
  11555. },
  11556. "nexttradedate": {
  11557. "description": "下一交易日",
  11558. "type": "string"
  11559. },
  11560. "pretradedate": {
  11561. "description": "上一交易日",
  11562. "type": "string"
  11563. },
  11564. "reckonflag": {
  11565. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11566. "type": "integer"
  11567. },
  11568. "runstatus": {
  11569. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  11570. "type": "integer"
  11571. },
  11572. "sectionid": {
  11573. "description": "时间段号[多时段时用]",
  11574. "type": "integer"
  11575. },
  11576. "tradedate": {
  11577. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11578. "type": "string"
  11579. },
  11580. "tradedate2": {
  11581. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11582. "type": "string"
  11583. },
  11584. "updatetime": {
  11585. "description": "更新时间",
  11586. "type": "string"
  11587. }
  11588. }
  11589. },
  11590. "models.Messageboard": {
  11591. "type": "object",
  11592. "required": [
  11593. "messageboardid"
  11594. ],
  11595. "properties": {
  11596. "createtime": {
  11597. "description": "创建时间",
  11598. "type": "string"
  11599. },
  11600. "message": {
  11601. "description": "留言信息",
  11602. "type": "string"
  11603. },
  11604. "messageboardid": {
  11605. "description": "留言簿ID(SEQ_MessageBoard)",
  11606. "type": "integer"
  11607. },
  11608. "userid": {
  11609. "description": "用户ID",
  11610. "type": "integer"
  11611. }
  11612. }
  11613. },
  11614. "models.MyCoupon": {
  11615. "type": "object",
  11616. "required": [
  11617. "accountid",
  11618. "coupontypeid"
  11619. ],
  11620. "properties": {
  11621. "accountid": {
  11622. "description": "资金账户ID",
  11623. "type": "integer"
  11624. },
  11625. "areauserid": {
  11626. "description": "所属机构",
  11627. "type": "integer"
  11628. },
  11629. "conditionvalue": {
  11630. "description": "条件阈值(可为0)",
  11631. "type": "number"
  11632. },
  11633. "couponcategroy": {
  11634. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  11635. "type": "integer"
  11636. },
  11637. "couponname": {
  11638. "description": "优惠券名称",
  11639. "type": "string"
  11640. },
  11641. "coupontypeid": {
  11642. "description": "优惠券类型ID",
  11643. "type": "string"
  11644. },
  11645. "couponvalue": {
  11646. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11647. "type": "number"
  11648. },
  11649. "curfreezeqty": {
  11650. "description": "期末冻结数量",
  11651. "type": "integer"
  11652. },
  11653. "curqty": {
  11654. "description": "期末数量",
  11655. "type": "integer"
  11656. },
  11657. "isgeneral": {
  11658. "description": "是否通用券 - 0:否 1:是",
  11659. "type": "integer"
  11660. },
  11661. "isunusable": {
  11662. "description": "是否不可用",
  11663. "type": "boolean"
  11664. },
  11665. "limitedflag": {
  11666. "description": "是否指定商品 - 0:不限 1:限制",
  11667. "type": "integer"
  11668. },
  11669. "limitedgoodsids": {
  11670. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11671. "type": "string"
  11672. },
  11673. "orifreezeqty": {
  11674. "description": "期初冻结数量",
  11675. "type": "integer"
  11676. },
  11677. "oriqty": {
  11678. "description": "期初数量",
  11679. "type": "integer"
  11680. },
  11681. "reasontype": {
  11682. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11683. "type": "integer"
  11684. },
  11685. "todaydecrease": {
  11686. "description": "今日减少",
  11687. "type": "integer"
  11688. },
  11689. "todayincrease": {
  11690. "description": "今日增加",
  11691. "type": "integer"
  11692. },
  11693. "userid": {
  11694. "description": "用户ID",
  11695. "type": "integer"
  11696. },
  11697. "userscope": {
  11698. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11699. "type": "string"
  11700. }
  11701. }
  11702. },
  11703. "models.MyCouponHold": {
  11704. "type": "object",
  11705. "required": [
  11706. "couponholdid"
  11707. ],
  11708. "properties": {
  11709. "accountid": {
  11710. "description": "资金账户ID",
  11711. "type": "integer"
  11712. },
  11713. "conditionvalue": {
  11714. "description": "条件阈值(可为0)",
  11715. "type": "number"
  11716. },
  11717. "couponcategroy": {
  11718. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  11719. "type": "integer"
  11720. },
  11721. "couponholdid": {
  11722. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  11723. "type": "string"
  11724. },
  11725. "couponname": {
  11726. "description": "优惠券名称",
  11727. "type": "string"
  11728. },
  11729. "coupontypeid": {
  11730. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  11731. "type": "string"
  11732. },
  11733. "couponvalue": {
  11734. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11735. "type": "number"
  11736. },
  11737. "createtime": {
  11738. "description": "创建时间",
  11739. "type": "string"
  11740. },
  11741. "enddate": {
  11742. "description": "结束日期",
  11743. "type": "string"
  11744. },
  11745. "giveapplyid": {
  11746. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  11747. "type": "integer"
  11748. },
  11749. "holdstatus": {
  11750. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  11751. "type": "integer"
  11752. },
  11753. "isgeneral": {
  11754. "description": "是否通用券 - 0:否 1:是",
  11755. "type": "integer"
  11756. },
  11757. "limitedflag": {
  11758. "description": "是否指定商品 - 0:不限 1:限制",
  11759. "type": "integer"
  11760. },
  11761. "limitedgoodsids": {
  11762. "description": "指定商品IDs[逗号分隔]",
  11763. "type": "string"
  11764. },
  11765. "qty": {
  11766. "description": "数量(按1平铺)",
  11767. "type": "integer"
  11768. },
  11769. "startdate": {
  11770. "description": "开始日期",
  11771. "type": "string"
  11772. },
  11773. "userid": {
  11774. "description": "用户ID",
  11775. "type": "integer"
  11776. },
  11777. "userscope": {
  11778. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  11779. "type": "string"
  11780. }
  11781. }
  11782. },
  11783. "models.MyUsedCoupon": {
  11784. "type": "object",
  11785. "required": [
  11786. "coupontypeid",
  11787. "orderid"
  11788. ],
  11789. "properties": {
  11790. "accountid": {
  11791. "description": "资金账户ID(买方)",
  11792. "type": "integer"
  11793. },
  11794. "conditionvalue": {
  11795. "description": "条件阈值(可为0)",
  11796. "type": "number"
  11797. },
  11798. "couponcategroy": {
  11799. "description": "种类 - 1:现金券 2:折扣券",
  11800. "type": "integer"
  11801. },
  11802. "couponname": {
  11803. "description": "优惠券名称",
  11804. "type": "string"
  11805. },
  11806. "coupontypeid": {
  11807. "description": "优惠券类型ID(买方)",
  11808. "type": "string"
  11809. },
  11810. "couponvalue": {
  11811. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  11812. "type": "number"
  11813. },
  11814. "createtime": {
  11815. "description": "创建时间",
  11816. "type": "string"
  11817. },
  11818. "goodsid": {
  11819. "description": "商品ID",
  11820. "type": "integer"
  11821. },
  11822. "handlestatus": {
  11823. "description": "处理状态",
  11824. "type": "integer"
  11825. },
  11826. "marketid": {
  11827. "description": "市场ID",
  11828. "type": "integer"
  11829. },
  11830. "offamount": {
  11831. "description": "优惠金额",
  11832. "type": "number"
  11833. },
  11834. "orderid": {
  11835. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11836. "type": "string"
  11837. },
  11838. "sellaccountid": {
  11839. "description": "资金账户ID(卖方)",
  11840. "type": "integer"
  11841. },
  11842. "tradeamount": {
  11843. "description": "成交金额",
  11844. "type": "number"
  11845. },
  11846. "tradeid": {
  11847. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11848. "type": "string"
  11849. },
  11850. "usedqty": {
  11851. "description": "使用数量",
  11852. "type": "integer"
  11853. }
  11854. }
  11855. },
  11856. "models.OperationPrimaryMenu": {
  11857. "type": "object",
  11858. "properties": {
  11859. "Children": {
  11860. "description": "二级功能菜单",
  11861. "type": "array",
  11862. "items": {
  11863. "$ref": "#/definitions/models.OperationSecondaryMenu"
  11864. }
  11865. },
  11866. "Key": {
  11867. "description": "菜单KEY",
  11868. "type": "string"
  11869. },
  11870. "Label": {
  11871. "description": "菜单标题",
  11872. "type": "string"
  11873. }
  11874. }
  11875. },
  11876. "models.OperationSecondaryMenu": {
  11877. "type": "object",
  11878. "properties": {
  11879. "Key": {
  11880. "description": "菜单KEY",
  11881. "type": "string"
  11882. },
  11883. "Label": {
  11884. "description": "菜单标题",
  11885. "type": "string"
  11886. },
  11887. "TabList": {
  11888. "description": "三级功能菜单",
  11889. "type": "array",
  11890. "items": {
  11891. "$ref": "#/definitions/models.OperationTabMenu"
  11892. }
  11893. }
  11894. }
  11895. },
  11896. "models.OperationTabMenu": {
  11897. "type": "object",
  11898. "properties": {
  11899. "Key": {
  11900. "description": "菜单KEY",
  11901. "type": "string"
  11902. },
  11903. "Label": {
  11904. "description": "菜单标题",
  11905. "type": "string"
  11906. }
  11907. }
  11908. },
  11909. "models.PendingAuditBizModel": {
  11910. "type": "object",
  11911. "properties": {
  11912. "accountid": {
  11913. "description": "现货账户",
  11914. "type": "string"
  11915. },
  11916. "areaname": {
  11917. "description": "所属部门",
  11918. "type": "string"
  11919. },
  11920. "bizid": {
  11921. "description": "业务ID",
  11922. "type": "string"
  11923. },
  11924. "bizname": {
  11925. "description": "业务名称",
  11926. "type": "string"
  11927. },
  11928. "status": {
  11929. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11930. "type": "integer"
  11931. },
  11932. "type": {
  11933. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11934. "type": "integer"
  11935. }
  11936. }
  11937. },
  11938. "models.QuotePrimaryMenu": {
  11939. "type": "object",
  11940. "properties": {
  11941. "Index": {
  11942. "description": "序号",
  11943. "type": "integer"
  11944. },
  11945. "Key": {
  11946. "description": "键名",
  11947. "type": "string"
  11948. },
  11949. "Name": {
  11950. "description": "菜单名称",
  11951. "type": "string"
  11952. },
  11953. "SubMenus": {
  11954. "description": "子菜单",
  11955. "type": "array",
  11956. "items": {
  11957. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  11958. }
  11959. },
  11960. "SubTitleType": {
  11961. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  11962. "type": "integer"
  11963. },
  11964. "TradeModes": {
  11965. "description": "包含市场交易类型",
  11966. "type": "string"
  11967. }
  11968. }
  11969. },
  11970. "models.QuoteSecondaryMenu": {
  11971. "type": "object",
  11972. "properties": {
  11973. "ExExchangeCode": {
  11974. "description": "外部交易所代码",
  11975. "type": "string"
  11976. },
  11977. "ExExchangeID": {
  11978. "description": "外部交易所ID",
  11979. "type": "integer"
  11980. },
  11981. "GoodsGroupIDs": {
  11982. "description": "商品组ID列表",
  11983. "type": "array",
  11984. "items": {
  11985. "type": "integer"
  11986. }
  11987. },
  11988. "Index": {
  11989. "description": "序号",
  11990. "type": "integer"
  11991. },
  11992. "MarketID": {
  11993. "description": "市场ID",
  11994. "type": "integer"
  11995. },
  11996. "MenuTitle": {
  11997. "description": "菜单标题(市场名称或外部交易所名称)",
  11998. "type": "string"
  11999. },
  12000. "TradeMode": {
  12001. "description": "交易模式",
  12002. "type": "integer"
  12003. }
  12004. }
  12005. },
  12006. "models.SearchGoods": {
  12007. "type": "object",
  12008. "required": [
  12009. "goodscode",
  12010. "goodsid",
  12011. "goodsname",
  12012. "marketid",
  12013. "trademode"
  12014. ],
  12015. "properties": {
  12016. "goodscode": {
  12017. "description": "商品代码(内部)",
  12018. "type": "string"
  12019. },
  12020. "goodsid": {
  12021. "description": "商品ID(自增ID SEQ_GOODS)",
  12022. "type": "integer"
  12023. },
  12024. "goodsname": {
  12025. "description": "商品名称",
  12026. "type": "string"
  12027. },
  12028. "marketid": {
  12029. "description": "所属市场ID",
  12030. "type": "integer"
  12031. },
  12032. "marketname": {
  12033. "description": "市场名称",
  12034. "type": "string"
  12035. },
  12036. "trademode": {
  12037. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12038. "type": "integer"
  12039. }
  12040. }
  12041. },
  12042. "models.Szdz2imageconfig": {
  12043. "type": "object",
  12044. "required": [
  12045. "configid"
  12046. ],
  12047. "properties": {
  12048. "configid": {
  12049. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12050. "type": "integer"
  12051. },
  12052. "imagepath": {
  12053. "description": "图片",
  12054. "type": "string"
  12055. },
  12056. "imagetype": {
  12057. "description": "类型 - 1:App首页轮播 2:我的",
  12058. "type": "integer"
  12059. },
  12060. "sort": {
  12061. "description": "排序",
  12062. "type": "integer"
  12063. },
  12064. "title": {
  12065. "description": "标题",
  12066. "type": "string"
  12067. },
  12068. "url": {
  12069. "description": "链接",
  12070. "type": "string"
  12071. }
  12072. }
  12073. },
  12074. "models.Szdz3convertconfig": {
  12075. "type": "object",
  12076. "required": [
  12077. "converttype",
  12078. "innergoodsid",
  12079. "outergoodscode"
  12080. ],
  12081. "properties": {
  12082. "canin": {
  12083. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12084. "type": "integer"
  12085. },
  12086. "canout": {
  12087. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12088. "type": "integer"
  12089. },
  12090. "converttype": {
  12091. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12092. "type": "integer"
  12093. },
  12094. "createtime": {
  12095. "description": "创建时间",
  12096. "type": "string"
  12097. },
  12098. "creatorid": {
  12099. "description": "创建人",
  12100. "type": "integer"
  12101. },
  12102. "daymaxvalue": {
  12103. "description": "当日最大转入限制",
  12104. "type": "number"
  12105. },
  12106. "freezedays": {
  12107. "description": "冻结天数 [5:花生米转交易]",
  12108. "type": "integer"
  12109. },
  12110. "innergoodsid": {
  12111. "description": "内部商品ID[交易]",
  12112. "type": "integer"
  12113. },
  12114. "inratio": {
  12115. "description": "目标值",
  12116. "type": "integer"
  12117. },
  12118. "modifierid": {
  12119. "description": "修改人",
  12120. "type": "integer"
  12121. },
  12122. "modifytime": {
  12123. "description": "修改时间",
  12124. "type": "string"
  12125. },
  12126. "outergoodscode": {
  12127. "description": "外部商品代码[JD\\PD]",
  12128. "type": "string"
  12129. },
  12130. "outratio": {
  12131. "description": "源值",
  12132. "type": "integer"
  12133. },
  12134. "pddecimalplace": {
  12135. "description": "PD小数位",
  12136. "type": "integer"
  12137. },
  12138. "timemaxvalue": {
  12139. "description": "单次最大转入限制",
  12140. "type": "number"
  12141. },
  12142. "timeminvalue": {
  12143. "description": "单次最小转入限制",
  12144. "type": "number"
  12145. }
  12146. }
  12147. },
  12148. "models.Szdz3searchwhitelist": {
  12149. "type": "object",
  12150. "required": [
  12151. "userid"
  12152. ],
  12153. "properties": {
  12154. "createtime": {
  12155. "description": "创建时间",
  12156. "type": "string"
  12157. },
  12158. "creatorid": {
  12159. "description": "创建人",
  12160. "type": "integer"
  12161. },
  12162. "modifierid": {
  12163. "description": "修改人",
  12164. "type": "integer"
  12165. },
  12166. "modifytime": {
  12167. "description": "修改时间",
  12168. "type": "string"
  12169. },
  12170. "userid": {
  12171. "description": "用户ID",
  12172. "type": "integer"
  12173. }
  12174. }
  12175. },
  12176. "models.Tablecolumnconfig": {
  12177. "type": "object",
  12178. "required": [
  12179. "autoid"
  12180. ],
  12181. "properties": {
  12182. "aligntype": {
  12183. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12184. "type": "integer"
  12185. },
  12186. "autoid": {
  12187. "description": "AutoID",
  12188. "type": "integer"
  12189. },
  12190. "columnfield": {
  12191. "description": "列字段",
  12192. "type": "string"
  12193. },
  12194. "columntitle": {
  12195. "description": "列Title",
  12196. "type": "string"
  12197. },
  12198. "columnwidth": {
  12199. "description": "列宽",
  12200. "type": "string"
  12201. },
  12202. "formatterstring": {
  12203. "description": "格式化字符",
  12204. "type": "string"
  12205. },
  12206. "formattertype": {
  12207. "description": "格式化类型",
  12208. "type": "string"
  12209. },
  12210. "groupname": {
  12211. "description": "表头分组名称",
  12212. "type": "string"
  12213. },
  12214. "isshow": {
  12215. "description": "是否显示 - 0:不显示 1:显示",
  12216. "type": "integer"
  12217. },
  12218. "needsummary": {
  12219. "description": "是否需要汇总 - 0:不需要 1:需要",
  12220. "type": "integer"
  12221. },
  12222. "orderindex": {
  12223. "description": "顺序",
  12224. "type": "integer"
  12225. },
  12226. "remark": {
  12227. "description": "备注",
  12228. "type": "string"
  12229. },
  12230. "summarytype": {
  12231. "description": "汇总类型 - 1:加总 2:最后一个",
  12232. "type": "integer"
  12233. },
  12234. "tablekey": {
  12235. "description": "列表Key",
  12236. "type": "string"
  12237. }
  12238. }
  12239. },
  12240. "models.Useraccount": {
  12241. "type": "object",
  12242. "required": [
  12243. "userid"
  12244. ],
  12245. "properties": {
  12246. "accountname": {
  12247. "description": "账户名称(机构名称)",
  12248. "type": "string"
  12249. },
  12250. "accountstatus": {
  12251. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12252. "type": "integer"
  12253. },
  12254. "auditremark": {
  12255. "description": "审核备注",
  12256. "type": "string"
  12257. },
  12258. "audittime": {
  12259. "description": "审核时间",
  12260. "type": "string"
  12261. },
  12262. "audituserid": {
  12263. "description": "审核人",
  12264. "type": "integer"
  12265. },
  12266. "broker": {
  12267. "description": "所属经纪人ID",
  12268. "type": "integer"
  12269. },
  12270. "canceltime": {
  12271. "description": "销户时间",
  12272. "type": "string"
  12273. },
  12274. "canceluserid": {
  12275. "description": "销户人",
  12276. "type": "integer"
  12277. },
  12278. "createtime": {
  12279. "description": "创建时间",
  12280. "type": "string"
  12281. },
  12282. "creatorid": {
  12283. "description": "创建人",
  12284. "type": "integer"
  12285. },
  12286. "hasauth": {
  12287. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12288. "type": "integer"
  12289. },
  12290. "isanonymous": {
  12291. "description": "是否匿名下单 - 0:否 1:是",
  12292. "type": "integer"
  12293. },
  12294. "maxinvestornum": {
  12295. "description": "最大用户数(经纪会员下投资者个数)",
  12296. "type": "integer"
  12297. },
  12298. "memberuserid": {
  12299. "description": "所属会员ID",
  12300. "type": "integer"
  12301. },
  12302. "modifierid": {
  12303. "description": "修改人",
  12304. "type": "integer"
  12305. },
  12306. "modifyremark": {
  12307. "description": "变更备注",
  12308. "type": "string"
  12309. },
  12310. "modifystatus": {
  12311. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12312. "type": "integer"
  12313. },
  12314. "modifytime": {
  12315. "description": "修改时间",
  12316. "type": "string"
  12317. },
  12318. "parentuserid": {
  12319. "description": "所属机构ID",
  12320. "type": "integer"
  12321. },
  12322. "reckonaccountid": {
  12323. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12324. "type": "integer"
  12325. },
  12326. "refercount": {
  12327. "description": "推荐总人数",
  12328. "type": "integer"
  12329. },
  12330. "refereeuserid": {
  12331. "description": "推荐人ID",
  12332. "type": "integer"
  12333. },
  12334. "refernum": {
  12335. "description": "推荐码",
  12336. "type": "string"
  12337. },
  12338. "subarealevelpath": {
  12339. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12340. "type": "string"
  12341. },
  12342. "userid": {
  12343. "description": "用户ID",
  12344. "type": "integer"
  12345. },
  12346. "usertype": {
  12347. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12348. "type": "integer"
  12349. }
  12350. }
  12351. },
  12352. "models.Userfavoritegoods": {
  12353. "type": "object",
  12354. "required": [
  12355. "goodsid"
  12356. ],
  12357. "properties": {
  12358. "goodsid": {
  12359. "description": "商品ID",
  12360. "type": "integer"
  12361. }
  12362. }
  12363. },
  12364. "models.Userinfo": {
  12365. "type": "object",
  12366. "required": [
  12367. "userid"
  12368. ],
  12369. "properties": {
  12370. "address": {
  12371. "description": "地址",
  12372. "type": "string"
  12373. },
  12374. "attachment1": {
  12375. "description": "附件1",
  12376. "type": "string"
  12377. },
  12378. "attachment2": {
  12379. "description": "附件2",
  12380. "type": "string"
  12381. },
  12382. "bankaccount": {
  12383. "description": "银行帐号 (加密存储)",
  12384. "type": "string"
  12385. },
  12386. "bankaccountname": {
  12387. "description": "收款人名称",
  12388. "type": "string"
  12389. },
  12390. "bankcardfrontphotourl": {
  12391. "description": "银行卡正面照地址",
  12392. "type": "string"
  12393. },
  12394. "bankid": {
  12395. "description": "银行编码",
  12396. "type": "string"
  12397. },
  12398. "bankname": {
  12399. "description": "银行名称",
  12400. "type": "string"
  12401. },
  12402. "biznature": {
  12403. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12404. "type": "integer"
  12405. },
  12406. "bizscope": {
  12407. "description": "企业经营范围(企业)",
  12408. "type": "string"
  12409. },
  12410. "cardbackphotourl": {
  12411. "description": "证件背面图片地址",
  12412. "type": "string"
  12413. },
  12414. "cardfrontphotourl": {
  12415. "description": "证件正面图片地址",
  12416. "type": "string"
  12417. },
  12418. "cardnum": {
  12419. "description": "证件号码(加密存储)",
  12420. "type": "string"
  12421. },
  12422. "cardtypeid": {
  12423. "description": "证件类型ID",
  12424. "type": "integer"
  12425. },
  12426. "cityid": {
  12427. "description": "市",
  12428. "type": "integer"
  12429. },
  12430. "company": {
  12431. "description": "公司(个人)",
  12432. "type": "string"
  12433. },
  12434. "contactname": {
  12435. "description": "联系人",
  12436. "type": "string"
  12437. },
  12438. "countryid": {
  12439. "description": "国家",
  12440. "type": "integer"
  12441. },
  12442. "createtime": {
  12443. "description": "创建时间",
  12444. "type": "string"
  12445. },
  12446. "creatorid": {
  12447. "description": "创建人",
  12448. "type": "integer"
  12449. },
  12450. "customername": {
  12451. "description": "客户名称(企业名称)",
  12452. "type": "string"
  12453. },
  12454. "districtid": {
  12455. "description": "地区",
  12456. "type": "integer"
  12457. },
  12458. "email": {
  12459. "description": "邮件(加密存储)",
  12460. "type": "string"
  12461. },
  12462. "fax": {
  12463. "description": "传真(加密存储)",
  12464. "type": "string"
  12465. },
  12466. "halfbodyphotourl": {
  12467. "description": "半身照地址",
  12468. "type": "string"
  12469. },
  12470. "hasencrypt": {
  12471. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12472. "type": "integer"
  12473. },
  12474. "headurl": {
  12475. "description": "头像地址",
  12476. "type": "string"
  12477. },
  12478. "legalcardbackphotourl": {
  12479. "description": "法人身份证背面照地址",
  12480. "type": "string"
  12481. },
  12482. "legalcardfrontphotourl": {
  12483. "description": "法人身份证正面照地址",
  12484. "type": "string"
  12485. },
  12486. "legalpersonname": {
  12487. "description": "法人姓名(企业)",
  12488. "type": "string"
  12489. },
  12490. "mobile": {
  12491. "description": "手机号码(加密存储)",
  12492. "type": "string"
  12493. },
  12494. "mobile2": {
  12495. "description": "手机号码[明文-尚志]",
  12496. "type": "string"
  12497. },
  12498. "modifierid": {
  12499. "description": "修改人",
  12500. "type": "integer"
  12501. },
  12502. "modifiertime": {
  12503. "description": "修改时间",
  12504. "type": "string"
  12505. },
  12506. "needinvoice": {
  12507. "description": "是否需要发票 - 0:不需要 1:需要",
  12508. "type": "integer"
  12509. },
  12510. "nickname": {
  12511. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12512. "type": "string"
  12513. },
  12514. "openmode": {
  12515. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12516. "type": "integer"
  12517. },
  12518. "otherurl": {
  12519. "description": "其它图片地址[使用分号分隔]",
  12520. "type": "string"
  12521. },
  12522. "postalcode": {
  12523. "description": "邮政编码",
  12524. "type": "string"
  12525. },
  12526. "provinceid": {
  12527. "description": "省",
  12528. "type": "integer"
  12529. },
  12530. "qq": {
  12531. "description": "QQ(加密存储",
  12532. "type": "string"
  12533. },
  12534. "remark": {
  12535. "description": "备注",
  12536. "type": "string"
  12537. },
  12538. "sex": {
  12539. "description": "用户性别 0: 女 1: 男",
  12540. "type": "integer"
  12541. },
  12542. "signpdfurl": {
  12543. "description": "签约pdf文件",
  12544. "type": "string"
  12545. },
  12546. "telphone": {
  12547. "description": "联系电话(加密存储)",
  12548. "type": "string"
  12549. },
  12550. "userid": {
  12551. "description": "用户ID",
  12552. "type": "integer"
  12553. },
  12554. "userinfotype": {
  12555. "description": "用户信息类型 - 1:个人 2:企业",
  12556. "type": "integer"
  12557. },
  12558. "userstatus": {
  12559. "description": "用户状态 - 1:正常 2:注销",
  12560. "type": "integer"
  12561. },
  12562. "usertype": {
  12563. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12564. "type": "integer"
  12565. },
  12566. "wechat": {
  12567. "description": "微信(加密存储)",
  12568. "type": "string"
  12569. },
  12570. "wskhinfo": {
  12571. "description": "开户申请信息(JSON)",
  12572. "type": "string"
  12573. }
  12574. }
  12575. },
  12576. "models.WRCategoryTree": {
  12577. "type": "object",
  12578. "required": [
  12579. "categoryid"
  12580. ],
  12581. "properties": {
  12582. "areauserid": {
  12583. "description": "所属机构",
  12584. "type": "integer"
  12585. },
  12586. "categorydesc": {
  12587. "description": "类别描述",
  12588. "type": "string"
  12589. },
  12590. "categoryid": {
  12591. "description": "类别ID(SEQ_WRCATEGORY)",
  12592. "type": "integer"
  12593. },
  12594. "categoryname": {
  12595. "description": "类别名称",
  12596. "type": "string"
  12597. },
  12598. "iconurl": {
  12599. "description": "图标地址",
  12600. "type": "string"
  12601. },
  12602. "orderindex": {
  12603. "description": "顺序",
  12604. "type": "integer"
  12605. },
  12606. "parentcategoryid": {
  12607. "description": "父类别ID",
  12608. "type": "integer"
  12609. },
  12610. "subcategory": {
  12611. "description": "子分类",
  12612. "type": "array",
  12613. "items": {
  12614. "$ref": "#/definitions/models.WRCategoryTree"
  12615. }
  12616. }
  12617. }
  12618. },
  12619. "models.WRSConverTDetail": {
  12620. "type": "object",
  12621. "properties": {
  12622. "convertratio": {
  12623. "description": "套保系数",
  12624. "type": "number"
  12625. },
  12626. "deliverygoodsid": {
  12627. "description": "现货品种ID",
  12628. "type": "integer"
  12629. },
  12630. "middlegoodscode": {
  12631. "description": "套保品种代码",
  12632. "type": "string"
  12633. },
  12634. "middlegoodsid": {
  12635. "description": "套保品种ID",
  12636. "type": "integer"
  12637. },
  12638. "middlegoodsname": {
  12639. "description": "套保品种名称",
  12640. "type": "string"
  12641. },
  12642. "modifytime": {
  12643. "description": "修改时间",
  12644. "type": "string"
  12645. },
  12646. "wrstandardid": {
  12647. "description": "现货商品ID",
  12648. "type": "integer"
  12649. }
  12650. }
  12651. },
  12652. "models.WRStandardInfo": {
  12653. "type": "object",
  12654. "required": [
  12655. "wrstandardid"
  12656. ],
  12657. "properties": {
  12658. "createtime": {
  12659. "description": "创建时间",
  12660. "type": "string"
  12661. },
  12662. "creatorid": {
  12663. "description": "创建人",
  12664. "type": "integer"
  12665. },
  12666. "deliverygoodsid": {
  12667. "description": "品种ID",
  12668. "type": "integer"
  12669. },
  12670. "deliverygoodsname": {
  12671. "description": "交割商品名称",
  12672. "type": "string"
  12673. },
  12674. "factoryitemjson": {
  12675. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12676. "type": "string"
  12677. },
  12678. "isvalid": {
  12679. "description": "是否有效 - 0:无效 1:有效",
  12680. "type": "integer"
  12681. },
  12682. "minivalue": {
  12683. "description": "最小变动值",
  12684. "type": "integer"
  12685. },
  12686. "minivaluedp": {
  12687. "description": "最小变动值小数位",
  12688. "type": "integer"
  12689. },
  12690. "realminivalue": {
  12691. "description": "实际最小变动值",
  12692. "type": "integer"
  12693. },
  12694. "realminivaluedp": {
  12695. "description": "实际最小变动值小数位",
  12696. "type": "integer"
  12697. },
  12698. "unitid": {
  12699. "description": "单位ID",
  12700. "type": "integer"
  12701. },
  12702. "unitname": {
  12703. "description": "单位",
  12704. "type": "string"
  12705. },
  12706. "updatetime": {
  12707. "description": "更新时间",
  12708. "type": "string"
  12709. },
  12710. "updatorid": {
  12711. "description": "更新人",
  12712. "type": "integer"
  12713. },
  12714. "wrsstatus": {
  12715. "description": "状态 - 作废 - 0:未激活 1:正常",
  12716. "type": "integer"
  12717. },
  12718. "wrstandardcode": {
  12719. "description": "仓单标准代码",
  12720. "type": "string"
  12721. },
  12722. "wrstandardid": {
  12723. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12724. "type": "integer"
  12725. },
  12726. "wrstandardname": {
  12727. "description": "仓单标准名称",
  12728. "type": "string"
  12729. }
  12730. }
  12731. },
  12732. "models.Warehouseinfo": {
  12733. "type": "object",
  12734. "required": [
  12735. "autoid",
  12736. "warehousecode"
  12737. ],
  12738. "properties": {
  12739. "address": {
  12740. "description": "详细地址",
  12741. "type": "string"
  12742. },
  12743. "areauserid": {
  12744. "description": "所属机构",
  12745. "type": "integer"
  12746. },
  12747. "autoid": {
  12748. "description": "自增ID",
  12749. "type": "integer"
  12750. },
  12751. "cityid": {
  12752. "description": "市",
  12753. "type": "integer"
  12754. },
  12755. "contactname": {
  12756. "description": "联系人",
  12757. "type": "string"
  12758. },
  12759. "contactnum": {
  12760. "description": "联系电话",
  12761. "type": "string"
  12762. },
  12763. "countryid": {
  12764. "description": "国家",
  12765. "type": "integer"
  12766. },
  12767. "createtime": {
  12768. "description": "创建时间",
  12769. "type": "string"
  12770. },
  12771. "districtid": {
  12772. "description": "区",
  12773. "type": "integer"
  12774. },
  12775. "hasvideo": {
  12776. "description": "是否有视频 - 0:无 1:有",
  12777. "type": "integer"
  12778. },
  12779. "provinceid": {
  12780. "description": "省",
  12781. "type": "integer"
  12782. },
  12783. "remark": {
  12784. "description": "审核备注",
  12785. "type": "string"
  12786. },
  12787. "videourl": {
  12788. "description": "视频地址",
  12789. "type": "string"
  12790. },
  12791. "warehousecode": {
  12792. "description": "仓库代码",
  12793. "type": "string"
  12794. },
  12795. "warehousename": {
  12796. "description": "仓库名称",
  12797. "type": "string"
  12798. },
  12799. "warehousestatus": {
  12800. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12801. "type": "integer"
  12802. },
  12803. "warehousetype": {
  12804. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12805. "type": "integer"
  12806. }
  12807. }
  12808. },
  12809. "order.QueryHisTradeDetailRsp": {
  12810. "type": "object",
  12811. "required": [
  12812. "accountid",
  12813. "buyorsell",
  12814. "goodsid",
  12815. "histradedate",
  12816. "marketid",
  12817. "memberuserid",
  12818. "orderid",
  12819. "tradeamount",
  12820. "tradedate",
  12821. "tradeid",
  12822. "tradeprice",
  12823. "tradeqty",
  12824. "tradetime"
  12825. ],
  12826. "properties": {
  12827. "accountid": {
  12828. "description": "账户ID[报价币种]",
  12829. "type": "integer"
  12830. },
  12831. "buildtype": {
  12832. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12833. "type": "integer"
  12834. },
  12835. "buyorsell": {
  12836. "description": "方向 - 0:买 1:卖",
  12837. "type": "integer"
  12838. },
  12839. "charge": {
  12840. "description": "手续费",
  12841. "type": "number"
  12842. },
  12843. "closecharge": {
  12844. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12845. "type": "number"
  12846. },
  12847. "closeexchagechargevalue": {
  12848. "description": "平仓交易所手续费设置值",
  12849. "type": "number"
  12850. },
  12851. "closefeealgorithm": {
  12852. "description": "平仓手续费收取方式 1:比率 2:固定",
  12853. "type": "integer"
  12854. },
  12855. "closememberchargevalue": {
  12856. "description": "平仓会员手续费设置值",
  12857. "type": "number"
  12858. },
  12859. "closepl": {
  12860. "description": "平仓盈亏",
  12861. "type": "number"
  12862. },
  12863. "closepl2": {
  12864. "description": "平仓盈亏[逐笔]",
  12865. "type": "number"
  12866. },
  12867. "closeqty": {
  12868. "description": "平仓数量(先建后平操作 需要记录)",
  12869. "type": "integer"
  12870. },
  12871. "creditamount": {
  12872. "description": "授信金额",
  12873. "type": "number"
  12874. },
  12875. "gcaccountid": {
  12876. "description": "账户ID[合约币种]",
  12877. "type": "integer"
  12878. },
  12879. "goodscode": {
  12880. "description": "商品代码",
  12881. "type": "string"
  12882. },
  12883. "goodsid": {
  12884. "description": "商品ID",
  12885. "type": "integer"
  12886. },
  12887. "goodsname": {
  12888. "description": "商品名称",
  12889. "type": "string"
  12890. },
  12891. "histradedate": {
  12892. "description": "历史交易日",
  12893. "type": "string"
  12894. },
  12895. "intclosepl": {
  12896. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12897. "type": "integer"
  12898. },
  12899. "isconfirmexercise": {
  12900. "description": "是否确认行权- 0:否 1:是",
  12901. "type": "integer"
  12902. },
  12903. "ismain": {
  12904. "description": "是否主单 - 0:不是 1:是",
  12905. "type": "integer"
  12906. },
  12907. "ispreexercise": {
  12908. "description": "是否预申报- 0:否 1:是",
  12909. "type": "integer"
  12910. },
  12911. "isreckoned": {
  12912. "description": "是否结算 - 0:未结算 1:已结算",
  12913. "type": "integer"
  12914. },
  12915. "isvaliddata": {
  12916. "description": "是否有效 - 0:无效 1:有效",
  12917. "type": "integer"
  12918. },
  12919. "listingselecttype": {
  12920. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12921. "type": "integer"
  12922. },
  12923. "marketid": {
  12924. "description": "市场ID",
  12925. "type": "integer"
  12926. },
  12927. "marketname": {
  12928. "description": "市场名称",
  12929. "type": "string"
  12930. },
  12931. "matchaccountid": {
  12932. "description": "对手账号id",
  12933. "type": "integer"
  12934. },
  12935. "memberuserid": {
  12936. "description": "会员id 个人投资者 需要填写",
  12937. "type": "integer"
  12938. },
  12939. "opencharge": {
  12940. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12941. "type": "number"
  12942. },
  12943. "openexchagechargevalue": {
  12944. "description": "建仓交易所手续费设置值",
  12945. "type": "number"
  12946. },
  12947. "openfeealgorithm": {
  12948. "description": "建仓手续费收取方式 1:比率 2:固定",
  12949. "type": "integer"
  12950. },
  12951. "openmemberchargevalue": {
  12952. "description": "建仓会员手续费设置值",
  12953. "type": "number"
  12954. },
  12955. "openqty": {
  12956. "description": "开仓数量(先建后平操作 需要记录)",
  12957. "type": "integer"
  12958. },
  12959. "optiontype": {
  12960. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12961. "type": "integer"
  12962. },
  12963. "orderid": {
  12964. "description": "委托单号",
  12965. "type": "string"
  12966. },
  12967. "performanceplanid": {
  12968. "description": "履约计划ID[期权]",
  12969. "type": "integer"
  12970. },
  12971. "performancestatus": {
  12972. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12973. "type": "integer"
  12974. },
  12975. "preexerciseprice": {
  12976. "description": "预申报价格",
  12977. "type": "number"
  12978. },
  12979. "premium": {
  12980. "description": "权利金 - [持仓单的权利金]",
  12981. "type": "number"
  12982. },
  12983. "relatedouttradeid": {
  12984. "description": "关联外部成交单ID",
  12985. "type": "integer"
  12986. },
  12987. "status": {
  12988. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12989. "type": "integer"
  12990. },
  12991. "tradeamount": {
  12992. "description": "成交金额[账户币种,用于所有权]",
  12993. "type": "number"
  12994. },
  12995. "tradedate": {
  12996. "description": "交易日(yyyyMMdd)",
  12997. "type": "string"
  12998. },
  12999. "tradeid": {
  13000. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13001. "type": "string"
  13002. },
  13003. "trademode": {
  13004. "description": "交易模式",
  13005. "type": "integer"
  13006. },
  13007. "tradeprice": {
  13008. "description": "成交价格",
  13009. "type": "number"
  13010. },
  13011. "tradeproperty": {
  13012. "description": "交易属性",
  13013. "type": "integer"
  13014. },
  13015. "tradeqty": {
  13016. "description": "成交数量",
  13017. "type": "integer"
  13018. },
  13019. "tradetime": {
  13020. "description": "成交时间",
  13021. "type": "string"
  13022. },
  13023. "tradetype": {
  13024. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13025. "type": "integer"
  13026. }
  13027. }
  13028. },
  13029. "order.QueryHisTradeOrderDetailRsp": {
  13030. "type": "object",
  13031. "required": [
  13032. "accountid",
  13033. "buildtype",
  13034. "buyorsell",
  13035. "goodsid",
  13036. "histradedate",
  13037. "marketid",
  13038. "memberuserid",
  13039. "operatetype",
  13040. "orderid",
  13041. "orderqty",
  13042. "ordertime",
  13043. "pricemode",
  13044. "tradedate",
  13045. "validtype"
  13046. ],
  13047. "properties": {
  13048. "accountid": {
  13049. "description": "账户ID[报价币种]",
  13050. "type": "integer"
  13051. },
  13052. "buildtype": {
  13053. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13054. "type": "integer"
  13055. },
  13056. "buyorsell": {
  13057. "description": "买卖 - 0:买 1:卖",
  13058. "type": "integer"
  13059. },
  13060. "cancelorderid": {
  13061. "description": "撤单单号(撤单时填写)",
  13062. "type": "string"
  13063. },
  13064. "cancelqty": {
  13065. "description": "撤单数量",
  13066. "type": "integer"
  13067. },
  13068. "clientordertime": {
  13069. "description": "客户端委托时间",
  13070. "type": "string"
  13071. },
  13072. "clientticket": {
  13073. "description": "客户端流水号",
  13074. "type": "string"
  13075. },
  13076. "clienttype": {
  13077. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13078. "type": "integer"
  13079. },
  13080. "closeexchagechargevalue": {
  13081. "description": "平仓交易所手续费设置值",
  13082. "type": "number"
  13083. },
  13084. "closefeealgorithm": {
  13085. "description": "平仓手续费收取方式 1:比率 2:固定",
  13086. "type": "integer"
  13087. },
  13088. "closefreezecharge": {
  13089. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13090. "type": "number"
  13091. },
  13092. "closememberchargevalue": {
  13093. "description": "平仓会员手续费设置值",
  13094. "type": "number"
  13095. },
  13096. "closeqty": {
  13097. "description": "平仓数量(先建后平操作 需要记录)",
  13098. "type": "integer"
  13099. },
  13100. "closetradeqty": {
  13101. "description": "平仓成交数量(先建后平操作,需要记录)",
  13102. "type": "integer"
  13103. },
  13104. "closeunfreezecharge": {
  13105. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13106. "type": "number"
  13107. },
  13108. "delistingtype": {
  13109. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13110. "type": "integer"
  13111. },
  13112. "freezecharge": {
  13113. "description": "冻结手续费",
  13114. "type": "number"
  13115. },
  13116. "freezemargin": {
  13117. "description": "冻结保证金(冻结交易金额)",
  13118. "type": "number"
  13119. },
  13120. "gcaccountid": {
  13121. "description": "账户ID[合约币种]",
  13122. "type": "integer"
  13123. },
  13124. "goodscode": {
  13125. "description": "商品代码",
  13126. "type": "string"
  13127. },
  13128. "goodsid": {
  13129. "description": "商品ID",
  13130. "type": "integer"
  13131. },
  13132. "goodsname": {
  13133. "description": "商品名称",
  13134. "type": "string"
  13135. },
  13136. "histradedate": {
  13137. "description": "历史交易日",
  13138. "type": "string"
  13139. },
  13140. "isconfirmexercise": {
  13141. "description": "是否确认行权- 0:否 1:是",
  13142. "type": "integer"
  13143. },
  13144. "ispreexercise": {
  13145. "description": "是否预申报- 0:否 1:是",
  13146. "type": "integer"
  13147. },
  13148. "isvaliddata": {
  13149. "description": "是否有效 - 0:无效 1:有效",
  13150. "type": "integer"
  13151. },
  13152. "listingselecttype": {
  13153. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13154. "type": "integer"
  13155. },
  13156. "marginalgorithm": {
  13157. "description": "保证金收取方式 1:比率 2:固定",
  13158. "type": "integer"
  13159. },
  13160. "marginvalue": {
  13161. "description": "即市保证金设置值",
  13162. "type": "number"
  13163. },
  13164. "marketid": {
  13165. "description": "市场ID",
  13166. "type": "integer"
  13167. },
  13168. "marketmaxsub": {
  13169. "description": "市价最大偏移范围",
  13170. "type": "number"
  13171. },
  13172. "marketname": {
  13173. "description": "市场名称",
  13174. "type": "string"
  13175. },
  13176. "memberuserid": {
  13177. "description": "所属会员UserID",
  13178. "type": "integer"
  13179. },
  13180. "openexchagechargevalue": {
  13181. "description": "建仓交易所手续费设置值",
  13182. "type": "number"
  13183. },
  13184. "openfeealgorithm": {
  13185. "description": "建仓手续费收取方式 1:比率 2:固定",
  13186. "type": "integer"
  13187. },
  13188. "openfreezecharge": {
  13189. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13190. "type": "number"
  13191. },
  13192. "openmemberchargevalue": {
  13193. "description": "建仓会员手续费设置值",
  13194. "type": "number"
  13195. },
  13196. "openqty": {
  13197. "description": "开仓数量(先建后平操作,需要记录)",
  13198. "type": "integer"
  13199. },
  13200. "opentradeqty": {
  13201. "description": "开仓成交数量(先建后平操作,需要记录)",
  13202. "type": "integer"
  13203. },
  13204. "openunfreezecharge": {
  13205. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13206. "type": "number"
  13207. },
  13208. "operatetype": {
  13209. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13210. "type": "integer"
  13211. },
  13212. "operatorid": {
  13213. "description": "登录账号(LoginID)",
  13214. "type": "integer"
  13215. },
  13216. "optiontype": {
  13217. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13218. "type": "integer"
  13219. },
  13220. "orderid": {
  13221. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13222. "type": "string"
  13223. },
  13224. "orderprice": {
  13225. "description": "委托价格",
  13226. "type": "number"
  13227. },
  13228. "orderqty": {
  13229. "description": "委托数量",
  13230. "type": "integer"
  13231. },
  13232. "ordersrc": {
  13233. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13234. "type": "integer"
  13235. },
  13236. "orderstatus": {
  13237. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13238. "type": "integer"
  13239. },
  13240. "ordertime": {
  13241. "description": "委托时间",
  13242. "type": "string"
  13243. },
  13244. "preexerciseprice": {
  13245. "description": "预申报价格",
  13246. "type": "number"
  13247. },
  13248. "premium": {
  13249. "description": "权利金",
  13250. "type": "number"
  13251. },
  13252. "preorderid": {
  13253. "description": "关联预埋单号(止盈止损单时填写)",
  13254. "type": "string"
  13255. },
  13256. "pricemode": {
  13257. "description": "取价方式 - 1:市价 2: 限价",
  13258. "type": "integer"
  13259. },
  13260. "quoteid": {
  13261. "description": "报价单ID",
  13262. "type": "integer"
  13263. },
  13264. "relatedid": {
  13265. "description": "关联单号(交割单)",
  13266. "type": "string"
  13267. },
  13268. "retcode": {
  13269. "description": "错误代码",
  13270. "type": "integer"
  13271. },
  13272. "sessionid": {
  13273. "description": "会话ID",
  13274. "type": "integer"
  13275. },
  13276. "tradedate": {
  13277. "description": "交易日(yyyyMMdd)",
  13278. "type": "string"
  13279. },
  13280. "trademode": {
  13281. "description": "交易模式",
  13282. "type": "integer"
  13283. },
  13284. "tradeproperty": {
  13285. "description": "交易属性",
  13286. "type": "integer"
  13287. },
  13288. "tradeqty": {
  13289. "description": "成交数量",
  13290. "type": "integer"
  13291. },
  13292. "unfreezecharge": {
  13293. "description": "解冻手续费",
  13294. "type": "number"
  13295. },
  13296. "unfreezemargin": {
  13297. "description": "解冻保证金",
  13298. "type": "number"
  13299. },
  13300. "updatetime": {
  13301. "description": "更新时间",
  13302. "type": "string"
  13303. },
  13304. "uuid": {
  13305. "description": "发起端唯一id",
  13306. "type": "string"
  13307. },
  13308. "validtime": {
  13309. "description": "有效期限",
  13310. "type": "string"
  13311. },
  13312. "validtype": {
  13313. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13314. "type": "integer"
  13315. },
  13316. "volumetype": {
  13317. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13318. "type": "integer"
  13319. }
  13320. }
  13321. },
  13322. "order.QueryTradeDetailRsp": {
  13323. "type": "object",
  13324. "required": [
  13325. "accountid",
  13326. "buyorsell",
  13327. "goodsid",
  13328. "marketid",
  13329. "memberuserid",
  13330. "orderid",
  13331. "tradeamount",
  13332. "tradedate",
  13333. "tradeid",
  13334. "tradeprice",
  13335. "tradeqty",
  13336. "tradetime"
  13337. ],
  13338. "properties": {
  13339. "accountid": {
  13340. "description": "账户ID[报价币种]",
  13341. "type": "integer"
  13342. },
  13343. "buildtype": {
  13344. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13345. "type": "integer"
  13346. },
  13347. "buyorsell": {
  13348. "description": "方向 - 0:买 1:卖",
  13349. "type": "integer"
  13350. },
  13351. "charge": {
  13352. "description": "手续费",
  13353. "type": "number"
  13354. },
  13355. "closecharge": {
  13356. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13357. "type": "number"
  13358. },
  13359. "closeexchagechargevalue": {
  13360. "description": "平仓交易所手续费设置值",
  13361. "type": "number"
  13362. },
  13363. "closefeealgorithm": {
  13364. "description": "平仓手续费收取方式 1:比率 2:固定",
  13365. "type": "integer"
  13366. },
  13367. "closememberchargevalue": {
  13368. "description": "平仓会员手续费设置值",
  13369. "type": "number"
  13370. },
  13371. "closepl": {
  13372. "description": "平仓盈亏",
  13373. "type": "number"
  13374. },
  13375. "closepl2": {
  13376. "description": "平仓盈亏[逐笔]",
  13377. "type": "number"
  13378. },
  13379. "closeqty": {
  13380. "description": "平仓数量(先建后平操作 需要记录)",
  13381. "type": "integer"
  13382. },
  13383. "creditamount": {
  13384. "description": "授信金额",
  13385. "type": "number"
  13386. },
  13387. "gcaccountid": {
  13388. "description": "账户ID[合约币种]",
  13389. "type": "integer"
  13390. },
  13391. "goodscode": {
  13392. "description": "商品代码",
  13393. "type": "string"
  13394. },
  13395. "goodsid": {
  13396. "description": "商品ID",
  13397. "type": "integer"
  13398. },
  13399. "goodsname": {
  13400. "description": "商品名称",
  13401. "type": "string"
  13402. },
  13403. "intclosepl": {
  13404. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13405. "type": "integer"
  13406. },
  13407. "isconfirmexercise": {
  13408. "description": "是否确认行权- 0:否 1:是",
  13409. "type": "integer"
  13410. },
  13411. "ismain": {
  13412. "description": "是否主单 - 0:不是 1:是",
  13413. "type": "integer"
  13414. },
  13415. "ispreexercise": {
  13416. "description": "是否预申报- 0:否 1:是",
  13417. "type": "integer"
  13418. },
  13419. "isreckoned": {
  13420. "description": "是否结算 - 0:未结算 1:已结算",
  13421. "type": "integer"
  13422. },
  13423. "listingselecttype": {
  13424. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13425. "type": "integer"
  13426. },
  13427. "marketid": {
  13428. "description": "市场ID",
  13429. "type": "integer"
  13430. },
  13431. "marketname": {
  13432. "description": "市场名称",
  13433. "type": "string"
  13434. },
  13435. "matchaccountid": {
  13436. "description": "对手账号id",
  13437. "type": "integer"
  13438. },
  13439. "memberuserid": {
  13440. "description": "会员id 个人投资者 需要填写",
  13441. "type": "integer"
  13442. },
  13443. "opencharge": {
  13444. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13445. "type": "number"
  13446. },
  13447. "openexchagechargevalue": {
  13448. "description": "建仓交易所手续费设置值",
  13449. "type": "number"
  13450. },
  13451. "openfeealgorithm": {
  13452. "description": "建仓手续费收取方式 1:比率 2:固定",
  13453. "type": "integer"
  13454. },
  13455. "openmemberchargevalue": {
  13456. "description": "建仓会员手续费设置值",
  13457. "type": "number"
  13458. },
  13459. "openqty": {
  13460. "description": "开仓数量(先建后平操作 需要记录)",
  13461. "type": "integer"
  13462. },
  13463. "optiontype": {
  13464. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13465. "type": "integer"
  13466. },
  13467. "orderid": {
  13468. "description": "委托单号",
  13469. "type": "string"
  13470. },
  13471. "performanceplanid": {
  13472. "description": "履约计划ID[期权]",
  13473. "type": "integer"
  13474. },
  13475. "performancestatus": {
  13476. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13477. "type": "integer"
  13478. },
  13479. "preexerciseprice": {
  13480. "description": "预申报价格",
  13481. "type": "number"
  13482. },
  13483. "premium": {
  13484. "description": "权利金 - [持仓单的权利金]",
  13485. "type": "number"
  13486. },
  13487. "relatedouttradeid": {
  13488. "description": "关联外部成交单ID",
  13489. "type": "integer"
  13490. },
  13491. "status": {
  13492. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13493. "type": "integer"
  13494. },
  13495. "tradeamount": {
  13496. "description": "成交金额[账户币种,用于所有权]",
  13497. "type": "number"
  13498. },
  13499. "tradedate": {
  13500. "description": "交易日(yyyyMMdd)",
  13501. "type": "string"
  13502. },
  13503. "tradeid": {
  13504. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13505. "type": "string"
  13506. },
  13507. "trademode": {
  13508. "description": "交易模式",
  13509. "type": "integer"
  13510. },
  13511. "tradeprice": {
  13512. "description": "成交价格",
  13513. "type": "number"
  13514. },
  13515. "tradeproperty": {
  13516. "description": "交易属性",
  13517. "type": "integer"
  13518. },
  13519. "tradeqty": {
  13520. "description": "成交数量",
  13521. "type": "integer"
  13522. },
  13523. "tradetime": {
  13524. "description": "成交时间",
  13525. "type": "string"
  13526. },
  13527. "tradetype": {
  13528. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13529. "type": "integer"
  13530. }
  13531. }
  13532. },
  13533. "order.QueryTradeOrderDetailRsp": {
  13534. "type": "object",
  13535. "required": [
  13536. "accountid",
  13537. "buildtype",
  13538. "buyorsell",
  13539. "goodsid",
  13540. "marketid",
  13541. "operatetype",
  13542. "orderqty",
  13543. "ordertime",
  13544. "pricemode",
  13545. "tradedate",
  13546. "validtype"
  13547. ],
  13548. "properties": {
  13549. "accountid": {
  13550. "description": "账户ID[报价币种]",
  13551. "type": "integer"
  13552. },
  13553. "buildtype": {
  13554. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13555. "type": "integer"
  13556. },
  13557. "buyorsell": {
  13558. "description": "买卖 - 0:买 1:卖",
  13559. "type": "integer"
  13560. },
  13561. "cancelorderid": {
  13562. "description": "撤单单号(撤单时填写)",
  13563. "type": "string"
  13564. },
  13565. "cancelqty": {
  13566. "description": "撤单数量",
  13567. "type": "integer"
  13568. },
  13569. "clienttype": {
  13570. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13571. "type": "integer"
  13572. },
  13573. "closefreezecharge": {
  13574. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13575. "type": "number"
  13576. },
  13577. "closeqty": {
  13578. "description": "平仓数量(先建后平操作 需要记录)",
  13579. "type": "integer"
  13580. },
  13581. "closetradeqty": {
  13582. "description": "平仓成交数量(先建后平操作,需要记录)",
  13583. "type": "integer"
  13584. },
  13585. "closeunfreezecharge": {
  13586. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13587. "type": "number"
  13588. },
  13589. "delistingtype": {
  13590. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13591. "type": "integer"
  13592. },
  13593. "enableqty": {
  13594. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13595. "type": "integer"
  13596. },
  13597. "freezecharge": {
  13598. "description": "冻结手续费",
  13599. "type": "number"
  13600. },
  13601. "freezemargin": {
  13602. "description": "冻结保证金(冻结交易金额)",
  13603. "type": "number"
  13604. },
  13605. "goodscode": {
  13606. "description": "商品代码",
  13607. "type": "string"
  13608. },
  13609. "goodsid": {
  13610. "description": "商品ID",
  13611. "type": "integer"
  13612. },
  13613. "goodsname": {
  13614. "description": "商品名称",
  13615. "type": "string"
  13616. },
  13617. "listingselecttype": {
  13618. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13619. "type": "integer"
  13620. },
  13621. "marketid": {
  13622. "description": "市场ID",
  13623. "type": "integer"
  13624. },
  13625. "marketname": {
  13626. "description": "市场名称",
  13627. "type": "string"
  13628. },
  13629. "openfreezecharge": {
  13630. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13631. "type": "number"
  13632. },
  13633. "openqty": {
  13634. "description": "开仓数量(先建后平操作,需要记录)",
  13635. "type": "integer"
  13636. },
  13637. "opentradeqty": {
  13638. "description": "开仓成交数量(先建后平操作,需要记录)",
  13639. "type": "integer"
  13640. },
  13641. "openunfreezecharge": {
  13642. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13643. "type": "number"
  13644. },
  13645. "operatetype": {
  13646. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13647. "type": "integer"
  13648. },
  13649. "operatorid": {
  13650. "description": "登录账号(LoginID)",
  13651. "type": "integer"
  13652. },
  13653. "orderid": {
  13654. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13655. "type": "string"
  13656. },
  13657. "orderprice": {
  13658. "description": "委托价格",
  13659. "type": "number"
  13660. },
  13661. "orderqty": {
  13662. "description": "委托数量",
  13663. "type": "integer"
  13664. },
  13665. "ordersrc": {
  13666. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13667. "type": "integer"
  13668. },
  13669. "orderstatus": {
  13670. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13671. "type": "integer"
  13672. },
  13673. "ordertime": {
  13674. "description": "委托时间",
  13675. "type": "string"
  13676. },
  13677. "preorderid": {
  13678. "description": "关联预埋单号(止盈止损单时填写)",
  13679. "type": "string"
  13680. },
  13681. "pricemode": {
  13682. "description": "取价方式 - 1:市价 2: 限价",
  13683. "type": "integer"
  13684. },
  13685. "relatedid": {
  13686. "description": "关联单号(交割单)",
  13687. "type": "string"
  13688. },
  13689. "tradedate": {
  13690. "description": "交易日(yyyyMMdd)",
  13691. "type": "string"
  13692. },
  13693. "trademode": {
  13694. "description": "交易模式",
  13695. "type": "integer"
  13696. },
  13697. "tradeqty": {
  13698. "description": "成交数量",
  13699. "type": "integer"
  13700. },
  13701. "unfreezecharge": {
  13702. "description": "解冻手续费",
  13703. "type": "number"
  13704. },
  13705. "unfreezemargin": {
  13706. "description": "解冻保证金",
  13707. "type": "number"
  13708. },
  13709. "validtime": {
  13710. "description": "有效期限",
  13711. "type": "string"
  13712. },
  13713. "validtype": {
  13714. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13715. "type": "integer"
  13716. },
  13717. "volumetype": {
  13718. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13719. "type": "integer"
  13720. }
  13721. }
  13722. },
  13723. "order.QueryTradePositionRsp": {
  13724. "type": "object",
  13725. "required": [
  13726. "goodsid"
  13727. ],
  13728. "properties": {
  13729. "accountid": {
  13730. "description": "资金账户",
  13731. "type": "integer"
  13732. },
  13733. "agreeunit": {
  13734. "description": "合约单位",
  13735. "type": "number"
  13736. },
  13737. "averageprice": {
  13738. "description": "持仓均价",
  13739. "type": "number"
  13740. },
  13741. "buyorsell": {
  13742. "description": "方向 - 0:买 1:卖",
  13743. "type": "integer"
  13744. },
  13745. "closetotalqty": {
  13746. "description": "平仓总数量",
  13747. "type": "integer"
  13748. },
  13749. "curholderamount": {
  13750. "description": "当前持仓总金额[商品币种]",
  13751. "type": "number"
  13752. },
  13753. "curpositionqty": {
  13754. "description": "当前持仓总数量",
  13755. "type": "integer"
  13756. },
  13757. "currencyid": {
  13758. "description": "报价货币ID",
  13759. "type": "integer"
  13760. },
  13761. "curtdposition": {
  13762. "description": "期末今日头寸",
  13763. "type": "integer"
  13764. },
  13765. "decimalplace": {
  13766. "description": "报价小数位",
  13767. "type": "integer"
  13768. },
  13769. "enableqty": {
  13770. "description": "可用量",
  13771. "type": "integer"
  13772. },
  13773. "fretdposition": {
  13774. "description": "冻结今日头寸",
  13775. "type": "integer"
  13776. },
  13777. "frozenqty": {
  13778. "description": "持仓冻结数量",
  13779. "type": "integer"
  13780. },
  13781. "goodscode": {
  13782. "description": "商品代码",
  13783. "type": "string"
  13784. },
  13785. "goodsid": {
  13786. "description": "商品Id",
  13787. "type": "integer"
  13788. },
  13789. "goodsname": {
  13790. "description": "商品名称",
  13791. "type": "string"
  13792. },
  13793. "goodunit": {
  13794. "description": "报价单位",
  13795. "type": "string"
  13796. },
  13797. "goodunitid": {
  13798. "description": "报价单位ID",
  13799. "type": "integer"
  13800. },
  13801. "holderamount": {
  13802. "description": "期初持仓总金额[商品币种]",
  13803. "type": "number"
  13804. },
  13805. "marketid": {
  13806. "description": "所属市场ID",
  13807. "type": "integer"
  13808. },
  13809. "openreqqty": {
  13810. "description": "开仓申请数量(用于比较最大持仓数量)",
  13811. "type": "integer"
  13812. },
  13813. "opentotalqty": {
  13814. "description": "开仓总数量",
  13815. "type": "integer"
  13816. },
  13817. "otherfrozenqty": {
  13818. "description": "持仓其他冻结数量(交割冻结)",
  13819. "type": "integer"
  13820. },
  13821. "positionqty": {
  13822. "description": "期初持仓数量",
  13823. "type": "integer"
  13824. },
  13825. "tnqty": {
  13826. "description": "T+N冻结总量",
  13827. "type": "integer"
  13828. },
  13829. "tnusedqty": {
  13830. "description": "T+N使用量(可以使用T+N的冻结数量)",
  13831. "type": "integer"
  13832. },
  13833. "trademode": {
  13834. "description": "交易模式",
  13835. "type": "integer"
  13836. },
  13837. "usedmargin": {
  13838. "description": "占用保证金[商品币种]",
  13839. "type": "number"
  13840. }
  13841. }
  13842. },
  13843. "quote.HistoryData": {
  13844. "type": "object",
  13845. "properties": {
  13846. "c": {
  13847. "description": "收盘价",
  13848. "type": "number"
  13849. },
  13850. "h": {
  13851. "description": "最高价",
  13852. "type": "number"
  13853. },
  13854. "hv": {
  13855. "description": "持仓量",
  13856. "type": "integer"
  13857. },
  13858. "l": {
  13859. "description": "最低价",
  13860. "type": "number"
  13861. },
  13862. "o": {
  13863. "description": "开盘价",
  13864. "type": "number"
  13865. },
  13866. "s": {
  13867. "description": "结算价,日线周期(包括)以上才有",
  13868. "type": "number"
  13869. },
  13870. "ts": {
  13871. "description": "时间",
  13872. "type": "string"
  13873. },
  13874. "tt": {
  13875. "description": "总金额",
  13876. "type": "number"
  13877. },
  13878. "tv": {
  13879. "description": "总量",
  13880. "type": "integer"
  13881. }
  13882. }
  13883. },
  13884. "quote.QueryTSDataRsp": {
  13885. "type": "object",
  13886. "properties": {
  13887. "decimalPlace": {
  13888. "description": "小数位",
  13889. "type": "integer"
  13890. },
  13891. "endTime": {
  13892. "description": "结束时间",
  13893. "type": "string"
  13894. },
  13895. "goodsCode": {
  13896. "description": "商品代码",
  13897. "type": "string"
  13898. },
  13899. "historyDatas": {
  13900. "description": "历史数据",
  13901. "type": "array",
  13902. "items": {
  13903. "$ref": "#/definitions/quote.HistoryData"
  13904. }
  13905. },
  13906. "preSettle": {
  13907. "description": "昨结",
  13908. "type": "number"
  13909. },
  13910. "startTime": {
  13911. "description": "开始时间",
  13912. "type": "string"
  13913. },
  13914. "tradeDate": {
  13915. "description": "交易日",
  13916. "type": "string"
  13917. }
  13918. }
  13919. },
  13920. "szdz.QueryConvertLogRsp": {
  13921. "type": "object",
  13922. "required": [
  13923. "logid"
  13924. ],
  13925. "properties": {
  13926. "accountid": {
  13927. "description": "资金账户ID",
  13928. "type": "integer"
  13929. },
  13930. "clientticket": {
  13931. "description": "客户端流水号",
  13932. "type": "string"
  13933. },
  13934. "converttype": {
  13935. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  13936. "type": "integer"
  13937. },
  13938. "createtime": {
  13939. "description": "记账时间",
  13940. "type": "string"
  13941. },
  13942. "daymaxvalue": {
  13943. "description": "配置当日最大转入限制",
  13944. "type": "number"
  13945. },
  13946. "daymaxvalue2": {
  13947. "description": "配置当日最大转入限制(转入)",
  13948. "type": "number"
  13949. },
  13950. "goodscode": {
  13951. "description": "商品代码",
  13952. "type": "string"
  13953. },
  13954. "goodsname": {
  13955. "description": "商品名称",
  13956. "type": "string"
  13957. },
  13958. "handlestatus": {
  13959. "description": "处理状态",
  13960. "type": "integer"
  13961. },
  13962. "innergoodsid": {
  13963. "description": "内部商品ID",
  13964. "type": "integer"
  13965. },
  13966. "inratio": {
  13967. "description": "配置转入比值",
  13968. "type": "integer"
  13969. },
  13970. "invalue": {
  13971. "description": "目标值",
  13972. "type": "number"
  13973. },
  13974. "logid": {
  13975. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13976. "type": "integer"
  13977. },
  13978. "mobile": {
  13979. "description": "手机号码(加密存储)",
  13980. "type": "string"
  13981. },
  13982. "outergoodscode": {
  13983. "description": "外部商品代码[JD\\PD]",
  13984. "type": "string"
  13985. },
  13986. "outratio": {
  13987. "description": "配置转出比值",
  13988. "type": "integer"
  13989. },
  13990. "outvalue": {
  13991. "description": "源值",
  13992. "type": "number"
  13993. },
  13994. "pddecimalplace": {
  13995. "description": "PD小数位",
  13996. "type": "integer"
  13997. },
  13998. "qty": {
  13999. "description": "数量",
  14000. "type": "string"
  14001. },
  14002. "remark": {
  14003. "description": "备注",
  14004. "type": "string"
  14005. },
  14006. "sessionid": {
  14007. "description": "会话ID",
  14008. "type": "integer"
  14009. },
  14010. "timemaxvalue": {
  14011. "description": "配置单次最大转入限制",
  14012. "type": "number"
  14013. },
  14014. "timemaxvalue2": {
  14015. "description": "配置单次最大转入限制(转入)",
  14016. "type": "number"
  14017. },
  14018. "timeminvalue": {
  14019. "description": "配置单次最小数量限制",
  14020. "type": "number"
  14021. },
  14022. "timeminvalue2": {
  14023. "description": "配置单次最小数量限制(转入)",
  14024. "type": "number"
  14025. },
  14026. "tradedate": {
  14027. "description": "交易日(yyyyMMdd)",
  14028. "type": "string"
  14029. },
  14030. "userid": {
  14031. "description": "用户ID",
  14032. "type": "integer"
  14033. }
  14034. }
  14035. },
  14036. "szdz.QueryGoodsPickupRsp": {
  14037. "type": "object",
  14038. "required": [
  14039. "takeorderid"
  14040. ],
  14041. "properties": {
  14042. "accountid": {
  14043. "description": "账户ID",
  14044. "type": "integer"
  14045. },
  14046. "address": {
  14047. "description": "提货人详细地址",
  14048. "type": "string"
  14049. },
  14050. "auditer": {
  14051. "description": "审核人",
  14052. "type": "integer"
  14053. },
  14054. "audittime": {
  14055. "description": "审核时间",
  14056. "type": "string"
  14057. },
  14058. "cardnum": {
  14059. "description": "提货人证件号码",
  14060. "type": "string"
  14061. },
  14062. "cardtypeid": {
  14063. "description": "提货人证件类型",
  14064. "type": "integer"
  14065. },
  14066. "checkremark": {
  14067. "description": "审核备注",
  14068. "type": "string"
  14069. },
  14070. "goodscode": {
  14071. "description": "商品代码",
  14072. "type": "string"
  14073. },
  14074. "goodsid": {
  14075. "description": "商品ID",
  14076. "type": "integer"
  14077. },
  14078. "goodsname": {
  14079. "description": "商品名称",
  14080. "type": "string"
  14081. },
  14082. "handlestatus": {
  14083. "description": "处理状态",
  14084. "type": "integer"
  14085. },
  14086. "marketid": {
  14087. "description": "市场ID",
  14088. "type": "integer"
  14089. },
  14090. "phonenum": {
  14091. "description": "提货人联系方式",
  14092. "type": "string"
  14093. },
  14094. "qty": {
  14095. "description": "提货数量",
  14096. "type": "number"
  14097. },
  14098. "recivername": {
  14099. "description": "提货人姓名",
  14100. "type": "string"
  14101. },
  14102. "reqtime": {
  14103. "description": "更新时间",
  14104. "type": "string"
  14105. },
  14106. "takemode": {
  14107. "description": "提货方式 - 2:自提 3:配送",
  14108. "type": "integer"
  14109. },
  14110. "takeorderid": {
  14111. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14112. "type": "string"
  14113. },
  14114. "takeorderstatus": {
  14115. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14116. "type": "integer"
  14117. },
  14118. "takeremark": {
  14119. "description": "提货备注",
  14120. "type": "string"
  14121. },
  14122. "tradedate": {
  14123. "description": "交易日(yyyyMMdd)",
  14124. "type": "string"
  14125. },
  14126. "userid": {
  14127. "description": "用户ID",
  14128. "type": "integer"
  14129. }
  14130. }
  14131. },
  14132. "szdz.QueryRecieptOrderRsp": {
  14133. "type": "object",
  14134. "required": [
  14135. "ordertime"
  14136. ],
  14137. "properties": {
  14138. "accountName": {
  14139. "description": "所属账号名称(已脱敏)",
  14140. "type": "string"
  14141. },
  14142. "accountid": {
  14143. "description": "资金账号",
  14144. "type": "integer"
  14145. },
  14146. "buyorsell": {
  14147. "description": "方向 - 0:买 1:卖",
  14148. "type": "integer"
  14149. },
  14150. "enableqty": {
  14151. "description": "可摘数量",
  14152. "type": "integer"
  14153. },
  14154. "goodscode": {
  14155. "description": "商品代码",
  14156. "type": "string"
  14157. },
  14158. "goodsid": {
  14159. "description": "商品ID",
  14160. "type": "integer"
  14161. },
  14162. "goodsname": {
  14163. "description": "商品名称",
  14164. "type": "string"
  14165. },
  14166. "orderid": {
  14167. "description": "委托单号",
  14168. "type": "string"
  14169. },
  14170. "orderprice": {
  14171. "description": "委托价格",
  14172. "type": "number"
  14173. },
  14174. "ordertime": {
  14175. "description": "委托时间",
  14176. "type": "string"
  14177. },
  14178. "tradedate": {
  14179. "description": "交易日(yyyyMMdd)",
  14180. "type": "string"
  14181. }
  14182. }
  14183. },
  14184. "szdz.QuerySZDZTradePositionRsp": {
  14185. "type": "object",
  14186. "properties": {
  14187. "accountid": {
  14188. "description": "账号Id",
  14189. "type": "integer"
  14190. },
  14191. "agreeunit": {
  14192. "description": "合约单位",
  14193. "type": "number"
  14194. },
  14195. "averageprice": {
  14196. "description": "持仓均价",
  14197. "type": "number"
  14198. },
  14199. "buyorsell": {
  14200. "description": "方向 - 0:买 1:卖",
  14201. "type": "integer"
  14202. },
  14203. "closetotalqty": {
  14204. "description": "平仓总数量",
  14205. "type": "integer"
  14206. },
  14207. "curholderamount": {
  14208. "description": "当前持仓总金额",
  14209. "type": "number"
  14210. },
  14211. "curpositionqty": {
  14212. "description": "当前持仓总数量",
  14213. "type": "integer"
  14214. },
  14215. "currencyid": {
  14216. "description": "报价货币ID",
  14217. "type": "integer"
  14218. },
  14219. "curtdposition": {
  14220. "description": "期末今日头寸",
  14221. "type": "integer"
  14222. },
  14223. "decimalplace": {
  14224. "description": "报价小数位",
  14225. "type": "integer"
  14226. },
  14227. "enableqty": {
  14228. "description": "可用量",
  14229. "type": "integer"
  14230. },
  14231. "fretdposition": {
  14232. "description": "冻结今日头寸",
  14233. "type": "integer"
  14234. },
  14235. "frozenqty": {
  14236. "description": "持仓冻结数量",
  14237. "type": "integer"
  14238. },
  14239. "goodscode": {
  14240. "description": "商品代码(内部)",
  14241. "type": "string"
  14242. },
  14243. "goodsid": {
  14244. "description": "商品Id",
  14245. "type": "integer"
  14246. },
  14247. "goodsname": {
  14248. "description": "商品名称",
  14249. "type": "string"
  14250. },
  14251. "goodunit": {
  14252. "description": "报价单位",
  14253. "type": "string"
  14254. },
  14255. "goodunitid": {
  14256. "description": "报价单位ID",
  14257. "type": "integer"
  14258. },
  14259. "holderamount": {
  14260. "description": "期初持仓总金额",
  14261. "type": "number"
  14262. },
  14263. "marketid": {
  14264. "description": "市场ID",
  14265. "type": "integer"
  14266. },
  14267. "openreqqty": {
  14268. "description": "开仓申请数量",
  14269. "type": "integer"
  14270. },
  14271. "opentotalqty": {
  14272. "description": "开仓总数量",
  14273. "type": "integer"
  14274. },
  14275. "otherfrozenqty": {
  14276. "description": "持仓其他冻结数量(交割冻结)",
  14277. "type": "integer"
  14278. },
  14279. "positionqty": {
  14280. "description": "期初持仓数量",
  14281. "type": "integer"
  14282. },
  14283. "szdz3freezqty": {
  14284. "description": "尚志大宗转换冻结总数量",
  14285. "type": "integer"
  14286. },
  14287. "tnqty": {
  14288. "description": "T+N冻结总量",
  14289. "type": "integer"
  14290. },
  14291. "tnusedqty": {
  14292. "description": "T+N使用量",
  14293. "type": "integer"
  14294. },
  14295. "trademode": {
  14296. "description": "交易模式",
  14297. "type": "integer"
  14298. },
  14299. "usedmargin": {
  14300. "description": "占用保证金",
  14301. "type": "number"
  14302. }
  14303. }
  14304. },
  14305. "taaccount.QueryAmountLogRsp": {
  14306. "type": "object",
  14307. "required": [
  14308. "accountid",
  14309. "amount",
  14310. "amountadjusttype",
  14311. "autoid",
  14312. "balance",
  14313. "createtime",
  14314. "currentbalance",
  14315. "operatetype"
  14316. ],
  14317. "properties": {
  14318. "OPERATETYPENAME": {
  14319. "description": "资金操作类型名称",
  14320. "type": "string"
  14321. },
  14322. "accountid": {
  14323. "description": "资金账户ID",
  14324. "type": "integer"
  14325. },
  14326. "agoodscode": {
  14327. "description": "竞拍商品代码",
  14328. "type": "string"
  14329. },
  14330. "agoodsname": {
  14331. "description": "竞拍商品名称",
  14332. "type": "string"
  14333. },
  14334. "amount": {
  14335. "description": "资金金额",
  14336. "type": "number"
  14337. },
  14338. "amountadjusttype": {
  14339. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14340. "type": "integer"
  14341. },
  14342. "autoid": {
  14343. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14344. "type": "integer"
  14345. },
  14346. "balance": {
  14347. "description": "期初余额",
  14348. "type": "number"
  14349. },
  14350. "businesscode": {
  14351. "description": "业务编号",
  14352. "type": "integer"
  14353. },
  14354. "createtime": {
  14355. "description": "发生时间",
  14356. "type": "string"
  14357. },
  14358. "currencyid": {
  14359. "description": "币种ID",
  14360. "type": "integer"
  14361. },
  14362. "currentbalance": {
  14363. "description": "期末余额(变动后金额)",
  14364. "type": "number"
  14365. },
  14366. "dgoodscode": {
  14367. "description": "交割商品代码",
  14368. "type": "string"
  14369. },
  14370. "dgoodsname": {
  14371. "description": "交割商品名称",
  14372. "type": "string"
  14373. },
  14374. "goodscode": {
  14375. "description": "商品代码",
  14376. "type": "string"
  14377. },
  14378. "goodsid": {
  14379. "description": "商品ID",
  14380. "type": "integer"
  14381. },
  14382. "goodsname": {
  14383. "description": "商品名称",
  14384. "type": "string"
  14385. },
  14386. "marketid": {
  14387. "description": "市场ID",
  14388. "type": "integer"
  14389. },
  14390. "marketname": {
  14391. "description": "市场名称",
  14392. "type": "string"
  14393. },
  14394. "moneyticket": {
  14395. "description": "资金流水号:银行端流水号",
  14396. "type": "integer"
  14397. },
  14398. "operatetype": {
  14399. "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:营销收款",
  14400. "type": "integer"
  14401. },
  14402. "relationorderid": {
  14403. "description": "关联单号",
  14404. "type": "string"
  14405. },
  14406. "remark": {
  14407. "description": "备注",
  14408. "type": "string"
  14409. },
  14410. "trademode": {
  14411. "description": "交易模式",
  14412. "type": "integer"
  14413. }
  14414. }
  14415. },
  14416. "taaccount.QueryHisAmountLogRsp": {
  14417. "type": "object",
  14418. "required": [
  14419. "accountid",
  14420. "amount",
  14421. "amountadjusttype",
  14422. "autoid",
  14423. "balance",
  14424. "createtime",
  14425. "currentbalance",
  14426. "histradedate",
  14427. "operatetype"
  14428. ],
  14429. "properties": {
  14430. "OPERATETYPENAME": {
  14431. "description": "资金操作类型名称",
  14432. "type": "string"
  14433. },
  14434. "accountid": {
  14435. "description": "资金账户ID",
  14436. "type": "integer"
  14437. },
  14438. "agoodscode": {
  14439. "description": "竞拍商品代码",
  14440. "type": "string"
  14441. },
  14442. "agoodsname": {
  14443. "description": "竞拍商品名称",
  14444. "type": "string"
  14445. },
  14446. "amount": {
  14447. "description": "资金金额",
  14448. "type": "number"
  14449. },
  14450. "amountadjusttype": {
  14451. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14452. "type": "integer"
  14453. },
  14454. "autoid": {
  14455. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14456. "type": "integer"
  14457. },
  14458. "balance": {
  14459. "description": "期初余额",
  14460. "type": "number"
  14461. },
  14462. "businesscode": {
  14463. "description": "业务编号",
  14464. "type": "integer"
  14465. },
  14466. "createtime": {
  14467. "description": "发生时间",
  14468. "type": "string"
  14469. },
  14470. "currencyid": {
  14471. "description": "币种ID",
  14472. "type": "integer"
  14473. },
  14474. "currentbalance": {
  14475. "description": "期末余额(变动后金额)",
  14476. "type": "number"
  14477. },
  14478. "dgoodscode": {
  14479. "description": "交割商品代码",
  14480. "type": "string"
  14481. },
  14482. "dgoodsname": {
  14483. "description": "交割商品名称",
  14484. "type": "string"
  14485. },
  14486. "goodscode": {
  14487. "description": "商品代码",
  14488. "type": "string"
  14489. },
  14490. "goodsid": {
  14491. "description": "商品ID",
  14492. "type": "integer"
  14493. },
  14494. "goodsname": {
  14495. "description": "商品名称",
  14496. "type": "string"
  14497. },
  14498. "histradedate": {
  14499. "description": "历史交易日",
  14500. "type": "string"
  14501. },
  14502. "isvaliddata": {
  14503. "description": "是否有效 - 0:无效 1:有效",
  14504. "type": "integer"
  14505. },
  14506. "marketid": {
  14507. "description": "市场ID",
  14508. "type": "integer"
  14509. },
  14510. "marketname": {
  14511. "description": "市场名称",
  14512. "type": "string"
  14513. },
  14514. "moneyticket": {
  14515. "description": "资金流水号:银行端流水号",
  14516. "type": "integer"
  14517. },
  14518. "operatetype": {
  14519. "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:营销收款",
  14520. "type": "integer"
  14521. },
  14522. "relationorderid": {
  14523. "description": "关联单号",
  14524. "type": "string"
  14525. },
  14526. "remark": {
  14527. "description": "备注",
  14528. "type": "string"
  14529. },
  14530. "trademode": {
  14531. "description": "交易模式",
  14532. "type": "integer"
  14533. }
  14534. }
  14535. },
  14536. "trade.QueryRecieptOrderRsp": {
  14537. "type": "object",
  14538. "required": [
  14539. "ordertime"
  14540. ],
  14541. "properties": {
  14542. "accountName": {
  14543. "description": "所属账号名称(已脱敏)",
  14544. "type": "string"
  14545. },
  14546. "accountid": {
  14547. "description": "资金账号",
  14548. "type": "integer"
  14549. },
  14550. "buyorsell": {
  14551. "description": "方向 - 0:买 1:卖",
  14552. "type": "integer"
  14553. },
  14554. "enableqty": {
  14555. "description": "可摘数量",
  14556. "type": "integer"
  14557. },
  14558. "goodscode": {
  14559. "description": "商品代码",
  14560. "type": "string"
  14561. },
  14562. "goodsid": {
  14563. "description": "商品ID",
  14564. "type": "integer"
  14565. },
  14566. "goodsname": {
  14567. "description": "商品名称",
  14568. "type": "string"
  14569. },
  14570. "orderid": {
  14571. "description": "委托单号",
  14572. "type": "string"
  14573. },
  14574. "orderprice": {
  14575. "description": "委托价格",
  14576. "type": "number"
  14577. },
  14578. "ordertime": {
  14579. "description": "委托时间",
  14580. "type": "string"
  14581. },
  14582. "tradedate": {
  14583. "description": "交易日(yyyyMMdd)",
  14584. "type": "string"
  14585. }
  14586. }
  14587. }
  14588. },
  14589. "securityDefinitions": {
  14590. "ApiKeyAuth": {
  14591. "type": "apiKey",
  14592. "name": "Authorization",
  14593. "in": "header"
  14594. }
  14595. }
  14596. }