docs.go 257 KB

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