docs.go 297 KB

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