docs.go 528 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "responses": {
  378. "200": {
  379. "description": "OK",
  380. "schema": {
  381. "$ref": "#/definitions/models.Enumdicitem"
  382. }
  383. },
  384. "500": {
  385. "description": "Internal Server Error",
  386. "schema": {
  387. "$ref": "#/definitions/app.Response"
  388. }
  389. }
  390. }
  391. }
  392. },
  393. "/Common/GetServerTime": {
  394. "get": {
  395. "produces": [
  396. "application/json"
  397. ],
  398. "tags": [
  399. "通用服务"
  400. ],
  401. "summary": "获取服务器时间",
  402. "responses": {
  403. "200": {
  404. "description": "OK",
  405. "schema": {
  406. "$ref": "#/definitions/app.Response"
  407. }
  408. },
  409. "500": {
  410. "description": "Internal Server Error",
  411. "schema": {
  412. "$ref": "#/definitions/app.Response"
  413. }
  414. }
  415. }
  416. }
  417. },
  418. "/Common/NoticeReaded": {
  419. "post": {
  420. "security": [
  421. {
  422. "ApiKeyAuth": []
  423. }
  424. ],
  425. "produces": [
  426. "application/json"
  427. ],
  428. "tags": [
  429. "通用服务"
  430. ],
  431. "summary": "通知公告设置已读请求",
  432. "parameters": [
  433. {
  434. "type": "integer",
  435. "description": "登录账号",
  436. "name": "loginID",
  437. "in": "query",
  438. "required": true
  439. },
  440. {
  441. "type": "integer",
  442. "description": "通知公告ID",
  443. "name": "noticeID",
  444. "in": "query",
  445. "required": true
  446. }
  447. ],
  448. "responses": {
  449. "200": {
  450. "description": "OK",
  451. "schema": {
  452. "$ref": "#/definitions/app.Response"
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/QueryImageConfigs": {
  465. "get": {
  466. "produces": [
  467. "application/json"
  468. ],
  469. "tags": [
  470. "通用服务"
  471. ],
  472. "summary": "查询轮播图配置信息",
  473. "parameters": [
  474. {
  475. "type": "integer",
  476. "description": "类型 - 1:App首页轮播 2:我的",
  477. "name": "imageType",
  478. "in": "query"
  479. }
  480. ],
  481. "responses": {
  482. "200": {
  483. "description": "OK",
  484. "schema": {
  485. "$ref": "#/definitions/models.Szdz2imageconfig"
  486. }
  487. },
  488. "500": {
  489. "description": "Internal Server Error",
  490. "schema": {
  491. "$ref": "#/definitions/app.Response"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. "/Common/QueryNotice": {
  498. "get": {
  499. "security": [
  500. {
  501. "ApiKeyAuth": []
  502. }
  503. ],
  504. "produces": [
  505. "application/json"
  506. ],
  507. "tags": [
  508. "通用服务"
  509. ],
  510. "summary": "通知公告系统消息查询",
  511. "parameters": [
  512. {
  513. "type": "integer",
  514. "description": "页码",
  515. "name": "page",
  516. "in": "query"
  517. },
  518. {
  519. "type": "integer",
  520. "description": "每页条数",
  521. "name": "pagesize",
  522. "in": "query"
  523. },
  524. {
  525. "type": "integer",
  526. "description": "登录账号",
  527. "name": "loginID",
  528. "in": "query",
  529. "required": true
  530. },
  531. {
  532. "type": "integer",
  533. "description": "消息类型 - 1:公告通知 2:系统消息",
  534. "name": "msgType",
  535. "in": "query"
  536. },
  537. {
  538. "type": "boolean",
  539. "description": "是否只获取未读信息",
  540. "name": "onlyUnRead",
  541. "in": "query"
  542. }
  543. ],
  544. "responses": {
  545. "200": {
  546. "description": "OK",
  547. "schema": {
  548. "$ref": "#/definitions/common.QueryNoticeRsp"
  549. }
  550. },
  551. "500": {
  552. "description": "Internal Server Error",
  553. "schema": {
  554. "$ref": "#/definitions/app.Response"
  555. }
  556. }
  557. }
  558. }
  559. },
  560. "/Common/QueryProvincesAndCities": {
  561. "get": {
  562. "produces": [
  563. "application/json"
  564. ],
  565. "tags": [
  566. "通用服务"
  567. ],
  568. "summary": "查询省市信息(不包括区)",
  569. "parameters": [
  570. {
  571. "type": "integer",
  572. "description": "省ID",
  573. "name": "provinceID",
  574. "in": "query"
  575. }
  576. ],
  577. "responses": {
  578. "200": {
  579. "description": "OK",
  580. "schema": {
  581. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  582. }
  583. },
  584. "500": {
  585. "description": "Internal Server Error",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. }
  590. }
  591. }
  592. },
  593. "/Common/QueryTableDefine": {
  594. "get": {
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "通用服务"
  600. ],
  601. "summary": "查询交易端列表头信息",
  602. "parameters": [
  603. {
  604. "type": "string",
  605. "description": "表key",
  606. "name": "tableKey",
  607. "in": "query"
  608. },
  609. {
  610. "type": "integer",
  611. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  612. "name": "tableType",
  613. "in": "query"
  614. }
  615. ],
  616. "responses": {
  617. "200": {
  618. "description": "OK",
  619. "schema": {
  620. "$ref": "#/definitions/common.QueryTableDefineRsp"
  621. }
  622. },
  623. "500": {
  624. "description": "Internal Server Error",
  625. "schema": {
  626. "$ref": "#/definitions/app.Response"
  627. }
  628. }
  629. }
  630. }
  631. },
  632. "/Common/QueryTraderMenu": {
  633. "get": {
  634. "produces": [
  635. "application/json"
  636. ],
  637. "tags": [
  638. "通用服务"
  639. ],
  640. "summary": "查询交易端菜单",
  641. "parameters": [
  642. {
  643. "type": "integer",
  644. "description": "登录账号",
  645. "name": "loginid",
  646. "in": "query",
  647. "required": true
  648. }
  649. ],
  650. "responses": {
  651. "200": {
  652. "description": "OK",
  653. "schema": {
  654. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  655. }
  656. },
  657. "500": {
  658. "description": "Internal Server Error",
  659. "schema": {
  660. "$ref": "#/definitions/app.Response"
  661. }
  662. }
  663. }
  664. }
  665. },
  666. "/Delivery/QueryDeliveryRelation": {
  667. "get": {
  668. "security": [
  669. {
  670. "ApiKeyAuth": []
  671. }
  672. ],
  673. "produces": [
  674. "application/json"
  675. ],
  676. "tags": [
  677. "交割服务"
  678. ],
  679. "summary": "查询商品交割关系表",
  680. "parameters": [
  681. {
  682. "type": "integer",
  683. "description": "商品ID",
  684. "name": "goodsid",
  685. "in": "query"
  686. },
  687. {
  688. "type": "integer",
  689. "description": "品种ID",
  690. "name": "deliverygoodsid",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "市场ID",
  696. "name": "marketid",
  697. "in": "query"
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "OK",
  703. "schema": {
  704. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  705. }
  706. },
  707. "500": {
  708. "description": "Internal Server Error",
  709. "schema": {
  710. "$ref": "#/definitions/app.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/Ermcp/QueryAvaildGoodsGroup": {
  717. "get": {
  718. "security": [
  719. {
  720. "ApiKeyAuth": []
  721. }
  722. ],
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "企业风险管理(app)"
  728. ],
  729. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  730. "parameters": [
  731. {
  732. "type": "integer",
  733. "description": "所属机构ID",
  734. "name": "userid",
  735. "in": "query",
  736. "required": true
  737. }
  738. ],
  739. "responses": {
  740. "200": {
  741. "description": "OK",
  742. "schema": {
  743. "type": "array",
  744. "items": {
  745. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  746. }
  747. }
  748. },
  749. "500": {
  750. "description": "Internal Server Error",
  751. "schema": {
  752. "$ref": "#/definitions/app.Response"
  753. }
  754. }
  755. }
  756. }
  757. },
  758. "/Ermcp/QueryBusinessDj": {
  759. "get": {
  760. "security": [
  761. {
  762. "ApiKeyAuth": []
  763. }
  764. ],
  765. "produces": [
  766. "application/json"
  767. ],
  768. "tags": [
  769. "企业风险管理(app)"
  770. ],
  771. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  772. "parameters": [
  773. {
  774. "type": "integer",
  775. "description": "用户ID",
  776. "name": "UserId",
  777. "in": "query",
  778. "required": true
  779. },
  780. {
  781. "type": "string",
  782. "description": "现货合同ID, 不填则查所有",
  783. "name": "relatedid",
  784. "in": "query"
  785. }
  786. ],
  787. "responses": {
  788. "200": {
  789. "description": "OK",
  790. "schema": {
  791. "type": "array",
  792. "items": {
  793. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  794. }
  795. }
  796. },
  797. "500": {
  798. "description": "Internal Server Error",
  799. "schema": {
  800. "$ref": "#/definitions/app.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/Ermcp/QueryBusinessFp": {
  807. "get": {
  808. "security": [
  809. {
  810. "ApiKeyAuth": []
  811. }
  812. ],
  813. "produces": [
  814. "application/json"
  815. ],
  816. "tags": [
  817. "企业风险管理(app)"
  818. ],
  819. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  820. "parameters": [
  821. {
  822. "type": "integer",
  823. "description": "用户ID",
  824. "name": "UserId",
  825. "in": "query",
  826. "required": true
  827. },
  828. {
  829. "type": "string",
  830. "description": "现货合同ID, 不填则查所有",
  831. "name": "relatedid",
  832. "in": "query"
  833. }
  834. ],
  835. "responses": {
  836. "200": {
  837. "description": "OK",
  838. "schema": {
  839. "type": "array",
  840. "items": {
  841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  842. }
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Ermcp/QueryBusinessJs": {
  855. "get": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "企业风险管理(app)"
  866. ],
  867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  868. "parameters": [
  869. {
  870. "type": "integer",
  871. "description": "用户ID",
  872. "name": "UserId",
  873. "in": "query",
  874. "required": true
  875. },
  876. {
  877. "type": "string",
  878. "description": "现货合同ID, 不填则查所有",
  879. "name": "relatedid",
  880. "in": "query"
  881. }
  882. ],
  883. "responses": {
  884. "200": {
  885. "description": "OK",
  886. "schema": {
  887. "type": "array",
  888. "items": {
  889. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  890. }
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/QueryBusinessKx": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "用户ID",
  920. "name": "UserId",
  921. "in": "query",
  922. "required": true
  923. },
  924. {
  925. "type": "string",
  926. "description": "现货合同ID, 不填则查所有",
  927. "name": "relatedid",
  928. "in": "query"
  929. }
  930. ],
  931. "responses": {
  932. "200": {
  933. "description": "OK",
  934. "schema": {
  935. "type": "array",
  936. "items": {
  937. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  938. }
  939. }
  940. },
  941. "500": {
  942. "description": "Internal Server Error",
  943. "schema": {
  944. "$ref": "#/definitions/app.Response"
  945. }
  946. }
  947. }
  948. }
  949. },
  950. "/Ermcp/QueryChangeLog": {
  951. "get": {
  952. "security": [
  953. {
  954. "ApiKeyAuth": []
  955. }
  956. ],
  957. "produces": [
  958. "application/json"
  959. ],
  960. "tags": [
  961. "企业风险管理(app)"
  962. ],
  963. "summary": "查询变更记录",
  964. "parameters": [
  965. {
  966. "type": "string",
  967. "description": "用户ID",
  968. "name": "RelatedId",
  969. "in": "query",
  970. "required": true
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "OK",
  976. "schema": {
  977. "type": "array",
  978. "items": {
  979. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  980. }
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryContract": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询合同(采购和销售)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userId",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "合同类型 1-采购, -1-销售",
  1017. "name": "contracttype",
  1018. "in": "query",
  1019. "required": true
  1020. },
  1021. {
  1022. "type": "integer",
  1023. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1024. "name": "querytype",
  1025. "in": "query",
  1026. "required": true
  1027. }
  1028. ],
  1029. "responses": {
  1030. "200": {
  1031. "description": "OK",
  1032. "schema": {
  1033. "type": "array",
  1034. "items": {
  1035. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1036. }
  1037. }
  1038. },
  1039. "500": {
  1040. "description": "Internal Server Error",
  1041. "schema": {
  1042. "$ref": "#/definitions/app.Response"
  1043. }
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "/Ermcp/QueryExposureDetail": {
  1049. "get": {
  1050. "security": [
  1051. {
  1052. "ApiKeyAuth": []
  1053. }
  1054. ],
  1055. "produces": [
  1056. "application/json"
  1057. ],
  1058. "tags": [
  1059. "企业风险管理(app)"
  1060. ],
  1061. "summary": "查询敞口现货明细",
  1062. "parameters": [
  1063. {
  1064. "type": "integer",
  1065. "description": "所属机构ID",
  1066. "name": "areaUserId",
  1067. "in": "query",
  1068. "required": true
  1069. },
  1070. {
  1071. "type": "integer",
  1072. "description": "套保商品",
  1073. "name": "middleGoodsId",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "type": "array",
  1083. "items": {
  1084. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1085. }
  1086. }
  1087. },
  1088. "500": {
  1089. "description": "Internal Server Error",
  1090. "schema": {
  1091. "$ref": "#/definitions/app.Response"
  1092. }
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "/Ermcp/QueryExposureSpot": {
  1098. "get": {
  1099. "security": [
  1100. {
  1101. "ApiKeyAuth": []
  1102. }
  1103. ],
  1104. "produces": [
  1105. "application/json"
  1106. ],
  1107. "tags": [
  1108. "企业风险管理(app)"
  1109. ],
  1110. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1111. "parameters": [
  1112. {
  1113. "type": "integer",
  1114. "description": "所属机构ID",
  1115. "name": "areaUserId",
  1116. "in": "query",
  1117. "required": true
  1118. }
  1119. ],
  1120. "responses": {
  1121. "200": {
  1122. "description": "OK",
  1123. "schema": {
  1124. "type": "array",
  1125. "items": {
  1126. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1127. }
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Ermcp/QueryExposureSpotDetail": {
  1140. "get": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "企业风险管理(app)"
  1151. ],
  1152. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1153. "parameters": [
  1154. {
  1155. "type": "integer",
  1156. "description": "所属机构ID",
  1157. "name": "areaUserId",
  1158. "in": "query",
  1159. "required": true
  1160. },
  1161. {
  1162. "type": "integer",
  1163. "description": "现货品种ID",
  1164. "name": "wrstandardId",
  1165. "in": "query",
  1166. "required": true
  1167. }
  1168. ],
  1169. "responses": {
  1170. "200": {
  1171. "description": "OK",
  1172. "schema": {
  1173. "type": "array",
  1174. "items": {
  1175. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1176. }
  1177. }
  1178. },
  1179. "500": {
  1180. "description": "Internal Server Error",
  1181. "schema": {
  1182. "$ref": "#/definitions/app.Response"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/Ermcp/QueryGGConvertConfig": {
  1189. "get": {
  1190. "security": [
  1191. {
  1192. "ApiKeyAuth": []
  1193. }
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "企业风险管理(app)"
  1200. ],
  1201. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1202. "parameters": [
  1203. {
  1204. "type": "integer",
  1205. "description": "品种id(不填则查所有)",
  1206. "name": "goodsgroupid",
  1207. "in": "query"
  1208. }
  1209. ],
  1210. "responses": {
  1211. "200": {
  1212. "description": "OK",
  1213. "schema": {
  1214. "type": "array",
  1215. "items": {
  1216. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1217. }
  1218. }
  1219. },
  1220. "500": {
  1221. "description": "Internal Server Error",
  1222. "schema": {
  1223. "$ref": "#/definitions/app.Response"
  1224. }
  1225. }
  1226. }
  1227. }
  1228. },
  1229. "/Ermcp/QueryHedgePlan": {
  1230. "get": {
  1231. "security": [
  1232. {
  1233. "ApiKeyAuth": []
  1234. }
  1235. ],
  1236. "produces": [
  1237. "application/json"
  1238. ],
  1239. "tags": [
  1240. "企业风险管理(app)"
  1241. ],
  1242. "summary": "查询套保计划",
  1243. "parameters": [
  1244. {
  1245. "type": "integer",
  1246. "description": "用户ID",
  1247. "name": "userId",
  1248. "in": "query",
  1249. "required": true
  1250. },
  1251. {
  1252. "type": "string",
  1253. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1254. "name": "HedgePlanStatus",
  1255. "in": "query",
  1256. "required": true
  1257. }
  1258. ],
  1259. "responses": {
  1260. "200": {
  1261. "description": "OK",
  1262. "schema": {
  1263. "type": "array",
  1264. "items": {
  1265. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1266. }
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/QueryHisExposure": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "所属机构ID",
  1296. "name": "areaUserId",
  1297. "in": "query",
  1298. "required": true
  1299. },
  1300. {
  1301. "type": "integer",
  1302. "description": "最近多少条记录, -1:为查全部",
  1303. "name": "lastNum",
  1304. "in": "query",
  1305. "required": true
  1306. }
  1307. ],
  1308. "responses": {
  1309. "200": {
  1310. "description": "OK",
  1311. "schema": {
  1312. "type": "array",
  1313. "items": {
  1314. "$ref": "#/definitions/ermcp.HisExposureRsp"
  1315. }
  1316. }
  1317. },
  1318. "500": {
  1319. "description": "Internal Server Error",
  1320. "schema": {
  1321. "$ref": "#/definitions/app.Response"
  1322. }
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "/Ermcp/QueryMiddleGoods": {
  1328. "get": {
  1329. "security": [
  1330. {
  1331. "ApiKeyAuth": []
  1332. }
  1333. ],
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "企业风险管理(app)"
  1339. ],
  1340. "summary": "查询套保品种(菜单:套保品种)",
  1341. "parameters": [
  1342. {
  1343. "type": "integer",
  1344. "description": "所属机构ID",
  1345. "name": "userid",
  1346. "in": "query",
  1347. "required": true
  1348. },
  1349. {
  1350. "type": "integer",
  1351. "description": "状态 0-停用 1-正常",
  1352. "name": "status",
  1353. "in": "query",
  1354. "required": true
  1355. }
  1356. ],
  1357. "responses": {
  1358. "200": {
  1359. "description": "OK",
  1360. "schema": {
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  1364. }
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/Ermcp/QueryMiddleGoodsChangeLog": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "企业风险管理(app)"
  1388. ],
  1389. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  1390. "parameters": [
  1391. {
  1392. "type": "integer",
  1393. "description": "所属机构ID",
  1394. "name": "userid",
  1395. "in": "query",
  1396. "required": true
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "套保品种id",
  1401. "name": "middlegoodsid",
  1402. "in": "query",
  1403. "required": true
  1404. }
  1405. ],
  1406. "responses": {
  1407. "200": {
  1408. "description": "OK",
  1409. "schema": {
  1410. "type": "array",
  1411. "items": {
  1412. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  1413. }
  1414. }
  1415. },
  1416. "500": {
  1417. "description": "Internal Server Error",
  1418. "schema": {
  1419. "$ref": "#/definitions/app.Response"
  1420. }
  1421. }
  1422. }
  1423. }
  1424. },
  1425. "/Ermcp/QueryMiddleGoodsDetail": {
  1426. "get": {
  1427. "security": [
  1428. {
  1429. "ApiKeyAuth": []
  1430. }
  1431. ],
  1432. "produces": [
  1433. "application/json"
  1434. ],
  1435. "tags": [
  1436. "企业风险管理(app)"
  1437. ],
  1438. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  1439. "parameters": [
  1440. {
  1441. "type": "integer",
  1442. "description": "所属机构ID",
  1443. "name": "userid",
  1444. "in": "query",
  1445. "required": true
  1446. },
  1447. {
  1448. "type": "integer",
  1449. "description": "套保品种id",
  1450. "name": "middlegoodsid",
  1451. "in": "query",
  1452. "required": true
  1453. }
  1454. ],
  1455. "responses": {
  1456. "200": {
  1457. "description": "OK",
  1458. "schema": {
  1459. "type": "array",
  1460. "items": {
  1461. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  1462. }
  1463. }
  1464. },
  1465. "500": {
  1466. "description": "Internal Server Error",
  1467. "schema": {
  1468. "$ref": "#/definitions/app.Response"
  1469. }
  1470. }
  1471. }
  1472. }
  1473. },
  1474. "/Ermcp/QueryRealtimeExposure": {
  1475. "get": {
  1476. "security": [
  1477. {
  1478. "ApiKeyAuth": []
  1479. }
  1480. ],
  1481. "produces": [
  1482. "application/json"
  1483. ],
  1484. "tags": [
  1485. "企业风险管理(app)"
  1486. ],
  1487. "summary": "查询实时敞口",
  1488. "parameters": [
  1489. {
  1490. "type": "integer",
  1491. "description": "所属机构ID",
  1492. "name": "AreaUserID",
  1493. "in": "query",
  1494. "required": true
  1495. }
  1496. ],
  1497. "responses": {
  1498. "200": {
  1499. "description": "OK",
  1500. "schema": {
  1501. "type": "array",
  1502. "items": {
  1503. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1504. }
  1505. }
  1506. },
  1507. "500": {
  1508. "description": "Internal Server Error",
  1509. "schema": {
  1510. "$ref": "#/definitions/app.Response"
  1511. }
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "/Ermcp/QueryRealtimeExposurePosition": {
  1517. "get": {
  1518. "security": [
  1519. {
  1520. "ApiKeyAuth": []
  1521. }
  1522. ],
  1523. "produces": [
  1524. "application/json"
  1525. ],
  1526. "tags": [
  1527. "企业风险管理(app)"
  1528. ],
  1529. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  1530. "parameters": [
  1531. {
  1532. "type": "integer",
  1533. "description": "所属机构ID",
  1534. "name": "areaUserId",
  1535. "in": "query",
  1536. "required": true
  1537. },
  1538. {
  1539. "type": "integer",
  1540. "description": "套保商品ID",
  1541. "name": "middleGoodsId",
  1542. "in": "query",
  1543. "required": true
  1544. }
  1545. ],
  1546. "responses": {
  1547. "200": {
  1548. "description": "OK",
  1549. "schema": {
  1550. "type": "array",
  1551. "items": {
  1552. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  1553. }
  1554. }
  1555. },
  1556. "500": {
  1557. "description": "Internal Server Error",
  1558. "schema": {
  1559. "$ref": "#/definitions/app.Response"
  1560. }
  1561. }
  1562. }
  1563. }
  1564. },
  1565. "/Ermcp/QuerySpotContract": {
  1566. "get": {
  1567. "security": [
  1568. {
  1569. "ApiKeyAuth": []
  1570. }
  1571. ],
  1572. "produces": [
  1573. "application/json"
  1574. ],
  1575. "tags": [
  1576. "企业风险管理(app)"
  1577. ],
  1578. "summary": "查询现货合同(对应现货合同菜单)",
  1579. "parameters": [
  1580. {
  1581. "type": "integer",
  1582. "description": "用户ID",
  1583. "name": "userId",
  1584. "in": "query",
  1585. "required": true
  1586. },
  1587. {
  1588. "type": "integer",
  1589. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1590. "name": "QueryType",
  1591. "in": "query",
  1592. "required": true
  1593. }
  1594. ],
  1595. "responses": {
  1596. "200": {
  1597. "description": "OK",
  1598. "schema": {
  1599. "type": "array",
  1600. "items": {
  1601. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1602. }
  1603. }
  1604. },
  1605. "500": {
  1606. "description": "Internal Server Error",
  1607. "schema": {
  1608. "$ref": "#/definitions/app.Response"
  1609. }
  1610. }
  1611. }
  1612. }
  1613. },
  1614. "/Ermcp/QueryUserInfo": {
  1615. "get": {
  1616. "security": [
  1617. {
  1618. "ApiKeyAuth": []
  1619. }
  1620. ],
  1621. "produces": [
  1622. "application/json"
  1623. ],
  1624. "tags": [
  1625. "企业风险管理(app)"
  1626. ],
  1627. "summary": "查询客户资料",
  1628. "parameters": [
  1629. {
  1630. "type": "integer",
  1631. "description": "所属机构用户ID",
  1632. "name": "MemberUserID",
  1633. "in": "query",
  1634. "required": true
  1635. },
  1636. {
  1637. "type": "integer",
  1638. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1639. "name": "queryType",
  1640. "in": "query",
  1641. "required": true
  1642. }
  1643. ],
  1644. "responses": {
  1645. "200": {
  1646. "description": "OK",
  1647. "schema": {
  1648. "type": "array",
  1649. "items": {
  1650. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1651. }
  1652. }
  1653. },
  1654. "500": {
  1655. "description": "Internal Server Error",
  1656. "schema": {
  1657. "$ref": "#/definitions/app.Response"
  1658. }
  1659. }
  1660. }
  1661. }
  1662. },
  1663. "/Ermcp/QueryWrStandard": {
  1664. "get": {
  1665. "security": [
  1666. {
  1667. "ApiKeyAuth": []
  1668. }
  1669. ],
  1670. "produces": [
  1671. "application/json"
  1672. ],
  1673. "tags": [
  1674. "企业风险管理(app)"
  1675. ],
  1676. "summary": "查询现货商品",
  1677. "parameters": [
  1678. {
  1679. "type": "integer",
  1680. "description": "所属机构ID",
  1681. "name": "userid",
  1682. "in": "query",
  1683. "required": true
  1684. },
  1685. {
  1686. "type": "integer",
  1687. "description": "状态 0-停用 1-正常",
  1688. "name": "status",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryWrStandardDetail": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "所属机构ID",
  1730. "name": "userid",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "integer",
  1736. "description": "现货商品ID",
  1737. "name": "wrstandardid",
  1738. "in": "query",
  1739. "required": true
  1740. }
  1741. ],
  1742. "responses": {
  1743. "200": {
  1744. "description": "OK",
  1745. "schema": {
  1746. "type": "array",
  1747. "items": {
  1748. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  1749. }
  1750. }
  1751. },
  1752. "500": {
  1753. "description": "Internal Server Error",
  1754. "schema": {
  1755. "$ref": "#/definitions/app.Response"
  1756. }
  1757. }
  1758. }
  1759. }
  1760. },
  1761. "/Erms2/QueryArbitrageStrategy": {
  1762. "get": {
  1763. "security": [
  1764. {
  1765. "ApiKeyAuth": []
  1766. }
  1767. ],
  1768. "produces": [
  1769. "application/json"
  1770. ],
  1771. "tags": [
  1772. "风险管理"
  1773. ],
  1774. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1775. "parameters": [
  1776. {
  1777. "type": "integer",
  1778. "description": "账户ID",
  1779. "name": "userid",
  1780. "in": "query",
  1781. "required": true
  1782. },
  1783. {
  1784. "type": "string",
  1785. "description": "商品组ID(品种ID)",
  1786. "name": "goodsgroupid",
  1787. "in": "query"
  1788. }
  1789. ],
  1790. "responses": {
  1791. "200": {
  1792. "description": "OK",
  1793. "schema": {
  1794. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1795. }
  1796. },
  1797. "500": {
  1798. "description": "Internal Server Error",
  1799. "schema": {
  1800. "$ref": "#/definitions/app.Response"
  1801. }
  1802. }
  1803. }
  1804. }
  1805. },
  1806. "/Erms2/QueryInnerTradeDetail": {
  1807. "get": {
  1808. "security": [
  1809. {
  1810. "ApiKeyAuth": []
  1811. }
  1812. ],
  1813. "produces": [
  1814. "application/json"
  1815. ],
  1816. "tags": [
  1817. "风险管理"
  1818. ],
  1819. "summary": "查询内部成交单信息",
  1820. "parameters": [
  1821. {
  1822. "type": "integer",
  1823. "description": "资金账户",
  1824. "name": "accountid",
  1825. "in": "query",
  1826. "required": true
  1827. }
  1828. ],
  1829. "responses": {
  1830. "200": {
  1831. "description": "OK",
  1832. "schema": {
  1833. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1834. }
  1835. },
  1836. "500": {
  1837. "description": "Internal Server Error",
  1838. "schema": {
  1839. "$ref": "#/definitions/app.Response"
  1840. }
  1841. }
  1842. }
  1843. }
  1844. },
  1845. "/Erms2/QuerySpotContract": {
  1846. "get": {
  1847. "security": [
  1848. {
  1849. "ApiKeyAuth": []
  1850. }
  1851. ],
  1852. "produces": [
  1853. "application/json"
  1854. ],
  1855. "tags": [
  1856. "风险管理"
  1857. ],
  1858. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1859. "parameters": [
  1860. {
  1861. "type": "integer",
  1862. "description": "策略申请ID",
  1863. "name": "asapplyid",
  1864. "in": "query",
  1865. "required": true
  1866. },
  1867. {
  1868. "type": "integer",
  1869. "description": "现货合同ID",
  1870. "name": "spotcontractid",
  1871. "in": "query"
  1872. }
  1873. ],
  1874. "responses": {
  1875. "200": {
  1876. "description": "OK",
  1877. "schema": {
  1878. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1879. }
  1880. },
  1881. "500": {
  1882. "description": "Internal Server Error",
  1883. "schema": {
  1884. "$ref": "#/definitions/app.Response"
  1885. }
  1886. }
  1887. }
  1888. }
  1889. },
  1890. "/Erms3/AddErms2ASApply": {
  1891. "post": {
  1892. "security": [
  1893. {
  1894. "ApiKeyAuth": []
  1895. }
  1896. ],
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "风险管理v3"
  1902. ],
  1903. "summary": "新增期现套利业务申请",
  1904. "parameters": [
  1905. {
  1906. "description": "申请参数",
  1907. "name": "jsonBody",
  1908. "in": "body",
  1909. "required": true,
  1910. "schema": {
  1911. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1912. }
  1913. }
  1914. ],
  1915. "responses": {
  1916. "200": {
  1917. "description": "OK",
  1918. "schema": {
  1919. "$ref": "#/definitions/app.Response"
  1920. }
  1921. },
  1922. "500": {
  1923. "description": "Internal Server Error",
  1924. "schema": {
  1925. "$ref": "#/definitions/app.Response"
  1926. }
  1927. }
  1928. }
  1929. }
  1930. },
  1931. "/Erms3/AddErms2SpotTradeApply": {
  1932. "post": {
  1933. "security": [
  1934. {
  1935. "ApiKeyAuth": []
  1936. }
  1937. ],
  1938. "produces": [
  1939. "application/json"
  1940. ],
  1941. "tags": [
  1942. "风险管理v3"
  1943. ],
  1944. "summary": "新增现货贸易业务申请",
  1945. "parameters": [
  1946. {
  1947. "description": "申请参数",
  1948. "name": "jsonBody",
  1949. "in": "body",
  1950. "required": true,
  1951. "schema": {
  1952. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1953. }
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "OK",
  1959. "schema": {
  1960. "$ref": "#/definitions/app.Response"
  1961. }
  1962. },
  1963. "500": {
  1964. "description": "Internal Server Error",
  1965. "schema": {
  1966. "$ref": "#/definitions/app.Response"
  1967. }
  1968. }
  1969. }
  1970. }
  1971. },
  1972. "/Erms3/AddSpotContractApply": {
  1973. "post": {
  1974. "security": [
  1975. {
  1976. "ApiKeyAuth": []
  1977. }
  1978. ],
  1979. "produces": [
  1980. "application/json"
  1981. ],
  1982. "tags": [
  1983. "风险管理v3"
  1984. ],
  1985. "summary": "新增现货合同申请",
  1986. "parameters": [
  1987. {
  1988. "description": "申请参数",
  1989. "name": "jsonBody",
  1990. "in": "body",
  1991. "required": true,
  1992. "schema": {
  1993. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1994. }
  1995. }
  1996. ],
  1997. "responses": {
  1998. "200": {
  1999. "description": "OK",
  2000. "schema": {
  2001. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2002. }
  2003. },
  2004. "500": {
  2005. "description": "Internal Server Error",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. }
  2010. }
  2011. }
  2012. },
  2013. "/Erms3/AddUserInfoApply": {
  2014. "post": {
  2015. "security": [
  2016. {
  2017. "ApiKeyAuth": []
  2018. }
  2019. ],
  2020. "produces": [
  2021. "application/json"
  2022. ],
  2023. "tags": [
  2024. "风险管理v3"
  2025. ],
  2026. "summary": "新增客户申请",
  2027. "parameters": [
  2028. {
  2029. "description": "申请参数",
  2030. "name": "jsonBody",
  2031. "in": "body",
  2032. "required": true,
  2033. "schema": {
  2034. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2035. }
  2036. }
  2037. ],
  2038. "responses": {
  2039. "200": {
  2040. "description": "OK",
  2041. "schema": {
  2042. "$ref": "#/definitions/app.Response"
  2043. }
  2044. },
  2045. "500": {
  2046. "description": "Internal Server Error",
  2047. "schema": {
  2048. "$ref": "#/definitions/app.Response"
  2049. }
  2050. }
  2051. }
  2052. }
  2053. },
  2054. "/Erms3/QueryBusinessInfo": {
  2055. "get": {
  2056. "security": [
  2057. {
  2058. "ApiKeyAuth": []
  2059. }
  2060. ],
  2061. "produces": [
  2062. "application/json"
  2063. ],
  2064. "tags": [
  2065. "风险管理v3"
  2066. ],
  2067. "summary": "查询业务表单数据",
  2068. "parameters": [
  2069. {
  2070. "type": "string",
  2071. "description": "资金账号ID列表,用逗号分隔",
  2072. "name": "accountids",
  2073. "in": "query",
  2074. "required": true
  2075. },
  2076. {
  2077. "type": "integer",
  2078. "description": "状态,0为未结束 1为已结束",
  2079. "name": "status",
  2080. "in": "query",
  2081. "required": true
  2082. }
  2083. ],
  2084. "responses": {
  2085. "200": {
  2086. "description": "OK",
  2087. "schema": {
  2088. "type": "array",
  2089. "items": {
  2090. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2091. }
  2092. }
  2093. },
  2094. "500": {
  2095. "description": "Internal Server Error",
  2096. "schema": {
  2097. "$ref": "#/definitions/app.Response"
  2098. }
  2099. }
  2100. }
  2101. }
  2102. },
  2103. "/Erms3/QueryPendingAuditContract": {
  2104. "get": {
  2105. "security": [
  2106. {
  2107. "ApiKeyAuth": []
  2108. }
  2109. ],
  2110. "produces": [
  2111. "application/json"
  2112. ],
  2113. "tags": [
  2114. "风险管理v3"
  2115. ],
  2116. "summary": "查询待审核合同",
  2117. "parameters": [
  2118. {
  2119. "type": "string",
  2120. "description": "资金账号ID列表,逗号隔开",
  2121. "name": "accountids",
  2122. "in": "query",
  2123. "required": true
  2124. },
  2125. {
  2126. "type": "integer",
  2127. "description": "合同类型 1-采购 -1-销售",
  2128. "name": "contracttype",
  2129. "in": "query",
  2130. "required": true
  2131. },
  2132. {
  2133. "type": "integer",
  2134. "description": "合同模式 1-普通 2-回购",
  2135. "name": "contractmode",
  2136. "in": "query",
  2137. "required": true
  2138. }
  2139. ],
  2140. "responses": {
  2141. "200": {
  2142. "description": "OK",
  2143. "schema": {
  2144. "type": "array",
  2145. "items": {
  2146. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2147. }
  2148. }
  2149. },
  2150. "500": {
  2151. "description": "Internal Server Error",
  2152. "schema": {
  2153. "$ref": "#/definitions/app.Response"
  2154. }
  2155. }
  2156. }
  2157. }
  2158. },
  2159. "/Erms3/QueryPendingBusiness": {
  2160. "get": {
  2161. "security": [
  2162. {
  2163. "ApiKeyAuth": []
  2164. }
  2165. ],
  2166. "produces": [
  2167. "application/json"
  2168. ],
  2169. "tags": [
  2170. "风险管理v3"
  2171. ],
  2172. "summary": "查询待审核基差贸易业务",
  2173. "parameters": [
  2174. {
  2175. "type": "string",
  2176. "description": "资金账号ID列表,逗号隔开",
  2177. "name": "accountids",
  2178. "in": "query",
  2179. "required": true
  2180. }
  2181. ],
  2182. "responses": {
  2183. "200": {
  2184. "description": "OK",
  2185. "schema": {
  2186. "type": "array",
  2187. "items": {
  2188. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2189. }
  2190. }
  2191. },
  2192. "500": {
  2193. "description": "Internal Server Error",
  2194. "schema": {
  2195. "$ref": "#/definitions/app.Response"
  2196. }
  2197. }
  2198. }
  2199. }
  2200. },
  2201. "/Erms3/QuerySpotContractAppleForm": {
  2202. "get": {
  2203. "security": [
  2204. {
  2205. "ApiKeyAuth": []
  2206. }
  2207. ],
  2208. "produces": [
  2209. "application/json"
  2210. ],
  2211. "tags": [
  2212. "风险管理v3"
  2213. ],
  2214. "summary": "查询合同申请表单数据",
  2215. "parameters": [
  2216. {
  2217. "type": "integer",
  2218. "description": "登录账号",
  2219. "name": "loginID",
  2220. "in": "query",
  2221. "required": true
  2222. }
  2223. ],
  2224. "responses": {
  2225. "200": {
  2226. "description": "OK",
  2227. "schema": {
  2228. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2229. }
  2230. },
  2231. "500": {
  2232. "description": "Internal Server Error",
  2233. "schema": {
  2234. "$ref": "#/definitions/app.Response"
  2235. }
  2236. }
  2237. }
  2238. }
  2239. },
  2240. "/Erms3/QuerySpotContractDetail": {
  2241. "get": {
  2242. "security": [
  2243. {
  2244. "ApiKeyAuth": []
  2245. }
  2246. ],
  2247. "produces": [
  2248. "application/json"
  2249. ],
  2250. "tags": [
  2251. "风险管理v3"
  2252. ],
  2253. "summary": "查询合同详细信息",
  2254. "parameters": [
  2255. {
  2256. "type": "string",
  2257. "description": "资金账号ID列表,用逗号分隔",
  2258. "name": "accountids",
  2259. "in": "query",
  2260. "required": true
  2261. },
  2262. {
  2263. "type": "integer",
  2264. "description": "合同类型,1为采购合同 -1为销售合同",
  2265. "name": "contracttype",
  2266. "in": "query",
  2267. "required": true
  2268. },
  2269. {
  2270. "type": "integer",
  2271. "description": "合同模式,1为普通合同 2为回购销售合同",
  2272. "name": "contractmode",
  2273. "in": "query",
  2274. "required": true
  2275. },
  2276. {
  2277. "type": "integer",
  2278. "description": "状态,0为履约中 1为已完成",
  2279. "name": "status",
  2280. "in": "query",
  2281. "required": true
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  2291. }
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Erms3/QueryUserInfoApplies": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "风险管理v3"
  2315. ],
  2316. "summary": "客户申请信息查询",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "页码",
  2321. "name": "page",
  2322. "in": "query"
  2323. },
  2324. {
  2325. "type": "integer",
  2326. "description": "每页条数",
  2327. "name": "pagesize",
  2328. "in": "query"
  2329. },
  2330. {
  2331. "type": "string",
  2332. "description": "客户名称,支持模糊查询",
  2333. "name": "userName",
  2334. "in": "query"
  2335. }
  2336. ],
  2337. "responses": {
  2338. "200": {
  2339. "description": "OK",
  2340. "schema": {
  2341. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  2342. }
  2343. },
  2344. "500": {
  2345. "description": "Internal Server Error",
  2346. "schema": {
  2347. "$ref": "#/definitions/app.Response"
  2348. }
  2349. }
  2350. }
  2351. }
  2352. },
  2353. "/Erms3/QueryUserInfos": {
  2354. "get": {
  2355. "security": [
  2356. {
  2357. "ApiKeyAuth": []
  2358. }
  2359. ],
  2360. "produces": [
  2361. "application/json"
  2362. ],
  2363. "tags": [
  2364. "风险管理v3"
  2365. ],
  2366. "summary": "客户信息查询",
  2367. "parameters": [
  2368. {
  2369. "type": "integer",
  2370. "description": "页码",
  2371. "name": "page",
  2372. "in": "query"
  2373. },
  2374. {
  2375. "type": "integer",
  2376. "description": "每页条数",
  2377. "name": "pagesize",
  2378. "in": "query"
  2379. },
  2380. {
  2381. "type": "string",
  2382. "description": "客户名称,支持模糊查询",
  2383. "name": "userName",
  2384. "in": "query"
  2385. }
  2386. ],
  2387. "responses": {
  2388. "200": {
  2389. "description": "OK",
  2390. "schema": {
  2391. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  2392. }
  2393. },
  2394. "500": {
  2395. "description": "Internal Server Error",
  2396. "schema": {
  2397. "$ref": "#/definitions/app.Response"
  2398. }
  2399. }
  2400. }
  2401. }
  2402. },
  2403. "/HSBY/GetHsbyMyCount": {
  2404. "get": {
  2405. "security": [
  2406. {
  2407. "ApiKeyAuth": []
  2408. }
  2409. ],
  2410. "description": "说明: 不包括已完成的数量。",
  2411. "produces": [
  2412. "application/json"
  2413. ],
  2414. "tags": [
  2415. "定制【海商报业】"
  2416. ],
  2417. "summary": "获取我的订单与包裹数量",
  2418. "parameters": [
  2419. {
  2420. "type": "string",
  2421. "description": "资金账户列表,格式:1,2,3",
  2422. "name": "accountIDs",
  2423. "in": "query",
  2424. "required": true
  2425. }
  2426. ],
  2427. "responses": {
  2428. "200": {
  2429. "description": "OK",
  2430. "schema": {
  2431. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/HSBY/QueryClientFixedADConfigs": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "定制【海商报业】"
  2455. ],
  2456. "summary": "获取终端固定广告配置",
  2457. "responses": {
  2458. "200": {
  2459. "description": "OK",
  2460. "schema": {
  2461. "$ref": "#/definitions/models.Clientfixedadconfig"
  2462. }
  2463. },
  2464. "500": {
  2465. "description": "Internal Server Error",
  2466. "schema": {
  2467. "$ref": "#/definitions/app.Response"
  2468. }
  2469. }
  2470. }
  2471. }
  2472. },
  2473. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2474. "get": {
  2475. "security": [
  2476. {
  2477. "ApiKeyAuth": []
  2478. }
  2479. ],
  2480. "produces": [
  2481. "application/json"
  2482. ],
  2483. "tags": [
  2484. "定制【海商报业】"
  2485. ],
  2486. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2487. "parameters": [
  2488. {
  2489. "type": "integer",
  2490. "description": "页码",
  2491. "name": "page",
  2492. "in": "query"
  2493. },
  2494. {
  2495. "type": "integer",
  2496. "description": "每页条数",
  2497. "name": "pagesize",
  2498. "in": "query"
  2499. },
  2500. {
  2501. "type": "string",
  2502. "description": "资金账户列表,格式:1,2,3",
  2503. "name": "accountIDs",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2513. }
  2514. },
  2515. "500": {
  2516. "description": "Internal Server Error",
  2517. "schema": {
  2518. "$ref": "#/definitions/app.Response"
  2519. }
  2520. }
  2521. }
  2522. }
  2523. },
  2524. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2525. "get": {
  2526. "security": [
  2527. {
  2528. "ApiKeyAuth": []
  2529. }
  2530. ],
  2531. "description": "说明:查询结果已按委托价格和委托时间排序",
  2532. "produces": [
  2533. "application/json"
  2534. ],
  2535. "tags": [
  2536. "定制【海商报业】"
  2537. ],
  2538. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2539. "parameters": [
  2540. {
  2541. "type": "integer",
  2542. "description": "商品ID",
  2543. "name": "goodsID",
  2544. "in": "query",
  2545. "required": true
  2546. },
  2547. {
  2548. "type": "string",
  2549. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2550. "name": "accountIDs",
  2551. "in": "query"
  2552. },
  2553. {
  2554. "type": "integer",
  2555. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2556. "name": "buyOrSell",
  2557. "in": "query"
  2558. },
  2559. {
  2560. "type": "number",
  2561. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2562. "name": "price",
  2563. "in": "query"
  2564. },
  2565. {
  2566. "type": "integer",
  2567. "description": "档位,不传则默认为3档",
  2568. "name": "speed",
  2569. "in": "query"
  2570. }
  2571. ],
  2572. "responses": {
  2573. "200": {
  2574. "description": "OK",
  2575. "schema": {
  2576. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/HSBY/QueryHsbyListingGoodsDetail": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2596. "produces": [
  2597. "application/json"
  2598. ],
  2599. "tags": [
  2600. "定制【海商报业】"
  2601. ],
  2602. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2603. "parameters": [
  2604. {
  2605. "type": "integer",
  2606. "description": "商品ID",
  2607. "name": "goodsID",
  2608. "in": "query",
  2609. "required": true
  2610. },
  2611. {
  2612. "type": "integer",
  2613. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2614. "name": "accountID",
  2615. "in": "query"
  2616. }
  2617. ],
  2618. "responses": {
  2619. "200": {
  2620. "description": "OK",
  2621. "schema": {
  2622. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2623. }
  2624. },
  2625. "500": {
  2626. "description": "Internal Server Error",
  2627. "schema": {
  2628. "$ref": "#/definitions/app.Response"
  2629. }
  2630. }
  2631. }
  2632. }
  2633. },
  2634. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2635. "get": {
  2636. "security": [
  2637. {
  2638. "ApiKeyAuth": []
  2639. }
  2640. ],
  2641. "produces": [
  2642. "application/json"
  2643. ],
  2644. "tags": [
  2645. "定制【海商报业】"
  2646. ],
  2647. "summary": "查询三级市场(商城)商品信息详情",
  2648. "parameters": [
  2649. {
  2650. "type": "integer",
  2651. "description": "委托单号",
  2652. "name": "orderID",
  2653. "in": "query",
  2654. "required": true
  2655. },
  2656. {
  2657. "type": "integer",
  2658. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2659. "name": "accountID",
  2660. "in": "query"
  2661. }
  2662. ],
  2663. "responses": {
  2664. "200": {
  2665. "description": "OK",
  2666. "schema": {
  2667. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2668. }
  2669. },
  2670. "500": {
  2671. "description": "Internal Server Error",
  2672. "schema": {
  2673. "$ref": "#/definitions/app.Response"
  2674. }
  2675. }
  2676. }
  2677. }
  2678. },
  2679. "/HSBY/QueryHsbyMarketGoodses": {
  2680. "get": {
  2681. "security": [
  2682. {
  2683. "ApiKeyAuth": []
  2684. }
  2685. ],
  2686. "produces": [
  2687. "application/json"
  2688. ],
  2689. "tags": [
  2690. "定制【海商报业】"
  2691. ],
  2692. "summary": "查询特卖商品列表(三级商城)",
  2693. "parameters": [
  2694. {
  2695. "type": "integer",
  2696. "description": "页码",
  2697. "name": "page",
  2698. "in": "query"
  2699. },
  2700. {
  2701. "type": "integer",
  2702. "description": "每页条数",
  2703. "name": "pagesize",
  2704. "in": "query"
  2705. },
  2706. {
  2707. "type": "string",
  2708. "description": "市场ID列表,格式:1,2,3",
  2709. "name": "marketIDs",
  2710. "in": "query",
  2711. "required": true
  2712. },
  2713. {
  2714. "type": "integer",
  2715. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2716. "name": "accountID",
  2717. "in": "query",
  2718. "required": true
  2719. },
  2720. {
  2721. "type": "integer",
  2722. "description": "类别ID",
  2723. "name": "categoryID",
  2724. "in": "query"
  2725. },
  2726. {
  2727. "type": "string",
  2728. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2729. "name": "goodsIDs",
  2730. "in": "query"
  2731. },
  2732. {
  2733. "type": "integer",
  2734. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2735. "name": "couponTypeID",
  2736. "in": "query"
  2737. }
  2738. ],
  2739. "responses": {
  2740. "200": {
  2741. "description": "OK",
  2742. "schema": {
  2743. "$ref": "#/definitions/models.HsbyMarketGoods"
  2744. }
  2745. },
  2746. "500": {
  2747. "description": "Internal Server Error",
  2748. "schema": {
  2749. "$ref": "#/definitions/app.Response"
  2750. }
  2751. }
  2752. }
  2753. }
  2754. },
  2755. "/HSBY/QueryHsbyMarkets": {
  2756. "get": {
  2757. "security": [
  2758. {
  2759. "ApiKeyAuth": []
  2760. }
  2761. ],
  2762. "produces": [
  2763. "application/json"
  2764. ],
  2765. "tags": [
  2766. "定制【海商报业】"
  2767. ],
  2768. "summary": "查询海商报业相关市场信息",
  2769. "responses": {
  2770. "200": {
  2771. "description": "OK",
  2772. "schema": {
  2773. "$ref": "#/definitions/models.HsbyMarketInfo"
  2774. }
  2775. },
  2776. "500": {
  2777. "description": "Internal Server Error",
  2778. "schema": {
  2779. "$ref": "#/definitions/app.Response"
  2780. }
  2781. }
  2782. }
  2783. }
  2784. },
  2785. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2786. "get": {
  2787. "security": [
  2788. {
  2789. "ApiKeyAuth": []
  2790. }
  2791. ],
  2792. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2793. "produces": [
  2794. "application/json"
  2795. ],
  2796. "tags": [
  2797. "定制【海商报业】"
  2798. ],
  2799. "summary": "查询“我的订单”信息",
  2800. "parameters": [
  2801. {
  2802. "type": "string",
  2803. "description": "资金账户列表,格式:1,2,3",
  2804. "name": "accountIDs",
  2805. "in": "query",
  2806. "required": true
  2807. },
  2808. {
  2809. "type": "integer",
  2810. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2811. "name": "myBuyStatus",
  2812. "in": "query"
  2813. }
  2814. ],
  2815. "responses": {
  2816. "200": {
  2817. "description": "OK",
  2818. "schema": {
  2819. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2820. }
  2821. },
  2822. "500": {
  2823. "description": "Internal Server Error",
  2824. "schema": {
  2825. "$ref": "#/definitions/app.Response"
  2826. }
  2827. }
  2828. }
  2829. }
  2830. },
  2831. "/HSBY/QueryHsbyMyGoods": {
  2832. "get": {
  2833. "security": [
  2834. {
  2835. "ApiKeyAuth": []
  2836. }
  2837. ],
  2838. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "定制【海商报业】"
  2844. ],
  2845. "summary": "查询“我的商品”信息",
  2846. "parameters": [
  2847. {
  2848. "type": "string",
  2849. "description": "资金账户列表,格式:1,2,3",
  2850. "name": "accountIDs",
  2851. "in": "query",
  2852. "required": true
  2853. }
  2854. ],
  2855. "responses": {
  2856. "200": {
  2857. "description": "OK",
  2858. "schema": {
  2859. "$ref": "#/definitions/models.HsbyMyGoods"
  2860. }
  2861. },
  2862. "500": {
  2863. "description": "Internal Server Error",
  2864. "schema": {
  2865. "$ref": "#/definitions/app.Response"
  2866. }
  2867. }
  2868. }
  2869. }
  2870. },
  2871. "/HSBY/QueryHsbyMyPackages": {
  2872. "get": {
  2873. "security": [
  2874. {
  2875. "ApiKeyAuth": []
  2876. }
  2877. ],
  2878. "produces": [
  2879. "application/json"
  2880. ],
  2881. "tags": [
  2882. "定制【海商报业】"
  2883. ],
  2884. "summary": "查询我的包裹信息",
  2885. "parameters": [
  2886. {
  2887. "type": "string",
  2888. "description": "资金账户列表,格式:1,2,3",
  2889. "name": "accountIDs",
  2890. "in": "query",
  2891. "required": true
  2892. },
  2893. {
  2894. "type": "integer",
  2895. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2896. "name": "takeOrderStatus",
  2897. "in": "query"
  2898. }
  2899. ],
  2900. "responses": {
  2901. "200": {
  2902. "description": "OK",
  2903. "schema": {
  2904. "$ref": "#/definitions/models.HsbyMyPackage"
  2905. }
  2906. },
  2907. "500": {
  2908. "description": "Internal Server Error",
  2909. "schema": {
  2910. "$ref": "#/definitions/app.Response"
  2911. }
  2912. }
  2913. }
  2914. }
  2915. },
  2916. "/HSBY/QueryHsbyPreGoodsDetail": {
  2917. "get": {
  2918. "security": [
  2919. {
  2920. "ApiKeyAuth": []
  2921. }
  2922. ],
  2923. "produces": [
  2924. "application/json"
  2925. ],
  2926. "tags": [
  2927. "定制【海商报业】"
  2928. ],
  2929. "summary": "查询一级市场(预售)商品信息详情",
  2930. "parameters": [
  2931. {
  2932. "type": "integer",
  2933. "description": "商品ID",
  2934. "name": "goodsID",
  2935. "in": "query",
  2936. "required": true
  2937. },
  2938. {
  2939. "type": "integer",
  2940. "description": "资金账户,主要用于获取预售商品购买上限",
  2941. "name": "accountID",
  2942. "in": "query"
  2943. }
  2944. ],
  2945. "responses": {
  2946. "200": {
  2947. "description": "OK",
  2948. "schema": {
  2949. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2950. }
  2951. },
  2952. "500": {
  2953. "description": "Internal Server Error",
  2954. "schema": {
  2955. "$ref": "#/definitions/app.Response"
  2956. }
  2957. }
  2958. }
  2959. }
  2960. },
  2961. "/HSBY/QueryHsbyPreGoodses": {
  2962. "get": {
  2963. "security": [
  2964. {
  2965. "ApiKeyAuth": []
  2966. }
  2967. ],
  2968. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "定制【海商报业】"
  2974. ],
  2975. "summary": "查询新品上市商品列表(一级市场预售)",
  2976. "parameters": [
  2977. {
  2978. "type": "integer",
  2979. "description": "页码",
  2980. "name": "page",
  2981. "in": "query"
  2982. },
  2983. {
  2984. "type": "integer",
  2985. "description": "每页条数",
  2986. "name": "pagesize",
  2987. "in": "query"
  2988. },
  2989. {
  2990. "type": "string",
  2991. "description": "市场ID列表,格式:1,2,3",
  2992. "name": "marketIDs",
  2993. "in": "query",
  2994. "required": true
  2995. },
  2996. {
  2997. "type": "integer",
  2998. "description": "目的地(省)ID",
  2999. "name": "descProvinceID",
  3000. "in": "query"
  3001. },
  3002. {
  3003. "type": "integer",
  3004. "description": "目的地(市)ID",
  3005. "name": "descCityID",
  3006. "in": "query"
  3007. }
  3008. ],
  3009. "responses": {
  3010. "200": {
  3011. "description": "OK",
  3012. "schema": {
  3013. "$ref": "#/definitions/models.HsbyPreGoods"
  3014. }
  3015. },
  3016. "500": {
  3017. "description": "Internal Server Error",
  3018. "schema": {
  3019. "$ref": "#/definitions/app.Response"
  3020. }
  3021. }
  3022. }
  3023. }
  3024. },
  3025. "/HSBY/QueryHsbySellMyDetails": {
  3026. "get": {
  3027. "security": [
  3028. {
  3029. "ApiKeyAuth": []
  3030. }
  3031. ],
  3032. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3033. "produces": [
  3034. "application/json"
  3035. ],
  3036. "tags": [
  3037. "定制【海商报业】"
  3038. ],
  3039. "summary": "查询\"我的闲置\"单据信息",
  3040. "parameters": [
  3041. {
  3042. "type": "integer",
  3043. "description": "页码",
  3044. "name": "page",
  3045. "in": "query"
  3046. },
  3047. {
  3048. "type": "integer",
  3049. "description": "每页条数",
  3050. "name": "pagesize",
  3051. "in": "query"
  3052. },
  3053. {
  3054. "type": "string",
  3055. "description": "资金账户列表,格式:1,2,3",
  3056. "name": "accountIDs",
  3057. "in": "query",
  3058. "required": true
  3059. },
  3060. {
  3061. "type": "integer",
  3062. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3063. "name": "orderType",
  3064. "in": "query"
  3065. }
  3066. ],
  3067. "responses": {
  3068. "200": {
  3069. "description": "OK",
  3070. "schema": {
  3071. "$ref": "#/definitions/models.HsbySellMyDetail"
  3072. }
  3073. },
  3074. "500": {
  3075. "description": "Internal Server Error",
  3076. "schema": {
  3077. "$ref": "#/definitions/app.Response"
  3078. }
  3079. }
  3080. }
  3081. }
  3082. },
  3083. "/HSBY/QueryHsbyTopGoodses": {
  3084. "get": {
  3085. "security": [
  3086. {
  3087. "ApiKeyAuth": []
  3088. }
  3089. ],
  3090. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3091. "produces": [
  3092. "application/json"
  3093. ],
  3094. "tags": [
  3095. "定制【海商报业】"
  3096. ],
  3097. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3098. "parameters": [
  3099. {
  3100. "type": "integer",
  3101. "description": "页码",
  3102. "name": "page",
  3103. "in": "query"
  3104. },
  3105. {
  3106. "type": "integer",
  3107. "description": "每页条数",
  3108. "name": "pagesize",
  3109. "in": "query"
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "市场ID列表,格式:1,2,3",
  3114. "name": "marketIDs",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "目的地(省)ID",
  3121. "name": "descProvinceID",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "目的地(市)ID",
  3127. "name": "descCityID",
  3128. "in": "query"
  3129. }
  3130. ],
  3131. "responses": {
  3132. "200": {
  3133. "description": "OK",
  3134. "schema": {
  3135. "$ref": "#/definitions/models.HsbyTopGoods"
  3136. }
  3137. },
  3138. "500": {
  3139. "description": "Internal Server Error",
  3140. "schema": {
  3141. "$ref": "#/definitions/app.Response"
  3142. }
  3143. }
  3144. }
  3145. }
  3146. },
  3147. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3148. "get": {
  3149. "security": [
  3150. {
  3151. "ApiKeyAuth": []
  3152. }
  3153. ],
  3154. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3155. "produces": [
  3156. "application/json"
  3157. ],
  3158. "tags": [
  3159. "定制【海商报业】"
  3160. ],
  3161. "summary": "查询游客三级市场(商城)商品信息详情",
  3162. "parameters": [
  3163. {
  3164. "type": "integer",
  3165. "description": "商品ID",
  3166. "name": "goodsID",
  3167. "in": "query",
  3168. "required": true
  3169. }
  3170. ],
  3171. "responses": {
  3172. "200": {
  3173. "description": "OK",
  3174. "schema": {
  3175. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3176. }
  3177. },
  3178. "500": {
  3179. "description": "Internal Server Error",
  3180. "schema": {
  3181. "$ref": "#/definitions/app.Response"
  3182. }
  3183. }
  3184. }
  3185. }
  3186. },
  3187. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3188. "get": {
  3189. "security": [
  3190. {
  3191. "ApiKeyAuth": []
  3192. }
  3193. ],
  3194. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3195. "produces": [
  3196. "application/json"
  3197. ],
  3198. "tags": [
  3199. "定制【海商报业】"
  3200. ],
  3201. "summary": "查询游客特卖商品列表(三级商城)",
  3202. "parameters": [
  3203. {
  3204. "type": "integer",
  3205. "description": "页码",
  3206. "name": "page",
  3207. "in": "query"
  3208. },
  3209. {
  3210. "type": "integer",
  3211. "description": "每页条数",
  3212. "name": "pagesize",
  3213. "in": "query"
  3214. },
  3215. {
  3216. "type": "string",
  3217. "description": "市场ID列表,格式:1,2,3",
  3218. "name": "marketIDs",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "integer",
  3224. "description": "类别ID",
  3225. "name": "categoryID",
  3226. "in": "query"
  3227. },
  3228. {
  3229. "type": "string",
  3230. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3231. "name": "goodsIDs",
  3232. "in": "query"
  3233. }
  3234. ],
  3235. "responses": {
  3236. "200": {
  3237. "description": "OK",
  3238. "schema": {
  3239. "$ref": "#/definitions/models.HsbyMarketGoods"
  3240. }
  3241. },
  3242. "500": {
  3243. "description": "Internal Server Error",
  3244. "schema": {
  3245. "$ref": "#/definitions/app.Response"
  3246. }
  3247. }
  3248. }
  3249. }
  3250. },
  3251. "/HSBY/QueryMyCollectionOrders": {
  3252. "get": {
  3253. "security": [
  3254. {
  3255. "ApiKeyAuth": []
  3256. }
  3257. ],
  3258. "produces": [
  3259. "application/json"
  3260. ],
  3261. "tags": [
  3262. "定制【海商报业】"
  3263. ],
  3264. "summary": "我的闲置中收款信息查询",
  3265. "parameters": [
  3266. {
  3267. "type": "integer",
  3268. "description": "页码",
  3269. "name": "page",
  3270. "in": "query"
  3271. },
  3272. {
  3273. "type": "integer",
  3274. "description": "每页条数",
  3275. "name": "pagesize",
  3276. "in": "query"
  3277. },
  3278. {
  3279. "type": "string",
  3280. "description": "资金账户,格式:1,2,3",
  3281. "name": "accountIDs",
  3282. "in": "query",
  3283. "required": true
  3284. }
  3285. ],
  3286. "responses": {
  3287. "200": {
  3288. "description": "OK",
  3289. "schema": {
  3290. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  3291. }
  3292. },
  3293. "500": {
  3294. "description": "Internal Server Error",
  3295. "schema": {
  3296. "$ref": "#/definitions/app.Response"
  3297. }
  3298. }
  3299. }
  3300. }
  3301. },
  3302. "/HSBY/QueryMyCouponHolds": {
  3303. "get": {
  3304. "security": [
  3305. {
  3306. "ApiKeyAuth": []
  3307. }
  3308. ],
  3309. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "定制【海商报业】"
  3315. ],
  3316. "summary": "我的优惠卷持仓查询",
  3317. "parameters": [
  3318. {
  3319. "type": "string",
  3320. "description": "资金账户列表,格式:1,2,3",
  3321. "name": "accountIDs",
  3322. "in": "query",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "string",
  3327. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  3328. "name": "holdStatus",
  3329. "in": "query"
  3330. }
  3331. ],
  3332. "responses": {
  3333. "200": {
  3334. "description": "OK",
  3335. "schema": {
  3336. "$ref": "#/definitions/models.MyCouponHold"
  3337. }
  3338. },
  3339. "500": {
  3340. "description": "Internal Server Error",
  3341. "schema": {
  3342. "$ref": "#/definitions/app.Response"
  3343. }
  3344. }
  3345. }
  3346. }
  3347. },
  3348. "/HSBY/QueryMyCoupons": {
  3349. "get": {
  3350. "security": [
  3351. {
  3352. "ApiKeyAuth": []
  3353. }
  3354. ],
  3355. "produces": [
  3356. "application/json"
  3357. ],
  3358. "tags": [
  3359. "定制【海商报业】"
  3360. ],
  3361. "summary": "我的优惠卷查询",
  3362. "parameters": [
  3363. {
  3364. "type": "string",
  3365. "description": "资金账户列表,格式:1,2,3",
  3366. "name": "accountIDs",
  3367. "in": "query",
  3368. "required": true
  3369. },
  3370. {
  3371. "type": "integer",
  3372. "description": "商品ID, 一般与sellUserID配套传入",
  3373. "name": "goodsID",
  3374. "in": "query"
  3375. },
  3376. {
  3377. "type": "integer",
  3378. "description": "卖方UserID",
  3379. "name": "sellUserID",
  3380. "in": "query"
  3381. }
  3382. ],
  3383. "responses": {
  3384. "200": {
  3385. "description": "OK",
  3386. "schema": {
  3387. "$ref": "#/definitions/models.MyCoupon"
  3388. }
  3389. },
  3390. "500": {
  3391. "description": "Internal Server Error",
  3392. "schema": {
  3393. "$ref": "#/definitions/app.Response"
  3394. }
  3395. }
  3396. }
  3397. }
  3398. },
  3399. "/HSBY/QueryMyPayOrders": {
  3400. "get": {
  3401. "security": [
  3402. {
  3403. "ApiKeyAuth": []
  3404. }
  3405. ],
  3406. "produces": [
  3407. "application/json"
  3408. ],
  3409. "tags": [
  3410. "定制【海商报业】"
  3411. ],
  3412. "summary": "获取我的订单中待付款信息",
  3413. "parameters": [
  3414. {
  3415. "type": "integer",
  3416. "description": "页码",
  3417. "name": "page",
  3418. "in": "query"
  3419. },
  3420. {
  3421. "type": "integer",
  3422. "description": "每页条数",
  3423. "name": "pagesize",
  3424. "in": "query"
  3425. },
  3426. {
  3427. "type": "string",
  3428. "description": "资金账户列表,格式:1,2,3",
  3429. "name": "accountIDs",
  3430. "in": "query",
  3431. "required": true
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "买方委托单号",
  3436. "name": "buyOrderID",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "卖方委托单号",
  3442. "name": "sellOrderID",
  3443. "in": "query"
  3444. }
  3445. ],
  3446. "responses": {
  3447. "200": {
  3448. "description": "OK",
  3449. "schema": {
  3450. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  3451. }
  3452. },
  3453. "500": {
  3454. "description": "Internal Server Error",
  3455. "schema": {
  3456. "$ref": "#/definitions/app.Response"
  3457. }
  3458. }
  3459. }
  3460. }
  3461. },
  3462. "/HSBY/QueryMyUsedCoupon": {
  3463. "get": {
  3464. "security": [
  3465. {
  3466. "ApiKeyAuth": []
  3467. }
  3468. ],
  3469. "produces": [
  3470. "application/json"
  3471. ],
  3472. "tags": [
  3473. "定制【海商报业】"
  3474. ],
  3475. "summary": "已使用优惠卷查询",
  3476. "parameters": [
  3477. {
  3478. "type": "string",
  3479. "description": "资金账户列表,格式:1,2,3",
  3480. "name": "accountIDs",
  3481. "in": "query",
  3482. "required": true
  3483. }
  3484. ],
  3485. "responses": {
  3486. "200": {
  3487. "description": "OK",
  3488. "schema": {
  3489. "$ref": "#/definitions/models.MyUsedCoupon"
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/HSBY/QueryProvincesAndCities": {
  3502. "get": {
  3503. "security": [
  3504. {
  3505. "ApiKeyAuth": []
  3506. }
  3507. ],
  3508. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3509. "produces": [
  3510. "application/json"
  3511. ],
  3512. "tags": [
  3513. "定制【海商报业】"
  3514. ],
  3515. "summary": "查询省市信息(不包括区)",
  3516. "parameters": [
  3517. {
  3518. "type": "integer",
  3519. "description": "省ID",
  3520. "name": "provinceID",
  3521. "in": "query"
  3522. }
  3523. ],
  3524. "responses": {
  3525. "200": {
  3526. "description": "OK",
  3527. "schema": {
  3528. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/HSBY/SetHsbyMyPackagesStatus": {
  3541. "post": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "定制【海商报业】"
  3552. ],
  3553. "summary": "设置我的包裹已收货状态",
  3554. "parameters": [
  3555. {
  3556. "type": "string",
  3557. "description": "提货单号",
  3558. "name": "takeOrderID",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "资金账号",
  3565. "name": "accountID",
  3566. "in": "query",
  3567. "required": true
  3568. }
  3569. ],
  3570. "responses": {
  3571. "200": {
  3572. "description": "OK",
  3573. "schema": {
  3574. "$ref": "#/definitions/app.Response"
  3575. }
  3576. },
  3577. "500": {
  3578. "description": "Internal Server Error",
  3579. "schema": {
  3580. "$ref": "#/definitions/app.Response"
  3581. }
  3582. }
  3583. }
  3584. }
  3585. },
  3586. "/Market/QueryGoodsesByLoginID": {
  3587. "get": {
  3588. "security": [
  3589. {
  3590. "ApiKeyAuth": []
  3591. }
  3592. ],
  3593. "produces": [
  3594. "application/json"
  3595. ],
  3596. "tags": [
  3597. "通用市场"
  3598. ],
  3599. "summary": "获取登录账号有权限的商品信息",
  3600. "parameters": [
  3601. {
  3602. "type": "integer",
  3603. "description": "登录账号",
  3604. "name": "loginID",
  3605. "in": "query",
  3606. "required": true
  3607. },
  3608. {
  3609. "type": "string",
  3610. "description": "市场ID列表,格式:1,2,3",
  3611. "name": "marketIDs",
  3612. "in": "query"
  3613. }
  3614. ],
  3615. "responses": {
  3616. "200": {
  3617. "description": "OK",
  3618. "schema": {
  3619. "$ref": "#/definitions/models.Goods"
  3620. }
  3621. },
  3622. "500": {
  3623. "description": "Internal Server Error",
  3624. "schema": {
  3625. "$ref": "#/definitions/app.Response"
  3626. }
  3627. }
  3628. }
  3629. }
  3630. },
  3631. "/Market/QueryMarketRun": {
  3632. "get": {
  3633. "security": [
  3634. {
  3635. "ApiKeyAuth": []
  3636. }
  3637. ],
  3638. "produces": [
  3639. "application/json"
  3640. ],
  3641. "tags": [
  3642. "通用市场"
  3643. ],
  3644. "summary": "查询市场运行信息",
  3645. "parameters": [
  3646. {
  3647. "type": "integer",
  3648. "description": "市场ID,不传返回所有",
  3649. "name": "marketID",
  3650. "in": "query"
  3651. }
  3652. ],
  3653. "responses": {
  3654. "200": {
  3655. "description": "OK",
  3656. "schema": {
  3657. "$ref": "#/definitions/models.Marketrun"
  3658. }
  3659. },
  3660. "500": {
  3661. "description": "Internal Server Error",
  3662. "schema": {
  3663. "$ref": "#/definitions/app.Response"
  3664. }
  3665. }
  3666. }
  3667. }
  3668. },
  3669. "/Market/QueryMarketsByLoginID": {
  3670. "get": {
  3671. "security": [
  3672. {
  3673. "ApiKeyAuth": []
  3674. }
  3675. ],
  3676. "produces": [
  3677. "application/json"
  3678. ],
  3679. "tags": [
  3680. "通用市场"
  3681. ],
  3682. "summary": "获取登录账号有权限的市场信息",
  3683. "parameters": [
  3684. {
  3685. "type": "integer",
  3686. "description": "登录账号",
  3687. "name": "loginID",
  3688. "in": "query",
  3689. "required": true
  3690. }
  3691. ],
  3692. "responses": {
  3693. "200": {
  3694. "description": "OK",
  3695. "schema": {
  3696. "$ref": "#/definitions/models.Market"
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. },
  3708. "/Order/QueryHisTradeDetail": {
  3709. "get": {
  3710. "security": [
  3711. {
  3712. "ApiKeyAuth": []
  3713. }
  3714. ],
  3715. "produces": [
  3716. "application/json"
  3717. ],
  3718. "tags": [
  3719. "通用单据"
  3720. ],
  3721. "summary": "历史成交单查询(合约市场)",
  3722. "parameters": [
  3723. {
  3724. "type": "string",
  3725. "description": "资金账户 - 格式:1,2,3",
  3726. "name": "accountID",
  3727. "in": "query",
  3728. "required": true
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "成交单号",
  3733. "name": "tradeID",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "委托单号",
  3739. "name": "orderID",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "string",
  3744. "description": "交易模式 - 格式:1,2,3",
  3745. "name": "tradeMode",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "委托单据类型",
  3751. "name": "buildType",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "成交类别 - 格式:1,2,3",
  3757. "name": "tradeType",
  3758. "in": "query"
  3759. },
  3760. {
  3761. "type": "string",
  3762. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3763. "name": "startDate",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "string",
  3768. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3769. "name": "endDate",
  3770. "in": "query"
  3771. }
  3772. ],
  3773. "responses": {
  3774. "200": {
  3775. "description": "OK",
  3776. "schema": {
  3777. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3778. }
  3779. },
  3780. "500": {
  3781. "description": "Internal Server Error",
  3782. "schema": {
  3783. "$ref": "#/definitions/app.Response"
  3784. }
  3785. }
  3786. }
  3787. }
  3788. },
  3789. "/Order/QueryHisTradeOrderDetail": {
  3790. "get": {
  3791. "security": [
  3792. {
  3793. "ApiKeyAuth": []
  3794. }
  3795. ],
  3796. "produces": [
  3797. "application/json"
  3798. ],
  3799. "tags": [
  3800. "通用单据"
  3801. ],
  3802. "summary": "历史委托单查询请求(合约市场)",
  3803. "parameters": [
  3804. {
  3805. "type": "string",
  3806. "description": "资金账户 - 格式:1,2,3",
  3807. "name": "accountID",
  3808. "in": "query",
  3809. "required": true
  3810. },
  3811. {
  3812. "type": "string",
  3813. "description": "交易模式 - 格式:1,2,3",
  3814. "name": "tradeMode",
  3815. "in": "query"
  3816. },
  3817. {
  3818. "type": "string",
  3819. "description": "委托状态 - 格式:1,2,3",
  3820. "name": "orderStatus",
  3821. "in": "query"
  3822. },
  3823. {
  3824. "type": "integer",
  3825. "description": "委托单号",
  3826. "name": "orderID",
  3827. "in": "query"
  3828. },
  3829. {
  3830. "type": "string",
  3831. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3832. "name": "startDate",
  3833. "in": "query"
  3834. },
  3835. {
  3836. "type": "string",
  3837. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3838. "name": "endDate",
  3839. "in": "query"
  3840. }
  3841. ],
  3842. "responses": {
  3843. "200": {
  3844. "description": "OK",
  3845. "schema": {
  3846. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3847. }
  3848. },
  3849. "500": {
  3850. "description": "Internal Server Error",
  3851. "schema": {
  3852. "$ref": "#/definitions/app.Response"
  3853. }
  3854. }
  3855. }
  3856. }
  3857. },
  3858. "/Order/QueryTradeDetail": {
  3859. "get": {
  3860. "security": [
  3861. {
  3862. "ApiKeyAuth": []
  3863. }
  3864. ],
  3865. "produces": [
  3866. "application/json"
  3867. ],
  3868. "tags": [
  3869. "通用单据"
  3870. ],
  3871. "summary": "成交单查询(合约市场)",
  3872. "parameters": [
  3873. {
  3874. "type": "string",
  3875. "description": "资金账户 - 格式:1,2,3",
  3876. "name": "accountID",
  3877. "in": "query",
  3878. "required": true
  3879. },
  3880. {
  3881. "type": "integer",
  3882. "description": "成交单号",
  3883. "name": "tradeID",
  3884. "in": "query"
  3885. },
  3886. {
  3887. "type": "integer",
  3888. "description": "委托单号",
  3889. "name": "orderID",
  3890. "in": "query"
  3891. },
  3892. {
  3893. "type": "string",
  3894. "description": "交易模式 - 格式:1,2,3",
  3895. "name": "tradeMode",
  3896. "in": "query"
  3897. },
  3898. {
  3899. "type": "integer",
  3900. "description": "委托单据类型",
  3901. "name": "buildType",
  3902. "in": "query"
  3903. },
  3904. {
  3905. "type": "string",
  3906. "description": "成交类别 - 格式:1,2,3",
  3907. "name": "tradeType",
  3908. "in": "query"
  3909. }
  3910. ],
  3911. "responses": {
  3912. "200": {
  3913. "description": "OK",
  3914. "schema": {
  3915. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3916. }
  3917. },
  3918. "500": {
  3919. "description": "Internal Server Error",
  3920. "schema": {
  3921. "$ref": "#/definitions/app.Response"
  3922. }
  3923. }
  3924. }
  3925. }
  3926. },
  3927. "/Order/QueryTradeOrderDetail": {
  3928. "get": {
  3929. "security": [
  3930. {
  3931. "ApiKeyAuth": []
  3932. }
  3933. ],
  3934. "produces": [
  3935. "application/json"
  3936. ],
  3937. "tags": [
  3938. "通用单据"
  3939. ],
  3940. "summary": "委托单查询请求(合约市场)",
  3941. "parameters": [
  3942. {
  3943. "type": "string",
  3944. "description": "资金账户 - 格式:1,2,3",
  3945. "name": "accountID",
  3946. "in": "query",
  3947. "required": true
  3948. },
  3949. {
  3950. "type": "string",
  3951. "description": "交易模式 - 格式:1,2,3",
  3952. "name": "tradeMode",
  3953. "in": "query"
  3954. },
  3955. {
  3956. "type": "string",
  3957. "description": "委托状态 - 格式:1,2,3",
  3958. "name": "orderStatus",
  3959. "in": "query"
  3960. },
  3961. {
  3962. "type": "integer",
  3963. "description": "委托单号",
  3964. "name": "orderID",
  3965. "in": "query"
  3966. }
  3967. ],
  3968. "responses": {
  3969. "200": {
  3970. "description": "OK",
  3971. "schema": {
  3972. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3973. }
  3974. },
  3975. "500": {
  3976. "description": "Internal Server Error",
  3977. "schema": {
  3978. "$ref": "#/definitions/app.Response"
  3979. }
  3980. }
  3981. }
  3982. }
  3983. },
  3984. "/Order/QueryTradePosition": {
  3985. "get": {
  3986. "security": [
  3987. {
  3988. "ApiKeyAuth": []
  3989. }
  3990. ],
  3991. "produces": [
  3992. "application/json"
  3993. ],
  3994. "tags": [
  3995. "通用单据"
  3996. ],
  3997. "summary": "持仓汇总查询(合约市场)",
  3998. "parameters": [
  3999. {
  4000. "type": "string",
  4001. "description": "资金账户 - 格式:1,2,3",
  4002. "name": "accountID",
  4003. "in": "query",
  4004. "required": true
  4005. },
  4006. {
  4007. "type": "string",
  4008. "description": "交易模式 - 格式:1,2,3",
  4009. "name": "tradeMode",
  4010. "in": "query"
  4011. }
  4012. ],
  4013. "responses": {
  4014. "200": {
  4015. "description": "OK",
  4016. "schema": {
  4017. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4018. }
  4019. },
  4020. "500": {
  4021. "description": "Internal Server Error",
  4022. "schema": {
  4023. "$ref": "#/definitions/app.Response"
  4024. }
  4025. }
  4026. }
  4027. }
  4028. },
  4029. "/Quote/QueryHistoryDatas": {
  4030. "get": {
  4031. "security": [
  4032. {
  4033. "ApiKeyAuth": []
  4034. }
  4035. ],
  4036. "produces": [
  4037. "application/json"
  4038. ],
  4039. "tags": [
  4040. "行情服务"
  4041. ],
  4042. "summary": "查询行情历史数据",
  4043. "parameters": [
  4044. {
  4045. "type": "integer",
  4046. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4047. "name": "cycleType",
  4048. "in": "query",
  4049. "required": true
  4050. },
  4051. {
  4052. "type": "string",
  4053. "description": "商品代码",
  4054. "name": "goodsCode",
  4055. "in": "query",
  4056. "required": true
  4057. },
  4058. {
  4059. "type": "string",
  4060. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4061. "name": "startTime",
  4062. "in": "query"
  4063. },
  4064. {
  4065. "type": "string",
  4066. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4067. "name": "endTime",
  4068. "in": "query"
  4069. },
  4070. {
  4071. "type": "integer",
  4072. "description": "条数",
  4073. "name": "count",
  4074. "in": "query"
  4075. },
  4076. {
  4077. "type": "boolean",
  4078. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4079. "name": "isAsc",
  4080. "in": "query"
  4081. }
  4082. ],
  4083. "responses": {
  4084. "200": {
  4085. "description": "OK",
  4086. "schema": {
  4087. "$ref": "#/definitions/quote.HistoryData"
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Quote/QueryTSData": {
  4100. "get": {
  4101. "produces": [
  4102. "application/json"
  4103. ],
  4104. "tags": [
  4105. "行情服务"
  4106. ],
  4107. "summary": "分时图数据查询",
  4108. "parameters": [
  4109. {
  4110. "type": "string",
  4111. "description": "商品代码",
  4112. "name": "GoodsCode",
  4113. "in": "query",
  4114. "required": true
  4115. }
  4116. ],
  4117. "responses": {
  4118. "200": {
  4119. "description": "OK",
  4120. "schema": {
  4121. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4122. }
  4123. },
  4124. "500": {
  4125. "description": "Internal Server Error",
  4126. "schema": {
  4127. "$ref": "#/definitions/app.Response"
  4128. }
  4129. }
  4130. }
  4131. }
  4132. },
  4133. "/SZDZ/QueryConvertConfig": {
  4134. "get": {
  4135. "security": [
  4136. {
  4137. "ApiKeyAuth": []
  4138. }
  4139. ],
  4140. "produces": [
  4141. "application/json"
  4142. ],
  4143. "tags": [
  4144. "定制【尚志大宗】"
  4145. ],
  4146. "summary": "查询交易系统转换设置",
  4147. "parameters": [
  4148. {
  4149. "type": "integer",
  4150. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4151. "name": "convertType",
  4152. "in": "query"
  4153. },
  4154. {
  4155. "type": "string",
  4156. "description": "外部商品代码[JD\\PD]",
  4157. "name": "outerGoodsCode",
  4158. "in": "query"
  4159. },
  4160. {
  4161. "type": "string",
  4162. "description": "内部商品ID列表[交易],格式:1,2,3",
  4163. "name": "innerGoodsIDs",
  4164. "in": "query"
  4165. }
  4166. ],
  4167. "responses": {
  4168. "200": {
  4169. "description": "OK",
  4170. "schema": {
  4171. "$ref": "#/definitions/models.Szdz3convertconfig"
  4172. }
  4173. },
  4174. "500": {
  4175. "description": "Internal Server Error",
  4176. "schema": {
  4177. "$ref": "#/definitions/app.Response"
  4178. }
  4179. }
  4180. }
  4181. }
  4182. },
  4183. "/SZDZ/QueryConvertLog": {
  4184. "get": {
  4185. "security": [
  4186. {
  4187. "ApiKeyAuth": []
  4188. }
  4189. ],
  4190. "produces": [
  4191. "application/json"
  4192. ],
  4193. "tags": [
  4194. "定制【尚志大宗】"
  4195. ],
  4196. "summary": "交易系统转换流水查询",
  4197. "parameters": [
  4198. {
  4199. "type": "string",
  4200. "description": "资金账户 - 格式:1,2,3",
  4201. "name": "accountID",
  4202. "in": "query",
  4203. "required": true
  4204. },
  4205. {
  4206. "type": "string",
  4207. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4208. "name": "startDate",
  4209. "in": "query"
  4210. },
  4211. {
  4212. "type": "string",
  4213. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4214. "name": "endDate",
  4215. "in": "query"
  4216. }
  4217. ],
  4218. "responses": {
  4219. "200": {
  4220. "description": "OK",
  4221. "schema": {
  4222. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4223. }
  4224. },
  4225. "500": {
  4226. "description": "Internal Server Error",
  4227. "schema": {
  4228. "$ref": "#/definitions/app.Response"
  4229. }
  4230. }
  4231. }
  4232. }
  4233. },
  4234. "/SZDZ/QueryGoodsPickup": {
  4235. "get": {
  4236. "security": [
  4237. {
  4238. "ApiKeyAuth": []
  4239. }
  4240. ],
  4241. "produces": [
  4242. "application/json"
  4243. ],
  4244. "tags": [
  4245. "定制【尚志大宗】"
  4246. ],
  4247. "summary": "商品提货单查询",
  4248. "parameters": [
  4249. {
  4250. "type": "string",
  4251. "description": "资金账户 - 格式:1,2,3",
  4252. "name": "accountID",
  4253. "in": "query",
  4254. "required": true
  4255. },
  4256. {
  4257. "type": "integer",
  4258. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4259. "name": "takeOrderStatus",
  4260. "in": "query"
  4261. }
  4262. ],
  4263. "responses": {
  4264. "200": {
  4265. "description": "OK",
  4266. "schema": {
  4267. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4268. }
  4269. },
  4270. "500": {
  4271. "description": "Internal Server Error",
  4272. "schema": {
  4273. "$ref": "#/definitions/app.Response"
  4274. }
  4275. }
  4276. }
  4277. }
  4278. },
  4279. "/SZDZ/QueryRecieptOrder": {
  4280. "get": {
  4281. "security": [
  4282. {
  4283. "ApiKeyAuth": []
  4284. }
  4285. ],
  4286. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4287. "produces": [
  4288. "application/json"
  4289. ],
  4290. "tags": [
  4291. "定制【尚志大宗】"
  4292. ],
  4293. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  4294. "parameters": [
  4295. {
  4296. "type": "integer",
  4297. "description": "页码",
  4298. "name": "page",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "每页条数",
  4304. "name": "pagesize",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "商品ID",
  4310. "name": "goodsID",
  4311. "in": "query",
  4312. "required": true
  4313. },
  4314. {
  4315. "type": "string",
  4316. "description": "所属账户名称",
  4317. "name": "accountName",
  4318. "in": "query"
  4319. },
  4320. {
  4321. "type": "integer",
  4322. "description": "市场ID",
  4323. "name": "marketID",
  4324. "in": "query"
  4325. },
  4326. {
  4327. "type": "integer",
  4328. "description": "方向 - 0:买 1:卖",
  4329. "name": "buyorsell",
  4330. "in": "query",
  4331. "required": true
  4332. }
  4333. ],
  4334. "responses": {
  4335. "200": {
  4336. "description": "OK",
  4337. "schema": {
  4338. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  4339. }
  4340. },
  4341. "500": {
  4342. "description": "Internal Server Error",
  4343. "schema": {
  4344. "$ref": "#/definitions/app.Response"
  4345. }
  4346. }
  4347. }
  4348. }
  4349. },
  4350. "/SZDZ/QuerySZDZTradePosition": {
  4351. "get": {
  4352. "security": [
  4353. {
  4354. "ApiKeyAuth": []
  4355. }
  4356. ],
  4357. "produces": [
  4358. "application/json"
  4359. ],
  4360. "tags": [
  4361. "定制【尚志大宗】"
  4362. ],
  4363. "summary": "持仓汇总查询(尚志大宗)",
  4364. "parameters": [
  4365. {
  4366. "type": "integer",
  4367. "description": "资金账户",
  4368. "name": "accountID",
  4369. "in": "query",
  4370. "required": true
  4371. }
  4372. ],
  4373. "responses": {
  4374. "200": {
  4375. "description": "OK",
  4376. "schema": {
  4377. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  4378. }
  4379. },
  4380. "500": {
  4381. "description": "Internal Server Error",
  4382. "schema": {
  4383. "$ref": "#/definitions/app.Response"
  4384. }
  4385. }
  4386. }
  4387. }
  4388. },
  4389. "/SZDZ/SearchWhite": {
  4390. "get": {
  4391. "security": [
  4392. {
  4393. "ApiKeyAuth": []
  4394. }
  4395. ],
  4396. "produces": [
  4397. "application/json"
  4398. ],
  4399. "tags": [
  4400. "定制【尚志大宗】"
  4401. ],
  4402. "summary": "搜索白名单",
  4403. "parameters": [
  4404. {
  4405. "type": "integer",
  4406. "description": "用户ID",
  4407. "name": "userID",
  4408. "in": "query",
  4409. "required": true
  4410. }
  4411. ],
  4412. "responses": {
  4413. "200": {
  4414. "description": "OK",
  4415. "schema": {
  4416. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  4417. }
  4418. },
  4419. "500": {
  4420. "description": "Internal Server Error",
  4421. "schema": {
  4422. "$ref": "#/definitions/app.Response"
  4423. }
  4424. }
  4425. }
  4426. }
  4427. },
  4428. "/Search/SearchGoodses": {
  4429. "get": {
  4430. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "检索服务"
  4436. ],
  4437. "summary": "检索商品信息",
  4438. "parameters": [
  4439. {
  4440. "type": "string",
  4441. "description": "检索内容",
  4442. "name": "content",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "string",
  4448. "description": "交易模式,格式:1,2,3",
  4449. "name": "tradeModes",
  4450. "in": "query"
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "$ref": "#/definitions/models.SearchGoods"
  4458. }
  4459. },
  4460. "500": {
  4461. "description": "Internal Server Error",
  4462. "schema": {
  4463. "$ref": "#/definitions/app.Response"
  4464. }
  4465. }
  4466. }
  4467. }
  4468. },
  4469. "/TaAccount/QueryAmountLog": {
  4470. "get": {
  4471. "security": [
  4472. {
  4473. "ApiKeyAuth": []
  4474. }
  4475. ],
  4476. "produces": [
  4477. "application/json"
  4478. ],
  4479. "tags": [
  4480. "资金账户"
  4481. ],
  4482. "summary": "资金流水查询(当前)",
  4483. "parameters": [
  4484. {
  4485. "type": "integer",
  4486. "description": "页码",
  4487. "name": "page",
  4488. "in": "query"
  4489. },
  4490. {
  4491. "type": "integer",
  4492. "description": "每页条数",
  4493. "name": "pagesize",
  4494. "in": "query"
  4495. },
  4496. {
  4497. "type": "string",
  4498. "description": "资金账户 - 格式:1,2,3",
  4499. "name": "accountID",
  4500. "in": "query",
  4501. "required": true
  4502. },
  4503. {
  4504. "type": "string",
  4505. "description": "资金操作类型 - 格式:1,2,3",
  4506. "name": "OperateType",
  4507. "in": "query"
  4508. }
  4509. ],
  4510. "responses": {
  4511. "200": {
  4512. "description": "OK",
  4513. "schema": {
  4514. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/TaAccount/QueryHisAmountLog": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "资金账户"
  4538. ],
  4539. "summary": "资金流水查询(历史)",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "页码",
  4544. "name": "page",
  4545. "in": "query"
  4546. },
  4547. {
  4548. "type": "integer",
  4549. "description": "每页条数",
  4550. "name": "pagesize",
  4551. "in": "query"
  4552. },
  4553. {
  4554. "type": "string",
  4555. "description": "资金账户 - 格式:1,2,3",
  4556. "name": "accountID",
  4557. "in": "query",
  4558. "required": true
  4559. },
  4560. {
  4561. "type": "string",
  4562. "description": "资金操作类型 - 格式:1,2,3",
  4563. "name": "OperateType",
  4564. "in": "query"
  4565. },
  4566. {
  4567. "type": "string",
  4568. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4569. "name": "startDate",
  4570. "in": "query"
  4571. },
  4572. {
  4573. "type": "string",
  4574. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4575. "name": "endDate",
  4576. "in": "query"
  4577. }
  4578. ],
  4579. "responses": {
  4580. "200": {
  4581. "description": "OK",
  4582. "schema": {
  4583. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4584. }
  4585. },
  4586. "500": {
  4587. "description": "Internal Server Error",
  4588. "schema": {
  4589. "$ref": "#/definitions/app.Response"
  4590. }
  4591. }
  4592. }
  4593. }
  4594. },
  4595. "/Trade/QueryRecieptOrder": {
  4596. "get": {
  4597. "security": [
  4598. {
  4599. "ApiKeyAuth": []
  4600. }
  4601. ],
  4602. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4603. "produces": [
  4604. "application/json"
  4605. ],
  4606. "tags": [
  4607. "通用交易"
  4608. ],
  4609. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4610. "parameters": [
  4611. {
  4612. "type": "integer",
  4613. "description": "页码",
  4614. "name": "page",
  4615. "in": "query"
  4616. },
  4617. {
  4618. "type": "integer",
  4619. "description": "每页条数",
  4620. "name": "pagesize",
  4621. "in": "query"
  4622. },
  4623. {
  4624. "type": "integer",
  4625. "description": "商品ID",
  4626. "name": "goodsID",
  4627. "in": "query",
  4628. "required": true
  4629. },
  4630. {
  4631. "type": "string",
  4632. "description": "所属账户名称",
  4633. "name": "accountName",
  4634. "in": "query"
  4635. },
  4636. {
  4637. "type": "integer",
  4638. "description": "市场ID",
  4639. "name": "marketID",
  4640. "in": "query"
  4641. },
  4642. {
  4643. "type": "integer",
  4644. "description": "方向 - 0:买 1:卖",
  4645. "name": "buyorsell",
  4646. "in": "query",
  4647. "required": true
  4648. }
  4649. ],
  4650. "responses": {
  4651. "200": {
  4652. "description": "OK",
  4653. "schema": {
  4654. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4655. }
  4656. },
  4657. "500": {
  4658. "description": "Internal Server Error",
  4659. "schema": {
  4660. "$ref": "#/definitions/app.Response"
  4661. }
  4662. }
  4663. }
  4664. }
  4665. },
  4666. "/User/AddMessageBoard": {
  4667. "post": {
  4668. "security": [
  4669. {
  4670. "ApiKeyAuth": []
  4671. }
  4672. ],
  4673. "produces": [
  4674. "application/json"
  4675. ],
  4676. "tags": [
  4677. "用户信息"
  4678. ],
  4679. "summary": "添加用户留言板信息",
  4680. "parameters": [
  4681. {
  4682. "type": "integer",
  4683. "description": "用户ID",
  4684. "name": "userID",
  4685. "in": "query",
  4686. "required": true
  4687. },
  4688. {
  4689. "type": "string",
  4690. "description": "留言信息",
  4691. "name": "message",
  4692. "in": "query",
  4693. "required": true
  4694. }
  4695. ],
  4696. "responses": {
  4697. "200": {
  4698. "description": "OK",
  4699. "schema": {
  4700. "$ref": "#/definitions/app.Response"
  4701. }
  4702. },
  4703. "500": {
  4704. "description": "Internal Server Error",
  4705. "schema": {
  4706. "$ref": "#/definitions/app.Response"
  4707. }
  4708. }
  4709. }
  4710. }
  4711. },
  4712. "/User/AddUserFavoriteGoods": {
  4713. "post": {
  4714. "security": [
  4715. {
  4716. "ApiKeyAuth": []
  4717. }
  4718. ],
  4719. "produces": [
  4720. "application/json"
  4721. ],
  4722. "tags": [
  4723. "用户信息"
  4724. ],
  4725. "summary": "添加用户商品收藏信息",
  4726. "parameters": [
  4727. {
  4728. "type": "integer",
  4729. "description": "用户ID",
  4730. "name": "userID",
  4731. "in": "query",
  4732. "required": true
  4733. },
  4734. {
  4735. "type": "integer",
  4736. "description": "商品ID",
  4737. "name": "goodsID",
  4738. "in": "query",
  4739. "required": true
  4740. }
  4741. ],
  4742. "responses": {
  4743. "200": {
  4744. "description": "OK",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. },
  4749. "500": {
  4750. "description": "Internal Server Error",
  4751. "schema": {
  4752. "$ref": "#/definitions/app.Response"
  4753. }
  4754. }
  4755. }
  4756. }
  4757. },
  4758. "/User/GetLoginID": {
  4759. "get": {
  4760. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4761. "produces": [
  4762. "application/json"
  4763. ],
  4764. "tags": [
  4765. "用户信息"
  4766. ],
  4767. "summary": "获取登录ID",
  4768. "parameters": [
  4769. {
  4770. "type": "string",
  4771. "description": "登录代码",
  4772. "name": "username",
  4773. "in": "query",
  4774. "required": true
  4775. }
  4776. ],
  4777. "responses": {
  4778. "200": {
  4779. "description": "OK",
  4780. "schema": {
  4781. "$ref": "#/definitions/app.Response"
  4782. }
  4783. },
  4784. "500": {
  4785. "description": "Internal Server Error",
  4786. "schema": {
  4787. "$ref": "#/definitions/app.Response"
  4788. }
  4789. }
  4790. }
  4791. }
  4792. },
  4793. "/User/GetUserAccount": {
  4794. "get": {
  4795. "security": [
  4796. {
  4797. "ApiKeyAuth": []
  4798. }
  4799. ],
  4800. "produces": [
  4801. "application/json"
  4802. ],
  4803. "tags": [
  4804. "用户信息"
  4805. ],
  4806. "summary": "获取用户账号信息",
  4807. "parameters": [
  4808. {
  4809. "type": "integer",
  4810. "description": "用户ID",
  4811. "name": "userID",
  4812. "in": "query",
  4813. "required": true
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "$ref": "#/definitions/models.Useraccount"
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. }
  4829. }
  4830. }
  4831. },
  4832. "/User/GetUserAuthStatus": {
  4833. "get": {
  4834. "security": [
  4835. {
  4836. "ApiKeyAuth": []
  4837. }
  4838. ],
  4839. "produces": [
  4840. "application/json"
  4841. ],
  4842. "tags": [
  4843. "用户信息"
  4844. ],
  4845. "summary": "获取用户实名认证状态",
  4846. "parameters": [
  4847. {
  4848. "type": "integer",
  4849. "description": "用户ID",
  4850. "name": "userID",
  4851. "in": "query",
  4852. "required": true
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "$ref": "#/definitions/app.Response"
  4860. }
  4861. },
  4862. "500": {
  4863. "description": "Internal Server Error",
  4864. "schema": {
  4865. "$ref": "#/definitions/app.Response"
  4866. }
  4867. }
  4868. }
  4869. }
  4870. },
  4871. "/User/QueryMessageBoard": {
  4872. "get": {
  4873. "security": [
  4874. {
  4875. "ApiKeyAuth": []
  4876. }
  4877. ],
  4878. "produces": [
  4879. "application/json"
  4880. ],
  4881. "tags": [
  4882. "用户信息"
  4883. ],
  4884. "summary": "获取用户留言板信息",
  4885. "parameters": [
  4886. {
  4887. "type": "integer",
  4888. "description": "用户ID",
  4889. "name": "userID",
  4890. "in": "query",
  4891. "required": true
  4892. }
  4893. ],
  4894. "responses": {
  4895. "200": {
  4896. "description": "OK",
  4897. "schema": {
  4898. "$ref": "#/definitions/models.Messageboard"
  4899. }
  4900. },
  4901. "500": {
  4902. "description": "Internal Server Error",
  4903. "schema": {
  4904. "$ref": "#/definitions/app.Response"
  4905. }
  4906. }
  4907. }
  4908. }
  4909. },
  4910. "/User/QueryUserFavoriteGoodses": {
  4911. "get": {
  4912. "security": [
  4913. {
  4914. "ApiKeyAuth": []
  4915. }
  4916. ],
  4917. "produces": [
  4918. "application/json"
  4919. ],
  4920. "tags": [
  4921. "用户信息"
  4922. ],
  4923. "summary": "获取用户商品收藏信息",
  4924. "parameters": [
  4925. {
  4926. "type": "integer",
  4927. "description": "用户ID",
  4928. "name": "userID",
  4929. "in": "query",
  4930. "required": true
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/models.Userfavoritegoods"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/User/QueryUserInfo": {
  4950. "get": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "用户信息"
  4961. ],
  4962. "summary": "获取用户信息",
  4963. "parameters": [
  4964. {
  4965. "type": "integer",
  4966. "description": "用户ID",
  4967. "name": "userID",
  4968. "in": "query",
  4969. "required": true
  4970. }
  4971. ],
  4972. "responses": {
  4973. "200": {
  4974. "description": "OK",
  4975. "schema": {
  4976. "$ref": "#/definitions/models.Userinfo"
  4977. }
  4978. },
  4979. "500": {
  4980. "description": "Internal Server Error",
  4981. "schema": {
  4982. "$ref": "#/definitions/app.Response"
  4983. }
  4984. }
  4985. }
  4986. }
  4987. },
  4988. "/User/QueryUserReferNum": {
  4989. "get": {
  4990. "produces": [
  4991. "application/json"
  4992. ],
  4993. "tags": [
  4994. "用户信息"
  4995. ],
  4996. "summary": "获取用户邀请码",
  4997. "parameters": [
  4998. {
  4999. "type": "integer",
  5000. "description": "用户ID",
  5001. "name": "userID",
  5002. "in": "query",
  5003. "required": true
  5004. }
  5005. ],
  5006. "responses": {
  5007. "200": {
  5008. "description": "OK",
  5009. "schema": {
  5010. "$ref": "#/definitions/app.Response"
  5011. }
  5012. },
  5013. "500": {
  5014. "description": "Internal Server Error",
  5015. "schema": {
  5016. "$ref": "#/definitions/app.Response"
  5017. }
  5018. }
  5019. }
  5020. }
  5021. },
  5022. "/User/RemoveUserFavoriteGoods": {
  5023. "post": {
  5024. "security": [
  5025. {
  5026. "ApiKeyAuth": []
  5027. }
  5028. ],
  5029. "produces": [
  5030. "application/json"
  5031. ],
  5032. "tags": [
  5033. "用户信息"
  5034. ],
  5035. "summary": "移除用户商品收藏信息",
  5036. "parameters": [
  5037. {
  5038. "type": "integer",
  5039. "description": "用户ID",
  5040. "name": "userID",
  5041. "in": "query",
  5042. "required": true
  5043. },
  5044. {
  5045. "type": "integer",
  5046. "description": "商品ID",
  5047. "name": "goodsID",
  5048. "in": "query",
  5049. "required": true
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/WR/GetWRCategoryInfo": {
  5069. "get": {
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "仓单服务"
  5075. ],
  5076. "summary": "获取现货分类信息",
  5077. "responses": {
  5078. "200": {
  5079. "description": "OK",
  5080. "schema": {
  5081. "$ref": "#/definitions/models.WRCategoryTree"
  5082. }
  5083. },
  5084. "500": {
  5085. "description": "Internal Server Error",
  5086. "schema": {
  5087. "$ref": "#/definitions/app.Response"
  5088. }
  5089. }
  5090. }
  5091. }
  5092. },
  5093. "/WRTrade/GetAllDeliveryGoods": {
  5094. "get": {
  5095. "security": [
  5096. {
  5097. "ApiKeyAuth": []
  5098. },
  5099. {
  5100. "ApiKeyAuth": []
  5101. }
  5102. ],
  5103. "produces": [
  5104. "application/json",
  5105. "application/json"
  5106. ],
  5107. "tags": [
  5108. "仓单贸易",
  5109. "仓单贸易"
  5110. ],
  5111. "summary": "获取带仓单分类的种类信息",
  5112. "responses": {
  5113. "200": {
  5114. "description": "OK",
  5115. "schema": {
  5116. "$ref": "#/definitions/app.Response"
  5117. }
  5118. },
  5119. "500": {
  5120. "description": "Internal Server Error",
  5121. "schema": {
  5122. "$ref": "#/definitions/app.Response"
  5123. }
  5124. }
  5125. }
  5126. }
  5127. }
  5128. },
  5129. "definitions": {
  5130. "app.Response": {
  5131. "type": "object",
  5132. "properties": {
  5133. "code": {
  5134. "type": "integer"
  5135. },
  5136. "data": {
  5137. "type": "object"
  5138. },
  5139. "msg": {
  5140. "type": "string"
  5141. },
  5142. "page": {
  5143. "description": "页码",
  5144. "type": "integer"
  5145. },
  5146. "pagesize": {
  5147. "description": "每页条数",
  5148. "type": "integer"
  5149. },
  5150. "total": {
  5151. "description": "总条数",
  5152. "type": "integer"
  5153. }
  5154. }
  5155. },
  5156. "common.QueryNoticeRsp": {
  5157. "type": "object",
  5158. "required": [
  5159. "autoid"
  5160. ],
  5161. "properties": {
  5162. "auditoruserid": {
  5163. "description": "审核人",
  5164. "type": "integer"
  5165. },
  5166. "auditremark": {
  5167. "description": "审核备注",
  5168. "type": "string"
  5169. },
  5170. "audittime": {
  5171. "description": "审核日期",
  5172. "type": "string"
  5173. },
  5174. "autoid": {
  5175. "description": "自增ID",
  5176. "type": "integer"
  5177. },
  5178. "content": {
  5179. "description": "内容",
  5180. "type": "string"
  5181. },
  5182. "createtime": {
  5183. "description": "创建时间",
  5184. "type": "string"
  5185. },
  5186. "creatorid": {
  5187. "description": "建仓人",
  5188. "type": "integer"
  5189. },
  5190. "endtime": {
  5191. "description": "结束时间",
  5192. "type": "string"
  5193. },
  5194. "istop": {
  5195. "description": "是否置顶 - 0:不置顶 1:置顶",
  5196. "type": "integer"
  5197. },
  5198. "msgiconurl": {
  5199. "description": "消息图标Url",
  5200. "type": "string"
  5201. },
  5202. "msgtype": {
  5203. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  5204. "type": "integer"
  5205. },
  5206. "publisher": {
  5207. "description": "消息发布者",
  5208. "type": "string"
  5209. },
  5210. "readed": {
  5211. "description": "是否已读",
  5212. "type": "boolean"
  5213. },
  5214. "scheduletime": {
  5215. "description": "计划发送时间",
  5216. "type": "string"
  5217. },
  5218. "sendtype": {
  5219. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  5220. "type": "integer"
  5221. },
  5222. "sentstatus": {
  5223. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  5224. "type": "integer"
  5225. },
  5226. "title": {
  5227. "description": "标题",
  5228. "type": "string"
  5229. },
  5230. "userid": {
  5231. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  5232. "type": "integer"
  5233. }
  5234. }
  5235. },
  5236. "common.QueryProvincesAndCitiesRsp": {
  5237. "type": "object",
  5238. "properties": {
  5239. "cities": {
  5240. "description": "市",
  5241. "type": "array",
  5242. "items": {
  5243. "$ref": "#/definitions/models.Division"
  5244. }
  5245. },
  5246. "province": {
  5247. "description": "省",
  5248. "type": "object",
  5249. "$ref": "#/definitions/models.Division"
  5250. }
  5251. }
  5252. },
  5253. "common.QueryTableDefineRsp": {
  5254. "type": "object",
  5255. "required": [
  5256. "tablekey"
  5257. ],
  5258. "properties": {
  5259. "columns": {
  5260. "description": "列头信息数组",
  5261. "type": "array",
  5262. "items": {
  5263. "$ref": "#/definitions/models.Tablecolumnconfig"
  5264. }
  5265. },
  5266. "remark": {
  5267. "description": "Remark",
  5268. "type": "string"
  5269. },
  5270. "tabelmenu": {
  5271. "description": "列表菜单",
  5272. "type": "string"
  5273. },
  5274. "tablekey": {
  5275. "description": "列表Key",
  5276. "type": "string"
  5277. },
  5278. "tablename": {
  5279. "description": "列表名称",
  5280. "type": "string"
  5281. },
  5282. "tabletype": {
  5283. "description": "列表类型 - 1:管理端 2:终端",
  5284. "type": "integer"
  5285. }
  5286. }
  5287. },
  5288. "common.QueryTraderMenuRsp": {
  5289. "type": "object",
  5290. "properties": {
  5291. "OperationMenu": {
  5292. "description": "功能菜单",
  5293. "type": "array",
  5294. "items": {
  5295. "$ref": "#/definitions/models.OperationPrimaryMenu"
  5296. }
  5297. },
  5298. "QuoteMenu": {
  5299. "description": "报价牌分类菜单",
  5300. "type": "array",
  5301. "items": {
  5302. "$ref": "#/definitions/models.QuotePrimaryMenu"
  5303. }
  5304. }
  5305. }
  5306. },
  5307. "cptrade.Cptradepositioncancel": {
  5308. "type": "object",
  5309. "required": [
  5310. "cancelid"
  5311. ],
  5312. "properties": {
  5313. "accountid": {
  5314. "description": "申请人账户ID",
  5315. "type": "integer"
  5316. },
  5317. "applystatus": {
  5318. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5319. "type": "integer"
  5320. },
  5321. "applytime": {
  5322. "description": "申请时间",
  5323. "type": "string"
  5324. },
  5325. "cancelid": {
  5326. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  5327. "type": "integer"
  5328. },
  5329. "cancelqty": {
  5330. "description": "注销数量",
  5331. "type": "integer"
  5332. },
  5333. "createtime": {
  5334. "description": "创建时间",
  5335. "type": "string"
  5336. },
  5337. "creatorid": {
  5338. "description": "创建人ID",
  5339. "type": "integer"
  5340. },
  5341. "creatorname": {
  5342. "description": "创建人",
  5343. "type": "string"
  5344. },
  5345. "goodscode": {
  5346. "description": "订单商品代码",
  5347. "type": "string"
  5348. },
  5349. "goodsid": {
  5350. "description": "商品ID",
  5351. "type": "integer"
  5352. },
  5353. "goodsname": {
  5354. "description": "订单商品名称",
  5355. "type": "string"
  5356. },
  5357. "goodunit": {
  5358. "description": "报价单位",
  5359. "type": "string"
  5360. },
  5361. "handlestatus": {
  5362. "description": "处理状态",
  5363. "type": "integer"
  5364. },
  5365. "marketid": {
  5366. "description": "市场ID",
  5367. "type": "integer"
  5368. },
  5369. "marketname": {
  5370. "description": "市场名称",
  5371. "type": "string"
  5372. },
  5373. "tradedate": {
  5374. "description": "交易日(yyyyMMdd)",
  5375. "type": "string"
  5376. },
  5377. "userid": {
  5378. "description": "申请人ID",
  5379. "type": "integer"
  5380. }
  5381. }
  5382. },
  5383. "cptrade.Cptradepresaleapply": {
  5384. "type": "object",
  5385. "required": [
  5386. "applyid"
  5387. ],
  5388. "properties": {
  5389. "accountid": {
  5390. "description": "申请人账户ID",
  5391. "type": "integer"
  5392. },
  5393. "applyid": {
  5394. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  5395. "type": "integer"
  5396. },
  5397. "applyremark": {
  5398. "description": "申请备注",
  5399. "type": "string"
  5400. },
  5401. "applystatus": {
  5402. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  5403. "type": "integer"
  5404. },
  5405. "applytime": {
  5406. "description": "申请时间",
  5407. "type": "string"
  5408. },
  5409. "attachmenturl": {
  5410. "description": "附件地址",
  5411. "type": "string"
  5412. },
  5413. "endtime": {
  5414. "description": "预售结束时间",
  5415. "type": "string"
  5416. },
  5417. "goodscode": {
  5418. "description": "商品代码",
  5419. "type": "string"
  5420. },
  5421. "goodsid": {
  5422. "description": "商品ID",
  5423. "type": "integer"
  5424. },
  5425. "goodsname": {
  5426. "description": "商品名称",
  5427. "type": "string"
  5428. },
  5429. "goodunit": {
  5430. "description": "报价单位",
  5431. "type": "string"
  5432. },
  5433. "handlestatus": {
  5434. "description": "处理状态",
  5435. "type": "integer"
  5436. },
  5437. "marketid": {
  5438. "description": "预售市场ID",
  5439. "type": "integer"
  5440. },
  5441. "marketname": {
  5442. "description": "预售市场名称",
  5443. "type": "string"
  5444. },
  5445. "presaleqty": {
  5446. "description": "预售数量",
  5447. "type": "integer"
  5448. },
  5449. "relatedgoodscode": {
  5450. "description": "关联交易合约代码",
  5451. "type": "string"
  5452. },
  5453. "relatedgoodsid": {
  5454. "description": "关联交易合约ID",
  5455. "type": "integer"
  5456. },
  5457. "relatedgoodsname": {
  5458. "description": "关联交易合约名称",
  5459. "type": "string"
  5460. },
  5461. "starttime": {
  5462. "description": "预售开始时间",
  5463. "type": "string"
  5464. },
  5465. "tradedate": {
  5466. "description": "交易日(yyyyMMdd)",
  5467. "type": "string"
  5468. },
  5469. "trademode": {
  5470. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  5471. "type": "integer"
  5472. },
  5473. "userid": {
  5474. "description": "申请人ID",
  5475. "type": "integer"
  5476. }
  5477. }
  5478. },
  5479. "cptrade.Cptradeusergoodsdata": {
  5480. "type": "object",
  5481. "required": [
  5482. "accountid",
  5483. "goodsid"
  5484. ],
  5485. "properties": {
  5486. "EnabledQty": {
  5487. "description": "可用量",
  5488. "type": "integer"
  5489. },
  5490. "GoodsCode": {
  5491. "description": "订单商品代码",
  5492. "type": "string"
  5493. },
  5494. "GoodsName": {
  5495. "description": "订单商品名称",
  5496. "type": "string"
  5497. },
  5498. "WRStandardCode": {
  5499. "description": "仓单标准代码",
  5500. "type": "string"
  5501. },
  5502. "WRStandardName": {
  5503. "description": "仓单标准名称",
  5504. "type": "string"
  5505. },
  5506. "accountid": {
  5507. "description": "账户ID",
  5508. "type": "integer"
  5509. },
  5510. "cancelqty": {
  5511. "description": "注销量",
  5512. "type": "integer"
  5513. },
  5514. "curpresaleqty": {
  5515. "description": "当前预售量",
  5516. "type": "integer"
  5517. },
  5518. "deliveryqty": {
  5519. "description": "交割量",
  5520. "type": "integer"
  5521. },
  5522. "freezeamount": {
  5523. "description": "冻结金额",
  5524. "type": "number"
  5525. },
  5526. "goodsid": {
  5527. "description": "商品ID",
  5528. "type": "integer"
  5529. },
  5530. "goodunit": {
  5531. "description": "报价单位",
  5532. "type": "string"
  5533. },
  5534. "hasspotfreeze": {
  5535. "description": "是否有现货冻结 - 0:否 1:有",
  5536. "type": "integer"
  5537. },
  5538. "inqty": {
  5539. "description": "转入量(总数量)",
  5540. "type": "integer"
  5541. },
  5542. "marketid": {
  5543. "description": "市场ID",
  5544. "type": "integer"
  5545. },
  5546. "presaledamount": {
  5547. "description": "已预售总金额",
  5548. "type": "integer"
  5549. },
  5550. "presaledqty": {
  5551. "description": "已预售量",
  5552. "type": "integer"
  5553. },
  5554. "userid": {
  5555. "description": "用户ID",
  5556. "type": "integer"
  5557. },
  5558. "wrstandardid": {
  5559. "description": "仓单标准ID",
  5560. "type": "integer"
  5561. }
  5562. }
  5563. },
  5564. "cptrade.QueryCPTradeMyBidRsp": {
  5565. "type": "object",
  5566. "required": [
  5567. "accountid",
  5568. "goodsid",
  5569. "marketid",
  5570. "orderid",
  5571. "orderqty",
  5572. "ordertime",
  5573. "tradeprice",
  5574. "tradeqty"
  5575. ],
  5576. "properties": {
  5577. "accountid": {
  5578. "description": "账户ID[报价币种]",
  5579. "type": "integer"
  5580. },
  5581. "goodsid": {
  5582. "description": "商品ID",
  5583. "type": "integer"
  5584. },
  5585. "goodunit": {
  5586. "description": "报价单位",
  5587. "type": "string"
  5588. },
  5589. "marketid": {
  5590. "description": "市场ID",
  5591. "type": "integer"
  5592. },
  5593. "orderid": {
  5594. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5595. "type": "integer"
  5596. },
  5597. "orderprice": {
  5598. "description": "委托价格",
  5599. "type": "number"
  5600. },
  5601. "orderqty": {
  5602. "description": "委托数量",
  5603. "type": "integer"
  5604. },
  5605. "ordertime": {
  5606. "description": "委托时间",
  5607. "type": "string"
  5608. },
  5609. "ordertotalprice": {
  5610. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5611. "type": "number"
  5612. },
  5613. "ordertotalweight": {
  5614. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5615. "type": "integer"
  5616. },
  5617. "totaltotalprice": {
  5618. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5619. "type": "number"
  5620. },
  5621. "tradeprice": {
  5622. "description": "成交价格",
  5623. "type": "number"
  5624. },
  5625. "tradeqty": {
  5626. "description": "成交数量",
  5627. "type": "integer"
  5628. }
  5629. }
  5630. },
  5631. "cptrade.QueryCPTradeOrderDetailRsq": {
  5632. "type": "object",
  5633. "required": [
  5634. "accountid",
  5635. "buildtype",
  5636. "buyorsell",
  5637. "goodsid",
  5638. "marketid",
  5639. "memberuserid",
  5640. "operatetype",
  5641. "orderqty",
  5642. "ordertime",
  5643. "pricemode",
  5644. "strorderid",
  5645. "tradedate",
  5646. "validtype"
  5647. ],
  5648. "properties": {
  5649. "accountid": {
  5650. "description": "账户ID[报价币种]",
  5651. "type": "integer"
  5652. },
  5653. "buildtype": {
  5654. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5655. "type": "integer"
  5656. },
  5657. "buyorsell": {
  5658. "description": "买卖 - 0:买 1:卖",
  5659. "type": "integer"
  5660. },
  5661. "cancelorderid": {
  5662. "description": "撤单单号(撤单时填写)",
  5663. "type": "integer"
  5664. },
  5665. "cancelqty": {
  5666. "description": "撤单数量",
  5667. "type": "integer"
  5668. },
  5669. "clientordertime": {
  5670. "description": "客户端委托时间",
  5671. "type": "string"
  5672. },
  5673. "clientticket": {
  5674. "description": "客户端流水号",
  5675. "type": "string"
  5676. },
  5677. "clienttype": {
  5678. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5679. "type": "integer"
  5680. },
  5681. "closeexchagechargevalue": {
  5682. "description": "平仓交易所手续费设置值",
  5683. "type": "number"
  5684. },
  5685. "closefeealgorithm": {
  5686. "description": "平仓手续费收取方式 1:比率 2:固定",
  5687. "type": "integer"
  5688. },
  5689. "closefreezecharge": {
  5690. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5691. "type": "number"
  5692. },
  5693. "closememberchargevalue": {
  5694. "description": "平仓会员手续费设置值",
  5695. "type": "number"
  5696. },
  5697. "closeqty": {
  5698. "description": "平仓数量(先建后平操作 需要记录)",
  5699. "type": "integer"
  5700. },
  5701. "closetradeqty": {
  5702. "description": "平仓成交数量(先建后平操作,需要记录)",
  5703. "type": "integer"
  5704. },
  5705. "closeunfreezecharge": {
  5706. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5707. "type": "number"
  5708. },
  5709. "delistingtype": {
  5710. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5711. "type": "integer"
  5712. },
  5713. "freezecharge": {
  5714. "description": "冻结手续费",
  5715. "type": "number"
  5716. },
  5717. "freezemargin": {
  5718. "description": "冻结保证金(冻结交易金额)",
  5719. "type": "number"
  5720. },
  5721. "gcaccountid": {
  5722. "description": "账户ID[合约币种]",
  5723. "type": "integer"
  5724. },
  5725. "goodsid": {
  5726. "description": "商品ID",
  5727. "type": "integer"
  5728. },
  5729. "isconfirmexercise": {
  5730. "description": "是否确认行权- 0:否 1:是",
  5731. "type": "integer"
  5732. },
  5733. "ispreexercise": {
  5734. "description": "是否预申报- 0:否 1:是",
  5735. "type": "integer"
  5736. },
  5737. "listingselecttype": {
  5738. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5739. "type": "integer"
  5740. },
  5741. "marginalgorithm": {
  5742. "description": "保证金收取方式 1:比率 2:固定",
  5743. "type": "integer"
  5744. },
  5745. "marginvalue": {
  5746. "description": "即市保证金设置值",
  5747. "type": "number"
  5748. },
  5749. "marketid": {
  5750. "description": "市场ID",
  5751. "type": "integer"
  5752. },
  5753. "marketmaxsub": {
  5754. "description": "市价最大偏移范围",
  5755. "type": "number"
  5756. },
  5757. "memberuserid": {
  5758. "description": "所属会员UserID",
  5759. "type": "integer"
  5760. },
  5761. "openexchagechargevalue": {
  5762. "description": "建仓交易所手续费设置值",
  5763. "type": "number"
  5764. },
  5765. "openfeealgorithm": {
  5766. "description": "建仓手续费收取方式 1:比率 2:固定",
  5767. "type": "integer"
  5768. },
  5769. "openfreezecharge": {
  5770. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5771. "type": "number"
  5772. },
  5773. "openmemberchargevalue": {
  5774. "description": "建仓会员手续费设置值",
  5775. "type": "number"
  5776. },
  5777. "openqty": {
  5778. "description": "开仓数量(先建后平操作,需要记录)",
  5779. "type": "integer"
  5780. },
  5781. "opentradeqty": {
  5782. "description": "开仓成交数量(先建后平操作,需要记录)",
  5783. "type": "integer"
  5784. },
  5785. "openunfreezecharge": {
  5786. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5787. "type": "number"
  5788. },
  5789. "operatetype": {
  5790. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5791. "type": "integer"
  5792. },
  5793. "operatorid": {
  5794. "description": "登录账号(LoginID)",
  5795. "type": "integer"
  5796. },
  5797. "optiontype": {
  5798. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5799. "type": "integer"
  5800. },
  5801. "orderprice": {
  5802. "description": "委托价格",
  5803. "type": "number"
  5804. },
  5805. "orderqty": {
  5806. "description": "委托数量",
  5807. "type": "integer"
  5808. },
  5809. "ordersrc": {
  5810. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5811. "type": "integer"
  5812. },
  5813. "orderstatus": {
  5814. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5815. "type": "integer"
  5816. },
  5817. "ordertime": {
  5818. "description": "委托时间",
  5819. "type": "string"
  5820. },
  5821. "preexerciseprice": {
  5822. "description": "预申报价格",
  5823. "type": "number"
  5824. },
  5825. "premium": {
  5826. "description": "权利金",
  5827. "type": "number"
  5828. },
  5829. "preorderid": {
  5830. "description": "关联预埋单号(止盈止损单时填写)",
  5831. "type": "integer"
  5832. },
  5833. "pricemode": {
  5834. "description": "取价方式 - 1:市价 2: 限价",
  5835. "type": "integer"
  5836. },
  5837. "quoteid": {
  5838. "description": "报价单ID",
  5839. "type": "integer"
  5840. },
  5841. "relatedid": {
  5842. "description": "关联单号(交割单)",
  5843. "type": "integer"
  5844. },
  5845. "retcode": {
  5846. "description": "错误代码",
  5847. "type": "integer"
  5848. },
  5849. "sessionid": {
  5850. "description": "会话ID",
  5851. "type": "integer"
  5852. },
  5853. "strorderid": {
  5854. "description": "委托单号",
  5855. "type": "string"
  5856. },
  5857. "tradedate": {
  5858. "description": "交易日(yyyyMMdd)",
  5859. "type": "string"
  5860. },
  5861. "tradeproperty": {
  5862. "description": "交易属性",
  5863. "type": "integer"
  5864. },
  5865. "tradeqty": {
  5866. "description": "成交数量",
  5867. "type": "integer"
  5868. },
  5869. "unfreezecharge": {
  5870. "description": "解冻手续费",
  5871. "type": "number"
  5872. },
  5873. "unfreezemargin": {
  5874. "description": "解冻保证金",
  5875. "type": "number"
  5876. },
  5877. "updatetime": {
  5878. "description": "更新时间",
  5879. "type": "string"
  5880. },
  5881. "uuid": {
  5882. "description": "发起端唯一id",
  5883. "type": "string"
  5884. },
  5885. "validtime": {
  5886. "description": "有效期限",
  5887. "type": "string"
  5888. },
  5889. "validtype": {
  5890. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5891. "type": "integer"
  5892. },
  5893. "volumetype": {
  5894. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5895. "type": "integer"
  5896. }
  5897. }
  5898. },
  5899. "cptrade.QueryMyCPTradeGoodsRsp": {
  5900. "type": "object",
  5901. "required": [
  5902. "goodscode",
  5903. "goodsid",
  5904. "goodsname",
  5905. "marketid",
  5906. "relatedgoodscode",
  5907. "relatedgoodsname"
  5908. ],
  5909. "properties": {
  5910. "accountid": {
  5911. "description": "卖方账户ID",
  5912. "type": "integer"
  5913. },
  5914. "agreeunit": {
  5915. "description": "合约单位",
  5916. "type": "number"
  5917. },
  5918. "applyid": {
  5919. "description": "关联申请ID",
  5920. "type": "integer"
  5921. },
  5922. "attachmenturl": {
  5923. "description": "附件地址",
  5924. "type": "string"
  5925. },
  5926. "createtime": {
  5927. "description": "创建时间",
  5928. "type": "string"
  5929. },
  5930. "currencyid": {
  5931. "description": "报价货币ID",
  5932. "type": "integer"
  5933. },
  5934. "decimalplace": {
  5935. "description": "报价小数位",
  5936. "type": "integer"
  5937. },
  5938. "endtime": {
  5939. "description": "预售结束时间",
  5940. "type": "string"
  5941. },
  5942. "floorprice": {
  5943. "description": "底价[大宗式竞拍]",
  5944. "type": "number"
  5945. },
  5946. "goodscode": {
  5947. "description": "商品代码(预售)",
  5948. "type": "string"
  5949. },
  5950. "goodsdetail": {
  5951. "description": "详情[大宗]",
  5952. "type": "string"
  5953. },
  5954. "goodsid": {
  5955. "description": "商品ID(自增ID SEQ_GOODS)",
  5956. "type": "integer"
  5957. },
  5958. "goodsname": {
  5959. "description": "商品名称(预售)",
  5960. "type": "string"
  5961. },
  5962. "goodunit": {
  5963. "description": "报价单位",
  5964. "type": "string"
  5965. },
  5966. "goodunitid": {
  5967. "description": "报价单位ID",
  5968. "type": "integer"
  5969. },
  5970. "marketid": {
  5971. "description": "所属市场ID",
  5972. "type": "integer"
  5973. },
  5974. "marketname": {
  5975. "description": "预售市场名称",
  5976. "type": "string"
  5977. },
  5978. "presaledamount": {
  5979. "description": "已预售总金额(预售结束时更新)",
  5980. "type": "number"
  5981. },
  5982. "presaledqty": {
  5983. "description": "已预售量(预售结束时更新)",
  5984. "type": "integer"
  5985. },
  5986. "presalemode": {
  5987. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5988. "type": "integer"
  5989. },
  5990. "presaleqty": {
  5991. "description": "预售数量",
  5992. "type": "integer"
  5993. },
  5994. "refprice": {
  5995. "description": "参考价格[一口价]",
  5996. "type": "number"
  5997. },
  5998. "relatedgoodscode": {
  5999. "description": "商品代码(订单)",
  6000. "type": "string"
  6001. },
  6002. "relatedgoodsid": {
  6003. "description": "关联交易合约ID",
  6004. "type": "integer"
  6005. },
  6006. "relatedgoodsname": {
  6007. "description": "商品名称(订单)",
  6008. "type": "string"
  6009. },
  6010. "relatedmarketid": {
  6011. "description": "关联交易合约市场ID",
  6012. "type": "integer"
  6013. },
  6014. "sellstatus": {
  6015. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6016. "type": "integer"
  6017. },
  6018. "startprice": {
  6019. "description": "起拍价[大宗式竞拍]",
  6020. "type": "number"
  6021. },
  6022. "starttime": {
  6023. "description": "预售开始时间",
  6024. "type": "string"
  6025. },
  6026. "tradedate": {
  6027. "description": "交易日(yyyyMMdd)",
  6028. "type": "string"
  6029. },
  6030. "tradeprice": {
  6031. "description": "成交价[大宗]",
  6032. "type": "number"
  6033. },
  6034. "userid": {
  6035. "description": "卖方用户ID",
  6036. "type": "integer"
  6037. }
  6038. }
  6039. },
  6040. "cptrade.QueryPresaleGoodsExRsp": {
  6041. "type": "object",
  6042. "required": [
  6043. "goodsid"
  6044. ],
  6045. "properties": {
  6046. "attachmenturl": {
  6047. "description": "附件地址",
  6048. "type": "string"
  6049. },
  6050. "createtime": {
  6051. "description": "创建时间",
  6052. "type": "string"
  6053. },
  6054. "endtime": {
  6055. "description": "预售结束时间",
  6056. "type": "string"
  6057. },
  6058. "floorprice": {
  6059. "description": "底价[大宗式竞拍]",
  6060. "type": "number"
  6061. },
  6062. "goodsdetail": {
  6063. "description": "详情[大宗]",
  6064. "type": "string"
  6065. },
  6066. "goodsid": {
  6067. "description": "商品ID(预售)",
  6068. "type": "integer"
  6069. },
  6070. "goodunit": {
  6071. "description": "报价单位",
  6072. "type": "string"
  6073. },
  6074. "marketid": {
  6075. "description": "预售市场ID - 根据预售模式选择市场",
  6076. "type": "integer"
  6077. },
  6078. "presaledamount": {
  6079. "description": "已预售总金额(预售结束时更新)",
  6080. "type": "number"
  6081. },
  6082. "presaledqty": {
  6083. "description": "已预售量(预售结束时更新)",
  6084. "type": "integer"
  6085. },
  6086. "presalemode": {
  6087. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6088. "type": "integer"
  6089. },
  6090. "presaleqty": {
  6091. "description": "预售数量",
  6092. "type": "integer"
  6093. },
  6094. "refprice": {
  6095. "description": "参考价格[一口价]",
  6096. "type": "number"
  6097. },
  6098. "relatedgoodsid": {
  6099. "description": "关联交易合约ID",
  6100. "type": "integer"
  6101. },
  6102. "relatedmarketid": {
  6103. "description": "关联交易合约市场ID",
  6104. "type": "integer"
  6105. },
  6106. "sellstatus": {
  6107. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6108. "type": "integer"
  6109. },
  6110. "startprice": {
  6111. "description": "起拍价[大宗式竞拍]",
  6112. "type": "number"
  6113. },
  6114. "starttime": {
  6115. "description": "预售开始时间",
  6116. "type": "string"
  6117. },
  6118. "tradedate": {
  6119. "description": "交易日(yyyyMMdd)",
  6120. "type": "string"
  6121. },
  6122. "tradeprice": {
  6123. "description": "成交价[大宗]",
  6124. "type": "number"
  6125. }
  6126. }
  6127. },
  6128. "delivery.QueryDeliveryRelationRsp": {
  6129. "type": "object",
  6130. "required": [
  6131. "begindate",
  6132. "enddate",
  6133. "goodsid",
  6134. "mindeliveryqty",
  6135. "xdeliveryratio"
  6136. ],
  6137. "properties": {
  6138. "begindate": {
  6139. "description": "起始日期(yyyyMMdd)",
  6140. "type": "string"
  6141. },
  6142. "buytemplateid": {
  6143. "description": "买履约计划模板ID",
  6144. "type": "integer"
  6145. },
  6146. "deliverygoodscode": {
  6147. "description": "品种代码",
  6148. "type": "string"
  6149. },
  6150. "deliverygoodsid": {
  6151. "description": "交割商品",
  6152. "type": "integer"
  6153. },
  6154. "deliverygoodsname": {
  6155. "description": "品种名称",
  6156. "type": "string"
  6157. },
  6158. "deliverymode": {
  6159. "description": "交割方式 - 1:点选式 2:申报式",
  6160. "type": "integer"
  6161. },
  6162. "deliverypricerule": {
  6163. "description": "交割价规则- 1:行情价 2:建仓价",
  6164. "type": "integer"
  6165. },
  6166. "deliverytype": {
  6167. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6168. "type": "integer"
  6169. },
  6170. "enddate": {
  6171. "description": "结束日期(yyyyMMdd)",
  6172. "type": "string"
  6173. },
  6174. "goodscode": {
  6175. "description": "商品代码",
  6176. "type": "string"
  6177. },
  6178. "goodsid": {
  6179. "description": "交易合约ID",
  6180. "type": "integer"
  6181. },
  6182. "goodsname": {
  6183. "description": "商品名称",
  6184. "type": "string"
  6185. },
  6186. "marketid": {
  6187. "description": "市场ID",
  6188. "type": "integer"
  6189. },
  6190. "mindeliveryqty": {
  6191. "description": "最小交割系数(K)",
  6192. "type": "integer"
  6193. },
  6194. "p2deliveryprice": {
  6195. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  6196. "type": "number"
  6197. },
  6198. "p2deliveryratio": {
  6199. "description": "P2合约系数(p)",
  6200. "type": "integer"
  6201. },
  6202. "p2goodsid": {
  6203. "description": "P2合约ID",
  6204. "type": "integer"
  6205. },
  6206. "p2pricemode": {
  6207. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  6208. "type": "integer"
  6209. },
  6210. "pdeliveryprice": {
  6211. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  6212. "type": "number"
  6213. },
  6214. "pdeliveryratio": {
  6215. "description": "P合约系数(n)",
  6216. "type": "integer"
  6217. },
  6218. "pgoodsid": {
  6219. "description": "P合约ID",
  6220. "type": "integer"
  6221. },
  6222. "ppricemode": {
  6223. "description": "P合约价格方式 - 1:商品价 2:固定值",
  6224. "type": "integer"
  6225. },
  6226. "rratio": {
  6227. "description": "兑换系数(R)",
  6228. "type": "integer"
  6229. },
  6230. "rratio1": {
  6231. "description": "兑换系数(交易合约)(R1)",
  6232. "type": "integer"
  6233. },
  6234. "rratio2": {
  6235. "description": "兑换系数(仓单标准)(R2)",
  6236. "type": "integer"
  6237. },
  6238. "selltemplateid": {
  6239. "description": "卖履约计划模板ID",
  6240. "type": "integer"
  6241. },
  6242. "wrstandardid": {
  6243. "description": "仓单标准ID",
  6244. "type": "integer"
  6245. },
  6246. "xdeliveryratio": {
  6247. "description": "交易合约系数(m)",
  6248. "type": "integer"
  6249. }
  6250. }
  6251. },
  6252. "ermcp.ExposureDetailRsp": {
  6253. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  6254. },
  6255. "ermcp.ExposureSpotDetailRsp": {
  6256. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  6257. },
  6258. "ermcp.ExposureSpotRsp": {
  6259. "$ref": "#/definitions/models.AreaSpotModel"
  6260. },
  6261. "ermcp.HisExposureRsp": {
  6262. "$ref": "#/definitions/models.ErmcpHisExposure"
  6263. },
  6264. "ermcp.QryAvalidGPRsp": {
  6265. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  6266. },
  6267. "ermcp.QryBusinessDjRsp": {
  6268. "type": "object",
  6269. "properties": {
  6270. "amount": {
  6271. "description": "点价金额=(点价价格+升贴水)*点价数量",
  6272. "type": "number"
  6273. },
  6274. "applyid": {
  6275. "description": "申请人",
  6276. "type": "string"
  6277. },
  6278. "applyname": {
  6279. "description": "申请人名称",
  6280. "type": "string"
  6281. },
  6282. "applystatus": {
  6283. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6284. "type": "integer"
  6285. },
  6286. "applytime": {
  6287. "description": "申请时间",
  6288. "type": "string"
  6289. },
  6290. "auditname": {
  6291. "description": "审核人名称",
  6292. "type": "string"
  6293. },
  6294. "audittime": {
  6295. "description": "审核时间",
  6296. "type": "string"
  6297. },
  6298. "buyusername": {
  6299. "description": "采购方名称",
  6300. "type": "string"
  6301. },
  6302. "contractno": {
  6303. "description": "合同编号",
  6304. "type": "string"
  6305. },
  6306. "contractstatus": {
  6307. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6308. "type": "integer"
  6309. },
  6310. "contracttype": {
  6311. "description": "现货合同类型 - 1:采购 -1:销售",
  6312. "type": "integer"
  6313. },
  6314. "enumdicname": {
  6315. "description": "单位名称",
  6316. "type": "string"
  6317. },
  6318. "goodscode": {
  6319. "description": "点价合约",
  6320. "type": "string"
  6321. },
  6322. "goodsname": {
  6323. "description": "商品名称",
  6324. "type": "string"
  6325. },
  6326. "operateapplyid": {
  6327. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6328. "type": "string"
  6329. },
  6330. "operateapplytype": {
  6331. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6332. "type": "integer"
  6333. },
  6334. "pricedPrice": {
  6335. "description": "点价价格(非必填)",
  6336. "type": "number"
  6337. },
  6338. "pricedQty": {
  6339. "description": "点价数量(非必填)",
  6340. "type": "number"
  6341. },
  6342. "pricemove": {
  6343. "description": "升贴水",
  6344. "type": "number"
  6345. },
  6346. "pricetype": {
  6347. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6348. "type": "integer"
  6349. },
  6350. "relatedid": {
  6351. "description": "现货合同ID",
  6352. "type": "string"
  6353. },
  6354. "sellusername": {
  6355. "description": "销售方名字",
  6356. "type": "string"
  6357. },
  6358. "userid": {
  6359. "description": "用户ID",
  6360. "type": "integer"
  6361. }
  6362. }
  6363. },
  6364. "ermcp.QryBussinessFpRsp": {
  6365. "type": "object",
  6366. "properties": {
  6367. "applyid": {
  6368. "description": "申请人",
  6369. "type": "string"
  6370. },
  6371. "applyname": {
  6372. "description": "申请人名称",
  6373. "type": "string"
  6374. },
  6375. "applystatus": {
  6376. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6377. "type": "integer"
  6378. },
  6379. "applytime": {
  6380. "description": "申请时间",
  6381. "type": "string"
  6382. },
  6383. "auditname": {
  6384. "description": "审核人名称",
  6385. "type": "string"
  6386. },
  6387. "audittime": {
  6388. "description": "审核时间",
  6389. "type": "string"
  6390. },
  6391. "buyusername": {
  6392. "description": "采购方名称",
  6393. "type": "string"
  6394. },
  6395. "contractno": {
  6396. "description": "合同编号",
  6397. "type": "string"
  6398. },
  6399. "contractstatus": {
  6400. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6401. "type": "integer"
  6402. },
  6403. "contracttype": {
  6404. "description": "现货合同类型 - 1:采购 -1:销售",
  6405. "type": "integer"
  6406. },
  6407. "enumdicname": {
  6408. "description": "单位名称",
  6409. "type": "string"
  6410. },
  6411. "goodscode": {
  6412. "description": "点价合约",
  6413. "type": "string"
  6414. },
  6415. "goodsname": {
  6416. "description": "商品名称",
  6417. "type": "string"
  6418. },
  6419. "invoiceAmount": {
  6420. "description": "已开收票金额(销售为开票,采购为收票)",
  6421. "type": "number"
  6422. },
  6423. "operateapplyid": {
  6424. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6425. "type": "string"
  6426. },
  6427. "operateapplytype": {
  6428. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6429. "type": "integer"
  6430. },
  6431. "pricemove": {
  6432. "description": "升贴水",
  6433. "type": "number"
  6434. },
  6435. "pricetype": {
  6436. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6437. "type": "integer"
  6438. },
  6439. "relatedid": {
  6440. "description": "现货合同ID",
  6441. "type": "string"
  6442. },
  6443. "sellusername": {
  6444. "description": "销售方名字",
  6445. "type": "string"
  6446. },
  6447. "userid": {
  6448. "description": "用户ID",
  6449. "type": "integer"
  6450. }
  6451. }
  6452. },
  6453. "ermcp.QryBussinessJsRsp": {
  6454. "type": "object",
  6455. "properties": {
  6456. "addmargin": {
  6457. "description": "追加保证金(非必填)",
  6458. "type": "number"
  6459. },
  6460. "applyid": {
  6461. "description": "申请人",
  6462. "type": "string"
  6463. },
  6464. "applyname": {
  6465. "description": "申请人名称",
  6466. "type": "string"
  6467. },
  6468. "applystatus": {
  6469. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6470. "type": "integer"
  6471. },
  6472. "applytime": {
  6473. "description": "申请时间",
  6474. "type": "string"
  6475. },
  6476. "auditname": {
  6477. "description": "审核人名称",
  6478. "type": "string"
  6479. },
  6480. "audittime": {
  6481. "description": "审核时间",
  6482. "type": "string"
  6483. },
  6484. "buyusername": {
  6485. "description": "采购方名称",
  6486. "type": "string"
  6487. },
  6488. "contractno": {
  6489. "description": "合同编号",
  6490. "type": "string"
  6491. },
  6492. "contractstatus": {
  6493. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6494. "type": "integer"
  6495. },
  6496. "contracttype": {
  6497. "description": "现货合同类型 - 1:采购 -1:销售",
  6498. "type": "integer"
  6499. },
  6500. "decmargin": {
  6501. "description": "减少保证金(非必填)",
  6502. "type": "number"
  6503. },
  6504. "enumdicname": {
  6505. "description": "单位名称",
  6506. "type": "string"
  6507. },
  6508. "goodscode": {
  6509. "description": "点价合约",
  6510. "type": "string"
  6511. },
  6512. "goodsname": {
  6513. "description": "商品名称",
  6514. "type": "string"
  6515. },
  6516. "operateapplyid": {
  6517. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6518. "type": "string"
  6519. },
  6520. "operateapplytype": {
  6521. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6522. "type": "integer"
  6523. },
  6524. "pricemove": {
  6525. "description": "升贴水",
  6526. "type": "number"
  6527. },
  6528. "pricetype": {
  6529. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6530. "type": "integer"
  6531. },
  6532. "reckonadjustamount": {
  6533. "description": "结算调整金额(非必填)",
  6534. "type": "number"
  6535. },
  6536. "reckonosamount": {
  6537. "description": "结算溢短金额(非必填)",
  6538. "type": "number"
  6539. },
  6540. "reckonotheramount": {
  6541. "description": "结算其他费用(非必填)",
  6542. "type": "number"
  6543. },
  6544. "reckonrealqty": {
  6545. "description": "结算实际数量(非必填)",
  6546. "type": "number"
  6547. },
  6548. "relatedid": {
  6549. "description": "现货合同ID",
  6550. "type": "string"
  6551. },
  6552. "sellusername": {
  6553. "description": "销售方名字",
  6554. "type": "string"
  6555. },
  6556. "userid": {
  6557. "description": "用户ID",
  6558. "type": "integer"
  6559. }
  6560. }
  6561. },
  6562. "ermcp.QryBussinessKxRsp": {
  6563. "type": "object",
  6564. "properties": {
  6565. "applyid": {
  6566. "description": "申请人",
  6567. "type": "string"
  6568. },
  6569. "applyname": {
  6570. "description": "申请人名称",
  6571. "type": "string"
  6572. },
  6573. "applystatus": {
  6574. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  6575. "type": "integer"
  6576. },
  6577. "applytime": {
  6578. "description": "申请时间",
  6579. "type": "string"
  6580. },
  6581. "auditname": {
  6582. "description": "审核人名称",
  6583. "type": "string"
  6584. },
  6585. "audittime": {
  6586. "description": "审核时间",
  6587. "type": "string"
  6588. },
  6589. "buyusername": {
  6590. "description": "采购方名称",
  6591. "type": "string"
  6592. },
  6593. "contractno": {
  6594. "description": "合同编号",
  6595. "type": "string"
  6596. },
  6597. "contractstatus": {
  6598. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6599. "type": "integer"
  6600. },
  6601. "contracttype": {
  6602. "description": "现货合同类型 - 1:采购 -1:销售",
  6603. "type": "integer"
  6604. },
  6605. "deductamount": {
  6606. "description": "退款(非必填)",
  6607. "type": "number"
  6608. },
  6609. "enumdicname": {
  6610. "description": "单位名称",
  6611. "type": "string"
  6612. },
  6613. "goodscode": {
  6614. "description": "点价合约",
  6615. "type": "string"
  6616. },
  6617. "goodsname": {
  6618. "description": "商品名称",
  6619. "type": "string"
  6620. },
  6621. "kxtype": {
  6622. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6623. "type": "integer"
  6624. },
  6625. "operateapplyid": {
  6626. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6627. "type": "string"
  6628. },
  6629. "operateapplytype": {
  6630. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6631. "type": "integer"
  6632. },
  6633. "payamount": {
  6634. "description": "收付款(非必填)",
  6635. "type": "number"
  6636. },
  6637. "pricemove": {
  6638. "description": "升贴水",
  6639. "type": "number"
  6640. },
  6641. "pricetype": {
  6642. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6643. "type": "integer"
  6644. },
  6645. "relatedid": {
  6646. "description": "现货合同ID",
  6647. "type": "string"
  6648. },
  6649. "sellusername": {
  6650. "description": "销售方名字",
  6651. "type": "string"
  6652. },
  6653. "userid": {
  6654. "description": "用户ID",
  6655. "type": "integer"
  6656. }
  6657. }
  6658. },
  6659. "ermcp.QryErmcpRsp": {
  6660. "$ref": "#/definitions/models.ErmcpModel"
  6661. },
  6662. "ermcp.QryGGCovertCfgRsp": {
  6663. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  6664. },
  6665. "ermcp.QryHedgePlanRsp": {
  6666. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6667. },
  6668. "ermcp.QryMGChangeLogRsp": {
  6669. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  6670. },
  6671. "ermcp.QryMiddleGoodsDetailRsp": {
  6672. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  6673. },
  6674. "ermcp.QryMiddleGoodsRsp": {
  6675. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  6676. },
  6677. "ermcp.QryOPLogRsp": {
  6678. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6679. },
  6680. "ermcp.QrySpotContractRsp": {
  6681. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6682. },
  6683. "ermcp.QryUserInfoRsp": {
  6684. "$ref": "#/definitions/models.ErmcpUserModel"
  6685. },
  6686. "ermcp.QryWrStandardDetailRsp": {
  6687. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  6688. },
  6689. "ermcp.QryWrStandardRsp": {
  6690. "$ref": "#/definitions/models.ErmcpWrstandard"
  6691. },
  6692. "ermcp.RealtimeExposurePositionRsp": {
  6693. "$ref": "#/definitions/models.ErmcpExposurePostion"
  6694. },
  6695. "ermcp.RealtimeExposureRsp": {
  6696. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6697. },
  6698. "erms2.QueryArbitrageStrategyRsp": {
  6699. "type": "object",
  6700. "required": [
  6701. "asapplyid"
  6702. ],
  6703. "properties": {
  6704. "applybasis": {
  6705. "description": "申请基差",
  6706. "type": "number"
  6707. },
  6708. "asapplyid": {
  6709. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6710. "type": "string"
  6711. },
  6712. "asname": {
  6713. "description": "策略名称",
  6714. "type": "string"
  6715. },
  6716. "asno": {
  6717. "description": "策略编号",
  6718. "type": "string"
  6719. },
  6720. "basischangepl": {
  6721. "description": "基差变动损益[结算更新]",
  6722. "type": "number"
  6723. },
  6724. "biztype": {
  6725. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6726. "type": "integer"
  6727. },
  6728. "closetradedate": {
  6729. "description": "完结交易日(yyyyMMdd)",
  6730. "type": "string"
  6731. },
  6732. "curbasis": {
  6733. "description": "当前基差[结算更新]",
  6734. "type": "number"
  6735. },
  6736. "deliverygoodsid": {
  6737. "description": "现货品种ID",
  6738. "type": "integer"
  6739. },
  6740. "futureavgprice": {
  6741. "description": "期货建仓均价",
  6742. "type": "number"
  6743. },
  6744. "futurecloseamount": {
  6745. "description": "期货平仓金额",
  6746. "type": "number"
  6747. },
  6748. "futurecloseqty": {
  6749. "description": "期货平仓数量",
  6750. "type": "number"
  6751. },
  6752. "futureopenamount": {
  6753. "description": "期货开仓金额",
  6754. "type": "number"
  6755. },
  6756. "futureopenqty": {
  6757. "description": "期货开仓数量",
  6758. "type": "number"
  6759. },
  6760. "futurepl": {
  6761. "description": "期货总盈亏[结算更新]",
  6762. "type": "number"
  6763. },
  6764. "futureqty": {
  6765. "description": "期货持仓数量",
  6766. "type": "number"
  6767. },
  6768. "futurequote": {
  6769. "description": "期货额度",
  6770. "type": "number"
  6771. },
  6772. "goodsgroupid": {
  6773. "description": "期货品种ID",
  6774. "type": "integer"
  6775. },
  6776. "marketid": {
  6777. "description": "市场ID",
  6778. "type": "integer"
  6779. },
  6780. "netexposure": {
  6781. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6782. "type": "number"
  6783. },
  6784. "netexposurepl": {
  6785. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6786. "type": "number"
  6787. },
  6788. "netexposurerate": {
  6789. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6790. "type": "number"
  6791. },
  6792. "openbasis": {
  6793. "description": "建仓基差",
  6794. "type": "number"
  6795. },
  6796. "pricedspotqty": {
  6797. "description": "已定价现货数量",
  6798. "type": "number"
  6799. },
  6800. "pricedspotqtynotax": {
  6801. "description": "已定价现货不含税数量",
  6802. "type": "number"
  6803. },
  6804. "remark": {
  6805. "description": "备注",
  6806. "type": "string"
  6807. },
  6808. "spotavgprice": {
  6809. "description": "现货均价",
  6810. "type": "number"
  6811. },
  6812. "spotbuyamount": {
  6813. "description": "现货采购金额",
  6814. "type": "number"
  6815. },
  6816. "spotbuyqty": {
  6817. "description": "现货采购数量",
  6818. "type": "number"
  6819. },
  6820. "spotpl": {
  6821. "description": "现货总盈亏[结算更新]",
  6822. "type": "number"
  6823. },
  6824. "spotquota": {
  6825. "description": "现货额度",
  6826. "type": "number"
  6827. },
  6828. "spotsellamount": {
  6829. "description": "现货销售金额",
  6830. "type": "number"
  6831. },
  6832. "spotsellqty": {
  6833. "description": "现货销售数量",
  6834. "type": "number"
  6835. },
  6836. "spotusedquota": {
  6837. "description": "现货占用资金",
  6838. "type": "number"
  6839. },
  6840. "strategystatus": {
  6841. "description": "策略状态 - 0:未结束 1:已结束",
  6842. "type": "integer"
  6843. },
  6844. "totalpl": {
  6845. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6846. "type": "number"
  6847. },
  6848. "tradedate": {
  6849. "description": "交易日(yyyyMMdd)",
  6850. "type": "string"
  6851. },
  6852. "updatetime": {
  6853. "description": "更新时间",
  6854. "type": "string"
  6855. },
  6856. "usedquota": {
  6857. "description": "已占用资金",
  6858. "type": "number"
  6859. },
  6860. "userid": {
  6861. "description": "所属机构",
  6862. "type": "integer"
  6863. }
  6864. }
  6865. },
  6866. "erms2.QueryInnerTradeDetailRsp": {
  6867. "type": "object",
  6868. "required": [
  6869. "asapplyid",
  6870. "buyorsell",
  6871. "goodscode",
  6872. "goodsgroupid",
  6873. "goodsgroupname",
  6874. "goodsname",
  6875. "tradeid"
  6876. ],
  6877. "properties": {
  6878. "accountid": {
  6879. "description": "账号ID",
  6880. "type": "integer"
  6881. },
  6882. "agreeunit": {
  6883. "description": "合约单位",
  6884. "type": "number"
  6885. },
  6886. "asapplyid": {
  6887. "description": "策略申请ID",
  6888. "type": "integer"
  6889. },
  6890. "asname": {
  6891. "description": "策略名称",
  6892. "type": "string"
  6893. },
  6894. "asno": {
  6895. "description": "策略编号",
  6896. "type": "string"
  6897. },
  6898. "buyorsell": {
  6899. "description": "方向 - 0:买 1:卖",
  6900. "type": "integer"
  6901. },
  6902. "channelbuildtype": {
  6903. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6904. "type": "integer"
  6905. },
  6906. "closetype": {
  6907. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6908. "type": "integer"
  6909. },
  6910. "decimalplace": {
  6911. "description": "报价小数位",
  6912. "type": "integer"
  6913. },
  6914. "detailtype": {
  6915. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6916. "type": "integer"
  6917. },
  6918. "exexchangecode": {
  6919. "description": "外部交易所代码",
  6920. "type": "string"
  6921. },
  6922. "exexchangename": {
  6923. "description": "外部交易所名称",
  6924. "type": "string"
  6925. },
  6926. "goodscode": {
  6927. "description": "商品代码(合约)",
  6928. "type": "string"
  6929. },
  6930. "goodsgroupid": {
  6931. "description": "商品组ID(品种ID)",
  6932. "type": "integer"
  6933. },
  6934. "goodsgroupname": {
  6935. "description": "商品组名称(品种)",
  6936. "type": "string"
  6937. },
  6938. "goodsid": {
  6939. "description": "商品ID",
  6940. "type": "integer"
  6941. },
  6942. "goodsname": {
  6943. "description": "商品名称(合约)",
  6944. "type": "string"
  6945. },
  6946. "goodunit": {
  6947. "description": "报价单位",
  6948. "type": "string"
  6949. },
  6950. "marketid": {
  6951. "description": "市场ID",
  6952. "type": "integer"
  6953. },
  6954. "orderid": {
  6955. "description": "委托单号",
  6956. "type": "string"
  6957. },
  6958. "outgoodscode": {
  6959. "description": "商品代码(外部)",
  6960. "type": "string"
  6961. },
  6962. "relatedouttradeid": {
  6963. "description": "关联外部成交单ID",
  6964. "type": "string"
  6965. },
  6966. "remark": {
  6967. "description": "备注",
  6968. "type": "string"
  6969. },
  6970. "spotcontractid": {
  6971. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6972. "type": "integer"
  6973. },
  6974. "spotcontractno": {
  6975. "description": "现货合同编号",
  6976. "type": "string"
  6977. },
  6978. "tradeid": {
  6979. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6980. "type": "string"
  6981. },
  6982. "tradeprice": {
  6983. "description": "成交价格",
  6984. "type": "number"
  6985. },
  6986. "tradeqty": {
  6987. "description": "成交数量",
  6988. "type": "integer"
  6989. },
  6990. "tradetime": {
  6991. "description": "成交时间",
  6992. "type": "string"
  6993. },
  6994. "updatetime": {
  6995. "description": "更新时间",
  6996. "type": "string"
  6997. }
  6998. }
  6999. },
  7000. "erms2.QuerySpotContractRsp": {
  7001. "type": "object",
  7002. "required": [
  7003. "spotcontractid"
  7004. ],
  7005. "properties": {
  7006. "accountid": {
  7007. "description": "资金账户ID",
  7008. "type": "integer"
  7009. },
  7010. "areauserid": {
  7011. "description": "所属机构",
  7012. "type": "integer"
  7013. },
  7014. "closedate": {
  7015. "description": "终止日期",
  7016. "type": "string"
  7017. },
  7018. "closeremark": {
  7019. "description": "结束备注",
  7020. "type": "string"
  7021. },
  7022. "closetradedate": {
  7023. "description": "完结交易日(yyyyMMdd)",
  7024. "type": "string"
  7025. },
  7026. "closetype": {
  7027. "description": "终止类型 - 1:违约 2:提前终止",
  7028. "type": "integer"
  7029. },
  7030. "contractamount": {
  7031. "description": "合同金额",
  7032. "type": "number"
  7033. },
  7034. "contractattachment": {
  7035. "description": "合同附件",
  7036. "type": "string"
  7037. },
  7038. "contractno": {
  7039. "description": "现货合同编号",
  7040. "type": "string"
  7041. },
  7042. "contractqty": {
  7043. "description": "合同数量(数值) (用于计算)",
  7044. "type": "number"
  7045. },
  7046. "contractqtychar": {
  7047. "description": "合同数量\\已订价数量 (用于显示)",
  7048. "type": "string"
  7049. },
  7050. "contractstatus": {
  7051. "description": "合同状态 - 0:未结束 1:已结束",
  7052. "type": "integer"
  7053. },
  7054. "contracttype": {
  7055. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  7056. "type": "integer"
  7057. },
  7058. "customeraccountid": {
  7059. "description": "客户资金账户ID",
  7060. "type": "integer"
  7061. },
  7062. "customeruserid": {
  7063. "description": "客户ID",
  7064. "type": "integer"
  7065. },
  7066. "deliverygoodsdesc": {
  7067. "description": "品种说明",
  7068. "type": "string"
  7069. },
  7070. "deliverygoodsid": {
  7071. "description": "现货品种ID",
  7072. "type": "integer"
  7073. },
  7074. "handlestatus": {
  7075. "description": "处理状态",
  7076. "type": "integer"
  7077. },
  7078. "invoiceatt": {
  7079. "description": "发票附件",
  7080. "type": "string"
  7081. },
  7082. "invoicedatetime": {
  7083. "description": "开收票更新时间",
  7084. "type": "string"
  7085. },
  7086. "invoiceopentime": {
  7087. "description": "开票时间",
  7088. "type": "string"
  7089. },
  7090. "invoiceremark": {
  7091. "description": "发票备注",
  7092. "type": "string"
  7093. },
  7094. "invoicestatus": {
  7095. "description": "开收票状态 - 0:未开票 1:已开票",
  7096. "type": "integer"
  7097. },
  7098. "lastdate": {
  7099. "description": "交货时间",
  7100. "type": "string"
  7101. },
  7102. "marketid": {
  7103. "description": "市场ID",
  7104. "type": "integer"
  7105. },
  7106. "paydatetime": {
  7107. "description": "收付款更新时间",
  7108. "type": "string"
  7109. },
  7110. "payremark": {
  7111. "description": "收付款备注",
  7112. "type": "string"
  7113. },
  7114. "paystatus": {
  7115. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  7116. "type": "integer"
  7117. },
  7118. "positionqty": {
  7119. "description": "头寸数量 - 合同数量去小数部分",
  7120. "type": "integer"
  7121. },
  7122. "producttype": {
  7123. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7124. "type": "integer"
  7125. },
  7126. "relatedqty": {
  7127. "description": "已关联数量",
  7128. "type": "number"
  7129. },
  7130. "relatedstatus": {
  7131. "description": "关联完结状态 - 0:未结束 1:已结束",
  7132. "type": "integer"
  7133. },
  7134. "remark": {
  7135. "description": "备注",
  7136. "type": "string"
  7137. },
  7138. "signdate": {
  7139. "description": "签订日期",
  7140. "type": "string"
  7141. },
  7142. "spotcontractid": {
  7143. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  7144. "type": "string"
  7145. },
  7146. "spotdatetime": {
  7147. "description": "收发货更新时间",
  7148. "type": "string"
  7149. },
  7150. "spotprice": {
  7151. "description": "价格",
  7152. "type": "number"
  7153. },
  7154. "spotremark": {
  7155. "description": "收发货备注",
  7156. "type": "string"
  7157. },
  7158. "spotstatus": {
  7159. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  7160. "type": "integer"
  7161. },
  7162. "tradedate": {
  7163. "description": "交易日(yyyyMMdd)",
  7164. "type": "string"
  7165. },
  7166. "userid": {
  7167. "description": "业务员用户ID",
  7168. "type": "integer"
  7169. },
  7170. "warehouseid": {
  7171. "description": "仓库ID",
  7172. "type": "integer"
  7173. },
  7174. "wrfactortypeid": {
  7175. "description": "仓单要素类型ID",
  7176. "type": "integer"
  7177. },
  7178. "wrstandardid": {
  7179. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  7180. "type": "integer"
  7181. }
  7182. }
  7183. },
  7184. "erms3.AddErms2ASApplyReq": {
  7185. "type": "object",
  7186. "required": [
  7187. "asapplyid"
  7188. ],
  7189. "properties": {
  7190. "applybasis": {
  7191. "description": "申请基差",
  7192. "type": "number"
  7193. },
  7194. "applystatus": {
  7195. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7196. "type": "integer"
  7197. },
  7198. "asapplyid": {
  7199. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  7200. "type": "integer"
  7201. },
  7202. "asname": {
  7203. "description": "策略名称",
  7204. "type": "string"
  7205. },
  7206. "asno": {
  7207. "description": "策略编号",
  7208. "type": "string"
  7209. },
  7210. "auditid": {
  7211. "description": "审核人",
  7212. "type": "integer"
  7213. },
  7214. "auditremark": {
  7215. "description": "审核备注",
  7216. "type": "string"
  7217. },
  7218. "audittime": {
  7219. "description": "审核时间",
  7220. "type": "string"
  7221. },
  7222. "biztype": {
  7223. "description": "业务类型 - 1:正向套利 2:反向套利",
  7224. "type": "integer"
  7225. },
  7226. "createtime": {
  7227. "description": "创建时间",
  7228. "type": "string"
  7229. },
  7230. "creatorid": {
  7231. "description": "创建人",
  7232. "type": "integer"
  7233. },
  7234. "deliverygoodsid": {
  7235. "description": "现货品种ID",
  7236. "type": "integer"
  7237. },
  7238. "futurequote": {
  7239. "description": "期货额度",
  7240. "type": "number"
  7241. },
  7242. "goodsgroupid": {
  7243. "description": "期货品种ID",
  7244. "type": "integer"
  7245. },
  7246. "marketid": {
  7247. "description": "市场ID",
  7248. "type": "integer"
  7249. },
  7250. "remark": {
  7251. "description": "备注",
  7252. "type": "string"
  7253. },
  7254. "spotquota": {
  7255. "description": "现货额度",
  7256. "type": "number"
  7257. },
  7258. "tradedate": {
  7259. "description": "交易日(yyyyMMdd)",
  7260. "type": "string"
  7261. },
  7262. "userid": {
  7263. "description": "所属机构",
  7264. "type": "integer"
  7265. }
  7266. }
  7267. },
  7268. "erms3.AddErms2SpotTradeApplyReq": {
  7269. "type": "object",
  7270. "required": [
  7271. "spottradeid"
  7272. ],
  7273. "properties": {
  7274. "applyjsondetail": {
  7275. "description": "申请明细(JSON)",
  7276. "type": "string"
  7277. },
  7278. "applystatus": {
  7279. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7280. "type": "integer"
  7281. },
  7282. "areauserid": {
  7283. "description": "所属机构",
  7284. "type": "integer"
  7285. },
  7286. "auditid": {
  7287. "description": "审核人",
  7288. "type": "integer"
  7289. },
  7290. "auditremark": {
  7291. "description": "审核备注",
  7292. "type": "string"
  7293. },
  7294. "audittime": {
  7295. "description": "审核时间",
  7296. "type": "string"
  7297. },
  7298. "createtime": {
  7299. "description": "创建时间",
  7300. "type": "string"
  7301. },
  7302. "creatorid": {
  7303. "description": "创建人",
  7304. "type": "integer"
  7305. },
  7306. "deliverygoodsid": {
  7307. "description": "现货品种ID",
  7308. "type": "integer"
  7309. },
  7310. "futureaccountid": {
  7311. "description": "期货资金账户",
  7312. "type": "integer"
  7313. },
  7314. "goodsgroupid": {
  7315. "description": "期货品种",
  7316. "type": "integer"
  7317. },
  7318. "marketid": {
  7319. "description": "市场ID",
  7320. "type": "integer"
  7321. },
  7322. "remark": {
  7323. "description": "备注",
  7324. "type": "string"
  7325. },
  7326. "spotaccountid": {
  7327. "description": "现货资金账户",
  7328. "type": "integer"
  7329. },
  7330. "spottradeid": {
  7331. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  7332. "type": "integer"
  7333. },
  7334. "spottradename": {
  7335. "description": "业务名称",
  7336. "type": "string"
  7337. },
  7338. "spottradeno": {
  7339. "description": "业务编号",
  7340. "type": "string"
  7341. },
  7342. "tradedate": {
  7343. "description": "交易日(yyyyMMdd)",
  7344. "type": "string"
  7345. },
  7346. "wrstandardid": {
  7347. "description": "仓单标准ID",
  7348. "type": "integer"
  7349. }
  7350. }
  7351. },
  7352. "erms3.AddSpotContractApplyReq": {
  7353. "type": "object",
  7354. "required": [
  7355. "accountid",
  7356. "areauserid",
  7357. "contractno",
  7358. "contracttype",
  7359. "customeraccountid",
  7360. "customeruserid",
  7361. "details",
  7362. "orimargin",
  7363. "signdate"
  7364. ],
  7365. "properties": {
  7366. "accountid": {
  7367. "description": "资金账户ID",
  7368. "type": "integer"
  7369. },
  7370. "areauserid": {
  7371. "description": "所属机构",
  7372. "type": "integer"
  7373. },
  7374. "contractattachment": {
  7375. "description": "合同附件",
  7376. "type": "string"
  7377. },
  7378. "contractno": {
  7379. "description": "现货合同编号",
  7380. "type": "string"
  7381. },
  7382. "contracttype": {
  7383. "description": "现货合同类型 - 1:采购 -1:销售",
  7384. "type": "integer"
  7385. },
  7386. "creatorid": {
  7387. "description": "申请人",
  7388. "type": "integer"
  7389. },
  7390. "customeraccountid": {
  7391. "description": "客户资金账户ID",
  7392. "type": "integer"
  7393. },
  7394. "customeruserid": {
  7395. "description": "客户ID",
  7396. "type": "integer"
  7397. },
  7398. "details": {
  7399. "description": "明细",
  7400. "type": "array",
  7401. "items": {
  7402. "$ref": "#/definitions/erms3.SoptContractDetail"
  7403. }
  7404. },
  7405. "orimargin": {
  7406. "description": "初始保证金",
  7407. "type": "number"
  7408. },
  7409. "remark": {
  7410. "description": "备注",
  7411. "type": "string"
  7412. },
  7413. "signdate": {
  7414. "description": "签订日期",
  7415. "type": "string"
  7416. }
  7417. }
  7418. },
  7419. "erms3.AddSpotContractApplyRsp": {
  7420. "type": "object",
  7421. "required": [
  7422. "contractno"
  7423. ],
  7424. "properties": {
  7425. "contractno": {
  7426. "description": "现货合同编号",
  7427. "type": "string"
  7428. },
  7429. "spotcontractid": {
  7430. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  7431. "type": "integer"
  7432. }
  7433. }
  7434. },
  7435. "erms3.AddUserInfoApplyReq": {
  7436. "type": "object",
  7437. "required": [
  7438. "userid"
  7439. ],
  7440. "properties": {
  7441. "accountid": {
  7442. "description": "交易系统帐号Id (加密存储)",
  7443. "type": "integer"
  7444. },
  7445. "areacode": {
  7446. "description": "机构代码",
  7447. "type": "string"
  7448. },
  7449. "areaid": {
  7450. "description": "机构Id",
  7451. "type": "integer"
  7452. },
  7453. "attachment1": {
  7454. "description": "附件1",
  7455. "type": "string"
  7456. },
  7457. "attachment2": {
  7458. "description": "附件2",
  7459. "type": "string"
  7460. },
  7461. "attachment3": {
  7462. "description": "附件3",
  7463. "type": "string"
  7464. },
  7465. "attachment4": {
  7466. "description": "附件4",
  7467. "type": "string"
  7468. },
  7469. "attachment5": {
  7470. "description": "附件5",
  7471. "type": "string"
  7472. },
  7473. "auditedby": {
  7474. "description": "审核人",
  7475. "type": "string"
  7476. },
  7477. "auditime": {
  7478. "description": "审核时间",
  7479. "type": "string"
  7480. },
  7481. "bankaccount": {
  7482. "description": "银行帐号 (加密存储)",
  7483. "type": "string"
  7484. },
  7485. "bankaccountname": {
  7486. "description": "收款人名称",
  7487. "type": "string"
  7488. },
  7489. "bankcardbackphotourl": {
  7490. "description": "银行卡背面照地址",
  7491. "type": "string"
  7492. },
  7493. "bankcardfrontphotourl": {
  7494. "description": "银行卡正面照地址",
  7495. "type": "string"
  7496. },
  7497. "bankid": {
  7498. "description": "银行编码",
  7499. "type": "string"
  7500. },
  7501. "bankname": {
  7502. "description": "银行名称",
  7503. "type": "string"
  7504. },
  7505. "bankpictureurl": {
  7506. "description": "银行卡正面地址",
  7507. "type": "string"
  7508. },
  7509. "biznature": {
  7510. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7511. "type": "integer"
  7512. },
  7513. "bizscope": {
  7514. "description": "企业经营范围(企业)",
  7515. "type": "string"
  7516. },
  7517. "biztype": {
  7518. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7519. "type": "integer"
  7520. },
  7521. "brokerid": {
  7522. "description": "经纪人ID(加密存储)",
  7523. "type": "string"
  7524. },
  7525. "cardaddress": {
  7526. "description": "证件地址 (加密存储)",
  7527. "type": "string"
  7528. },
  7529. "cardbackphotourl": {
  7530. "description": "背面证件照地址",
  7531. "type": "string"
  7532. },
  7533. "cardfrontphotourl": {
  7534. "description": "正面证件照地址",
  7535. "type": "string"
  7536. },
  7537. "cardnum": {
  7538. "description": "证件号码 (加密存储)",
  7539. "type": "string"
  7540. },
  7541. "cardtype": {
  7542. "description": "证件类型",
  7543. "type": "integer"
  7544. },
  7545. "cityid": {
  7546. "description": "市",
  7547. "type": "integer"
  7548. },
  7549. "company": {
  7550. "description": "公司(个人)",
  7551. "type": "string"
  7552. },
  7553. "contactcardbackphotourl": {
  7554. "description": "联系人证件背面图片地址",
  7555. "type": "string"
  7556. },
  7557. "contactcardfrontphotourl": {
  7558. "description": "联系人证件正面图片地址",
  7559. "type": "string"
  7560. },
  7561. "contactname": {
  7562. "description": "联系人",
  7563. "type": "string"
  7564. },
  7565. "countryid": {
  7566. "description": "国家",
  7567. "type": "integer"
  7568. },
  7569. "createtime": {
  7570. "description": "开户申请时间",
  7571. "type": "string"
  7572. },
  7573. "cusbankid": {
  7574. "description": "签约类型",
  7575. "type": "string"
  7576. },
  7577. "cusbankname": {
  7578. "description": "签约类型名称",
  7579. "type": "string"
  7580. },
  7581. "customername": {
  7582. "description": "客户名称(企业名称)",
  7583. "type": "string"
  7584. },
  7585. "districtid": {
  7586. "description": "地区",
  7587. "type": "integer"
  7588. },
  7589. "email": {
  7590. "description": "Email地址(加密存储)",
  7591. "type": "string"
  7592. },
  7593. "halfbodyphotourl": {
  7594. "description": "半身照地址",
  7595. "type": "string"
  7596. },
  7597. "headurl": {
  7598. "description": "头像地址",
  7599. "type": "string"
  7600. },
  7601. "ipaddress": {
  7602. "description": "IP地址",
  7603. "type": "string"
  7604. },
  7605. "isvalidate": {
  7606. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7607. "type": "string"
  7608. },
  7609. "legalcardbackphotourl": {
  7610. "description": "法人身份证背面照地址",
  7611. "type": "string"
  7612. },
  7613. "legalcardfrontphotourl": {
  7614. "description": "法人身份证正面照地址",
  7615. "type": "string"
  7616. },
  7617. "legalpersonname": {
  7618. "description": "法人姓名(企业)",
  7619. "type": "string"
  7620. },
  7621. "logincode": {
  7622. "description": "登录帐号 (加密存储)",
  7623. "type": "string"
  7624. },
  7625. "memberareaid": {
  7626. "description": "所属会员ID",
  7627. "type": "integer"
  7628. },
  7629. "mobile2": {
  7630. "description": "手机号码[明文-尚志]",
  7631. "type": "string"
  7632. },
  7633. "mobilephone": {
  7634. "description": "手机号码 (加密存储)",
  7635. "type": "string"
  7636. },
  7637. "modifiedby": {
  7638. "description": "修改人帐号",
  7639. "type": "integer"
  7640. },
  7641. "modifiedtime": {
  7642. "description": "修改时间",
  7643. "type": "string"
  7644. },
  7645. "nickname": {
  7646. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7647. "type": "string"
  7648. },
  7649. "openmode": {
  7650. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7651. "type": "integer"
  7652. },
  7653. "otherurl": {
  7654. "description": "其它图片地址[使用分号分隔]",
  7655. "type": "string"
  7656. },
  7657. "postalcode": {
  7658. "description": "邮政编码",
  7659. "type": "string"
  7660. },
  7661. "provinceid": {
  7662. "description": "省",
  7663. "type": "integer"
  7664. },
  7665. "proxystatementurl": {
  7666. "description": "授权委托书",
  7667. "type": "string"
  7668. },
  7669. "qq": {
  7670. "description": "QQ(加密存储",
  7671. "type": "string"
  7672. },
  7673. "referral": {
  7674. "description": "推荐人编码",
  7675. "type": "string"
  7676. },
  7677. "remark": {
  7678. "description": "备注",
  7679. "type": "string"
  7680. },
  7681. "removebeforestatus": {
  7682. "description": "REMOVEBEFORESTATUS",
  7683. "type": "integer"
  7684. },
  7685. "sex": {
  7686. "description": "性别 - 0:女 1:男",
  7687. "type": "integer"
  7688. },
  7689. "signedstatus": {
  7690. "description": "账户一号签签约状态",
  7691. "type": "integer"
  7692. },
  7693. "signpdfurl": {
  7694. "description": "签约pdf文件",
  7695. "type": "string"
  7696. },
  7697. "subbranch": {
  7698. "description": "开户支行",
  7699. "type": "string"
  7700. },
  7701. "telphone": {
  7702. "description": "联系电话(加密存储)",
  7703. "type": "string"
  7704. },
  7705. "userid": {
  7706. "description": "用户ID(自增ID)",
  7707. "type": "integer"
  7708. },
  7709. "userinfotype": {
  7710. "description": "用户信息类型 - 1:个人 2:企业",
  7711. "type": "integer"
  7712. },
  7713. "username": {
  7714. "description": "用户姓名",
  7715. "type": "string"
  7716. },
  7717. "userstate": {
  7718. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7719. "type": "integer"
  7720. },
  7721. "usertype": {
  7722. "description": "用户类型 - 1:投资者 2:机构",
  7723. "type": "integer"
  7724. },
  7725. "videourl": {
  7726. "description": "视频地址",
  7727. "type": "string"
  7728. },
  7729. "wechat": {
  7730. "description": "微信号 (加密存储)",
  7731. "type": "string"
  7732. }
  7733. }
  7734. },
  7735. "erms3.CustomerInfo": {
  7736. "type": "object",
  7737. "required": [
  7738. "userid"
  7739. ],
  7740. "properties": {
  7741. "accountids": {
  7742. "description": "资金账户ID列表",
  7743. "type": "array",
  7744. "items": {
  7745. "type": "integer"
  7746. }
  7747. },
  7748. "customername": {
  7749. "description": "名称(企业名称)",
  7750. "type": "string"
  7751. },
  7752. "mobile": {
  7753. "description": "手机号码",
  7754. "type": "string"
  7755. },
  7756. "userid": {
  7757. "description": "用户ID",
  7758. "type": "integer"
  7759. }
  7760. }
  7761. },
  7762. "erms3.QryAuditContractRsp": {
  7763. "type": "object",
  7764. "required": [
  7765. "matchcustomername",
  7766. "spotcontractid"
  7767. ],
  7768. "properties": {
  7769. "accountid": {
  7770. "description": "交易员ID",
  7771. "type": "string"
  7772. },
  7773. "applystatus": {
  7774. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7775. "type": "integer"
  7776. },
  7777. "curdeliveryqty": {
  7778. "description": "未交收量",
  7779. "type": "integer"
  7780. },
  7781. "customername": {
  7782. "description": "采购方ID",
  7783. "type": "string"
  7784. },
  7785. "deliverygoodsid": {
  7786. "description": "品种ID",
  7787. "type": "string"
  7788. },
  7789. "deliveryqty": {
  7790. "description": "交收量",
  7791. "type": "integer"
  7792. },
  7793. "enumdicname": {
  7794. "description": "单位名称",
  7795. "type": "string"
  7796. },
  7797. "matchaccountid": {
  7798. "description": "业务员ID",
  7799. "type": "string"
  7800. },
  7801. "matchcustomername": {
  7802. "description": "销售方ID",
  7803. "type": "string"
  7804. },
  7805. "pricedqty": {
  7806. "description": "定价量",
  7807. "type": "number"
  7808. },
  7809. "signdate": {
  7810. "description": "签订日期",
  7811. "type": "string"
  7812. },
  7813. "spotcontractid": {
  7814. "description": "合同ID",
  7815. "type": "string"
  7816. },
  7817. "totaldqty": {
  7818. "description": "合同量",
  7819. "type": "number"
  7820. },
  7821. "unpricedqty": {
  7822. "description": "未定价量",
  7823. "type": "number"
  7824. },
  7825. "wrstandardname": {
  7826. "description": "商品名称",
  7827. "type": "string"
  7828. }
  7829. }
  7830. },
  7831. "erms3.QryPendingBizRsp": {
  7832. "$ref": "#/definitions/models.PendingAuditBizModel"
  7833. },
  7834. "erms3.QueryBusinessInfoRsp": {
  7835. "type": "object",
  7836. "properties": {
  7837. "businessid": {
  7838. "description": "业务ID.",
  7839. "type": "integer"
  7840. },
  7841. "buyamount": {
  7842. "description": "采购额.",
  7843. "type": "number"
  7844. },
  7845. "buyqty": {
  7846. "description": "采购量.",
  7847. "type": "string"
  7848. },
  7849. "futurepl": {
  7850. "description": "期货盈亏.",
  7851. "type": "number"
  7852. },
  7853. "futureqty": {
  7854. "description": "期货敞口.",
  7855. "type": "string"
  7856. },
  7857. "goodsid": {
  7858. "description": "商品名称/商品代码.",
  7859. "type": "string"
  7860. },
  7861. "hedgingqty": {
  7862. "description": "套保量.",
  7863. "type": "string"
  7864. },
  7865. "sellamount": {
  7866. "description": "销售额.",
  7867. "type": "number"
  7868. },
  7869. "sellqty": {
  7870. "description": "销售量.",
  7871. "type": "string"
  7872. },
  7873. "spotmarketvalue": {
  7874. "description": "现货市值.",
  7875. "type": "number"
  7876. },
  7877. "spotpl": {
  7878. "description": "浮动权益.",
  7879. "type": "number"
  7880. },
  7881. "spotqty": {
  7882. "description": "现货量.",
  7883. "type": "string"
  7884. },
  7885. "statu": {
  7886. "description": "状态,0-未结束 1-已结束.",
  7887. "type": "integer"
  7888. },
  7889. "totalpl": {
  7890. "description": "总盈亏.",
  7891. "type": "number"
  7892. },
  7893. "totalqty": {
  7894. "description": "总敞口.",
  7895. "type": "string"
  7896. },
  7897. "type": {
  7898. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7899. "type": "integer"
  7900. }
  7901. }
  7902. },
  7903. "erms3.QuerySpotContractAppleFormRsp": {
  7904. "type": "object",
  7905. "properties": {
  7906. "goodses": {
  7907. "description": "合约列表",
  7908. "type": "array",
  7909. "items": {
  7910. "$ref": "#/definitions/models.GoodsIDAndName"
  7911. }
  7912. },
  7913. "oppositeusers": {
  7914. "description": "对方账号列表",
  7915. "type": "array",
  7916. "items": {
  7917. "$ref": "#/definitions/erms3.CustomerInfo"
  7918. }
  7919. },
  7920. "ouruser": {
  7921. "description": "我方账号",
  7922. "type": "object",
  7923. "$ref": "#/definitions/erms3.CustomerInfo"
  7924. },
  7925. "warehouseinfos": {
  7926. "description": "仓库信息列表",
  7927. "type": "array",
  7928. "items": {
  7929. "$ref": "#/definitions/models.Warehouseinfo"
  7930. }
  7931. },
  7932. "wrstandards": {
  7933. "description": "仓单标准列表",
  7934. "type": "array",
  7935. "items": {
  7936. "$ref": "#/definitions/models.WRStandardInfo"
  7937. }
  7938. }
  7939. }
  7940. },
  7941. "erms3.QuerySpotContractInfoRsp": {
  7942. "type": "object",
  7943. "properties": {
  7944. "accountid": {
  7945. "description": "表示交易员ID.",
  7946. "type": "integer"
  7947. },
  7948. "curdeliveryqty": {
  7949. "description": "表示未交收量.",
  7950. "type": "number"
  7951. },
  7952. "customername": {
  7953. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7954. "type": "string"
  7955. },
  7956. "deliverygoodsid": {
  7957. "description": "表示品种ID.",
  7958. "type": "string"
  7959. },
  7960. "deliveryqty": {
  7961. "description": "表示交收量.",
  7962. "type": "number"
  7963. },
  7964. "matchaccountid": {
  7965. "description": "表示业务员ID.",
  7966. "type": "integer"
  7967. },
  7968. "matchcustomername": {
  7969. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7970. "type": "string"
  7971. },
  7972. "priceqty": {
  7973. "description": "表示定价量.",
  7974. "type": "number"
  7975. },
  7976. "relatedbizid": {
  7977. "description": "表示业务ID.",
  7978. "type": "string"
  7979. },
  7980. "signdate": {
  7981. "description": "表示签订日期.",
  7982. "type": "string"
  7983. },
  7984. "spotcontractid": {
  7985. "description": "合同ID",
  7986. "type": "string"
  7987. },
  7988. "status": {
  7989. "description": "表示状态,0-履约中 1-已完成.",
  7990. "type": "integer"
  7991. },
  7992. "totalqty": {
  7993. "description": "表示合同量.",
  7994. "type": "number"
  7995. },
  7996. "unpricedqty": {
  7997. "description": "表示未定价量.",
  7998. "type": "number"
  7999. },
  8000. "wrstandardname": {
  8001. "description": "表示商品ID.",
  8002. "type": "string"
  8003. }
  8004. }
  8005. },
  8006. "erms3.QueryUserInfoAppliesRsp": {
  8007. "type": "object",
  8008. "required": [
  8009. "userid"
  8010. ],
  8011. "properties": {
  8012. "biznature": {
  8013. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8014. "type": "integer"
  8015. },
  8016. "contactname": {
  8017. "description": "联系人",
  8018. "type": "string"
  8019. },
  8020. "createtime": {
  8021. "description": "开户申请时间",
  8022. "type": "string"
  8023. },
  8024. "userid": {
  8025. "description": "用户ID(自增ID)",
  8026. "type": "integer"
  8027. },
  8028. "userinfotype": {
  8029. "description": "用户信息类型 - 1:个人 2:企业",
  8030. "type": "integer"
  8031. },
  8032. "username": {
  8033. "description": "用户姓名",
  8034. "type": "string"
  8035. },
  8036. "userstate": {
  8037. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  8038. "type": "integer"
  8039. }
  8040. }
  8041. },
  8042. "erms3.QueryUserInfosRsp": {
  8043. "type": "object",
  8044. "required": [
  8045. "userid"
  8046. ],
  8047. "properties": {
  8048. "biznature": {
  8049. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8050. "type": "integer"
  8051. },
  8052. "contactname": {
  8053. "description": "联系人",
  8054. "type": "string"
  8055. },
  8056. "customername": {
  8057. "description": "客户名称(企业名称)",
  8058. "type": "string"
  8059. },
  8060. "userid": {
  8061. "description": "用户ID",
  8062. "type": "integer"
  8063. },
  8064. "userinfotype": {
  8065. "description": "用户信息类型 - 1:个人 2:企业",
  8066. "type": "integer"
  8067. },
  8068. "userstatus": {
  8069. "description": "用户状态 - 1:正常 2:注销",
  8070. "type": "integer"
  8071. }
  8072. }
  8073. },
  8074. "erms3.SoptContractDetail": {
  8075. "type": "object",
  8076. "required": [
  8077. "deliverygoodsid",
  8078. "producttype",
  8079. "unitname",
  8080. "warehouseid",
  8081. "wrstandardid",
  8082. "wrstandardname"
  8083. ],
  8084. "properties": {
  8085. "deliverygoodsdesc": {
  8086. "description": "现货品种说明",
  8087. "type": "string"
  8088. },
  8089. "deliverygoodsid": {
  8090. "description": "现货品种ID",
  8091. "type": "integer"
  8092. },
  8093. "deliverygoodsname": {
  8094. "description": "现货品种名称",
  8095. "type": "string"
  8096. },
  8097. "pointdesc": {
  8098. "description": "点价描述",
  8099. "type": "string"
  8100. },
  8101. "producttype": {
  8102. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  8103. "type": "integer"
  8104. },
  8105. "producttypename": {
  8106. "description": "产品类型名称",
  8107. "type": "string"
  8108. },
  8109. "spotPointOrderVoList": {
  8110. "description": "点价列表",
  8111. "type": "array",
  8112. "items": {
  8113. "$ref": "#/definitions/erms3.SpotPointOrder"
  8114. }
  8115. },
  8116. "spotPriceOrderList": {
  8117. "description": "定价列表",
  8118. "type": "array",
  8119. "items": {
  8120. "$ref": "#/definitions/erms3.SpotPriceOrder"
  8121. }
  8122. },
  8123. "unitname": {
  8124. "description": "单位名称",
  8125. "type": "string"
  8126. },
  8127. "warehouseid": {
  8128. "description": "仓库ID",
  8129. "type": "integer"
  8130. },
  8131. "warehousename": {
  8132. "description": "仓库名称",
  8133. "type": "string"
  8134. },
  8135. "wrstandardid": {
  8136. "description": "交易标的ID",
  8137. "type": "integer"
  8138. },
  8139. "wrstandardname": {
  8140. "description": "交易标的名称",
  8141. "type": "string"
  8142. }
  8143. }
  8144. },
  8145. "erms3.SpotPointOrder": {
  8146. "type": "object",
  8147. "required": [
  8148. "basic",
  8149. "goodsid",
  8150. "qty"
  8151. ],
  8152. "properties": {
  8153. "basic": {
  8154. "description": "基差",
  8155. "type": "number"
  8156. },
  8157. "deliveryenddate": {
  8158. "description": "交收结束日期",
  8159. "type": "string"
  8160. },
  8161. "deliverystartdate": {
  8162. "description": "交收开始日期",
  8163. "type": "string"
  8164. },
  8165. "enddate": {
  8166. "description": "点价结束日期",
  8167. "type": "string"
  8168. },
  8169. "goodsid": {
  8170. "description": "商品ID",
  8171. "type": "integer"
  8172. },
  8173. "goodsname": {
  8174. "description": "商品名称",
  8175. "type": "string"
  8176. },
  8177. "qty": {
  8178. "description": "数量",
  8179. "type": "number"
  8180. },
  8181. "startdate": {
  8182. "description": "点价开始日期",
  8183. "type": "string"
  8184. }
  8185. }
  8186. },
  8187. "erms3.SpotPriceOrder": {
  8188. "type": "object",
  8189. "required": [
  8190. "amount",
  8191. "price",
  8192. "qty"
  8193. ],
  8194. "properties": {
  8195. "amount": {
  8196. "description": "金额",
  8197. "type": "number"
  8198. },
  8199. "deliveryenddate": {
  8200. "description": "交收结束日期",
  8201. "type": "string"
  8202. },
  8203. "deliverystartdate": {
  8204. "description": "交收开始日期",
  8205. "type": "string"
  8206. },
  8207. "price": {
  8208. "description": "价格",
  8209. "type": "number"
  8210. },
  8211. "qty": {
  8212. "description": "数量",
  8213. "type": "number"
  8214. }
  8215. }
  8216. },
  8217. "hsby.GetHsbyMyCountRsp": {
  8218. "type": "object",
  8219. "properties": {
  8220. "myCouponCount": {
  8221. "description": "我的优惠卷数量",
  8222. "type": "integer"
  8223. },
  8224. "myOrderDetailListingCount": {
  8225. "description": "我的订单求购中数量",
  8226. "type": "integer"
  8227. },
  8228. "myOrderDetailPreCount": {
  8229. "description": "我的订单抢购中数量",
  8230. "type": "integer"
  8231. },
  8232. "myPackageUnReceiveCount": {
  8233. "description": "我的包裹待收货数量",
  8234. "type": "integer"
  8235. },
  8236. "myPackageUnSendCount": {
  8237. "description": "我的包裹待发货数量",
  8238. "type": "integer"
  8239. },
  8240. "myPayOrderCount": {
  8241. "description": "我的订单待付款数量",
  8242. "type": "integer"
  8243. }
  8244. }
  8245. },
  8246. "hsby.QueryProvincesAndCitiesRsp": {
  8247. "type": "object",
  8248. "properties": {
  8249. "cities": {
  8250. "description": "市",
  8251. "type": "array",
  8252. "items": {
  8253. "$ref": "#/definitions/models.Division"
  8254. }
  8255. },
  8256. "province": {
  8257. "description": "省",
  8258. "type": "object",
  8259. "$ref": "#/definitions/models.Division"
  8260. }
  8261. }
  8262. },
  8263. "models.AreaSpotModel": {
  8264. "type": "object",
  8265. "properties": {
  8266. "areauserid": {
  8267. "description": "所属机构",
  8268. "type": "integer"
  8269. },
  8270. "decreaseqty": {
  8271. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  8272. "type": "number"
  8273. },
  8274. "increaseqty": {
  8275. "description": "增加数量=销售计划数量+采购已定价数量",
  8276. "type": "number"
  8277. },
  8278. "oritoalspotqty": {
  8279. "description": "昨日数量",
  8280. "type": "number"
  8281. },
  8282. "totalspotqty": {
  8283. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  8284. "type": "number"
  8285. },
  8286. "updatetime": {
  8287. "description": "更新时间",
  8288. "type": "string"
  8289. },
  8290. "wrstandardcode": {
  8291. "description": "现货品种代码",
  8292. "type": "string"
  8293. },
  8294. "wrstandardid": {
  8295. "description": "现货商品ID",
  8296. "type": "integer"
  8297. },
  8298. "wrstandardname": {
  8299. "description": "现货品种",
  8300. "type": "string"
  8301. }
  8302. }
  8303. },
  8304. "models.Clientfixedadconfig": {
  8305. "type": "object",
  8306. "required": [
  8307. "adsort",
  8308. "adtype"
  8309. ],
  8310. "properties": {
  8311. "adsort": {
  8312. "description": "排序",
  8313. "type": "integer"
  8314. },
  8315. "adtype": {
  8316. "description": "广告位类型 - 1:新品抢购(HSBY)",
  8317. "type": "integer"
  8318. },
  8319. "areauserid": {
  8320. "description": "所属机构ID",
  8321. "type": "integer"
  8322. },
  8323. "createdate": {
  8324. "description": "创建时间",
  8325. "type": "string"
  8326. },
  8327. "creatorid": {
  8328. "description": "创建人",
  8329. "type": "integer"
  8330. },
  8331. "imagepath": {
  8332. "description": "图片",
  8333. "type": "string"
  8334. },
  8335. "isshow": {
  8336. "description": "是否展示 - 0:不展示 1:展示",
  8337. "type": "integer"
  8338. },
  8339. "modifierid": {
  8340. "description": "操作人",
  8341. "type": "integer"
  8342. },
  8343. "recsize": {
  8344. "description": "推荐尺寸",
  8345. "type": "string"
  8346. },
  8347. "title": {
  8348. "description": "标题",
  8349. "type": "string"
  8350. },
  8351. "updatedate": {
  8352. "description": "更新时间",
  8353. "type": "string"
  8354. },
  8355. "urlcontent": {
  8356. "description": "链接(地址或商品ID)",
  8357. "type": "string"
  8358. },
  8359. "urltype": {
  8360. "description": "链接类型 - 1:直接地址 2:商品ID",
  8361. "type": "integer"
  8362. }
  8363. }
  8364. },
  8365. "models.Division": {
  8366. "type": "object",
  8367. "required": [
  8368. "autoid",
  8369. "divisioncode"
  8370. ],
  8371. "properties": {
  8372. "autoid": {
  8373. "description": "自增ID",
  8374. "type": "integer"
  8375. },
  8376. "divisioncode": {
  8377. "description": "行政代码",
  8378. "type": "string"
  8379. },
  8380. "divisionlevel": {
  8381. "description": "行政级别",
  8382. "type": "string"
  8383. },
  8384. "divisionname": {
  8385. "description": "行政名称",
  8386. "type": "string"
  8387. },
  8388. "modifierid": {
  8389. "description": "修改人",
  8390. "type": "integer"
  8391. },
  8392. "modifytime": {
  8393. "description": "修改时间",
  8394. "type": "string"
  8395. },
  8396. "parentcode": {
  8397. "description": "上级行政代码",
  8398. "type": "string"
  8399. },
  8400. "pathname": {
  8401. "description": "路径名称",
  8402. "type": "string"
  8403. },
  8404. "postcode": {
  8405. "description": "邮政编码",
  8406. "type": "string"
  8407. },
  8408. "separablename": {
  8409. "description": "可拆分的全称",
  8410. "type": "string"
  8411. },
  8412. "shortcode": {
  8413. "description": "地区简码",
  8414. "type": "string"
  8415. }
  8416. }
  8417. },
  8418. "models.Enumdicitem": {
  8419. "type": "object",
  8420. "required": [
  8421. "autoid",
  8422. "enumdiccode",
  8423. "enumdicid",
  8424. "enumitemname"
  8425. ],
  8426. "properties": {
  8427. "autoid": {
  8428. "description": "自增ID",
  8429. "type": "integer"
  8430. },
  8431. "bankmappedvalue": {
  8432. "description": "银行服务对应值",
  8433. "type": "string"
  8434. },
  8435. "enumdiccode": {
  8436. "description": "所属枚举代码",
  8437. "type": "string"
  8438. },
  8439. "enumdicid": {
  8440. "description": "所属枚举ID",
  8441. "type": "integer"
  8442. },
  8443. "enumdicname": {
  8444. "description": "枚举项名称",
  8445. "type": "string"
  8446. },
  8447. "enumitemname": {
  8448. "description": "枚举项值",
  8449. "type": "integer"
  8450. },
  8451. "enumitemstatus": {
  8452. "description": "枚举项状态 - 1.启用 2.不启用",
  8453. "type": "integer"
  8454. },
  8455. "enumitemvalue": {
  8456. "description": "通用值 - [币种通用简写]",
  8457. "type": "string"
  8458. },
  8459. "param1": {
  8460. "description": "参数1[币种:币种小数位]",
  8461. "type": "string"
  8462. },
  8463. "param2": {
  8464. "description": "参数1[币种:币种显示单位]",
  8465. "type": "string"
  8466. },
  8467. "remark": {
  8468. "description": "备注",
  8469. "type": "string"
  8470. }
  8471. }
  8472. },
  8473. "models.ErmcpAreaSpotDetailModel": {
  8474. "type": "object",
  8475. "properties": {
  8476. "contracttype": {
  8477. "description": "合同类型 1-采购 -1-销售",
  8478. "type": "integer"
  8479. },
  8480. "enumdicname": {
  8481. "description": "现货商品单位名称",
  8482. "type": "string"
  8483. },
  8484. "logtype": {
  8485. "description": "记录类型 1-套保 2-现货合同",
  8486. "type": "integer"
  8487. },
  8488. "qty": {
  8489. "description": "数量",
  8490. "type": "number"
  8491. },
  8492. "recordname": {
  8493. "description": "类型名称",
  8494. "type": "string"
  8495. },
  8496. "relatedid": {
  8497. "description": "套保计划ID/现货合同ID",
  8498. "type": "string"
  8499. },
  8500. "relatedno": {
  8501. "description": "编号",
  8502. "type": "string"
  8503. },
  8504. "strtime": {
  8505. "description": "时间",
  8506. "type": "string"
  8507. },
  8508. "wrstandardcode": {
  8509. "description": "现货商品代码",
  8510. "type": "string"
  8511. },
  8512. "wrstandardname": {
  8513. "description": "现货商品名称",
  8514. "type": "string"
  8515. }
  8516. }
  8517. },
  8518. "models.ErmcpAvalidGoodsGroupModel": {
  8519. "type": "object",
  8520. "properties": {
  8521. "goodsgroupid": {
  8522. "description": "期货品种id",
  8523. "type": "integer"
  8524. },
  8525. "goodsgroupname": {
  8526. "description": "期货品种名称",
  8527. "type": "string"
  8528. },
  8529. "goodunitid": {
  8530. "description": "品种单位id",
  8531. "type": "integer"
  8532. },
  8533. "goodunitname": {
  8534. "description": "品种单位名称",
  8535. "type": "string"
  8536. },
  8537. "outergroupcode": {
  8538. "description": "期货品种代码",
  8539. "type": "string"
  8540. }
  8541. }
  8542. },
  8543. "models.ErmcpExposureDetailModel": {
  8544. "type": "object",
  8545. "properties": {
  8546. "areauserid": {
  8547. "description": "机构ID",
  8548. "type": "integer"
  8549. },
  8550. "changeQty": {
  8551. "description": "套保变动量",
  8552. "type": "number"
  8553. },
  8554. "contracttype": {
  8555. "description": "现货合同类型 - 1:采购 -1:销售",
  8556. "type": "integer"
  8557. },
  8558. "convertfactor": {
  8559. "description": "标仓系数",
  8560. "type": "number"
  8561. },
  8562. "convertratio": {
  8563. "description": "套保系数",
  8564. "type": "number"
  8565. },
  8566. "createtime": {
  8567. "description": "时间",
  8568. "type": "string"
  8569. },
  8570. "enumdicname": {
  8571. "description": "现货商品单位名称",
  8572. "type": "string"
  8573. },
  8574. "logtype": {
  8575. "description": "类型 - 1:套保计划 2:现货合同",
  8576. "type": "integer"
  8577. },
  8578. "middlegoodsId": {
  8579. "description": "套保商品id",
  8580. "type": "integer"
  8581. },
  8582. "middlegoodscode": {
  8583. "description": "套保商品代码",
  8584. "type": "string"
  8585. },
  8586. "middlegoodsname": {
  8587. "description": "套保商品名称",
  8588. "type": "string"
  8589. },
  8590. "qty": {
  8591. "description": "数量",
  8592. "type": "number"
  8593. },
  8594. "relateNo": {
  8595. "description": "现货合同/套保计划编号",
  8596. "type": "string"
  8597. },
  8598. "wrstandardcode": {
  8599. "description": "现货商品代码",
  8600. "type": "string"
  8601. },
  8602. "wrstandardid": {
  8603. "description": "现货商品ID",
  8604. "type": "integer"
  8605. },
  8606. "wrstandardname": {
  8607. "description": "现货商品名称",
  8608. "type": "string"
  8609. }
  8610. }
  8611. },
  8612. "models.ErmcpExposurePostion": {
  8613. "type": "object",
  8614. "properties": {
  8615. "areauserid": {
  8616. "description": "所属机构id",
  8617. "type": "integer"
  8618. },
  8619. "curqty": {
  8620. "description": "当前持仓",
  8621. "type": "integer"
  8622. },
  8623. "diffhedgeqty": {
  8624. "description": "套保品种变动量",
  8625. "type": "number"
  8626. },
  8627. "diffqty": {
  8628. "description": "持仓变动量",
  8629. "type": "integer"
  8630. },
  8631. "goodscode": {
  8632. "description": "商品代码",
  8633. "type": "string"
  8634. },
  8635. "goodsid": {
  8636. "description": "商品id",
  8637. "type": "integer"
  8638. },
  8639. "goodsname": {
  8640. "description": "商品名称",
  8641. "type": "string"
  8642. },
  8643. "middlegoodsid": {
  8644. "description": "套保商品id",
  8645. "type": "integer"
  8646. },
  8647. "ydqty": {
  8648. "description": "昨日持仓",
  8649. "type": "integer"
  8650. }
  8651. }
  8652. },
  8653. "models.ErmcpGGConvertCfg": {
  8654. "type": "object",
  8655. "properties": {
  8656. "convertratio": {
  8657. "description": "折算系数",
  8658. "type": "number"
  8659. },
  8660. "destgoodsgroupid": {
  8661. "description": "目标品种ID",
  8662. "type": "integer"
  8663. },
  8664. "dstcode": {
  8665. "description": "目录品种代码",
  8666. "type": "string"
  8667. },
  8668. "dstname": {
  8669. "description": "目标品种名称",
  8670. "type": "string"
  8671. },
  8672. "dstunitid": {
  8673. "description": "目标品种单位ID",
  8674. "type": "integer"
  8675. },
  8676. "dstunitidname": {
  8677. "description": "目标品种单位名称",
  8678. "type": "string"
  8679. },
  8680. "srccode": {
  8681. "description": "源品种代码",
  8682. "type": "string"
  8683. },
  8684. "srcgoodsgroupid": {
  8685. "description": "源品种ID",
  8686. "type": "integer"
  8687. },
  8688. "srcname": {
  8689. "description": "源品种名称",
  8690. "type": "string"
  8691. },
  8692. "srcunitid": {
  8693. "description": "源品种单位ID",
  8694. "type": "integer"
  8695. },
  8696. "srcunitidname": {
  8697. "description": "源品种单位名称",
  8698. "type": "string"
  8699. }
  8700. }
  8701. },
  8702. "models.ErmcpHedgePlan": {
  8703. "type": "object",
  8704. "properties": {
  8705. "areauserid": {
  8706. "description": "用户ID",
  8707. "type": "integer"
  8708. },
  8709. "contracttype": {
  8710. "description": "计划类型 - 1:采购 -1:销售",
  8711. "type": "integer"
  8712. },
  8713. "convertfactor": {
  8714. "description": "标仓系数",
  8715. "type": "number"
  8716. },
  8717. "deliverygoodsid": {
  8718. "description": "现货品种ID",
  8719. "type": "integer"
  8720. },
  8721. "deliverygoodsname": {
  8722. "description": "现货品种名称",
  8723. "type": "string"
  8724. },
  8725. "hedgeplanid": {
  8726. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8727. "type": "string"
  8728. },
  8729. "hedgeplanno": {
  8730. "description": "套保计划编号(名称)",
  8731. "type": "string"
  8732. },
  8733. "hedgeplanstatus": {
  8734. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8735. "type": "integer"
  8736. },
  8737. "planqty": {
  8738. "description": "计划数量",
  8739. "type": "number"
  8740. },
  8741. "plantime": {
  8742. "description": "计划时间",
  8743. "type": "string"
  8744. },
  8745. "producttype": {
  8746. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8747. "type": "integer"
  8748. },
  8749. "remark": {
  8750. "description": "备注",
  8751. "type": "string"
  8752. },
  8753. "spotgoodsdesc": {
  8754. "description": "商品型号",
  8755. "type": "string"
  8756. },
  8757. "wrstandardid": {
  8758. "description": "现货商品ID",
  8759. "type": "integer"
  8760. },
  8761. "wrstandardname": {
  8762. "description": "现货商品名称",
  8763. "type": "string"
  8764. }
  8765. }
  8766. },
  8767. "models.ErmcpHisExposure": {
  8768. "type": "object",
  8769. "properties": {
  8770. "areauserid": {
  8771. "description": "所属机构",
  8772. "type": "integer"
  8773. },
  8774. "middlegoodscode": {
  8775. "description": "套保品种代码",
  8776. "type": "string"
  8777. },
  8778. "middlegoodsid": {
  8779. "description": "套保品种ID",
  8780. "type": "integer"
  8781. },
  8782. "middlegoodsname": {
  8783. "description": "套保品种名称",
  8784. "type": "string"
  8785. },
  8786. "needhedgeexposourE": {
  8787. "description": "应套保敞口",
  8788. "type": "number"
  8789. },
  8790. "needhedgeratio": {
  8791. "description": "应套保敞口比例",
  8792. "type": "number"
  8793. },
  8794. "reckondate": {
  8795. "description": "日照时期(yyyyMMdd)",
  8796. "type": "string"
  8797. },
  8798. "totalexposure": {
  8799. "description": "总敞口",
  8800. "type": "number"
  8801. },
  8802. "totalfutureqty": {
  8803. "description": "期货头寸总量",
  8804. "type": "number"
  8805. },
  8806. "totalhedgeratio": {
  8807. "description": "敞口比例",
  8808. "type": "number"
  8809. },
  8810. "totalneedhedgeqty": {
  8811. "description": "应套保总量",
  8812. "type": "number"
  8813. },
  8814. "totalspotqty": {
  8815. "description": "现货头寸总量",
  8816. "type": "number"
  8817. }
  8818. }
  8819. },
  8820. "models.ErmcpMiddleGoodsChangeLog": {
  8821. "type": "object",
  8822. "properties": {
  8823. "aftervalue": {
  8824. "description": "变更后",
  8825. "type": "number"
  8826. },
  8827. "applyid": {
  8828. "description": "操作人",
  8829. "type": "integer"
  8830. },
  8831. "applyname": {
  8832. "description": "操作人名称",
  8833. "type": "string"
  8834. },
  8835. "applysrc": {
  8836. "description": "操作来源 - 1:管理端 2:终端",
  8837. "type": "integer"
  8838. },
  8839. "beforevalue": {
  8840. "description": "变更前",
  8841. "type": "number"
  8842. },
  8843. "changelogtype": {
  8844. "description": "变更流水类型 - 1:套保比率变更",
  8845. "type": "integer"
  8846. },
  8847. "handlestatus": {
  8848. "description": "处理状态",
  8849. "type": "integer"
  8850. },
  8851. "logdatetime": {
  8852. "description": "流水日期",
  8853. "type": "string"
  8854. },
  8855. "logid": {
  8856. "description": "流水ID",
  8857. "type": "integer"
  8858. },
  8859. "logremark": {
  8860. "description": "流水备注",
  8861. "type": "string"
  8862. },
  8863. "middlegoodsid": {
  8864. "description": "套保品种ID",
  8865. "type": "integer"
  8866. },
  8867. "tradedate": {
  8868. "description": "交易日(yyyyMMdd)",
  8869. "type": "string"
  8870. },
  8871. "updatetime": {
  8872. "description": "更新时间",
  8873. "type": "string"
  8874. }
  8875. }
  8876. },
  8877. "models.ErmcpMiddleGoodsDetail": {
  8878. "type": "object",
  8879. "properties": {
  8880. "cvList": {
  8881. "description": "期货品种折算列表",
  8882. "type": "array",
  8883. "items": {
  8884. "$ref": "#/definitions/models.GoodsGroupConvert"
  8885. }
  8886. },
  8887. "mg": {
  8888. "description": "套保品种基本信息",
  8889. "type": "object",
  8890. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8891. }
  8892. }
  8893. },
  8894. "models.ErmcpMiddleGoodsModel": {
  8895. "type": "object",
  8896. "properties": {
  8897. "areauserid": {
  8898. "description": "机构用户ID",
  8899. "type": "integer"
  8900. },
  8901. "enumdicname": {
  8902. "description": "单位名称",
  8903. "type": "string"
  8904. },
  8905. "evaluateratio": {
  8906. "description": "估价系数",
  8907. "type": "number"
  8908. },
  8909. "goodsgroupid": {
  8910. "description": "关联期货品种ID",
  8911. "type": "integer"
  8912. },
  8913. "isvalid": {
  8914. "description": "状态 0-无效(停用) 1-有效(正常)",
  8915. "type": "integer"
  8916. },
  8917. "middlegoodscode": {
  8918. "description": "套保品种代码",
  8919. "type": "string"
  8920. },
  8921. "middlegoodsid": {
  8922. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8923. "type": "integer"
  8924. },
  8925. "middlegoodsname": {
  8926. "description": "套保品种名称",
  8927. "type": "string"
  8928. },
  8929. "modifytime": {
  8930. "description": "修改时间",
  8931. "type": "string"
  8932. },
  8933. "needhedgeratio": {
  8934. "description": "套保比率",
  8935. "type": "number"
  8936. },
  8937. "qtydecimalplace": {
  8938. "description": "数量小数位",
  8939. "type": "integer"
  8940. },
  8941. "relatedgoodsid": {
  8942. "description": "关联交易商品ID",
  8943. "type": "integer"
  8944. },
  8945. "relatedgoodstype": {
  8946. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8947. "type": "integer"
  8948. }
  8949. }
  8950. },
  8951. "models.ErmcpModel": {
  8952. "type": "object",
  8953. "properties": {
  8954. "accountname": {
  8955. "description": "账户名称",
  8956. "type": "string"
  8957. },
  8958. "audittime": {
  8959. "description": "审核时间",
  8960. "type": "string"
  8961. },
  8962. "contracctstatus": {
  8963. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8964. "type": "integer"
  8965. },
  8966. "contractmargin": {
  8967. "description": "合同保证金",
  8968. "type": "number"
  8969. },
  8970. "contractno": {
  8971. "description": "合同编号",
  8972. "type": "string"
  8973. },
  8974. "contracttype": {
  8975. "description": "合同类型 1-采购, -1-销售",
  8976. "type": "integer"
  8977. },
  8978. "convertfactor": {
  8979. "description": "标仓系数",
  8980. "type": "number"
  8981. },
  8982. "daikaiamount": {
  8983. "description": "待开票额",
  8984. "type": "number"
  8985. },
  8986. "deliveryenddate": {
  8987. "description": "交割结束日",
  8988. "type": "string"
  8989. },
  8990. "deliverygoodscode": {
  8991. "description": "现货商品代码",
  8992. "type": "string"
  8993. },
  8994. "deliverygoodsid": {
  8995. "description": "现货商品ID",
  8996. "type": "integer"
  8997. },
  8998. "deliverygoodsname": {
  8999. "description": "现货商品名称",
  9000. "type": "string"
  9001. },
  9002. "deliverystartdate": {
  9003. "description": "交割开始日",
  9004. "type": "string"
  9005. },
  9006. "enddate": {
  9007. "description": "点价结束日",
  9008. "type": "string"
  9009. },
  9010. "enumdicname": {
  9011. "description": "单位名称",
  9012. "type": "string"
  9013. },
  9014. "goodscode": {
  9015. "description": "点价商品代码",
  9016. "type": "string"
  9017. },
  9018. "goodsid": {
  9019. "description": "点价商品ID",
  9020. "type": "integer"
  9021. },
  9022. "invoiceamount": {
  9023. "description": "已开票额",
  9024. "type": "number"
  9025. },
  9026. "loanamount": {
  9027. "description": "贷款总额=已定价额+调整金额",
  9028. "type": "number"
  9029. },
  9030. "margin": {
  9031. "description": "保证金",
  9032. "type": "number"
  9033. },
  9034. "payamount": {
  9035. "description": "已收付额(收款或付款)",
  9036. "type": "number"
  9037. },
  9038. "price": {
  9039. "description": "价格",
  9040. "type": "number"
  9041. },
  9042. "pricedamount": {
  9043. "description": "已定价额",
  9044. "type": "number"
  9045. },
  9046. "pricedavg": {
  9047. "description": "已点均价",
  9048. "type": "number"
  9049. },
  9050. "pricedqty": {
  9051. "description": "已定价量",
  9052. "type": "number"
  9053. },
  9054. "pricemove": {
  9055. "description": "升贴水",
  9056. "type": "number"
  9057. },
  9058. "pricetype": {
  9059. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9060. "type": "integer"
  9061. },
  9062. "producttype": {
  9063. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9064. "type": "integer"
  9065. },
  9066. "qty": {
  9067. "description": "合同量",
  9068. "type": "number"
  9069. },
  9070. "reckonadjustamount": {
  9071. "description": "调整金额",
  9072. "type": "number"
  9073. },
  9074. "reckonedamount": {
  9075. "description": "已收付额(已确定额)",
  9076. "type": "number"
  9077. },
  9078. "reckonotheramount": {
  9079. "description": "其它费用",
  9080. "type": "number"
  9081. },
  9082. "reckonrealqty": {
  9083. "description": "已确定量",
  9084. "type": "number"
  9085. },
  9086. "remark": {
  9087. "description": "备注",
  9088. "type": "string"
  9089. },
  9090. "spotcontractid": {
  9091. "description": "合同ID",
  9092. "type": "string"
  9093. },
  9094. "spotgoodsdesc": {
  9095. "description": "商品型号(商品规格)",
  9096. "type": "string"
  9097. },
  9098. "startdate": {
  9099. "description": "点价开始日",
  9100. "type": "string"
  9101. },
  9102. "totalamount": {
  9103. "description": "合计总额",
  9104. "type": "number"
  9105. },
  9106. "unpayamount": {
  9107. "description": "待支收额(支付或收款)",
  9108. "type": "number"
  9109. },
  9110. "unpricedqty": {
  9111. "description": "未定价量",
  9112. "type": "number"
  9113. },
  9114. "unsureqty": {
  9115. "description": "未确定量",
  9116. "type": "number"
  9117. },
  9118. "userid": {
  9119. "description": "用户ID",
  9120. "type": "integer"
  9121. }
  9122. }
  9123. },
  9124. "models.ErmcpOPLogModel": {
  9125. "type": "object",
  9126. "properties": {
  9127. "aftervalue": {
  9128. "description": "变更后",
  9129. "type": "number"
  9130. },
  9131. "applyid": {
  9132. "description": "操作人ID",
  9133. "type": "string"
  9134. },
  9135. "applyname": {
  9136. "description": "操作人名称",
  9137. "type": "string"
  9138. },
  9139. "beforevalue": {
  9140. "description": "变更前",
  9141. "type": "number"
  9142. },
  9143. "biztype": {
  9144. "description": "业务类型 - 1:套保计划 2:现货合同",
  9145. "type": "integer"
  9146. },
  9147. "contracttype": {
  9148. "description": "现货合同类型 - 1:采购 -1:销售",
  9149. "type": "integer"
  9150. },
  9151. "logvalue": {
  9152. "description": "数值",
  9153. "type": "number"
  9154. },
  9155. "operatelogtype": {
  9156. "description": "操作流水类型",
  9157. "type": "integer"
  9158. },
  9159. "operatelogtypedesc": {
  9160. "description": "操作流水类型名称",
  9161. "type": "string"
  9162. },
  9163. "relatedid": {
  9164. "description": "现货合同ID\\套保计划",
  9165. "type": "string"
  9166. },
  9167. "updatetime": {
  9168. "description": "更新时间",
  9169. "type": "string"
  9170. }
  9171. }
  9172. },
  9173. "models.ErmcpRealExposureModel": {
  9174. "type": "object",
  9175. "properties": {
  9176. "areaUserID": {
  9177. "description": "所属机构",
  9178. "type": "integer"
  9179. },
  9180. "buyFutureQty": {
  9181. "description": "买入期货数量",
  9182. "type": "number"
  9183. },
  9184. "buyPlanQty": {
  9185. "description": "采购计划数量",
  9186. "type": "number"
  9187. },
  9188. "buyPricedQty": {
  9189. "description": "采购合同已定价数量",
  9190. "type": "number"
  9191. },
  9192. "middleGoodsCode": {
  9193. "description": "套保品种代码",
  9194. "type": "string"
  9195. },
  9196. "middleGoodsHedgeRatio": {
  9197. "description": "应套保比例",
  9198. "type": "number"
  9199. },
  9200. "middleGoodsID": {
  9201. "description": "套保品种",
  9202. "type": "integer"
  9203. },
  9204. "middleGoodsName": {
  9205. "description": "************以下需计算或非redis数据************//",
  9206. "type": "string"
  9207. },
  9208. "needHedgeExposoure": {
  9209. "description": "应套保敞口",
  9210. "type": "number"
  9211. },
  9212. "needHedgeRatio": {
  9213. "description": "应套保敞口比例",
  9214. "type": "number"
  9215. },
  9216. "oriBuyFutureQty": {
  9217. "description": "期初买入期货数量",
  9218. "type": "integer"
  9219. },
  9220. "oriBuyPlanQty": {
  9221. "description": "期初采购计划数量",
  9222. "type": "number"
  9223. },
  9224. "oriBuyPricedQty": {
  9225. "description": "期初采购合同已定价数量",
  9226. "type": "number"
  9227. },
  9228. "oriSellFutureQty": {
  9229. "description": "期初卖出期货数量",
  9230. "type": "integer"
  9231. },
  9232. "oriSellPlanQty": {
  9233. "description": "期初销售计划数量",
  9234. "type": "number"
  9235. },
  9236. "oriSellPricedQty": {
  9237. "description": "期初销售合同已定价数量",
  9238. "type": "number"
  9239. },
  9240. "oriTotalFutuQty": {
  9241. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9242. "type": "integer"
  9243. },
  9244. "oriTotalSpotQty": {
  9245. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9246. "type": "number"
  9247. },
  9248. "sellFutureQty": {
  9249. "description": "卖出期货数量",
  9250. "type": "number"
  9251. },
  9252. "sellPlanQty": {
  9253. "description": "销售计划数量",
  9254. "type": "number"
  9255. },
  9256. "sellPricedQty": {
  9257. "description": "销售合同已定价数量",
  9258. "type": "number"
  9259. },
  9260. "totalExposure": {
  9261. "description": "总敞口",
  9262. "type": "number"
  9263. },
  9264. "totalFutureQty": {
  9265. "description": "期货数量",
  9266. "type": "number"
  9267. },
  9268. "totalHedgeRatio": {
  9269. "description": "敞口比例",
  9270. "type": "number"
  9271. },
  9272. "totalNeedHedgeQty": {
  9273. "description": "期货应套保量",
  9274. "type": "number"
  9275. },
  9276. "totalSpotQty": {
  9277. "description": "现货数量",
  9278. "type": "number"
  9279. }
  9280. }
  9281. },
  9282. "models.ErmcpSpotContractModel": {
  9283. "type": "object",
  9284. "properties": {
  9285. "amount": {
  9286. "description": "金额 [1:一口价、3:暂定价]",
  9287. "type": "number"
  9288. },
  9289. "audittime": {
  9290. "description": "审核时间",
  9291. "type": "string"
  9292. },
  9293. "buyuserid": {
  9294. "description": "采购方ID",
  9295. "type": "integer"
  9296. },
  9297. "buyusername": {
  9298. "description": "采购方名称",
  9299. "type": "string"
  9300. },
  9301. "contracctstatus": {
  9302. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9303. "type": "integer"
  9304. },
  9305. "contractmargin": {
  9306. "description": "合同保证金",
  9307. "type": "number"
  9308. },
  9309. "contractno": {
  9310. "description": "现货合同编号",
  9311. "type": "string"
  9312. },
  9313. "contracttype": {
  9314. "description": "现货合同类型 - 1:采购 -1:销售",
  9315. "type": "integer"
  9316. },
  9317. "convertfactor": {
  9318. "description": "标仓系数",
  9319. "type": "number"
  9320. },
  9321. "deliveryenddate": {
  9322. "description": "交收期(结束)",
  9323. "type": "string"
  9324. },
  9325. "deliverygoodscode": {
  9326. "description": "现货品种代码",
  9327. "type": "string"
  9328. },
  9329. "deliverygoodsid": {
  9330. "description": "现货品种ID",
  9331. "type": "integer"
  9332. },
  9333. "deliverygoodsname": {
  9334. "description": "现货品种名称",
  9335. "type": "string"
  9336. },
  9337. "deliverystartdate": {
  9338. "description": "交收期(开始)",
  9339. "type": "string"
  9340. },
  9341. "enddate": {
  9342. "description": "点价结束日期 [2:点价 3:暂定价]",
  9343. "type": "string"
  9344. },
  9345. "enumdicname": {
  9346. "description": "单位名称",
  9347. "type": "string"
  9348. },
  9349. "goodscode": {
  9350. "description": "点价合约代码",
  9351. "type": "string"
  9352. },
  9353. "goodsid": {
  9354. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9355. "type": "integer"
  9356. },
  9357. "margin": {
  9358. "description": "当前保证金",
  9359. "type": "number"
  9360. },
  9361. "price": {
  9362. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9363. "type": "number"
  9364. },
  9365. "pricemove": {
  9366. "description": "升贴水 [2:点价 3:暂定价]",
  9367. "type": "number"
  9368. },
  9369. "pricetype": {
  9370. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9371. "type": "integer"
  9372. },
  9373. "producttype": {
  9374. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9375. "type": "integer"
  9376. },
  9377. "qty": {
  9378. "description": "数量",
  9379. "type": "number"
  9380. },
  9381. "remark": {
  9382. "description": "备注",
  9383. "type": "string"
  9384. },
  9385. "selluserid": {
  9386. "description": "销售方ID",
  9387. "type": "integer"
  9388. },
  9389. "sellusername": {
  9390. "description": "销售方名称",
  9391. "type": "string"
  9392. },
  9393. "spotcontractid": {
  9394. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9395. "type": "string"
  9396. },
  9397. "spotgoodsdesc": {
  9398. "description": "商品型号",
  9399. "type": "string"
  9400. },
  9401. "startdate": {
  9402. "description": "点价开始日期 [2:点价 3:暂定价]",
  9403. "type": "string"
  9404. },
  9405. "userid": {
  9406. "description": "机构ID",
  9407. "type": "integer"
  9408. }
  9409. }
  9410. },
  9411. "models.ErmcpUserModel": {
  9412. "type": "object",
  9413. "properties": {
  9414. "address": {
  9415. "description": "通讯地址",
  9416. "type": "string"
  9417. },
  9418. "attachment1": {
  9419. "description": "附件1",
  9420. "type": "string"
  9421. },
  9422. "cardfrontphotourl": {
  9423. "description": "证件正面图片地址",
  9424. "type": "string"
  9425. },
  9426. "cardnum": {
  9427. "description": "证件号码",
  9428. "type": "string"
  9429. },
  9430. "cardtype": {
  9431. "description": "证件类型",
  9432. "type": "integer"
  9433. },
  9434. "cardtypename": {
  9435. "description": "证件类型名称",
  9436. "type": "string"
  9437. },
  9438. "cityid": {
  9439. "description": "市",
  9440. "type": "integer"
  9441. },
  9442. "countryid": {
  9443. "description": "国家",
  9444. "type": "integer"
  9445. },
  9446. "customername": {
  9447. "description": "企业名称",
  9448. "type": "string"
  9449. },
  9450. "memberuserid": {
  9451. "description": "所属机构ID",
  9452. "type": "integer"
  9453. },
  9454. "mobile": {
  9455. "description": "手机号码",
  9456. "type": "string"
  9457. },
  9458. "provinceid": {
  9459. "description": "省",
  9460. "type": "integer"
  9461. },
  9462. "remark": {
  9463. "description": "备注",
  9464. "type": "string"
  9465. },
  9466. "status": {
  9467. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9468. "type": "integer"
  9469. },
  9470. "statusdesc": {
  9471. "description": "账户状态中文描述",
  9472. "type": "string"
  9473. },
  9474. "telphone": {
  9475. "description": "联系电话",
  9476. "type": "string"
  9477. },
  9478. "userid": {
  9479. "description": "用户ID",
  9480. "type": "integer"
  9481. },
  9482. "userinfotype": {
  9483. "description": "客户类型",
  9484. "type": "string"
  9485. }
  9486. }
  9487. },
  9488. "models.ErmcpWrstandDetail": {
  9489. "type": "object",
  9490. "properties": {
  9491. "gbList": {
  9492. "description": "品牌列表",
  9493. "type": "array",
  9494. "items": {
  9495. "$ref": "#/definitions/models.GoodsBrand"
  9496. }
  9497. },
  9498. "gtList": {
  9499. "description": "型号列表",
  9500. "type": "array",
  9501. "items": {
  9502. "$ref": "#/definitions/models.GoodsTypeModel"
  9503. }
  9504. },
  9505. "wrd": {
  9506. "description": "基本信息",
  9507. "type": "object",
  9508. "$ref": "#/definitions/models.ErmcpWrstandard"
  9509. },
  9510. "wrsList": {
  9511. "description": "套保信息列表",
  9512. "type": "array",
  9513. "items": {
  9514. "$ref": "#/definitions/models.WRSConverTDetail"
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "models.ErmcpWrstandard": {
  9520. "type": "object",
  9521. "properties": {
  9522. "areauserid": {
  9523. "description": "所属机构",
  9524. "type": "integer"
  9525. },
  9526. "createtime": {
  9527. "description": "创建时间",
  9528. "type": "string"
  9529. },
  9530. "creatorid": {
  9531. "description": "创建人",
  9532. "type": "integer"
  9533. },
  9534. "deliverygoodsid": {
  9535. "description": "品种ID",
  9536. "type": "integer"
  9537. },
  9538. "enumdicname": {
  9539. "description": "单位名称",
  9540. "type": "string"
  9541. },
  9542. "isvalid": {
  9543. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9544. "type": "integer"
  9545. },
  9546. "minivalue": {
  9547. "description": "最小变动值",
  9548. "type": "integer"
  9549. },
  9550. "minivaluedp": {
  9551. "description": "最小变动值小数位",
  9552. "type": "integer"
  9553. },
  9554. "realminivalue": {
  9555. "description": "实际最小变动值",
  9556. "type": "integer"
  9557. },
  9558. "realminivaluedp": {
  9559. "description": "实际最小变动值小数位",
  9560. "type": "integer"
  9561. },
  9562. "remark": {
  9563. "description": "备注",
  9564. "type": "string"
  9565. },
  9566. "unitid": {
  9567. "description": "单位ID",
  9568. "type": "integer"
  9569. },
  9570. "updatetime": {
  9571. "description": "更新时间",
  9572. "type": "string"
  9573. },
  9574. "wrstandardcode": {
  9575. "description": "现货商品代码",
  9576. "type": "string"
  9577. },
  9578. "wrstandardid": {
  9579. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9580. "type": "integer"
  9581. },
  9582. "wrstandardname": {
  9583. "description": "现货商品名称",
  9584. "type": "string"
  9585. }
  9586. }
  9587. },
  9588. "models.Goods": {
  9589. "type": "object",
  9590. "required": [
  9591. "goodscode",
  9592. "goodsid",
  9593. "goodsname",
  9594. "marketid"
  9595. ],
  9596. "properties": {
  9597. "agreeunit": {
  9598. "description": "合约单位",
  9599. "type": "number"
  9600. },
  9601. "auditaccountid": {
  9602. "description": "审核操作员账号",
  9603. "type": "integer"
  9604. },
  9605. "audittime": {
  9606. "description": "审核时间",
  9607. "type": "string"
  9608. },
  9609. "cancelaccountid": {
  9610. "description": "注销操作员账号",
  9611. "type": "integer"
  9612. },
  9613. "canceltime": {
  9614. "description": "注销时间",
  9615. "type": "string"
  9616. },
  9617. "closepricemode": {
  9618. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  9619. "type": "integer"
  9620. },
  9621. "closepriceparam": {
  9622. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  9623. "type": "number"
  9624. },
  9625. "createtime": {
  9626. "description": "创建时间",
  9627. "type": "string"
  9628. },
  9629. "creatorid": {
  9630. "description": "创建人",
  9631. "type": "integer"
  9632. },
  9633. "currencyid": {
  9634. "description": "报价货币ID",
  9635. "type": "integer"
  9636. },
  9637. "cutmode": {
  9638. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  9639. "type": "integer"
  9640. },
  9641. "decimalplace": {
  9642. "description": "报价小数位",
  9643. "type": "integer"
  9644. },
  9645. "delistingdate": {
  9646. "description": "商品退市时间(状态:退市) -- 已作废",
  9647. "type": "string"
  9648. },
  9649. "delistingmode": {
  9650. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  9651. "type": "integer"
  9652. },
  9653. "deliveryflag": {
  9654. "description": "交割标志 - 0:不可交割 1:可交割",
  9655. "type": "integer"
  9656. },
  9657. "forceclosemode": {
  9658. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  9659. "type": "integer"
  9660. },
  9661. "forceclosevalue": {
  9662. "description": "定期强平参数 [收益权]",
  9663. "type": "integer"
  9664. },
  9665. "goodscode": {
  9666. "description": "商品代码(内部)",
  9667. "type": "string"
  9668. },
  9669. "goodscurrencyid": {
  9670. "description": "合约货币ID",
  9671. "type": "integer"
  9672. },
  9673. "goodsgroupid": {
  9674. "description": "所属商品组ID",
  9675. "type": "integer"
  9676. },
  9677. "goodsid": {
  9678. "description": "商品ID(自增ID SEQ_GOODS)",
  9679. "type": "integer"
  9680. },
  9681. "goodsname": {
  9682. "description": "商品名称",
  9683. "type": "string"
  9684. },
  9685. "goodsquotetype": {
  9686. "description": "合约报价类型: 1-直接报价 2-间接报价",
  9687. "type": "integer"
  9688. },
  9689. "goodsstatus": {
  9690. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9691. "type": "integer"
  9692. },
  9693. "goodstradetype": {
  9694. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  9695. "type": "integer"
  9696. },
  9697. "goodunitid": {
  9698. "description": "报价单位ID",
  9699. "type": "integer"
  9700. },
  9701. "hasquoter": {
  9702. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  9703. "type": "integer"
  9704. },
  9705. "hqprotecttime": {
  9706. "description": "行情保护时间(秒)",
  9707. "type": "integer"
  9708. },
  9709. "innerdealmode": {
  9710. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  9711. "type": "integer"
  9712. },
  9713. "isbuylimited": {
  9714. "description": "是否限制建仓量 - 0:不限制 1:限制",
  9715. "type": "integer"
  9716. },
  9717. "lasttradedate": {
  9718. "description": "最后交易日期(状态:待退市)",
  9719. "type": "string"
  9720. },
  9721. "listingdate": {
  9722. "description": "交易开始日期",
  9723. "type": "string"
  9724. },
  9725. "marketid": {
  9726. "description": "所属市场ID",
  9727. "type": "integer"
  9728. },
  9729. "modifierid": {
  9730. "description": "修改人",
  9731. "type": "integer"
  9732. },
  9733. "modifystatus": {
  9734. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  9735. "type": "integer"
  9736. },
  9737. "modifytime": {
  9738. "description": "修改时间",
  9739. "type": "string"
  9740. },
  9741. "outerdealmode": {
  9742. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  9743. "type": "integer"
  9744. },
  9745. "outgoodscode": {
  9746. "description": "商品代码(外部)",
  9747. "type": "string"
  9748. },
  9749. "qtydecimalplace": {
  9750. "description": "成交量小数位",
  9751. "type": "integer"
  9752. },
  9753. "quotegear": {
  9754. "description": "行情档位(1-10)",
  9755. "type": "integer"
  9756. },
  9757. "quoteminunit": {
  9758. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9759. "type": "integer"
  9760. },
  9761. "quoteshowtype": {
  9762. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  9763. "type": "integer"
  9764. },
  9765. "quoteshowtypeinterval": {
  9766. "description": "行情报价间隔时间(秒)(成交价时为0)",
  9767. "type": "integer"
  9768. },
  9769. "remark": {
  9770. "description": "备注",
  9771. "type": "string"
  9772. }
  9773. }
  9774. },
  9775. "models.GoodsBrand": {
  9776. "type": "object",
  9777. "properties": {
  9778. "brandid": {
  9779. "description": "品牌ID",
  9780. "type": "integer"
  9781. },
  9782. "brandname": {
  9783. "description": "品牌名称",
  9784. "type": "string"
  9785. },
  9786. "isvalid": {
  9787. "description": "是否有效 - 0:无效 1:有效",
  9788. "type": "integer"
  9789. }
  9790. }
  9791. },
  9792. "models.GoodsGroupConvert": {
  9793. "type": "object",
  9794. "properties": {
  9795. "convertratio": {
  9796. "description": "折算系数",
  9797. "type": "number"
  9798. },
  9799. "dstgoodsgroupid": {
  9800. "description": "目标期货品种ID",
  9801. "type": "integer"
  9802. },
  9803. "goodsgroupname": {
  9804. "description": "期货品种名称",
  9805. "type": "string"
  9806. },
  9807. "outergroupcode": {
  9808. "description": "期货品种代码",
  9809. "type": "string"
  9810. },
  9811. "srcgoodsgroupid": {
  9812. "description": "源期货品种ID",
  9813. "type": "integer"
  9814. }
  9815. }
  9816. },
  9817. "models.GoodsIDAndName": {
  9818. "type": "object",
  9819. "required": [
  9820. "goodscode",
  9821. "goodsid",
  9822. "goodsname",
  9823. "marketid"
  9824. ],
  9825. "properties": {
  9826. "goodscode": {
  9827. "description": "商品代码(内部)",
  9828. "type": "string"
  9829. },
  9830. "goodsid": {
  9831. "description": "商品ID(自增ID SEQ_GOODS)",
  9832. "type": "integer"
  9833. },
  9834. "goodsname": {
  9835. "description": "商品名称",
  9836. "type": "string"
  9837. },
  9838. "marketid": {
  9839. "description": "所属市场ID",
  9840. "type": "integer"
  9841. }
  9842. }
  9843. },
  9844. "models.GoodsTypeModel": {
  9845. "type": "object",
  9846. "properties": {
  9847. "modelid": {
  9848. "description": "型号ID",
  9849. "type": "integer"
  9850. },
  9851. "modelname": {
  9852. "description": "型号名称",
  9853. "type": "string"
  9854. },
  9855. "updatetime": {
  9856. "description": "更新时间",
  9857. "type": "string"
  9858. }
  9859. }
  9860. },
  9861. "models.HsbyBuyMyPayOrder": {
  9862. "type": "object",
  9863. "required": [
  9864. "goodscode",
  9865. "goodsname",
  9866. "tradeid",
  9867. "trademode"
  9868. ],
  9869. "properties": {
  9870. "agreeunit": {
  9871. "description": "合约单位",
  9872. "type": "number"
  9873. },
  9874. "buyaccountid": {
  9875. "description": "买方账号ID[报价币种]",
  9876. "type": "integer"
  9877. },
  9878. "buyorderid": {
  9879. "description": "买方委托单号",
  9880. "type": "string"
  9881. },
  9882. "createtime": {
  9883. "description": "创建时间",
  9884. "type": "string"
  9885. },
  9886. "currencysign": {
  9887. "description": "货币符号",
  9888. "type": "string"
  9889. },
  9890. "decimalplace": {
  9891. "description": "报价小数位",
  9892. "type": "integer"
  9893. },
  9894. "goodscode": {
  9895. "description": "商品代码(内部)",
  9896. "type": "string"
  9897. },
  9898. "goodsid": {
  9899. "description": "商品ID",
  9900. "type": "integer"
  9901. },
  9902. "goodsname": {
  9903. "description": "商品名称",
  9904. "type": "string"
  9905. },
  9906. "marketid": {
  9907. "description": "市场ID",
  9908. "type": "integer"
  9909. },
  9910. "offamount": {
  9911. "description": "优惠金额",
  9912. "type": "number"
  9913. },
  9914. "payamount": {
  9915. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9916. "type": "number"
  9917. },
  9918. "payflag": {
  9919. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9920. "type": "integer"
  9921. },
  9922. "paylimitedtime": {
  9923. "description": "支付期限",
  9924. "type": "string"
  9925. },
  9926. "paytime": {
  9927. "description": "付款时间",
  9928. "type": "string"
  9929. },
  9930. "picurls1": {
  9931. "description": "预售商品介绍图片[多张用逗号分隔]",
  9932. "type": "string"
  9933. },
  9934. "picurls2": {
  9935. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9936. "type": "string"
  9937. },
  9938. "sellaccountid": {
  9939. "description": "卖方账号ID[报价币种]",
  9940. "type": "integer"
  9941. },
  9942. "sellorderid": {
  9943. "description": "卖方委托单号",
  9944. "type": "string"
  9945. },
  9946. "tradeamount": {
  9947. "description": "成交金额",
  9948. "type": "number"
  9949. },
  9950. "tradecharge": {
  9951. "description": "成交手续费(买方)",
  9952. "type": "number"
  9953. },
  9954. "tradedate": {
  9955. "description": "交易日(yyyyMMdd)",
  9956. "type": "string"
  9957. },
  9958. "tradeid": {
  9959. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9960. "type": "string"
  9961. },
  9962. "trademode": {
  9963. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9964. "type": "integer"
  9965. },
  9966. "tradeprice": {
  9967. "description": "成交价格",
  9968. "type": "number"
  9969. },
  9970. "tradeqty": {
  9971. "description": "成交数量",
  9972. "type": "integer"
  9973. },
  9974. "vendorname1": {
  9975. "description": "预售商品供应商名称",
  9976. "type": "string"
  9977. },
  9978. "vendorname2": {
  9979. "description": "挂牌商品供应商名称",
  9980. "type": "string"
  9981. }
  9982. }
  9983. },
  9984. "models.HsbyBuyMyTradeDetail": {
  9985. "type": "object",
  9986. "required": [
  9987. "accountid",
  9988. "buyorsell",
  9989. "goodscode",
  9990. "goodsid",
  9991. "goodsname",
  9992. "marketid",
  9993. "orderid",
  9994. "qty",
  9995. "time",
  9996. "trademode"
  9997. ],
  9998. "properties": {
  9999. "accountid": {
  10000. "description": "账户ID[报价币种]",
  10001. "type": "integer"
  10002. },
  10003. "agreeunit": {
  10004. "description": "合约单位",
  10005. "type": "number"
  10006. },
  10007. "amount": {
  10008. "description": "金额 = 价格 * 数量 * 合约单位",
  10009. "type": "number"
  10010. },
  10011. "buyorsell": {
  10012. "description": "买卖 - 0:买 1:卖",
  10013. "type": "integer"
  10014. },
  10015. "currencysign": {
  10016. "description": "货币符号",
  10017. "type": "string"
  10018. },
  10019. "decimalplace": {
  10020. "description": "报价小数位",
  10021. "type": "integer"
  10022. },
  10023. "goodscode": {
  10024. "description": "商品代码(内部)",
  10025. "type": "string"
  10026. },
  10027. "goodsid": {
  10028. "description": "商品ID",
  10029. "type": "integer"
  10030. },
  10031. "goodsname": {
  10032. "description": "商品名称",
  10033. "type": "string"
  10034. },
  10035. "marketid": {
  10036. "description": "市场ID",
  10037. "type": "integer"
  10038. },
  10039. "orderid": {
  10040. "description": "单号(成交单号)",
  10041. "type": "string"
  10042. },
  10043. "picurls1": {
  10044. "description": "预售商品介绍图片[多张用逗号分隔]",
  10045. "type": "string"
  10046. },
  10047. "picurls2": {
  10048. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10049. "type": "string"
  10050. },
  10051. "price": {
  10052. "description": "价格",
  10053. "type": "number"
  10054. },
  10055. "qty": {
  10056. "description": "数量",
  10057. "type": "integer"
  10058. },
  10059. "time": {
  10060. "description": "时间",
  10061. "type": "string"
  10062. },
  10063. "trademode": {
  10064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10065. "type": "integer"
  10066. },
  10067. "vendorname1": {
  10068. "description": "预售商品供应商名称",
  10069. "type": "string"
  10070. },
  10071. "vendorname2": {
  10072. "description": "挂牌商品供应商名称",
  10073. "type": "string"
  10074. }
  10075. }
  10076. },
  10077. "models.HsbyGoodsOrderDetail": {
  10078. "type": "object",
  10079. "required": [
  10080. "buyorsell",
  10081. "orderid",
  10082. "ordertime"
  10083. ],
  10084. "properties": {
  10085. "buyorsell": {
  10086. "description": "买卖 - 0:买 1:卖",
  10087. "type": "integer"
  10088. },
  10089. "currencysign": {
  10090. "description": "货币符号",
  10091. "type": "string"
  10092. },
  10093. "customername": {
  10094. "description": "客户名称(企业名称),已脱敏",
  10095. "type": "string"
  10096. },
  10097. "enableqty": {
  10098. "description": "可用数量",
  10099. "type": "integer"
  10100. },
  10101. "goodunit": {
  10102. "description": "报价单位",
  10103. "type": "string"
  10104. },
  10105. "orderid": {
  10106. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10107. "type": "string"
  10108. },
  10109. "orderprice": {
  10110. "description": "委托价格",
  10111. "type": "number"
  10112. },
  10113. "ordertime": {
  10114. "description": "委托时间",
  10115. "type": "string"
  10116. }
  10117. }
  10118. },
  10119. "models.HsbyListingGoodsDetail": {
  10120. "type": "object",
  10121. "required": [
  10122. "goodscode",
  10123. "goodsid",
  10124. "goodsname",
  10125. "marketid",
  10126. "trademode"
  10127. ],
  10128. "properties": {
  10129. "agreeunit": {
  10130. "description": "合约单位",
  10131. "type": "number"
  10132. },
  10133. "buymaxqty": {
  10134. "description": "购买上限 [71] - 0为不限",
  10135. "type": "integer"
  10136. },
  10137. "currency": {
  10138. "description": "货币",
  10139. "type": "string"
  10140. },
  10141. "currencysign": {
  10142. "description": "货币符号",
  10143. "type": "string"
  10144. },
  10145. "decimalplace": {
  10146. "description": "报价小数位",
  10147. "type": "integer"
  10148. },
  10149. "desccityid": {
  10150. "description": "目的地(市)ID",
  10151. "type": "integer"
  10152. },
  10153. "descprovinceid": {
  10154. "description": "目的地(省)ID",
  10155. "type": "integer"
  10156. },
  10157. "goodscode": {
  10158. "description": "商品代码(内部)",
  10159. "type": "string"
  10160. },
  10161. "goodsdesc": {
  10162. "description": "商品详情",
  10163. "type": "string"
  10164. },
  10165. "goodsid": {
  10166. "description": "商品ID(自增ID SEQ_GOODS)",
  10167. "type": "integer"
  10168. },
  10169. "goodsname": {
  10170. "description": "商品名称",
  10171. "type": "string"
  10172. },
  10173. "goodsprice": {
  10174. "description": "商品价格",
  10175. "type": "number"
  10176. },
  10177. "hotindex": {
  10178. "description": "景点热度",
  10179. "type": "integer"
  10180. },
  10181. "last": {
  10182. "description": "现价",
  10183. "type": "number"
  10184. },
  10185. "limitdown": {
  10186. "description": "跌停价",
  10187. "type": "number"
  10188. },
  10189. "limitup": {
  10190. "description": "涨停价",
  10191. "type": "number"
  10192. },
  10193. "lotsize": {
  10194. "description": "手数最小变动单位",
  10195. "type": "integer"
  10196. },
  10197. "marketid": {
  10198. "description": "所属市场ID",
  10199. "type": "integer"
  10200. },
  10201. "picurls": {
  10202. "description": "介绍图片[多张用逗号分隔]",
  10203. "type": "string"
  10204. },
  10205. "quoteminunit": {
  10206. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10207. "type": "integer"
  10208. },
  10209. "stepvalue": {
  10210. "description": "价格最小变动单位",
  10211. "type": "number"
  10212. },
  10213. "trademode": {
  10214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10215. "type": "integer"
  10216. },
  10217. "vendorattr": {
  10218. "description": "供应商附件(多张,逗号分隔)",
  10219. "type": "string"
  10220. },
  10221. "vendorname": {
  10222. "description": "供应商名称",
  10223. "type": "string"
  10224. },
  10225. "vendorphone": {
  10226. "description": "供应商客服电话",
  10227. "type": "string"
  10228. },
  10229. "videourls": {
  10230. "description": "介绍视频[多张用逗号分隔]",
  10231. "type": "string"
  10232. }
  10233. }
  10234. },
  10235. "models.HsbyMarketGoods": {
  10236. "type": "object",
  10237. "required": [
  10238. "accountid",
  10239. "buyorsell",
  10240. "goodscode",
  10241. "goodsid",
  10242. "goodsname",
  10243. "marketid",
  10244. "orderid",
  10245. "trademode"
  10246. ],
  10247. "properties": {
  10248. "accountid": {
  10249. "description": "账户ID[报价币种]",
  10250. "type": "integer"
  10251. },
  10252. "agreeunit": {
  10253. "description": "合约单位",
  10254. "type": "number"
  10255. },
  10256. "buyorsell": {
  10257. "description": "买卖 - 0:买 1:卖",
  10258. "type": "integer"
  10259. },
  10260. "categoryid": {
  10261. "description": "类别ID(WRCATEGORY)",
  10262. "type": "integer"
  10263. },
  10264. "currency": {
  10265. "description": "货币",
  10266. "type": "string"
  10267. },
  10268. "currencysign": {
  10269. "description": "货币符号",
  10270. "type": "string"
  10271. },
  10272. "customername": {
  10273. "description": "卖家名称",
  10274. "type": "string"
  10275. },
  10276. "decimalplace": {
  10277. "description": "报价小数位",
  10278. "type": "integer"
  10279. },
  10280. "goodscode": {
  10281. "description": "商品代码(内部)",
  10282. "type": "string"
  10283. },
  10284. "goodsid": {
  10285. "description": "商品ID",
  10286. "type": "integer"
  10287. },
  10288. "goodsname": {
  10289. "description": "商品名称",
  10290. "type": "string"
  10291. },
  10292. "goodsprice": {
  10293. "description": "商品价格",
  10294. "type": "number"
  10295. },
  10296. "hascoupon": {
  10297. "description": "是否可用优惠卷",
  10298. "type": "boolean"
  10299. },
  10300. "hotindex": {
  10301. "description": "景点热度",
  10302. "type": "integer"
  10303. },
  10304. "marketid": {
  10305. "description": "市场ID",
  10306. "type": "integer"
  10307. },
  10308. "orderid": {
  10309. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10310. "type": "string"
  10311. },
  10312. "orderprice": {
  10313. "description": "委托价格",
  10314. "type": "number"
  10315. },
  10316. "orderstatus": {
  10317. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10318. "type": "integer"
  10319. },
  10320. "picurls": {
  10321. "description": "介绍图片[多张用逗号分隔]",
  10322. "type": "string"
  10323. },
  10324. "quoteminunit": {
  10325. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10326. "type": "integer"
  10327. },
  10328. "sellUserID": {
  10329. "description": "卖方UserID",
  10330. "type": "integer"
  10331. },
  10332. "trademode": {
  10333. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10334. "type": "integer"
  10335. },
  10336. "videourls": {
  10337. "description": "介绍视频[多张用逗号分隔]",
  10338. "type": "string"
  10339. }
  10340. }
  10341. },
  10342. "models.HsbyMarketGoodsDetail": {
  10343. "type": "object",
  10344. "required": [
  10345. "accountid",
  10346. "buyorsell",
  10347. "goodscode",
  10348. "goodsid",
  10349. "goodsname",
  10350. "marketid",
  10351. "orderid",
  10352. "orderqty",
  10353. "trademode"
  10354. ],
  10355. "properties": {
  10356. "accountid": {
  10357. "description": "账户ID[报价币种]",
  10358. "type": "integer"
  10359. },
  10360. "agreeunit": {
  10361. "description": "合约单位",
  10362. "type": "number"
  10363. },
  10364. "buymaxqty": {
  10365. "description": "购买上限 [71] - 0为不限",
  10366. "type": "integer"
  10367. },
  10368. "buyorsell": {
  10369. "description": "买卖 - 0:买 1:卖",
  10370. "type": "integer"
  10371. },
  10372. "cancelqty": {
  10373. "description": "撤单数量",
  10374. "type": "integer"
  10375. },
  10376. "categoryid": {
  10377. "description": "类别ID(WRCATEGORY)",
  10378. "type": "integer"
  10379. },
  10380. "currency": {
  10381. "description": "货币",
  10382. "type": "string"
  10383. },
  10384. "currencysign": {
  10385. "description": "货币符号",
  10386. "type": "string"
  10387. },
  10388. "customername": {
  10389. "description": "卖家名称",
  10390. "type": "string"
  10391. },
  10392. "decimalplace": {
  10393. "description": "报价小数位",
  10394. "type": "integer"
  10395. },
  10396. "goodscode": {
  10397. "description": "商品代码(内部)",
  10398. "type": "string"
  10399. },
  10400. "goodsdesc": {
  10401. "description": "商品详情",
  10402. "type": "string"
  10403. },
  10404. "goodsid": {
  10405. "description": "商品ID",
  10406. "type": "integer"
  10407. },
  10408. "goodsname": {
  10409. "description": "商品名称",
  10410. "type": "string"
  10411. },
  10412. "goodsprice": {
  10413. "description": "商品价格",
  10414. "type": "number"
  10415. },
  10416. "hotindex": {
  10417. "description": "景点热度",
  10418. "type": "integer"
  10419. },
  10420. "lotsize": {
  10421. "description": "手数最小变动单位",
  10422. "type": "integer"
  10423. },
  10424. "marketid": {
  10425. "description": "市场ID",
  10426. "type": "integer"
  10427. },
  10428. "orderid": {
  10429. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10430. "type": "string"
  10431. },
  10432. "orderprice": {
  10433. "description": "委托价格",
  10434. "type": "number"
  10435. },
  10436. "orderqty": {
  10437. "description": "委托数量",
  10438. "type": "integer"
  10439. },
  10440. "orderstatus": {
  10441. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10442. "type": "integer"
  10443. },
  10444. "picurls": {
  10445. "description": "介绍图片[多张用逗号分隔]",
  10446. "type": "string"
  10447. },
  10448. "quoteminunit": {
  10449. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10450. "type": "integer"
  10451. },
  10452. "sellUserID": {
  10453. "description": "卖方UserID",
  10454. "type": "integer"
  10455. },
  10456. "trademode": {
  10457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10458. "type": "integer"
  10459. },
  10460. "tradeqty": {
  10461. "description": "成交数量",
  10462. "type": "integer"
  10463. },
  10464. "vendorattr": {
  10465. "description": "供应商附件(多张,逗号分隔)",
  10466. "type": "string"
  10467. },
  10468. "vendorname": {
  10469. "description": "供应商名称",
  10470. "type": "string"
  10471. },
  10472. "vendorphone": {
  10473. "description": "供应商客服电话",
  10474. "type": "string"
  10475. },
  10476. "videourls": {
  10477. "description": "介绍视频[多张用逗号分隔]",
  10478. "type": "string"
  10479. }
  10480. }
  10481. },
  10482. "models.HsbyMarketInfo": {
  10483. "type": "object",
  10484. "required": [
  10485. "marketid",
  10486. "marketstatus",
  10487. "trademode"
  10488. ],
  10489. "properties": {
  10490. "marketid": {
  10491. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  10492. "type": "integer"
  10493. },
  10494. "marketname": {
  10495. "description": "市场名称",
  10496. "type": "string"
  10497. },
  10498. "marketstatus": {
  10499. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  10500. "type": "integer"
  10501. },
  10502. "trademode": {
  10503. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10504. "type": "integer"
  10505. }
  10506. }
  10507. },
  10508. "models.HsbyMyGoods": {
  10509. "type": "object",
  10510. "required": [
  10511. "accountid",
  10512. "goodscode",
  10513. "goodsid",
  10514. "goodsname",
  10515. "marketid",
  10516. "trademode"
  10517. ],
  10518. "properties": {
  10519. "accountid": {
  10520. "description": "账号Id",
  10521. "type": "integer"
  10522. },
  10523. "agreeunit": {
  10524. "description": "合约单位",
  10525. "type": "number"
  10526. },
  10527. "buyaverageprice": {
  10528. "description": "持仓均价",
  10529. "type": "number"
  10530. },
  10531. "buycurholderamount": {
  10532. "description": "买当前持仓总金额[商品币种]",
  10533. "type": "number"
  10534. },
  10535. "buycurpositionqty": {
  10536. "description": "买当前持仓总数量",
  10537. "type": "integer"
  10538. },
  10539. "buymaxqty": {
  10540. "description": "购买上限 [71] - 0为不限",
  10541. "type": "integer"
  10542. },
  10543. "currencysign": {
  10544. "description": "货币符号",
  10545. "type": "string"
  10546. },
  10547. "decimalplace": {
  10548. "description": "报价小数位",
  10549. "type": "integer"
  10550. },
  10551. "enableqty": {
  10552. "description": "可用数量",
  10553. "type": "integer"
  10554. },
  10555. "goodscode": {
  10556. "description": "商品代码(内部)",
  10557. "type": "string"
  10558. },
  10559. "goodsid": {
  10560. "description": "商品Id",
  10561. "type": "integer"
  10562. },
  10563. "goodsname": {
  10564. "description": "商品名称",
  10565. "type": "string"
  10566. },
  10567. "goodsprice": {
  10568. "description": "商品价格",
  10569. "type": "number"
  10570. },
  10571. "goodsstatus": {
  10572. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  10573. "type": "integer"
  10574. },
  10575. "last": {
  10576. "description": "现价(仅使用于挂牌点选)",
  10577. "type": "number"
  10578. },
  10579. "limitdown": {
  10580. "description": "跌停价(仅使用于挂牌点选)",
  10581. "type": "number"
  10582. },
  10583. "limitup": {
  10584. "description": "涨停价(仅使用于挂牌点选)",
  10585. "type": "number"
  10586. },
  10587. "lotsize": {
  10588. "description": "手数最小变动单位",
  10589. "type": "integer"
  10590. },
  10591. "marketid": {
  10592. "description": "所属市场ID",
  10593. "type": "integer"
  10594. },
  10595. "picurls": {
  10596. "description": "介绍图片[多张用逗号分隔]",
  10597. "type": "string"
  10598. },
  10599. "quoteminunit": {
  10600. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10601. "type": "integer"
  10602. },
  10603. "stepvalue": {
  10604. "description": "价格最小变动单位",
  10605. "type": "number"
  10606. },
  10607. "trademode": {
  10608. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10609. "type": "integer"
  10610. }
  10611. }
  10612. },
  10613. "models.HsbyMyPackage": {
  10614. "type": "object",
  10615. "required": [
  10616. "goodscode",
  10617. "goodsname",
  10618. "takeorderid",
  10619. "trademode"
  10620. ],
  10621. "properties": {
  10622. "accountid": {
  10623. "description": "账户ID",
  10624. "type": "integer"
  10625. },
  10626. "address": {
  10627. "description": "提货人详细地址",
  10628. "type": "string"
  10629. },
  10630. "agreeunit": {
  10631. "description": "合约单位",
  10632. "type": "number"
  10633. },
  10634. "amount": {
  10635. "description": "提货金额",
  10636. "type": "number"
  10637. },
  10638. "auditer": {
  10639. "description": "审核人",
  10640. "type": "integer"
  10641. },
  10642. "audittime": {
  10643. "description": "审核时间",
  10644. "type": "string"
  10645. },
  10646. "averageprice": {
  10647. "description": "均价",
  10648. "type": "number"
  10649. },
  10650. "cardnum": {
  10651. "description": "提货人证件号码",
  10652. "type": "string"
  10653. },
  10654. "cardtypeid": {
  10655. "description": "提货人证件类型",
  10656. "type": "integer"
  10657. },
  10658. "checkremark": {
  10659. "description": "审核备注",
  10660. "type": "string"
  10661. },
  10662. "currencysign": {
  10663. "description": "货币符号",
  10664. "type": "string"
  10665. },
  10666. "decimalplace": {
  10667. "description": "报价小数位",
  10668. "type": "integer"
  10669. },
  10670. "goodscode": {
  10671. "description": "商品代码(内部)",
  10672. "type": "string"
  10673. },
  10674. "goodsid": {
  10675. "description": "商品ID",
  10676. "type": "integer"
  10677. },
  10678. "goodsname": {
  10679. "description": "商品名称",
  10680. "type": "string"
  10681. },
  10682. "handlestatus": {
  10683. "description": "处理状态",
  10684. "type": "integer"
  10685. },
  10686. "marketid": {
  10687. "description": "市场ID",
  10688. "type": "integer"
  10689. },
  10690. "phonenum": {
  10691. "description": "提货人联系方式",
  10692. "type": "string"
  10693. },
  10694. "picurls": {
  10695. "description": "介绍图片[多张用逗号分隔]",
  10696. "type": "string"
  10697. },
  10698. "qty": {
  10699. "description": "提货数量",
  10700. "type": "number"
  10701. },
  10702. "recivername": {
  10703. "description": "提货人姓名",
  10704. "type": "string"
  10705. },
  10706. "reqtime": {
  10707. "description": "更新时间",
  10708. "type": "string"
  10709. },
  10710. "takemode": {
  10711. "description": "提货方式 - 2:自提 3:配送",
  10712. "type": "integer"
  10713. },
  10714. "takeorderid": {
  10715. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10716. "type": "string"
  10717. },
  10718. "takeorderstatus": {
  10719. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10720. "type": "integer"
  10721. },
  10722. "takeremark": {
  10723. "description": "提货备注",
  10724. "type": "string"
  10725. },
  10726. "tradedate": {
  10727. "description": "交易日(yyyyMMdd)",
  10728. "type": "string"
  10729. },
  10730. "trademode": {
  10731. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10732. "type": "integer"
  10733. },
  10734. "userid": {
  10735. "description": "用户ID",
  10736. "type": "integer"
  10737. },
  10738. "vendorname": {
  10739. "description": "供应商名称",
  10740. "type": "string"
  10741. }
  10742. }
  10743. },
  10744. "models.HsbyPreGoods": {
  10745. "type": "object",
  10746. "required": [
  10747. "goodscode",
  10748. "goodsid",
  10749. "goodsname",
  10750. "marketid",
  10751. "trademode"
  10752. ],
  10753. "properties": {
  10754. "agreeunit": {
  10755. "description": "合约单位",
  10756. "type": "number"
  10757. },
  10758. "currency": {
  10759. "description": "货币",
  10760. "type": "string"
  10761. },
  10762. "currencysign": {
  10763. "description": "货币符号",
  10764. "type": "string"
  10765. },
  10766. "decimalplace": {
  10767. "description": "报价小数位",
  10768. "type": "integer"
  10769. },
  10770. "enableqty": {
  10771. "description": "剩余数量",
  10772. "type": "integer"
  10773. },
  10774. "goodscode": {
  10775. "description": "商品代码(内部)",
  10776. "type": "string"
  10777. },
  10778. "goodsid": {
  10779. "description": "商品ID(自增ID SEQ_GOODS)",
  10780. "type": "integer"
  10781. },
  10782. "goodsname": {
  10783. "description": "商品名称",
  10784. "type": "string"
  10785. },
  10786. "goodsstatus": {
  10787. "description": "商品状态- 2:未上市 3:上市",
  10788. "type": "integer"
  10789. },
  10790. "lasttradedate": {
  10791. "description": "最后交易日期(状态:待退市)",
  10792. "type": "string"
  10793. },
  10794. "listingdate": {
  10795. "description": "交易开始日期",
  10796. "type": "string"
  10797. },
  10798. "marketid": {
  10799. "description": "所属市场ID",
  10800. "type": "integer"
  10801. },
  10802. "picurls": {
  10803. "description": "介绍图片[多张用逗号分隔]",
  10804. "type": "string"
  10805. },
  10806. "presaledqty": {
  10807. "description": "已预售量(预售结束时更新)",
  10808. "type": "integer"
  10809. },
  10810. "presaleqty": {
  10811. "description": "预售数量",
  10812. "type": "integer"
  10813. },
  10814. "quoteminunit": {
  10815. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10816. "type": "integer"
  10817. },
  10818. "refprice": {
  10819. "description": "参考价格[一口价]",
  10820. "type": "number"
  10821. },
  10822. "relatedgoodsid": {
  10823. "description": "关联交易合约ID",
  10824. "type": "integer"
  10825. },
  10826. "trademode": {
  10827. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10828. "type": "integer"
  10829. },
  10830. "videourls": {
  10831. "description": "介绍视频[多张用逗号分隔]",
  10832. "type": "string"
  10833. }
  10834. }
  10835. },
  10836. "models.HsbyPreGoodsDetail": {
  10837. "type": "object",
  10838. "required": [
  10839. "goodscode",
  10840. "goodsid",
  10841. "goodsname",
  10842. "marketid",
  10843. "trademode"
  10844. ],
  10845. "properties": {
  10846. "agreeunit": {
  10847. "description": "合约单位",
  10848. "type": "number"
  10849. },
  10850. "buymaxqty": {
  10851. "description": "购买上限 [71] - 0为不限",
  10852. "type": "integer"
  10853. },
  10854. "currency": {
  10855. "description": "货币",
  10856. "type": "string"
  10857. },
  10858. "currencysign": {
  10859. "description": "货币符号",
  10860. "type": "string"
  10861. },
  10862. "customername": {
  10863. "description": "发行单位",
  10864. "type": "string"
  10865. },
  10866. "decimalplace": {
  10867. "description": "报价小数位",
  10868. "type": "integer"
  10869. },
  10870. "desccityid": {
  10871. "description": "目的地(市)ID",
  10872. "type": "integer"
  10873. },
  10874. "descprovinceid": {
  10875. "description": "目的地(省)ID",
  10876. "type": "integer"
  10877. },
  10878. "enableqty": {
  10879. "description": "剩余数量",
  10880. "type": "integer"
  10881. },
  10882. "goodscode": {
  10883. "description": "商品代码(内部)",
  10884. "type": "string"
  10885. },
  10886. "goodsdesc": {
  10887. "description": "商品详情",
  10888. "type": "string"
  10889. },
  10890. "goodsid": {
  10891. "description": "商品ID(自增ID SEQ_GOODS)",
  10892. "type": "integer"
  10893. },
  10894. "goodsname": {
  10895. "description": "商品名称",
  10896. "type": "string"
  10897. },
  10898. "goodsstatus": {
  10899. "description": "商品状态- 2:未上市 3:上市",
  10900. "type": "integer"
  10901. },
  10902. "goodunit": {
  10903. "description": "报价单位",
  10904. "type": "string"
  10905. },
  10906. "lasttradedate": {
  10907. "description": "最后交易日期(状态:待退市)",
  10908. "type": "string"
  10909. },
  10910. "listingdate": {
  10911. "description": "交易开始日期",
  10912. "type": "string"
  10913. },
  10914. "lotsize": {
  10915. "description": "手数最小变动单位",
  10916. "type": "integer"
  10917. },
  10918. "marketid": {
  10919. "description": "所属市场ID",
  10920. "type": "integer"
  10921. },
  10922. "picurls": {
  10923. "description": "介绍图片[多张用逗号分隔]",
  10924. "type": "string"
  10925. },
  10926. "presaledqty": {
  10927. "description": "已预售量(预售结束时更新)",
  10928. "type": "integer"
  10929. },
  10930. "presaleqty": {
  10931. "description": "预售数量",
  10932. "type": "integer"
  10933. },
  10934. "quoteminunit": {
  10935. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  10936. "type": "integer"
  10937. },
  10938. "refprice": {
  10939. "description": "参考价格[一口价]",
  10940. "type": "number"
  10941. },
  10942. "relatedgoodsid": {
  10943. "description": "关联交易合约ID",
  10944. "type": "integer"
  10945. },
  10946. "stepvalue": {
  10947. "description": "价格最小变动单位",
  10948. "type": "number"
  10949. },
  10950. "trademode": {
  10951. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10952. "type": "integer"
  10953. },
  10954. "vendorattr": {
  10955. "description": "供应商附件(多张,逗号分隔)",
  10956. "type": "string"
  10957. },
  10958. "vendorname": {
  10959. "description": "供应商名称",
  10960. "type": "string"
  10961. },
  10962. "vendorphone": {
  10963. "description": "供应商客服电话",
  10964. "type": "string"
  10965. },
  10966. "videourls": {
  10967. "description": "介绍视频[多张用逗号分隔]",
  10968. "type": "string"
  10969. }
  10970. }
  10971. },
  10972. "models.HsbySellCollectionOrder": {
  10973. "type": "object",
  10974. "required": [
  10975. "goodscode",
  10976. "goodsname",
  10977. "tradeid",
  10978. "trademode"
  10979. ],
  10980. "properties": {
  10981. "agreeunit": {
  10982. "description": "合约单位",
  10983. "type": "number"
  10984. },
  10985. "buyaccountid": {
  10986. "description": "买方账号ID[报价币种]",
  10987. "type": "integer"
  10988. },
  10989. "buyorderid": {
  10990. "description": "买方委托单号",
  10991. "type": "string"
  10992. },
  10993. "createtime": {
  10994. "description": "创建时间",
  10995. "type": "string"
  10996. },
  10997. "currencysign": {
  10998. "description": "货币符号",
  10999. "type": "string"
  11000. },
  11001. "decimalplace": {
  11002. "description": "报价小数位",
  11003. "type": "integer"
  11004. },
  11005. "goodscode": {
  11006. "description": "商品代码(内部)",
  11007. "type": "string"
  11008. },
  11009. "goodsid": {
  11010. "description": "商品ID",
  11011. "type": "integer"
  11012. },
  11013. "goodsname": {
  11014. "description": "商品名称",
  11015. "type": "string"
  11016. },
  11017. "marketid": {
  11018. "description": "市场ID",
  11019. "type": "integer"
  11020. },
  11021. "offamount": {
  11022. "description": "优惠金额",
  11023. "type": "number"
  11024. },
  11025. "payamount": {
  11026. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  11027. "type": "number"
  11028. },
  11029. "payflag": {
  11030. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11031. "type": "integer"
  11032. },
  11033. "paylimitedtime": {
  11034. "description": "支付期限",
  11035. "type": "string"
  11036. },
  11037. "paytime": {
  11038. "description": "付款时间",
  11039. "type": "string"
  11040. },
  11041. "picurls": {
  11042. "description": "商品介绍图片[多张用逗号分隔]",
  11043. "type": "string"
  11044. },
  11045. "sellaccountid": {
  11046. "description": "卖方账号ID[报价币种]",
  11047. "type": "integer"
  11048. },
  11049. "sellorderid": {
  11050. "description": "卖方委托单号",
  11051. "type": "string"
  11052. },
  11053. "tradeamount": {
  11054. "description": "成交金额",
  11055. "type": "number"
  11056. },
  11057. "tradecharge": {
  11058. "description": "成交手续费(买方)",
  11059. "type": "number"
  11060. },
  11061. "tradedate": {
  11062. "description": "交易日(yyyyMMdd)",
  11063. "type": "string"
  11064. },
  11065. "tradeid": {
  11066. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11067. "type": "string"
  11068. },
  11069. "trademode": {
  11070. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11071. "type": "integer"
  11072. },
  11073. "tradeprice": {
  11074. "description": "成交价格",
  11075. "type": "number"
  11076. },
  11077. "tradeqty": {
  11078. "description": "成交数量",
  11079. "type": "integer"
  11080. }
  11081. }
  11082. },
  11083. "models.HsbySellMyDetail": {
  11084. "type": "object",
  11085. "required": [
  11086. "accountid",
  11087. "buyorsell",
  11088. "goodscode",
  11089. "goodsid",
  11090. "goodsname",
  11091. "marketid",
  11092. "orderid",
  11093. "time",
  11094. "trademode"
  11095. ],
  11096. "properties": {
  11097. "accountid": {
  11098. "description": "账户ID[报价币种]",
  11099. "type": "integer"
  11100. },
  11101. "agreeunit": {
  11102. "description": "合约单位",
  11103. "type": "number"
  11104. },
  11105. "buyorsell": {
  11106. "description": "买卖 - 0:买 1:卖",
  11107. "type": "integer"
  11108. },
  11109. "currencysign": {
  11110. "description": "货币符号",
  11111. "type": "string"
  11112. },
  11113. "decimalplace": {
  11114. "description": "报价小数位",
  11115. "type": "integer"
  11116. },
  11117. "goodscode": {
  11118. "description": "商品代码(内部)",
  11119. "type": "string"
  11120. },
  11121. "goodsid": {
  11122. "description": "商品ID",
  11123. "type": "integer"
  11124. },
  11125. "goodsname": {
  11126. "description": "商品名称",
  11127. "type": "string"
  11128. },
  11129. "marketid": {
  11130. "description": "市场ID",
  11131. "type": "integer"
  11132. },
  11133. "orderid": {
  11134. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  11135. "type": "string"
  11136. },
  11137. "ordertype": {
  11138. "description": "单据类型:0 - 发布中, 1 - 已完成",
  11139. "type": "integer"
  11140. },
  11141. "picurls": {
  11142. "description": "介绍图片[多张用逗号分隔]",
  11143. "type": "string"
  11144. },
  11145. "price": {
  11146. "description": "价格",
  11147. "type": "number"
  11148. },
  11149. "qty": {
  11150. "description": "数量",
  11151. "type": "integer"
  11152. },
  11153. "time": {
  11154. "description": "时间",
  11155. "type": "string"
  11156. },
  11157. "trademode": {
  11158. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11159. "type": "integer"
  11160. },
  11161. "vendorname": {
  11162. "description": "供应商名称",
  11163. "type": "string"
  11164. }
  11165. }
  11166. },
  11167. "models.HsbyTopGoods": {
  11168. "type": "object",
  11169. "required": [
  11170. "goodscode",
  11171. "goodsid",
  11172. "goodsname",
  11173. "marketid",
  11174. "trademode"
  11175. ],
  11176. "properties": {
  11177. "agreeunit": {
  11178. "description": "合约单位",
  11179. "type": "number"
  11180. },
  11181. "currency": {
  11182. "description": "货币",
  11183. "type": "string"
  11184. },
  11185. "currencysign": {
  11186. "description": "货币符号",
  11187. "type": "string"
  11188. },
  11189. "decimalplace": {
  11190. "description": "报价小数位",
  11191. "type": "integer"
  11192. },
  11193. "goodscode": {
  11194. "description": "商品代码(内部)",
  11195. "type": "string"
  11196. },
  11197. "goodsid": {
  11198. "description": "商品ID(自增ID SEQ_GOODS)",
  11199. "type": "integer"
  11200. },
  11201. "goodsname": {
  11202. "description": "商品名称",
  11203. "type": "string"
  11204. },
  11205. "hotindex": {
  11206. "description": "景点热度",
  11207. "type": "integer"
  11208. },
  11209. "last": {
  11210. "description": "现价",
  11211. "type": "number"
  11212. },
  11213. "marketid": {
  11214. "description": "所属市场ID",
  11215. "type": "integer"
  11216. },
  11217. "picurls": {
  11218. "description": "介绍图片[多张用逗号分隔]",
  11219. "type": "string"
  11220. },
  11221. "quoteminunit": {
  11222. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11223. "type": "integer"
  11224. },
  11225. "trademode": {
  11226. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11227. "type": "integer"
  11228. },
  11229. "videourls": {
  11230. "description": "介绍视频[多张用逗号分隔]",
  11231. "type": "string"
  11232. }
  11233. }
  11234. },
  11235. "models.HybsMyBuyOrderDetail": {
  11236. "type": "object",
  11237. "required": [
  11238. "accountid",
  11239. "buyorsell",
  11240. "goodscode",
  11241. "goodsid",
  11242. "goodsname",
  11243. "marketid",
  11244. "orderid",
  11245. "orderqty",
  11246. "ordertime",
  11247. "trademode"
  11248. ],
  11249. "properties": {
  11250. "accountid": {
  11251. "description": "账户ID[报价币种]",
  11252. "type": "integer"
  11253. },
  11254. "agreeunit": {
  11255. "description": "合约单位",
  11256. "type": "number"
  11257. },
  11258. "buyorsell": {
  11259. "description": "买卖 - 0:买 1:卖",
  11260. "type": "integer"
  11261. },
  11262. "cancelqty": {
  11263. "description": "撤单数量",
  11264. "type": "integer"
  11265. },
  11266. "currencysign": {
  11267. "description": "货币符号",
  11268. "type": "string"
  11269. },
  11270. "decimalplace": {
  11271. "description": "报价小数位",
  11272. "type": "integer"
  11273. },
  11274. "goodscode": {
  11275. "description": "商品代码(内部)",
  11276. "type": "string"
  11277. },
  11278. "goodsid": {
  11279. "description": "商品ID",
  11280. "type": "integer"
  11281. },
  11282. "goodsname": {
  11283. "description": "商品名称",
  11284. "type": "string"
  11285. },
  11286. "listingselecttype": {
  11287. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11288. "type": "integer"
  11289. },
  11290. "marketid": {
  11291. "description": "市场ID",
  11292. "type": "integer"
  11293. },
  11294. "mybuystatus": {
  11295. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  11296. "type": "integer"
  11297. },
  11298. "orderamount": {
  11299. "description": "委托金额",
  11300. "type": "number"
  11301. },
  11302. "orderid": {
  11303. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11304. "type": "string"
  11305. },
  11306. "orderprice": {
  11307. "description": "委托价格",
  11308. "type": "number"
  11309. },
  11310. "orderqty": {
  11311. "description": "委托数量",
  11312. "type": "integer"
  11313. },
  11314. "orderstatus": {
  11315. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11316. "type": "integer"
  11317. },
  11318. "ordertime": {
  11319. "description": "委托时间",
  11320. "type": "string"
  11321. },
  11322. "picurls1": {
  11323. "description": "预售商品介绍图片[多张用逗号分隔]",
  11324. "type": "string"
  11325. },
  11326. "picurls2": {
  11327. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  11328. "type": "string"
  11329. },
  11330. "trademode": {
  11331. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11332. "type": "integer"
  11333. },
  11334. "tradeqty": {
  11335. "description": "成交数量",
  11336. "type": "integer"
  11337. },
  11338. "vendorname1": {
  11339. "description": "预售商品供应商名称",
  11340. "type": "string"
  11341. },
  11342. "vendorname2": {
  11343. "description": "挂牌商品供应商名称",
  11344. "type": "string"
  11345. }
  11346. }
  11347. },
  11348. "models.Market": {
  11349. "type": "object",
  11350. "required": [
  11351. "marketid",
  11352. "marketstatus",
  11353. "openmethod",
  11354. "reckonpricealgorithm",
  11355. "trademode",
  11356. "tradeproperty"
  11357. ],
  11358. "properties": {
  11359. "auctionwrtype": {
  11360. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  11361. "type": "integer"
  11362. },
  11363. "canacceptquote": {
  11364. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  11365. "type": "integer"
  11366. },
  11367. "cangoodsexercise": {
  11368. "description": "[期权]是否可现货行权- 0:否 1:是",
  11369. "type": "integer"
  11370. },
  11371. "cangoodsexercisetype": {
  11372. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  11373. "type": "integer"
  11374. },
  11375. "canmanualquotestrike": {
  11376. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  11377. "type": "integer"
  11378. },
  11379. "canmutistage": {
  11380. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  11381. "type": "integer"
  11382. },
  11383. "canpreexercise": {
  11384. "description": "[期权]是否可预申报- 0:否 1:是",
  11385. "type": "integer"
  11386. },
  11387. "clearinterval": {
  11388. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  11389. "type": "integer"
  11390. },
  11391. "contracttmp": {
  11392. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  11393. "type": "string"
  11394. },
  11395. "exchareaid": {
  11396. "description": "所属交易所,可以没有",
  11397. "type": "integer"
  11398. },
  11399. "goodstype": {
  11400. "description": "商品类型 - 1:交易商品 2:仓单商品",
  11401. "type": "integer"
  11402. },
  11403. "hasrebate": {
  11404. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  11405. "type": "integer"
  11406. },
  11407. "hastradecredit": {
  11408. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  11409. "type": "integer"
  11410. },
  11411. "haswr": {
  11412. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  11413. "type": "integer"
  11414. },
  11415. "isdeductmargin": {
  11416. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  11417. "type": "integer"
  11418. },
  11419. "isrecordsource": {
  11420. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  11421. "type": "integer"
  11422. },
  11423. "isreleasemargin": {
  11424. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  11425. "type": "integer"
  11426. },
  11427. "marginformula": {
  11428. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11429. "type": "integer"
  11430. },
  11431. "marginformula2": {
  11432. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  11433. "type": "integer"
  11434. },
  11435. "marketid": {
  11436. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  11437. "type": "integer"
  11438. },
  11439. "marketname": {
  11440. "description": "市场名称",
  11441. "type": "string"
  11442. },
  11443. "marketserviceid": {
  11444. "description": "市场服务ID",
  11445. "type": "integer"
  11446. },
  11447. "marketstatus": {
  11448. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  11449. "type": "integer"
  11450. },
  11451. "markettype": {
  11452. "description": "市场类型- 1:非交易服务 2:交易服务",
  11453. "type": "integer"
  11454. },
  11455. "matchermode": {
  11456. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  11457. "type": "integer"
  11458. },
  11459. "openmethod": {
  11460. "description": "开盘模式 - 0 自动 1手动",
  11461. "type": "integer"
  11462. },
  11463. "otcuserid": {
  11464. "description": "场外期权做市商[场外期权]",
  11465. "type": "integer"
  11466. },
  11467. "outersynctime": {
  11468. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  11469. "type": "string"
  11470. },
  11471. "pendingflag": {
  11472. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  11473. "type": "integer"
  11474. },
  11475. "pendingtime": {
  11476. "description": "待开市时间[通道交易-对冲](HH:mm)",
  11477. "type": "string"
  11478. },
  11479. "performancetempid": {
  11480. "description": "履约计划模板ID - 作废",
  11481. "type": "integer"
  11482. },
  11483. "premiumquotemode": {
  11484. "description": "权利金报价方式 - 1:自动 2:手动",
  11485. "type": "integer"
  11486. },
  11487. "rebateratio": {
  11488. "description": "返利比率[竞价式]",
  11489. "type": "number"
  11490. },
  11491. "reckonorder": {
  11492. "description": "结算顺序",
  11493. "type": "integer"
  11494. },
  11495. "reckonpricealgorithm": {
  11496. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  11497. "type": "integer"
  11498. },
  11499. "reckonpriceparam": {
  11500. "description": "结算价参数",
  11501. "type": "integer"
  11502. },
  11503. "reckontime": {
  11504. "description": "结算时间[通道交易-对冲](HH:mm)",
  11505. "type": "string"
  11506. },
  11507. "roleprioritytype": {
  11508. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  11509. "type": "integer"
  11510. },
  11511. "selllistingauditflag": {
  11512. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  11513. "type": "integer"
  11514. },
  11515. "trademarkettype": {
  11516. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  11517. "type": "integer"
  11518. },
  11519. "trademode": {
  11520. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  11521. "type": "integer"
  11522. },
  11523. "tradeproperty": {
  11524. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  11525. "type": "integer"
  11526. },
  11527. "tradetype": {
  11528. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  11529. "type": "integer"
  11530. }
  11531. }
  11532. },
  11533. "models.Marketrun": {
  11534. "type": "object",
  11535. "required": [
  11536. "marketid",
  11537. "nexttradedate",
  11538. "reckonflag",
  11539. "runstatus",
  11540. "tradedate",
  11541. "tradedate2"
  11542. ],
  11543. "properties": {
  11544. "afternexttradedate": {
  11545. "description": "下下交易日",
  11546. "type": "string"
  11547. },
  11548. "clearquoteflag": {
  11549. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  11550. "type": "integer"
  11551. },
  11552. "lastreckondate": {
  11553. "description": "最新交易日(结算成功)",
  11554. "type": "string"
  11555. },
  11556. "machinedate": {
  11557. "description": "机器时间",
  11558. "type": "string"
  11559. },
  11560. "manualflag": {
  11561. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  11562. "type": "integer"
  11563. },
  11564. "marketid": {
  11565. "description": "市场ID",
  11566. "type": "integer"
  11567. },
  11568. "nexttradedate": {
  11569. "description": "下一交易日",
  11570. "type": "string"
  11571. },
  11572. "pretradedate": {
  11573. "description": "上一交易日",
  11574. "type": "string"
  11575. },
  11576. "reckonflag": {
  11577. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  11578. "type": "integer"
  11579. },
  11580. "runstatus": {
  11581. "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.今日免清算",
  11582. "type": "integer"
  11583. },
  11584. "sectionid": {
  11585. "description": "时间段号[多时段时用]",
  11586. "type": "integer"
  11587. },
  11588. "tradedate": {
  11589. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  11590. "type": "string"
  11591. },
  11592. "tradedate2": {
  11593. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  11594. "type": "string"
  11595. },
  11596. "updatetime": {
  11597. "description": "更新时间",
  11598. "type": "string"
  11599. }
  11600. }
  11601. },
  11602. "models.Messageboard": {
  11603. "type": "object",
  11604. "required": [
  11605. "messageboardid"
  11606. ],
  11607. "properties": {
  11608. "createtime": {
  11609. "description": "创建时间",
  11610. "type": "string"
  11611. },
  11612. "message": {
  11613. "description": "留言信息",
  11614. "type": "string"
  11615. },
  11616. "messageboardid": {
  11617. "description": "留言簿ID(SEQ_MessageBoard)",
  11618. "type": "integer"
  11619. },
  11620. "userid": {
  11621. "description": "用户ID",
  11622. "type": "integer"
  11623. }
  11624. }
  11625. },
  11626. "models.MyCoupon": {
  11627. "type": "object",
  11628. "required": [
  11629. "accountid",
  11630. "coupontypeid"
  11631. ],
  11632. "properties": {
  11633. "accountid": {
  11634. "description": "资金账户ID",
  11635. "type": "integer"
  11636. },
  11637. "areauserid": {
  11638. "description": "所属机构",
  11639. "type": "integer"
  11640. },
  11641. "conditionvalue": {
  11642. "description": "条件阈值(可为0)",
  11643. "type": "number"
  11644. },
  11645. "couponcategroy": {
  11646. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  11647. "type": "integer"
  11648. },
  11649. "couponname": {
  11650. "description": "优惠券名称",
  11651. "type": "string"
  11652. },
  11653. "coupontypeid": {
  11654. "description": "优惠券类型ID",
  11655. "type": "string"
  11656. },
  11657. "couponvalue": {
  11658. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11659. "type": "number"
  11660. },
  11661. "curfreezeqty": {
  11662. "description": "期末冻结数量",
  11663. "type": "integer"
  11664. },
  11665. "curqty": {
  11666. "description": "期末数量",
  11667. "type": "integer"
  11668. },
  11669. "isgeneral": {
  11670. "description": "是否通用券 - 0:否 1:是",
  11671. "type": "integer"
  11672. },
  11673. "isunusable": {
  11674. "description": "是否不可用",
  11675. "type": "boolean"
  11676. },
  11677. "limitedflag": {
  11678. "description": "是否指定商品 - 0:不限 1:限制",
  11679. "type": "integer"
  11680. },
  11681. "limitedgoodsids": {
  11682. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  11683. "type": "string"
  11684. },
  11685. "orifreezeqty": {
  11686. "description": "期初冻结数量",
  11687. "type": "integer"
  11688. },
  11689. "oriqty": {
  11690. "description": "期初数量",
  11691. "type": "integer"
  11692. },
  11693. "reasontype": {
  11694. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  11695. "type": "integer"
  11696. },
  11697. "todaydecrease": {
  11698. "description": "今日减少",
  11699. "type": "integer"
  11700. },
  11701. "todayincrease": {
  11702. "description": "今日增加",
  11703. "type": "integer"
  11704. },
  11705. "userid": {
  11706. "description": "用户ID",
  11707. "type": "integer"
  11708. },
  11709. "userscope": {
  11710. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  11711. "type": "string"
  11712. }
  11713. }
  11714. },
  11715. "models.MyCouponHold": {
  11716. "type": "object",
  11717. "required": [
  11718. "couponholdid"
  11719. ],
  11720. "properties": {
  11721. "accountid": {
  11722. "description": "资金账户ID",
  11723. "type": "integer"
  11724. },
  11725. "conditionvalue": {
  11726. "description": "条件阈值(可为0)",
  11727. "type": "number"
  11728. },
  11729. "couponcategroy": {
  11730. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  11731. "type": "integer"
  11732. },
  11733. "couponholdid": {
  11734. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  11735. "type": "string"
  11736. },
  11737. "couponname": {
  11738. "description": "优惠券名称",
  11739. "type": "string"
  11740. },
  11741. "coupontypeid": {
  11742. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  11743. "type": "string"
  11744. },
  11745. "couponvalue": {
  11746. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  11747. "type": "number"
  11748. },
  11749. "createtime": {
  11750. "description": "创建时间",
  11751. "type": "string"
  11752. },
  11753. "enddate": {
  11754. "description": "结束日期",
  11755. "type": "string"
  11756. },
  11757. "giveapplyid": {
  11758. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  11759. "type": "integer"
  11760. },
  11761. "holdstatus": {
  11762. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  11763. "type": "integer"
  11764. },
  11765. "isgeneral": {
  11766. "description": "是否通用券 - 0:否 1:是",
  11767. "type": "integer"
  11768. },
  11769. "limitedflag": {
  11770. "description": "是否指定商品 - 0:不限 1:限制",
  11771. "type": "integer"
  11772. },
  11773. "limitedgoodsids": {
  11774. "description": "指定商品IDs[逗号分隔]",
  11775. "type": "string"
  11776. },
  11777. "qty": {
  11778. "description": "数量(按1平铺)",
  11779. "type": "integer"
  11780. },
  11781. "startdate": {
  11782. "description": "开始日期",
  11783. "type": "string"
  11784. },
  11785. "userid": {
  11786. "description": "用户ID",
  11787. "type": "integer"
  11788. },
  11789. "userscope": {
  11790. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  11791. "type": "string"
  11792. }
  11793. }
  11794. },
  11795. "models.MyUsedCoupon": {
  11796. "type": "object",
  11797. "required": [
  11798. "coupontypeid",
  11799. "orderid"
  11800. ],
  11801. "properties": {
  11802. "accountid": {
  11803. "description": "资金账户ID(买方)",
  11804. "type": "integer"
  11805. },
  11806. "conditionvalue": {
  11807. "description": "条件阈值(可为0)",
  11808. "type": "number"
  11809. },
  11810. "couponcategroy": {
  11811. "description": "种类 - 1:现金券 2:折扣券",
  11812. "type": "integer"
  11813. },
  11814. "couponname": {
  11815. "description": "优惠券名称",
  11816. "type": "string"
  11817. },
  11818. "coupontypeid": {
  11819. "description": "优惠券类型ID(买方)",
  11820. "type": "string"
  11821. },
  11822. "couponvalue": {
  11823. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  11824. "type": "number"
  11825. },
  11826. "createtime": {
  11827. "description": "创建时间",
  11828. "type": "string"
  11829. },
  11830. "goodsid": {
  11831. "description": "商品ID",
  11832. "type": "integer"
  11833. },
  11834. "handlestatus": {
  11835. "description": "处理状态",
  11836. "type": "integer"
  11837. },
  11838. "marketid": {
  11839. "description": "市场ID",
  11840. "type": "integer"
  11841. },
  11842. "offamount": {
  11843. "description": "优惠金额",
  11844. "type": "number"
  11845. },
  11846. "orderid": {
  11847. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11848. "type": "string"
  11849. },
  11850. "sellaccountid": {
  11851. "description": "资金账户ID(卖方)",
  11852. "type": "integer"
  11853. },
  11854. "tradeamount": {
  11855. "description": "成交金额",
  11856. "type": "number"
  11857. },
  11858. "tradeid": {
  11859. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11860. "type": "string"
  11861. },
  11862. "usedqty": {
  11863. "description": "使用数量",
  11864. "type": "integer"
  11865. }
  11866. }
  11867. },
  11868. "models.OperationPrimaryMenu": {
  11869. "type": "object",
  11870. "properties": {
  11871. "Children": {
  11872. "description": "二级功能菜单",
  11873. "type": "array",
  11874. "items": {
  11875. "$ref": "#/definitions/models.OperationSecondaryMenu"
  11876. }
  11877. },
  11878. "Key": {
  11879. "description": "菜单KEY",
  11880. "type": "string"
  11881. },
  11882. "Label": {
  11883. "description": "菜单标题",
  11884. "type": "string"
  11885. }
  11886. }
  11887. },
  11888. "models.OperationSecondaryMenu": {
  11889. "type": "object",
  11890. "properties": {
  11891. "Key": {
  11892. "description": "菜单KEY",
  11893. "type": "string"
  11894. },
  11895. "Label": {
  11896. "description": "菜单标题",
  11897. "type": "string"
  11898. },
  11899. "TabList": {
  11900. "description": "三级功能菜单",
  11901. "type": "array",
  11902. "items": {
  11903. "$ref": "#/definitions/models.OperationTabMenu"
  11904. }
  11905. }
  11906. }
  11907. },
  11908. "models.OperationTabMenu": {
  11909. "type": "object",
  11910. "properties": {
  11911. "Key": {
  11912. "description": "菜单KEY",
  11913. "type": "string"
  11914. },
  11915. "Label": {
  11916. "description": "菜单标题",
  11917. "type": "string"
  11918. }
  11919. }
  11920. },
  11921. "models.PendingAuditBizModel": {
  11922. "type": "object",
  11923. "properties": {
  11924. "accountid": {
  11925. "description": "现货账户",
  11926. "type": "string"
  11927. },
  11928. "areaname": {
  11929. "description": "所属部门",
  11930. "type": "string"
  11931. },
  11932. "bizid": {
  11933. "description": "业务ID",
  11934. "type": "string"
  11935. },
  11936. "bizname": {
  11937. "description": "业务名称",
  11938. "type": "string"
  11939. },
  11940. "status": {
  11941. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11942. "type": "integer"
  11943. },
  11944. "type": {
  11945. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11946. "type": "integer"
  11947. }
  11948. }
  11949. },
  11950. "models.QuotePrimaryMenu": {
  11951. "type": "object",
  11952. "properties": {
  11953. "Index": {
  11954. "description": "序号",
  11955. "type": "integer"
  11956. },
  11957. "Key": {
  11958. "description": "键名",
  11959. "type": "string"
  11960. },
  11961. "Name": {
  11962. "description": "菜单名称",
  11963. "type": "string"
  11964. },
  11965. "SubMenus": {
  11966. "description": "子菜单",
  11967. "type": "array",
  11968. "items": {
  11969. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  11970. }
  11971. },
  11972. "SubTitleType": {
  11973. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  11974. "type": "integer"
  11975. },
  11976. "TradeModes": {
  11977. "description": "包含市场交易类型",
  11978. "type": "string"
  11979. }
  11980. }
  11981. },
  11982. "models.QuoteSecondaryMenu": {
  11983. "type": "object",
  11984. "properties": {
  11985. "ExExchangeCode": {
  11986. "description": "外部交易所代码",
  11987. "type": "string"
  11988. },
  11989. "ExExchangeID": {
  11990. "description": "外部交易所ID",
  11991. "type": "integer"
  11992. },
  11993. "GoodsGroupIDs": {
  11994. "description": "商品组ID列表",
  11995. "type": "array",
  11996. "items": {
  11997. "type": "integer"
  11998. }
  11999. },
  12000. "Index": {
  12001. "description": "序号",
  12002. "type": "integer"
  12003. },
  12004. "MarketID": {
  12005. "description": "市场ID",
  12006. "type": "integer"
  12007. },
  12008. "MenuTitle": {
  12009. "description": "菜单标题(市场名称或外部交易所名称)",
  12010. "type": "string"
  12011. },
  12012. "TradeMode": {
  12013. "description": "交易模式",
  12014. "type": "integer"
  12015. }
  12016. }
  12017. },
  12018. "models.SearchGoods": {
  12019. "type": "object",
  12020. "required": [
  12021. "goodscode",
  12022. "goodsid",
  12023. "goodsname",
  12024. "marketid",
  12025. "trademode"
  12026. ],
  12027. "properties": {
  12028. "goodscode": {
  12029. "description": "商品代码(内部)",
  12030. "type": "string"
  12031. },
  12032. "goodsid": {
  12033. "description": "商品ID(自增ID SEQ_GOODS)",
  12034. "type": "integer"
  12035. },
  12036. "goodsname": {
  12037. "description": "商品名称",
  12038. "type": "string"
  12039. },
  12040. "marketid": {
  12041. "description": "所属市场ID",
  12042. "type": "integer"
  12043. },
  12044. "marketname": {
  12045. "description": "市场名称",
  12046. "type": "string"
  12047. },
  12048. "trademode": {
  12049. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12050. "type": "integer"
  12051. }
  12052. }
  12053. },
  12054. "models.Szdz2imageconfig": {
  12055. "type": "object",
  12056. "required": [
  12057. "configid"
  12058. ],
  12059. "properties": {
  12060. "configid": {
  12061. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  12062. "type": "integer"
  12063. },
  12064. "imagepath": {
  12065. "description": "图片",
  12066. "type": "string"
  12067. },
  12068. "imagetype": {
  12069. "description": "类型 - 1:App首页轮播 2:我的",
  12070. "type": "integer"
  12071. },
  12072. "sort": {
  12073. "description": "排序",
  12074. "type": "integer"
  12075. },
  12076. "title": {
  12077. "description": "标题",
  12078. "type": "string"
  12079. },
  12080. "url": {
  12081. "description": "链接",
  12082. "type": "string"
  12083. }
  12084. }
  12085. },
  12086. "models.Szdz3convertconfig": {
  12087. "type": "object",
  12088. "required": [
  12089. "converttype",
  12090. "innergoodsid",
  12091. "outergoodscode"
  12092. ],
  12093. "properties": {
  12094. "canin": {
  12095. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  12096. "type": "integer"
  12097. },
  12098. "canout": {
  12099. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  12100. "type": "integer"
  12101. },
  12102. "converttype": {
  12103. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12104. "type": "integer"
  12105. },
  12106. "createtime": {
  12107. "description": "创建时间",
  12108. "type": "string"
  12109. },
  12110. "creatorid": {
  12111. "description": "创建人",
  12112. "type": "integer"
  12113. },
  12114. "daymaxvalue": {
  12115. "description": "当日最大转入限制",
  12116. "type": "number"
  12117. },
  12118. "freezedays": {
  12119. "description": "冻结天数 [5:花生米转交易]",
  12120. "type": "integer"
  12121. },
  12122. "innergoodsid": {
  12123. "description": "内部商品ID[交易]",
  12124. "type": "integer"
  12125. },
  12126. "inratio": {
  12127. "description": "目标值",
  12128. "type": "integer"
  12129. },
  12130. "modifierid": {
  12131. "description": "修改人",
  12132. "type": "integer"
  12133. },
  12134. "modifytime": {
  12135. "description": "修改时间",
  12136. "type": "string"
  12137. },
  12138. "outergoodscode": {
  12139. "description": "外部商品代码[JD\\PD]",
  12140. "type": "string"
  12141. },
  12142. "outratio": {
  12143. "description": "源值",
  12144. "type": "integer"
  12145. },
  12146. "pddecimalplace": {
  12147. "description": "PD小数位",
  12148. "type": "integer"
  12149. },
  12150. "timemaxvalue": {
  12151. "description": "单次最大转入限制",
  12152. "type": "number"
  12153. },
  12154. "timeminvalue": {
  12155. "description": "单次最小转入限制",
  12156. "type": "number"
  12157. }
  12158. }
  12159. },
  12160. "models.Szdz3searchwhitelist": {
  12161. "type": "object",
  12162. "required": [
  12163. "userid"
  12164. ],
  12165. "properties": {
  12166. "createtime": {
  12167. "description": "创建时间",
  12168. "type": "string"
  12169. },
  12170. "creatorid": {
  12171. "description": "创建人",
  12172. "type": "integer"
  12173. },
  12174. "modifierid": {
  12175. "description": "修改人",
  12176. "type": "integer"
  12177. },
  12178. "modifytime": {
  12179. "description": "修改时间",
  12180. "type": "string"
  12181. },
  12182. "userid": {
  12183. "description": "用户ID",
  12184. "type": "integer"
  12185. }
  12186. }
  12187. },
  12188. "models.Tablecolumnconfig": {
  12189. "type": "object",
  12190. "required": [
  12191. "autoid"
  12192. ],
  12193. "properties": {
  12194. "aligntype": {
  12195. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  12196. "type": "integer"
  12197. },
  12198. "autoid": {
  12199. "description": "AutoID",
  12200. "type": "integer"
  12201. },
  12202. "columnfield": {
  12203. "description": "列字段",
  12204. "type": "string"
  12205. },
  12206. "columntitle": {
  12207. "description": "列Title",
  12208. "type": "string"
  12209. },
  12210. "columnwidth": {
  12211. "description": "列宽",
  12212. "type": "string"
  12213. },
  12214. "formatterstring": {
  12215. "description": "格式化字符",
  12216. "type": "string"
  12217. },
  12218. "formattertype": {
  12219. "description": "格式化类型",
  12220. "type": "string"
  12221. },
  12222. "groupname": {
  12223. "description": "表头分组名称",
  12224. "type": "string"
  12225. },
  12226. "isshow": {
  12227. "description": "是否显示 - 0:不显示 1:显示",
  12228. "type": "integer"
  12229. },
  12230. "needsummary": {
  12231. "description": "是否需要汇总 - 0:不需要 1:需要",
  12232. "type": "integer"
  12233. },
  12234. "orderindex": {
  12235. "description": "顺序",
  12236. "type": "integer"
  12237. },
  12238. "remark": {
  12239. "description": "备注",
  12240. "type": "string"
  12241. },
  12242. "summarytype": {
  12243. "description": "汇总类型 - 1:加总 2:最后一个",
  12244. "type": "integer"
  12245. },
  12246. "tablekey": {
  12247. "description": "列表Key",
  12248. "type": "string"
  12249. }
  12250. }
  12251. },
  12252. "models.Useraccount": {
  12253. "type": "object",
  12254. "required": [
  12255. "userid"
  12256. ],
  12257. "properties": {
  12258. "accountname": {
  12259. "description": "账户名称(机构名称)",
  12260. "type": "string"
  12261. },
  12262. "accountstatus": {
  12263. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  12264. "type": "integer"
  12265. },
  12266. "auditremark": {
  12267. "description": "审核备注",
  12268. "type": "string"
  12269. },
  12270. "audittime": {
  12271. "description": "审核时间",
  12272. "type": "string"
  12273. },
  12274. "audituserid": {
  12275. "description": "审核人",
  12276. "type": "integer"
  12277. },
  12278. "broker": {
  12279. "description": "所属经纪人ID",
  12280. "type": "integer"
  12281. },
  12282. "canceltime": {
  12283. "description": "销户时间",
  12284. "type": "string"
  12285. },
  12286. "canceluserid": {
  12287. "description": "销户人",
  12288. "type": "integer"
  12289. },
  12290. "createtime": {
  12291. "description": "创建时间",
  12292. "type": "string"
  12293. },
  12294. "creatorid": {
  12295. "description": "创建人",
  12296. "type": "integer"
  12297. },
  12298. "hasauth": {
  12299. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  12300. "type": "integer"
  12301. },
  12302. "isanonymous": {
  12303. "description": "是否匿名下单 - 0:否 1:是",
  12304. "type": "integer"
  12305. },
  12306. "maxinvestornum": {
  12307. "description": "最大用户数(经纪会员下投资者个数)",
  12308. "type": "integer"
  12309. },
  12310. "memberuserid": {
  12311. "description": "所属会员ID",
  12312. "type": "integer"
  12313. },
  12314. "modifierid": {
  12315. "description": "修改人",
  12316. "type": "integer"
  12317. },
  12318. "modifyremark": {
  12319. "description": "变更备注",
  12320. "type": "string"
  12321. },
  12322. "modifystatus": {
  12323. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  12324. "type": "integer"
  12325. },
  12326. "modifytime": {
  12327. "description": "修改时间",
  12328. "type": "string"
  12329. },
  12330. "parentuserid": {
  12331. "description": "所属机构ID",
  12332. "type": "integer"
  12333. },
  12334. "reckonaccountid": {
  12335. "description": "默认结算资金账号ID(机构分润使用) 作废",
  12336. "type": "integer"
  12337. },
  12338. "refercount": {
  12339. "description": "推荐总人数",
  12340. "type": "integer"
  12341. },
  12342. "refereeuserid": {
  12343. "description": "推荐人ID",
  12344. "type": "integer"
  12345. },
  12346. "refernum": {
  12347. "description": "推荐码",
  12348. "type": "string"
  12349. },
  12350. "subarealevelpath": {
  12351. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  12352. "type": "string"
  12353. },
  12354. "userid": {
  12355. "description": "用户ID",
  12356. "type": "integer"
  12357. },
  12358. "usertype": {
  12359. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12360. "type": "integer"
  12361. }
  12362. }
  12363. },
  12364. "models.Userfavoritegoods": {
  12365. "type": "object",
  12366. "required": [
  12367. "goodsid"
  12368. ],
  12369. "properties": {
  12370. "goodsid": {
  12371. "description": "商品ID",
  12372. "type": "integer"
  12373. }
  12374. }
  12375. },
  12376. "models.Userinfo": {
  12377. "type": "object",
  12378. "required": [
  12379. "userid"
  12380. ],
  12381. "properties": {
  12382. "address": {
  12383. "description": "地址",
  12384. "type": "string"
  12385. },
  12386. "attachment1": {
  12387. "description": "附件1",
  12388. "type": "string"
  12389. },
  12390. "attachment2": {
  12391. "description": "附件2",
  12392. "type": "string"
  12393. },
  12394. "bankaccount": {
  12395. "description": "银行帐号 (加密存储)",
  12396. "type": "string"
  12397. },
  12398. "bankaccountname": {
  12399. "description": "收款人名称",
  12400. "type": "string"
  12401. },
  12402. "bankcardfrontphotourl": {
  12403. "description": "银行卡正面照地址",
  12404. "type": "string"
  12405. },
  12406. "bankid": {
  12407. "description": "银行编码",
  12408. "type": "string"
  12409. },
  12410. "bankname": {
  12411. "description": "银行名称",
  12412. "type": "string"
  12413. },
  12414. "biznature": {
  12415. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12416. "type": "integer"
  12417. },
  12418. "bizscope": {
  12419. "description": "企业经营范围(企业)",
  12420. "type": "string"
  12421. },
  12422. "cardbackphotourl": {
  12423. "description": "证件背面图片地址",
  12424. "type": "string"
  12425. },
  12426. "cardfrontphotourl": {
  12427. "description": "证件正面图片地址",
  12428. "type": "string"
  12429. },
  12430. "cardnum": {
  12431. "description": "证件号码(加密存储)",
  12432. "type": "string"
  12433. },
  12434. "cardtypeid": {
  12435. "description": "证件类型ID",
  12436. "type": "integer"
  12437. },
  12438. "cityid": {
  12439. "description": "市",
  12440. "type": "integer"
  12441. },
  12442. "company": {
  12443. "description": "公司(个人)",
  12444. "type": "string"
  12445. },
  12446. "contactname": {
  12447. "description": "联系人",
  12448. "type": "string"
  12449. },
  12450. "countryid": {
  12451. "description": "国家",
  12452. "type": "integer"
  12453. },
  12454. "createtime": {
  12455. "description": "创建时间",
  12456. "type": "string"
  12457. },
  12458. "creatorid": {
  12459. "description": "创建人",
  12460. "type": "integer"
  12461. },
  12462. "customername": {
  12463. "description": "客户名称(企业名称)",
  12464. "type": "string"
  12465. },
  12466. "districtid": {
  12467. "description": "地区",
  12468. "type": "integer"
  12469. },
  12470. "email": {
  12471. "description": "邮件(加密存储)",
  12472. "type": "string"
  12473. },
  12474. "fax": {
  12475. "description": "传真(加密存储)",
  12476. "type": "string"
  12477. },
  12478. "halfbodyphotourl": {
  12479. "description": "半身照地址",
  12480. "type": "string"
  12481. },
  12482. "hasencrypt": {
  12483. "description": "数据是否已加密 - 0:未加密 1:已加密",
  12484. "type": "integer"
  12485. },
  12486. "headurl": {
  12487. "description": "头像地址",
  12488. "type": "string"
  12489. },
  12490. "legalcardbackphotourl": {
  12491. "description": "法人身份证背面照地址",
  12492. "type": "string"
  12493. },
  12494. "legalcardfrontphotourl": {
  12495. "description": "法人身份证正面照地址",
  12496. "type": "string"
  12497. },
  12498. "legalpersonname": {
  12499. "description": "法人姓名(企业)",
  12500. "type": "string"
  12501. },
  12502. "mobile": {
  12503. "description": "手机号码(加密存储)",
  12504. "type": "string"
  12505. },
  12506. "mobile2": {
  12507. "description": "手机号码[明文-尚志]",
  12508. "type": "string"
  12509. },
  12510. "modifierid": {
  12511. "description": "修改人",
  12512. "type": "integer"
  12513. },
  12514. "modifiertime": {
  12515. "description": "修改时间",
  12516. "type": "string"
  12517. },
  12518. "needinvoice": {
  12519. "description": "是否需要发票 - 0:不需要 1:需要",
  12520. "type": "integer"
  12521. },
  12522. "nickname": {
  12523. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  12524. "type": "string"
  12525. },
  12526. "openmode": {
  12527. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  12528. "type": "integer"
  12529. },
  12530. "otherurl": {
  12531. "description": "其它图片地址[使用分号分隔]",
  12532. "type": "string"
  12533. },
  12534. "postalcode": {
  12535. "description": "邮政编码",
  12536. "type": "string"
  12537. },
  12538. "provinceid": {
  12539. "description": "省",
  12540. "type": "integer"
  12541. },
  12542. "qq": {
  12543. "description": "QQ(加密存储",
  12544. "type": "string"
  12545. },
  12546. "remark": {
  12547. "description": "备注",
  12548. "type": "string"
  12549. },
  12550. "sex": {
  12551. "description": "用户性别 0: 女 1: 男",
  12552. "type": "integer"
  12553. },
  12554. "signpdfurl": {
  12555. "description": "签约pdf文件",
  12556. "type": "string"
  12557. },
  12558. "telphone": {
  12559. "description": "联系电话(加密存储)",
  12560. "type": "string"
  12561. },
  12562. "userid": {
  12563. "description": "用户ID",
  12564. "type": "integer"
  12565. },
  12566. "userinfotype": {
  12567. "description": "用户信息类型 - 1:个人 2:企业",
  12568. "type": "integer"
  12569. },
  12570. "userstatus": {
  12571. "description": "用户状态 - 1:正常 2:注销",
  12572. "type": "integer"
  12573. },
  12574. "usertype": {
  12575. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  12576. "type": "integer"
  12577. },
  12578. "wechat": {
  12579. "description": "微信(加密存储)",
  12580. "type": "string"
  12581. },
  12582. "wskhinfo": {
  12583. "description": "开户申请信息(JSON)",
  12584. "type": "string"
  12585. }
  12586. }
  12587. },
  12588. "models.WRCategoryTree": {
  12589. "type": "object",
  12590. "required": [
  12591. "categoryid"
  12592. ],
  12593. "properties": {
  12594. "areauserid": {
  12595. "description": "所属机构",
  12596. "type": "integer"
  12597. },
  12598. "categorydesc": {
  12599. "description": "类别描述",
  12600. "type": "string"
  12601. },
  12602. "categoryid": {
  12603. "description": "类别ID(SEQ_WRCATEGORY)",
  12604. "type": "integer"
  12605. },
  12606. "categoryname": {
  12607. "description": "类别名称",
  12608. "type": "string"
  12609. },
  12610. "iconurl": {
  12611. "description": "图标地址",
  12612. "type": "string"
  12613. },
  12614. "orderindex": {
  12615. "description": "顺序",
  12616. "type": "integer"
  12617. },
  12618. "parentcategoryid": {
  12619. "description": "父类别ID",
  12620. "type": "integer"
  12621. },
  12622. "subcategory": {
  12623. "description": "子分类",
  12624. "type": "array",
  12625. "items": {
  12626. "$ref": "#/definitions/models.WRCategoryTree"
  12627. }
  12628. }
  12629. }
  12630. },
  12631. "models.WRSConverTDetail": {
  12632. "type": "object",
  12633. "properties": {
  12634. "convertratio": {
  12635. "description": "套保系数",
  12636. "type": "number"
  12637. },
  12638. "deliverygoodsid": {
  12639. "description": "现货品种ID",
  12640. "type": "integer"
  12641. },
  12642. "middlegoodscode": {
  12643. "description": "套保品种代码",
  12644. "type": "string"
  12645. },
  12646. "middlegoodsid": {
  12647. "description": "套保品种ID",
  12648. "type": "integer"
  12649. },
  12650. "middlegoodsname": {
  12651. "description": "套保品种名称",
  12652. "type": "string"
  12653. },
  12654. "modifytime": {
  12655. "description": "修改时间",
  12656. "type": "string"
  12657. },
  12658. "wrstandardid": {
  12659. "description": "现货商品ID",
  12660. "type": "integer"
  12661. }
  12662. }
  12663. },
  12664. "models.WRStandardInfo": {
  12665. "type": "object",
  12666. "required": [
  12667. "wrstandardid"
  12668. ],
  12669. "properties": {
  12670. "createtime": {
  12671. "description": "创建时间",
  12672. "type": "string"
  12673. },
  12674. "creatorid": {
  12675. "description": "创建人",
  12676. "type": "integer"
  12677. },
  12678. "deliverygoodsid": {
  12679. "description": "品种ID",
  12680. "type": "integer"
  12681. },
  12682. "deliverygoodsname": {
  12683. "description": "交割商品名称",
  12684. "type": "string"
  12685. },
  12686. "factoryitemjson": {
  12687. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  12688. "type": "string"
  12689. },
  12690. "isvalid": {
  12691. "description": "是否有效 - 0:无效 1:有效",
  12692. "type": "integer"
  12693. },
  12694. "minivalue": {
  12695. "description": "最小变动值",
  12696. "type": "integer"
  12697. },
  12698. "minivaluedp": {
  12699. "description": "最小变动值小数位",
  12700. "type": "integer"
  12701. },
  12702. "realminivalue": {
  12703. "description": "实际最小变动值",
  12704. "type": "integer"
  12705. },
  12706. "realminivaluedp": {
  12707. "description": "实际最小变动值小数位",
  12708. "type": "integer"
  12709. },
  12710. "unitid": {
  12711. "description": "单位ID",
  12712. "type": "integer"
  12713. },
  12714. "unitname": {
  12715. "description": "单位",
  12716. "type": "string"
  12717. },
  12718. "updatetime": {
  12719. "description": "更新时间",
  12720. "type": "string"
  12721. },
  12722. "updatorid": {
  12723. "description": "更新人",
  12724. "type": "integer"
  12725. },
  12726. "wrsstatus": {
  12727. "description": "状态 - 作废 - 0:未激活 1:正常",
  12728. "type": "integer"
  12729. },
  12730. "wrstandardcode": {
  12731. "description": "仓单标准代码",
  12732. "type": "string"
  12733. },
  12734. "wrstandardid": {
  12735. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12736. "type": "integer"
  12737. },
  12738. "wrstandardname": {
  12739. "description": "仓单标准名称",
  12740. "type": "string"
  12741. }
  12742. }
  12743. },
  12744. "models.Warehouseinfo": {
  12745. "type": "object",
  12746. "required": [
  12747. "autoid",
  12748. "warehousecode"
  12749. ],
  12750. "properties": {
  12751. "address": {
  12752. "description": "详细地址",
  12753. "type": "string"
  12754. },
  12755. "areauserid": {
  12756. "description": "所属机构",
  12757. "type": "integer"
  12758. },
  12759. "autoid": {
  12760. "description": "自增ID",
  12761. "type": "integer"
  12762. },
  12763. "cityid": {
  12764. "description": "市",
  12765. "type": "integer"
  12766. },
  12767. "contactname": {
  12768. "description": "联系人",
  12769. "type": "string"
  12770. },
  12771. "contactnum": {
  12772. "description": "联系电话",
  12773. "type": "string"
  12774. },
  12775. "countryid": {
  12776. "description": "国家",
  12777. "type": "integer"
  12778. },
  12779. "createtime": {
  12780. "description": "创建时间",
  12781. "type": "string"
  12782. },
  12783. "districtid": {
  12784. "description": "区",
  12785. "type": "integer"
  12786. },
  12787. "hasvideo": {
  12788. "description": "是否有视频 - 0:无 1:有",
  12789. "type": "integer"
  12790. },
  12791. "provinceid": {
  12792. "description": "省",
  12793. "type": "integer"
  12794. },
  12795. "remark": {
  12796. "description": "审核备注",
  12797. "type": "string"
  12798. },
  12799. "videourl": {
  12800. "description": "视频地址",
  12801. "type": "string"
  12802. },
  12803. "warehousecode": {
  12804. "description": "仓库代码",
  12805. "type": "string"
  12806. },
  12807. "warehousename": {
  12808. "description": "仓库名称",
  12809. "type": "string"
  12810. },
  12811. "warehousestatus": {
  12812. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  12813. "type": "integer"
  12814. },
  12815. "warehousetype": {
  12816. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12817. "type": "integer"
  12818. }
  12819. }
  12820. },
  12821. "order.QueryHisTradeDetailRsp": {
  12822. "type": "object",
  12823. "required": [
  12824. "accountid",
  12825. "buyorsell",
  12826. "goodsid",
  12827. "histradedate",
  12828. "marketid",
  12829. "memberuserid",
  12830. "orderid",
  12831. "tradeamount",
  12832. "tradedate",
  12833. "tradeid",
  12834. "tradeprice",
  12835. "tradeqty",
  12836. "tradetime"
  12837. ],
  12838. "properties": {
  12839. "accountid": {
  12840. "description": "账户ID[报价币种]",
  12841. "type": "integer"
  12842. },
  12843. "buildtype": {
  12844. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  12845. "type": "integer"
  12846. },
  12847. "buyorsell": {
  12848. "description": "方向 - 0:买 1:卖",
  12849. "type": "integer"
  12850. },
  12851. "charge": {
  12852. "description": "手续费",
  12853. "type": "number"
  12854. },
  12855. "closecharge": {
  12856. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12857. "type": "number"
  12858. },
  12859. "closeexchagechargevalue": {
  12860. "description": "平仓交易所手续费设置值",
  12861. "type": "number"
  12862. },
  12863. "closefeealgorithm": {
  12864. "description": "平仓手续费收取方式 1:比率 2:固定",
  12865. "type": "integer"
  12866. },
  12867. "closememberchargevalue": {
  12868. "description": "平仓会员手续费设置值",
  12869. "type": "number"
  12870. },
  12871. "closepl": {
  12872. "description": "平仓盈亏",
  12873. "type": "number"
  12874. },
  12875. "closepl2": {
  12876. "description": "平仓盈亏[逐笔]",
  12877. "type": "number"
  12878. },
  12879. "closeqty": {
  12880. "description": "平仓数量(先建后平操作 需要记录)",
  12881. "type": "integer"
  12882. },
  12883. "creditamount": {
  12884. "description": "授信金额",
  12885. "type": "number"
  12886. },
  12887. "gcaccountid": {
  12888. "description": "账户ID[合约币种]",
  12889. "type": "integer"
  12890. },
  12891. "goodscode": {
  12892. "description": "商品代码",
  12893. "type": "string"
  12894. },
  12895. "goodsid": {
  12896. "description": "商品ID",
  12897. "type": "integer"
  12898. },
  12899. "goodsname": {
  12900. "description": "商品名称",
  12901. "type": "string"
  12902. },
  12903. "histradedate": {
  12904. "description": "历史交易日",
  12905. "type": "string"
  12906. },
  12907. "intclosepl": {
  12908. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  12909. "type": "integer"
  12910. },
  12911. "isconfirmexercise": {
  12912. "description": "是否确认行权- 0:否 1:是",
  12913. "type": "integer"
  12914. },
  12915. "ismain": {
  12916. "description": "是否主单 - 0:不是 1:是",
  12917. "type": "integer"
  12918. },
  12919. "ispreexercise": {
  12920. "description": "是否预申报- 0:否 1:是",
  12921. "type": "integer"
  12922. },
  12923. "isreckoned": {
  12924. "description": "是否结算 - 0:未结算 1:已结算",
  12925. "type": "integer"
  12926. },
  12927. "isvaliddata": {
  12928. "description": "是否有效 - 0:无效 1:有效",
  12929. "type": "integer"
  12930. },
  12931. "listingselecttype": {
  12932. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12933. "type": "integer"
  12934. },
  12935. "marketid": {
  12936. "description": "市场ID",
  12937. "type": "integer"
  12938. },
  12939. "marketname": {
  12940. "description": "市场名称",
  12941. "type": "string"
  12942. },
  12943. "matchaccountid": {
  12944. "description": "对手账号id",
  12945. "type": "integer"
  12946. },
  12947. "memberuserid": {
  12948. "description": "会员id 个人投资者 需要填写",
  12949. "type": "integer"
  12950. },
  12951. "opencharge": {
  12952. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  12953. "type": "number"
  12954. },
  12955. "openexchagechargevalue": {
  12956. "description": "建仓交易所手续费设置值",
  12957. "type": "number"
  12958. },
  12959. "openfeealgorithm": {
  12960. "description": "建仓手续费收取方式 1:比率 2:固定",
  12961. "type": "integer"
  12962. },
  12963. "openmemberchargevalue": {
  12964. "description": "建仓会员手续费设置值",
  12965. "type": "number"
  12966. },
  12967. "openqty": {
  12968. "description": "开仓数量(先建后平操作 需要记录)",
  12969. "type": "integer"
  12970. },
  12971. "optiontype": {
  12972. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12973. "type": "integer"
  12974. },
  12975. "orderid": {
  12976. "description": "委托单号",
  12977. "type": "string"
  12978. },
  12979. "performanceplanid": {
  12980. "description": "履约计划ID[期权]",
  12981. "type": "integer"
  12982. },
  12983. "performancestatus": {
  12984. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12985. "type": "integer"
  12986. },
  12987. "preexerciseprice": {
  12988. "description": "预申报价格",
  12989. "type": "number"
  12990. },
  12991. "premium": {
  12992. "description": "权利金 - [持仓单的权利金]",
  12993. "type": "number"
  12994. },
  12995. "relatedouttradeid": {
  12996. "description": "关联外部成交单ID",
  12997. "type": "integer"
  12998. },
  12999. "status": {
  13000. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13001. "type": "integer"
  13002. },
  13003. "tradeamount": {
  13004. "description": "成交金额[账户币种,用于所有权]",
  13005. "type": "number"
  13006. },
  13007. "tradedate": {
  13008. "description": "交易日(yyyyMMdd)",
  13009. "type": "string"
  13010. },
  13011. "tradeid": {
  13012. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13013. "type": "string"
  13014. },
  13015. "trademode": {
  13016. "description": "交易模式",
  13017. "type": "integer"
  13018. },
  13019. "tradeprice": {
  13020. "description": "成交价格",
  13021. "type": "number"
  13022. },
  13023. "tradeproperty": {
  13024. "description": "交易属性",
  13025. "type": "integer"
  13026. },
  13027. "tradeqty": {
  13028. "description": "成交数量",
  13029. "type": "integer"
  13030. },
  13031. "tradetime": {
  13032. "description": "成交时间",
  13033. "type": "string"
  13034. },
  13035. "tradetype": {
  13036. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13037. "type": "integer"
  13038. }
  13039. }
  13040. },
  13041. "order.QueryHisTradeOrderDetailRsp": {
  13042. "type": "object",
  13043. "required": [
  13044. "accountid",
  13045. "buildtype",
  13046. "buyorsell",
  13047. "goodsid",
  13048. "histradedate",
  13049. "marketid",
  13050. "memberuserid",
  13051. "operatetype",
  13052. "orderid",
  13053. "orderqty",
  13054. "ordertime",
  13055. "pricemode",
  13056. "tradedate",
  13057. "validtype"
  13058. ],
  13059. "properties": {
  13060. "accountid": {
  13061. "description": "账户ID[报价币种]",
  13062. "type": "integer"
  13063. },
  13064. "buildtype": {
  13065. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13066. "type": "integer"
  13067. },
  13068. "buyorsell": {
  13069. "description": "买卖 - 0:买 1:卖",
  13070. "type": "integer"
  13071. },
  13072. "cancelorderid": {
  13073. "description": "撤单单号(撤单时填写)",
  13074. "type": "string"
  13075. },
  13076. "cancelqty": {
  13077. "description": "撤单数量",
  13078. "type": "integer"
  13079. },
  13080. "clientordertime": {
  13081. "description": "客户端委托时间",
  13082. "type": "string"
  13083. },
  13084. "clientticket": {
  13085. "description": "客户端流水号",
  13086. "type": "string"
  13087. },
  13088. "clienttype": {
  13089. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13090. "type": "integer"
  13091. },
  13092. "closeexchagechargevalue": {
  13093. "description": "平仓交易所手续费设置值",
  13094. "type": "number"
  13095. },
  13096. "closefeealgorithm": {
  13097. "description": "平仓手续费收取方式 1:比率 2:固定",
  13098. "type": "integer"
  13099. },
  13100. "closefreezecharge": {
  13101. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13102. "type": "number"
  13103. },
  13104. "closememberchargevalue": {
  13105. "description": "平仓会员手续费设置值",
  13106. "type": "number"
  13107. },
  13108. "closeqty": {
  13109. "description": "平仓数量(先建后平操作 需要记录)",
  13110. "type": "integer"
  13111. },
  13112. "closetradeqty": {
  13113. "description": "平仓成交数量(先建后平操作,需要记录)",
  13114. "type": "integer"
  13115. },
  13116. "closeunfreezecharge": {
  13117. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13118. "type": "number"
  13119. },
  13120. "delistingtype": {
  13121. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13122. "type": "integer"
  13123. },
  13124. "freezecharge": {
  13125. "description": "冻结手续费",
  13126. "type": "number"
  13127. },
  13128. "freezemargin": {
  13129. "description": "冻结保证金(冻结交易金额)",
  13130. "type": "number"
  13131. },
  13132. "gcaccountid": {
  13133. "description": "账户ID[合约币种]",
  13134. "type": "integer"
  13135. },
  13136. "goodscode": {
  13137. "description": "商品代码",
  13138. "type": "string"
  13139. },
  13140. "goodsid": {
  13141. "description": "商品ID",
  13142. "type": "integer"
  13143. },
  13144. "goodsname": {
  13145. "description": "商品名称",
  13146. "type": "string"
  13147. },
  13148. "histradedate": {
  13149. "description": "历史交易日",
  13150. "type": "string"
  13151. },
  13152. "isconfirmexercise": {
  13153. "description": "是否确认行权- 0:否 1:是",
  13154. "type": "integer"
  13155. },
  13156. "ispreexercise": {
  13157. "description": "是否预申报- 0:否 1:是",
  13158. "type": "integer"
  13159. },
  13160. "isvaliddata": {
  13161. "description": "是否有效 - 0:无效 1:有效",
  13162. "type": "integer"
  13163. },
  13164. "listingselecttype": {
  13165. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13166. "type": "integer"
  13167. },
  13168. "marginalgorithm": {
  13169. "description": "保证金收取方式 1:比率 2:固定",
  13170. "type": "integer"
  13171. },
  13172. "marginvalue": {
  13173. "description": "即市保证金设置值",
  13174. "type": "number"
  13175. },
  13176. "marketid": {
  13177. "description": "市场ID",
  13178. "type": "integer"
  13179. },
  13180. "marketmaxsub": {
  13181. "description": "市价最大偏移范围",
  13182. "type": "number"
  13183. },
  13184. "marketname": {
  13185. "description": "市场名称",
  13186. "type": "string"
  13187. },
  13188. "memberuserid": {
  13189. "description": "所属会员UserID",
  13190. "type": "integer"
  13191. },
  13192. "openexchagechargevalue": {
  13193. "description": "建仓交易所手续费设置值",
  13194. "type": "number"
  13195. },
  13196. "openfeealgorithm": {
  13197. "description": "建仓手续费收取方式 1:比率 2:固定",
  13198. "type": "integer"
  13199. },
  13200. "openfreezecharge": {
  13201. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13202. "type": "number"
  13203. },
  13204. "openmemberchargevalue": {
  13205. "description": "建仓会员手续费设置值",
  13206. "type": "number"
  13207. },
  13208. "openqty": {
  13209. "description": "开仓数量(先建后平操作,需要记录)",
  13210. "type": "integer"
  13211. },
  13212. "opentradeqty": {
  13213. "description": "开仓成交数量(先建后平操作,需要记录)",
  13214. "type": "integer"
  13215. },
  13216. "openunfreezecharge": {
  13217. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13218. "type": "number"
  13219. },
  13220. "operatetype": {
  13221. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13222. "type": "integer"
  13223. },
  13224. "operatorid": {
  13225. "description": "登录账号(LoginID)",
  13226. "type": "integer"
  13227. },
  13228. "optiontype": {
  13229. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13230. "type": "integer"
  13231. },
  13232. "orderid": {
  13233. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13234. "type": "string"
  13235. },
  13236. "orderprice": {
  13237. "description": "委托价格",
  13238. "type": "number"
  13239. },
  13240. "orderqty": {
  13241. "description": "委托数量",
  13242. "type": "integer"
  13243. },
  13244. "ordersrc": {
  13245. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13246. "type": "integer"
  13247. },
  13248. "orderstatus": {
  13249. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13250. "type": "integer"
  13251. },
  13252. "ordertime": {
  13253. "description": "委托时间",
  13254. "type": "string"
  13255. },
  13256. "preexerciseprice": {
  13257. "description": "预申报价格",
  13258. "type": "number"
  13259. },
  13260. "premium": {
  13261. "description": "权利金",
  13262. "type": "number"
  13263. },
  13264. "preorderid": {
  13265. "description": "关联预埋单号(止盈止损单时填写)",
  13266. "type": "string"
  13267. },
  13268. "pricemode": {
  13269. "description": "取价方式 - 1:市价 2: 限价",
  13270. "type": "integer"
  13271. },
  13272. "quoteid": {
  13273. "description": "报价单ID",
  13274. "type": "integer"
  13275. },
  13276. "relatedid": {
  13277. "description": "关联单号(交割单)",
  13278. "type": "string"
  13279. },
  13280. "retcode": {
  13281. "description": "错误代码",
  13282. "type": "integer"
  13283. },
  13284. "sessionid": {
  13285. "description": "会话ID",
  13286. "type": "integer"
  13287. },
  13288. "tradedate": {
  13289. "description": "交易日(yyyyMMdd)",
  13290. "type": "string"
  13291. },
  13292. "trademode": {
  13293. "description": "交易模式",
  13294. "type": "integer"
  13295. },
  13296. "tradeproperty": {
  13297. "description": "交易属性",
  13298. "type": "integer"
  13299. },
  13300. "tradeqty": {
  13301. "description": "成交数量",
  13302. "type": "integer"
  13303. },
  13304. "unfreezecharge": {
  13305. "description": "解冻手续费",
  13306. "type": "number"
  13307. },
  13308. "unfreezemargin": {
  13309. "description": "解冻保证金",
  13310. "type": "number"
  13311. },
  13312. "updatetime": {
  13313. "description": "更新时间",
  13314. "type": "string"
  13315. },
  13316. "uuid": {
  13317. "description": "发起端唯一id",
  13318. "type": "string"
  13319. },
  13320. "validtime": {
  13321. "description": "有效期限",
  13322. "type": "string"
  13323. },
  13324. "validtype": {
  13325. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13326. "type": "integer"
  13327. },
  13328. "volumetype": {
  13329. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13330. "type": "integer"
  13331. }
  13332. }
  13333. },
  13334. "order.QueryTradeDetailRsp": {
  13335. "type": "object",
  13336. "required": [
  13337. "accountid",
  13338. "buyorsell",
  13339. "goodsid",
  13340. "marketid",
  13341. "memberuserid",
  13342. "orderid",
  13343. "tradeamount",
  13344. "tradedate",
  13345. "tradeid",
  13346. "tradeprice",
  13347. "tradeqty",
  13348. "tradetime"
  13349. ],
  13350. "properties": {
  13351. "accountid": {
  13352. "description": "账户ID[报价币种]",
  13353. "type": "integer"
  13354. },
  13355. "buildtype": {
  13356. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  13357. "type": "integer"
  13358. },
  13359. "buyorsell": {
  13360. "description": "方向 - 0:买 1:卖",
  13361. "type": "integer"
  13362. },
  13363. "charge": {
  13364. "description": "手续费",
  13365. "type": "number"
  13366. },
  13367. "closecharge": {
  13368. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13369. "type": "number"
  13370. },
  13371. "closeexchagechargevalue": {
  13372. "description": "平仓交易所手续费设置值",
  13373. "type": "number"
  13374. },
  13375. "closefeealgorithm": {
  13376. "description": "平仓手续费收取方式 1:比率 2:固定",
  13377. "type": "integer"
  13378. },
  13379. "closememberchargevalue": {
  13380. "description": "平仓会员手续费设置值",
  13381. "type": "number"
  13382. },
  13383. "closepl": {
  13384. "description": "平仓盈亏",
  13385. "type": "number"
  13386. },
  13387. "closepl2": {
  13388. "description": "平仓盈亏[逐笔]",
  13389. "type": "number"
  13390. },
  13391. "closeqty": {
  13392. "description": "平仓数量(先建后平操作 需要记录)",
  13393. "type": "integer"
  13394. },
  13395. "creditamount": {
  13396. "description": "授信金额",
  13397. "type": "number"
  13398. },
  13399. "gcaccountid": {
  13400. "description": "账户ID[合约币种]",
  13401. "type": "integer"
  13402. },
  13403. "goodscode": {
  13404. "description": "商品代码",
  13405. "type": "string"
  13406. },
  13407. "goodsid": {
  13408. "description": "商品ID",
  13409. "type": "integer"
  13410. },
  13411. "goodsname": {
  13412. "description": "商品名称",
  13413. "type": "string"
  13414. },
  13415. "intclosepl": {
  13416. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  13417. "type": "integer"
  13418. },
  13419. "isconfirmexercise": {
  13420. "description": "是否确认行权- 0:否 1:是",
  13421. "type": "integer"
  13422. },
  13423. "ismain": {
  13424. "description": "是否主单 - 0:不是 1:是",
  13425. "type": "integer"
  13426. },
  13427. "ispreexercise": {
  13428. "description": "是否预申报- 0:否 1:是",
  13429. "type": "integer"
  13430. },
  13431. "isreckoned": {
  13432. "description": "是否结算 - 0:未结算 1:已结算",
  13433. "type": "integer"
  13434. },
  13435. "listingselecttype": {
  13436. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13437. "type": "integer"
  13438. },
  13439. "marketid": {
  13440. "description": "市场ID",
  13441. "type": "integer"
  13442. },
  13443. "marketname": {
  13444. "description": "市场名称",
  13445. "type": "string"
  13446. },
  13447. "matchaccountid": {
  13448. "description": "对手账号id",
  13449. "type": "integer"
  13450. },
  13451. "memberuserid": {
  13452. "description": "会员id 个人投资者 需要填写",
  13453. "type": "integer"
  13454. },
  13455. "opencharge": {
  13456. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  13457. "type": "number"
  13458. },
  13459. "openexchagechargevalue": {
  13460. "description": "建仓交易所手续费设置值",
  13461. "type": "number"
  13462. },
  13463. "openfeealgorithm": {
  13464. "description": "建仓手续费收取方式 1:比率 2:固定",
  13465. "type": "integer"
  13466. },
  13467. "openmemberchargevalue": {
  13468. "description": "建仓会员手续费设置值",
  13469. "type": "number"
  13470. },
  13471. "openqty": {
  13472. "description": "开仓数量(先建后平操作 需要记录)",
  13473. "type": "integer"
  13474. },
  13475. "optiontype": {
  13476. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  13477. "type": "integer"
  13478. },
  13479. "orderid": {
  13480. "description": "委托单号",
  13481. "type": "string"
  13482. },
  13483. "performanceplanid": {
  13484. "description": "履约计划ID[期权]",
  13485. "type": "integer"
  13486. },
  13487. "performancestatus": {
  13488. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  13489. "type": "integer"
  13490. },
  13491. "preexerciseprice": {
  13492. "description": "预申报价格",
  13493. "type": "number"
  13494. },
  13495. "premium": {
  13496. "description": "权利金 - [持仓单的权利金]",
  13497. "type": "number"
  13498. },
  13499. "relatedouttradeid": {
  13500. "description": "关联外部成交单ID",
  13501. "type": "integer"
  13502. },
  13503. "status": {
  13504. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  13505. "type": "integer"
  13506. },
  13507. "tradeamount": {
  13508. "description": "成交金额[账户币种,用于所有权]",
  13509. "type": "number"
  13510. },
  13511. "tradedate": {
  13512. "description": "交易日(yyyyMMdd)",
  13513. "type": "string"
  13514. },
  13515. "tradeid": {
  13516. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13517. "type": "string"
  13518. },
  13519. "trademode": {
  13520. "description": "交易模式",
  13521. "type": "integer"
  13522. },
  13523. "tradeprice": {
  13524. "description": "成交价格",
  13525. "type": "number"
  13526. },
  13527. "tradeproperty": {
  13528. "description": "交易属性",
  13529. "type": "integer"
  13530. },
  13531. "tradeqty": {
  13532. "description": "成交数量",
  13533. "type": "integer"
  13534. },
  13535. "tradetime": {
  13536. "description": "成交时间",
  13537. "type": "string"
  13538. },
  13539. "tradetype": {
  13540. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  13541. "type": "integer"
  13542. }
  13543. }
  13544. },
  13545. "order.QueryTradeOrderDetailRsp": {
  13546. "type": "object",
  13547. "required": [
  13548. "accountid",
  13549. "buildtype",
  13550. "buyorsell",
  13551. "goodsid",
  13552. "marketid",
  13553. "operatetype",
  13554. "orderqty",
  13555. "ordertime",
  13556. "pricemode",
  13557. "tradedate",
  13558. "validtype"
  13559. ],
  13560. "properties": {
  13561. "accountid": {
  13562. "description": "账户ID[报价币种]",
  13563. "type": "integer"
  13564. },
  13565. "buildtype": {
  13566. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  13567. "type": "integer"
  13568. },
  13569. "buyorsell": {
  13570. "description": "买卖 - 0:买 1:卖",
  13571. "type": "integer"
  13572. },
  13573. "cancelorderid": {
  13574. "description": "撤单单号(撤单时填写)",
  13575. "type": "string"
  13576. },
  13577. "cancelqty": {
  13578. "description": "撤单数量",
  13579. "type": "integer"
  13580. },
  13581. "clienttype": {
  13582. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  13583. "type": "integer"
  13584. },
  13585. "closefreezecharge": {
  13586. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  13587. "type": "number"
  13588. },
  13589. "closeqty": {
  13590. "description": "平仓数量(先建后平操作 需要记录)",
  13591. "type": "integer"
  13592. },
  13593. "closetradeqty": {
  13594. "description": "平仓成交数量(先建后平操作,需要记录)",
  13595. "type": "integer"
  13596. },
  13597. "closeunfreezecharge": {
  13598. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  13599. "type": "number"
  13600. },
  13601. "delistingtype": {
  13602. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  13603. "type": "integer"
  13604. },
  13605. "enableqty": {
  13606. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  13607. "type": "integer"
  13608. },
  13609. "freezecharge": {
  13610. "description": "冻结手续费",
  13611. "type": "number"
  13612. },
  13613. "freezemargin": {
  13614. "description": "冻结保证金(冻结交易金额)",
  13615. "type": "number"
  13616. },
  13617. "goodscode": {
  13618. "description": "商品代码",
  13619. "type": "string"
  13620. },
  13621. "goodsid": {
  13622. "description": "商品ID",
  13623. "type": "integer"
  13624. },
  13625. "goodsname": {
  13626. "description": "商品名称",
  13627. "type": "string"
  13628. },
  13629. "listingselecttype": {
  13630. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13631. "type": "integer"
  13632. },
  13633. "marketid": {
  13634. "description": "市场ID",
  13635. "type": "integer"
  13636. },
  13637. "marketname": {
  13638. "description": "市场名称",
  13639. "type": "string"
  13640. },
  13641. "openfreezecharge": {
  13642. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  13643. "type": "number"
  13644. },
  13645. "openqty": {
  13646. "description": "开仓数量(先建后平操作,需要记录)",
  13647. "type": "integer"
  13648. },
  13649. "opentradeqty": {
  13650. "description": "开仓成交数量(先建后平操作,需要记录)",
  13651. "type": "integer"
  13652. },
  13653. "openunfreezecharge": {
  13654. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  13655. "type": "number"
  13656. },
  13657. "operatetype": {
  13658. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  13659. "type": "integer"
  13660. },
  13661. "operatorid": {
  13662. "description": "登录账号(LoginID)",
  13663. "type": "integer"
  13664. },
  13665. "orderid": {
  13666. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13667. "type": "string"
  13668. },
  13669. "orderprice": {
  13670. "description": "委托价格",
  13671. "type": "number"
  13672. },
  13673. "orderqty": {
  13674. "description": "委托数量",
  13675. "type": "integer"
  13676. },
  13677. "ordersrc": {
  13678. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  13679. "type": "integer"
  13680. },
  13681. "orderstatus": {
  13682. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13683. "type": "integer"
  13684. },
  13685. "ordertime": {
  13686. "description": "委托时间",
  13687. "type": "string"
  13688. },
  13689. "preorderid": {
  13690. "description": "关联预埋单号(止盈止损单时填写)",
  13691. "type": "string"
  13692. },
  13693. "pricemode": {
  13694. "description": "取价方式 - 1:市价 2: 限价",
  13695. "type": "integer"
  13696. },
  13697. "relatedid": {
  13698. "description": "关联单号(交割单)",
  13699. "type": "string"
  13700. },
  13701. "tradedate": {
  13702. "description": "交易日(yyyyMMdd)",
  13703. "type": "string"
  13704. },
  13705. "trademode": {
  13706. "description": "交易模式",
  13707. "type": "integer"
  13708. },
  13709. "tradeqty": {
  13710. "description": "成交数量",
  13711. "type": "integer"
  13712. },
  13713. "unfreezecharge": {
  13714. "description": "解冻手续费",
  13715. "type": "number"
  13716. },
  13717. "unfreezemargin": {
  13718. "description": "解冻保证金",
  13719. "type": "number"
  13720. },
  13721. "validtime": {
  13722. "description": "有效期限",
  13723. "type": "string"
  13724. },
  13725. "validtype": {
  13726. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  13727. "type": "integer"
  13728. },
  13729. "volumetype": {
  13730. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  13731. "type": "integer"
  13732. }
  13733. }
  13734. },
  13735. "order.QueryTradePositionRsp": {
  13736. "type": "object",
  13737. "required": [
  13738. "goodsid"
  13739. ],
  13740. "properties": {
  13741. "accountid": {
  13742. "description": "资金账户",
  13743. "type": "integer"
  13744. },
  13745. "agreeunit": {
  13746. "description": "合约单位",
  13747. "type": "number"
  13748. },
  13749. "averageprice": {
  13750. "description": "持仓均价",
  13751. "type": "number"
  13752. },
  13753. "buyorsell": {
  13754. "description": "方向 - 0:买 1:卖",
  13755. "type": "integer"
  13756. },
  13757. "closetotalqty": {
  13758. "description": "平仓总数量",
  13759. "type": "integer"
  13760. },
  13761. "curholderamount": {
  13762. "description": "当前持仓总金额[商品币种]",
  13763. "type": "number"
  13764. },
  13765. "curpositionqty": {
  13766. "description": "当前持仓总数量",
  13767. "type": "integer"
  13768. },
  13769. "currencyid": {
  13770. "description": "报价货币ID",
  13771. "type": "integer"
  13772. },
  13773. "curtdposition": {
  13774. "description": "期末今日头寸",
  13775. "type": "integer"
  13776. },
  13777. "decimalplace": {
  13778. "description": "报价小数位",
  13779. "type": "integer"
  13780. },
  13781. "enableqty": {
  13782. "description": "可用量",
  13783. "type": "integer"
  13784. },
  13785. "fretdposition": {
  13786. "description": "冻结今日头寸",
  13787. "type": "integer"
  13788. },
  13789. "frozenqty": {
  13790. "description": "持仓冻结数量",
  13791. "type": "integer"
  13792. },
  13793. "goodscode": {
  13794. "description": "商品代码",
  13795. "type": "string"
  13796. },
  13797. "goodsid": {
  13798. "description": "商品Id",
  13799. "type": "integer"
  13800. },
  13801. "goodsname": {
  13802. "description": "商品名称",
  13803. "type": "string"
  13804. },
  13805. "goodunit": {
  13806. "description": "报价单位",
  13807. "type": "string"
  13808. },
  13809. "goodunitid": {
  13810. "description": "报价单位ID",
  13811. "type": "integer"
  13812. },
  13813. "holderamount": {
  13814. "description": "期初持仓总金额[商品币种]",
  13815. "type": "number"
  13816. },
  13817. "marketid": {
  13818. "description": "所属市场ID",
  13819. "type": "integer"
  13820. },
  13821. "openreqqty": {
  13822. "description": "开仓申请数量(用于比较最大持仓数量)",
  13823. "type": "integer"
  13824. },
  13825. "opentotalqty": {
  13826. "description": "开仓总数量",
  13827. "type": "integer"
  13828. },
  13829. "otherfrozenqty": {
  13830. "description": "持仓其他冻结数量(交割冻结)",
  13831. "type": "integer"
  13832. },
  13833. "positionqty": {
  13834. "description": "期初持仓数量",
  13835. "type": "integer"
  13836. },
  13837. "tnqty": {
  13838. "description": "T+N冻结总量",
  13839. "type": "integer"
  13840. },
  13841. "tnusedqty": {
  13842. "description": "T+N使用量(可以使用T+N的冻结数量)",
  13843. "type": "integer"
  13844. },
  13845. "trademode": {
  13846. "description": "交易模式",
  13847. "type": "integer"
  13848. },
  13849. "usedmargin": {
  13850. "description": "占用保证金[商品币种]",
  13851. "type": "number"
  13852. }
  13853. }
  13854. },
  13855. "quote.HistoryData": {
  13856. "type": "object",
  13857. "properties": {
  13858. "c": {
  13859. "description": "收盘价",
  13860. "type": "number"
  13861. },
  13862. "h": {
  13863. "description": "最高价",
  13864. "type": "number"
  13865. },
  13866. "hv": {
  13867. "description": "持仓量",
  13868. "type": "integer"
  13869. },
  13870. "l": {
  13871. "description": "最低价",
  13872. "type": "number"
  13873. },
  13874. "o": {
  13875. "description": "开盘价",
  13876. "type": "number"
  13877. },
  13878. "s": {
  13879. "description": "结算价,日线周期(包括)以上才有",
  13880. "type": "number"
  13881. },
  13882. "ts": {
  13883. "description": "时间",
  13884. "type": "string"
  13885. },
  13886. "tt": {
  13887. "description": "总金额",
  13888. "type": "number"
  13889. },
  13890. "tv": {
  13891. "description": "总量",
  13892. "type": "integer"
  13893. }
  13894. }
  13895. },
  13896. "quote.QueryTSDataRsp": {
  13897. "type": "object",
  13898. "properties": {
  13899. "decimalPlace": {
  13900. "description": "小数位",
  13901. "type": "integer"
  13902. },
  13903. "endTime": {
  13904. "description": "结束时间",
  13905. "type": "string"
  13906. },
  13907. "goodsCode": {
  13908. "description": "商品代码",
  13909. "type": "string"
  13910. },
  13911. "historyDatas": {
  13912. "description": "历史数据",
  13913. "type": "array",
  13914. "items": {
  13915. "$ref": "#/definitions/quote.HistoryData"
  13916. }
  13917. },
  13918. "preSettle": {
  13919. "description": "昨结",
  13920. "type": "number"
  13921. },
  13922. "startTime": {
  13923. "description": "开始时间",
  13924. "type": "string"
  13925. },
  13926. "tradeDate": {
  13927. "description": "交易日",
  13928. "type": "string"
  13929. }
  13930. }
  13931. },
  13932. "szdz.QueryConvertLogRsp": {
  13933. "type": "object",
  13934. "required": [
  13935. "logid"
  13936. ],
  13937. "properties": {
  13938. "accountid": {
  13939. "description": "资金账户ID",
  13940. "type": "integer"
  13941. },
  13942. "clientticket": {
  13943. "description": "客户端流水号",
  13944. "type": "string"
  13945. },
  13946. "converttype": {
  13947. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  13948. "type": "integer"
  13949. },
  13950. "createtime": {
  13951. "description": "记账时间",
  13952. "type": "string"
  13953. },
  13954. "daymaxvalue": {
  13955. "description": "配置当日最大转入限制",
  13956. "type": "number"
  13957. },
  13958. "daymaxvalue2": {
  13959. "description": "配置当日最大转入限制(转入)",
  13960. "type": "number"
  13961. },
  13962. "goodscode": {
  13963. "description": "商品代码",
  13964. "type": "string"
  13965. },
  13966. "goodsname": {
  13967. "description": "商品名称",
  13968. "type": "string"
  13969. },
  13970. "handlestatus": {
  13971. "description": "处理状态",
  13972. "type": "integer"
  13973. },
  13974. "innergoodsid": {
  13975. "description": "内部商品ID",
  13976. "type": "integer"
  13977. },
  13978. "inratio": {
  13979. "description": "配置转入比值",
  13980. "type": "integer"
  13981. },
  13982. "invalue": {
  13983. "description": "目标值",
  13984. "type": "number"
  13985. },
  13986. "logid": {
  13987. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13988. "type": "integer"
  13989. },
  13990. "mobile": {
  13991. "description": "手机号码(加密存储)",
  13992. "type": "string"
  13993. },
  13994. "outergoodscode": {
  13995. "description": "外部商品代码[JD\\PD]",
  13996. "type": "string"
  13997. },
  13998. "outratio": {
  13999. "description": "配置转出比值",
  14000. "type": "integer"
  14001. },
  14002. "outvalue": {
  14003. "description": "源值",
  14004. "type": "number"
  14005. },
  14006. "pddecimalplace": {
  14007. "description": "PD小数位",
  14008. "type": "integer"
  14009. },
  14010. "qty": {
  14011. "description": "数量",
  14012. "type": "string"
  14013. },
  14014. "remark": {
  14015. "description": "备注",
  14016. "type": "string"
  14017. },
  14018. "sessionid": {
  14019. "description": "会话ID",
  14020. "type": "integer"
  14021. },
  14022. "timemaxvalue": {
  14023. "description": "配置单次最大转入限制",
  14024. "type": "number"
  14025. },
  14026. "timemaxvalue2": {
  14027. "description": "配置单次最大转入限制(转入)",
  14028. "type": "number"
  14029. },
  14030. "timeminvalue": {
  14031. "description": "配置单次最小数量限制",
  14032. "type": "number"
  14033. },
  14034. "timeminvalue2": {
  14035. "description": "配置单次最小数量限制(转入)",
  14036. "type": "number"
  14037. },
  14038. "tradedate": {
  14039. "description": "交易日(yyyyMMdd)",
  14040. "type": "string"
  14041. },
  14042. "userid": {
  14043. "description": "用户ID",
  14044. "type": "integer"
  14045. }
  14046. }
  14047. },
  14048. "szdz.QueryGoodsPickupRsp": {
  14049. "type": "object",
  14050. "required": [
  14051. "takeorderid"
  14052. ],
  14053. "properties": {
  14054. "accountid": {
  14055. "description": "账户ID",
  14056. "type": "integer"
  14057. },
  14058. "address": {
  14059. "description": "提货人详细地址",
  14060. "type": "string"
  14061. },
  14062. "auditer": {
  14063. "description": "审核人",
  14064. "type": "integer"
  14065. },
  14066. "audittime": {
  14067. "description": "审核时间",
  14068. "type": "string"
  14069. },
  14070. "cardnum": {
  14071. "description": "提货人证件号码",
  14072. "type": "string"
  14073. },
  14074. "cardtypeid": {
  14075. "description": "提货人证件类型",
  14076. "type": "integer"
  14077. },
  14078. "checkremark": {
  14079. "description": "审核备注",
  14080. "type": "string"
  14081. },
  14082. "goodscode": {
  14083. "description": "商品代码",
  14084. "type": "string"
  14085. },
  14086. "goodsid": {
  14087. "description": "商品ID",
  14088. "type": "integer"
  14089. },
  14090. "goodsname": {
  14091. "description": "商品名称",
  14092. "type": "string"
  14093. },
  14094. "handlestatus": {
  14095. "description": "处理状态",
  14096. "type": "integer"
  14097. },
  14098. "marketid": {
  14099. "description": "市场ID",
  14100. "type": "integer"
  14101. },
  14102. "phonenum": {
  14103. "description": "提货人联系方式",
  14104. "type": "string"
  14105. },
  14106. "qty": {
  14107. "description": "提货数量",
  14108. "type": "number"
  14109. },
  14110. "recivername": {
  14111. "description": "提货人姓名",
  14112. "type": "string"
  14113. },
  14114. "reqtime": {
  14115. "description": "更新时间",
  14116. "type": "string"
  14117. },
  14118. "takemode": {
  14119. "description": "提货方式 - 2:自提 3:配送",
  14120. "type": "integer"
  14121. },
  14122. "takeorderid": {
  14123. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  14124. "type": "string"
  14125. },
  14126. "takeorderstatus": {
  14127. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  14128. "type": "integer"
  14129. },
  14130. "takeremark": {
  14131. "description": "提货备注",
  14132. "type": "string"
  14133. },
  14134. "tradedate": {
  14135. "description": "交易日(yyyyMMdd)",
  14136. "type": "string"
  14137. },
  14138. "userid": {
  14139. "description": "用户ID",
  14140. "type": "integer"
  14141. }
  14142. }
  14143. },
  14144. "szdz.QueryRecieptOrderRsp": {
  14145. "type": "object",
  14146. "required": [
  14147. "ordertime"
  14148. ],
  14149. "properties": {
  14150. "accountName": {
  14151. "description": "所属账号名称(已脱敏)",
  14152. "type": "string"
  14153. },
  14154. "accountid": {
  14155. "description": "资金账号",
  14156. "type": "integer"
  14157. },
  14158. "buyorsell": {
  14159. "description": "方向 - 0:买 1:卖",
  14160. "type": "integer"
  14161. },
  14162. "enableqty": {
  14163. "description": "可摘数量",
  14164. "type": "integer"
  14165. },
  14166. "goodscode": {
  14167. "description": "商品代码",
  14168. "type": "string"
  14169. },
  14170. "goodsid": {
  14171. "description": "商品ID",
  14172. "type": "integer"
  14173. },
  14174. "goodsname": {
  14175. "description": "商品名称",
  14176. "type": "string"
  14177. },
  14178. "orderid": {
  14179. "description": "委托单号",
  14180. "type": "string"
  14181. },
  14182. "orderprice": {
  14183. "description": "委托价格",
  14184. "type": "number"
  14185. },
  14186. "ordertime": {
  14187. "description": "委托时间",
  14188. "type": "string"
  14189. },
  14190. "tradedate": {
  14191. "description": "交易日(yyyyMMdd)",
  14192. "type": "string"
  14193. }
  14194. }
  14195. },
  14196. "szdz.QuerySZDZTradePositionRsp": {
  14197. "type": "object",
  14198. "properties": {
  14199. "accountid": {
  14200. "description": "账号Id",
  14201. "type": "integer"
  14202. },
  14203. "agreeunit": {
  14204. "description": "合约单位",
  14205. "type": "number"
  14206. },
  14207. "averageprice": {
  14208. "description": "持仓均价",
  14209. "type": "number"
  14210. },
  14211. "buyorsell": {
  14212. "description": "方向 - 0:买 1:卖",
  14213. "type": "integer"
  14214. },
  14215. "closetotalqty": {
  14216. "description": "平仓总数量",
  14217. "type": "integer"
  14218. },
  14219. "curholderamount": {
  14220. "description": "当前持仓总金额",
  14221. "type": "number"
  14222. },
  14223. "curpositionqty": {
  14224. "description": "当前持仓总数量",
  14225. "type": "integer"
  14226. },
  14227. "currencyid": {
  14228. "description": "报价货币ID",
  14229. "type": "integer"
  14230. },
  14231. "curtdposition": {
  14232. "description": "期末今日头寸",
  14233. "type": "integer"
  14234. },
  14235. "decimalplace": {
  14236. "description": "报价小数位",
  14237. "type": "integer"
  14238. },
  14239. "enableqty": {
  14240. "description": "可用量",
  14241. "type": "integer"
  14242. },
  14243. "fretdposition": {
  14244. "description": "冻结今日头寸",
  14245. "type": "integer"
  14246. },
  14247. "frozenqty": {
  14248. "description": "持仓冻结数量",
  14249. "type": "integer"
  14250. },
  14251. "goodscode": {
  14252. "description": "商品代码(内部)",
  14253. "type": "string"
  14254. },
  14255. "goodsid": {
  14256. "description": "商品Id",
  14257. "type": "integer"
  14258. },
  14259. "goodsname": {
  14260. "description": "商品名称",
  14261. "type": "string"
  14262. },
  14263. "goodunit": {
  14264. "description": "报价单位",
  14265. "type": "string"
  14266. },
  14267. "goodunitid": {
  14268. "description": "报价单位ID",
  14269. "type": "integer"
  14270. },
  14271. "holderamount": {
  14272. "description": "期初持仓总金额",
  14273. "type": "number"
  14274. },
  14275. "marketid": {
  14276. "description": "市场ID",
  14277. "type": "integer"
  14278. },
  14279. "openreqqty": {
  14280. "description": "开仓申请数量",
  14281. "type": "integer"
  14282. },
  14283. "opentotalqty": {
  14284. "description": "开仓总数量",
  14285. "type": "integer"
  14286. },
  14287. "otherfrozenqty": {
  14288. "description": "持仓其他冻结数量(交割冻结)",
  14289. "type": "integer"
  14290. },
  14291. "positionqty": {
  14292. "description": "期初持仓数量",
  14293. "type": "integer"
  14294. },
  14295. "szdz3freezqty": {
  14296. "description": "尚志大宗转换冻结总数量",
  14297. "type": "integer"
  14298. },
  14299. "tnqty": {
  14300. "description": "T+N冻结总量",
  14301. "type": "integer"
  14302. },
  14303. "tnusedqty": {
  14304. "description": "T+N使用量",
  14305. "type": "integer"
  14306. },
  14307. "trademode": {
  14308. "description": "交易模式",
  14309. "type": "integer"
  14310. },
  14311. "usedmargin": {
  14312. "description": "占用保证金",
  14313. "type": "number"
  14314. }
  14315. }
  14316. },
  14317. "taaccount.QueryAmountLogRsp": {
  14318. "type": "object",
  14319. "required": [
  14320. "accountid",
  14321. "amount",
  14322. "amountadjusttype",
  14323. "autoid",
  14324. "balance",
  14325. "createtime",
  14326. "currentbalance",
  14327. "operatetype"
  14328. ],
  14329. "properties": {
  14330. "OPERATETYPENAME": {
  14331. "description": "资金操作类型名称",
  14332. "type": "string"
  14333. },
  14334. "accountid": {
  14335. "description": "资金账户ID",
  14336. "type": "integer"
  14337. },
  14338. "agoodscode": {
  14339. "description": "竞拍商品代码",
  14340. "type": "string"
  14341. },
  14342. "agoodsname": {
  14343. "description": "竞拍商品名称",
  14344. "type": "string"
  14345. },
  14346. "amount": {
  14347. "description": "资金金额",
  14348. "type": "number"
  14349. },
  14350. "amountadjusttype": {
  14351. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14352. "type": "integer"
  14353. },
  14354. "autoid": {
  14355. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14356. "type": "integer"
  14357. },
  14358. "balance": {
  14359. "description": "期初余额",
  14360. "type": "number"
  14361. },
  14362. "businesscode": {
  14363. "description": "业务编号",
  14364. "type": "integer"
  14365. },
  14366. "createtime": {
  14367. "description": "发生时间",
  14368. "type": "string"
  14369. },
  14370. "currencyid": {
  14371. "description": "币种ID",
  14372. "type": "integer"
  14373. },
  14374. "currentbalance": {
  14375. "description": "期末余额(变动后金额)",
  14376. "type": "number"
  14377. },
  14378. "dgoodscode": {
  14379. "description": "交割商品代码",
  14380. "type": "string"
  14381. },
  14382. "dgoodsname": {
  14383. "description": "交割商品名称",
  14384. "type": "string"
  14385. },
  14386. "goodscode": {
  14387. "description": "商品代码",
  14388. "type": "string"
  14389. },
  14390. "goodsid": {
  14391. "description": "商品ID",
  14392. "type": "integer"
  14393. },
  14394. "goodsname": {
  14395. "description": "商品名称",
  14396. "type": "string"
  14397. },
  14398. "marketid": {
  14399. "description": "市场ID",
  14400. "type": "integer"
  14401. },
  14402. "marketname": {
  14403. "description": "市场名称",
  14404. "type": "string"
  14405. },
  14406. "moneyticket": {
  14407. "description": "资金流水号:银行端流水号",
  14408. "type": "integer"
  14409. },
  14410. "operatetype": {
  14411. "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:营销收款",
  14412. "type": "integer"
  14413. },
  14414. "relationorderid": {
  14415. "description": "关联单号",
  14416. "type": "string"
  14417. },
  14418. "remark": {
  14419. "description": "备注",
  14420. "type": "string"
  14421. },
  14422. "trademode": {
  14423. "description": "交易模式",
  14424. "type": "integer"
  14425. }
  14426. }
  14427. },
  14428. "taaccount.QueryHisAmountLogRsp": {
  14429. "type": "object",
  14430. "required": [
  14431. "accountid",
  14432. "amount",
  14433. "amountadjusttype",
  14434. "autoid",
  14435. "balance",
  14436. "createtime",
  14437. "currentbalance",
  14438. "histradedate",
  14439. "operatetype"
  14440. ],
  14441. "properties": {
  14442. "OPERATETYPENAME": {
  14443. "description": "资金操作类型名称",
  14444. "type": "string"
  14445. },
  14446. "accountid": {
  14447. "description": "资金账户ID",
  14448. "type": "integer"
  14449. },
  14450. "agoodscode": {
  14451. "description": "竞拍商品代码",
  14452. "type": "string"
  14453. },
  14454. "agoodsname": {
  14455. "description": "竞拍商品名称",
  14456. "type": "string"
  14457. },
  14458. "amount": {
  14459. "description": "资金金额",
  14460. "type": "number"
  14461. },
  14462. "amountadjusttype": {
  14463. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  14464. "type": "integer"
  14465. },
  14466. "autoid": {
  14467. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  14468. "type": "integer"
  14469. },
  14470. "balance": {
  14471. "description": "期初余额",
  14472. "type": "number"
  14473. },
  14474. "businesscode": {
  14475. "description": "业务编号",
  14476. "type": "integer"
  14477. },
  14478. "createtime": {
  14479. "description": "发生时间",
  14480. "type": "string"
  14481. },
  14482. "currencyid": {
  14483. "description": "币种ID",
  14484. "type": "integer"
  14485. },
  14486. "currentbalance": {
  14487. "description": "期末余额(变动后金额)",
  14488. "type": "number"
  14489. },
  14490. "dgoodscode": {
  14491. "description": "交割商品代码",
  14492. "type": "string"
  14493. },
  14494. "dgoodsname": {
  14495. "description": "交割商品名称",
  14496. "type": "string"
  14497. },
  14498. "goodscode": {
  14499. "description": "商品代码",
  14500. "type": "string"
  14501. },
  14502. "goodsid": {
  14503. "description": "商品ID",
  14504. "type": "integer"
  14505. },
  14506. "goodsname": {
  14507. "description": "商品名称",
  14508. "type": "string"
  14509. },
  14510. "histradedate": {
  14511. "description": "历史交易日",
  14512. "type": "string"
  14513. },
  14514. "isvaliddata": {
  14515. "description": "是否有效 - 0:无效 1:有效",
  14516. "type": "integer"
  14517. },
  14518. "marketid": {
  14519. "description": "市场ID",
  14520. "type": "integer"
  14521. },
  14522. "marketname": {
  14523. "description": "市场名称",
  14524. "type": "string"
  14525. },
  14526. "moneyticket": {
  14527. "description": "资金流水号:银行端流水号",
  14528. "type": "integer"
  14529. },
  14530. "operatetype": {
  14531. "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:营销收款",
  14532. "type": "integer"
  14533. },
  14534. "relationorderid": {
  14535. "description": "关联单号",
  14536. "type": "string"
  14537. },
  14538. "remark": {
  14539. "description": "备注",
  14540. "type": "string"
  14541. },
  14542. "trademode": {
  14543. "description": "交易模式",
  14544. "type": "integer"
  14545. }
  14546. }
  14547. },
  14548. "trade.QueryRecieptOrderRsp": {
  14549. "type": "object",
  14550. "required": [
  14551. "ordertime"
  14552. ],
  14553. "properties": {
  14554. "accountName": {
  14555. "description": "所属账号名称(已脱敏)",
  14556. "type": "string"
  14557. },
  14558. "accountid": {
  14559. "description": "资金账号",
  14560. "type": "integer"
  14561. },
  14562. "buyorsell": {
  14563. "description": "方向 - 0:买 1:卖",
  14564. "type": "integer"
  14565. },
  14566. "enableqty": {
  14567. "description": "可摘数量",
  14568. "type": "integer"
  14569. },
  14570. "goodscode": {
  14571. "description": "商品代码",
  14572. "type": "string"
  14573. },
  14574. "goodsid": {
  14575. "description": "商品ID",
  14576. "type": "integer"
  14577. },
  14578. "goodsname": {
  14579. "description": "商品名称",
  14580. "type": "string"
  14581. },
  14582. "orderid": {
  14583. "description": "委托单号",
  14584. "type": "string"
  14585. },
  14586. "orderprice": {
  14587. "description": "委托价格",
  14588. "type": "number"
  14589. },
  14590. "ordertime": {
  14591. "description": "委托时间",
  14592. "type": "string"
  14593. },
  14594. "tradedate": {
  14595. "description": "交易日(yyyyMMdd)",
  14596. "type": "string"
  14597. }
  14598. }
  14599. }
  14600. },
  14601. "securityDefinitions": {
  14602. "ApiKeyAuth": {
  14603. "type": "apiKey",
  14604. "name": "Authorization",
  14605. "in": "header"
  14606. }
  14607. }
  14608. }`
  14609. type swaggerInfo struct {
  14610. Version string
  14611. Host string
  14612. BasePath string
  14613. Schemes []string
  14614. Title string
  14615. Description string
  14616. }
  14617. // SwaggerInfo holds exported Swagger Info so clients can modify it
  14618. var SwaggerInfo = swaggerInfo{
  14619. Version: "1.0",
  14620. Host: "",
  14621. BasePath: "/api",
  14622. Schemes: []string{},
  14623. Title: "MTP2.0 查询服务 API",
  14624. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  14625. }
  14626. type s struct{}
  14627. func (s *s) ReadDoc() string {
  14628. sInfo := SwaggerInfo
  14629. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  14630. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  14631. "marshal": func(v interface{}) string {
  14632. a, _ := json.Marshal(v)
  14633. return string(a)
  14634. },
  14635. }).Parse(doc)
  14636. if err != nil {
  14637. return doc
  14638. }
  14639. var tpl bytes.Buffer
  14640. if err := t.Execute(&tpl, sInfo); err != nil {
  14641. return doc
  14642. }
  14643. return tpl.String()
  14644. }
  14645. func init() {
  14646. swag.Register(swag.Name, &s{})
  14647. }