docs.go 250 KB

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