docs.go 301 KB

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