docs.go 276 KB

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