docs.go 312 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705
  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/NoticeReaded": {
  369. "post": {
  370. "security": [
  371. {
  372. "ApiKeyAuth": []
  373. }
  374. ],
  375. "produces": [
  376. "application/json"
  377. ],
  378. "tags": [
  379. "通用服务"
  380. ],
  381. "summary": "通知公告设置已读请求",
  382. "parameters": [
  383. {
  384. "type": "integer",
  385. "description": "登录账号",
  386. "name": "loginID",
  387. "in": "query",
  388. "required": true
  389. },
  390. {
  391. "type": "integer",
  392. "description": "通知公告ID",
  393. "name": "noticeID",
  394. "in": "query",
  395. "required": true
  396. }
  397. ],
  398. "responses": {
  399. "200": {
  400. "description": "OK",
  401. "schema": {
  402. "$ref": "#/definitions/app.Response"
  403. }
  404. },
  405. "500": {
  406. "description": "Internal Server Error",
  407. "schema": {
  408. "$ref": "#/definitions/app.Response"
  409. }
  410. }
  411. }
  412. }
  413. },
  414. "/Common/QueryImageConfigs": {
  415. "get": {
  416. "produces": [
  417. "application/json"
  418. ],
  419. "tags": [
  420. "通用服务"
  421. ],
  422. "summary": "查询轮播图配置信息",
  423. "parameters": [
  424. {
  425. "type": "integer",
  426. "description": "类型 - 1:App首页轮播 2:我的",
  427. "name": "imageType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "$ref": "#/definitions/models.Szdz2imageconfig"
  436. }
  437. },
  438. "500": {
  439. "description": "Internal Server Error",
  440. "schema": {
  441. "$ref": "#/definitions/app.Response"
  442. }
  443. }
  444. }
  445. }
  446. },
  447. "/Common/QueryNotice": {
  448. "get": {
  449. "security": [
  450. {
  451. "ApiKeyAuth": []
  452. }
  453. ],
  454. "produces": [
  455. "application/json"
  456. ],
  457. "tags": [
  458. "通用服务"
  459. ],
  460. "summary": "通知公告系统消息查询",
  461. "parameters": [
  462. {
  463. "type": "integer",
  464. "description": "页码",
  465. "name": "page",
  466. "in": "query"
  467. },
  468. {
  469. "type": "integer",
  470. "description": "每页条数",
  471. "name": "pagesize",
  472. "in": "query"
  473. },
  474. {
  475. "type": "integer",
  476. "description": "登录账号",
  477. "name": "loginID",
  478. "in": "query",
  479. "required": true
  480. },
  481. {
  482. "type": "integer",
  483. "description": "消息类型 - 1:公告通知 2:系统消息",
  484. "name": "msgType",
  485. "in": "query"
  486. },
  487. {
  488. "type": "boolean",
  489. "description": "是否只获取未读信息",
  490. "name": "onlyUnRead",
  491. "in": "query"
  492. }
  493. ],
  494. "responses": {
  495. "200": {
  496. "description": "OK",
  497. "schema": {
  498. "$ref": "#/definitions/common.QueryNoticeRsp"
  499. }
  500. },
  501. "500": {
  502. "description": "Internal Server Error",
  503. "schema": {
  504. "$ref": "#/definitions/app.Response"
  505. }
  506. }
  507. }
  508. }
  509. },
  510. "/Common/QueryProvincesAndCities": {
  511. "get": {
  512. "produces": [
  513. "application/json"
  514. ],
  515. "tags": [
  516. "通用服务"
  517. ],
  518. "summary": "查询省市信息(不包括区)",
  519. "parameters": [
  520. {
  521. "type": "integer",
  522. "description": "省ID",
  523. "name": "provinceID",
  524. "in": "query"
  525. }
  526. ],
  527. "responses": {
  528. "200": {
  529. "description": "OK",
  530. "schema": {
  531. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  532. }
  533. },
  534. "500": {
  535. "description": "Internal Server Error",
  536. "schema": {
  537. "$ref": "#/definitions/app.Response"
  538. }
  539. }
  540. }
  541. }
  542. },
  543. "/Common/QueryTableDefine": {
  544. "get": {
  545. "produces": [
  546. "application/json"
  547. ],
  548. "tags": [
  549. "通用服务"
  550. ],
  551. "summary": "查询交易端列表头信息",
  552. "parameters": [
  553. {
  554. "type": "string",
  555. "description": "表key",
  556. "name": "TableKey",
  557. "in": "query"
  558. }
  559. ],
  560. "responses": {
  561. "200": {
  562. "description": "OK",
  563. "schema": {
  564. "$ref": "#/definitions/common.QueryTableDefineRsp"
  565. }
  566. },
  567. "500": {
  568. "description": "Internal Server Error",
  569. "schema": {
  570. "$ref": "#/definitions/app.Response"
  571. }
  572. }
  573. }
  574. }
  575. },
  576. "/Common/QueryTraderMenu": {
  577. "get": {
  578. "produces": [
  579. "application/json"
  580. ],
  581. "tags": [
  582. "通用服务"
  583. ],
  584. "summary": "查询交易端菜单",
  585. "parameters": [
  586. {
  587. "type": "integer",
  588. "description": "登录账号",
  589. "name": "loginid",
  590. "in": "query",
  591. "required": true
  592. }
  593. ],
  594. "responses": {
  595. "200": {
  596. "description": "OK",
  597. "schema": {
  598. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  599. }
  600. },
  601. "500": {
  602. "description": "Internal Server Error",
  603. "schema": {
  604. "$ref": "#/definitions/app.Response"
  605. }
  606. }
  607. }
  608. }
  609. },
  610. "/Delivery/QueryDeliveryRelation": {
  611. "get": {
  612. "security": [
  613. {
  614. "ApiKeyAuth": []
  615. }
  616. ],
  617. "produces": [
  618. "application/json"
  619. ],
  620. "tags": [
  621. "交割服务"
  622. ],
  623. "summary": "查询商品交割关系表",
  624. "parameters": [
  625. {
  626. "type": "integer",
  627. "description": "商品ID",
  628. "name": "goodsid",
  629. "in": "query"
  630. },
  631. {
  632. "type": "integer",
  633. "description": "品种ID",
  634. "name": "deliverygoodsid",
  635. "in": "query"
  636. },
  637. {
  638. "type": "integer",
  639. "description": "市场ID",
  640. "name": "marketid",
  641. "in": "query"
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "OK",
  647. "schema": {
  648. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  649. }
  650. },
  651. "500": {
  652. "description": "Internal Server Error",
  653. "schema": {
  654. "$ref": "#/definitions/app.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/Erms2/QueryArbitrageStrategy": {
  661. "get": {
  662. "security": [
  663. {
  664. "ApiKeyAuth": []
  665. }
  666. ],
  667. "produces": [
  668. "application/json"
  669. ],
  670. "tags": [
  671. "风险管理"
  672. ],
  673. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  674. "parameters": [
  675. {
  676. "type": "integer",
  677. "description": "账户ID",
  678. "name": "userid",
  679. "in": "query",
  680. "required": true
  681. },
  682. {
  683. "type": "string",
  684. "description": "商品组ID(品种ID)",
  685. "name": "goodsgroupid",
  686. "in": "query"
  687. }
  688. ],
  689. "responses": {
  690. "200": {
  691. "description": "OK",
  692. "schema": {
  693. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  694. }
  695. },
  696. "500": {
  697. "description": "Internal Server Error",
  698. "schema": {
  699. "$ref": "#/definitions/app.Response"
  700. }
  701. }
  702. }
  703. }
  704. },
  705. "/Erms2/QueryInnerTradeDetail": {
  706. "get": {
  707. "security": [
  708. {
  709. "ApiKeyAuth": []
  710. }
  711. ],
  712. "produces": [
  713. "application/json"
  714. ],
  715. "tags": [
  716. "风险管理"
  717. ],
  718. "summary": "查询内部成交单信息",
  719. "parameters": [
  720. {
  721. "type": "integer",
  722. "description": "资金账户",
  723. "name": "accountid",
  724. "in": "query",
  725. "required": true
  726. }
  727. ],
  728. "responses": {
  729. "200": {
  730. "description": "OK",
  731. "schema": {
  732. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  733. }
  734. },
  735. "500": {
  736. "description": "Internal Server Error",
  737. "schema": {
  738. "$ref": "#/definitions/app.Response"
  739. }
  740. }
  741. }
  742. }
  743. },
  744. "/Erms2/QuerySpotContract": {
  745. "get": {
  746. "security": [
  747. {
  748. "ApiKeyAuth": []
  749. }
  750. ],
  751. "produces": [
  752. "application/json"
  753. ],
  754. "tags": [
  755. "风险管理"
  756. ],
  757. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  758. "parameters": [
  759. {
  760. "type": "integer",
  761. "description": "策略申请ID",
  762. "name": "asapplyid",
  763. "in": "query",
  764. "required": true
  765. },
  766. {
  767. "type": "integer",
  768. "description": "现货合同ID",
  769. "name": "spotcontractid",
  770. "in": "query"
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Erms3/AddSpotContractApply": {
  790. "post": {
  791. "security": [
  792. {
  793. "ApiKeyAuth": []
  794. }
  795. ],
  796. "produces": [
  797. "application/json"
  798. ],
  799. "tags": [
  800. "风险管理v3"
  801. ],
  802. "summary": "新增现货合同申请",
  803. "parameters": [
  804. {
  805. "description": "申请参数",
  806. "name": "jsonBody",
  807. "in": "body",
  808. "required": true,
  809. "schema": {
  810. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  811. }
  812. }
  813. ],
  814. "responses": {
  815. "200": {
  816. "description": "OK",
  817. "schema": {
  818. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  819. }
  820. },
  821. "500": {
  822. "description": "Internal Server Error",
  823. "schema": {
  824. "$ref": "#/definitions/app.Response"
  825. }
  826. }
  827. }
  828. }
  829. },
  830. "/Erms3/QueryPendingAuditContract": {
  831. "get": {
  832. "security": [
  833. {
  834. "ApiKeyAuth": []
  835. }
  836. ],
  837. "produces": [
  838. "application/json"
  839. ],
  840. "tags": [
  841. "风险管理v3"
  842. ],
  843. "summary": "查询待审核合同",
  844. "parameters": [
  845. {
  846. "type": "integer",
  847. "description": "账号ID",
  848. "name": "accountid",
  849. "in": "query",
  850. "required": true
  851. },
  852. {
  853. "type": "integer",
  854. "description": "合同类型 1-采购 -1-销售",
  855. "name": "contracttype",
  856. "in": "query",
  857. "required": true
  858. },
  859. {
  860. "type": "integer",
  861. "description": "合同模式 1-普通 2-回购",
  862. "name": "contractmode",
  863. "in": "query",
  864. "required": true
  865. }
  866. ],
  867. "responses": {
  868. "200": {
  869. "description": "OK",
  870. "schema": {
  871. "type": "array",
  872. "items": {
  873. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  874. }
  875. }
  876. },
  877. "500": {
  878. "description": "Internal Server Error",
  879. "schema": {
  880. "$ref": "#/definitions/app.Response"
  881. }
  882. }
  883. }
  884. }
  885. },
  886. "/Erms3/QuerySpotContractAppleForm": {
  887. "get": {
  888. "security": [
  889. {
  890. "ApiKeyAuth": []
  891. }
  892. ],
  893. "produces": [
  894. "application/json"
  895. ],
  896. "tags": [
  897. "风险管理v3"
  898. ],
  899. "summary": "查询合同申请表单数据",
  900. "parameters": [
  901. {
  902. "type": "integer",
  903. "description": "用户ID",
  904. "name": "userID",
  905. "in": "query",
  906. "required": true
  907. }
  908. ],
  909. "responses": {
  910. "200": {
  911. "description": "OK",
  912. "schema": {
  913. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  914. }
  915. },
  916. "500": {
  917. "description": "Internal Server Error",
  918. "schema": {
  919. "$ref": "#/definitions/app.Response"
  920. }
  921. }
  922. }
  923. }
  924. },
  925. "/Erms3/QuerySpotContractDetail": {
  926. "get": {
  927. "security": [
  928. {
  929. "ApiKeyAuth": []
  930. }
  931. ],
  932. "produces": [
  933. "application/json"
  934. ],
  935. "tags": [
  936. "风险管理v3"
  937. ],
  938. "summary": "查询合同详细信息",
  939. "parameters": [
  940. {
  941. "type": "string",
  942. "description": "资金账号ID列表,用逗号分隔",
  943. "name": "accountids",
  944. "in": "query",
  945. "required": true
  946. },
  947. {
  948. "type": "integer",
  949. "description": "合同类型,1为采购合同 -1为销售合同",
  950. "name": "contracttype",
  951. "in": "query",
  952. "required": true
  953. },
  954. {
  955. "type": "integer",
  956. "description": "合同模式,1为普通合同 2为回购销售合同",
  957. "name": "contractmode",
  958. "in": "query",
  959. "required": true
  960. },
  961. {
  962. "type": "integer",
  963. "description": "状态,0为履约中 1为已完成",
  964. "name": "status",
  965. "in": "query",
  966. "required": true
  967. }
  968. ],
  969. "responses": {
  970. "200": {
  971. "description": "OK",
  972. "schema": {
  973. "type": "array",
  974. "items": {
  975. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  976. }
  977. }
  978. },
  979. "500": {
  980. "description": "Internal Server Error",
  981. "schema": {
  982. "$ref": "#/definitions/app.Response"
  983. }
  984. }
  985. }
  986. }
  987. },
  988. "/HSBY/GetHsbyMyCount": {
  989. "get": {
  990. "security": [
  991. {
  992. "ApiKeyAuth": []
  993. }
  994. ],
  995. "description": "说明: 不包括已完成的数量。",
  996. "produces": [
  997. "application/json"
  998. ],
  999. "tags": [
  1000. "定制【海商报业】"
  1001. ],
  1002. "summary": "获取我的订单与包裹数量",
  1003. "parameters": [
  1004. {
  1005. "type": "string",
  1006. "description": "资金账户列表,格式:1,2,3",
  1007. "name": "accountIDs",
  1008. "in": "query",
  1009. "required": true
  1010. }
  1011. ],
  1012. "responses": {
  1013. "200": {
  1014. "description": "OK",
  1015. "schema": {
  1016. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1017. }
  1018. },
  1019. "500": {
  1020. "description": "Internal Server Error",
  1021. "schema": {
  1022. "$ref": "#/definitions/app.Response"
  1023. }
  1024. }
  1025. }
  1026. }
  1027. },
  1028. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1029. "get": {
  1030. "security": [
  1031. {
  1032. "ApiKeyAuth": []
  1033. }
  1034. ],
  1035. "produces": [
  1036. "application/json"
  1037. ],
  1038. "tags": [
  1039. "定制【海商报业】"
  1040. ],
  1041. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1042. "parameters": [
  1043. {
  1044. "type": "integer",
  1045. "description": "页码",
  1046. "name": "page",
  1047. "in": "query"
  1048. },
  1049. {
  1050. "type": "integer",
  1051. "description": "每页条数",
  1052. "name": "pagesize",
  1053. "in": "query"
  1054. },
  1055. {
  1056. "type": "string",
  1057. "description": "资金账户列表,格式:1,2,3",
  1058. "name": "accountIDs",
  1059. "in": "query",
  1060. "required": true
  1061. }
  1062. ],
  1063. "responses": {
  1064. "200": {
  1065. "description": "OK",
  1066. "schema": {
  1067. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1068. }
  1069. },
  1070. "500": {
  1071. "description": "Internal Server Error",
  1072. "schema": {
  1073. "$ref": "#/definitions/app.Response"
  1074. }
  1075. }
  1076. }
  1077. }
  1078. },
  1079. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1080. "get": {
  1081. "security": [
  1082. {
  1083. "ApiKeyAuth": []
  1084. }
  1085. ],
  1086. "description": "说明:查询结果已按委托价格和委托时间排序",
  1087. "produces": [
  1088. "application/json"
  1089. ],
  1090. "tags": [
  1091. "定制【海商报业】"
  1092. ],
  1093. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1094. "parameters": [
  1095. {
  1096. "type": "integer",
  1097. "description": "商品ID",
  1098. "name": "goodsID",
  1099. "in": "query",
  1100. "required": true
  1101. },
  1102. {
  1103. "type": "string",
  1104. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1105. "name": "accountIDs",
  1106. "in": "query",
  1107. "required": true
  1108. },
  1109. {
  1110. "type": "integer",
  1111. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1112. "name": "buyOrSell",
  1113. "in": "query"
  1114. },
  1115. {
  1116. "type": "number",
  1117. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1118. "name": "price",
  1119. "in": "query"
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "档位,不传则默认为3档",
  1124. "name": "speed",
  1125. "in": "query"
  1126. }
  1127. ],
  1128. "responses": {
  1129. "200": {
  1130. "description": "OK",
  1131. "schema": {
  1132. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1133. }
  1134. },
  1135. "500": {
  1136. "description": "Internal Server Error",
  1137. "schema": {
  1138. "$ref": "#/definitions/app.Response"
  1139. }
  1140. }
  1141. }
  1142. }
  1143. },
  1144. "/HSBY/QueryHsbyListingGoodsDetail": {
  1145. "get": {
  1146. "security": [
  1147. {
  1148. "ApiKeyAuth": []
  1149. }
  1150. ],
  1151. "produces": [
  1152. "application/json"
  1153. ],
  1154. "tags": [
  1155. "定制【海商报业】"
  1156. ],
  1157. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1158. "parameters": [
  1159. {
  1160. "type": "integer",
  1161. "description": "商品ID",
  1162. "name": "goodsID",
  1163. "in": "query",
  1164. "required": true
  1165. },
  1166. {
  1167. "type": "integer",
  1168. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1169. "name": "AccountID",
  1170. "in": "query"
  1171. }
  1172. ],
  1173. "responses": {
  1174. "200": {
  1175. "description": "OK",
  1176. "schema": {
  1177. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1178. }
  1179. },
  1180. "500": {
  1181. "description": "Internal Server Error",
  1182. "schema": {
  1183. "$ref": "#/definitions/app.Response"
  1184. }
  1185. }
  1186. }
  1187. }
  1188. },
  1189. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1190. "get": {
  1191. "security": [
  1192. {
  1193. "ApiKeyAuth": []
  1194. }
  1195. ],
  1196. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "定制【海商报业】"
  1202. ],
  1203. "summary": "查询“我的订单”信息",
  1204. "parameters": [
  1205. {
  1206. "type": "string",
  1207. "description": "资金账户列表,格式:1,2,3",
  1208. "name": "accountIDs",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1215. "name": "myBuyStatus",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1224. }
  1225. },
  1226. "500": {
  1227. "description": "Internal Server Error",
  1228. "schema": {
  1229. "$ref": "#/definitions/app.Response"
  1230. }
  1231. }
  1232. }
  1233. }
  1234. },
  1235. "/HSBY/QueryHsbyMyGoods": {
  1236. "get": {
  1237. "security": [
  1238. {
  1239. "ApiKeyAuth": []
  1240. }
  1241. ],
  1242. "produces": [
  1243. "application/json"
  1244. ],
  1245. "tags": [
  1246. "定制【海商报业】"
  1247. ],
  1248. "summary": "查询“我的商品”信息",
  1249. "parameters": [
  1250. {
  1251. "type": "string",
  1252. "description": "资金账户列表,格式:1,2,3",
  1253. "name": "accountIDs",
  1254. "in": "query",
  1255. "required": true
  1256. }
  1257. ],
  1258. "responses": {
  1259. "200": {
  1260. "description": "OK",
  1261. "schema": {
  1262. "$ref": "#/definitions/models.HsbyMyGoods"
  1263. }
  1264. },
  1265. "500": {
  1266. "description": "Internal Server Error",
  1267. "schema": {
  1268. "$ref": "#/definitions/app.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/HSBY/QueryHsbyMyPackages": {
  1275. "get": {
  1276. "security": [
  1277. {
  1278. "ApiKeyAuth": []
  1279. }
  1280. ],
  1281. "produces": [
  1282. "application/json"
  1283. ],
  1284. "tags": [
  1285. "定制【海商报业】"
  1286. ],
  1287. "summary": "查询我的包裹信息",
  1288. "parameters": [
  1289. {
  1290. "type": "string",
  1291. "description": "资金账户列表,格式:1,2,3",
  1292. "name": "accountIDs",
  1293. "in": "query",
  1294. "required": true
  1295. },
  1296. {
  1297. "type": "integer",
  1298. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1299. "name": "takeOrderStatus",
  1300. "in": "query"
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "$ref": "#/definitions/models.HsbyMyPackage"
  1308. }
  1309. },
  1310. "500": {
  1311. "description": "Internal Server Error",
  1312. "schema": {
  1313. "$ref": "#/definitions/app.Response"
  1314. }
  1315. }
  1316. }
  1317. }
  1318. },
  1319. "/HSBY/QueryHsbyPreGoodsDetail": {
  1320. "get": {
  1321. "security": [
  1322. {
  1323. "ApiKeyAuth": []
  1324. }
  1325. ],
  1326. "produces": [
  1327. "application/json"
  1328. ],
  1329. "tags": [
  1330. "定制【海商报业】"
  1331. ],
  1332. "summary": "查询一级市场(产能预售)商品信息详情",
  1333. "parameters": [
  1334. {
  1335. "type": "integer",
  1336. "description": "商品ID",
  1337. "name": "goodsID",
  1338. "in": "query",
  1339. "required": true
  1340. },
  1341. {
  1342. "type": "integer",
  1343. "description": "资金账户,主要用于获取预售商品购买上限",
  1344. "name": "accountID",
  1345. "in": "query",
  1346. "required": true
  1347. }
  1348. ],
  1349. "responses": {
  1350. "200": {
  1351. "description": "OK",
  1352. "schema": {
  1353. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1354. }
  1355. },
  1356. "500": {
  1357. "description": "Internal Server Error",
  1358. "schema": {
  1359. "$ref": "#/definitions/app.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/HSBY/QueryHsbyPreGoodses": {
  1366. "get": {
  1367. "security": [
  1368. {
  1369. "ApiKeyAuth": []
  1370. }
  1371. ],
  1372. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "定制【海商报业】"
  1378. ],
  1379. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1380. "parameters": [
  1381. {
  1382. "type": "integer",
  1383. "description": "页码",
  1384. "name": "page",
  1385. "in": "query"
  1386. },
  1387. {
  1388. "type": "integer",
  1389. "description": "每页条数",
  1390. "name": "pagesize",
  1391. "in": "query"
  1392. },
  1393. {
  1394. "type": "string",
  1395. "description": "市场ID列表,格式:1,2,3",
  1396. "name": "marketIDs",
  1397. "in": "query",
  1398. "required": true
  1399. },
  1400. {
  1401. "type": "integer",
  1402. "description": "目的地(省)ID",
  1403. "name": "descProvinceID",
  1404. "in": "query"
  1405. },
  1406. {
  1407. "type": "integer",
  1408. "description": "目的地(市)ID",
  1409. "name": "descCityID",
  1410. "in": "query"
  1411. }
  1412. ],
  1413. "responses": {
  1414. "200": {
  1415. "description": "OK",
  1416. "schema": {
  1417. "$ref": "#/definitions/models.HsbyPreGoods"
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/HSBY/QueryHsbySellMyDetails": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "定制【海商报业】"
  1442. ],
  1443. "summary": "查询\"我的闲置\"单据信息",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "页码",
  1448. "name": "page",
  1449. "in": "query"
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "每页条数",
  1454. "name": "pagesize",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "资金账户列表,格式:1,2,3",
  1460. "name": "accountIDs",
  1461. "in": "query",
  1462. "required": true
  1463. },
  1464. {
  1465. "type": "integer",
  1466. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1467. "name": "orderType",
  1468. "in": "query"
  1469. }
  1470. ],
  1471. "responses": {
  1472. "200": {
  1473. "description": "OK",
  1474. "schema": {
  1475. "$ref": "#/definitions/models.HsbySellMyDetail"
  1476. }
  1477. },
  1478. "500": {
  1479. "description": "Internal Server Error",
  1480. "schema": {
  1481. "$ref": "#/definitions/app.Response"
  1482. }
  1483. }
  1484. }
  1485. }
  1486. },
  1487. "/HSBY/QueryHsbyTopGoodses": {
  1488. "get": {
  1489. "security": [
  1490. {
  1491. "ApiKeyAuth": []
  1492. }
  1493. ],
  1494. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1495. "produces": [
  1496. "application/json"
  1497. ],
  1498. "tags": [
  1499. "定制【海商报业】"
  1500. ],
  1501. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1502. "parameters": [
  1503. {
  1504. "type": "integer",
  1505. "description": "页码",
  1506. "name": "page",
  1507. "in": "query"
  1508. },
  1509. {
  1510. "type": "integer",
  1511. "description": "每页条数",
  1512. "name": "pagesize",
  1513. "in": "query"
  1514. },
  1515. {
  1516. "type": "string",
  1517. "description": "市场ID列表,格式:1,2,3",
  1518. "name": "marketIDs",
  1519. "in": "query",
  1520. "required": true
  1521. },
  1522. {
  1523. "type": "integer",
  1524. "description": "目的地(省)ID",
  1525. "name": "descProvinceID",
  1526. "in": "query"
  1527. },
  1528. {
  1529. "type": "integer",
  1530. "description": "目的地(市)ID",
  1531. "name": "descCityID",
  1532. "in": "query"
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "$ref": "#/definitions/models.HsbyTopGoods"
  1540. }
  1541. },
  1542. "500": {
  1543. "description": "Internal Server Error",
  1544. "schema": {
  1545. "$ref": "#/definitions/app.Response"
  1546. }
  1547. }
  1548. }
  1549. }
  1550. },
  1551. "/HSBY/QueryProvincesAndCities": {
  1552. "get": {
  1553. "security": [
  1554. {
  1555. "ApiKeyAuth": []
  1556. }
  1557. ],
  1558. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1559. "produces": [
  1560. "application/json"
  1561. ],
  1562. "tags": [
  1563. "定制【海商报业】"
  1564. ],
  1565. "summary": "查询省市信息(不包括区)",
  1566. "parameters": [
  1567. {
  1568. "type": "integer",
  1569. "description": "省ID",
  1570. "name": "provinceID",
  1571. "in": "query"
  1572. }
  1573. ],
  1574. "responses": {
  1575. "200": {
  1576. "description": "OK",
  1577. "schema": {
  1578. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1579. }
  1580. },
  1581. "500": {
  1582. "description": "Internal Server Error",
  1583. "schema": {
  1584. "$ref": "#/definitions/app.Response"
  1585. }
  1586. }
  1587. }
  1588. }
  1589. },
  1590. "/HSBY/SetHsbyMyPackagesStatus": {
  1591. "post": {
  1592. "security": [
  1593. {
  1594. "ApiKeyAuth": []
  1595. }
  1596. ],
  1597. "produces": [
  1598. "application/json"
  1599. ],
  1600. "tags": [
  1601. "定制【海商报业】"
  1602. ],
  1603. "summary": "设置我的包裹已收货状态",
  1604. "parameters": [
  1605. {
  1606. "type": "string",
  1607. "description": "提货单号",
  1608. "name": "takeOrderID",
  1609. "in": "query",
  1610. "required": true
  1611. },
  1612. {
  1613. "type": "integer",
  1614. "description": "资金账号",
  1615. "name": "accountID",
  1616. "in": "query",
  1617. "required": true
  1618. }
  1619. ],
  1620. "responses": {
  1621. "200": {
  1622. "description": "OK",
  1623. "schema": {
  1624. "$ref": "#/definitions/app.Response"
  1625. }
  1626. },
  1627. "500": {
  1628. "description": "Internal Server Error",
  1629. "schema": {
  1630. "$ref": "#/definitions/app.Response"
  1631. }
  1632. }
  1633. }
  1634. }
  1635. },
  1636. "/Order/QueryHisTradeDetail": {
  1637. "get": {
  1638. "security": [
  1639. {
  1640. "ApiKeyAuth": []
  1641. }
  1642. ],
  1643. "produces": [
  1644. "application/json"
  1645. ],
  1646. "tags": [
  1647. "通用单据"
  1648. ],
  1649. "summary": "历史成交单查询(合约市场)",
  1650. "parameters": [
  1651. {
  1652. "type": "string",
  1653. "description": "资金账户 - 格式:1,2,3",
  1654. "name": "accountID",
  1655. "in": "query",
  1656. "required": true
  1657. },
  1658. {
  1659. "type": "integer",
  1660. "description": "成交单号",
  1661. "name": "tradeID",
  1662. "in": "query"
  1663. },
  1664. {
  1665. "type": "integer",
  1666. "description": "委托单号",
  1667. "name": "orderID",
  1668. "in": "query"
  1669. },
  1670. {
  1671. "type": "string",
  1672. "description": "交易模式 - 格式:1,2,3",
  1673. "name": "tradeMode",
  1674. "in": "query"
  1675. },
  1676. {
  1677. "type": "integer",
  1678. "description": "委托单据类型",
  1679. "name": "buildType",
  1680. "in": "query"
  1681. },
  1682. {
  1683. "type": "string",
  1684. "description": "成交类别 - 格式:1,2,3",
  1685. "name": "tradeType",
  1686. "in": "query"
  1687. },
  1688. {
  1689. "type": "string",
  1690. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1691. "name": "startDate",
  1692. "in": "query"
  1693. },
  1694. {
  1695. "type": "string",
  1696. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1697. "name": "endDate",
  1698. "in": "query"
  1699. }
  1700. ],
  1701. "responses": {
  1702. "200": {
  1703. "description": "OK",
  1704. "schema": {
  1705. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1706. }
  1707. },
  1708. "500": {
  1709. "description": "Internal Server Error",
  1710. "schema": {
  1711. "$ref": "#/definitions/app.Response"
  1712. }
  1713. }
  1714. }
  1715. }
  1716. },
  1717. "/Order/QueryHisTradeOrderDetail": {
  1718. "get": {
  1719. "security": [
  1720. {
  1721. "ApiKeyAuth": []
  1722. }
  1723. ],
  1724. "produces": [
  1725. "application/json"
  1726. ],
  1727. "tags": [
  1728. "通用单据"
  1729. ],
  1730. "summary": "历史委托单查询请求(合约市场)",
  1731. "parameters": [
  1732. {
  1733. "type": "string",
  1734. "description": "资金账户 - 格式:1,2,3",
  1735. "name": "accountID",
  1736. "in": "query",
  1737. "required": true
  1738. },
  1739. {
  1740. "type": "string",
  1741. "description": "交易模式 - 格式:1,2,3",
  1742. "name": "tradeMode",
  1743. "in": "query"
  1744. },
  1745. {
  1746. "type": "string",
  1747. "description": "委托状态 - 格式:1,2,3",
  1748. "name": "orderStatus",
  1749. "in": "query"
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "委托单号",
  1754. "name": "orderID",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1760. "name": "startDate",
  1761. "in": "query"
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1766. "name": "endDate",
  1767. "in": "query"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1775. }
  1776. },
  1777. "500": {
  1778. "description": "Internal Server Error",
  1779. "schema": {
  1780. "$ref": "#/definitions/app.Response"
  1781. }
  1782. }
  1783. }
  1784. }
  1785. },
  1786. "/Order/QueryTradeDetail": {
  1787. "get": {
  1788. "security": [
  1789. {
  1790. "ApiKeyAuth": []
  1791. }
  1792. ],
  1793. "produces": [
  1794. "application/json"
  1795. ],
  1796. "tags": [
  1797. "通用单据"
  1798. ],
  1799. "summary": "成交单查询(合约市场)",
  1800. "parameters": [
  1801. {
  1802. "type": "string",
  1803. "description": "资金账户 - 格式:1,2,3",
  1804. "name": "accountID",
  1805. "in": "query",
  1806. "required": true
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "成交单号",
  1811. "name": "tradeID",
  1812. "in": "query"
  1813. },
  1814. {
  1815. "type": "integer",
  1816. "description": "委托单号",
  1817. "name": "orderID",
  1818. "in": "query"
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "交易模式 - 格式:1,2,3",
  1823. "name": "tradeMode",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "integer",
  1828. "description": "委托单据类型",
  1829. "name": "buildType",
  1830. "in": "query"
  1831. },
  1832. {
  1833. "type": "string",
  1834. "description": "成交类别 - 格式:1,2,3",
  1835. "name": "tradeType",
  1836. "in": "query"
  1837. }
  1838. ],
  1839. "responses": {
  1840. "200": {
  1841. "description": "OK",
  1842. "schema": {
  1843. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1844. }
  1845. },
  1846. "500": {
  1847. "description": "Internal Server Error",
  1848. "schema": {
  1849. "$ref": "#/definitions/app.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/Order/QueryTradeOrderDetail": {
  1856. "get": {
  1857. "security": [
  1858. {
  1859. "ApiKeyAuth": []
  1860. }
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "通用单据"
  1867. ],
  1868. "summary": "委托单查询请求(合约市场)",
  1869. "parameters": [
  1870. {
  1871. "type": "string",
  1872. "description": "资金账户 - 格式:1,2,3",
  1873. "name": "accountID",
  1874. "in": "query",
  1875. "required": true
  1876. },
  1877. {
  1878. "type": "string",
  1879. "description": "交易模式 - 格式:1,2,3",
  1880. "name": "tradeMode",
  1881. "in": "query"
  1882. },
  1883. {
  1884. "type": "string",
  1885. "description": "委托状态 - 格式:1,2,3",
  1886. "name": "orderStatus",
  1887. "in": "query"
  1888. },
  1889. {
  1890. "type": "integer",
  1891. "description": "委托单号",
  1892. "name": "orderID",
  1893. "in": "query"
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1901. }
  1902. },
  1903. "500": {
  1904. "description": "Internal Server Error",
  1905. "schema": {
  1906. "$ref": "#/definitions/app.Response"
  1907. }
  1908. }
  1909. }
  1910. }
  1911. },
  1912. "/Order/QueryTradePosition": {
  1913. "get": {
  1914. "security": [
  1915. {
  1916. "ApiKeyAuth": []
  1917. }
  1918. ],
  1919. "produces": [
  1920. "application/json"
  1921. ],
  1922. "tags": [
  1923. "通用单据"
  1924. ],
  1925. "summary": "持仓汇总查询(合约市场)",
  1926. "parameters": [
  1927. {
  1928. "type": "string",
  1929. "description": "资金账户 - 格式:1,2,3",
  1930. "name": "accountID",
  1931. "in": "query",
  1932. "required": true
  1933. },
  1934. {
  1935. "type": "string",
  1936. "description": "交易模式 - 格式:1,2,3",
  1937. "name": "tradeMode",
  1938. "in": "query"
  1939. }
  1940. ],
  1941. "responses": {
  1942. "200": {
  1943. "description": "OK",
  1944. "schema": {
  1945. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1946. }
  1947. },
  1948. "500": {
  1949. "description": "Internal Server Error",
  1950. "schema": {
  1951. "$ref": "#/definitions/app.Response"
  1952. }
  1953. }
  1954. }
  1955. }
  1956. },
  1957. "/Quote/QueryHistoryDatas": {
  1958. "get": {
  1959. "security": [
  1960. {
  1961. "ApiKeyAuth": []
  1962. }
  1963. ],
  1964. "produces": [
  1965. "application/json"
  1966. ],
  1967. "tags": [
  1968. "行情服务"
  1969. ],
  1970. "summary": "查询行情历史数据",
  1971. "parameters": [
  1972. {
  1973. "type": "integer",
  1974. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  1975. "name": "cycleType",
  1976. "in": "query",
  1977. "required": true
  1978. },
  1979. {
  1980. "type": "string",
  1981. "description": "商品代码",
  1982. "name": "goodsCode",
  1983. "in": "query",
  1984. "required": true
  1985. },
  1986. {
  1987. "type": "string",
  1988. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  1989. "name": "startTime",
  1990. "in": "query"
  1991. },
  1992. {
  1993. "type": "string",
  1994. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  1995. "name": "endTime",
  1996. "in": "query"
  1997. },
  1998. {
  1999. "type": "integer",
  2000. "description": "条数",
  2001. "name": "count",
  2002. "in": "query"
  2003. },
  2004. {
  2005. "type": "boolean",
  2006. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2007. "name": "isAsc",
  2008. "in": "query"
  2009. }
  2010. ],
  2011. "responses": {
  2012. "200": {
  2013. "description": "OK",
  2014. "schema": {
  2015. "$ref": "#/definitions/quote.HistoryData"
  2016. }
  2017. },
  2018. "500": {
  2019. "description": "Internal Server Error",
  2020. "schema": {
  2021. "$ref": "#/definitions/app.Response"
  2022. }
  2023. }
  2024. }
  2025. }
  2026. },
  2027. "/Quote/QueryTSData": {
  2028. "get": {
  2029. "produces": [
  2030. "application/json"
  2031. ],
  2032. "tags": [
  2033. "行情服务"
  2034. ],
  2035. "summary": "分时图数据查询",
  2036. "parameters": [
  2037. {
  2038. "type": "string",
  2039. "description": "商品代码",
  2040. "name": "GoodsCode",
  2041. "in": "query",
  2042. "required": true
  2043. }
  2044. ],
  2045. "responses": {
  2046. "200": {
  2047. "description": "OK",
  2048. "schema": {
  2049. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2050. }
  2051. },
  2052. "500": {
  2053. "description": "Internal Server Error",
  2054. "schema": {
  2055. "$ref": "#/definitions/app.Response"
  2056. }
  2057. }
  2058. }
  2059. }
  2060. },
  2061. "/SZDZ/QueryConvertConfig": {
  2062. "get": {
  2063. "security": [
  2064. {
  2065. "ApiKeyAuth": []
  2066. }
  2067. ],
  2068. "produces": [
  2069. "application/json"
  2070. ],
  2071. "tags": [
  2072. "定制【尚志大宗】"
  2073. ],
  2074. "summary": "查询交易系统转换设置",
  2075. "parameters": [
  2076. {
  2077. "type": "integer",
  2078. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2079. "name": "convertType",
  2080. "in": "query"
  2081. },
  2082. {
  2083. "type": "string",
  2084. "description": "外部商品代码[JD\\PD]",
  2085. "name": "outerGoodsCode",
  2086. "in": "query"
  2087. },
  2088. {
  2089. "type": "string",
  2090. "description": "内部商品ID列表[交易],格式:1,2,3",
  2091. "name": "innerGoodsIDs",
  2092. "in": "query"
  2093. }
  2094. ],
  2095. "responses": {
  2096. "200": {
  2097. "description": "OK",
  2098. "schema": {
  2099. "$ref": "#/definitions/models.Szdz3convertconfig"
  2100. }
  2101. },
  2102. "500": {
  2103. "description": "Internal Server Error",
  2104. "schema": {
  2105. "$ref": "#/definitions/app.Response"
  2106. }
  2107. }
  2108. }
  2109. }
  2110. },
  2111. "/SZDZ/QueryConvertLog": {
  2112. "get": {
  2113. "security": [
  2114. {
  2115. "ApiKeyAuth": []
  2116. }
  2117. ],
  2118. "produces": [
  2119. "application/json"
  2120. ],
  2121. "tags": [
  2122. "定制【尚志大宗】"
  2123. ],
  2124. "summary": "交易系统转换流水查询",
  2125. "parameters": [
  2126. {
  2127. "type": "string",
  2128. "description": "资金账户 - 格式:1,2,3",
  2129. "name": "accountID",
  2130. "in": "query",
  2131. "required": true
  2132. },
  2133. {
  2134. "type": "string",
  2135. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2136. "name": "startDate",
  2137. "in": "query"
  2138. },
  2139. {
  2140. "type": "string",
  2141. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2142. "name": "endDate",
  2143. "in": "query"
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2151. }
  2152. },
  2153. "500": {
  2154. "description": "Internal Server Error",
  2155. "schema": {
  2156. "$ref": "#/definitions/app.Response"
  2157. }
  2158. }
  2159. }
  2160. }
  2161. },
  2162. "/SZDZ/QueryGoodsPickup": {
  2163. "get": {
  2164. "security": [
  2165. {
  2166. "ApiKeyAuth": []
  2167. }
  2168. ],
  2169. "produces": [
  2170. "application/json"
  2171. ],
  2172. "tags": [
  2173. "定制【尚志大宗】"
  2174. ],
  2175. "summary": "商品提货单查询",
  2176. "parameters": [
  2177. {
  2178. "type": "string",
  2179. "description": "资金账户 - 格式:1,2,3",
  2180. "name": "accountID",
  2181. "in": "query",
  2182. "required": true
  2183. },
  2184. {
  2185. "type": "integer",
  2186. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2187. "name": "takeOrderStatus",
  2188. "in": "query"
  2189. }
  2190. ],
  2191. "responses": {
  2192. "200": {
  2193. "description": "OK",
  2194. "schema": {
  2195. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/SZDZ/QueryRecieptOrder": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "定制【尚志大宗】"
  2220. ],
  2221. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "页码",
  2226. "name": "page",
  2227. "in": "query"
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "每页条数",
  2232. "name": "pagesize",
  2233. "in": "query"
  2234. },
  2235. {
  2236. "type": "integer",
  2237. "description": "商品ID",
  2238. "name": "goodsID",
  2239. "in": "query",
  2240. "required": true
  2241. },
  2242. {
  2243. "type": "string",
  2244. "description": "所属账户名称",
  2245. "name": "accountName",
  2246. "in": "query"
  2247. },
  2248. {
  2249. "type": "integer",
  2250. "description": "市场ID",
  2251. "name": "marketID",
  2252. "in": "query"
  2253. },
  2254. {
  2255. "type": "integer",
  2256. "description": "方向 - 0:买 1:卖",
  2257. "name": "buyorsell",
  2258. "in": "query",
  2259. "required": true
  2260. }
  2261. ],
  2262. "responses": {
  2263. "200": {
  2264. "description": "OK",
  2265. "schema": {
  2266. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/SZDZ/QuerySZDZTradePosition": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "定制【尚志大宗】"
  2290. ],
  2291. "summary": "持仓汇总查询(尚志大宗)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "资金账户",
  2296. "name": "accountID",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2306. }
  2307. },
  2308. "500": {
  2309. "description": "Internal Server Error",
  2310. "schema": {
  2311. "$ref": "#/definitions/app.Response"
  2312. }
  2313. }
  2314. }
  2315. }
  2316. },
  2317. "/SZDZ/SearchWhite": {
  2318. "get": {
  2319. "security": [
  2320. {
  2321. "ApiKeyAuth": []
  2322. }
  2323. ],
  2324. "produces": [
  2325. "application/json"
  2326. ],
  2327. "tags": [
  2328. "定制【尚志大宗】"
  2329. ],
  2330. "summary": "搜索白名单",
  2331. "parameters": [
  2332. {
  2333. "type": "integer",
  2334. "description": "用户ID",
  2335. "name": "userID",
  2336. "in": "query",
  2337. "required": true
  2338. }
  2339. ],
  2340. "responses": {
  2341. "200": {
  2342. "description": "OK",
  2343. "schema": {
  2344. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2345. }
  2346. },
  2347. "500": {
  2348. "description": "Internal Server Error",
  2349. "schema": {
  2350. "$ref": "#/definitions/app.Response"
  2351. }
  2352. }
  2353. }
  2354. }
  2355. },
  2356. "/Search/SearchGoodses": {
  2357. "get": {
  2358. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2359. "produces": [
  2360. "application/json"
  2361. ],
  2362. "tags": [
  2363. "检索服务"
  2364. ],
  2365. "summary": "检索商品信息",
  2366. "parameters": [
  2367. {
  2368. "type": "string",
  2369. "description": "检索内容",
  2370. "name": "content",
  2371. "in": "query",
  2372. "required": true
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "$ref": "#/definitions/models.SearchGoods"
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/TaAccount/QueryAmountLog": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "资金账户"
  2403. ],
  2404. "summary": "资金流水查询(当前)",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "页码",
  2409. "name": "page",
  2410. "in": "query"
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "每页条数",
  2415. "name": "pagesize",
  2416. "in": "query"
  2417. },
  2418. {
  2419. "type": "string",
  2420. "description": "资金账户 - 格式:1,2,3",
  2421. "name": "accountID",
  2422. "in": "query",
  2423. "required": true
  2424. },
  2425. {
  2426. "type": "string",
  2427. "description": "资金操作类型 - 格式:1,2,3",
  2428. "name": "OperateType",
  2429. "in": "query"
  2430. }
  2431. ],
  2432. "responses": {
  2433. "200": {
  2434. "description": "OK",
  2435. "schema": {
  2436. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2437. }
  2438. },
  2439. "500": {
  2440. "description": "Internal Server Error",
  2441. "schema": {
  2442. "$ref": "#/definitions/app.Response"
  2443. }
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "/TaAccount/QueryHisAmountLog": {
  2449. "get": {
  2450. "security": [
  2451. {
  2452. "ApiKeyAuth": []
  2453. }
  2454. ],
  2455. "produces": [
  2456. "application/json"
  2457. ],
  2458. "tags": [
  2459. "资金账户"
  2460. ],
  2461. "summary": "资金流水查询(历史)",
  2462. "parameters": [
  2463. {
  2464. "type": "integer",
  2465. "description": "页码",
  2466. "name": "page",
  2467. "in": "query"
  2468. },
  2469. {
  2470. "type": "integer",
  2471. "description": "每页条数",
  2472. "name": "pagesize",
  2473. "in": "query"
  2474. },
  2475. {
  2476. "type": "string",
  2477. "description": "资金账户 - 格式:1,2,3",
  2478. "name": "accountID",
  2479. "in": "query",
  2480. "required": true
  2481. },
  2482. {
  2483. "type": "string",
  2484. "description": "资金操作类型 - 格式:1,2,3",
  2485. "name": "OperateType",
  2486. "in": "query"
  2487. },
  2488. {
  2489. "type": "string",
  2490. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2491. "name": "startDate",
  2492. "in": "query"
  2493. },
  2494. {
  2495. "type": "string",
  2496. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2497. "name": "endDate",
  2498. "in": "query"
  2499. }
  2500. ],
  2501. "responses": {
  2502. "200": {
  2503. "description": "OK",
  2504. "schema": {
  2505. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/User/AddMessageBoard": {
  2518. "post": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "用户信息"
  2529. ],
  2530. "summary": "添加用户留言板信息",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "用户ID",
  2535. "name": "userID",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "string",
  2541. "description": "留言信息",
  2542. "name": "message",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. },
  2554. "500": {
  2555. "description": "Internal Server Error",
  2556. "schema": {
  2557. "$ref": "#/definitions/app.Response"
  2558. }
  2559. }
  2560. }
  2561. }
  2562. },
  2563. "/User/AddUserFavoriteGoods": {
  2564. "post": {
  2565. "security": [
  2566. {
  2567. "ApiKeyAuth": []
  2568. }
  2569. ],
  2570. "produces": [
  2571. "application/json"
  2572. ],
  2573. "tags": [
  2574. "用户信息"
  2575. ],
  2576. "summary": "添加用户商品收藏信息",
  2577. "parameters": [
  2578. {
  2579. "type": "integer",
  2580. "description": "用户ID",
  2581. "name": "userID",
  2582. "in": "query",
  2583. "required": true
  2584. },
  2585. {
  2586. "type": "integer",
  2587. "description": "商品ID",
  2588. "name": "goodsID",
  2589. "in": "query",
  2590. "required": true
  2591. }
  2592. ],
  2593. "responses": {
  2594. "200": {
  2595. "description": "OK",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. },
  2600. "500": {
  2601. "description": "Internal Server Error",
  2602. "schema": {
  2603. "$ref": "#/definitions/app.Response"
  2604. }
  2605. }
  2606. }
  2607. }
  2608. },
  2609. "/User/GetLoginID": {
  2610. "get": {
  2611. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2612. "produces": [
  2613. "application/json"
  2614. ],
  2615. "tags": [
  2616. "用户信息"
  2617. ],
  2618. "summary": "获取登录ID",
  2619. "parameters": [
  2620. {
  2621. "type": "string",
  2622. "description": "登录代码",
  2623. "name": "username",
  2624. "in": "query",
  2625. "required": true
  2626. }
  2627. ],
  2628. "responses": {
  2629. "200": {
  2630. "description": "OK",
  2631. "schema": {
  2632. "$ref": "#/definitions/app.Response"
  2633. }
  2634. },
  2635. "500": {
  2636. "description": "Internal Server Error",
  2637. "schema": {
  2638. "$ref": "#/definitions/app.Response"
  2639. }
  2640. }
  2641. }
  2642. }
  2643. },
  2644. "/User/GetUserAccount": {
  2645. "get": {
  2646. "security": [
  2647. {
  2648. "ApiKeyAuth": []
  2649. }
  2650. ],
  2651. "produces": [
  2652. "application/json"
  2653. ],
  2654. "tags": [
  2655. "用户信息"
  2656. ],
  2657. "summary": "获取用户账号信息",
  2658. "parameters": [
  2659. {
  2660. "type": "integer",
  2661. "description": "用户ID",
  2662. "name": "userID",
  2663. "in": "query",
  2664. "required": true
  2665. }
  2666. ],
  2667. "responses": {
  2668. "200": {
  2669. "description": "OK",
  2670. "schema": {
  2671. "$ref": "#/definitions/models.Useraccount"
  2672. }
  2673. },
  2674. "500": {
  2675. "description": "Internal Server Error",
  2676. "schema": {
  2677. "$ref": "#/definitions/app.Response"
  2678. }
  2679. }
  2680. }
  2681. }
  2682. },
  2683. "/User/GetUserAuthStatus": {
  2684. "get": {
  2685. "security": [
  2686. {
  2687. "ApiKeyAuth": []
  2688. }
  2689. ],
  2690. "produces": [
  2691. "application/json"
  2692. ],
  2693. "tags": [
  2694. "用户信息"
  2695. ],
  2696. "summary": "获取用户实名认证状态",
  2697. "parameters": [
  2698. {
  2699. "type": "integer",
  2700. "description": "用户ID",
  2701. "name": "userID",
  2702. "in": "query",
  2703. "required": true
  2704. }
  2705. ],
  2706. "responses": {
  2707. "200": {
  2708. "description": "OK",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/User/QueryMessageBoard": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "用户信息"
  2734. ],
  2735. "summary": "获取用户留言板信息",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "userID",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "$ref": "#/definitions/models.Messageboard"
  2750. }
  2751. },
  2752. "500": {
  2753. "description": "Internal Server Error",
  2754. "schema": {
  2755. "$ref": "#/definitions/app.Response"
  2756. }
  2757. }
  2758. }
  2759. }
  2760. },
  2761. "/User/QueryUserFavoriteGoodses": {
  2762. "get": {
  2763. "security": [
  2764. {
  2765. "ApiKeyAuth": []
  2766. }
  2767. ],
  2768. "produces": [
  2769. "application/json"
  2770. ],
  2771. "tags": [
  2772. "用户信息"
  2773. ],
  2774. "summary": "获取用户商品收藏信息",
  2775. "parameters": [
  2776. {
  2777. "type": "integer",
  2778. "description": "用户ID",
  2779. "name": "userID",
  2780. "in": "query",
  2781. "required": true
  2782. }
  2783. ],
  2784. "responses": {
  2785. "200": {
  2786. "description": "OK",
  2787. "schema": {
  2788. "$ref": "#/definitions/models.Userfavoritegoods"
  2789. }
  2790. },
  2791. "500": {
  2792. "description": "Internal Server Error",
  2793. "schema": {
  2794. "$ref": "#/definitions/app.Response"
  2795. }
  2796. }
  2797. }
  2798. }
  2799. },
  2800. "/User/QueryUserInfo": {
  2801. "get": {
  2802. "security": [
  2803. {
  2804. "ApiKeyAuth": []
  2805. }
  2806. ],
  2807. "produces": [
  2808. "application/json"
  2809. ],
  2810. "tags": [
  2811. "用户信息"
  2812. ],
  2813. "summary": "获取用户信息",
  2814. "parameters": [
  2815. {
  2816. "type": "integer",
  2817. "description": "用户ID",
  2818. "name": "userID",
  2819. "in": "query",
  2820. "required": true
  2821. }
  2822. ],
  2823. "responses": {
  2824. "200": {
  2825. "description": "OK",
  2826. "schema": {
  2827. "$ref": "#/definitions/models.Userinfo"
  2828. }
  2829. },
  2830. "500": {
  2831. "description": "Internal Server Error",
  2832. "schema": {
  2833. "$ref": "#/definitions/app.Response"
  2834. }
  2835. }
  2836. }
  2837. }
  2838. },
  2839. "/User/QueryUserReferNum": {
  2840. "get": {
  2841. "produces": [
  2842. "application/json"
  2843. ],
  2844. "tags": [
  2845. "用户信息"
  2846. ],
  2847. "summary": "获取用户邀请码",
  2848. "parameters": [
  2849. {
  2850. "type": "integer",
  2851. "description": "用户ID",
  2852. "name": "userID",
  2853. "in": "query",
  2854. "required": true
  2855. }
  2856. ],
  2857. "responses": {
  2858. "200": {
  2859. "description": "OK",
  2860. "schema": {
  2861. "$ref": "#/definitions/app.Response"
  2862. }
  2863. },
  2864. "500": {
  2865. "description": "Internal Server Error",
  2866. "schema": {
  2867. "$ref": "#/definitions/app.Response"
  2868. }
  2869. }
  2870. }
  2871. }
  2872. },
  2873. "/User/RemoveUserFavoriteGoods": {
  2874. "post": {
  2875. "security": [
  2876. {
  2877. "ApiKeyAuth": []
  2878. }
  2879. ],
  2880. "produces": [
  2881. "application/json"
  2882. ],
  2883. "tags": [
  2884. "用户信息"
  2885. ],
  2886. "summary": "移除用户商品收藏信息",
  2887. "parameters": [
  2888. {
  2889. "type": "integer",
  2890. "description": "用户ID",
  2891. "name": "userID",
  2892. "in": "query",
  2893. "required": true
  2894. },
  2895. {
  2896. "type": "integer",
  2897. "description": "商品ID",
  2898. "name": "goodsID",
  2899. "in": "query",
  2900. "required": true
  2901. }
  2902. ],
  2903. "responses": {
  2904. "200": {
  2905. "description": "OK",
  2906. "schema": {
  2907. "$ref": "#/definitions/app.Response"
  2908. }
  2909. },
  2910. "500": {
  2911. "description": "Internal Server Error",
  2912. "schema": {
  2913. "$ref": "#/definitions/app.Response"
  2914. }
  2915. }
  2916. }
  2917. }
  2918. },
  2919. "/WRTrade/GetAllDeliveryGoods": {
  2920. "get": {
  2921. "security": [
  2922. {
  2923. "ApiKeyAuth": []
  2924. },
  2925. {
  2926. "ApiKeyAuth": []
  2927. }
  2928. ],
  2929. "produces": [
  2930. "application/json",
  2931. "application/json"
  2932. ],
  2933. "tags": [
  2934. "仓单贸易",
  2935. "仓单贸易"
  2936. ],
  2937. "summary": "获取带仓单分类的种类信息",
  2938. "responses": {
  2939. "200": {
  2940. "description": "OK",
  2941. "schema": {
  2942. "$ref": "#/definitions/app.Response"
  2943. }
  2944. },
  2945. "500": {
  2946. "description": "Internal Server Error",
  2947. "schema": {
  2948. "$ref": "#/definitions/app.Response"
  2949. }
  2950. }
  2951. }
  2952. }
  2953. }
  2954. },
  2955. "definitions": {
  2956. "app.Response": {
  2957. "type": "object",
  2958. "properties": {
  2959. "code": {
  2960. "type": "integer"
  2961. },
  2962. "data": {
  2963. "type": "object"
  2964. },
  2965. "msg": {
  2966. "type": "string"
  2967. },
  2968. "page": {
  2969. "description": "页码",
  2970. "type": "integer"
  2971. },
  2972. "pagesize": {
  2973. "description": "每页条数",
  2974. "type": "integer"
  2975. },
  2976. "total": {
  2977. "description": "总条数",
  2978. "type": "integer"
  2979. }
  2980. }
  2981. },
  2982. "common.QueryNoticeRsp": {
  2983. "type": "object",
  2984. "required": [
  2985. "autoid"
  2986. ],
  2987. "properties": {
  2988. "auditoruserid": {
  2989. "description": "审核人",
  2990. "type": "integer"
  2991. },
  2992. "auditremark": {
  2993. "description": "审核备注",
  2994. "type": "string"
  2995. },
  2996. "audittime": {
  2997. "description": "审核日期",
  2998. "type": "string"
  2999. },
  3000. "autoid": {
  3001. "description": "自增ID",
  3002. "type": "integer"
  3003. },
  3004. "content": {
  3005. "description": "内容",
  3006. "type": "string"
  3007. },
  3008. "createtime": {
  3009. "description": "创建时间",
  3010. "type": "string"
  3011. },
  3012. "creatorid": {
  3013. "description": "建仓人",
  3014. "type": "integer"
  3015. },
  3016. "endtime": {
  3017. "description": "结束时间",
  3018. "type": "string"
  3019. },
  3020. "istop": {
  3021. "description": "是否置顶 - 0:不置顶 1:置顶",
  3022. "type": "integer"
  3023. },
  3024. "msgiconurl": {
  3025. "description": "消息图标Url",
  3026. "type": "string"
  3027. },
  3028. "msgtype": {
  3029. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3030. "type": "integer"
  3031. },
  3032. "publisher": {
  3033. "description": "消息发布者",
  3034. "type": "string"
  3035. },
  3036. "readed": {
  3037. "description": "是否已读",
  3038. "type": "boolean"
  3039. },
  3040. "scheduletime": {
  3041. "description": "计划发送时间",
  3042. "type": "string"
  3043. },
  3044. "sendtype": {
  3045. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3046. "type": "integer"
  3047. },
  3048. "sentstatus": {
  3049. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3050. "type": "integer"
  3051. },
  3052. "title": {
  3053. "description": "标题",
  3054. "type": "string"
  3055. },
  3056. "userid": {
  3057. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3058. "type": "integer"
  3059. }
  3060. }
  3061. },
  3062. "common.QueryProvincesAndCitiesRsp": {
  3063. "type": "object",
  3064. "properties": {
  3065. "cities": {
  3066. "description": "市",
  3067. "type": "array",
  3068. "items": {
  3069. "$ref": "#/definitions/models.Division"
  3070. }
  3071. },
  3072. "province": {
  3073. "description": "省",
  3074. "type": "object",
  3075. "$ref": "#/definitions/models.Division"
  3076. }
  3077. }
  3078. },
  3079. "common.QueryTableDefineRsp": {
  3080. "type": "object",
  3081. "required": [
  3082. "tablekey"
  3083. ],
  3084. "properties": {
  3085. "columns": {
  3086. "description": "列头信息数组",
  3087. "type": "array",
  3088. "items": {
  3089. "$ref": "#/definitions/models.Tablecolumnconfig"
  3090. }
  3091. },
  3092. "remark": {
  3093. "description": "Remark",
  3094. "type": "string"
  3095. },
  3096. "tabelmenu": {
  3097. "description": "列表菜单",
  3098. "type": "string"
  3099. },
  3100. "tablekey": {
  3101. "description": "列表Key",
  3102. "type": "string"
  3103. },
  3104. "tablename": {
  3105. "description": "列表名称",
  3106. "type": "string"
  3107. },
  3108. "tabletype": {
  3109. "description": "列表类型 - 1:管理端 2:终端",
  3110. "type": "integer"
  3111. }
  3112. }
  3113. },
  3114. "common.QueryTraderMenuRsp": {
  3115. "type": "object",
  3116. "properties": {
  3117. "OperationMenu": {
  3118. "description": "功能菜单",
  3119. "type": "array",
  3120. "items": {
  3121. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3122. }
  3123. },
  3124. "QuoteMenu": {
  3125. "description": "报价牌分类菜单",
  3126. "type": "array",
  3127. "items": {
  3128. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3129. }
  3130. }
  3131. }
  3132. },
  3133. "cptrade.Cptradepositioncancel": {
  3134. "type": "object",
  3135. "required": [
  3136. "cancelid"
  3137. ],
  3138. "properties": {
  3139. "accountid": {
  3140. "description": "申请人账户ID",
  3141. "type": "integer"
  3142. },
  3143. "applystatus": {
  3144. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3145. "type": "integer"
  3146. },
  3147. "applytime": {
  3148. "description": "申请时间",
  3149. "type": "string"
  3150. },
  3151. "cancelid": {
  3152. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3153. "type": "integer"
  3154. },
  3155. "cancelqty": {
  3156. "description": "注销数量",
  3157. "type": "integer"
  3158. },
  3159. "createtime": {
  3160. "description": "创建时间",
  3161. "type": "string"
  3162. },
  3163. "creatorid": {
  3164. "description": "创建人ID",
  3165. "type": "integer"
  3166. },
  3167. "creatorname": {
  3168. "description": "创建人",
  3169. "type": "string"
  3170. },
  3171. "goodscode": {
  3172. "description": "订单商品代码",
  3173. "type": "string"
  3174. },
  3175. "goodsid": {
  3176. "description": "商品ID",
  3177. "type": "integer"
  3178. },
  3179. "goodsname": {
  3180. "description": "订单商品名称",
  3181. "type": "string"
  3182. },
  3183. "goodunit": {
  3184. "description": "报价单位",
  3185. "type": "string"
  3186. },
  3187. "handlestatus": {
  3188. "description": "处理状态",
  3189. "type": "integer"
  3190. },
  3191. "marketid": {
  3192. "description": "市场ID",
  3193. "type": "integer"
  3194. },
  3195. "marketname": {
  3196. "description": "市场名称",
  3197. "type": "string"
  3198. },
  3199. "tradedate": {
  3200. "description": "交易日(yyyyMMdd)",
  3201. "type": "string"
  3202. },
  3203. "userid": {
  3204. "description": "申请人ID",
  3205. "type": "integer"
  3206. }
  3207. }
  3208. },
  3209. "cptrade.Cptradepresaleapply": {
  3210. "type": "object",
  3211. "required": [
  3212. "applyid"
  3213. ],
  3214. "properties": {
  3215. "accountid": {
  3216. "description": "申请人账户ID",
  3217. "type": "integer"
  3218. },
  3219. "applyid": {
  3220. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3221. "type": "integer"
  3222. },
  3223. "applyremark": {
  3224. "description": "申请备注",
  3225. "type": "string"
  3226. },
  3227. "applystatus": {
  3228. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3229. "type": "integer"
  3230. },
  3231. "applytime": {
  3232. "description": "申请时间",
  3233. "type": "string"
  3234. },
  3235. "attachmenturl": {
  3236. "description": "附件地址",
  3237. "type": "string"
  3238. },
  3239. "endtime": {
  3240. "description": "预售结束时间",
  3241. "type": "string"
  3242. },
  3243. "goodscode": {
  3244. "description": "商品代码",
  3245. "type": "string"
  3246. },
  3247. "goodsid": {
  3248. "description": "商品ID",
  3249. "type": "integer"
  3250. },
  3251. "goodsname": {
  3252. "description": "商品名称",
  3253. "type": "string"
  3254. },
  3255. "goodunit": {
  3256. "description": "报价单位",
  3257. "type": "string"
  3258. },
  3259. "handlestatus": {
  3260. "description": "处理状态",
  3261. "type": "integer"
  3262. },
  3263. "marketid": {
  3264. "description": "预售市场ID",
  3265. "type": "integer"
  3266. },
  3267. "marketname": {
  3268. "description": "预售市场名称",
  3269. "type": "string"
  3270. },
  3271. "presaleqty": {
  3272. "description": "预售数量",
  3273. "type": "integer"
  3274. },
  3275. "relatedgoodscode": {
  3276. "description": "关联交易合约代码",
  3277. "type": "string"
  3278. },
  3279. "relatedgoodsid": {
  3280. "description": "关联交易合约ID",
  3281. "type": "integer"
  3282. },
  3283. "relatedgoodsname": {
  3284. "description": "关联交易合约名称",
  3285. "type": "string"
  3286. },
  3287. "starttime": {
  3288. "description": "预售开始时间",
  3289. "type": "string"
  3290. },
  3291. "tradedate": {
  3292. "description": "交易日(yyyyMMdd)",
  3293. "type": "string"
  3294. },
  3295. "trademode": {
  3296. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3297. "type": "integer"
  3298. },
  3299. "userid": {
  3300. "description": "申请人ID",
  3301. "type": "integer"
  3302. }
  3303. }
  3304. },
  3305. "cptrade.Cptradeusergoodsdata": {
  3306. "type": "object",
  3307. "required": [
  3308. "accountid",
  3309. "goodsid"
  3310. ],
  3311. "properties": {
  3312. "EnabledQty": {
  3313. "description": "可用量",
  3314. "type": "integer"
  3315. },
  3316. "GoodsCode": {
  3317. "description": "订单商品代码",
  3318. "type": "string"
  3319. },
  3320. "GoodsName": {
  3321. "description": "订单商品名称",
  3322. "type": "string"
  3323. },
  3324. "WRStandardCode": {
  3325. "description": "仓单标准代码",
  3326. "type": "string"
  3327. },
  3328. "WRStandardName": {
  3329. "description": "仓单标准名称",
  3330. "type": "string"
  3331. },
  3332. "accountid": {
  3333. "description": "账户ID",
  3334. "type": "integer"
  3335. },
  3336. "cancelqty": {
  3337. "description": "注销量",
  3338. "type": "integer"
  3339. },
  3340. "curpresaleqty": {
  3341. "description": "当前预售量",
  3342. "type": "integer"
  3343. },
  3344. "deliveryqty": {
  3345. "description": "交割量",
  3346. "type": "integer"
  3347. },
  3348. "freezeamount": {
  3349. "description": "冻结金额",
  3350. "type": "number"
  3351. },
  3352. "goodsid": {
  3353. "description": "商品ID",
  3354. "type": "integer"
  3355. },
  3356. "goodunit": {
  3357. "description": "报价单位",
  3358. "type": "string"
  3359. },
  3360. "hasspotfreeze": {
  3361. "description": "是否有现货冻结 - 0:否 1:有",
  3362. "type": "integer"
  3363. },
  3364. "inqty": {
  3365. "description": "转入量(总数量)",
  3366. "type": "integer"
  3367. },
  3368. "marketid": {
  3369. "description": "市场ID",
  3370. "type": "integer"
  3371. },
  3372. "presaledamount": {
  3373. "description": "已预售总金额",
  3374. "type": "integer"
  3375. },
  3376. "presaledqty": {
  3377. "description": "已预售量",
  3378. "type": "integer"
  3379. },
  3380. "userid": {
  3381. "description": "用户ID",
  3382. "type": "integer"
  3383. },
  3384. "wrstandardid": {
  3385. "description": "仓单标准ID",
  3386. "type": "integer"
  3387. }
  3388. }
  3389. },
  3390. "cptrade.QueryCPTradeMyBidRsp": {
  3391. "type": "object",
  3392. "required": [
  3393. "accountid",
  3394. "goodsid",
  3395. "marketid",
  3396. "orderid",
  3397. "orderqty",
  3398. "ordertime",
  3399. "tradeprice",
  3400. "tradeqty"
  3401. ],
  3402. "properties": {
  3403. "accountid": {
  3404. "description": "账户ID[报价币种]",
  3405. "type": "integer"
  3406. },
  3407. "goodsid": {
  3408. "description": "商品ID",
  3409. "type": "integer"
  3410. },
  3411. "goodunit": {
  3412. "description": "报价单位",
  3413. "type": "string"
  3414. },
  3415. "marketid": {
  3416. "description": "市场ID",
  3417. "type": "integer"
  3418. },
  3419. "orderid": {
  3420. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3421. "type": "integer"
  3422. },
  3423. "orderprice": {
  3424. "description": "委托价格",
  3425. "type": "number"
  3426. },
  3427. "orderqty": {
  3428. "description": "委托数量",
  3429. "type": "integer"
  3430. },
  3431. "ordertime": {
  3432. "description": "委托时间",
  3433. "type": "string"
  3434. },
  3435. "ordertotalprice": {
  3436. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3437. "type": "number"
  3438. },
  3439. "ordertotalweight": {
  3440. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3441. "type": "integer"
  3442. },
  3443. "totaltotalprice": {
  3444. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3445. "type": "number"
  3446. },
  3447. "tradeprice": {
  3448. "description": "成交价格",
  3449. "type": "number"
  3450. },
  3451. "tradeqty": {
  3452. "description": "成交数量",
  3453. "type": "integer"
  3454. }
  3455. }
  3456. },
  3457. "cptrade.QueryCPTradeOrderDetailRsq": {
  3458. "type": "object",
  3459. "required": [
  3460. "accountid",
  3461. "buildtype",
  3462. "buyorsell",
  3463. "goodsid",
  3464. "marketid",
  3465. "memberuserid",
  3466. "operatetype",
  3467. "orderqty",
  3468. "ordertime",
  3469. "pricemode",
  3470. "strorderid",
  3471. "tradedate",
  3472. "validtype"
  3473. ],
  3474. "properties": {
  3475. "accountid": {
  3476. "description": "账户ID[报价币种]",
  3477. "type": "integer"
  3478. },
  3479. "buildtype": {
  3480. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3481. "type": "integer"
  3482. },
  3483. "buyorsell": {
  3484. "description": "买卖 - 0:买 1:卖",
  3485. "type": "integer"
  3486. },
  3487. "cancelorderid": {
  3488. "description": "撤单单号(撤单时填写)",
  3489. "type": "integer"
  3490. },
  3491. "cancelqty": {
  3492. "description": "撤单数量",
  3493. "type": "integer"
  3494. },
  3495. "clientordertime": {
  3496. "description": "客户端委托时间",
  3497. "type": "string"
  3498. },
  3499. "clientticket": {
  3500. "description": "客户端流水号",
  3501. "type": "string"
  3502. },
  3503. "clienttype": {
  3504. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3505. "type": "integer"
  3506. },
  3507. "closeexchagechargevalue": {
  3508. "description": "平仓交易所手续费设置值",
  3509. "type": "number"
  3510. },
  3511. "closefeealgorithm": {
  3512. "description": "平仓手续费收取方式 1:比率 2:固定",
  3513. "type": "integer"
  3514. },
  3515. "closefreezecharge": {
  3516. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3517. "type": "number"
  3518. },
  3519. "closememberchargevalue": {
  3520. "description": "平仓会员手续费设置值",
  3521. "type": "number"
  3522. },
  3523. "closeqty": {
  3524. "description": "平仓数量(先建后平操作 需要记录)",
  3525. "type": "integer"
  3526. },
  3527. "closetradeqty": {
  3528. "description": "平仓成交数量(先建后平操作,需要记录)",
  3529. "type": "integer"
  3530. },
  3531. "closeunfreezecharge": {
  3532. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3533. "type": "number"
  3534. },
  3535. "delistingtype": {
  3536. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3537. "type": "integer"
  3538. },
  3539. "freezecharge": {
  3540. "description": "冻结手续费",
  3541. "type": "number"
  3542. },
  3543. "freezemargin": {
  3544. "description": "冻结保证金(冻结交易金额)",
  3545. "type": "number"
  3546. },
  3547. "gcaccountid": {
  3548. "description": "账户ID[合约币种]",
  3549. "type": "integer"
  3550. },
  3551. "goodsid": {
  3552. "description": "商品ID",
  3553. "type": "integer"
  3554. },
  3555. "isconfirmexercise": {
  3556. "description": "是否确认行权- 0:否 1:是",
  3557. "type": "integer"
  3558. },
  3559. "ispreexercise": {
  3560. "description": "是否预申报- 0:否 1:是",
  3561. "type": "integer"
  3562. },
  3563. "listingselecttype": {
  3564. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3565. "type": "integer"
  3566. },
  3567. "marginalgorithm": {
  3568. "description": "保证金收取方式 1:比率 2:固定",
  3569. "type": "integer"
  3570. },
  3571. "marginvalue": {
  3572. "description": "即市保证金设置值",
  3573. "type": "number"
  3574. },
  3575. "marketid": {
  3576. "description": "市场ID",
  3577. "type": "integer"
  3578. },
  3579. "marketmaxsub": {
  3580. "description": "市价最大偏移范围",
  3581. "type": "number"
  3582. },
  3583. "memberuserid": {
  3584. "description": "所属会员UserID",
  3585. "type": "integer"
  3586. },
  3587. "openexchagechargevalue": {
  3588. "description": "建仓交易所手续费设置值",
  3589. "type": "number"
  3590. },
  3591. "openfeealgorithm": {
  3592. "description": "建仓手续费收取方式 1:比率 2:固定",
  3593. "type": "integer"
  3594. },
  3595. "openfreezecharge": {
  3596. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3597. "type": "number"
  3598. },
  3599. "openmemberchargevalue": {
  3600. "description": "建仓会员手续费设置值",
  3601. "type": "number"
  3602. },
  3603. "openqty": {
  3604. "description": "开仓数量(先建后平操作,需要记录)",
  3605. "type": "integer"
  3606. },
  3607. "opentradeqty": {
  3608. "description": "开仓成交数量(先建后平操作,需要记录)",
  3609. "type": "integer"
  3610. },
  3611. "openunfreezecharge": {
  3612. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3613. "type": "number"
  3614. },
  3615. "operatetype": {
  3616. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3617. "type": "integer"
  3618. },
  3619. "operatorid": {
  3620. "description": "登录账号(LoginID)",
  3621. "type": "integer"
  3622. },
  3623. "optiontype": {
  3624. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3625. "type": "integer"
  3626. },
  3627. "orderprice": {
  3628. "description": "委托价格",
  3629. "type": "number"
  3630. },
  3631. "orderqty": {
  3632. "description": "委托数量",
  3633. "type": "integer"
  3634. },
  3635. "ordersrc": {
  3636. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3637. "type": "integer"
  3638. },
  3639. "orderstatus": {
  3640. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3641. "type": "integer"
  3642. },
  3643. "ordertime": {
  3644. "description": "委托时间",
  3645. "type": "string"
  3646. },
  3647. "preexerciseprice": {
  3648. "description": "预申报价格",
  3649. "type": "number"
  3650. },
  3651. "premium": {
  3652. "description": "权利金",
  3653. "type": "number"
  3654. },
  3655. "preorderid": {
  3656. "description": "关联预埋单号(止盈止损单时填写)",
  3657. "type": "integer"
  3658. },
  3659. "pricemode": {
  3660. "description": "取价方式 - 1:市价 2: 限价",
  3661. "type": "integer"
  3662. },
  3663. "quoteid": {
  3664. "description": "报价单ID",
  3665. "type": "integer"
  3666. },
  3667. "relatedid": {
  3668. "description": "关联单号(交割单)",
  3669. "type": "integer"
  3670. },
  3671. "retcode": {
  3672. "description": "错误代码",
  3673. "type": "integer"
  3674. },
  3675. "sessionid": {
  3676. "description": "会话ID",
  3677. "type": "integer"
  3678. },
  3679. "strorderid": {
  3680. "description": "委托单号",
  3681. "type": "string"
  3682. },
  3683. "tradedate": {
  3684. "description": "交易日(yyyyMMdd)",
  3685. "type": "string"
  3686. },
  3687. "tradeproperty": {
  3688. "description": "交易属性",
  3689. "type": "integer"
  3690. },
  3691. "tradeqty": {
  3692. "description": "成交数量",
  3693. "type": "integer"
  3694. },
  3695. "unfreezecharge": {
  3696. "description": "解冻手续费",
  3697. "type": "number"
  3698. },
  3699. "unfreezemargin": {
  3700. "description": "解冻保证金",
  3701. "type": "number"
  3702. },
  3703. "updatetime": {
  3704. "description": "更新时间",
  3705. "type": "string"
  3706. },
  3707. "uuid": {
  3708. "description": "发起端唯一id",
  3709. "type": "string"
  3710. },
  3711. "validtime": {
  3712. "description": "有效期限",
  3713. "type": "string"
  3714. },
  3715. "validtype": {
  3716. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3717. "type": "integer"
  3718. },
  3719. "volumetype": {
  3720. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3721. "type": "integer"
  3722. }
  3723. }
  3724. },
  3725. "cptrade.QueryMyCPTradeGoodsRsp": {
  3726. "type": "object",
  3727. "required": [
  3728. "goodscode",
  3729. "goodsid",
  3730. "goodsname",
  3731. "marketid",
  3732. "relatedgoodscode",
  3733. "relatedgoodsname"
  3734. ],
  3735. "properties": {
  3736. "accountid": {
  3737. "description": "卖方账户ID",
  3738. "type": "integer"
  3739. },
  3740. "agreeunit": {
  3741. "description": "合约单位",
  3742. "type": "number"
  3743. },
  3744. "applyid": {
  3745. "description": "关联申请ID",
  3746. "type": "integer"
  3747. },
  3748. "attachmenturl": {
  3749. "description": "附件地址",
  3750. "type": "string"
  3751. },
  3752. "createtime": {
  3753. "description": "创建时间",
  3754. "type": "string"
  3755. },
  3756. "currencyid": {
  3757. "description": "报价货币ID",
  3758. "type": "integer"
  3759. },
  3760. "decimalplace": {
  3761. "description": "报价小数位",
  3762. "type": "integer"
  3763. },
  3764. "endtime": {
  3765. "description": "预售结束时间",
  3766. "type": "string"
  3767. },
  3768. "floorprice": {
  3769. "description": "底价[大宗式竞拍]",
  3770. "type": "number"
  3771. },
  3772. "goodscode": {
  3773. "description": "商品代码(预售)",
  3774. "type": "string"
  3775. },
  3776. "goodsdetail": {
  3777. "description": "详情[大宗]",
  3778. "type": "string"
  3779. },
  3780. "goodsid": {
  3781. "description": "商品ID(自增ID SEQ_GOODS)",
  3782. "type": "integer"
  3783. },
  3784. "goodsname": {
  3785. "description": "商品名称(预售)",
  3786. "type": "string"
  3787. },
  3788. "goodunit": {
  3789. "description": "报价单位",
  3790. "type": "string"
  3791. },
  3792. "goodunitid": {
  3793. "description": "报价单位ID",
  3794. "type": "integer"
  3795. },
  3796. "marketid": {
  3797. "description": "所属市场ID",
  3798. "type": "integer"
  3799. },
  3800. "marketname": {
  3801. "description": "预售市场名称",
  3802. "type": "string"
  3803. },
  3804. "presaledamount": {
  3805. "description": "已预售总金额(预售结束时更新)",
  3806. "type": "number"
  3807. },
  3808. "presaledqty": {
  3809. "description": "已预售量(预售结束时更新)",
  3810. "type": "integer"
  3811. },
  3812. "presalemode": {
  3813. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3814. "type": "integer"
  3815. },
  3816. "presaleqty": {
  3817. "description": "预售数量",
  3818. "type": "integer"
  3819. },
  3820. "refprice": {
  3821. "description": "参考价格[一口价]",
  3822. "type": "number"
  3823. },
  3824. "relatedgoodscode": {
  3825. "description": "商品代码(订单)",
  3826. "type": "string"
  3827. },
  3828. "relatedgoodsid": {
  3829. "description": "关联交易合约ID",
  3830. "type": "integer"
  3831. },
  3832. "relatedgoodsname": {
  3833. "description": "商品名称(订单)",
  3834. "type": "string"
  3835. },
  3836. "relatedmarketid": {
  3837. "description": "关联交易合约市场ID",
  3838. "type": "integer"
  3839. },
  3840. "sellstatus": {
  3841. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3842. "type": "integer"
  3843. },
  3844. "startprice": {
  3845. "description": "起拍价[大宗式竞拍]",
  3846. "type": "number"
  3847. },
  3848. "starttime": {
  3849. "description": "预售开始时间",
  3850. "type": "string"
  3851. },
  3852. "tradedate": {
  3853. "description": "交易日(yyyyMMdd)",
  3854. "type": "string"
  3855. },
  3856. "tradeprice": {
  3857. "description": "成交价[大宗]",
  3858. "type": "number"
  3859. },
  3860. "userid": {
  3861. "description": "卖方用户ID",
  3862. "type": "integer"
  3863. }
  3864. }
  3865. },
  3866. "cptrade.QueryPresaleGoodsExRsp": {
  3867. "type": "object",
  3868. "required": [
  3869. "goodsid"
  3870. ],
  3871. "properties": {
  3872. "attachmenturl": {
  3873. "description": "附件地址",
  3874. "type": "string"
  3875. },
  3876. "createtime": {
  3877. "description": "创建时间",
  3878. "type": "string"
  3879. },
  3880. "endtime": {
  3881. "description": "预售结束时间",
  3882. "type": "string"
  3883. },
  3884. "floorprice": {
  3885. "description": "底价[大宗式竞拍]",
  3886. "type": "number"
  3887. },
  3888. "goodsdetail": {
  3889. "description": "详情[大宗]",
  3890. "type": "string"
  3891. },
  3892. "goodsid": {
  3893. "description": "商品ID(预售)",
  3894. "type": "integer"
  3895. },
  3896. "goodunit": {
  3897. "description": "报价单位",
  3898. "type": "string"
  3899. },
  3900. "marketid": {
  3901. "description": "预售市场ID - 根据预售模式选择市场",
  3902. "type": "integer"
  3903. },
  3904. "presaledamount": {
  3905. "description": "已预售总金额(预售结束时更新)",
  3906. "type": "number"
  3907. },
  3908. "presaledqty": {
  3909. "description": "已预售量(预售结束时更新)",
  3910. "type": "integer"
  3911. },
  3912. "presalemode": {
  3913. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3914. "type": "integer"
  3915. },
  3916. "presaleqty": {
  3917. "description": "预售数量",
  3918. "type": "integer"
  3919. },
  3920. "refprice": {
  3921. "description": "参考价格[一口价]",
  3922. "type": "number"
  3923. },
  3924. "relatedgoodsid": {
  3925. "description": "关联交易合约ID",
  3926. "type": "integer"
  3927. },
  3928. "relatedmarketid": {
  3929. "description": "关联交易合约市场ID",
  3930. "type": "integer"
  3931. },
  3932. "sellstatus": {
  3933. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3934. "type": "integer"
  3935. },
  3936. "startprice": {
  3937. "description": "起拍价[大宗式竞拍]",
  3938. "type": "number"
  3939. },
  3940. "starttime": {
  3941. "description": "预售开始时间",
  3942. "type": "string"
  3943. },
  3944. "tradedate": {
  3945. "description": "交易日(yyyyMMdd)",
  3946. "type": "string"
  3947. },
  3948. "tradeprice": {
  3949. "description": "成交价[大宗]",
  3950. "type": "number"
  3951. }
  3952. }
  3953. },
  3954. "delivery.QueryDeliveryRelationRsp": {
  3955. "type": "object",
  3956. "required": [
  3957. "begindate",
  3958. "enddate",
  3959. "goodsid",
  3960. "mindeliveryqty",
  3961. "xdeliveryratio"
  3962. ],
  3963. "properties": {
  3964. "begindate": {
  3965. "description": "起始日期(yyyyMMdd)",
  3966. "type": "string"
  3967. },
  3968. "buytemplateid": {
  3969. "description": "买履约计划模板ID",
  3970. "type": "integer"
  3971. },
  3972. "deliverygoodscode": {
  3973. "description": "品种代码",
  3974. "type": "string"
  3975. },
  3976. "deliverygoodsid": {
  3977. "description": "交割商品",
  3978. "type": "integer"
  3979. },
  3980. "deliverygoodsname": {
  3981. "description": "品种名称",
  3982. "type": "string"
  3983. },
  3984. "deliverymode": {
  3985. "description": "交割方式 - 1:点选式 2:申报式",
  3986. "type": "integer"
  3987. },
  3988. "deliverypricerule": {
  3989. "description": "交割价规则- 1:行情价 2:建仓价",
  3990. "type": "integer"
  3991. },
  3992. "deliverytype": {
  3993. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3994. "type": "integer"
  3995. },
  3996. "enddate": {
  3997. "description": "结束日期(yyyyMMdd)",
  3998. "type": "string"
  3999. },
  4000. "goodscode": {
  4001. "description": "商品代码",
  4002. "type": "string"
  4003. },
  4004. "goodsid": {
  4005. "description": "交易合约ID",
  4006. "type": "integer"
  4007. },
  4008. "goodsname": {
  4009. "description": "商品名称",
  4010. "type": "string"
  4011. },
  4012. "marketid": {
  4013. "description": "市场ID",
  4014. "type": "integer"
  4015. },
  4016. "mindeliveryqty": {
  4017. "description": "最小交割系数(K)",
  4018. "type": "integer"
  4019. },
  4020. "p2deliveryprice": {
  4021. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4022. "type": "number"
  4023. },
  4024. "p2deliveryratio": {
  4025. "description": "P2合约系数(p)",
  4026. "type": "integer"
  4027. },
  4028. "p2goodsid": {
  4029. "description": "P2合约ID",
  4030. "type": "integer"
  4031. },
  4032. "p2pricemode": {
  4033. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4034. "type": "integer"
  4035. },
  4036. "pdeliveryprice": {
  4037. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4038. "type": "number"
  4039. },
  4040. "pdeliveryratio": {
  4041. "description": "P合约系数(n)",
  4042. "type": "integer"
  4043. },
  4044. "pgoodsid": {
  4045. "description": "P合约ID",
  4046. "type": "integer"
  4047. },
  4048. "ppricemode": {
  4049. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4050. "type": "integer"
  4051. },
  4052. "rratio": {
  4053. "description": "兑换系数(R)",
  4054. "type": "integer"
  4055. },
  4056. "rratio1": {
  4057. "description": "兑换系数(交易合约)(R1)",
  4058. "type": "integer"
  4059. },
  4060. "rratio2": {
  4061. "description": "兑换系数(仓单标准)(R2)",
  4062. "type": "integer"
  4063. },
  4064. "selltemplateid": {
  4065. "description": "卖履约计划模板ID",
  4066. "type": "integer"
  4067. },
  4068. "wrstandardid": {
  4069. "description": "仓单标准ID",
  4070. "type": "integer"
  4071. },
  4072. "xdeliveryratio": {
  4073. "description": "交易合约系数(m)",
  4074. "type": "integer"
  4075. }
  4076. }
  4077. },
  4078. "erms2.QueryArbitrageStrategyRsp": {
  4079. "type": "object",
  4080. "required": [
  4081. "asapplyid"
  4082. ],
  4083. "properties": {
  4084. "applybasis": {
  4085. "description": "申请基差",
  4086. "type": "number"
  4087. },
  4088. "asapplyid": {
  4089. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4090. "type": "string"
  4091. },
  4092. "asname": {
  4093. "description": "策略名称",
  4094. "type": "string"
  4095. },
  4096. "asno": {
  4097. "description": "策略编号",
  4098. "type": "string"
  4099. },
  4100. "basischangepl": {
  4101. "description": "基差变动损益[结算更新]",
  4102. "type": "number"
  4103. },
  4104. "biztype": {
  4105. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4106. "type": "integer"
  4107. },
  4108. "closetradedate": {
  4109. "description": "完结交易日(yyyyMMdd)",
  4110. "type": "string"
  4111. },
  4112. "curbasis": {
  4113. "description": "当前基差[结算更新]",
  4114. "type": "number"
  4115. },
  4116. "deliverygoodsid": {
  4117. "description": "现货品种ID",
  4118. "type": "integer"
  4119. },
  4120. "futureavgprice": {
  4121. "description": "期货建仓均价",
  4122. "type": "number"
  4123. },
  4124. "futurecloseamount": {
  4125. "description": "期货平仓金额",
  4126. "type": "number"
  4127. },
  4128. "futurecloseqty": {
  4129. "description": "期货平仓数量",
  4130. "type": "number"
  4131. },
  4132. "futureopenamount": {
  4133. "description": "期货开仓金额",
  4134. "type": "number"
  4135. },
  4136. "futureopenqty": {
  4137. "description": "期货开仓数量",
  4138. "type": "number"
  4139. },
  4140. "futurepl": {
  4141. "description": "期货总盈亏[结算更新]",
  4142. "type": "number"
  4143. },
  4144. "futureqty": {
  4145. "description": "期货持仓数量",
  4146. "type": "number"
  4147. },
  4148. "futurequote": {
  4149. "description": "期货额度",
  4150. "type": "number"
  4151. },
  4152. "goodsgroupid": {
  4153. "description": "期货品种ID",
  4154. "type": "integer"
  4155. },
  4156. "marketid": {
  4157. "description": "市场ID",
  4158. "type": "integer"
  4159. },
  4160. "netexposure": {
  4161. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4162. "type": "number"
  4163. },
  4164. "netexposurepl": {
  4165. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4166. "type": "number"
  4167. },
  4168. "netexposurerate": {
  4169. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4170. "type": "number"
  4171. },
  4172. "openbasis": {
  4173. "description": "建仓基差",
  4174. "type": "number"
  4175. },
  4176. "pricedspotqty": {
  4177. "description": "已定价现货数量",
  4178. "type": "number"
  4179. },
  4180. "pricedspotqtynotax": {
  4181. "description": "已定价现货不含税数量",
  4182. "type": "number"
  4183. },
  4184. "remark": {
  4185. "description": "备注",
  4186. "type": "string"
  4187. },
  4188. "spotavgprice": {
  4189. "description": "现货均价",
  4190. "type": "number"
  4191. },
  4192. "spotbuyamount": {
  4193. "description": "现货采购金额",
  4194. "type": "number"
  4195. },
  4196. "spotbuyqty": {
  4197. "description": "现货采购数量",
  4198. "type": "number"
  4199. },
  4200. "spotpl": {
  4201. "description": "现货总盈亏[结算更新]",
  4202. "type": "number"
  4203. },
  4204. "spotquota": {
  4205. "description": "现货额度",
  4206. "type": "number"
  4207. },
  4208. "spotsellamount": {
  4209. "description": "现货销售金额",
  4210. "type": "number"
  4211. },
  4212. "spotsellqty": {
  4213. "description": "现货销售数量",
  4214. "type": "number"
  4215. },
  4216. "spotusedquota": {
  4217. "description": "现货占用资金",
  4218. "type": "number"
  4219. },
  4220. "strategystatus": {
  4221. "description": "策略状态 - 0:未结束 1:已结束",
  4222. "type": "integer"
  4223. },
  4224. "totalpl": {
  4225. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4226. "type": "number"
  4227. },
  4228. "tradedate": {
  4229. "description": "交易日(yyyyMMdd)",
  4230. "type": "string"
  4231. },
  4232. "updatetime": {
  4233. "description": "更新时间",
  4234. "type": "string"
  4235. },
  4236. "usedquota": {
  4237. "description": "已占用资金",
  4238. "type": "number"
  4239. },
  4240. "userid": {
  4241. "description": "所属机构",
  4242. "type": "integer"
  4243. }
  4244. }
  4245. },
  4246. "erms2.QueryInnerTradeDetailRsp": {
  4247. "type": "object",
  4248. "required": [
  4249. "asapplyid",
  4250. "buyorsell",
  4251. "goodscode",
  4252. "goodsgroupid",
  4253. "goodsgroupname",
  4254. "goodsname",
  4255. "tradeid"
  4256. ],
  4257. "properties": {
  4258. "accountid": {
  4259. "description": "账号ID",
  4260. "type": "integer"
  4261. },
  4262. "agreeunit": {
  4263. "description": "合约单位",
  4264. "type": "number"
  4265. },
  4266. "asapplyid": {
  4267. "description": "策略申请ID",
  4268. "type": "integer"
  4269. },
  4270. "asname": {
  4271. "description": "策略名称",
  4272. "type": "string"
  4273. },
  4274. "asno": {
  4275. "description": "策略编号",
  4276. "type": "string"
  4277. },
  4278. "buyorsell": {
  4279. "description": "方向 - 0:买 1:卖",
  4280. "type": "integer"
  4281. },
  4282. "channelbuildtype": {
  4283. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4284. "type": "integer"
  4285. },
  4286. "closetype": {
  4287. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4288. "type": "integer"
  4289. },
  4290. "decimalplace": {
  4291. "description": "报价小数位",
  4292. "type": "integer"
  4293. },
  4294. "detailtype": {
  4295. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4296. "type": "integer"
  4297. },
  4298. "exexchangecode": {
  4299. "description": "外部交易所代码",
  4300. "type": "string"
  4301. },
  4302. "exexchangename": {
  4303. "description": "外部交易所名称",
  4304. "type": "string"
  4305. },
  4306. "goodscode": {
  4307. "description": "商品代码(合约)",
  4308. "type": "string"
  4309. },
  4310. "goodsgroupid": {
  4311. "description": "商品组ID(品种ID)",
  4312. "type": "integer"
  4313. },
  4314. "goodsgroupname": {
  4315. "description": "商品组名称(品种)",
  4316. "type": "string"
  4317. },
  4318. "goodsid": {
  4319. "description": "商品ID",
  4320. "type": "integer"
  4321. },
  4322. "goodsname": {
  4323. "description": "商品名称(合约)",
  4324. "type": "string"
  4325. },
  4326. "goodunit": {
  4327. "description": "报价单位",
  4328. "type": "string"
  4329. },
  4330. "marketid": {
  4331. "description": "市场ID",
  4332. "type": "integer"
  4333. },
  4334. "orderid": {
  4335. "description": "委托单号",
  4336. "type": "string"
  4337. },
  4338. "outgoodscode": {
  4339. "description": "商品代码(外部)",
  4340. "type": "string"
  4341. },
  4342. "relatedouttradeid": {
  4343. "description": "关联外部成交单ID",
  4344. "type": "string"
  4345. },
  4346. "remark": {
  4347. "description": "备注",
  4348. "type": "string"
  4349. },
  4350. "spotcontractid": {
  4351. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4352. "type": "integer"
  4353. },
  4354. "spotcontractno": {
  4355. "description": "现货合同编号",
  4356. "type": "string"
  4357. },
  4358. "tradeid": {
  4359. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4360. "type": "string"
  4361. },
  4362. "tradeprice": {
  4363. "description": "成交价格",
  4364. "type": "number"
  4365. },
  4366. "tradeqty": {
  4367. "description": "成交数量",
  4368. "type": "integer"
  4369. },
  4370. "tradetime": {
  4371. "description": "成交时间",
  4372. "type": "string"
  4373. },
  4374. "updatetime": {
  4375. "description": "更新时间",
  4376. "type": "string"
  4377. }
  4378. }
  4379. },
  4380. "erms2.QuerySpotContractRsp": {
  4381. "type": "object",
  4382. "required": [
  4383. "spotcontractid"
  4384. ],
  4385. "properties": {
  4386. "accountid": {
  4387. "description": "资金账户ID",
  4388. "type": "integer"
  4389. },
  4390. "areauserid": {
  4391. "description": "所属机构",
  4392. "type": "integer"
  4393. },
  4394. "closedate": {
  4395. "description": "终止日期",
  4396. "type": "string"
  4397. },
  4398. "closeremark": {
  4399. "description": "结束备注",
  4400. "type": "string"
  4401. },
  4402. "closetradedate": {
  4403. "description": "完结交易日(yyyyMMdd)",
  4404. "type": "string"
  4405. },
  4406. "closetype": {
  4407. "description": "终止类型 - 1:违约 2:提前终止",
  4408. "type": "integer"
  4409. },
  4410. "contractamount": {
  4411. "description": "合同金额",
  4412. "type": "number"
  4413. },
  4414. "contractattachment": {
  4415. "description": "合同附件",
  4416. "type": "string"
  4417. },
  4418. "contractno": {
  4419. "description": "现货合同编号",
  4420. "type": "string"
  4421. },
  4422. "contractqty": {
  4423. "description": "合同数量(数值) (用于计算)",
  4424. "type": "number"
  4425. },
  4426. "contractqtychar": {
  4427. "description": "合同数量\\已订价数量 (用于显示)",
  4428. "type": "string"
  4429. },
  4430. "contractstatus": {
  4431. "description": "合同状态 - 0:未结束 1:已结束",
  4432. "type": "integer"
  4433. },
  4434. "contracttype": {
  4435. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4436. "type": "integer"
  4437. },
  4438. "customeraccountid": {
  4439. "description": "客户资金账户ID",
  4440. "type": "integer"
  4441. },
  4442. "customeruserid": {
  4443. "description": "客户ID",
  4444. "type": "integer"
  4445. },
  4446. "deliverygoodsdesc": {
  4447. "description": "品种说明",
  4448. "type": "string"
  4449. },
  4450. "deliverygoodsid": {
  4451. "description": "现货品种ID",
  4452. "type": "integer"
  4453. },
  4454. "handlestatus": {
  4455. "description": "处理状态",
  4456. "type": "integer"
  4457. },
  4458. "invoiceatt": {
  4459. "description": "发票附件",
  4460. "type": "string"
  4461. },
  4462. "invoicedatetime": {
  4463. "description": "开收票更新时间",
  4464. "type": "string"
  4465. },
  4466. "invoiceopentime": {
  4467. "description": "开票时间",
  4468. "type": "string"
  4469. },
  4470. "invoiceremark": {
  4471. "description": "发票备注",
  4472. "type": "string"
  4473. },
  4474. "invoicestatus": {
  4475. "description": "开收票状态 - 0:未开票 1:已开票",
  4476. "type": "integer"
  4477. },
  4478. "lastdate": {
  4479. "description": "交货时间",
  4480. "type": "string"
  4481. },
  4482. "marketid": {
  4483. "description": "市场ID",
  4484. "type": "integer"
  4485. },
  4486. "paydatetime": {
  4487. "description": "收付款更新时间",
  4488. "type": "string"
  4489. },
  4490. "payremark": {
  4491. "description": "收付款备注",
  4492. "type": "string"
  4493. },
  4494. "paystatus": {
  4495. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4496. "type": "integer"
  4497. },
  4498. "positionqty": {
  4499. "description": "头寸数量 - 合同数量去小数部分",
  4500. "type": "integer"
  4501. },
  4502. "producttype": {
  4503. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4504. "type": "integer"
  4505. },
  4506. "relatedqty": {
  4507. "description": "已关联数量",
  4508. "type": "number"
  4509. },
  4510. "relatedstatus": {
  4511. "description": "关联完结状态 - 0:未结束 1:已结束",
  4512. "type": "integer"
  4513. },
  4514. "remark": {
  4515. "description": "备注",
  4516. "type": "string"
  4517. },
  4518. "signdate": {
  4519. "description": "签订日期",
  4520. "type": "string"
  4521. },
  4522. "spotcontractid": {
  4523. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4524. "type": "string"
  4525. },
  4526. "spotdatetime": {
  4527. "description": "收发货更新时间",
  4528. "type": "string"
  4529. },
  4530. "spotprice": {
  4531. "description": "价格",
  4532. "type": "number"
  4533. },
  4534. "spotremark": {
  4535. "description": "收发货备注",
  4536. "type": "string"
  4537. },
  4538. "spotstatus": {
  4539. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4540. "type": "integer"
  4541. },
  4542. "tradedate": {
  4543. "description": "交易日(yyyyMMdd)",
  4544. "type": "string"
  4545. },
  4546. "userid": {
  4547. "description": "业务员用户ID",
  4548. "type": "integer"
  4549. },
  4550. "warehouseid": {
  4551. "description": "仓库ID",
  4552. "type": "integer"
  4553. },
  4554. "wrfactortypeid": {
  4555. "description": "仓单要素类型ID",
  4556. "type": "integer"
  4557. },
  4558. "wrstandardid": {
  4559. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4560. "type": "integer"
  4561. }
  4562. }
  4563. },
  4564. "erms3.AddSpotContractApplyReq": {
  4565. "type": "object",
  4566. "required": [
  4567. "accountid",
  4568. "areauserid",
  4569. "contractno",
  4570. "contracttype",
  4571. "customeraccountid",
  4572. "customeruserid",
  4573. "details",
  4574. "orimargin",
  4575. "orimarginpayer",
  4576. "signdate"
  4577. ],
  4578. "properties": {
  4579. "accountid": {
  4580. "description": "资金账户ID",
  4581. "type": "integer"
  4582. },
  4583. "areauserid": {
  4584. "description": "所属机构",
  4585. "type": "integer"
  4586. },
  4587. "contractattachment": {
  4588. "description": "合同附件",
  4589. "type": "string"
  4590. },
  4591. "contractno": {
  4592. "description": "现货合同编号",
  4593. "type": "string"
  4594. },
  4595. "contracttype": {
  4596. "description": "现货合同类型 - 1:采购 -1:销售",
  4597. "type": "integer"
  4598. },
  4599. "creatorid": {
  4600. "description": "申请人",
  4601. "type": "integer"
  4602. },
  4603. "customeraccountid": {
  4604. "description": "客户资金账户ID",
  4605. "type": "integer"
  4606. },
  4607. "customeruserid": {
  4608. "description": "客户ID",
  4609. "type": "integer"
  4610. },
  4611. "details": {
  4612. "description": "明细",
  4613. "type": "array",
  4614. "items": {
  4615. "$ref": "#/definitions/erms3.SoptContractDetail"
  4616. }
  4617. },
  4618. "lastdate": {
  4619. "description": "交货时间",
  4620. "type": "string"
  4621. },
  4622. "orimargin": {
  4623. "description": "初始保证金",
  4624. "type": "number"
  4625. },
  4626. "orimarginpayer": {
  4627. "description": "初始保证金支付方 -1:买方 2:卖方",
  4628. "type": "integer"
  4629. },
  4630. "remark": {
  4631. "description": "备注",
  4632. "type": "string"
  4633. },
  4634. "signdate": {
  4635. "description": "签订日期",
  4636. "type": "string"
  4637. }
  4638. }
  4639. },
  4640. "erms3.AddSpotContractApplyRsp": {
  4641. "type": "object",
  4642. "required": [
  4643. "contractno"
  4644. ],
  4645. "properties": {
  4646. "contractno": {
  4647. "description": "现货合同编号",
  4648. "type": "string"
  4649. },
  4650. "spotcontractid": {
  4651. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4652. "type": "integer"
  4653. }
  4654. }
  4655. },
  4656. "erms3.CustomerInfo": {
  4657. "type": "object",
  4658. "required": [
  4659. "userid"
  4660. ],
  4661. "properties": {
  4662. "accountids": {
  4663. "description": "资金账户ID列表",
  4664. "type": "array",
  4665. "items": {
  4666. "type": "integer"
  4667. }
  4668. },
  4669. "customername": {
  4670. "description": "名称(企业名称)",
  4671. "type": "string"
  4672. },
  4673. "mobile": {
  4674. "description": "手机号码",
  4675. "type": "string"
  4676. },
  4677. "userid": {
  4678. "description": "用户ID",
  4679. "type": "integer"
  4680. }
  4681. }
  4682. },
  4683. "erms3.QryAuditContractRsp": {
  4684. "type": "object",
  4685. "required": [
  4686. "matchcustomername",
  4687. "spotcontractid"
  4688. ],
  4689. "properties": {
  4690. "accountid": {
  4691. "description": "交易员ID",
  4692. "type": "string"
  4693. },
  4694. "applystatus": {
  4695. "description": "状态",
  4696. "type": "integer"
  4697. },
  4698. "curdeliveryqty": {
  4699. "description": "未交收量",
  4700. "type": "integer"
  4701. },
  4702. "customername": {
  4703. "description": "采购方ID",
  4704. "type": "string"
  4705. },
  4706. "deliverygoodscode": {
  4707. "description": "品种代码",
  4708. "type": "string"
  4709. },
  4710. "deliverygoodsname": {
  4711. "description": "品种名称",
  4712. "type": "string"
  4713. },
  4714. "deliveryqty": {
  4715. "description": "交收量",
  4716. "type": "integer"
  4717. },
  4718. "enumdicname": {
  4719. "description": "单位名称",
  4720. "type": "string"
  4721. },
  4722. "matchaccountid": {
  4723. "description": "业务员ID",
  4724. "type": "string"
  4725. },
  4726. "matchcustomername": {
  4727. "description": "销售方ID",
  4728. "type": "string"
  4729. },
  4730. "pricedqty": {
  4731. "description": "定价量",
  4732. "type": "number"
  4733. },
  4734. "signdate": {
  4735. "description": "签订日期",
  4736. "type": "string"
  4737. },
  4738. "spotcontractid": {
  4739. "description": "合同ID",
  4740. "type": "string"
  4741. },
  4742. "totaldqty": {
  4743. "description": "合同量",
  4744. "type": "number"
  4745. },
  4746. "unpricedqty": {
  4747. "description": "未定价量",
  4748. "type": "number"
  4749. },
  4750. "wrstandardcode": {
  4751. "description": "商品代码",
  4752. "type": "string"
  4753. },
  4754. "wrstandardname": {
  4755. "description": "商品名称",
  4756. "type": "string"
  4757. }
  4758. }
  4759. },
  4760. "erms3.QuerySpotContractAppleFormRsp": {
  4761. "type": "object",
  4762. "properties": {
  4763. "goodses": {
  4764. "description": "合约列表",
  4765. "type": "array",
  4766. "items": {
  4767. "$ref": "#/definitions/models.GoodsIDAndName"
  4768. }
  4769. },
  4770. "oppositeusers": {
  4771. "description": "对方账号列表",
  4772. "type": "array",
  4773. "items": {
  4774. "$ref": "#/definitions/erms3.CustomerInfo"
  4775. }
  4776. },
  4777. "ouruser": {
  4778. "description": "我方账号",
  4779. "type": "object",
  4780. "$ref": "#/definitions/erms3.CustomerInfo"
  4781. },
  4782. "warehouseinfos": {
  4783. "description": "仓库信息列表",
  4784. "type": "array",
  4785. "items": {
  4786. "$ref": "#/definitions/models.Warehouseinfo"
  4787. }
  4788. },
  4789. "wrstandards": {
  4790. "description": "仓单标准列表",
  4791. "type": "array",
  4792. "items": {
  4793. "$ref": "#/definitions/models.WRStandardInfo"
  4794. }
  4795. }
  4796. }
  4797. },
  4798. "erms3.QuerySpotContractInfoRsp": {
  4799. "type": "object",
  4800. "properties": {
  4801. "accountid": {
  4802. "description": "表示交易员ID.",
  4803. "type": "integer"
  4804. },
  4805. "curdeliveryqty": {
  4806. "description": "表示未交收量.",
  4807. "type": "number"
  4808. },
  4809. "customername": {
  4810. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  4811. "type": "string"
  4812. },
  4813. "deliverygoodsid": {
  4814. "description": "表示品种ID.",
  4815. "type": "string"
  4816. },
  4817. "deliveryqty": {
  4818. "description": "表示交收量.",
  4819. "type": "number"
  4820. },
  4821. "matchaccountid": {
  4822. "description": "表示业务员ID.",
  4823. "type": "integer"
  4824. },
  4825. "matchcustomername": {
  4826. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  4827. "type": "string"
  4828. },
  4829. "priceqty": {
  4830. "description": "表示定价量.",
  4831. "type": "number"
  4832. },
  4833. "relatedbizid": {
  4834. "description": "表示业务ID.",
  4835. "type": "string"
  4836. },
  4837. "signdate": {
  4838. "description": "表示签订日期.",
  4839. "type": "string"
  4840. },
  4841. "spotcontractid": {
  4842. "description": "合同ID",
  4843. "type": "string"
  4844. },
  4845. "status": {
  4846. "description": "表示状态,0-履约中 1-已完成.",
  4847. "type": "integer"
  4848. },
  4849. "totalqty": {
  4850. "description": "表示合同量.",
  4851. "type": "number"
  4852. },
  4853. "unpricedqty": {
  4854. "description": "表示未定价量.",
  4855. "type": "number"
  4856. },
  4857. "wrstandardname": {
  4858. "description": "表示商品ID.",
  4859. "type": "string"
  4860. }
  4861. }
  4862. },
  4863. "erms3.SoptContractDetail": {
  4864. "type": "object",
  4865. "required": [
  4866. "deliverygoodsid",
  4867. "producttype",
  4868. "unitname",
  4869. "warehouseid",
  4870. "wrstandardid",
  4871. "wrstandardname"
  4872. ],
  4873. "properties": {
  4874. "deliverygoodsdesc": {
  4875. "description": "现货品种说明",
  4876. "type": "string"
  4877. },
  4878. "deliverygoodsid": {
  4879. "description": "现货品种ID",
  4880. "type": "integer"
  4881. },
  4882. "deliverygoodsname": {
  4883. "description": "现货品种名称",
  4884. "type": "string"
  4885. },
  4886. "pointdesc": {
  4887. "description": "点价描述",
  4888. "type": "string"
  4889. },
  4890. "producttype": {
  4891. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  4892. "type": "integer"
  4893. },
  4894. "producttypename": {
  4895. "description": "产品类型名称",
  4896. "type": "string"
  4897. },
  4898. "spotPointOrderVoList": {
  4899. "description": "点价列表",
  4900. "type": "array",
  4901. "items": {
  4902. "$ref": "#/definitions/erms3.SpotPointOrder"
  4903. }
  4904. },
  4905. "spotPriceOrderList": {
  4906. "description": "定价列表",
  4907. "type": "array",
  4908. "items": {
  4909. "$ref": "#/definitions/erms3.SpotPriceOrder"
  4910. }
  4911. },
  4912. "unitname": {
  4913. "description": "单位名称",
  4914. "type": "string"
  4915. },
  4916. "warehouseid": {
  4917. "description": "仓库ID",
  4918. "type": "integer"
  4919. },
  4920. "warehousename": {
  4921. "description": "仓库名称",
  4922. "type": "string"
  4923. },
  4924. "wrstandardid": {
  4925. "description": "交易标的ID",
  4926. "type": "integer"
  4927. },
  4928. "wrstandardname": {
  4929. "description": "交易标的名称",
  4930. "type": "string"
  4931. }
  4932. }
  4933. },
  4934. "erms3.SpotPointOrder": {
  4935. "type": "object",
  4936. "required": [
  4937. "basic",
  4938. "goodsid",
  4939. "qty"
  4940. ],
  4941. "properties": {
  4942. "basic": {
  4943. "description": "基差",
  4944. "type": "number"
  4945. },
  4946. "deliveryendtdate": {
  4947. "description": "交收结束日期",
  4948. "type": "string"
  4949. },
  4950. "deliverystartdate": {
  4951. "description": "交收开始日期",
  4952. "type": "string"
  4953. },
  4954. "enddate": {
  4955. "description": "点价结束日期",
  4956. "type": "string"
  4957. },
  4958. "goodsid": {
  4959. "description": "商品ID",
  4960. "type": "integer"
  4961. },
  4962. "goodsname": {
  4963. "description": "商品名称",
  4964. "type": "string"
  4965. },
  4966. "qty": {
  4967. "description": "数量",
  4968. "type": "number"
  4969. },
  4970. "startdate": {
  4971. "description": "点价开始日期",
  4972. "type": "string"
  4973. }
  4974. }
  4975. },
  4976. "erms3.SpotPriceOrder": {
  4977. "type": "object",
  4978. "required": [
  4979. "amount",
  4980. "price",
  4981. "qty"
  4982. ],
  4983. "properties": {
  4984. "amount": {
  4985. "description": "金额",
  4986. "type": "number"
  4987. },
  4988. "deliveryendtdate": {
  4989. "description": "交收结束日期",
  4990. "type": "string"
  4991. },
  4992. "deliverystartdate": {
  4993. "description": "交收开始日期",
  4994. "type": "string"
  4995. },
  4996. "price": {
  4997. "description": "价格",
  4998. "type": "number"
  4999. },
  5000. "qty": {
  5001. "description": "数量",
  5002. "type": "number"
  5003. }
  5004. }
  5005. },
  5006. "hsby.GetHsbyMyCountRsp": {
  5007. "type": "object",
  5008. "properties": {
  5009. "myOrderDetailListingCount": {
  5010. "description": "我的订单求购中数量",
  5011. "type": "integer"
  5012. },
  5013. "myOrderDetailPreCount": {
  5014. "description": "我的订单抢购中数量",
  5015. "type": "integer"
  5016. },
  5017. "myPackageUnReceiveCount": {
  5018. "description": "我的包裹待收货数量",
  5019. "type": "integer"
  5020. },
  5021. "myPackageUnSendCount": {
  5022. "description": "我的包裹待发货数量",
  5023. "type": "integer"
  5024. }
  5025. }
  5026. },
  5027. "hsby.QueryProvincesAndCitiesRsp": {
  5028. "type": "object",
  5029. "properties": {
  5030. "cities": {
  5031. "description": "市",
  5032. "type": "array",
  5033. "items": {
  5034. "$ref": "#/definitions/models.Division"
  5035. }
  5036. },
  5037. "province": {
  5038. "description": "省",
  5039. "type": "object",
  5040. "$ref": "#/definitions/models.Division"
  5041. }
  5042. }
  5043. },
  5044. "models.Division": {
  5045. "type": "object",
  5046. "required": [
  5047. "autoid",
  5048. "divisioncode"
  5049. ],
  5050. "properties": {
  5051. "autoid": {
  5052. "description": "自增ID",
  5053. "type": "integer"
  5054. },
  5055. "divisioncode": {
  5056. "description": "行政代码",
  5057. "type": "string"
  5058. },
  5059. "divisionlevel": {
  5060. "description": "行政级别",
  5061. "type": "string"
  5062. },
  5063. "divisionname": {
  5064. "description": "行政名称",
  5065. "type": "string"
  5066. },
  5067. "modifierid": {
  5068. "description": "修改人",
  5069. "type": "integer"
  5070. },
  5071. "modifytime": {
  5072. "description": "修改时间",
  5073. "type": "string"
  5074. },
  5075. "parentcode": {
  5076. "description": "上级行政代码",
  5077. "type": "string"
  5078. },
  5079. "pathname": {
  5080. "description": "路径名称",
  5081. "type": "string"
  5082. },
  5083. "postcode": {
  5084. "description": "邮政编码",
  5085. "type": "string"
  5086. },
  5087. "separablename": {
  5088. "description": "可拆分的全称",
  5089. "type": "string"
  5090. },
  5091. "shortcode": {
  5092. "description": "地区简码",
  5093. "type": "string"
  5094. }
  5095. }
  5096. },
  5097. "models.GoodsIDAndName": {
  5098. "type": "object",
  5099. "required": [
  5100. "goodscode",
  5101. "goodsid",
  5102. "goodsname",
  5103. "marketid"
  5104. ],
  5105. "properties": {
  5106. "goodscode": {
  5107. "description": "商品代码(内部)",
  5108. "type": "string"
  5109. },
  5110. "goodsid": {
  5111. "description": "商品ID(自增ID SEQ_GOODS)",
  5112. "type": "integer"
  5113. },
  5114. "goodsname": {
  5115. "description": "商品名称",
  5116. "type": "string"
  5117. },
  5118. "marketid": {
  5119. "description": "所属市场ID",
  5120. "type": "integer"
  5121. }
  5122. }
  5123. },
  5124. "models.HsbyBuyMyTradeDetail": {
  5125. "type": "object",
  5126. "required": [
  5127. "accountid",
  5128. "buyorsell",
  5129. "goodscode",
  5130. "goodsid",
  5131. "goodsname",
  5132. "marketid",
  5133. "orderid",
  5134. "qty",
  5135. "time",
  5136. "trademode"
  5137. ],
  5138. "properties": {
  5139. "accountid": {
  5140. "description": "账户ID[报价币种]",
  5141. "type": "integer"
  5142. },
  5143. "agreeunit": {
  5144. "description": "合约单位",
  5145. "type": "number"
  5146. },
  5147. "amount": {
  5148. "description": "金额 = 价格 * 数量 * 合约单位",
  5149. "type": "number"
  5150. },
  5151. "buyorsell": {
  5152. "description": "买卖 - 0:买 1:卖",
  5153. "type": "integer"
  5154. },
  5155. "currencysign": {
  5156. "description": "货币符号",
  5157. "type": "string"
  5158. },
  5159. "decimalplace": {
  5160. "description": "报价小数位",
  5161. "type": "integer"
  5162. },
  5163. "goodscode": {
  5164. "description": "商品代码(内部)",
  5165. "type": "string"
  5166. },
  5167. "goodsid": {
  5168. "description": "商品ID",
  5169. "type": "integer"
  5170. },
  5171. "goodsname": {
  5172. "description": "商品名称",
  5173. "type": "string"
  5174. },
  5175. "marketid": {
  5176. "description": "市场ID",
  5177. "type": "integer"
  5178. },
  5179. "orderid": {
  5180. "description": "单号(成交单号)",
  5181. "type": "string"
  5182. },
  5183. "picurls1": {
  5184. "description": "预售商品介绍图片[多张用逗号分隔]",
  5185. "type": "string"
  5186. },
  5187. "picurls2": {
  5188. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5189. "type": "string"
  5190. },
  5191. "price": {
  5192. "description": "价格",
  5193. "type": "number"
  5194. },
  5195. "qty": {
  5196. "description": "数量",
  5197. "type": "integer"
  5198. },
  5199. "time": {
  5200. "description": "时间",
  5201. "type": "string"
  5202. },
  5203. "trademode": {
  5204. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5205. "type": "integer"
  5206. },
  5207. "vendorname1": {
  5208. "description": "预售商品供应商名称",
  5209. "type": "string"
  5210. },
  5211. "vendorname2": {
  5212. "description": "挂牌商品供应商名称",
  5213. "type": "string"
  5214. }
  5215. }
  5216. },
  5217. "models.HsbyGoodsOrderDetail": {
  5218. "type": "object",
  5219. "required": [
  5220. "buyorsell",
  5221. "orderid",
  5222. "ordertime"
  5223. ],
  5224. "properties": {
  5225. "buyorsell": {
  5226. "description": "买卖 - 0:买 1:卖",
  5227. "type": "integer"
  5228. },
  5229. "currencysign": {
  5230. "description": "货币符号",
  5231. "type": "string"
  5232. },
  5233. "customername": {
  5234. "description": "客户名称(企业名称),已脱敏",
  5235. "type": "string"
  5236. },
  5237. "enableqty": {
  5238. "description": "可用数量",
  5239. "type": "integer"
  5240. },
  5241. "goodunit": {
  5242. "description": "报价单位",
  5243. "type": "string"
  5244. },
  5245. "orderid": {
  5246. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5247. "type": "string"
  5248. },
  5249. "orderprice": {
  5250. "description": "委托价格",
  5251. "type": "number"
  5252. },
  5253. "ordertime": {
  5254. "description": "委托时间",
  5255. "type": "string"
  5256. }
  5257. }
  5258. },
  5259. "models.HsbyListingGoodsDetail": {
  5260. "type": "object",
  5261. "required": [
  5262. "goodscode",
  5263. "goodsid",
  5264. "goodsname",
  5265. "marketid",
  5266. "trademode"
  5267. ],
  5268. "properties": {
  5269. "agreeunit": {
  5270. "description": "合约单位",
  5271. "type": "number"
  5272. },
  5273. "currency": {
  5274. "description": "货币",
  5275. "type": "string"
  5276. },
  5277. "currencysign": {
  5278. "description": "货币符号",
  5279. "type": "string"
  5280. },
  5281. "decimalplace": {
  5282. "description": "报价小数位",
  5283. "type": "integer"
  5284. },
  5285. "desccityid": {
  5286. "description": "目的地(市)ID",
  5287. "type": "integer"
  5288. },
  5289. "descprovinceid": {
  5290. "description": "目的地(省)ID",
  5291. "type": "integer"
  5292. },
  5293. "goodscode": {
  5294. "description": "商品代码(内部)",
  5295. "type": "string"
  5296. },
  5297. "goodsdesc": {
  5298. "description": "商品详情",
  5299. "type": "string"
  5300. },
  5301. "goodsid": {
  5302. "description": "商品ID(自增ID SEQ_GOODS)",
  5303. "type": "integer"
  5304. },
  5305. "goodsname": {
  5306. "description": "商品名称",
  5307. "type": "string"
  5308. },
  5309. "hotindex": {
  5310. "description": "景点热度",
  5311. "type": "integer"
  5312. },
  5313. "last": {
  5314. "description": "现价",
  5315. "type": "number"
  5316. },
  5317. "limitdown": {
  5318. "description": "跌停价",
  5319. "type": "number"
  5320. },
  5321. "limitup": {
  5322. "description": "涨停价",
  5323. "type": "number"
  5324. },
  5325. "lotsize": {
  5326. "description": "手数最小变动单位",
  5327. "type": "integer"
  5328. },
  5329. "marketid": {
  5330. "description": "所属市场ID",
  5331. "type": "integer"
  5332. },
  5333. "picurls": {
  5334. "description": "介绍图片[多张用逗号分隔]",
  5335. "type": "string"
  5336. },
  5337. "quoteminunit": {
  5338. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5339. "type": "integer"
  5340. },
  5341. "stepvalue": {
  5342. "description": "价格最小变动单位",
  5343. "type": "number"
  5344. },
  5345. "trademode": {
  5346. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5347. "type": "integer"
  5348. },
  5349. "vendorattr": {
  5350. "description": "供应商附件(多张,逗号分隔)",
  5351. "type": "string"
  5352. },
  5353. "vendorname": {
  5354. "description": "供应商名称",
  5355. "type": "string"
  5356. },
  5357. "vendorphone": {
  5358. "description": "供应商客服电话",
  5359. "type": "string"
  5360. },
  5361. "videourls": {
  5362. "description": "介绍视频[多张用逗号分隔]",
  5363. "type": "string"
  5364. }
  5365. }
  5366. },
  5367. "models.HsbyMyGoods": {
  5368. "type": "object",
  5369. "required": [
  5370. "accountid",
  5371. "goodscode",
  5372. "goodsid",
  5373. "goodsname"
  5374. ],
  5375. "properties": {
  5376. "accountid": {
  5377. "description": "账号Id",
  5378. "type": "integer"
  5379. },
  5380. "agreeunit": {
  5381. "description": "合约单位",
  5382. "type": "number"
  5383. },
  5384. "buyaverageprice": {
  5385. "description": "持仓均价",
  5386. "type": "number"
  5387. },
  5388. "buycurholderamount": {
  5389. "description": "买当前持仓总金额[商品币种]",
  5390. "type": "number"
  5391. },
  5392. "buycurpositionqty": {
  5393. "description": "买当前持仓总数量",
  5394. "type": "integer"
  5395. },
  5396. "currencysign": {
  5397. "description": "货币符号",
  5398. "type": "string"
  5399. },
  5400. "decimalplace": {
  5401. "description": "报价小数位",
  5402. "type": "integer"
  5403. },
  5404. "enableqty": {
  5405. "description": "可用数量",
  5406. "type": "integer"
  5407. },
  5408. "goodscode": {
  5409. "description": "商品代码(内部)",
  5410. "type": "string"
  5411. },
  5412. "goodsid": {
  5413. "description": "商品Id",
  5414. "type": "integer"
  5415. },
  5416. "goodsname": {
  5417. "description": "商品名称",
  5418. "type": "string"
  5419. },
  5420. "goodsstatus": {
  5421. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  5422. "type": "integer"
  5423. },
  5424. "picurls": {
  5425. "description": "介绍图片[多张用逗号分隔]",
  5426. "type": "string"
  5427. }
  5428. }
  5429. },
  5430. "models.HsbyMyPackage": {
  5431. "type": "object",
  5432. "required": [
  5433. "goodscode",
  5434. "goodsname",
  5435. "takeorderid"
  5436. ],
  5437. "properties": {
  5438. "accountid": {
  5439. "description": "账户ID",
  5440. "type": "integer"
  5441. },
  5442. "address": {
  5443. "description": "提货人详细地址",
  5444. "type": "string"
  5445. },
  5446. "agreeunit": {
  5447. "description": "合约单位",
  5448. "type": "number"
  5449. },
  5450. "amount": {
  5451. "description": "提货金额",
  5452. "type": "number"
  5453. },
  5454. "auditer": {
  5455. "description": "审核人",
  5456. "type": "integer"
  5457. },
  5458. "audittime": {
  5459. "description": "审核时间",
  5460. "type": "string"
  5461. },
  5462. "averageprice": {
  5463. "description": "均价",
  5464. "type": "number"
  5465. },
  5466. "cardnum": {
  5467. "description": "提货人证件号码",
  5468. "type": "string"
  5469. },
  5470. "cardtypeid": {
  5471. "description": "提货人证件类型",
  5472. "type": "integer"
  5473. },
  5474. "checkremark": {
  5475. "description": "审核备注",
  5476. "type": "string"
  5477. },
  5478. "currencysign": {
  5479. "description": "货币符号",
  5480. "type": "string"
  5481. },
  5482. "decimalplace": {
  5483. "description": "报价小数位",
  5484. "type": "integer"
  5485. },
  5486. "goodscode": {
  5487. "description": "商品代码(内部)",
  5488. "type": "string"
  5489. },
  5490. "goodsid": {
  5491. "description": "商品ID",
  5492. "type": "integer"
  5493. },
  5494. "goodsname": {
  5495. "description": "商品名称",
  5496. "type": "string"
  5497. },
  5498. "handlestatus": {
  5499. "description": "处理状态",
  5500. "type": "integer"
  5501. },
  5502. "marketid": {
  5503. "description": "市场ID",
  5504. "type": "integer"
  5505. },
  5506. "phonenum": {
  5507. "description": "提货人联系方式",
  5508. "type": "string"
  5509. },
  5510. "picurls": {
  5511. "description": "介绍图片[多张用逗号分隔]",
  5512. "type": "string"
  5513. },
  5514. "qty": {
  5515. "description": "提货数量",
  5516. "type": "number"
  5517. },
  5518. "recivername": {
  5519. "description": "提货人姓名",
  5520. "type": "string"
  5521. },
  5522. "reqtime": {
  5523. "description": "更新时间",
  5524. "type": "string"
  5525. },
  5526. "takemode": {
  5527. "description": "提货方式 - 2:自提 3:配送",
  5528. "type": "integer"
  5529. },
  5530. "takeorderid": {
  5531. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5532. "type": "string"
  5533. },
  5534. "takeorderstatus": {
  5535. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5536. "type": "integer"
  5537. },
  5538. "takeremark": {
  5539. "description": "提货备注",
  5540. "type": "string"
  5541. },
  5542. "tradedate": {
  5543. "description": "交易日(yyyyMMdd)",
  5544. "type": "string"
  5545. },
  5546. "userid": {
  5547. "description": "用户ID",
  5548. "type": "integer"
  5549. },
  5550. "vendorname": {
  5551. "description": "供应商名称",
  5552. "type": "string"
  5553. }
  5554. }
  5555. },
  5556. "models.HsbyPreGoods": {
  5557. "type": "object",
  5558. "required": [
  5559. "goodscode",
  5560. "goodsid",
  5561. "goodsname",
  5562. "marketid",
  5563. "trademode"
  5564. ],
  5565. "properties": {
  5566. "agreeunit": {
  5567. "description": "合约单位",
  5568. "type": "number"
  5569. },
  5570. "currency": {
  5571. "description": "货币",
  5572. "type": "string"
  5573. },
  5574. "currencysign": {
  5575. "description": "货币符号",
  5576. "type": "string"
  5577. },
  5578. "decimalplace": {
  5579. "description": "报价小数位",
  5580. "type": "integer"
  5581. },
  5582. "enableqty": {
  5583. "description": "剩余数量",
  5584. "type": "integer"
  5585. },
  5586. "goodscode": {
  5587. "description": "商品代码(内部)",
  5588. "type": "string"
  5589. },
  5590. "goodsid": {
  5591. "description": "商品ID(自增ID SEQ_GOODS)",
  5592. "type": "integer"
  5593. },
  5594. "goodsname": {
  5595. "description": "商品名称",
  5596. "type": "string"
  5597. },
  5598. "goodsstatus": {
  5599. "description": "商品状态- 2:未上市 3:上市",
  5600. "type": "integer"
  5601. },
  5602. "lasttradedate": {
  5603. "description": "最后交易日期(状态:待退市)",
  5604. "type": "string"
  5605. },
  5606. "listingdate": {
  5607. "description": "交易开始日期",
  5608. "type": "string"
  5609. },
  5610. "marketid": {
  5611. "description": "所属市场ID",
  5612. "type": "integer"
  5613. },
  5614. "picurls": {
  5615. "description": "介绍图片[多张用逗号分隔]",
  5616. "type": "string"
  5617. },
  5618. "presaledqty": {
  5619. "description": "已预售量(预售结束时更新)",
  5620. "type": "integer"
  5621. },
  5622. "presaleqty": {
  5623. "description": "预售数量",
  5624. "type": "integer"
  5625. },
  5626. "quoteminunit": {
  5627. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5628. "type": "integer"
  5629. },
  5630. "refprice": {
  5631. "description": "参考价格[一口价]",
  5632. "type": "number"
  5633. },
  5634. "relatedgoodsid": {
  5635. "description": "关联交易合约ID",
  5636. "type": "integer"
  5637. },
  5638. "trademode": {
  5639. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5640. "type": "integer"
  5641. },
  5642. "videourls": {
  5643. "description": "介绍视频[多张用逗号分隔]",
  5644. "type": "string"
  5645. }
  5646. }
  5647. },
  5648. "models.HsbyPreGoodsDetail": {
  5649. "type": "object",
  5650. "required": [
  5651. "goodscode",
  5652. "goodsid",
  5653. "goodsname",
  5654. "marketid",
  5655. "trademode"
  5656. ],
  5657. "properties": {
  5658. "agreeunit": {
  5659. "description": "合约单位",
  5660. "type": "number"
  5661. },
  5662. "buymaxqty": {
  5663. "description": "购买上限 [71] - 0为不限",
  5664. "type": "integer"
  5665. },
  5666. "currency": {
  5667. "description": "货币",
  5668. "type": "string"
  5669. },
  5670. "currencysign": {
  5671. "description": "货币符号",
  5672. "type": "string"
  5673. },
  5674. "customername": {
  5675. "description": "发行单位",
  5676. "type": "string"
  5677. },
  5678. "decimalplace": {
  5679. "description": "报价小数位",
  5680. "type": "integer"
  5681. },
  5682. "desccityid": {
  5683. "description": "目的地(市)ID",
  5684. "type": "integer"
  5685. },
  5686. "descprovinceid": {
  5687. "description": "目的地(省)ID",
  5688. "type": "integer"
  5689. },
  5690. "enableqty": {
  5691. "description": "剩余数量",
  5692. "type": "integer"
  5693. },
  5694. "goodscode": {
  5695. "description": "商品代码(内部)",
  5696. "type": "string"
  5697. },
  5698. "goodsdesc": {
  5699. "description": "商品详情",
  5700. "type": "string"
  5701. },
  5702. "goodsid": {
  5703. "description": "商品ID(自增ID SEQ_GOODS)",
  5704. "type": "integer"
  5705. },
  5706. "goodsname": {
  5707. "description": "商品名称",
  5708. "type": "string"
  5709. },
  5710. "goodsstatus": {
  5711. "description": "商品状态- 2:未上市 3:上市",
  5712. "type": "integer"
  5713. },
  5714. "goodunit": {
  5715. "description": "报价单位",
  5716. "type": "string"
  5717. },
  5718. "lasttradedate": {
  5719. "description": "最后交易日期(状态:待退市)",
  5720. "type": "string"
  5721. },
  5722. "listingdate": {
  5723. "description": "交易开始日期",
  5724. "type": "string"
  5725. },
  5726. "lotsize": {
  5727. "description": "手数最小变动单位",
  5728. "type": "integer"
  5729. },
  5730. "marketid": {
  5731. "description": "所属市场ID",
  5732. "type": "integer"
  5733. },
  5734. "picurls": {
  5735. "description": "介绍图片[多张用逗号分隔]",
  5736. "type": "string"
  5737. },
  5738. "presaledqty": {
  5739. "description": "已预售量(预售结束时更新)",
  5740. "type": "integer"
  5741. },
  5742. "presaleqty": {
  5743. "description": "预售数量",
  5744. "type": "integer"
  5745. },
  5746. "quoteminunit": {
  5747. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5748. "type": "integer"
  5749. },
  5750. "refprice": {
  5751. "description": "参考价格[一口价]",
  5752. "type": "number"
  5753. },
  5754. "relatedgoodsid": {
  5755. "description": "关联交易合约ID",
  5756. "type": "integer"
  5757. },
  5758. "stepvalue": {
  5759. "description": "价格最小变动单位",
  5760. "type": "number"
  5761. },
  5762. "trademode": {
  5763. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5764. "type": "integer"
  5765. },
  5766. "vendorattr": {
  5767. "description": "供应商附件(多张,逗号分隔)",
  5768. "type": "string"
  5769. },
  5770. "vendorname": {
  5771. "description": "供应商名称",
  5772. "type": "string"
  5773. },
  5774. "vendorphone": {
  5775. "description": "供应商客服电话",
  5776. "type": "string"
  5777. },
  5778. "videourls": {
  5779. "description": "介绍视频[多张用逗号分隔]",
  5780. "type": "string"
  5781. }
  5782. }
  5783. },
  5784. "models.HsbySellMyDetail": {
  5785. "type": "object",
  5786. "required": [
  5787. "accountid",
  5788. "buyorsell",
  5789. "goodscode",
  5790. "goodsid",
  5791. "goodsname",
  5792. "marketid",
  5793. "orderid",
  5794. "qty",
  5795. "time",
  5796. "trademode"
  5797. ],
  5798. "properties": {
  5799. "accountid": {
  5800. "description": "账户ID[报价币种]",
  5801. "type": "integer"
  5802. },
  5803. "agreeunit": {
  5804. "description": "合约单位",
  5805. "type": "number"
  5806. },
  5807. "amount": {
  5808. "description": "金额 = 价格 * 数量 * 合约单位",
  5809. "type": "number"
  5810. },
  5811. "buyorsell": {
  5812. "description": "买卖 - 0:买 1:卖",
  5813. "type": "integer"
  5814. },
  5815. "currencysign": {
  5816. "description": "货币符号",
  5817. "type": "string"
  5818. },
  5819. "decimalplace": {
  5820. "description": "报价小数位",
  5821. "type": "integer"
  5822. },
  5823. "goodscode": {
  5824. "description": "商品代码(内部)",
  5825. "type": "string"
  5826. },
  5827. "goodsid": {
  5828. "description": "商品ID",
  5829. "type": "integer"
  5830. },
  5831. "goodsname": {
  5832. "description": "商品名称",
  5833. "type": "string"
  5834. },
  5835. "marketid": {
  5836. "description": "市场ID",
  5837. "type": "integer"
  5838. },
  5839. "orderid": {
  5840. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  5841. "type": "string"
  5842. },
  5843. "ordertype": {
  5844. "description": "单据类型:0 - 已发布, 1 - 已完成",
  5845. "type": "integer"
  5846. },
  5847. "picurls": {
  5848. "description": "介绍图片[多张用逗号分隔]",
  5849. "type": "string"
  5850. },
  5851. "price": {
  5852. "description": "价格",
  5853. "type": "number"
  5854. },
  5855. "qty": {
  5856. "description": "数量",
  5857. "type": "integer"
  5858. },
  5859. "time": {
  5860. "description": "时间",
  5861. "type": "string"
  5862. },
  5863. "trademode": {
  5864. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5865. "type": "integer"
  5866. },
  5867. "vendorname": {
  5868. "description": "供应商名称",
  5869. "type": "string"
  5870. }
  5871. }
  5872. },
  5873. "models.HsbyTopGoods": {
  5874. "type": "object",
  5875. "required": [
  5876. "goodscode",
  5877. "goodsid",
  5878. "goodsname",
  5879. "marketid",
  5880. "trademode"
  5881. ],
  5882. "properties": {
  5883. "agreeunit": {
  5884. "description": "合约单位",
  5885. "type": "number"
  5886. },
  5887. "currency": {
  5888. "description": "货币",
  5889. "type": "string"
  5890. },
  5891. "currencysign": {
  5892. "description": "货币符号",
  5893. "type": "string"
  5894. },
  5895. "decimalplace": {
  5896. "description": "报价小数位",
  5897. "type": "integer"
  5898. },
  5899. "goodscode": {
  5900. "description": "商品代码(内部)",
  5901. "type": "string"
  5902. },
  5903. "goodsid": {
  5904. "description": "商品ID(自增ID SEQ_GOODS)",
  5905. "type": "integer"
  5906. },
  5907. "goodsname": {
  5908. "description": "商品名称",
  5909. "type": "string"
  5910. },
  5911. "hotindex": {
  5912. "description": "景点热度",
  5913. "type": "integer"
  5914. },
  5915. "last": {
  5916. "description": "现价",
  5917. "type": "number"
  5918. },
  5919. "marketid": {
  5920. "description": "所属市场ID",
  5921. "type": "integer"
  5922. },
  5923. "picurls": {
  5924. "description": "介绍图片[多张用逗号分隔]",
  5925. "type": "string"
  5926. },
  5927. "quoteminunit": {
  5928. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5929. "type": "integer"
  5930. },
  5931. "trademode": {
  5932. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5933. "type": "integer"
  5934. },
  5935. "videourls": {
  5936. "description": "介绍视频[多张用逗号分隔]",
  5937. "type": "string"
  5938. }
  5939. }
  5940. },
  5941. "models.HybsMyBuyOrderDetail": {
  5942. "type": "object",
  5943. "required": [
  5944. "accountid",
  5945. "buyorsell",
  5946. "goodscode",
  5947. "goodsid",
  5948. "goodsname",
  5949. "marketid",
  5950. "orderid",
  5951. "orderqty",
  5952. "ordertime",
  5953. "trademode"
  5954. ],
  5955. "properties": {
  5956. "accountid": {
  5957. "description": "账户ID[报价币种]",
  5958. "type": "integer"
  5959. },
  5960. "agreeunit": {
  5961. "description": "合约单位",
  5962. "type": "number"
  5963. },
  5964. "buyorsell": {
  5965. "description": "买卖 - 0:买 1:卖",
  5966. "type": "integer"
  5967. },
  5968. "cancelqty": {
  5969. "description": "撤单数量",
  5970. "type": "integer"
  5971. },
  5972. "currencysign": {
  5973. "description": "货币符号",
  5974. "type": "string"
  5975. },
  5976. "decimalplace": {
  5977. "description": "报价小数位",
  5978. "type": "integer"
  5979. },
  5980. "goodscode": {
  5981. "description": "商品代码(内部)",
  5982. "type": "string"
  5983. },
  5984. "goodsid": {
  5985. "description": "商品ID",
  5986. "type": "integer"
  5987. },
  5988. "goodsname": {
  5989. "description": "商品名称",
  5990. "type": "string"
  5991. },
  5992. "listingselecttype": {
  5993. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5994. "type": "integer"
  5995. },
  5996. "marketid": {
  5997. "description": "市场ID",
  5998. "type": "integer"
  5999. },
  6000. "mybuystatus": {
  6001. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  6002. "type": "integer"
  6003. },
  6004. "orderamount": {
  6005. "description": "委托金额",
  6006. "type": "number"
  6007. },
  6008. "orderid": {
  6009. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6010. "type": "string"
  6011. },
  6012. "orderprice": {
  6013. "description": "委托价格",
  6014. "type": "number"
  6015. },
  6016. "orderqty": {
  6017. "description": "委托数量",
  6018. "type": "integer"
  6019. },
  6020. "orderstatus": {
  6021. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6022. "type": "integer"
  6023. },
  6024. "ordertime": {
  6025. "description": "委托时间",
  6026. "type": "string"
  6027. },
  6028. "picurls1": {
  6029. "description": "预售商品介绍图片[多张用逗号分隔]",
  6030. "type": "string"
  6031. },
  6032. "picurls2": {
  6033. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6034. "type": "string"
  6035. },
  6036. "trademode": {
  6037. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6038. "type": "integer"
  6039. },
  6040. "tradeqty": {
  6041. "description": "成交数量",
  6042. "type": "integer"
  6043. },
  6044. "vendorname1": {
  6045. "description": "预售商品供应商名称",
  6046. "type": "string"
  6047. },
  6048. "vendorname2": {
  6049. "description": "挂牌商品供应商名称",
  6050. "type": "string"
  6051. }
  6052. }
  6053. },
  6054. "models.Messageboard": {
  6055. "type": "object",
  6056. "required": [
  6057. "messageboardid"
  6058. ],
  6059. "properties": {
  6060. "createtime": {
  6061. "description": "创建时间",
  6062. "type": "string"
  6063. },
  6064. "message": {
  6065. "description": "留言信息",
  6066. "type": "string"
  6067. },
  6068. "messageboardid": {
  6069. "description": "留言簿ID(SEQ_MessageBoard)",
  6070. "type": "integer"
  6071. },
  6072. "userid": {
  6073. "description": "用户ID",
  6074. "type": "integer"
  6075. }
  6076. }
  6077. },
  6078. "models.OperationPrimaryMenu": {
  6079. "type": "object",
  6080. "properties": {
  6081. "Children": {
  6082. "description": "二级功能菜单",
  6083. "type": "array",
  6084. "items": {
  6085. "$ref": "#/definitions/models.OperationSecondaryMenu"
  6086. }
  6087. },
  6088. "Key": {
  6089. "description": "菜单KEY",
  6090. "type": "string"
  6091. },
  6092. "Label": {
  6093. "description": "菜单标题",
  6094. "type": "string"
  6095. }
  6096. }
  6097. },
  6098. "models.OperationSecondaryMenu": {
  6099. "type": "object",
  6100. "properties": {
  6101. "Key": {
  6102. "description": "菜单KEY",
  6103. "type": "string"
  6104. },
  6105. "Label": {
  6106. "description": "菜单标题",
  6107. "type": "string"
  6108. },
  6109. "TabList": {
  6110. "description": "三级功能菜单",
  6111. "type": "array",
  6112. "items": {
  6113. "$ref": "#/definitions/models.OperationTabMenu"
  6114. }
  6115. }
  6116. }
  6117. },
  6118. "models.OperationTabMenu": {
  6119. "type": "object",
  6120. "properties": {
  6121. "Key": {
  6122. "description": "菜单KEY",
  6123. "type": "string"
  6124. },
  6125. "Label": {
  6126. "description": "菜单标题",
  6127. "type": "string"
  6128. }
  6129. }
  6130. },
  6131. "models.QuotePrimaryMenu": {
  6132. "type": "object",
  6133. "properties": {
  6134. "Index": {
  6135. "description": "序号",
  6136. "type": "integer"
  6137. },
  6138. "Key": {
  6139. "description": "键名",
  6140. "type": "string"
  6141. },
  6142. "Name": {
  6143. "description": "菜单名称",
  6144. "type": "string"
  6145. },
  6146. "SubMenus": {
  6147. "description": "子菜单",
  6148. "type": "array",
  6149. "items": {
  6150. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  6151. }
  6152. },
  6153. "SubTitleType": {
  6154. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  6155. "type": "integer"
  6156. },
  6157. "TradeModes": {
  6158. "description": "包含市场交易类型",
  6159. "type": "string"
  6160. }
  6161. }
  6162. },
  6163. "models.QuoteSecondaryMenu": {
  6164. "type": "object",
  6165. "properties": {
  6166. "ExExchangeCode": {
  6167. "description": "外部交易所代码",
  6168. "type": "string"
  6169. },
  6170. "ExExchangeID": {
  6171. "description": "外部交易所ID",
  6172. "type": "integer"
  6173. },
  6174. "GoodsGroupIDs": {
  6175. "description": "商品组ID列表",
  6176. "type": "array",
  6177. "items": {
  6178. "type": "integer"
  6179. }
  6180. },
  6181. "Index": {
  6182. "description": "序号",
  6183. "type": "integer"
  6184. },
  6185. "MarketID": {
  6186. "description": "市场ID",
  6187. "type": "integer"
  6188. },
  6189. "MenuTitle": {
  6190. "description": "菜单标题(市场名称或外部交易所名称)",
  6191. "type": "string"
  6192. },
  6193. "TradeMode": {
  6194. "description": "交易模式",
  6195. "type": "integer"
  6196. }
  6197. }
  6198. },
  6199. "models.SearchGoods": {
  6200. "type": "object",
  6201. "required": [
  6202. "goodscode",
  6203. "goodsid",
  6204. "goodsname",
  6205. "marketid",
  6206. "trademode"
  6207. ],
  6208. "properties": {
  6209. "goodscode": {
  6210. "description": "商品代码(内部)",
  6211. "type": "string"
  6212. },
  6213. "goodsid": {
  6214. "description": "商品ID(自增ID SEQ_GOODS)",
  6215. "type": "integer"
  6216. },
  6217. "goodsname": {
  6218. "description": "商品名称",
  6219. "type": "string"
  6220. },
  6221. "marketid": {
  6222. "description": "所属市场ID",
  6223. "type": "integer"
  6224. },
  6225. "marketname": {
  6226. "description": "市场名称",
  6227. "type": "string"
  6228. },
  6229. "trademode": {
  6230. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6231. "type": "integer"
  6232. }
  6233. }
  6234. },
  6235. "models.Szdz2imageconfig": {
  6236. "type": "object",
  6237. "required": [
  6238. "configid"
  6239. ],
  6240. "properties": {
  6241. "configid": {
  6242. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6243. "type": "integer"
  6244. },
  6245. "imagepath": {
  6246. "description": "图片",
  6247. "type": "string"
  6248. },
  6249. "imagetype": {
  6250. "description": "类型 - 1:App首页轮播 2:我的",
  6251. "type": "integer"
  6252. },
  6253. "sort": {
  6254. "description": "排序",
  6255. "type": "integer"
  6256. },
  6257. "title": {
  6258. "description": "标题",
  6259. "type": "string"
  6260. },
  6261. "url": {
  6262. "description": "链接",
  6263. "type": "string"
  6264. }
  6265. }
  6266. },
  6267. "models.Szdz3convertconfig": {
  6268. "type": "object",
  6269. "required": [
  6270. "converttype",
  6271. "innergoodsid",
  6272. "outergoodscode"
  6273. ],
  6274. "properties": {
  6275. "canin": {
  6276. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  6277. "type": "integer"
  6278. },
  6279. "canout": {
  6280. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  6281. "type": "integer"
  6282. },
  6283. "converttype": {
  6284. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6285. "type": "integer"
  6286. },
  6287. "createtime": {
  6288. "description": "创建时间",
  6289. "type": "string"
  6290. },
  6291. "creatorid": {
  6292. "description": "创建人",
  6293. "type": "integer"
  6294. },
  6295. "daymaxvalue": {
  6296. "description": "当日最大转入限制",
  6297. "type": "number"
  6298. },
  6299. "freezedays": {
  6300. "description": "冻结天数 [5:花生米转交易]",
  6301. "type": "integer"
  6302. },
  6303. "innergoodsid": {
  6304. "description": "内部商品ID[交易]",
  6305. "type": "integer"
  6306. },
  6307. "inratio": {
  6308. "description": "目标值",
  6309. "type": "integer"
  6310. },
  6311. "modifierid": {
  6312. "description": "修改人",
  6313. "type": "integer"
  6314. },
  6315. "modifytime": {
  6316. "description": "修改时间",
  6317. "type": "string"
  6318. },
  6319. "outergoodscode": {
  6320. "description": "外部商品代码[JD\\PD]",
  6321. "type": "string"
  6322. },
  6323. "outratio": {
  6324. "description": "源值",
  6325. "type": "integer"
  6326. },
  6327. "pddecimalplace": {
  6328. "description": "PD小数位",
  6329. "type": "integer"
  6330. },
  6331. "timemaxvalue": {
  6332. "description": "单次最大转入限制",
  6333. "type": "number"
  6334. },
  6335. "timeminvalue": {
  6336. "description": "单次最小转入限制",
  6337. "type": "number"
  6338. }
  6339. }
  6340. },
  6341. "models.Szdz3searchwhitelist": {
  6342. "type": "object",
  6343. "required": [
  6344. "userid"
  6345. ],
  6346. "properties": {
  6347. "createtime": {
  6348. "description": "创建时间",
  6349. "type": "string"
  6350. },
  6351. "creatorid": {
  6352. "description": "创建人",
  6353. "type": "integer"
  6354. },
  6355. "modifierid": {
  6356. "description": "修改人",
  6357. "type": "integer"
  6358. },
  6359. "modifytime": {
  6360. "description": "修改时间",
  6361. "type": "string"
  6362. },
  6363. "userid": {
  6364. "description": "用户ID",
  6365. "type": "integer"
  6366. }
  6367. }
  6368. },
  6369. "models.Tablecolumnconfig": {
  6370. "type": "object",
  6371. "required": [
  6372. "autoid"
  6373. ],
  6374. "properties": {
  6375. "aligntype": {
  6376. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  6377. "type": "integer"
  6378. },
  6379. "autoid": {
  6380. "description": "AutoID",
  6381. "type": "integer"
  6382. },
  6383. "columnfield": {
  6384. "description": "列字段",
  6385. "type": "string"
  6386. },
  6387. "columntitle": {
  6388. "description": "列Title",
  6389. "type": "string"
  6390. },
  6391. "columnwidth": {
  6392. "description": "列宽",
  6393. "type": "string"
  6394. },
  6395. "formatterstring": {
  6396. "description": "格式化字符",
  6397. "type": "string"
  6398. },
  6399. "formattertype": {
  6400. "description": "格式化类型",
  6401. "type": "string"
  6402. },
  6403. "groupname": {
  6404. "description": "表头分组名称",
  6405. "type": "string"
  6406. },
  6407. "isshow": {
  6408. "description": "是否显示 - 0:不显示 1:显示",
  6409. "type": "integer"
  6410. },
  6411. "needsummary": {
  6412. "description": "是否需要汇总 - 0:不需要 1:需要",
  6413. "type": "integer"
  6414. },
  6415. "orderindex": {
  6416. "description": "顺序",
  6417. "type": "integer"
  6418. },
  6419. "remark": {
  6420. "description": "备注",
  6421. "type": "string"
  6422. },
  6423. "summarytype": {
  6424. "description": "汇总类型 - 1:加总 2:最后一个",
  6425. "type": "integer"
  6426. },
  6427. "tablekey": {
  6428. "description": "列表Key",
  6429. "type": "string"
  6430. }
  6431. }
  6432. },
  6433. "models.Useraccount": {
  6434. "type": "object",
  6435. "required": [
  6436. "userid"
  6437. ],
  6438. "properties": {
  6439. "accountname": {
  6440. "description": "账户名称(机构名称)",
  6441. "type": "string"
  6442. },
  6443. "accountstatus": {
  6444. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  6445. "type": "integer"
  6446. },
  6447. "auditremark": {
  6448. "description": "审核备注",
  6449. "type": "string"
  6450. },
  6451. "audittime": {
  6452. "description": "审核时间",
  6453. "type": "string"
  6454. },
  6455. "audituserid": {
  6456. "description": "审核人",
  6457. "type": "integer"
  6458. },
  6459. "broker": {
  6460. "description": "所属经纪人ID",
  6461. "type": "integer"
  6462. },
  6463. "canceltime": {
  6464. "description": "销户时间",
  6465. "type": "string"
  6466. },
  6467. "canceluserid": {
  6468. "description": "销户人",
  6469. "type": "integer"
  6470. },
  6471. "createtime": {
  6472. "description": "创建时间",
  6473. "type": "string"
  6474. },
  6475. "creatorid": {
  6476. "description": "创建人",
  6477. "type": "integer"
  6478. },
  6479. "hasauth": {
  6480. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  6481. "type": "integer"
  6482. },
  6483. "isanonymous": {
  6484. "description": "是否匿名下单 - 0:否 1:是",
  6485. "type": "integer"
  6486. },
  6487. "maxinvestornum": {
  6488. "description": "最大用户数(经纪会员下投资者个数)",
  6489. "type": "integer"
  6490. },
  6491. "memberuserid": {
  6492. "description": "所属会员ID",
  6493. "type": "integer"
  6494. },
  6495. "modifierid": {
  6496. "description": "修改人",
  6497. "type": "integer"
  6498. },
  6499. "modifyremark": {
  6500. "description": "变更备注",
  6501. "type": "string"
  6502. },
  6503. "modifystatus": {
  6504. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  6505. "type": "integer"
  6506. },
  6507. "modifytime": {
  6508. "description": "修改时间",
  6509. "type": "string"
  6510. },
  6511. "parentuserid": {
  6512. "description": "所属机构ID",
  6513. "type": "integer"
  6514. },
  6515. "reckonaccountid": {
  6516. "description": "默认结算资金账号ID(机构分润使用) 作废",
  6517. "type": "integer"
  6518. },
  6519. "refercount": {
  6520. "description": "推荐总人数",
  6521. "type": "integer"
  6522. },
  6523. "refereeuserid": {
  6524. "description": "推荐人ID",
  6525. "type": "integer"
  6526. },
  6527. "refernum": {
  6528. "description": "推荐码",
  6529. "type": "string"
  6530. },
  6531. "subarealevelpath": {
  6532. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  6533. "type": "string"
  6534. },
  6535. "userid": {
  6536. "description": "用户ID",
  6537. "type": "integer"
  6538. },
  6539. "usertype": {
  6540. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6541. "type": "integer"
  6542. }
  6543. }
  6544. },
  6545. "models.Userfavoritegoods": {
  6546. "type": "object",
  6547. "required": [
  6548. "goodsid"
  6549. ],
  6550. "properties": {
  6551. "goodsid": {
  6552. "description": "商品ID",
  6553. "type": "integer"
  6554. }
  6555. }
  6556. },
  6557. "models.Userinfo": {
  6558. "type": "object",
  6559. "required": [
  6560. "userid"
  6561. ],
  6562. "properties": {
  6563. "address": {
  6564. "description": "地址",
  6565. "type": "string"
  6566. },
  6567. "attachment1": {
  6568. "description": "附件1",
  6569. "type": "string"
  6570. },
  6571. "attachment2": {
  6572. "description": "附件2",
  6573. "type": "string"
  6574. },
  6575. "bankaccount": {
  6576. "description": "银行帐号 (加密存储)",
  6577. "type": "string"
  6578. },
  6579. "bankaccountname": {
  6580. "description": "收款人名称",
  6581. "type": "string"
  6582. },
  6583. "bankcardfrontphotourl": {
  6584. "description": "银行卡正面照地址",
  6585. "type": "string"
  6586. },
  6587. "bankid": {
  6588. "description": "银行编码",
  6589. "type": "string"
  6590. },
  6591. "bankname": {
  6592. "description": "银行名称",
  6593. "type": "string"
  6594. },
  6595. "biznature": {
  6596. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6597. "type": "integer"
  6598. },
  6599. "bizscope": {
  6600. "description": "企业经营范围(企业)",
  6601. "type": "string"
  6602. },
  6603. "cardbackphotourl": {
  6604. "description": "证件背面图片地址",
  6605. "type": "string"
  6606. },
  6607. "cardfrontphotourl": {
  6608. "description": "证件正面图片地址",
  6609. "type": "string"
  6610. },
  6611. "cardnum": {
  6612. "description": "证件号码(加密存储)",
  6613. "type": "string"
  6614. },
  6615. "cardtypeid": {
  6616. "description": "证件类型ID",
  6617. "type": "integer"
  6618. },
  6619. "cityid": {
  6620. "description": "市",
  6621. "type": "integer"
  6622. },
  6623. "company": {
  6624. "description": "公司(个人)",
  6625. "type": "string"
  6626. },
  6627. "contactname": {
  6628. "description": "联系人",
  6629. "type": "string"
  6630. },
  6631. "countryid": {
  6632. "description": "国家",
  6633. "type": "integer"
  6634. },
  6635. "createtime": {
  6636. "description": "创建时间",
  6637. "type": "string"
  6638. },
  6639. "creatorid": {
  6640. "description": "创建人",
  6641. "type": "integer"
  6642. },
  6643. "customername": {
  6644. "description": "客户名称(企业名称)",
  6645. "type": "string"
  6646. },
  6647. "districtid": {
  6648. "description": "地区",
  6649. "type": "integer"
  6650. },
  6651. "email": {
  6652. "description": "邮件(加密存储)",
  6653. "type": "string"
  6654. },
  6655. "fax": {
  6656. "description": "传真(加密存储)",
  6657. "type": "string"
  6658. },
  6659. "halfbodyphotourl": {
  6660. "description": "半身照地址",
  6661. "type": "string"
  6662. },
  6663. "hasencrypt": {
  6664. "description": "数据是否已加密 - 0:未加密 1:已加密",
  6665. "type": "integer"
  6666. },
  6667. "headurl": {
  6668. "description": "头像地址",
  6669. "type": "string"
  6670. },
  6671. "legalcardbackphotourl": {
  6672. "description": "法人身份证背面照地址",
  6673. "type": "string"
  6674. },
  6675. "legalcardfrontphotourl": {
  6676. "description": "法人身份证正面照地址",
  6677. "type": "string"
  6678. },
  6679. "legalpersonname": {
  6680. "description": "法人姓名(企业)",
  6681. "type": "string"
  6682. },
  6683. "mobile": {
  6684. "description": "手机号码(加密存储)",
  6685. "type": "string"
  6686. },
  6687. "mobile2": {
  6688. "description": "手机号码[明文-尚志]",
  6689. "type": "string"
  6690. },
  6691. "modifierid": {
  6692. "description": "修改人",
  6693. "type": "integer"
  6694. },
  6695. "modifiertime": {
  6696. "description": "修改时间",
  6697. "type": "string"
  6698. },
  6699. "needinvoice": {
  6700. "description": "是否需要发票 - 0:不需要 1:需要",
  6701. "type": "integer"
  6702. },
  6703. "nickname": {
  6704. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  6705. "type": "string"
  6706. },
  6707. "openmode": {
  6708. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  6709. "type": "integer"
  6710. },
  6711. "otherurl": {
  6712. "description": "其它图片地址[使用分号分隔]",
  6713. "type": "string"
  6714. },
  6715. "postalcode": {
  6716. "description": "邮政编码",
  6717. "type": "string"
  6718. },
  6719. "provinceid": {
  6720. "description": "省",
  6721. "type": "integer"
  6722. },
  6723. "qq": {
  6724. "description": "QQ(加密存储",
  6725. "type": "string"
  6726. },
  6727. "remark": {
  6728. "description": "备注",
  6729. "type": "string"
  6730. },
  6731. "sex": {
  6732. "description": "用户性别 0: 女 1: 男",
  6733. "type": "integer"
  6734. },
  6735. "signpdfurl": {
  6736. "description": "签约pdf文件",
  6737. "type": "string"
  6738. },
  6739. "telphone": {
  6740. "description": "联系电话(加密存储)",
  6741. "type": "string"
  6742. },
  6743. "userid": {
  6744. "description": "用户ID",
  6745. "type": "integer"
  6746. },
  6747. "userinfotype": {
  6748. "description": "用户信息类型 - 1:个人 2:企业",
  6749. "type": "integer"
  6750. },
  6751. "userstatus": {
  6752. "description": "用户状态 - 1:正常 2:注销",
  6753. "type": "integer"
  6754. },
  6755. "usertype": {
  6756. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6757. "type": "integer"
  6758. },
  6759. "wechat": {
  6760. "description": "微信(加密存储)",
  6761. "type": "string"
  6762. },
  6763. "wskhinfo": {
  6764. "description": "开户申请信息(JSON)",
  6765. "type": "string"
  6766. }
  6767. }
  6768. },
  6769. "models.WRStandardInfo": {
  6770. "type": "object",
  6771. "required": [
  6772. "wrstandardid"
  6773. ],
  6774. "properties": {
  6775. "createtime": {
  6776. "description": "创建时间",
  6777. "type": "string"
  6778. },
  6779. "creatorid": {
  6780. "description": "创建人",
  6781. "type": "integer"
  6782. },
  6783. "deliverygoodsid": {
  6784. "description": "品种ID",
  6785. "type": "integer"
  6786. },
  6787. "deliverygoodsname": {
  6788. "description": "交割商品名称",
  6789. "type": "string"
  6790. },
  6791. "factoryitemjson": {
  6792. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  6793. "type": "string"
  6794. },
  6795. "isvalid": {
  6796. "description": "是否有效 - 0:无效 1:有效",
  6797. "type": "integer"
  6798. },
  6799. "minivalue": {
  6800. "description": "最小变动值",
  6801. "type": "integer"
  6802. },
  6803. "minivaluedp": {
  6804. "description": "最小变动值小数位",
  6805. "type": "integer"
  6806. },
  6807. "realminivalue": {
  6808. "description": "实际最小变动值",
  6809. "type": "integer"
  6810. },
  6811. "realminivaluedp": {
  6812. "description": "实际最小变动值小数位",
  6813. "type": "integer"
  6814. },
  6815. "unitid": {
  6816. "description": "单位ID",
  6817. "type": "integer"
  6818. },
  6819. "unitname": {
  6820. "description": "单位",
  6821. "type": "string"
  6822. },
  6823. "updatetime": {
  6824. "description": "更新时间",
  6825. "type": "string"
  6826. },
  6827. "updatorid": {
  6828. "description": "更新人",
  6829. "type": "integer"
  6830. },
  6831. "wrsstatus": {
  6832. "description": "状态 - 作废 - 0:未激活 1:正常",
  6833. "type": "integer"
  6834. },
  6835. "wrstandardcode": {
  6836. "description": "仓单标准代码",
  6837. "type": "string"
  6838. },
  6839. "wrstandardid": {
  6840. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6841. "type": "integer"
  6842. },
  6843. "wrstandardname": {
  6844. "description": "仓单标准名称",
  6845. "type": "string"
  6846. }
  6847. }
  6848. },
  6849. "models.Warehouseinfo": {
  6850. "type": "object",
  6851. "required": [
  6852. "autoid",
  6853. "warehousecode"
  6854. ],
  6855. "properties": {
  6856. "address": {
  6857. "description": "详细地址",
  6858. "type": "string"
  6859. },
  6860. "areauserid": {
  6861. "description": "所属机构",
  6862. "type": "integer"
  6863. },
  6864. "autoid": {
  6865. "description": "自增ID",
  6866. "type": "integer"
  6867. },
  6868. "cityid": {
  6869. "description": "市",
  6870. "type": "integer"
  6871. },
  6872. "contactname": {
  6873. "description": "联系人",
  6874. "type": "string"
  6875. },
  6876. "contactnum": {
  6877. "description": "联系电话",
  6878. "type": "string"
  6879. },
  6880. "countryid": {
  6881. "description": "国家",
  6882. "type": "integer"
  6883. },
  6884. "createtime": {
  6885. "description": "创建时间",
  6886. "type": "string"
  6887. },
  6888. "districtid": {
  6889. "description": "区",
  6890. "type": "integer"
  6891. },
  6892. "hasvideo": {
  6893. "description": "是否有视频 - 0:无 1:有",
  6894. "type": "integer"
  6895. },
  6896. "provinceid": {
  6897. "description": "省",
  6898. "type": "integer"
  6899. },
  6900. "remark": {
  6901. "description": "审核备注",
  6902. "type": "string"
  6903. },
  6904. "videourl": {
  6905. "description": "视频地址",
  6906. "type": "string"
  6907. },
  6908. "warehousecode": {
  6909. "description": "仓库代码",
  6910. "type": "string"
  6911. },
  6912. "warehousename": {
  6913. "description": "仓库名称",
  6914. "type": "string"
  6915. },
  6916. "warehousestatus": {
  6917. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  6918. "type": "integer"
  6919. },
  6920. "warehousetype": {
  6921. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  6922. "type": "integer"
  6923. }
  6924. }
  6925. },
  6926. "order.QueryHisTradeDetailRsp": {
  6927. "type": "object",
  6928. "required": [
  6929. "accountid",
  6930. "buyorsell",
  6931. "goodsid",
  6932. "histradedate",
  6933. "marketid",
  6934. "memberuserid",
  6935. "orderid",
  6936. "tradeamount",
  6937. "tradedate",
  6938. "tradeid",
  6939. "tradeprice",
  6940. "tradeqty",
  6941. "tradetime"
  6942. ],
  6943. "properties": {
  6944. "accountid": {
  6945. "description": "账户ID[报价币种]",
  6946. "type": "integer"
  6947. },
  6948. "buildtype": {
  6949. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6950. "type": "integer"
  6951. },
  6952. "buyorsell": {
  6953. "description": "方向 - 0:买 1:卖",
  6954. "type": "integer"
  6955. },
  6956. "charge": {
  6957. "description": "手续费",
  6958. "type": "number"
  6959. },
  6960. "closecharge": {
  6961. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6962. "type": "number"
  6963. },
  6964. "closeexchagechargevalue": {
  6965. "description": "平仓交易所手续费设置值",
  6966. "type": "number"
  6967. },
  6968. "closefeealgorithm": {
  6969. "description": "平仓手续费收取方式 1:比率 2:固定",
  6970. "type": "integer"
  6971. },
  6972. "closememberchargevalue": {
  6973. "description": "平仓会员手续费设置值",
  6974. "type": "number"
  6975. },
  6976. "closepl": {
  6977. "description": "平仓盈亏",
  6978. "type": "number"
  6979. },
  6980. "closepl2": {
  6981. "description": "平仓盈亏[逐笔]",
  6982. "type": "number"
  6983. },
  6984. "closeqty": {
  6985. "description": "平仓数量(先建后平操作 需要记录)",
  6986. "type": "integer"
  6987. },
  6988. "creditamount": {
  6989. "description": "授信金额",
  6990. "type": "number"
  6991. },
  6992. "gcaccountid": {
  6993. "description": "账户ID[合约币种]",
  6994. "type": "integer"
  6995. },
  6996. "goodscode": {
  6997. "description": "商品代码",
  6998. "type": "string"
  6999. },
  7000. "goodsid": {
  7001. "description": "商品ID",
  7002. "type": "integer"
  7003. },
  7004. "goodsname": {
  7005. "description": "商品名称",
  7006. "type": "string"
  7007. },
  7008. "histradedate": {
  7009. "description": "历史交易日",
  7010. "type": "string"
  7011. },
  7012. "intclosepl": {
  7013. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7014. "type": "integer"
  7015. },
  7016. "isconfirmexercise": {
  7017. "description": "是否确认行权- 0:否 1:是",
  7018. "type": "integer"
  7019. },
  7020. "ismain": {
  7021. "description": "是否主单 - 0:不是 1:是",
  7022. "type": "integer"
  7023. },
  7024. "ispreexercise": {
  7025. "description": "是否预申报- 0:否 1:是",
  7026. "type": "integer"
  7027. },
  7028. "isreckoned": {
  7029. "description": "是否结算 - 0:未结算 1:已结算",
  7030. "type": "integer"
  7031. },
  7032. "isvaliddata": {
  7033. "description": "是否有效 - 0:无效 1:有效",
  7034. "type": "integer"
  7035. },
  7036. "listingselecttype": {
  7037. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7038. "type": "integer"
  7039. },
  7040. "marketid": {
  7041. "description": "市场ID",
  7042. "type": "integer"
  7043. },
  7044. "marketname": {
  7045. "description": "市场名称",
  7046. "type": "string"
  7047. },
  7048. "matchaccountid": {
  7049. "description": "对手账号id",
  7050. "type": "integer"
  7051. },
  7052. "memberuserid": {
  7053. "description": "会员id 个人投资者 需要填写",
  7054. "type": "integer"
  7055. },
  7056. "opencharge": {
  7057. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7058. "type": "number"
  7059. },
  7060. "openexchagechargevalue": {
  7061. "description": "建仓交易所手续费设置值",
  7062. "type": "number"
  7063. },
  7064. "openfeealgorithm": {
  7065. "description": "建仓手续费收取方式 1:比率 2:固定",
  7066. "type": "integer"
  7067. },
  7068. "openmemberchargevalue": {
  7069. "description": "建仓会员手续费设置值",
  7070. "type": "number"
  7071. },
  7072. "openqty": {
  7073. "description": "开仓数量(先建后平操作 需要记录)",
  7074. "type": "integer"
  7075. },
  7076. "optiontype": {
  7077. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7078. "type": "integer"
  7079. },
  7080. "orderid": {
  7081. "description": "委托单号",
  7082. "type": "string"
  7083. },
  7084. "performanceplanid": {
  7085. "description": "履约计划ID[期权]",
  7086. "type": "integer"
  7087. },
  7088. "performancestatus": {
  7089. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7090. "type": "integer"
  7091. },
  7092. "preexerciseprice": {
  7093. "description": "预申报价格",
  7094. "type": "number"
  7095. },
  7096. "premium": {
  7097. "description": "权利金 - [持仓单的权利金]",
  7098. "type": "number"
  7099. },
  7100. "relatedouttradeid": {
  7101. "description": "关联外部成交单ID",
  7102. "type": "integer"
  7103. },
  7104. "status": {
  7105. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7106. "type": "integer"
  7107. },
  7108. "tradeamount": {
  7109. "description": "成交金额[账户币种,用于所有权]",
  7110. "type": "number"
  7111. },
  7112. "tradedate": {
  7113. "description": "交易日(yyyyMMdd)",
  7114. "type": "string"
  7115. },
  7116. "tradeid": {
  7117. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7118. "type": "string"
  7119. },
  7120. "trademode": {
  7121. "description": "交易模式",
  7122. "type": "integer"
  7123. },
  7124. "tradeprice": {
  7125. "description": "成交价格",
  7126. "type": "number"
  7127. },
  7128. "tradeproperty": {
  7129. "description": "交易属性",
  7130. "type": "integer"
  7131. },
  7132. "tradeqty": {
  7133. "description": "成交数量",
  7134. "type": "integer"
  7135. },
  7136. "tradetime": {
  7137. "description": "成交时间",
  7138. "type": "string"
  7139. },
  7140. "tradetype": {
  7141. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7142. "type": "integer"
  7143. }
  7144. }
  7145. },
  7146. "order.QueryHisTradeOrderDetailRsp": {
  7147. "type": "object",
  7148. "required": [
  7149. "accountid",
  7150. "buildtype",
  7151. "buyorsell",
  7152. "goodsid",
  7153. "histradedate",
  7154. "marketid",
  7155. "memberuserid",
  7156. "operatetype",
  7157. "orderid",
  7158. "orderqty",
  7159. "ordertime",
  7160. "pricemode",
  7161. "tradedate",
  7162. "validtype"
  7163. ],
  7164. "properties": {
  7165. "accountid": {
  7166. "description": "账户ID[报价币种]",
  7167. "type": "integer"
  7168. },
  7169. "buildtype": {
  7170. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7171. "type": "integer"
  7172. },
  7173. "buyorsell": {
  7174. "description": "买卖 - 0:买 1:卖",
  7175. "type": "integer"
  7176. },
  7177. "cancelorderid": {
  7178. "description": "撤单单号(撤单时填写)",
  7179. "type": "string"
  7180. },
  7181. "cancelqty": {
  7182. "description": "撤单数量",
  7183. "type": "integer"
  7184. },
  7185. "clientordertime": {
  7186. "description": "客户端委托时间",
  7187. "type": "string"
  7188. },
  7189. "clientticket": {
  7190. "description": "客户端流水号",
  7191. "type": "string"
  7192. },
  7193. "clienttype": {
  7194. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7195. "type": "integer"
  7196. },
  7197. "closeexchagechargevalue": {
  7198. "description": "平仓交易所手续费设置值",
  7199. "type": "number"
  7200. },
  7201. "closefeealgorithm": {
  7202. "description": "平仓手续费收取方式 1:比率 2:固定",
  7203. "type": "integer"
  7204. },
  7205. "closefreezecharge": {
  7206. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7207. "type": "number"
  7208. },
  7209. "closememberchargevalue": {
  7210. "description": "平仓会员手续费设置值",
  7211. "type": "number"
  7212. },
  7213. "closeqty": {
  7214. "description": "平仓数量(先建后平操作 需要记录)",
  7215. "type": "integer"
  7216. },
  7217. "closetradeqty": {
  7218. "description": "平仓成交数量(先建后平操作,需要记录)",
  7219. "type": "integer"
  7220. },
  7221. "closeunfreezecharge": {
  7222. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7223. "type": "number"
  7224. },
  7225. "delistingtype": {
  7226. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7227. "type": "integer"
  7228. },
  7229. "freezecharge": {
  7230. "description": "冻结手续费",
  7231. "type": "number"
  7232. },
  7233. "freezemargin": {
  7234. "description": "冻结保证金(冻结交易金额)",
  7235. "type": "number"
  7236. },
  7237. "gcaccountid": {
  7238. "description": "账户ID[合约币种]",
  7239. "type": "integer"
  7240. },
  7241. "goodscode": {
  7242. "description": "商品代码",
  7243. "type": "string"
  7244. },
  7245. "goodsid": {
  7246. "description": "商品ID",
  7247. "type": "integer"
  7248. },
  7249. "goodsname": {
  7250. "description": "商品名称",
  7251. "type": "string"
  7252. },
  7253. "histradedate": {
  7254. "description": "历史交易日",
  7255. "type": "string"
  7256. },
  7257. "isconfirmexercise": {
  7258. "description": "是否确认行权- 0:否 1:是",
  7259. "type": "integer"
  7260. },
  7261. "ispreexercise": {
  7262. "description": "是否预申报- 0:否 1:是",
  7263. "type": "integer"
  7264. },
  7265. "isvaliddata": {
  7266. "description": "是否有效 - 0:无效 1:有效",
  7267. "type": "integer"
  7268. },
  7269. "listingselecttype": {
  7270. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7271. "type": "integer"
  7272. },
  7273. "marginalgorithm": {
  7274. "description": "保证金收取方式 1:比率 2:固定",
  7275. "type": "integer"
  7276. },
  7277. "marginvalue": {
  7278. "description": "即市保证金设置值",
  7279. "type": "number"
  7280. },
  7281. "marketid": {
  7282. "description": "市场ID",
  7283. "type": "integer"
  7284. },
  7285. "marketmaxsub": {
  7286. "description": "市价最大偏移范围",
  7287. "type": "number"
  7288. },
  7289. "marketname": {
  7290. "description": "市场名称",
  7291. "type": "string"
  7292. },
  7293. "memberuserid": {
  7294. "description": "所属会员UserID",
  7295. "type": "integer"
  7296. },
  7297. "openexchagechargevalue": {
  7298. "description": "建仓交易所手续费设置值",
  7299. "type": "number"
  7300. },
  7301. "openfeealgorithm": {
  7302. "description": "建仓手续费收取方式 1:比率 2:固定",
  7303. "type": "integer"
  7304. },
  7305. "openfreezecharge": {
  7306. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7307. "type": "number"
  7308. },
  7309. "openmemberchargevalue": {
  7310. "description": "建仓会员手续费设置值",
  7311. "type": "number"
  7312. },
  7313. "openqty": {
  7314. "description": "开仓数量(先建后平操作,需要记录)",
  7315. "type": "integer"
  7316. },
  7317. "opentradeqty": {
  7318. "description": "开仓成交数量(先建后平操作,需要记录)",
  7319. "type": "integer"
  7320. },
  7321. "openunfreezecharge": {
  7322. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7323. "type": "number"
  7324. },
  7325. "operatetype": {
  7326. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7327. "type": "integer"
  7328. },
  7329. "operatorid": {
  7330. "description": "登录账号(LoginID)",
  7331. "type": "integer"
  7332. },
  7333. "optiontype": {
  7334. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7335. "type": "integer"
  7336. },
  7337. "orderid": {
  7338. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7339. "type": "string"
  7340. },
  7341. "orderprice": {
  7342. "description": "委托价格",
  7343. "type": "number"
  7344. },
  7345. "orderqty": {
  7346. "description": "委托数量",
  7347. "type": "integer"
  7348. },
  7349. "ordersrc": {
  7350. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7351. "type": "integer"
  7352. },
  7353. "orderstatus": {
  7354. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7355. "type": "integer"
  7356. },
  7357. "ordertime": {
  7358. "description": "委托时间",
  7359. "type": "string"
  7360. },
  7361. "preexerciseprice": {
  7362. "description": "预申报价格",
  7363. "type": "number"
  7364. },
  7365. "premium": {
  7366. "description": "权利金",
  7367. "type": "number"
  7368. },
  7369. "preorderid": {
  7370. "description": "关联预埋单号(止盈止损单时填写)",
  7371. "type": "string"
  7372. },
  7373. "pricemode": {
  7374. "description": "取价方式 - 1:市价 2: 限价",
  7375. "type": "integer"
  7376. },
  7377. "quoteid": {
  7378. "description": "报价单ID",
  7379. "type": "integer"
  7380. },
  7381. "relatedid": {
  7382. "description": "关联单号(交割单)",
  7383. "type": "string"
  7384. },
  7385. "retcode": {
  7386. "description": "错误代码",
  7387. "type": "integer"
  7388. },
  7389. "sessionid": {
  7390. "description": "会话ID",
  7391. "type": "integer"
  7392. },
  7393. "tradedate": {
  7394. "description": "交易日(yyyyMMdd)",
  7395. "type": "string"
  7396. },
  7397. "trademode": {
  7398. "description": "交易模式",
  7399. "type": "integer"
  7400. },
  7401. "tradeproperty": {
  7402. "description": "交易属性",
  7403. "type": "integer"
  7404. },
  7405. "tradeqty": {
  7406. "description": "成交数量",
  7407. "type": "integer"
  7408. },
  7409. "unfreezecharge": {
  7410. "description": "解冻手续费",
  7411. "type": "number"
  7412. },
  7413. "unfreezemargin": {
  7414. "description": "解冻保证金",
  7415. "type": "number"
  7416. },
  7417. "updatetime": {
  7418. "description": "更新时间",
  7419. "type": "string"
  7420. },
  7421. "uuid": {
  7422. "description": "发起端唯一id",
  7423. "type": "string"
  7424. },
  7425. "validtime": {
  7426. "description": "有效期限",
  7427. "type": "string"
  7428. },
  7429. "validtype": {
  7430. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7431. "type": "integer"
  7432. },
  7433. "volumetype": {
  7434. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7435. "type": "integer"
  7436. }
  7437. }
  7438. },
  7439. "order.QueryTradeDetailRsp": {
  7440. "type": "object",
  7441. "required": [
  7442. "accountid",
  7443. "buyorsell",
  7444. "goodsid",
  7445. "marketid",
  7446. "memberuserid",
  7447. "orderid",
  7448. "tradeamount",
  7449. "tradedate",
  7450. "tradeid",
  7451. "tradeprice",
  7452. "tradeqty",
  7453. "tradetime"
  7454. ],
  7455. "properties": {
  7456. "accountid": {
  7457. "description": "账户ID[报价币种]",
  7458. "type": "integer"
  7459. },
  7460. "buildtype": {
  7461. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7462. "type": "integer"
  7463. },
  7464. "buyorsell": {
  7465. "description": "方向 - 0:买 1:卖",
  7466. "type": "integer"
  7467. },
  7468. "charge": {
  7469. "description": "手续费",
  7470. "type": "number"
  7471. },
  7472. "closecharge": {
  7473. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7474. "type": "number"
  7475. },
  7476. "closeexchagechargevalue": {
  7477. "description": "平仓交易所手续费设置值",
  7478. "type": "number"
  7479. },
  7480. "closefeealgorithm": {
  7481. "description": "平仓手续费收取方式 1:比率 2:固定",
  7482. "type": "integer"
  7483. },
  7484. "closememberchargevalue": {
  7485. "description": "平仓会员手续费设置值",
  7486. "type": "number"
  7487. },
  7488. "closepl": {
  7489. "description": "平仓盈亏",
  7490. "type": "number"
  7491. },
  7492. "closepl2": {
  7493. "description": "平仓盈亏[逐笔]",
  7494. "type": "number"
  7495. },
  7496. "closeqty": {
  7497. "description": "平仓数量(先建后平操作 需要记录)",
  7498. "type": "integer"
  7499. },
  7500. "creditamount": {
  7501. "description": "授信金额",
  7502. "type": "number"
  7503. },
  7504. "gcaccountid": {
  7505. "description": "账户ID[合约币种]",
  7506. "type": "integer"
  7507. },
  7508. "goodscode": {
  7509. "description": "商品代码",
  7510. "type": "string"
  7511. },
  7512. "goodsid": {
  7513. "description": "商品ID",
  7514. "type": "integer"
  7515. },
  7516. "goodsname": {
  7517. "description": "商品名称",
  7518. "type": "string"
  7519. },
  7520. "intclosepl": {
  7521. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7522. "type": "integer"
  7523. },
  7524. "isconfirmexercise": {
  7525. "description": "是否确认行权- 0:否 1:是",
  7526. "type": "integer"
  7527. },
  7528. "ismain": {
  7529. "description": "是否主单 - 0:不是 1:是",
  7530. "type": "integer"
  7531. },
  7532. "ispreexercise": {
  7533. "description": "是否预申报- 0:否 1:是",
  7534. "type": "integer"
  7535. },
  7536. "isreckoned": {
  7537. "description": "是否结算 - 0:未结算 1:已结算",
  7538. "type": "integer"
  7539. },
  7540. "listingselecttype": {
  7541. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7542. "type": "integer"
  7543. },
  7544. "marketid": {
  7545. "description": "市场ID",
  7546. "type": "integer"
  7547. },
  7548. "marketname": {
  7549. "description": "市场名称",
  7550. "type": "string"
  7551. },
  7552. "matchaccountid": {
  7553. "description": "对手账号id",
  7554. "type": "integer"
  7555. },
  7556. "memberuserid": {
  7557. "description": "会员id 个人投资者 需要填写",
  7558. "type": "integer"
  7559. },
  7560. "opencharge": {
  7561. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7562. "type": "number"
  7563. },
  7564. "openexchagechargevalue": {
  7565. "description": "建仓交易所手续费设置值",
  7566. "type": "number"
  7567. },
  7568. "openfeealgorithm": {
  7569. "description": "建仓手续费收取方式 1:比率 2:固定",
  7570. "type": "integer"
  7571. },
  7572. "openmemberchargevalue": {
  7573. "description": "建仓会员手续费设置值",
  7574. "type": "number"
  7575. },
  7576. "openqty": {
  7577. "description": "开仓数量(先建后平操作 需要记录)",
  7578. "type": "integer"
  7579. },
  7580. "optiontype": {
  7581. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7582. "type": "integer"
  7583. },
  7584. "orderid": {
  7585. "description": "委托单号",
  7586. "type": "string"
  7587. },
  7588. "performanceplanid": {
  7589. "description": "履约计划ID[期权]",
  7590. "type": "integer"
  7591. },
  7592. "performancestatus": {
  7593. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7594. "type": "integer"
  7595. },
  7596. "preexerciseprice": {
  7597. "description": "预申报价格",
  7598. "type": "number"
  7599. },
  7600. "premium": {
  7601. "description": "权利金 - [持仓单的权利金]",
  7602. "type": "number"
  7603. },
  7604. "relatedouttradeid": {
  7605. "description": "关联外部成交单ID",
  7606. "type": "integer"
  7607. },
  7608. "status": {
  7609. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7610. "type": "integer"
  7611. },
  7612. "tradeamount": {
  7613. "description": "成交金额[账户币种,用于所有权]",
  7614. "type": "number"
  7615. },
  7616. "tradedate": {
  7617. "description": "交易日(yyyyMMdd)",
  7618. "type": "string"
  7619. },
  7620. "tradeid": {
  7621. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7622. "type": "string"
  7623. },
  7624. "trademode": {
  7625. "description": "交易模式",
  7626. "type": "integer"
  7627. },
  7628. "tradeprice": {
  7629. "description": "成交价格",
  7630. "type": "number"
  7631. },
  7632. "tradeproperty": {
  7633. "description": "交易属性",
  7634. "type": "integer"
  7635. },
  7636. "tradeqty": {
  7637. "description": "成交数量",
  7638. "type": "integer"
  7639. },
  7640. "tradetime": {
  7641. "description": "成交时间",
  7642. "type": "string"
  7643. },
  7644. "tradetype": {
  7645. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7646. "type": "integer"
  7647. }
  7648. }
  7649. },
  7650. "order.QueryTradeOrderDetailRsp": {
  7651. "type": "object",
  7652. "required": [
  7653. "accountid",
  7654. "buildtype",
  7655. "buyorsell",
  7656. "goodsid",
  7657. "marketid",
  7658. "operatetype",
  7659. "orderqty",
  7660. "ordertime",
  7661. "pricemode",
  7662. "tradedate",
  7663. "validtype"
  7664. ],
  7665. "properties": {
  7666. "accountid": {
  7667. "description": "账户ID[报价币种]",
  7668. "type": "integer"
  7669. },
  7670. "buildtype": {
  7671. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7672. "type": "integer"
  7673. },
  7674. "buyorsell": {
  7675. "description": "买卖 - 0:买 1:卖",
  7676. "type": "integer"
  7677. },
  7678. "cancelorderid": {
  7679. "description": "撤单单号(撤单时填写)",
  7680. "type": "string"
  7681. },
  7682. "cancelqty": {
  7683. "description": "撤单数量",
  7684. "type": "integer"
  7685. },
  7686. "clienttype": {
  7687. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7688. "type": "integer"
  7689. },
  7690. "closefreezecharge": {
  7691. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7692. "type": "number"
  7693. },
  7694. "closeqty": {
  7695. "description": "平仓数量(先建后平操作 需要记录)",
  7696. "type": "integer"
  7697. },
  7698. "closetradeqty": {
  7699. "description": "平仓成交数量(先建后平操作,需要记录)",
  7700. "type": "integer"
  7701. },
  7702. "closeunfreezecharge": {
  7703. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7704. "type": "number"
  7705. },
  7706. "delistingtype": {
  7707. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7708. "type": "integer"
  7709. },
  7710. "enableqty": {
  7711. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  7712. "type": "integer"
  7713. },
  7714. "freezecharge": {
  7715. "description": "冻结手续费",
  7716. "type": "number"
  7717. },
  7718. "freezemargin": {
  7719. "description": "冻结保证金(冻结交易金额)",
  7720. "type": "number"
  7721. },
  7722. "goodscode": {
  7723. "description": "商品代码",
  7724. "type": "string"
  7725. },
  7726. "goodsid": {
  7727. "description": "商品ID",
  7728. "type": "integer"
  7729. },
  7730. "goodsname": {
  7731. "description": "商品名称",
  7732. "type": "string"
  7733. },
  7734. "listingselecttype": {
  7735. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7736. "type": "integer"
  7737. },
  7738. "marketid": {
  7739. "description": "市场ID",
  7740. "type": "integer"
  7741. },
  7742. "marketname": {
  7743. "description": "市场名称",
  7744. "type": "string"
  7745. },
  7746. "openfreezecharge": {
  7747. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7748. "type": "number"
  7749. },
  7750. "openqty": {
  7751. "description": "开仓数量(先建后平操作,需要记录)",
  7752. "type": "integer"
  7753. },
  7754. "opentradeqty": {
  7755. "description": "开仓成交数量(先建后平操作,需要记录)",
  7756. "type": "integer"
  7757. },
  7758. "openunfreezecharge": {
  7759. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7760. "type": "number"
  7761. },
  7762. "operatetype": {
  7763. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7764. "type": "integer"
  7765. },
  7766. "operatorid": {
  7767. "description": "登录账号(LoginID)",
  7768. "type": "integer"
  7769. },
  7770. "orderid": {
  7771. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7772. "type": "string"
  7773. },
  7774. "orderprice": {
  7775. "description": "委托价格",
  7776. "type": "number"
  7777. },
  7778. "orderqty": {
  7779. "description": "委托数量",
  7780. "type": "integer"
  7781. },
  7782. "ordersrc": {
  7783. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7784. "type": "integer"
  7785. },
  7786. "orderstatus": {
  7787. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7788. "type": "integer"
  7789. },
  7790. "ordertime": {
  7791. "description": "委托时间",
  7792. "type": "string"
  7793. },
  7794. "preorderid": {
  7795. "description": "关联预埋单号(止盈止损单时填写)",
  7796. "type": "string"
  7797. },
  7798. "pricemode": {
  7799. "description": "取价方式 - 1:市价 2: 限价",
  7800. "type": "integer"
  7801. },
  7802. "relatedid": {
  7803. "description": "关联单号(交割单)",
  7804. "type": "string"
  7805. },
  7806. "tradedate": {
  7807. "description": "交易日(yyyyMMdd)",
  7808. "type": "string"
  7809. },
  7810. "trademode": {
  7811. "description": "交易模式",
  7812. "type": "integer"
  7813. },
  7814. "tradeqty": {
  7815. "description": "成交数量",
  7816. "type": "integer"
  7817. },
  7818. "unfreezecharge": {
  7819. "description": "解冻手续费",
  7820. "type": "number"
  7821. },
  7822. "unfreezemargin": {
  7823. "description": "解冻保证金",
  7824. "type": "number"
  7825. },
  7826. "validtime": {
  7827. "description": "有效期限",
  7828. "type": "string"
  7829. },
  7830. "validtype": {
  7831. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7832. "type": "integer"
  7833. },
  7834. "volumetype": {
  7835. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7836. "type": "integer"
  7837. }
  7838. }
  7839. },
  7840. "order.QueryTradePositionRsp": {
  7841. "type": "object",
  7842. "required": [
  7843. "goodsid"
  7844. ],
  7845. "properties": {
  7846. "accountid": {
  7847. "description": "资金账户",
  7848. "type": "integer"
  7849. },
  7850. "agreeunit": {
  7851. "description": "合约单位",
  7852. "type": "number"
  7853. },
  7854. "averageprice": {
  7855. "description": "持仓均价",
  7856. "type": "number"
  7857. },
  7858. "buyorsell": {
  7859. "description": "方向 - 0:买 1:卖",
  7860. "type": "integer"
  7861. },
  7862. "closetotalqty": {
  7863. "description": "平仓总数量",
  7864. "type": "integer"
  7865. },
  7866. "curholderamount": {
  7867. "description": "当前持仓总金额[商品币种]",
  7868. "type": "number"
  7869. },
  7870. "curpositionqty": {
  7871. "description": "当前持仓总数量",
  7872. "type": "integer"
  7873. },
  7874. "currencyid": {
  7875. "description": "报价货币ID",
  7876. "type": "integer"
  7877. },
  7878. "curtdposition": {
  7879. "description": "期末今日头寸",
  7880. "type": "integer"
  7881. },
  7882. "decimalplace": {
  7883. "description": "报价小数位",
  7884. "type": "integer"
  7885. },
  7886. "enableqty": {
  7887. "description": "可用量",
  7888. "type": "integer"
  7889. },
  7890. "fretdposition": {
  7891. "description": "冻结今日头寸",
  7892. "type": "integer"
  7893. },
  7894. "frozenqty": {
  7895. "description": "持仓冻结数量",
  7896. "type": "integer"
  7897. },
  7898. "goodscode": {
  7899. "description": "商品代码",
  7900. "type": "string"
  7901. },
  7902. "goodsid": {
  7903. "description": "商品Id",
  7904. "type": "integer"
  7905. },
  7906. "goodsname": {
  7907. "description": "商品名称",
  7908. "type": "string"
  7909. },
  7910. "goodunit": {
  7911. "description": "报价单位",
  7912. "type": "string"
  7913. },
  7914. "goodunitid": {
  7915. "description": "报价单位ID",
  7916. "type": "integer"
  7917. },
  7918. "holderamount": {
  7919. "description": "期初持仓总金额[商品币种]",
  7920. "type": "number"
  7921. },
  7922. "marketid": {
  7923. "description": "所属市场ID",
  7924. "type": "integer"
  7925. },
  7926. "openreqqty": {
  7927. "description": "开仓申请数量(用于比较最大持仓数量)",
  7928. "type": "integer"
  7929. },
  7930. "opentotalqty": {
  7931. "description": "开仓总数量",
  7932. "type": "integer"
  7933. },
  7934. "otherfrozenqty": {
  7935. "description": "持仓其他冻结数量(交割冻结)",
  7936. "type": "integer"
  7937. },
  7938. "positionqty": {
  7939. "description": "期初持仓数量",
  7940. "type": "integer"
  7941. },
  7942. "tnqty": {
  7943. "description": "T+N冻结总量",
  7944. "type": "integer"
  7945. },
  7946. "tnusedqty": {
  7947. "description": "T+N使用量(可以使用T+N的冻结数量)",
  7948. "type": "integer"
  7949. },
  7950. "trademode": {
  7951. "description": "交易模式",
  7952. "type": "integer"
  7953. },
  7954. "usedmargin": {
  7955. "description": "占用保证金[商品币种]",
  7956. "type": "number"
  7957. }
  7958. }
  7959. },
  7960. "quote.HistoryData": {
  7961. "type": "object",
  7962. "properties": {
  7963. "c": {
  7964. "description": "收盘价",
  7965. "type": "number"
  7966. },
  7967. "h": {
  7968. "description": "最高价",
  7969. "type": "number"
  7970. },
  7971. "hv": {
  7972. "description": "持仓量",
  7973. "type": "integer"
  7974. },
  7975. "l": {
  7976. "description": "最低价",
  7977. "type": "number"
  7978. },
  7979. "o": {
  7980. "description": "开盘价",
  7981. "type": "number"
  7982. },
  7983. "s": {
  7984. "description": "结算价,日线周期(包括)以上才有",
  7985. "type": "number"
  7986. },
  7987. "ts": {
  7988. "description": "时间",
  7989. "type": "string"
  7990. },
  7991. "tt": {
  7992. "description": "总金额",
  7993. "type": "number"
  7994. },
  7995. "tv": {
  7996. "description": "总量",
  7997. "type": "integer"
  7998. }
  7999. }
  8000. },
  8001. "quote.QueryTSDataRsp": {
  8002. "type": "object",
  8003. "properties": {
  8004. "decimalPlace": {
  8005. "description": "小数位",
  8006. "type": "integer"
  8007. },
  8008. "endTime": {
  8009. "description": "结束时间",
  8010. "type": "string"
  8011. },
  8012. "goodsCode": {
  8013. "description": "商品代码",
  8014. "type": "string"
  8015. },
  8016. "historyDatas": {
  8017. "description": "历史数据",
  8018. "type": "array",
  8019. "items": {
  8020. "$ref": "#/definitions/quote.HistoryData"
  8021. }
  8022. },
  8023. "preSettle": {
  8024. "description": "昨结",
  8025. "type": "number"
  8026. },
  8027. "startTime": {
  8028. "description": "开始时间",
  8029. "type": "string"
  8030. },
  8031. "tradeDate": {
  8032. "description": "交易日",
  8033. "type": "string"
  8034. }
  8035. }
  8036. },
  8037. "szdz.QueryConvertLogRsp": {
  8038. "type": "object",
  8039. "required": [
  8040. "logid"
  8041. ],
  8042. "properties": {
  8043. "accountid": {
  8044. "description": "资金账户ID",
  8045. "type": "integer"
  8046. },
  8047. "clientticket": {
  8048. "description": "客户端流水号",
  8049. "type": "string"
  8050. },
  8051. "converttype": {
  8052. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  8053. "type": "integer"
  8054. },
  8055. "createtime": {
  8056. "description": "记账时间",
  8057. "type": "string"
  8058. },
  8059. "daymaxvalue": {
  8060. "description": "配置当日最大转入限制",
  8061. "type": "number"
  8062. },
  8063. "daymaxvalue2": {
  8064. "description": "配置当日最大转入限制(转入)",
  8065. "type": "number"
  8066. },
  8067. "goodscode": {
  8068. "description": "商品代码",
  8069. "type": "string"
  8070. },
  8071. "goodsname": {
  8072. "description": "商品名称",
  8073. "type": "string"
  8074. },
  8075. "handlestatus": {
  8076. "description": "处理状态",
  8077. "type": "integer"
  8078. },
  8079. "innergoodsid": {
  8080. "description": "内部商品ID",
  8081. "type": "integer"
  8082. },
  8083. "inratio": {
  8084. "description": "配置转入比值",
  8085. "type": "integer"
  8086. },
  8087. "invalue": {
  8088. "description": "目标值",
  8089. "type": "number"
  8090. },
  8091. "logid": {
  8092. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8093. "type": "integer"
  8094. },
  8095. "mobile": {
  8096. "description": "手机号码(加密存储)",
  8097. "type": "string"
  8098. },
  8099. "outergoodscode": {
  8100. "description": "外部商品代码[JD\\PD]",
  8101. "type": "string"
  8102. },
  8103. "outratio": {
  8104. "description": "配置转出比值",
  8105. "type": "integer"
  8106. },
  8107. "outvalue": {
  8108. "description": "源值",
  8109. "type": "number"
  8110. },
  8111. "pddecimalplace": {
  8112. "description": "PD小数位",
  8113. "type": "integer"
  8114. },
  8115. "qty": {
  8116. "description": "数量",
  8117. "type": "string"
  8118. },
  8119. "remark": {
  8120. "description": "备注",
  8121. "type": "string"
  8122. },
  8123. "sessionid": {
  8124. "description": "会话ID",
  8125. "type": "integer"
  8126. },
  8127. "timemaxvalue": {
  8128. "description": "配置单次最大转入限制",
  8129. "type": "number"
  8130. },
  8131. "timemaxvalue2": {
  8132. "description": "配置单次最大转入限制(转入)",
  8133. "type": "number"
  8134. },
  8135. "timeminvalue": {
  8136. "description": "配置单次最小数量限制",
  8137. "type": "number"
  8138. },
  8139. "timeminvalue2": {
  8140. "description": "配置单次最小数量限制(转入)",
  8141. "type": "number"
  8142. },
  8143. "tradedate": {
  8144. "description": "交易日(yyyyMMdd)",
  8145. "type": "string"
  8146. },
  8147. "userid": {
  8148. "description": "用户ID",
  8149. "type": "integer"
  8150. }
  8151. }
  8152. },
  8153. "szdz.QueryGoodsPickupRsp": {
  8154. "type": "object",
  8155. "required": [
  8156. "takeorderid"
  8157. ],
  8158. "properties": {
  8159. "accountid": {
  8160. "description": "账户ID",
  8161. "type": "integer"
  8162. },
  8163. "address": {
  8164. "description": "提货人详细地址",
  8165. "type": "string"
  8166. },
  8167. "auditer": {
  8168. "description": "审核人",
  8169. "type": "integer"
  8170. },
  8171. "audittime": {
  8172. "description": "审核时间",
  8173. "type": "string"
  8174. },
  8175. "cardnum": {
  8176. "description": "提货人证件号码",
  8177. "type": "string"
  8178. },
  8179. "cardtypeid": {
  8180. "description": "提货人证件类型",
  8181. "type": "integer"
  8182. },
  8183. "checkremark": {
  8184. "description": "审核备注",
  8185. "type": "string"
  8186. },
  8187. "goodscode": {
  8188. "description": "商品代码",
  8189. "type": "string"
  8190. },
  8191. "goodsid": {
  8192. "description": "商品ID",
  8193. "type": "integer"
  8194. },
  8195. "goodsname": {
  8196. "description": "商品名称",
  8197. "type": "string"
  8198. },
  8199. "handlestatus": {
  8200. "description": "处理状态",
  8201. "type": "integer"
  8202. },
  8203. "marketid": {
  8204. "description": "市场ID",
  8205. "type": "integer"
  8206. },
  8207. "phonenum": {
  8208. "description": "提货人联系方式",
  8209. "type": "string"
  8210. },
  8211. "qty": {
  8212. "description": "提货数量",
  8213. "type": "number"
  8214. },
  8215. "recivername": {
  8216. "description": "提货人姓名",
  8217. "type": "string"
  8218. },
  8219. "reqtime": {
  8220. "description": "更新时间",
  8221. "type": "string"
  8222. },
  8223. "takemode": {
  8224. "description": "提货方式 - 2:自提 3:配送",
  8225. "type": "integer"
  8226. },
  8227. "takeorderid": {
  8228. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8229. "type": "string"
  8230. },
  8231. "takeorderstatus": {
  8232. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8233. "type": "integer"
  8234. },
  8235. "takeremark": {
  8236. "description": "提货备注",
  8237. "type": "string"
  8238. },
  8239. "tradedate": {
  8240. "description": "交易日(yyyyMMdd)",
  8241. "type": "string"
  8242. },
  8243. "userid": {
  8244. "description": "用户ID",
  8245. "type": "integer"
  8246. }
  8247. }
  8248. },
  8249. "szdz.QueryRecieptOrderRsp": {
  8250. "type": "object",
  8251. "properties": {
  8252. "accountName": {
  8253. "description": "所属账号名称(已脱敏)",
  8254. "type": "string"
  8255. },
  8256. "accountid": {
  8257. "description": "资金账号",
  8258. "type": "integer"
  8259. },
  8260. "buyorsell": {
  8261. "description": "方向 - 0:买 1:卖",
  8262. "type": "integer"
  8263. },
  8264. "enableqty": {
  8265. "description": "可摘数量",
  8266. "type": "integer"
  8267. },
  8268. "goodscode": {
  8269. "description": "商品代码",
  8270. "type": "string"
  8271. },
  8272. "goodsid": {
  8273. "description": "商品ID",
  8274. "type": "integer"
  8275. },
  8276. "goodsname": {
  8277. "description": "商品名称",
  8278. "type": "string"
  8279. },
  8280. "orderid": {
  8281. "description": "委托单号",
  8282. "type": "string"
  8283. },
  8284. "orderprice": {
  8285. "description": "委托价格",
  8286. "type": "number"
  8287. },
  8288. "tradedate": {
  8289. "description": "交易日(yyyyMMdd)",
  8290. "type": "string"
  8291. }
  8292. }
  8293. },
  8294. "szdz.QuerySZDZTradePositionRsp": {
  8295. "type": "object",
  8296. "properties": {
  8297. "accountid": {
  8298. "description": "账号Id",
  8299. "type": "integer"
  8300. },
  8301. "agreeunit": {
  8302. "description": "合约单位",
  8303. "type": "number"
  8304. },
  8305. "averageprice": {
  8306. "description": "持仓均价",
  8307. "type": "number"
  8308. },
  8309. "buyorsell": {
  8310. "description": "方向 - 0:买 1:卖",
  8311. "type": "integer"
  8312. },
  8313. "closetotalqty": {
  8314. "description": "平仓总数量",
  8315. "type": "integer"
  8316. },
  8317. "curholderamount": {
  8318. "description": "当前持仓总金额",
  8319. "type": "number"
  8320. },
  8321. "curpositionqty": {
  8322. "description": "当前持仓总数量",
  8323. "type": "integer"
  8324. },
  8325. "currencyid": {
  8326. "description": "报价货币ID",
  8327. "type": "integer"
  8328. },
  8329. "curtdposition": {
  8330. "description": "期末今日头寸",
  8331. "type": "integer"
  8332. },
  8333. "decimalplace": {
  8334. "description": "报价小数位",
  8335. "type": "integer"
  8336. },
  8337. "enableqty": {
  8338. "description": "可用量",
  8339. "type": "integer"
  8340. },
  8341. "fretdposition": {
  8342. "description": "冻结今日头寸",
  8343. "type": "integer"
  8344. },
  8345. "frozenqty": {
  8346. "description": "持仓冻结数量",
  8347. "type": "integer"
  8348. },
  8349. "goodscode": {
  8350. "description": "商品代码(内部)",
  8351. "type": "string"
  8352. },
  8353. "goodsid": {
  8354. "description": "商品Id",
  8355. "type": "integer"
  8356. },
  8357. "goodsname": {
  8358. "description": "商品名称",
  8359. "type": "string"
  8360. },
  8361. "goodunit": {
  8362. "description": "报价单位",
  8363. "type": "string"
  8364. },
  8365. "goodunitid": {
  8366. "description": "报价单位ID",
  8367. "type": "integer"
  8368. },
  8369. "holderamount": {
  8370. "description": "期初持仓总金额",
  8371. "type": "number"
  8372. },
  8373. "marketid": {
  8374. "description": "市场ID",
  8375. "type": "integer"
  8376. },
  8377. "openreqqty": {
  8378. "description": "开仓申请数量",
  8379. "type": "integer"
  8380. },
  8381. "opentotalqty": {
  8382. "description": "开仓总数量",
  8383. "type": "integer"
  8384. },
  8385. "otherfrozenqty": {
  8386. "description": "持仓其他冻结数量(交割冻结)",
  8387. "type": "integer"
  8388. },
  8389. "positionqty": {
  8390. "description": "期初持仓数量",
  8391. "type": "integer"
  8392. },
  8393. "szdz3freezqty": {
  8394. "description": "尚志大宗转换冻结总数量",
  8395. "type": "integer"
  8396. },
  8397. "tnqty": {
  8398. "description": "T+N冻结总量",
  8399. "type": "integer"
  8400. },
  8401. "tnusedqty": {
  8402. "description": "T+N使用量",
  8403. "type": "integer"
  8404. },
  8405. "trademode": {
  8406. "description": "交易模式",
  8407. "type": "integer"
  8408. },
  8409. "usedmargin": {
  8410. "description": "占用保证金",
  8411. "type": "number"
  8412. }
  8413. }
  8414. },
  8415. "taaccount.QueryAmountLogRsp": {
  8416. "type": "object",
  8417. "required": [
  8418. "accountid",
  8419. "amount",
  8420. "amountadjusttype",
  8421. "autoid",
  8422. "balance",
  8423. "createtime",
  8424. "currentbalance",
  8425. "operatetype"
  8426. ],
  8427. "properties": {
  8428. "OPERATETYPENAME": {
  8429. "description": "资金操作类型名称",
  8430. "type": "string"
  8431. },
  8432. "accountid": {
  8433. "description": "资金账户ID",
  8434. "type": "integer"
  8435. },
  8436. "agoodscode": {
  8437. "description": "竞拍商品代码",
  8438. "type": "string"
  8439. },
  8440. "agoodsname": {
  8441. "description": "竞拍商品名称",
  8442. "type": "string"
  8443. },
  8444. "amount": {
  8445. "description": "资金金额",
  8446. "type": "number"
  8447. },
  8448. "amountadjusttype": {
  8449. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8450. "type": "integer"
  8451. },
  8452. "autoid": {
  8453. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8454. "type": "integer"
  8455. },
  8456. "balance": {
  8457. "description": "期初余额",
  8458. "type": "number"
  8459. },
  8460. "businesscode": {
  8461. "description": "业务编号",
  8462. "type": "integer"
  8463. },
  8464. "createtime": {
  8465. "description": "发生时间",
  8466. "type": "string"
  8467. },
  8468. "currencyid": {
  8469. "description": "币种ID",
  8470. "type": "integer"
  8471. },
  8472. "currentbalance": {
  8473. "description": "期末余额(变动后金额)",
  8474. "type": "number"
  8475. },
  8476. "dgoodscode": {
  8477. "description": "交割商品代码",
  8478. "type": "string"
  8479. },
  8480. "dgoodsname": {
  8481. "description": "交割商品名称",
  8482. "type": "string"
  8483. },
  8484. "goodscode": {
  8485. "description": "商品代码",
  8486. "type": "string"
  8487. },
  8488. "goodsid": {
  8489. "description": "商品ID",
  8490. "type": "integer"
  8491. },
  8492. "goodsname": {
  8493. "description": "商品名称",
  8494. "type": "string"
  8495. },
  8496. "marketid": {
  8497. "description": "市场ID",
  8498. "type": "integer"
  8499. },
  8500. "marketname": {
  8501. "description": "市场名称",
  8502. "type": "string"
  8503. },
  8504. "moneyticket": {
  8505. "description": "资金流水号:银行端流水号",
  8506. "type": "integer"
  8507. },
  8508. "operatetype": {
  8509. "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:营销收款",
  8510. "type": "integer"
  8511. },
  8512. "relationorderid": {
  8513. "description": "关联单号",
  8514. "type": "string"
  8515. },
  8516. "remark": {
  8517. "description": "备注",
  8518. "type": "string"
  8519. },
  8520. "trademode": {
  8521. "description": "交易模式",
  8522. "type": "integer"
  8523. }
  8524. }
  8525. },
  8526. "taaccount.QueryHisAmountLogRsp": {
  8527. "type": "object",
  8528. "required": [
  8529. "accountid",
  8530. "amount",
  8531. "amountadjusttype",
  8532. "autoid",
  8533. "balance",
  8534. "createtime",
  8535. "currentbalance",
  8536. "histradedate",
  8537. "operatetype"
  8538. ],
  8539. "properties": {
  8540. "OPERATETYPENAME": {
  8541. "description": "资金操作类型名称",
  8542. "type": "string"
  8543. },
  8544. "accountid": {
  8545. "description": "资金账户ID",
  8546. "type": "integer"
  8547. },
  8548. "agoodscode": {
  8549. "description": "竞拍商品代码",
  8550. "type": "string"
  8551. },
  8552. "agoodsname": {
  8553. "description": "竞拍商品名称",
  8554. "type": "string"
  8555. },
  8556. "amount": {
  8557. "description": "资金金额",
  8558. "type": "number"
  8559. },
  8560. "amountadjusttype": {
  8561. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8562. "type": "integer"
  8563. },
  8564. "autoid": {
  8565. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8566. "type": "integer"
  8567. },
  8568. "balance": {
  8569. "description": "期初余额",
  8570. "type": "number"
  8571. },
  8572. "businesscode": {
  8573. "description": "业务编号",
  8574. "type": "integer"
  8575. },
  8576. "createtime": {
  8577. "description": "发生时间",
  8578. "type": "string"
  8579. },
  8580. "currencyid": {
  8581. "description": "币种ID",
  8582. "type": "integer"
  8583. },
  8584. "currentbalance": {
  8585. "description": "期末余额(变动后金额)",
  8586. "type": "number"
  8587. },
  8588. "dgoodscode": {
  8589. "description": "交割商品代码",
  8590. "type": "string"
  8591. },
  8592. "dgoodsname": {
  8593. "description": "交割商品名称",
  8594. "type": "string"
  8595. },
  8596. "goodscode": {
  8597. "description": "商品代码",
  8598. "type": "string"
  8599. },
  8600. "goodsid": {
  8601. "description": "商品ID",
  8602. "type": "integer"
  8603. },
  8604. "goodsname": {
  8605. "description": "商品名称",
  8606. "type": "string"
  8607. },
  8608. "histradedate": {
  8609. "description": "历史交易日",
  8610. "type": "string"
  8611. },
  8612. "isvaliddata": {
  8613. "description": "是否有效 - 0:无效 1:有效",
  8614. "type": "integer"
  8615. },
  8616. "marketid": {
  8617. "description": "市场ID",
  8618. "type": "integer"
  8619. },
  8620. "marketname": {
  8621. "description": "市场名称",
  8622. "type": "string"
  8623. },
  8624. "moneyticket": {
  8625. "description": "资金流水号:银行端流水号",
  8626. "type": "integer"
  8627. },
  8628. "operatetype": {
  8629. "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:营销收款",
  8630. "type": "integer"
  8631. },
  8632. "relationorderid": {
  8633. "description": "关联单号",
  8634. "type": "string"
  8635. },
  8636. "remark": {
  8637. "description": "备注",
  8638. "type": "string"
  8639. },
  8640. "trademode": {
  8641. "description": "交易模式",
  8642. "type": "integer"
  8643. }
  8644. }
  8645. }
  8646. },
  8647. "securityDefinitions": {
  8648. "ApiKeyAuth": {
  8649. "type": "apiKey",
  8650. "name": "Authorization",
  8651. "in": "header"
  8652. }
  8653. }
  8654. }`
  8655. type swaggerInfo struct {
  8656. Version string
  8657. Host string
  8658. BasePath string
  8659. Schemes []string
  8660. Title string
  8661. Description string
  8662. }
  8663. // SwaggerInfo holds exported Swagger Info so clients can modify it
  8664. var SwaggerInfo = swaggerInfo{
  8665. Version: "1.0",
  8666. Host: "",
  8667. BasePath: "/api",
  8668. Schemes: []string{},
  8669. Title: "MTP2.0 查询服务 API",
  8670. Description: "新的查询服务,替代原通用查询服务。",
  8671. }
  8672. type s struct{}
  8673. func (s *s) ReadDoc() string {
  8674. sInfo := SwaggerInfo
  8675. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  8676. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  8677. "marshal": func(v interface{}) string {
  8678. a, _ := json.Marshal(v)
  8679. return string(a)
  8680. },
  8681. }).Parse(doc)
  8682. if err != nil {
  8683. return doc
  8684. }
  8685. var tpl bytes.Buffer
  8686. if err := t.Execute(&tpl, sInfo); err != nil {
  8687. return doc
  8688. }
  8689. return tpl.String()
  8690. }
  8691. func init() {
  8692. swag.Register(swag.Name, &s{})
  8693. }