docs.go 290 KB

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