docs.go 263 KB

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