swagger.json 473 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "responses": {
  366. "200": {
  367. "description": "OK",
  368. "schema": {
  369. "$ref": "#/definitions/models.Enumdicitem"
  370. }
  371. },
  372. "500": {
  373. "description": "Internal Server Error",
  374. "schema": {
  375. "$ref": "#/definitions/app.Response"
  376. }
  377. }
  378. }
  379. }
  380. },
  381. "/Common/GetServerTime": {
  382. "get": {
  383. "produces": [
  384. "application/json"
  385. ],
  386. "tags": [
  387. "通用服务"
  388. ],
  389. "summary": "获取服务器时间",
  390. "responses": {
  391. "200": {
  392. "description": "OK",
  393. "schema": {
  394. "$ref": "#/definitions/app.Response"
  395. }
  396. },
  397. "500": {
  398. "description": "Internal Server Error",
  399. "schema": {
  400. "$ref": "#/definitions/app.Response"
  401. }
  402. }
  403. }
  404. }
  405. },
  406. "/Common/NoticeReaded": {
  407. "post": {
  408. "security": [
  409. {
  410. "ApiKeyAuth": []
  411. }
  412. ],
  413. "produces": [
  414. "application/json"
  415. ],
  416. "tags": [
  417. "通用服务"
  418. ],
  419. "summary": "通知公告设置已读请求",
  420. "parameters": [
  421. {
  422. "type": "integer",
  423. "description": "登录账号",
  424. "name": "loginID",
  425. "in": "query",
  426. "required": true
  427. },
  428. {
  429. "type": "integer",
  430. "description": "通知公告ID",
  431. "name": "noticeID",
  432. "in": "query",
  433. "required": true
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. },
  443. "500": {
  444. "description": "Internal Server Error",
  445. "schema": {
  446. "$ref": "#/definitions/app.Response"
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "/Common/QueryImageConfigs": {
  453. "get": {
  454. "produces": [
  455. "application/json"
  456. ],
  457. "tags": [
  458. "通用服务"
  459. ],
  460. "summary": "查询轮播图配置信息",
  461. "parameters": [
  462. {
  463. "type": "integer",
  464. "description": "类型 - 1:App首页轮播 2:我的",
  465. "name": "imageType",
  466. "in": "query"
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/models.Szdz2imageconfig"
  474. }
  475. },
  476. "500": {
  477. "description": "Internal Server Error",
  478. "schema": {
  479. "$ref": "#/definitions/app.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/Common/QueryNotice": {
  486. "get": {
  487. "security": [
  488. {
  489. "ApiKeyAuth": []
  490. }
  491. ],
  492. "produces": [
  493. "application/json"
  494. ],
  495. "tags": [
  496. "通用服务"
  497. ],
  498. "summary": "通知公告系统消息查询",
  499. "parameters": [
  500. {
  501. "type": "integer",
  502. "description": "页码",
  503. "name": "page",
  504. "in": "query"
  505. },
  506. {
  507. "type": "integer",
  508. "description": "每页条数",
  509. "name": "pagesize",
  510. "in": "query"
  511. },
  512. {
  513. "type": "integer",
  514. "description": "登录账号",
  515. "name": "loginID",
  516. "in": "query",
  517. "required": true
  518. },
  519. {
  520. "type": "integer",
  521. "description": "消息类型 - 1:公告通知 2:系统消息",
  522. "name": "msgType",
  523. "in": "query"
  524. },
  525. {
  526. "type": "boolean",
  527. "description": "是否只获取未读信息",
  528. "name": "onlyUnRead",
  529. "in": "query"
  530. }
  531. ],
  532. "responses": {
  533. "200": {
  534. "description": "OK",
  535. "schema": {
  536. "$ref": "#/definitions/common.QueryNoticeRsp"
  537. }
  538. },
  539. "500": {
  540. "description": "Internal Server Error",
  541. "schema": {
  542. "$ref": "#/definitions/app.Response"
  543. }
  544. }
  545. }
  546. }
  547. },
  548. "/Common/QueryProvincesAndCities": {
  549. "get": {
  550. "produces": [
  551. "application/json"
  552. ],
  553. "tags": [
  554. "通用服务"
  555. ],
  556. "summary": "查询省市信息(不包括区)",
  557. "parameters": [
  558. {
  559. "type": "integer",
  560. "description": "省ID",
  561. "name": "provinceID",
  562. "in": "query"
  563. }
  564. ],
  565. "responses": {
  566. "200": {
  567. "description": "OK",
  568. "schema": {
  569. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  570. }
  571. },
  572. "500": {
  573. "description": "Internal Server Error",
  574. "schema": {
  575. "$ref": "#/definitions/app.Response"
  576. }
  577. }
  578. }
  579. }
  580. },
  581. "/Common/QueryTableDefine": {
  582. "get": {
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "通用服务"
  588. ],
  589. "summary": "查询交易端列表头信息",
  590. "parameters": [
  591. {
  592. "type": "string",
  593. "description": "表key",
  594. "name": "tableKey",
  595. "in": "query"
  596. },
  597. {
  598. "type": "integer",
  599. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  600. "name": "tableType",
  601. "in": "query"
  602. }
  603. ],
  604. "responses": {
  605. "200": {
  606. "description": "OK",
  607. "schema": {
  608. "$ref": "#/definitions/common.QueryTableDefineRsp"
  609. }
  610. },
  611. "500": {
  612. "description": "Internal Server Error",
  613. "schema": {
  614. "$ref": "#/definitions/app.Response"
  615. }
  616. }
  617. }
  618. }
  619. },
  620. "/Common/QueryTraderMenu": {
  621. "get": {
  622. "produces": [
  623. "application/json"
  624. ],
  625. "tags": [
  626. "通用服务"
  627. ],
  628. "summary": "查询交易端菜单",
  629. "parameters": [
  630. {
  631. "type": "integer",
  632. "description": "登录账号",
  633. "name": "loginid",
  634. "in": "query",
  635. "required": true
  636. }
  637. ],
  638. "responses": {
  639. "200": {
  640. "description": "OK",
  641. "schema": {
  642. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  643. }
  644. },
  645. "500": {
  646. "description": "Internal Server Error",
  647. "schema": {
  648. "$ref": "#/definitions/app.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/Delivery/QueryDeliveryRelation": {
  655. "get": {
  656. "security": [
  657. {
  658. "ApiKeyAuth": []
  659. }
  660. ],
  661. "produces": [
  662. "application/json"
  663. ],
  664. "tags": [
  665. "交割服务"
  666. ],
  667. "summary": "查询商品交割关系表",
  668. "parameters": [
  669. {
  670. "type": "integer",
  671. "description": "商品ID",
  672. "name": "goodsid",
  673. "in": "query"
  674. },
  675. {
  676. "type": "integer",
  677. "description": "品种ID",
  678. "name": "deliverygoodsid",
  679. "in": "query"
  680. },
  681. {
  682. "type": "integer",
  683. "description": "市场ID",
  684. "name": "marketid",
  685. "in": "query"
  686. }
  687. ],
  688. "responses": {
  689. "200": {
  690. "description": "OK",
  691. "schema": {
  692. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  693. }
  694. },
  695. "500": {
  696. "description": "Internal Server Error",
  697. "schema": {
  698. "$ref": "#/definitions/app.Response"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "/Ermcp/QueryBusinessDj": {
  705. "get": {
  706. "security": [
  707. {
  708. "ApiKeyAuth": []
  709. }
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "企业风险管理(app)"
  716. ],
  717. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  718. "parameters": [
  719. {
  720. "type": "integer",
  721. "description": "用户ID",
  722. "name": "UserId",
  723. "in": "query",
  724. "required": true
  725. },
  726. {
  727. "type": "string",
  728. "description": "现货合同ID, 不填则查所有",
  729. "name": "relatedid",
  730. "in": "query"
  731. }
  732. ],
  733. "responses": {
  734. "200": {
  735. "description": "OK",
  736. "schema": {
  737. "type": "array",
  738. "items": {
  739. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  740. }
  741. }
  742. },
  743. "500": {
  744. "description": "Internal Server Error",
  745. "schema": {
  746. "$ref": "#/definitions/app.Response"
  747. }
  748. }
  749. }
  750. }
  751. },
  752. "/Ermcp/QueryBusinessFp": {
  753. "get": {
  754. "security": [
  755. {
  756. "ApiKeyAuth": []
  757. }
  758. ],
  759. "produces": [
  760. "application/json"
  761. ],
  762. "tags": [
  763. "企业风险管理(app)"
  764. ],
  765. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  766. "parameters": [
  767. {
  768. "type": "integer",
  769. "description": "用户ID",
  770. "name": "UserId",
  771. "in": "query",
  772. "required": true
  773. },
  774. {
  775. "type": "string",
  776. "description": "现货合同ID, 不填则查所有",
  777. "name": "relatedid",
  778. "in": "query"
  779. }
  780. ],
  781. "responses": {
  782. "200": {
  783. "description": "OK",
  784. "schema": {
  785. "type": "array",
  786. "items": {
  787. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  788. }
  789. }
  790. },
  791. "500": {
  792. "description": "Internal Server Error",
  793. "schema": {
  794. "$ref": "#/definitions/app.Response"
  795. }
  796. }
  797. }
  798. }
  799. },
  800. "/Ermcp/QueryBusinessJs": {
  801. "get": {
  802. "security": [
  803. {
  804. "ApiKeyAuth": []
  805. }
  806. ],
  807. "produces": [
  808. "application/json"
  809. ],
  810. "tags": [
  811. "企业风险管理(app)"
  812. ],
  813. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  814. "parameters": [
  815. {
  816. "type": "integer",
  817. "description": "用户ID",
  818. "name": "UserId",
  819. "in": "query",
  820. "required": true
  821. },
  822. {
  823. "type": "string",
  824. "description": "现货合同ID, 不填则查所有",
  825. "name": "relatedid",
  826. "in": "query"
  827. }
  828. ],
  829. "responses": {
  830. "200": {
  831. "description": "OK",
  832. "schema": {
  833. "type": "array",
  834. "items": {
  835. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  836. }
  837. }
  838. },
  839. "500": {
  840. "description": "Internal Server Error",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. }
  845. }
  846. }
  847. },
  848. "/Ermcp/QueryBusinessKx": {
  849. "get": {
  850. "security": [
  851. {
  852. "ApiKeyAuth": []
  853. }
  854. ],
  855. "produces": [
  856. "application/json"
  857. ],
  858. "tags": [
  859. "企业风险管理(app)"
  860. ],
  861. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  862. "parameters": [
  863. {
  864. "type": "integer",
  865. "description": "用户ID",
  866. "name": "UserId",
  867. "in": "query",
  868. "required": true
  869. },
  870. {
  871. "type": "string",
  872. "description": "现货合同ID, 不填则查所有",
  873. "name": "relatedid",
  874. "in": "query"
  875. }
  876. ],
  877. "responses": {
  878. "200": {
  879. "description": "OK",
  880. "schema": {
  881. "type": "array",
  882. "items": {
  883. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  884. }
  885. }
  886. },
  887. "500": {
  888. "description": "Internal Server Error",
  889. "schema": {
  890. "$ref": "#/definitions/app.Response"
  891. }
  892. }
  893. }
  894. }
  895. },
  896. "/Ermcp/QueryChangeLog": {
  897. "get": {
  898. "security": [
  899. {
  900. "ApiKeyAuth": []
  901. }
  902. ],
  903. "produces": [
  904. "application/json"
  905. ],
  906. "tags": [
  907. "企业风险管理(app)"
  908. ],
  909. "summary": "查询变更记录",
  910. "parameters": [
  911. {
  912. "type": "string",
  913. "description": "用户ID",
  914. "name": "RelatedId",
  915. "in": "query",
  916. "required": true
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "type": "array",
  924. "items": {
  925. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  926. }
  927. }
  928. },
  929. "500": {
  930. "description": "Internal Server Error",
  931. "schema": {
  932. "$ref": "#/definitions/app.Response"
  933. }
  934. }
  935. }
  936. }
  937. },
  938. "/Ermcp/QueryContract": {
  939. "get": {
  940. "security": [
  941. {
  942. "ApiKeyAuth": []
  943. }
  944. ],
  945. "produces": [
  946. "application/json"
  947. ],
  948. "tags": [
  949. "企业风险管理(app)"
  950. ],
  951. "summary": "查询合同(采购和销售)",
  952. "parameters": [
  953. {
  954. "type": "integer",
  955. "description": "用户ID",
  956. "name": "userId",
  957. "in": "query",
  958. "required": true
  959. },
  960. {
  961. "type": "integer",
  962. "description": "合同类型 1-采购, -1-销售",
  963. "name": "contracttype",
  964. "in": "query",
  965. "required": true
  966. },
  967. {
  968. "type": "integer",
  969. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  970. "name": "querytype",
  971. "in": "query",
  972. "required": true
  973. }
  974. ],
  975. "responses": {
  976. "200": {
  977. "description": "OK",
  978. "schema": {
  979. "type": "array",
  980. "items": {
  981. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  982. }
  983. }
  984. },
  985. "500": {
  986. "description": "Internal Server Error",
  987. "schema": {
  988. "$ref": "#/definitions/app.Response"
  989. }
  990. }
  991. }
  992. }
  993. },
  994. "/Ermcp/QueryExposureDetail": {
  995. "get": {
  996. "security": [
  997. {
  998. "ApiKeyAuth": []
  999. }
  1000. ],
  1001. "produces": [
  1002. "application/json"
  1003. ],
  1004. "tags": [
  1005. "企业风险管理(app)"
  1006. ],
  1007. "summary": "查询敞口现货明细",
  1008. "parameters": [
  1009. {
  1010. "type": "integer",
  1011. "description": "所属机构ID",
  1012. "name": "areaUserId",
  1013. "in": "query",
  1014. "required": true
  1015. },
  1016. {
  1017. "type": "integer",
  1018. "description": "套保商品",
  1019. "name": "middleGoodsId",
  1020. "in": "query",
  1021. "required": true
  1022. }
  1023. ],
  1024. "responses": {
  1025. "200": {
  1026. "description": "OK",
  1027. "schema": {
  1028. "type": "array",
  1029. "items": {
  1030. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1031. }
  1032. }
  1033. },
  1034. "500": {
  1035. "description": "Internal Server Error",
  1036. "schema": {
  1037. "$ref": "#/definitions/app.Response"
  1038. }
  1039. }
  1040. }
  1041. }
  1042. },
  1043. "/Ermcp/QueryExposureSpot": {
  1044. "get": {
  1045. "security": [
  1046. {
  1047. "ApiKeyAuth": []
  1048. }
  1049. ],
  1050. "produces": [
  1051. "application/json"
  1052. ],
  1053. "tags": [
  1054. "企业风险管理(app)"
  1055. ],
  1056. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1057. "parameters": [
  1058. {
  1059. "type": "integer",
  1060. "description": "所属机构ID",
  1061. "name": "areaUserId",
  1062. "in": "query",
  1063. "required": true
  1064. }
  1065. ],
  1066. "responses": {
  1067. "200": {
  1068. "description": "OK",
  1069. "schema": {
  1070. "type": "array",
  1071. "items": {
  1072. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1073. }
  1074. }
  1075. },
  1076. "500": {
  1077. "description": "Internal Server Error",
  1078. "schema": {
  1079. "$ref": "#/definitions/app.Response"
  1080. }
  1081. }
  1082. }
  1083. }
  1084. },
  1085. "/Ermcp/QueryHedgePlan": {
  1086. "get": {
  1087. "security": [
  1088. {
  1089. "ApiKeyAuth": []
  1090. }
  1091. ],
  1092. "produces": [
  1093. "application/json"
  1094. ],
  1095. "tags": [
  1096. "企业风险管理(app)"
  1097. ],
  1098. "summary": "查询套保计划",
  1099. "parameters": [
  1100. {
  1101. "type": "integer",
  1102. "description": "用户ID",
  1103. "name": "userId",
  1104. "in": "query",
  1105. "required": true
  1106. },
  1107. {
  1108. "type": "string",
  1109. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1110. "name": "HedgePlanStatus",
  1111. "in": "query",
  1112. "required": true
  1113. }
  1114. ],
  1115. "responses": {
  1116. "200": {
  1117. "description": "OK",
  1118. "schema": {
  1119. "type": "array",
  1120. "items": {
  1121. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1122. }
  1123. }
  1124. },
  1125. "500": {
  1126. "description": "Internal Server Error",
  1127. "schema": {
  1128. "$ref": "#/definitions/app.Response"
  1129. }
  1130. }
  1131. }
  1132. }
  1133. },
  1134. "/Ermcp/QueryRealtimeExposure": {
  1135. "get": {
  1136. "security": [
  1137. {
  1138. "ApiKeyAuth": []
  1139. }
  1140. ],
  1141. "produces": [
  1142. "application/json"
  1143. ],
  1144. "tags": [
  1145. "企业风险管理(app)"
  1146. ],
  1147. "summary": "查询实时敞口",
  1148. "parameters": [
  1149. {
  1150. "type": "integer",
  1151. "description": "所属机构ID",
  1152. "name": "AreaUserID",
  1153. "in": "query",
  1154. "required": true
  1155. }
  1156. ],
  1157. "responses": {
  1158. "200": {
  1159. "description": "OK",
  1160. "schema": {
  1161. "type": "array",
  1162. "items": {
  1163. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  1164. }
  1165. }
  1166. },
  1167. "500": {
  1168. "description": "Internal Server Error",
  1169. "schema": {
  1170. "$ref": "#/definitions/app.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/Ermcp/QuerySpotContract": {
  1177. "get": {
  1178. "security": [
  1179. {
  1180. "ApiKeyAuth": []
  1181. }
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "企业风险管理(app)"
  1188. ],
  1189. "summary": "查询现货合同(对应现货合同菜单)",
  1190. "parameters": [
  1191. {
  1192. "type": "integer",
  1193. "description": "用户ID",
  1194. "name": "userId",
  1195. "in": "query",
  1196. "required": true
  1197. },
  1198. {
  1199. "type": "integer",
  1200. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1201. "name": "QueryType",
  1202. "in": "query",
  1203. "required": true
  1204. }
  1205. ],
  1206. "responses": {
  1207. "200": {
  1208. "description": "OK",
  1209. "schema": {
  1210. "type": "array",
  1211. "items": {
  1212. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1213. }
  1214. }
  1215. },
  1216. "500": {
  1217. "description": "Internal Server Error",
  1218. "schema": {
  1219. "$ref": "#/definitions/app.Response"
  1220. }
  1221. }
  1222. }
  1223. }
  1224. },
  1225. "/Ermcp/QueryUserInfo": {
  1226. "get": {
  1227. "security": [
  1228. {
  1229. "ApiKeyAuth": []
  1230. }
  1231. ],
  1232. "produces": [
  1233. "application/json"
  1234. ],
  1235. "tags": [
  1236. "企业风险管理(app)"
  1237. ],
  1238. "summary": "查询客户资料",
  1239. "parameters": [
  1240. {
  1241. "type": "integer",
  1242. "description": "所属机构用户ID",
  1243. "name": "MemberUserID",
  1244. "in": "query",
  1245. "required": true
  1246. },
  1247. {
  1248. "type": "integer",
  1249. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  1250. "name": "queryType",
  1251. "in": "query",
  1252. "required": true
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "type": "array",
  1260. "items": {
  1261. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1262. }
  1263. }
  1264. },
  1265. "500": {
  1266. "description": "Internal Server Error",
  1267. "schema": {
  1268. "$ref": "#/definitions/app.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/Ermcp/QueryWrStandard": {
  1275. "get": {
  1276. "security": [
  1277. {
  1278. "ApiKeyAuth": []
  1279. }
  1280. ],
  1281. "produces": [
  1282. "application/json"
  1283. ],
  1284. "tags": [
  1285. "企业风险管理(app)"
  1286. ],
  1287. "summary": "查询现货商品",
  1288. "parameters": [
  1289. {
  1290. "type": "integer",
  1291. "description": "所属机构ID",
  1292. "name": "userid",
  1293. "in": "query",
  1294. "required": true
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "OK",
  1300. "schema": {
  1301. "type": "array",
  1302. "items": {
  1303. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1304. }
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Erms2/QueryArbitrageStrategy": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "风险管理"
  1328. ],
  1329. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1330. "parameters": [
  1331. {
  1332. "type": "integer",
  1333. "description": "账户ID",
  1334. "name": "userid",
  1335. "in": "query",
  1336. "required": true
  1337. },
  1338. {
  1339. "type": "string",
  1340. "description": "商品组ID(品种ID)",
  1341. "name": "goodsgroupid",
  1342. "in": "query"
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1350. }
  1351. },
  1352. "500": {
  1353. "description": "Internal Server Error",
  1354. "schema": {
  1355. "$ref": "#/definitions/app.Response"
  1356. }
  1357. }
  1358. }
  1359. }
  1360. },
  1361. "/Erms2/QueryInnerTradeDetail": {
  1362. "get": {
  1363. "security": [
  1364. {
  1365. "ApiKeyAuth": []
  1366. }
  1367. ],
  1368. "produces": [
  1369. "application/json"
  1370. ],
  1371. "tags": [
  1372. "风险管理"
  1373. ],
  1374. "summary": "查询内部成交单信息",
  1375. "parameters": [
  1376. {
  1377. "type": "integer",
  1378. "description": "资金账户",
  1379. "name": "accountid",
  1380. "in": "query",
  1381. "required": true
  1382. }
  1383. ],
  1384. "responses": {
  1385. "200": {
  1386. "description": "OK",
  1387. "schema": {
  1388. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1389. }
  1390. },
  1391. "500": {
  1392. "description": "Internal Server Error",
  1393. "schema": {
  1394. "$ref": "#/definitions/app.Response"
  1395. }
  1396. }
  1397. }
  1398. }
  1399. },
  1400. "/Erms2/QuerySpotContract": {
  1401. "get": {
  1402. "security": [
  1403. {
  1404. "ApiKeyAuth": []
  1405. }
  1406. ],
  1407. "produces": [
  1408. "application/json"
  1409. ],
  1410. "tags": [
  1411. "风险管理"
  1412. ],
  1413. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1414. "parameters": [
  1415. {
  1416. "type": "integer",
  1417. "description": "策略申请ID",
  1418. "name": "asapplyid",
  1419. "in": "query",
  1420. "required": true
  1421. },
  1422. {
  1423. "type": "integer",
  1424. "description": "现货合同ID",
  1425. "name": "spotcontractid",
  1426. "in": "query"
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1434. }
  1435. },
  1436. "500": {
  1437. "description": "Internal Server Error",
  1438. "schema": {
  1439. "$ref": "#/definitions/app.Response"
  1440. }
  1441. }
  1442. }
  1443. }
  1444. },
  1445. "/Erms3/AddErms2ASApply": {
  1446. "post": {
  1447. "security": [
  1448. {
  1449. "ApiKeyAuth": []
  1450. }
  1451. ],
  1452. "produces": [
  1453. "application/json"
  1454. ],
  1455. "tags": [
  1456. "风险管理v3"
  1457. ],
  1458. "summary": "新增期现套利业务申请",
  1459. "parameters": [
  1460. {
  1461. "description": "申请参数",
  1462. "name": "jsonBody",
  1463. "in": "body",
  1464. "required": true,
  1465. "schema": {
  1466. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1467. }
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "$ref": "#/definitions/app.Response"
  1475. }
  1476. },
  1477. "500": {
  1478. "description": "Internal Server Error",
  1479. "schema": {
  1480. "$ref": "#/definitions/app.Response"
  1481. }
  1482. }
  1483. }
  1484. }
  1485. },
  1486. "/Erms3/AddErms2SpotTradeApply": {
  1487. "post": {
  1488. "security": [
  1489. {
  1490. "ApiKeyAuth": []
  1491. }
  1492. ],
  1493. "produces": [
  1494. "application/json"
  1495. ],
  1496. "tags": [
  1497. "风险管理v3"
  1498. ],
  1499. "summary": "新增现货贸易业务申请",
  1500. "parameters": [
  1501. {
  1502. "description": "申请参数",
  1503. "name": "jsonBody",
  1504. "in": "body",
  1505. "required": true,
  1506. "schema": {
  1507. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1508. }
  1509. }
  1510. ],
  1511. "responses": {
  1512. "200": {
  1513. "description": "OK",
  1514. "schema": {
  1515. "$ref": "#/definitions/app.Response"
  1516. }
  1517. },
  1518. "500": {
  1519. "description": "Internal Server Error",
  1520. "schema": {
  1521. "$ref": "#/definitions/app.Response"
  1522. }
  1523. }
  1524. }
  1525. }
  1526. },
  1527. "/Erms3/AddSpotContractApply": {
  1528. "post": {
  1529. "security": [
  1530. {
  1531. "ApiKeyAuth": []
  1532. }
  1533. ],
  1534. "produces": [
  1535. "application/json"
  1536. ],
  1537. "tags": [
  1538. "风险管理v3"
  1539. ],
  1540. "summary": "新增现货合同申请",
  1541. "parameters": [
  1542. {
  1543. "description": "申请参数",
  1544. "name": "jsonBody",
  1545. "in": "body",
  1546. "required": true,
  1547. "schema": {
  1548. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1549. }
  1550. }
  1551. ],
  1552. "responses": {
  1553. "200": {
  1554. "description": "OK",
  1555. "schema": {
  1556. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1557. }
  1558. },
  1559. "500": {
  1560. "description": "Internal Server Error",
  1561. "schema": {
  1562. "$ref": "#/definitions/app.Response"
  1563. }
  1564. }
  1565. }
  1566. }
  1567. },
  1568. "/Erms3/AddUserInfoApply": {
  1569. "post": {
  1570. "security": [
  1571. {
  1572. "ApiKeyAuth": []
  1573. }
  1574. ],
  1575. "produces": [
  1576. "application/json"
  1577. ],
  1578. "tags": [
  1579. "风险管理v3"
  1580. ],
  1581. "summary": "新增客户申请",
  1582. "parameters": [
  1583. {
  1584. "description": "申请参数",
  1585. "name": "jsonBody",
  1586. "in": "body",
  1587. "required": true,
  1588. "schema": {
  1589. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1590. }
  1591. }
  1592. ],
  1593. "responses": {
  1594. "200": {
  1595. "description": "OK",
  1596. "schema": {
  1597. "$ref": "#/definitions/app.Response"
  1598. }
  1599. },
  1600. "500": {
  1601. "description": "Internal Server Error",
  1602. "schema": {
  1603. "$ref": "#/definitions/app.Response"
  1604. }
  1605. }
  1606. }
  1607. }
  1608. },
  1609. "/Erms3/QueryBusinessInfo": {
  1610. "get": {
  1611. "security": [
  1612. {
  1613. "ApiKeyAuth": []
  1614. }
  1615. ],
  1616. "produces": [
  1617. "application/json"
  1618. ],
  1619. "tags": [
  1620. "风险管理v3"
  1621. ],
  1622. "summary": "查询业务表单数据",
  1623. "parameters": [
  1624. {
  1625. "type": "string",
  1626. "description": "资金账号ID列表,用逗号分隔",
  1627. "name": "accountids",
  1628. "in": "query",
  1629. "required": true
  1630. },
  1631. {
  1632. "type": "integer",
  1633. "description": "状态,0为未结束 1为已结束",
  1634. "name": "status",
  1635. "in": "query",
  1636. "required": true
  1637. }
  1638. ],
  1639. "responses": {
  1640. "200": {
  1641. "description": "OK",
  1642. "schema": {
  1643. "type": "array",
  1644. "items": {
  1645. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1646. }
  1647. }
  1648. },
  1649. "500": {
  1650. "description": "Internal Server Error",
  1651. "schema": {
  1652. "$ref": "#/definitions/app.Response"
  1653. }
  1654. }
  1655. }
  1656. }
  1657. },
  1658. "/Erms3/QueryPendingAuditContract": {
  1659. "get": {
  1660. "security": [
  1661. {
  1662. "ApiKeyAuth": []
  1663. }
  1664. ],
  1665. "produces": [
  1666. "application/json"
  1667. ],
  1668. "tags": [
  1669. "风险管理v3"
  1670. ],
  1671. "summary": "查询待审核合同",
  1672. "parameters": [
  1673. {
  1674. "type": "string",
  1675. "description": "资金账号ID列表,逗号隔开",
  1676. "name": "accountids",
  1677. "in": "query",
  1678. "required": true
  1679. },
  1680. {
  1681. "type": "integer",
  1682. "description": "合同类型 1-采购 -1-销售",
  1683. "name": "contracttype",
  1684. "in": "query",
  1685. "required": true
  1686. },
  1687. {
  1688. "type": "integer",
  1689. "description": "合同模式 1-普通 2-回购",
  1690. "name": "contractmode",
  1691. "in": "query",
  1692. "required": true
  1693. }
  1694. ],
  1695. "responses": {
  1696. "200": {
  1697. "description": "OK",
  1698. "schema": {
  1699. "type": "array",
  1700. "items": {
  1701. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1702. }
  1703. }
  1704. },
  1705. "500": {
  1706. "description": "Internal Server Error",
  1707. "schema": {
  1708. "$ref": "#/definitions/app.Response"
  1709. }
  1710. }
  1711. }
  1712. }
  1713. },
  1714. "/Erms3/QueryPendingBusiness": {
  1715. "get": {
  1716. "security": [
  1717. {
  1718. "ApiKeyAuth": []
  1719. }
  1720. ],
  1721. "produces": [
  1722. "application/json"
  1723. ],
  1724. "tags": [
  1725. "风险管理v3"
  1726. ],
  1727. "summary": "查询待审核基差贸易业务",
  1728. "parameters": [
  1729. {
  1730. "type": "string",
  1731. "description": "资金账号ID列表,逗号隔开",
  1732. "name": "accountids",
  1733. "in": "query",
  1734. "required": true
  1735. }
  1736. ],
  1737. "responses": {
  1738. "200": {
  1739. "description": "OK",
  1740. "schema": {
  1741. "type": "array",
  1742. "items": {
  1743. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1744. }
  1745. }
  1746. },
  1747. "500": {
  1748. "description": "Internal Server Error",
  1749. "schema": {
  1750. "$ref": "#/definitions/app.Response"
  1751. }
  1752. }
  1753. }
  1754. }
  1755. },
  1756. "/Erms3/QuerySpotContractAppleForm": {
  1757. "get": {
  1758. "security": [
  1759. {
  1760. "ApiKeyAuth": []
  1761. }
  1762. ],
  1763. "produces": [
  1764. "application/json"
  1765. ],
  1766. "tags": [
  1767. "风险管理v3"
  1768. ],
  1769. "summary": "查询合同申请表单数据",
  1770. "parameters": [
  1771. {
  1772. "type": "integer",
  1773. "description": "登录账号",
  1774. "name": "loginID",
  1775. "in": "query",
  1776. "required": true
  1777. }
  1778. ],
  1779. "responses": {
  1780. "200": {
  1781. "description": "OK",
  1782. "schema": {
  1783. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1784. }
  1785. },
  1786. "500": {
  1787. "description": "Internal Server Error",
  1788. "schema": {
  1789. "$ref": "#/definitions/app.Response"
  1790. }
  1791. }
  1792. }
  1793. }
  1794. },
  1795. "/Erms3/QuerySpotContractDetail": {
  1796. "get": {
  1797. "security": [
  1798. {
  1799. "ApiKeyAuth": []
  1800. }
  1801. ],
  1802. "produces": [
  1803. "application/json"
  1804. ],
  1805. "tags": [
  1806. "风险管理v3"
  1807. ],
  1808. "summary": "查询合同详细信息",
  1809. "parameters": [
  1810. {
  1811. "type": "string",
  1812. "description": "资金账号ID列表,用逗号分隔",
  1813. "name": "accountids",
  1814. "in": "query",
  1815. "required": true
  1816. },
  1817. {
  1818. "type": "integer",
  1819. "description": "合同类型,1为采购合同 -1为销售合同",
  1820. "name": "contracttype",
  1821. "in": "query",
  1822. "required": true
  1823. },
  1824. {
  1825. "type": "integer",
  1826. "description": "合同模式,1为普通合同 2为回购销售合同",
  1827. "name": "contractmode",
  1828. "in": "query",
  1829. "required": true
  1830. },
  1831. {
  1832. "type": "integer",
  1833. "description": "状态,0为履约中 1为已完成",
  1834. "name": "status",
  1835. "in": "query",
  1836. "required": true
  1837. }
  1838. ],
  1839. "responses": {
  1840. "200": {
  1841. "description": "OK",
  1842. "schema": {
  1843. "type": "array",
  1844. "items": {
  1845. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1846. }
  1847. }
  1848. },
  1849. "500": {
  1850. "description": "Internal Server Error",
  1851. "schema": {
  1852. "$ref": "#/definitions/app.Response"
  1853. }
  1854. }
  1855. }
  1856. }
  1857. },
  1858. "/Erms3/QueryUserInfoApplies": {
  1859. "get": {
  1860. "security": [
  1861. {
  1862. "ApiKeyAuth": []
  1863. }
  1864. ],
  1865. "produces": [
  1866. "application/json"
  1867. ],
  1868. "tags": [
  1869. "风险管理v3"
  1870. ],
  1871. "summary": "客户申请信息查询",
  1872. "parameters": [
  1873. {
  1874. "type": "integer",
  1875. "description": "页码",
  1876. "name": "page",
  1877. "in": "query"
  1878. },
  1879. {
  1880. "type": "integer",
  1881. "description": "每页条数",
  1882. "name": "pagesize",
  1883. "in": "query"
  1884. },
  1885. {
  1886. "type": "string",
  1887. "description": "客户名称,支持模糊查询",
  1888. "name": "userName",
  1889. "in": "query"
  1890. }
  1891. ],
  1892. "responses": {
  1893. "200": {
  1894. "description": "OK",
  1895. "schema": {
  1896. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1897. }
  1898. },
  1899. "500": {
  1900. "description": "Internal Server Error",
  1901. "schema": {
  1902. "$ref": "#/definitions/app.Response"
  1903. }
  1904. }
  1905. }
  1906. }
  1907. },
  1908. "/Erms3/QueryUserInfos": {
  1909. "get": {
  1910. "security": [
  1911. {
  1912. "ApiKeyAuth": []
  1913. }
  1914. ],
  1915. "produces": [
  1916. "application/json"
  1917. ],
  1918. "tags": [
  1919. "风险管理v3"
  1920. ],
  1921. "summary": "客户信息查询",
  1922. "parameters": [
  1923. {
  1924. "type": "integer",
  1925. "description": "页码",
  1926. "name": "page",
  1927. "in": "query"
  1928. },
  1929. {
  1930. "type": "integer",
  1931. "description": "每页条数",
  1932. "name": "pagesize",
  1933. "in": "query"
  1934. },
  1935. {
  1936. "type": "string",
  1937. "description": "客户名称,支持模糊查询",
  1938. "name": "userName",
  1939. "in": "query"
  1940. }
  1941. ],
  1942. "responses": {
  1943. "200": {
  1944. "description": "OK",
  1945. "schema": {
  1946. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1947. }
  1948. },
  1949. "500": {
  1950. "description": "Internal Server Error",
  1951. "schema": {
  1952. "$ref": "#/definitions/app.Response"
  1953. }
  1954. }
  1955. }
  1956. }
  1957. },
  1958. "/HSBY/GetHsbyMyCount": {
  1959. "get": {
  1960. "security": [
  1961. {
  1962. "ApiKeyAuth": []
  1963. }
  1964. ],
  1965. "description": "说明: 不包括已完成的数量。",
  1966. "produces": [
  1967. "application/json"
  1968. ],
  1969. "tags": [
  1970. "定制【海商报业】"
  1971. ],
  1972. "summary": "获取我的订单与包裹数量",
  1973. "parameters": [
  1974. {
  1975. "type": "string",
  1976. "description": "资金账户列表,格式:1,2,3",
  1977. "name": "accountIDs",
  1978. "in": "query",
  1979. "required": true
  1980. }
  1981. ],
  1982. "responses": {
  1983. "200": {
  1984. "description": "OK",
  1985. "schema": {
  1986. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1987. }
  1988. },
  1989. "500": {
  1990. "description": "Internal Server Error",
  1991. "schema": {
  1992. "$ref": "#/definitions/app.Response"
  1993. }
  1994. }
  1995. }
  1996. }
  1997. },
  1998. "/HSBY/QueryClientFixedADConfigs": {
  1999. "get": {
  2000. "security": [
  2001. {
  2002. "ApiKeyAuth": []
  2003. }
  2004. ],
  2005. "produces": [
  2006. "application/json"
  2007. ],
  2008. "tags": [
  2009. "定制【海商报业】"
  2010. ],
  2011. "summary": "获取终端固定广告配置",
  2012. "responses": {
  2013. "200": {
  2014. "description": "OK",
  2015. "schema": {
  2016. "$ref": "#/definitions/models.Clientfixedadconfig"
  2017. }
  2018. },
  2019. "500": {
  2020. "description": "Internal Server Error",
  2021. "schema": {
  2022. "$ref": "#/definitions/app.Response"
  2023. }
  2024. }
  2025. }
  2026. }
  2027. },
  2028. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  2029. "get": {
  2030. "security": [
  2031. {
  2032. "ApiKeyAuth": []
  2033. }
  2034. ],
  2035. "produces": [
  2036. "application/json"
  2037. ],
  2038. "tags": [
  2039. "定制【海商报业】"
  2040. ],
  2041. "summary": "查询\"我的订单 - 已完成\"单据信息",
  2042. "parameters": [
  2043. {
  2044. "type": "integer",
  2045. "description": "页码",
  2046. "name": "page",
  2047. "in": "query"
  2048. },
  2049. {
  2050. "type": "integer",
  2051. "description": "每页条数",
  2052. "name": "pagesize",
  2053. "in": "query"
  2054. },
  2055. {
  2056. "type": "string",
  2057. "description": "资金账户列表,格式:1,2,3",
  2058. "name": "accountIDs",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  2068. }
  2069. },
  2070. "500": {
  2071. "description": "Internal Server Error",
  2072. "schema": {
  2073. "$ref": "#/definitions/app.Response"
  2074. }
  2075. }
  2076. }
  2077. }
  2078. },
  2079. "/HSBY/QueryHsbyGoodsOrderDetails": {
  2080. "get": {
  2081. "security": [
  2082. {
  2083. "ApiKeyAuth": []
  2084. }
  2085. ],
  2086. "description": "说明:查询结果已按委托价格和委托时间排序",
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "定制【海商报业】"
  2092. ],
  2093. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "商品ID",
  2098. "name": "goodsID",
  2099. "in": "query",
  2100. "required": true
  2101. },
  2102. {
  2103. "type": "string",
  2104. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  2105. "name": "accountIDs",
  2106. "in": "query"
  2107. },
  2108. {
  2109. "type": "integer",
  2110. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  2111. "name": "buyOrSell",
  2112. "in": "query"
  2113. },
  2114. {
  2115. "type": "number",
  2116. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  2117. "name": "price",
  2118. "in": "query"
  2119. },
  2120. {
  2121. "type": "integer",
  2122. "description": "档位,不传则默认为3档",
  2123. "name": "speed",
  2124. "in": "query"
  2125. }
  2126. ],
  2127. "responses": {
  2128. "200": {
  2129. "description": "OK",
  2130. "schema": {
  2131. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  2132. }
  2133. },
  2134. "500": {
  2135. "description": "Internal Server Error",
  2136. "schema": {
  2137. "$ref": "#/definitions/app.Response"
  2138. }
  2139. }
  2140. }
  2141. }
  2142. },
  2143. "/HSBY/QueryHsbyListingGoodsDetail": {
  2144. "get": {
  2145. "security": [
  2146. {
  2147. "ApiKeyAuth": []
  2148. }
  2149. ],
  2150. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  2151. "produces": [
  2152. "application/json"
  2153. ],
  2154. "tags": [
  2155. "定制【海商报业】"
  2156. ],
  2157. "summary": "查询二级市场(挂牌点选)商品信息详情",
  2158. "parameters": [
  2159. {
  2160. "type": "integer",
  2161. "description": "商品ID",
  2162. "name": "goodsID",
  2163. "in": "query",
  2164. "required": true
  2165. },
  2166. {
  2167. "type": "integer",
  2168. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  2169. "name": "accountID",
  2170. "in": "query"
  2171. }
  2172. ],
  2173. "responses": {
  2174. "200": {
  2175. "description": "OK",
  2176. "schema": {
  2177. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  2178. }
  2179. },
  2180. "500": {
  2181. "description": "Internal Server Error",
  2182. "schema": {
  2183. "$ref": "#/definitions/app.Response"
  2184. }
  2185. }
  2186. }
  2187. }
  2188. },
  2189. "/HSBY/QueryHsbyMarketGoodsDetail": {
  2190. "get": {
  2191. "security": [
  2192. {
  2193. "ApiKeyAuth": []
  2194. }
  2195. ],
  2196. "produces": [
  2197. "application/json"
  2198. ],
  2199. "tags": [
  2200. "定制【海商报业】"
  2201. ],
  2202. "summary": "查询三级市场(商城)商品信息详情",
  2203. "parameters": [
  2204. {
  2205. "type": "integer",
  2206. "description": "委托单号",
  2207. "name": "orderID",
  2208. "in": "query",
  2209. "required": true
  2210. },
  2211. {
  2212. "type": "integer",
  2213. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2214. "name": "accountID",
  2215. "in": "query"
  2216. }
  2217. ],
  2218. "responses": {
  2219. "200": {
  2220. "description": "OK",
  2221. "schema": {
  2222. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2223. }
  2224. },
  2225. "500": {
  2226. "description": "Internal Server Error",
  2227. "schema": {
  2228. "$ref": "#/definitions/app.Response"
  2229. }
  2230. }
  2231. }
  2232. }
  2233. },
  2234. "/HSBY/QueryHsbyMarketGoodses": {
  2235. "get": {
  2236. "security": [
  2237. {
  2238. "ApiKeyAuth": []
  2239. }
  2240. ],
  2241. "produces": [
  2242. "application/json"
  2243. ],
  2244. "tags": [
  2245. "定制【海商报业】"
  2246. ],
  2247. "summary": "查询特卖商品列表(三级商城)",
  2248. "parameters": [
  2249. {
  2250. "type": "integer",
  2251. "description": "页码",
  2252. "name": "page",
  2253. "in": "query"
  2254. },
  2255. {
  2256. "type": "integer",
  2257. "description": "每页条数",
  2258. "name": "pagesize",
  2259. "in": "query"
  2260. },
  2261. {
  2262. "type": "string",
  2263. "description": "市场ID列表,格式:1,2,3",
  2264. "name": "marketIDs",
  2265. "in": "query",
  2266. "required": true
  2267. },
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. },
  2275. {
  2276. "type": "integer",
  2277. "description": "类别ID",
  2278. "name": "categoryID",
  2279. "in": "query"
  2280. },
  2281. {
  2282. "type": "string",
  2283. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2284. "name": "goodsIDs",
  2285. "in": "query"
  2286. },
  2287. {
  2288. "type": "integer",
  2289. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2290. "name": "couponTypeID",
  2291. "in": "query"
  2292. }
  2293. ],
  2294. "responses": {
  2295. "200": {
  2296. "description": "OK",
  2297. "schema": {
  2298. "$ref": "#/definitions/models.HsbyMarketGoods"
  2299. }
  2300. },
  2301. "500": {
  2302. "description": "Internal Server Error",
  2303. "schema": {
  2304. "$ref": "#/definitions/app.Response"
  2305. }
  2306. }
  2307. }
  2308. }
  2309. },
  2310. "/HSBY/QueryHsbyMarkets": {
  2311. "get": {
  2312. "security": [
  2313. {
  2314. "ApiKeyAuth": []
  2315. }
  2316. ],
  2317. "produces": [
  2318. "application/json"
  2319. ],
  2320. "tags": [
  2321. "定制【海商报业】"
  2322. ],
  2323. "summary": "查询海商报业相关市场信息",
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "$ref": "#/definitions/models.HsbyMarketInfo"
  2329. }
  2330. },
  2331. "500": {
  2332. "description": "Internal Server Error",
  2333. "schema": {
  2334. "$ref": "#/definitions/app.Response"
  2335. }
  2336. }
  2337. }
  2338. }
  2339. },
  2340. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2341. "get": {
  2342. "security": [
  2343. {
  2344. "ApiKeyAuth": []
  2345. }
  2346. ],
  2347. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2348. "produces": [
  2349. "application/json"
  2350. ],
  2351. "tags": [
  2352. "定制【海商报业】"
  2353. ],
  2354. "summary": "查询“我的订单”信息",
  2355. "parameters": [
  2356. {
  2357. "type": "string",
  2358. "description": "资金账户列表,格式:1,2,3",
  2359. "name": "accountIDs",
  2360. "in": "query",
  2361. "required": true
  2362. },
  2363. {
  2364. "type": "integer",
  2365. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2366. "name": "myBuyStatus",
  2367. "in": "query"
  2368. }
  2369. ],
  2370. "responses": {
  2371. "200": {
  2372. "description": "OK",
  2373. "schema": {
  2374. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2375. }
  2376. },
  2377. "500": {
  2378. "description": "Internal Server Error",
  2379. "schema": {
  2380. "$ref": "#/definitions/app.Response"
  2381. }
  2382. }
  2383. }
  2384. }
  2385. },
  2386. "/HSBY/QueryHsbyMyGoods": {
  2387. "get": {
  2388. "security": [
  2389. {
  2390. "ApiKeyAuth": []
  2391. }
  2392. ],
  2393. "produces": [
  2394. "application/json"
  2395. ],
  2396. "tags": [
  2397. "定制【海商报业】"
  2398. ],
  2399. "summary": "查询“我的商品”信息",
  2400. "parameters": [
  2401. {
  2402. "type": "string",
  2403. "description": "资金账户列表,格式:1,2,3",
  2404. "name": "accountIDs",
  2405. "in": "query",
  2406. "required": true
  2407. }
  2408. ],
  2409. "responses": {
  2410. "200": {
  2411. "description": "OK",
  2412. "schema": {
  2413. "$ref": "#/definitions/models.HsbyMyGoods"
  2414. }
  2415. },
  2416. "500": {
  2417. "description": "Internal Server Error",
  2418. "schema": {
  2419. "$ref": "#/definitions/app.Response"
  2420. }
  2421. }
  2422. }
  2423. }
  2424. },
  2425. "/HSBY/QueryHsbyMyPackages": {
  2426. "get": {
  2427. "security": [
  2428. {
  2429. "ApiKeyAuth": []
  2430. }
  2431. ],
  2432. "produces": [
  2433. "application/json"
  2434. ],
  2435. "tags": [
  2436. "定制【海商报业】"
  2437. ],
  2438. "summary": "查询我的包裹信息",
  2439. "parameters": [
  2440. {
  2441. "type": "string",
  2442. "description": "资金账户列表,格式:1,2,3",
  2443. "name": "accountIDs",
  2444. "in": "query",
  2445. "required": true
  2446. },
  2447. {
  2448. "type": "integer",
  2449. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2450. "name": "takeOrderStatus",
  2451. "in": "query"
  2452. }
  2453. ],
  2454. "responses": {
  2455. "200": {
  2456. "description": "OK",
  2457. "schema": {
  2458. "$ref": "#/definitions/models.HsbyMyPackage"
  2459. }
  2460. },
  2461. "500": {
  2462. "description": "Internal Server Error",
  2463. "schema": {
  2464. "$ref": "#/definitions/app.Response"
  2465. }
  2466. }
  2467. }
  2468. }
  2469. },
  2470. "/HSBY/QueryHsbyPreGoodsDetail": {
  2471. "get": {
  2472. "security": [
  2473. {
  2474. "ApiKeyAuth": []
  2475. }
  2476. ],
  2477. "produces": [
  2478. "application/json"
  2479. ],
  2480. "tags": [
  2481. "定制【海商报业】"
  2482. ],
  2483. "summary": "查询一级市场(预售)商品信息详情",
  2484. "parameters": [
  2485. {
  2486. "type": "integer",
  2487. "description": "商品ID",
  2488. "name": "goodsID",
  2489. "in": "query",
  2490. "required": true
  2491. },
  2492. {
  2493. "type": "integer",
  2494. "description": "资金账户,主要用于获取预售商品购买上限",
  2495. "name": "accountID",
  2496. "in": "query"
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2504. }
  2505. },
  2506. "500": {
  2507. "description": "Internal Server Error",
  2508. "schema": {
  2509. "$ref": "#/definitions/app.Response"
  2510. }
  2511. }
  2512. }
  2513. }
  2514. },
  2515. "/HSBY/QueryHsbyPreGoodses": {
  2516. "get": {
  2517. "security": [
  2518. {
  2519. "ApiKeyAuth": []
  2520. }
  2521. ],
  2522. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2523. "produces": [
  2524. "application/json"
  2525. ],
  2526. "tags": [
  2527. "定制【海商报业】"
  2528. ],
  2529. "summary": "查询新品上市商品列表(一级市场预售)",
  2530. "parameters": [
  2531. {
  2532. "type": "integer",
  2533. "description": "页码",
  2534. "name": "page",
  2535. "in": "query"
  2536. },
  2537. {
  2538. "type": "integer",
  2539. "description": "每页条数",
  2540. "name": "pagesize",
  2541. "in": "query"
  2542. },
  2543. {
  2544. "type": "string",
  2545. "description": "市场ID列表,格式:1,2,3",
  2546. "name": "marketIDs",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "目的地(省)ID",
  2553. "name": "descProvinceID",
  2554. "in": "query"
  2555. },
  2556. {
  2557. "type": "integer",
  2558. "description": "目的地(市)ID",
  2559. "name": "descCityID",
  2560. "in": "query"
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "$ref": "#/definitions/models.HsbyPreGoods"
  2568. }
  2569. },
  2570. "500": {
  2571. "description": "Internal Server Error",
  2572. "schema": {
  2573. "$ref": "#/definitions/app.Response"
  2574. }
  2575. }
  2576. }
  2577. }
  2578. },
  2579. "/HSBY/QueryHsbySellMyDetails": {
  2580. "get": {
  2581. "security": [
  2582. {
  2583. "ApiKeyAuth": []
  2584. }
  2585. ],
  2586. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2587. "produces": [
  2588. "application/json"
  2589. ],
  2590. "tags": [
  2591. "定制【海商报业】"
  2592. ],
  2593. "summary": "查询\"我的闲置\"单据信息",
  2594. "parameters": [
  2595. {
  2596. "type": "integer",
  2597. "description": "页码",
  2598. "name": "page",
  2599. "in": "query"
  2600. },
  2601. {
  2602. "type": "integer",
  2603. "description": "每页条数",
  2604. "name": "pagesize",
  2605. "in": "query"
  2606. },
  2607. {
  2608. "type": "string",
  2609. "description": "资金账户列表,格式:1,2,3",
  2610. "name": "accountIDs",
  2611. "in": "query",
  2612. "required": true
  2613. },
  2614. {
  2615. "type": "integer",
  2616. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2617. "name": "orderType",
  2618. "in": "query"
  2619. }
  2620. ],
  2621. "responses": {
  2622. "200": {
  2623. "description": "OK",
  2624. "schema": {
  2625. "$ref": "#/definitions/models.HsbySellMyDetail"
  2626. }
  2627. },
  2628. "500": {
  2629. "description": "Internal Server Error",
  2630. "schema": {
  2631. "$ref": "#/definitions/app.Response"
  2632. }
  2633. }
  2634. }
  2635. }
  2636. },
  2637. "/HSBY/QueryHsbyTopGoodses": {
  2638. "get": {
  2639. "security": [
  2640. {
  2641. "ApiKeyAuth": []
  2642. }
  2643. ],
  2644. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2645. "produces": [
  2646. "application/json"
  2647. ],
  2648. "tags": [
  2649. "定制【海商报业】"
  2650. ],
  2651. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2652. "parameters": [
  2653. {
  2654. "type": "integer",
  2655. "description": "页码",
  2656. "name": "page",
  2657. "in": "query"
  2658. },
  2659. {
  2660. "type": "integer",
  2661. "description": "每页条数",
  2662. "name": "pagesize",
  2663. "in": "query"
  2664. },
  2665. {
  2666. "type": "string",
  2667. "description": "市场ID列表,格式:1,2,3",
  2668. "name": "marketIDs",
  2669. "in": "query",
  2670. "required": true
  2671. },
  2672. {
  2673. "type": "integer",
  2674. "description": "目的地(省)ID",
  2675. "name": "descProvinceID",
  2676. "in": "query"
  2677. },
  2678. {
  2679. "type": "integer",
  2680. "description": "目的地(市)ID",
  2681. "name": "descCityID",
  2682. "in": "query"
  2683. }
  2684. ],
  2685. "responses": {
  2686. "200": {
  2687. "description": "OK",
  2688. "schema": {
  2689. "$ref": "#/definitions/models.HsbyTopGoods"
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  2709. "produces": [
  2710. "application/json"
  2711. ],
  2712. "tags": [
  2713. "定制【海商报业】"
  2714. ],
  2715. "summary": "查询游客特卖商品列表(三级商城)",
  2716. "parameters": [
  2717. {
  2718. "type": "integer",
  2719. "description": "页码",
  2720. "name": "page",
  2721. "in": "query"
  2722. },
  2723. {
  2724. "type": "integer",
  2725. "description": "每页条数",
  2726. "name": "pagesize",
  2727. "in": "query"
  2728. },
  2729. {
  2730. "type": "string",
  2731. "description": "市场ID列表,格式:1,2,3",
  2732. "name": "marketIDs",
  2733. "in": "query",
  2734. "required": true
  2735. },
  2736. {
  2737. "type": "integer",
  2738. "description": "类别ID",
  2739. "name": "categoryID",
  2740. "in": "query"
  2741. },
  2742. {
  2743. "type": "string",
  2744. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2745. "name": "goodsIDs",
  2746. "in": "query"
  2747. }
  2748. ],
  2749. "responses": {
  2750. "200": {
  2751. "description": "OK",
  2752. "schema": {
  2753. "$ref": "#/definitions/models.HsbyMarketGoods"
  2754. }
  2755. },
  2756. "500": {
  2757. "description": "Internal Server Error",
  2758. "schema": {
  2759. "$ref": "#/definitions/app.Response"
  2760. }
  2761. }
  2762. }
  2763. }
  2764. },
  2765. "/HSBY/QueryMyCollectionOrders": {
  2766. "get": {
  2767. "security": [
  2768. {
  2769. "ApiKeyAuth": []
  2770. }
  2771. ],
  2772. "produces": [
  2773. "application/json"
  2774. ],
  2775. "tags": [
  2776. "定制【海商报业】"
  2777. ],
  2778. "summary": "我的闲置中收款信息查询",
  2779. "parameters": [
  2780. {
  2781. "type": "integer",
  2782. "description": "页码",
  2783. "name": "page",
  2784. "in": "query"
  2785. },
  2786. {
  2787. "type": "integer",
  2788. "description": "每页条数",
  2789. "name": "pagesize",
  2790. "in": "query"
  2791. },
  2792. {
  2793. "type": "string",
  2794. "description": "资金账户,格式:1,2,3",
  2795. "name": "accountIDs",
  2796. "in": "query",
  2797. "required": true
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/HSBY/QueryMyCouponHolds": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2824. "produces": [
  2825. "application/json"
  2826. ],
  2827. "tags": [
  2828. "定制【海商报业】"
  2829. ],
  2830. "summary": "我的优惠卷持仓查询",
  2831. "parameters": [
  2832. {
  2833. "type": "string",
  2834. "description": "资金账户列表,格式:1,2,3",
  2835. "name": "accountIDs",
  2836. "in": "query",
  2837. "required": true
  2838. },
  2839. {
  2840. "type": "string",
  2841. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2842. "name": "holdStatus",
  2843. "in": "query"
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "$ref": "#/definitions/models.MyCouponHold"
  2851. }
  2852. },
  2853. "500": {
  2854. "description": "Internal Server Error",
  2855. "schema": {
  2856. "$ref": "#/definitions/app.Response"
  2857. }
  2858. }
  2859. }
  2860. }
  2861. },
  2862. "/HSBY/QueryMyCoupons": {
  2863. "get": {
  2864. "security": [
  2865. {
  2866. "ApiKeyAuth": []
  2867. }
  2868. ],
  2869. "produces": [
  2870. "application/json"
  2871. ],
  2872. "tags": [
  2873. "定制【海商报业】"
  2874. ],
  2875. "summary": "我的优惠卷查询",
  2876. "parameters": [
  2877. {
  2878. "type": "string",
  2879. "description": "资金账户列表,格式:1,2,3",
  2880. "name": "accountIDs",
  2881. "in": "query",
  2882. "required": true
  2883. },
  2884. {
  2885. "type": "integer",
  2886. "description": "商品ID, 一般与sellUserID配套传入",
  2887. "name": "goodsID",
  2888. "in": "query"
  2889. },
  2890. {
  2891. "type": "integer",
  2892. "description": "卖方UserID",
  2893. "name": "sellUserID",
  2894. "in": "query"
  2895. }
  2896. ],
  2897. "responses": {
  2898. "200": {
  2899. "description": "OK",
  2900. "schema": {
  2901. "$ref": "#/definitions/models.MyCoupon"
  2902. }
  2903. },
  2904. "500": {
  2905. "description": "Internal Server Error",
  2906. "schema": {
  2907. "$ref": "#/definitions/app.Response"
  2908. }
  2909. }
  2910. }
  2911. }
  2912. },
  2913. "/HSBY/QueryMyPayOrders": {
  2914. "get": {
  2915. "security": [
  2916. {
  2917. "ApiKeyAuth": []
  2918. }
  2919. ],
  2920. "produces": [
  2921. "application/json"
  2922. ],
  2923. "tags": [
  2924. "定制【海商报业】"
  2925. ],
  2926. "summary": "获取我的订单中待付款信息",
  2927. "parameters": [
  2928. {
  2929. "type": "integer",
  2930. "description": "页码",
  2931. "name": "page",
  2932. "in": "query"
  2933. },
  2934. {
  2935. "type": "integer",
  2936. "description": "每页条数",
  2937. "name": "pagesize",
  2938. "in": "query"
  2939. },
  2940. {
  2941. "type": "string",
  2942. "description": "资金账户列表,格式:1,2,3",
  2943. "name": "accountIDs",
  2944. "in": "query",
  2945. "required": true
  2946. },
  2947. {
  2948. "type": "integer",
  2949. "description": "买方委托单号",
  2950. "name": "buyOrderID",
  2951. "in": "query"
  2952. },
  2953. {
  2954. "type": "integer",
  2955. "description": "卖方委托单号",
  2956. "name": "sellOrderID",
  2957. "in": "query"
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2965. }
  2966. },
  2967. "500": {
  2968. "description": "Internal Server Error",
  2969. "schema": {
  2970. "$ref": "#/definitions/app.Response"
  2971. }
  2972. }
  2973. }
  2974. }
  2975. },
  2976. "/HSBY/QueryMyUsedCoupon": {
  2977. "get": {
  2978. "security": [
  2979. {
  2980. "ApiKeyAuth": []
  2981. }
  2982. ],
  2983. "produces": [
  2984. "application/json"
  2985. ],
  2986. "tags": [
  2987. "定制【海商报业】"
  2988. ],
  2989. "summary": "已使用优惠卷查询",
  2990. "parameters": [
  2991. {
  2992. "type": "string",
  2993. "description": "资金账户列表,格式:1,2,3",
  2994. "name": "accountIDs",
  2995. "in": "query",
  2996. "required": true
  2997. }
  2998. ],
  2999. "responses": {
  3000. "200": {
  3001. "description": "OK",
  3002. "schema": {
  3003. "$ref": "#/definitions/models.MyUsedCoupon"
  3004. }
  3005. },
  3006. "500": {
  3007. "description": "Internal Server Error",
  3008. "schema": {
  3009. "$ref": "#/definitions/app.Response"
  3010. }
  3011. }
  3012. }
  3013. }
  3014. },
  3015. "/HSBY/QueryProvincesAndCities": {
  3016. "get": {
  3017. "security": [
  3018. {
  3019. "ApiKeyAuth": []
  3020. }
  3021. ],
  3022. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  3023. "produces": [
  3024. "application/json"
  3025. ],
  3026. "tags": [
  3027. "定制【海商报业】"
  3028. ],
  3029. "summary": "查询省市信息(不包括区)",
  3030. "parameters": [
  3031. {
  3032. "type": "integer",
  3033. "description": "省ID",
  3034. "name": "provinceID",
  3035. "in": "query"
  3036. }
  3037. ],
  3038. "responses": {
  3039. "200": {
  3040. "description": "OK",
  3041. "schema": {
  3042. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  3043. }
  3044. },
  3045. "500": {
  3046. "description": "Internal Server Error",
  3047. "schema": {
  3048. "$ref": "#/definitions/app.Response"
  3049. }
  3050. }
  3051. }
  3052. }
  3053. },
  3054. "/HSBY/SetHsbyMyPackagesStatus": {
  3055. "post": {
  3056. "security": [
  3057. {
  3058. "ApiKeyAuth": []
  3059. }
  3060. ],
  3061. "produces": [
  3062. "application/json"
  3063. ],
  3064. "tags": [
  3065. "定制【海商报业】"
  3066. ],
  3067. "summary": "设置我的包裹已收货状态",
  3068. "parameters": [
  3069. {
  3070. "type": "string",
  3071. "description": "提货单号",
  3072. "name": "takeOrderID",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "资金账号",
  3079. "name": "accountID",
  3080. "in": "query",
  3081. "required": true
  3082. }
  3083. ],
  3084. "responses": {
  3085. "200": {
  3086. "description": "OK",
  3087. "schema": {
  3088. "$ref": "#/definitions/app.Response"
  3089. }
  3090. },
  3091. "500": {
  3092. "description": "Internal Server Error",
  3093. "schema": {
  3094. "$ref": "#/definitions/app.Response"
  3095. }
  3096. }
  3097. }
  3098. }
  3099. },
  3100. "/Market/QueryMarketRun": {
  3101. "get": {
  3102. "security": [
  3103. {
  3104. "ApiKeyAuth": []
  3105. }
  3106. ],
  3107. "produces": [
  3108. "application/json"
  3109. ],
  3110. "tags": [
  3111. "通用市场"
  3112. ],
  3113. "summary": "查询市场运行信息",
  3114. "parameters": [
  3115. {
  3116. "type": "integer",
  3117. "description": "市场ID,不传返回所有",
  3118. "name": "marketID",
  3119. "in": "query"
  3120. }
  3121. ],
  3122. "responses": {
  3123. "200": {
  3124. "description": "OK",
  3125. "schema": {
  3126. "$ref": "#/definitions/models.Marketrun"
  3127. }
  3128. },
  3129. "500": {
  3130. "description": "Internal Server Error",
  3131. "schema": {
  3132. "$ref": "#/definitions/app.Response"
  3133. }
  3134. }
  3135. }
  3136. }
  3137. },
  3138. "/Order/QueryHisTradeDetail": {
  3139. "get": {
  3140. "security": [
  3141. {
  3142. "ApiKeyAuth": []
  3143. }
  3144. ],
  3145. "produces": [
  3146. "application/json"
  3147. ],
  3148. "tags": [
  3149. "通用单据"
  3150. ],
  3151. "summary": "历史成交单查询(合约市场)",
  3152. "parameters": [
  3153. {
  3154. "type": "string",
  3155. "description": "资金账户 - 格式:1,2,3",
  3156. "name": "accountID",
  3157. "in": "query",
  3158. "required": true
  3159. },
  3160. {
  3161. "type": "integer",
  3162. "description": "成交单号",
  3163. "name": "tradeID",
  3164. "in": "query"
  3165. },
  3166. {
  3167. "type": "integer",
  3168. "description": "委托单号",
  3169. "name": "orderID",
  3170. "in": "query"
  3171. },
  3172. {
  3173. "type": "string",
  3174. "description": "交易模式 - 格式:1,2,3",
  3175. "name": "tradeMode",
  3176. "in": "query"
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "委托单据类型",
  3181. "name": "buildType",
  3182. "in": "query"
  3183. },
  3184. {
  3185. "type": "string",
  3186. "description": "成交类别 - 格式:1,2,3",
  3187. "name": "tradeType",
  3188. "in": "query"
  3189. },
  3190. {
  3191. "type": "string",
  3192. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3193. "name": "startDate",
  3194. "in": "query"
  3195. },
  3196. {
  3197. "type": "string",
  3198. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3199. "name": "endDate",
  3200. "in": "query"
  3201. }
  3202. ],
  3203. "responses": {
  3204. "200": {
  3205. "description": "OK",
  3206. "schema": {
  3207. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  3208. }
  3209. },
  3210. "500": {
  3211. "description": "Internal Server Error",
  3212. "schema": {
  3213. "$ref": "#/definitions/app.Response"
  3214. }
  3215. }
  3216. }
  3217. }
  3218. },
  3219. "/Order/QueryHisTradeOrderDetail": {
  3220. "get": {
  3221. "security": [
  3222. {
  3223. "ApiKeyAuth": []
  3224. }
  3225. ],
  3226. "produces": [
  3227. "application/json"
  3228. ],
  3229. "tags": [
  3230. "通用单据"
  3231. ],
  3232. "summary": "历史委托单查询请求(合约市场)",
  3233. "parameters": [
  3234. {
  3235. "type": "string",
  3236. "description": "资金账户 - 格式:1,2,3",
  3237. "name": "accountID",
  3238. "in": "query",
  3239. "required": true
  3240. },
  3241. {
  3242. "type": "string",
  3243. "description": "交易模式 - 格式:1,2,3",
  3244. "name": "tradeMode",
  3245. "in": "query"
  3246. },
  3247. {
  3248. "type": "string",
  3249. "description": "委托状态 - 格式:1,2,3",
  3250. "name": "orderStatus",
  3251. "in": "query"
  3252. },
  3253. {
  3254. "type": "integer",
  3255. "description": "委托单号",
  3256. "name": "orderID",
  3257. "in": "query"
  3258. },
  3259. {
  3260. "type": "string",
  3261. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3262. "name": "startDate",
  3263. "in": "query"
  3264. },
  3265. {
  3266. "type": "string",
  3267. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3268. "name": "endDate",
  3269. "in": "query"
  3270. }
  3271. ],
  3272. "responses": {
  3273. "200": {
  3274. "description": "OK",
  3275. "schema": {
  3276. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3277. }
  3278. },
  3279. "500": {
  3280. "description": "Internal Server Error",
  3281. "schema": {
  3282. "$ref": "#/definitions/app.Response"
  3283. }
  3284. }
  3285. }
  3286. }
  3287. },
  3288. "/Order/QueryTradeDetail": {
  3289. "get": {
  3290. "security": [
  3291. {
  3292. "ApiKeyAuth": []
  3293. }
  3294. ],
  3295. "produces": [
  3296. "application/json"
  3297. ],
  3298. "tags": [
  3299. "通用单据"
  3300. ],
  3301. "summary": "成交单查询(合约市场)",
  3302. "parameters": [
  3303. {
  3304. "type": "string",
  3305. "description": "资金账户 - 格式:1,2,3",
  3306. "name": "accountID",
  3307. "in": "query",
  3308. "required": true
  3309. },
  3310. {
  3311. "type": "integer",
  3312. "description": "成交单号",
  3313. "name": "tradeID",
  3314. "in": "query"
  3315. },
  3316. {
  3317. "type": "integer",
  3318. "description": "委托单号",
  3319. "name": "orderID",
  3320. "in": "query"
  3321. },
  3322. {
  3323. "type": "string",
  3324. "description": "交易模式 - 格式:1,2,3",
  3325. "name": "tradeMode",
  3326. "in": "query"
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "委托单据类型",
  3331. "name": "buildType",
  3332. "in": "query"
  3333. },
  3334. {
  3335. "type": "string",
  3336. "description": "成交类别 - 格式:1,2,3",
  3337. "name": "tradeType",
  3338. "in": "query"
  3339. }
  3340. ],
  3341. "responses": {
  3342. "200": {
  3343. "description": "OK",
  3344. "schema": {
  3345. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3346. }
  3347. },
  3348. "500": {
  3349. "description": "Internal Server Error",
  3350. "schema": {
  3351. "$ref": "#/definitions/app.Response"
  3352. }
  3353. }
  3354. }
  3355. }
  3356. },
  3357. "/Order/QueryTradeOrderDetail": {
  3358. "get": {
  3359. "security": [
  3360. {
  3361. "ApiKeyAuth": []
  3362. }
  3363. ],
  3364. "produces": [
  3365. "application/json"
  3366. ],
  3367. "tags": [
  3368. "通用单据"
  3369. ],
  3370. "summary": "委托单查询请求(合约市场)",
  3371. "parameters": [
  3372. {
  3373. "type": "string",
  3374. "description": "资金账户 - 格式:1,2,3",
  3375. "name": "accountID",
  3376. "in": "query",
  3377. "required": true
  3378. },
  3379. {
  3380. "type": "string",
  3381. "description": "交易模式 - 格式:1,2,3",
  3382. "name": "tradeMode",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "string",
  3387. "description": "委托状态 - 格式:1,2,3",
  3388. "name": "orderStatus",
  3389. "in": "query"
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "委托单号",
  3394. "name": "orderID",
  3395. "in": "query"
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3403. }
  3404. },
  3405. "500": {
  3406. "description": "Internal Server Error",
  3407. "schema": {
  3408. "$ref": "#/definitions/app.Response"
  3409. }
  3410. }
  3411. }
  3412. }
  3413. },
  3414. "/Order/QueryTradePosition": {
  3415. "get": {
  3416. "security": [
  3417. {
  3418. "ApiKeyAuth": []
  3419. }
  3420. ],
  3421. "produces": [
  3422. "application/json"
  3423. ],
  3424. "tags": [
  3425. "通用单据"
  3426. ],
  3427. "summary": "持仓汇总查询(合约市场)",
  3428. "parameters": [
  3429. {
  3430. "type": "string",
  3431. "description": "资金账户 - 格式:1,2,3",
  3432. "name": "accountID",
  3433. "in": "query",
  3434. "required": true
  3435. },
  3436. {
  3437. "type": "string",
  3438. "description": "交易模式 - 格式:1,2,3",
  3439. "name": "tradeMode",
  3440. "in": "query"
  3441. }
  3442. ],
  3443. "responses": {
  3444. "200": {
  3445. "description": "OK",
  3446. "schema": {
  3447. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3448. }
  3449. },
  3450. "500": {
  3451. "description": "Internal Server Error",
  3452. "schema": {
  3453. "$ref": "#/definitions/app.Response"
  3454. }
  3455. }
  3456. }
  3457. }
  3458. },
  3459. "/Quote/QueryHistoryDatas": {
  3460. "get": {
  3461. "security": [
  3462. {
  3463. "ApiKeyAuth": []
  3464. }
  3465. ],
  3466. "produces": [
  3467. "application/json"
  3468. ],
  3469. "tags": [
  3470. "行情服务"
  3471. ],
  3472. "summary": "查询行情历史数据",
  3473. "parameters": [
  3474. {
  3475. "type": "integer",
  3476. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3477. "name": "cycleType",
  3478. "in": "query",
  3479. "required": true
  3480. },
  3481. {
  3482. "type": "string",
  3483. "description": "商品代码",
  3484. "name": "goodsCode",
  3485. "in": "query",
  3486. "required": true
  3487. },
  3488. {
  3489. "type": "string",
  3490. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3491. "name": "startTime",
  3492. "in": "query"
  3493. },
  3494. {
  3495. "type": "string",
  3496. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3497. "name": "endTime",
  3498. "in": "query"
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "条数",
  3503. "name": "count",
  3504. "in": "query"
  3505. },
  3506. {
  3507. "type": "boolean",
  3508. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3509. "name": "isAsc",
  3510. "in": "query"
  3511. }
  3512. ],
  3513. "responses": {
  3514. "200": {
  3515. "description": "OK",
  3516. "schema": {
  3517. "$ref": "#/definitions/quote.HistoryData"
  3518. }
  3519. },
  3520. "500": {
  3521. "description": "Internal Server Error",
  3522. "schema": {
  3523. "$ref": "#/definitions/app.Response"
  3524. }
  3525. }
  3526. }
  3527. }
  3528. },
  3529. "/Quote/QueryTSData": {
  3530. "get": {
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "行情服务"
  3536. ],
  3537. "summary": "分时图数据查询",
  3538. "parameters": [
  3539. {
  3540. "type": "string",
  3541. "description": "商品代码",
  3542. "name": "GoodsCode",
  3543. "in": "query",
  3544. "required": true
  3545. }
  3546. ],
  3547. "responses": {
  3548. "200": {
  3549. "description": "OK",
  3550. "schema": {
  3551. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3552. }
  3553. },
  3554. "500": {
  3555. "description": "Internal Server Error",
  3556. "schema": {
  3557. "$ref": "#/definitions/app.Response"
  3558. }
  3559. }
  3560. }
  3561. }
  3562. },
  3563. "/SZDZ/QueryConvertConfig": {
  3564. "get": {
  3565. "security": [
  3566. {
  3567. "ApiKeyAuth": []
  3568. }
  3569. ],
  3570. "produces": [
  3571. "application/json"
  3572. ],
  3573. "tags": [
  3574. "定制【尚志大宗】"
  3575. ],
  3576. "summary": "查询交易系统转换设置",
  3577. "parameters": [
  3578. {
  3579. "type": "integer",
  3580. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3581. "name": "convertType",
  3582. "in": "query"
  3583. },
  3584. {
  3585. "type": "string",
  3586. "description": "外部商品代码[JD\\PD]",
  3587. "name": "outerGoodsCode",
  3588. "in": "query"
  3589. },
  3590. {
  3591. "type": "string",
  3592. "description": "内部商品ID列表[交易],格式:1,2,3",
  3593. "name": "innerGoodsIDs",
  3594. "in": "query"
  3595. }
  3596. ],
  3597. "responses": {
  3598. "200": {
  3599. "description": "OK",
  3600. "schema": {
  3601. "$ref": "#/definitions/models.Szdz3convertconfig"
  3602. }
  3603. },
  3604. "500": {
  3605. "description": "Internal Server Error",
  3606. "schema": {
  3607. "$ref": "#/definitions/app.Response"
  3608. }
  3609. }
  3610. }
  3611. }
  3612. },
  3613. "/SZDZ/QueryConvertLog": {
  3614. "get": {
  3615. "security": [
  3616. {
  3617. "ApiKeyAuth": []
  3618. }
  3619. ],
  3620. "produces": [
  3621. "application/json"
  3622. ],
  3623. "tags": [
  3624. "定制【尚志大宗】"
  3625. ],
  3626. "summary": "交易系统转换流水查询",
  3627. "parameters": [
  3628. {
  3629. "type": "string",
  3630. "description": "资金账户 - 格式:1,2,3",
  3631. "name": "accountID",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "string",
  3637. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3638. "name": "startDate",
  3639. "in": "query"
  3640. },
  3641. {
  3642. "type": "string",
  3643. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3644. "name": "endDate",
  3645. "in": "query"
  3646. }
  3647. ],
  3648. "responses": {
  3649. "200": {
  3650. "description": "OK",
  3651. "schema": {
  3652. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3653. }
  3654. },
  3655. "500": {
  3656. "description": "Internal Server Error",
  3657. "schema": {
  3658. "$ref": "#/definitions/app.Response"
  3659. }
  3660. }
  3661. }
  3662. }
  3663. },
  3664. "/SZDZ/QueryGoodsPickup": {
  3665. "get": {
  3666. "security": [
  3667. {
  3668. "ApiKeyAuth": []
  3669. }
  3670. ],
  3671. "produces": [
  3672. "application/json"
  3673. ],
  3674. "tags": [
  3675. "定制【尚志大宗】"
  3676. ],
  3677. "summary": "商品提货单查询",
  3678. "parameters": [
  3679. {
  3680. "type": "string",
  3681. "description": "资金账户 - 格式:1,2,3",
  3682. "name": "accountID",
  3683. "in": "query",
  3684. "required": true
  3685. },
  3686. {
  3687. "type": "integer",
  3688. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3689. "name": "takeOrderStatus",
  3690. "in": "query"
  3691. }
  3692. ],
  3693. "responses": {
  3694. "200": {
  3695. "description": "OK",
  3696. "schema": {
  3697. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3698. }
  3699. },
  3700. "500": {
  3701. "description": "Internal Server Error",
  3702. "schema": {
  3703. "$ref": "#/definitions/app.Response"
  3704. }
  3705. }
  3706. }
  3707. }
  3708. },
  3709. "/SZDZ/QueryRecieptOrder": {
  3710. "get": {
  3711. "security": [
  3712. {
  3713. "ApiKeyAuth": []
  3714. }
  3715. ],
  3716. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3717. "produces": [
  3718. "application/json"
  3719. ],
  3720. "tags": [
  3721. "定制【尚志大宗】"
  3722. ],
  3723. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3724. "parameters": [
  3725. {
  3726. "type": "integer",
  3727. "description": "页码",
  3728. "name": "page",
  3729. "in": "query"
  3730. },
  3731. {
  3732. "type": "integer",
  3733. "description": "每页条数",
  3734. "name": "pagesize",
  3735. "in": "query"
  3736. },
  3737. {
  3738. "type": "integer",
  3739. "description": "商品ID",
  3740. "name": "goodsID",
  3741. "in": "query",
  3742. "required": true
  3743. },
  3744. {
  3745. "type": "string",
  3746. "description": "所属账户名称",
  3747. "name": "accountName",
  3748. "in": "query"
  3749. },
  3750. {
  3751. "type": "integer",
  3752. "description": "市场ID",
  3753. "name": "marketID",
  3754. "in": "query"
  3755. },
  3756. {
  3757. "type": "integer",
  3758. "description": "方向 - 0:买 1:卖",
  3759. "name": "buyorsell",
  3760. "in": "query",
  3761. "required": true
  3762. }
  3763. ],
  3764. "responses": {
  3765. "200": {
  3766. "description": "OK",
  3767. "schema": {
  3768. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3769. }
  3770. },
  3771. "500": {
  3772. "description": "Internal Server Error",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. }
  3777. }
  3778. }
  3779. },
  3780. "/SZDZ/QuerySZDZTradePosition": {
  3781. "get": {
  3782. "security": [
  3783. {
  3784. "ApiKeyAuth": []
  3785. }
  3786. ],
  3787. "produces": [
  3788. "application/json"
  3789. ],
  3790. "tags": [
  3791. "定制【尚志大宗】"
  3792. ],
  3793. "summary": "持仓汇总查询(尚志大宗)",
  3794. "parameters": [
  3795. {
  3796. "type": "integer",
  3797. "description": "资金账户",
  3798. "name": "accountID",
  3799. "in": "query",
  3800. "required": true
  3801. }
  3802. ],
  3803. "responses": {
  3804. "200": {
  3805. "description": "OK",
  3806. "schema": {
  3807. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3808. }
  3809. },
  3810. "500": {
  3811. "description": "Internal Server Error",
  3812. "schema": {
  3813. "$ref": "#/definitions/app.Response"
  3814. }
  3815. }
  3816. }
  3817. }
  3818. },
  3819. "/SZDZ/SearchWhite": {
  3820. "get": {
  3821. "security": [
  3822. {
  3823. "ApiKeyAuth": []
  3824. }
  3825. ],
  3826. "produces": [
  3827. "application/json"
  3828. ],
  3829. "tags": [
  3830. "定制【尚志大宗】"
  3831. ],
  3832. "summary": "搜索白名单",
  3833. "parameters": [
  3834. {
  3835. "type": "integer",
  3836. "description": "用户ID",
  3837. "name": "userID",
  3838. "in": "query",
  3839. "required": true
  3840. }
  3841. ],
  3842. "responses": {
  3843. "200": {
  3844. "description": "OK",
  3845. "schema": {
  3846. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3847. }
  3848. },
  3849. "500": {
  3850. "description": "Internal Server Error",
  3851. "schema": {
  3852. "$ref": "#/definitions/app.Response"
  3853. }
  3854. }
  3855. }
  3856. }
  3857. },
  3858. "/Search/SearchGoodses": {
  3859. "get": {
  3860. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "检索服务"
  3866. ],
  3867. "summary": "检索商品信息",
  3868. "parameters": [
  3869. {
  3870. "type": "string",
  3871. "description": "检索内容",
  3872. "name": "content",
  3873. "in": "query",
  3874. "required": true
  3875. },
  3876. {
  3877. "type": "string",
  3878. "description": "交易模式,格式:1,2,3",
  3879. "name": "tradeModes",
  3880. "in": "query"
  3881. }
  3882. ],
  3883. "responses": {
  3884. "200": {
  3885. "description": "OK",
  3886. "schema": {
  3887. "$ref": "#/definitions/models.SearchGoods"
  3888. }
  3889. },
  3890. "500": {
  3891. "description": "Internal Server Error",
  3892. "schema": {
  3893. "$ref": "#/definitions/app.Response"
  3894. }
  3895. }
  3896. }
  3897. }
  3898. },
  3899. "/TaAccount/QueryAmountLog": {
  3900. "get": {
  3901. "security": [
  3902. {
  3903. "ApiKeyAuth": []
  3904. }
  3905. ],
  3906. "produces": [
  3907. "application/json"
  3908. ],
  3909. "tags": [
  3910. "资金账户"
  3911. ],
  3912. "summary": "资金流水查询(当前)",
  3913. "parameters": [
  3914. {
  3915. "type": "integer",
  3916. "description": "页码",
  3917. "name": "page",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "每页条数",
  3923. "name": "pagesize",
  3924. "in": "query"
  3925. },
  3926. {
  3927. "type": "string",
  3928. "description": "资金账户 - 格式:1,2,3",
  3929. "name": "accountID",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "string",
  3935. "description": "资金操作类型 - 格式:1,2,3",
  3936. "name": "OperateType",
  3937. "in": "query"
  3938. }
  3939. ],
  3940. "responses": {
  3941. "200": {
  3942. "description": "OK",
  3943. "schema": {
  3944. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3945. }
  3946. },
  3947. "500": {
  3948. "description": "Internal Server Error",
  3949. "schema": {
  3950. "$ref": "#/definitions/app.Response"
  3951. }
  3952. }
  3953. }
  3954. }
  3955. },
  3956. "/TaAccount/QueryHisAmountLog": {
  3957. "get": {
  3958. "security": [
  3959. {
  3960. "ApiKeyAuth": []
  3961. }
  3962. ],
  3963. "produces": [
  3964. "application/json"
  3965. ],
  3966. "tags": [
  3967. "资金账户"
  3968. ],
  3969. "summary": "资金流水查询(历史)",
  3970. "parameters": [
  3971. {
  3972. "type": "integer",
  3973. "description": "页码",
  3974. "name": "page",
  3975. "in": "query"
  3976. },
  3977. {
  3978. "type": "integer",
  3979. "description": "每页条数",
  3980. "name": "pagesize",
  3981. "in": "query"
  3982. },
  3983. {
  3984. "type": "string",
  3985. "description": "资金账户 - 格式:1,2,3",
  3986. "name": "accountID",
  3987. "in": "query",
  3988. "required": true
  3989. },
  3990. {
  3991. "type": "string",
  3992. "description": "资金操作类型 - 格式:1,2,3",
  3993. "name": "OperateType",
  3994. "in": "query"
  3995. },
  3996. {
  3997. "type": "string",
  3998. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3999. "name": "startDate",
  4000. "in": "query"
  4001. },
  4002. {
  4003. "type": "string",
  4004. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4005. "name": "endDate",
  4006. "in": "query"
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  4014. }
  4015. },
  4016. "500": {
  4017. "description": "Internal Server Error",
  4018. "schema": {
  4019. "$ref": "#/definitions/app.Response"
  4020. }
  4021. }
  4022. }
  4023. }
  4024. },
  4025. "/Trade/QueryRecieptOrder": {
  4026. "get": {
  4027. "security": [
  4028. {
  4029. "ApiKeyAuth": []
  4030. }
  4031. ],
  4032. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  4033. "produces": [
  4034. "application/json"
  4035. ],
  4036. "tags": [
  4037. "通用交易"
  4038. ],
  4039. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  4040. "parameters": [
  4041. {
  4042. "type": "integer",
  4043. "description": "页码",
  4044. "name": "page",
  4045. "in": "query"
  4046. },
  4047. {
  4048. "type": "integer",
  4049. "description": "每页条数",
  4050. "name": "pagesize",
  4051. "in": "query"
  4052. },
  4053. {
  4054. "type": "integer",
  4055. "description": "商品ID",
  4056. "name": "goodsID",
  4057. "in": "query",
  4058. "required": true
  4059. },
  4060. {
  4061. "type": "string",
  4062. "description": "所属账户名称",
  4063. "name": "accountName",
  4064. "in": "query"
  4065. },
  4066. {
  4067. "type": "integer",
  4068. "description": "市场ID",
  4069. "name": "marketID",
  4070. "in": "query"
  4071. },
  4072. {
  4073. "type": "integer",
  4074. "description": "方向 - 0:买 1:卖",
  4075. "name": "buyorsell",
  4076. "in": "query",
  4077. "required": true
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  4085. }
  4086. },
  4087. "500": {
  4088. "description": "Internal Server Error",
  4089. "schema": {
  4090. "$ref": "#/definitions/app.Response"
  4091. }
  4092. }
  4093. }
  4094. }
  4095. },
  4096. "/User/AddMessageBoard": {
  4097. "post": {
  4098. "security": [
  4099. {
  4100. "ApiKeyAuth": []
  4101. }
  4102. ],
  4103. "produces": [
  4104. "application/json"
  4105. ],
  4106. "tags": [
  4107. "用户信息"
  4108. ],
  4109. "summary": "添加用户留言板信息",
  4110. "parameters": [
  4111. {
  4112. "type": "integer",
  4113. "description": "用户ID",
  4114. "name": "userID",
  4115. "in": "query",
  4116. "required": true
  4117. },
  4118. {
  4119. "type": "string",
  4120. "description": "留言信息",
  4121. "name": "message",
  4122. "in": "query",
  4123. "required": true
  4124. }
  4125. ],
  4126. "responses": {
  4127. "200": {
  4128. "description": "OK",
  4129. "schema": {
  4130. "$ref": "#/definitions/app.Response"
  4131. }
  4132. },
  4133. "500": {
  4134. "description": "Internal Server Error",
  4135. "schema": {
  4136. "$ref": "#/definitions/app.Response"
  4137. }
  4138. }
  4139. }
  4140. }
  4141. },
  4142. "/User/AddUserFavoriteGoods": {
  4143. "post": {
  4144. "security": [
  4145. {
  4146. "ApiKeyAuth": []
  4147. }
  4148. ],
  4149. "produces": [
  4150. "application/json"
  4151. ],
  4152. "tags": [
  4153. "用户信息"
  4154. ],
  4155. "summary": "添加用户商品收藏信息",
  4156. "parameters": [
  4157. {
  4158. "type": "integer",
  4159. "description": "用户ID",
  4160. "name": "userID",
  4161. "in": "query",
  4162. "required": true
  4163. },
  4164. {
  4165. "type": "integer",
  4166. "description": "商品ID",
  4167. "name": "goodsID",
  4168. "in": "query",
  4169. "required": true
  4170. }
  4171. ],
  4172. "responses": {
  4173. "200": {
  4174. "description": "OK",
  4175. "schema": {
  4176. "$ref": "#/definitions/app.Response"
  4177. }
  4178. },
  4179. "500": {
  4180. "description": "Internal Server Error",
  4181. "schema": {
  4182. "$ref": "#/definitions/app.Response"
  4183. }
  4184. }
  4185. }
  4186. }
  4187. },
  4188. "/User/GetLoginID": {
  4189. "get": {
  4190. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  4191. "produces": [
  4192. "application/json"
  4193. ],
  4194. "tags": [
  4195. "用户信息"
  4196. ],
  4197. "summary": "获取登录ID",
  4198. "parameters": [
  4199. {
  4200. "type": "string",
  4201. "description": "登录代码",
  4202. "name": "username",
  4203. "in": "query",
  4204. "required": true
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "$ref": "#/definitions/app.Response"
  4212. }
  4213. },
  4214. "500": {
  4215. "description": "Internal Server Error",
  4216. "schema": {
  4217. "$ref": "#/definitions/app.Response"
  4218. }
  4219. }
  4220. }
  4221. }
  4222. },
  4223. "/User/GetUserAccount": {
  4224. "get": {
  4225. "security": [
  4226. {
  4227. "ApiKeyAuth": []
  4228. }
  4229. ],
  4230. "produces": [
  4231. "application/json"
  4232. ],
  4233. "tags": [
  4234. "用户信息"
  4235. ],
  4236. "summary": "获取用户账号信息",
  4237. "parameters": [
  4238. {
  4239. "type": "integer",
  4240. "description": "用户ID",
  4241. "name": "userID",
  4242. "in": "query",
  4243. "required": true
  4244. }
  4245. ],
  4246. "responses": {
  4247. "200": {
  4248. "description": "OK",
  4249. "schema": {
  4250. "$ref": "#/definitions/models.Useraccount"
  4251. }
  4252. },
  4253. "500": {
  4254. "description": "Internal Server Error",
  4255. "schema": {
  4256. "$ref": "#/definitions/app.Response"
  4257. }
  4258. }
  4259. }
  4260. }
  4261. },
  4262. "/User/GetUserAuthStatus": {
  4263. "get": {
  4264. "security": [
  4265. {
  4266. "ApiKeyAuth": []
  4267. }
  4268. ],
  4269. "produces": [
  4270. "application/json"
  4271. ],
  4272. "tags": [
  4273. "用户信息"
  4274. ],
  4275. "summary": "获取用户实名认证状态",
  4276. "parameters": [
  4277. {
  4278. "type": "integer",
  4279. "description": "用户ID",
  4280. "name": "userID",
  4281. "in": "query",
  4282. "required": true
  4283. }
  4284. ],
  4285. "responses": {
  4286. "200": {
  4287. "description": "OK",
  4288. "schema": {
  4289. "$ref": "#/definitions/app.Response"
  4290. }
  4291. },
  4292. "500": {
  4293. "description": "Internal Server Error",
  4294. "schema": {
  4295. "$ref": "#/definitions/app.Response"
  4296. }
  4297. }
  4298. }
  4299. }
  4300. },
  4301. "/User/QueryMessageBoard": {
  4302. "get": {
  4303. "security": [
  4304. {
  4305. "ApiKeyAuth": []
  4306. }
  4307. ],
  4308. "produces": [
  4309. "application/json"
  4310. ],
  4311. "tags": [
  4312. "用户信息"
  4313. ],
  4314. "summary": "获取用户留言板信息",
  4315. "parameters": [
  4316. {
  4317. "type": "integer",
  4318. "description": "用户ID",
  4319. "name": "userID",
  4320. "in": "query",
  4321. "required": true
  4322. }
  4323. ],
  4324. "responses": {
  4325. "200": {
  4326. "description": "OK",
  4327. "schema": {
  4328. "$ref": "#/definitions/models.Messageboard"
  4329. }
  4330. },
  4331. "500": {
  4332. "description": "Internal Server Error",
  4333. "schema": {
  4334. "$ref": "#/definitions/app.Response"
  4335. }
  4336. }
  4337. }
  4338. }
  4339. },
  4340. "/User/QueryUserFavoriteGoodses": {
  4341. "get": {
  4342. "security": [
  4343. {
  4344. "ApiKeyAuth": []
  4345. }
  4346. ],
  4347. "produces": [
  4348. "application/json"
  4349. ],
  4350. "tags": [
  4351. "用户信息"
  4352. ],
  4353. "summary": "获取用户商品收藏信息",
  4354. "parameters": [
  4355. {
  4356. "type": "integer",
  4357. "description": "用户ID",
  4358. "name": "userID",
  4359. "in": "query",
  4360. "required": true
  4361. }
  4362. ],
  4363. "responses": {
  4364. "200": {
  4365. "description": "OK",
  4366. "schema": {
  4367. "$ref": "#/definitions/models.Userfavoritegoods"
  4368. }
  4369. },
  4370. "500": {
  4371. "description": "Internal Server Error",
  4372. "schema": {
  4373. "$ref": "#/definitions/app.Response"
  4374. }
  4375. }
  4376. }
  4377. }
  4378. },
  4379. "/User/QueryUserInfo": {
  4380. "get": {
  4381. "security": [
  4382. {
  4383. "ApiKeyAuth": []
  4384. }
  4385. ],
  4386. "produces": [
  4387. "application/json"
  4388. ],
  4389. "tags": [
  4390. "用户信息"
  4391. ],
  4392. "summary": "获取用户信息",
  4393. "parameters": [
  4394. {
  4395. "type": "integer",
  4396. "description": "用户ID",
  4397. "name": "userID",
  4398. "in": "query",
  4399. "required": true
  4400. }
  4401. ],
  4402. "responses": {
  4403. "200": {
  4404. "description": "OK",
  4405. "schema": {
  4406. "$ref": "#/definitions/models.Userinfo"
  4407. }
  4408. },
  4409. "500": {
  4410. "description": "Internal Server Error",
  4411. "schema": {
  4412. "$ref": "#/definitions/app.Response"
  4413. }
  4414. }
  4415. }
  4416. }
  4417. },
  4418. "/User/QueryUserReferNum": {
  4419. "get": {
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "用户信息"
  4425. ],
  4426. "summary": "获取用户邀请码",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户ID",
  4431. "name": "userID",
  4432. "in": "query",
  4433. "required": true
  4434. }
  4435. ],
  4436. "responses": {
  4437. "200": {
  4438. "description": "OK",
  4439. "schema": {
  4440. "$ref": "#/definitions/app.Response"
  4441. }
  4442. },
  4443. "500": {
  4444. "description": "Internal Server Error",
  4445. "schema": {
  4446. "$ref": "#/definitions/app.Response"
  4447. }
  4448. }
  4449. }
  4450. }
  4451. },
  4452. "/User/RemoveUserFavoriteGoods": {
  4453. "post": {
  4454. "security": [
  4455. {
  4456. "ApiKeyAuth": []
  4457. }
  4458. ],
  4459. "produces": [
  4460. "application/json"
  4461. ],
  4462. "tags": [
  4463. "用户信息"
  4464. ],
  4465. "summary": "移除用户商品收藏信息",
  4466. "parameters": [
  4467. {
  4468. "type": "integer",
  4469. "description": "用户ID",
  4470. "name": "userID",
  4471. "in": "query",
  4472. "required": true
  4473. },
  4474. {
  4475. "type": "integer",
  4476. "description": "商品ID",
  4477. "name": "goodsID",
  4478. "in": "query",
  4479. "required": true
  4480. }
  4481. ],
  4482. "responses": {
  4483. "200": {
  4484. "description": "OK",
  4485. "schema": {
  4486. "$ref": "#/definitions/app.Response"
  4487. }
  4488. },
  4489. "500": {
  4490. "description": "Internal Server Error",
  4491. "schema": {
  4492. "$ref": "#/definitions/app.Response"
  4493. }
  4494. }
  4495. }
  4496. }
  4497. },
  4498. "/WR/GetWRCategoryInfo": {
  4499. "get": {
  4500. "produces": [
  4501. "application/json"
  4502. ],
  4503. "tags": [
  4504. "仓单服务"
  4505. ],
  4506. "summary": "获取现货分类信息",
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "$ref": "#/definitions/models.WRCategoryTree"
  4512. }
  4513. },
  4514. "500": {
  4515. "description": "Internal Server Error",
  4516. "schema": {
  4517. "$ref": "#/definitions/app.Response"
  4518. }
  4519. }
  4520. }
  4521. }
  4522. },
  4523. "/WRTrade/GetAllDeliveryGoods": {
  4524. "get": {
  4525. "security": [
  4526. {
  4527. "ApiKeyAuth": []
  4528. },
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json",
  4535. "application/json"
  4536. ],
  4537. "tags": [
  4538. "仓单贸易",
  4539. "仓单贸易"
  4540. ],
  4541. "summary": "获取带仓单分类的种类信息",
  4542. "responses": {
  4543. "200": {
  4544. "description": "OK",
  4545. "schema": {
  4546. "$ref": "#/definitions/app.Response"
  4547. }
  4548. },
  4549. "500": {
  4550. "description": "Internal Server Error",
  4551. "schema": {
  4552. "$ref": "#/definitions/app.Response"
  4553. }
  4554. }
  4555. }
  4556. }
  4557. }
  4558. },
  4559. "definitions": {
  4560. "app.Response": {
  4561. "type": "object",
  4562. "properties": {
  4563. "code": {
  4564. "type": "integer"
  4565. },
  4566. "data": {
  4567. "type": "object"
  4568. },
  4569. "msg": {
  4570. "type": "string"
  4571. },
  4572. "page": {
  4573. "description": "页码",
  4574. "type": "integer"
  4575. },
  4576. "pagesize": {
  4577. "description": "每页条数",
  4578. "type": "integer"
  4579. },
  4580. "total": {
  4581. "description": "总条数",
  4582. "type": "integer"
  4583. }
  4584. }
  4585. },
  4586. "common.QueryNoticeRsp": {
  4587. "type": "object",
  4588. "required": [
  4589. "autoid"
  4590. ],
  4591. "properties": {
  4592. "auditoruserid": {
  4593. "description": "审核人",
  4594. "type": "integer"
  4595. },
  4596. "auditremark": {
  4597. "description": "审核备注",
  4598. "type": "string"
  4599. },
  4600. "audittime": {
  4601. "description": "审核日期",
  4602. "type": "string"
  4603. },
  4604. "autoid": {
  4605. "description": "自增ID",
  4606. "type": "integer"
  4607. },
  4608. "content": {
  4609. "description": "内容",
  4610. "type": "string"
  4611. },
  4612. "createtime": {
  4613. "description": "创建时间",
  4614. "type": "string"
  4615. },
  4616. "creatorid": {
  4617. "description": "建仓人",
  4618. "type": "integer"
  4619. },
  4620. "endtime": {
  4621. "description": "结束时间",
  4622. "type": "string"
  4623. },
  4624. "istop": {
  4625. "description": "是否置顶 - 0:不置顶 1:置顶",
  4626. "type": "integer"
  4627. },
  4628. "msgiconurl": {
  4629. "description": "消息图标Url",
  4630. "type": "string"
  4631. },
  4632. "msgtype": {
  4633. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4634. "type": "integer"
  4635. },
  4636. "publisher": {
  4637. "description": "消息发布者",
  4638. "type": "string"
  4639. },
  4640. "readed": {
  4641. "description": "是否已读",
  4642. "type": "boolean"
  4643. },
  4644. "scheduletime": {
  4645. "description": "计划发送时间",
  4646. "type": "string"
  4647. },
  4648. "sendtype": {
  4649. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4650. "type": "integer"
  4651. },
  4652. "sentstatus": {
  4653. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4654. "type": "integer"
  4655. },
  4656. "title": {
  4657. "description": "标题",
  4658. "type": "string"
  4659. },
  4660. "userid": {
  4661. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4662. "type": "integer"
  4663. }
  4664. }
  4665. },
  4666. "common.QueryProvincesAndCitiesRsp": {
  4667. "type": "object",
  4668. "properties": {
  4669. "cities": {
  4670. "description": "市",
  4671. "type": "array",
  4672. "items": {
  4673. "$ref": "#/definitions/models.Division"
  4674. }
  4675. },
  4676. "province": {
  4677. "description": "省",
  4678. "type": "object",
  4679. "$ref": "#/definitions/models.Division"
  4680. }
  4681. }
  4682. },
  4683. "common.QueryTableDefineRsp": {
  4684. "type": "object",
  4685. "required": [
  4686. "tablekey"
  4687. ],
  4688. "properties": {
  4689. "columns": {
  4690. "description": "列头信息数组",
  4691. "type": "array",
  4692. "items": {
  4693. "$ref": "#/definitions/models.Tablecolumnconfig"
  4694. }
  4695. },
  4696. "remark": {
  4697. "description": "Remark",
  4698. "type": "string"
  4699. },
  4700. "tabelmenu": {
  4701. "description": "列表菜单",
  4702. "type": "string"
  4703. },
  4704. "tablekey": {
  4705. "description": "列表Key",
  4706. "type": "string"
  4707. },
  4708. "tablename": {
  4709. "description": "列表名称",
  4710. "type": "string"
  4711. },
  4712. "tabletype": {
  4713. "description": "列表类型 - 1:管理端 2:终端",
  4714. "type": "integer"
  4715. }
  4716. }
  4717. },
  4718. "common.QueryTraderMenuRsp": {
  4719. "type": "object",
  4720. "properties": {
  4721. "OperationMenu": {
  4722. "description": "功能菜单",
  4723. "type": "array",
  4724. "items": {
  4725. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4726. }
  4727. },
  4728. "QuoteMenu": {
  4729. "description": "报价牌分类菜单",
  4730. "type": "array",
  4731. "items": {
  4732. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4733. }
  4734. }
  4735. }
  4736. },
  4737. "cptrade.Cptradepositioncancel": {
  4738. "type": "object",
  4739. "required": [
  4740. "cancelid"
  4741. ],
  4742. "properties": {
  4743. "accountid": {
  4744. "description": "申请人账户ID",
  4745. "type": "integer"
  4746. },
  4747. "applystatus": {
  4748. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4749. "type": "integer"
  4750. },
  4751. "applytime": {
  4752. "description": "申请时间",
  4753. "type": "string"
  4754. },
  4755. "cancelid": {
  4756. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4757. "type": "integer"
  4758. },
  4759. "cancelqty": {
  4760. "description": "注销数量",
  4761. "type": "integer"
  4762. },
  4763. "createtime": {
  4764. "description": "创建时间",
  4765. "type": "string"
  4766. },
  4767. "creatorid": {
  4768. "description": "创建人ID",
  4769. "type": "integer"
  4770. },
  4771. "creatorname": {
  4772. "description": "创建人",
  4773. "type": "string"
  4774. },
  4775. "goodscode": {
  4776. "description": "订单商品代码",
  4777. "type": "string"
  4778. },
  4779. "goodsid": {
  4780. "description": "商品ID",
  4781. "type": "integer"
  4782. },
  4783. "goodsname": {
  4784. "description": "订单商品名称",
  4785. "type": "string"
  4786. },
  4787. "goodunit": {
  4788. "description": "报价单位",
  4789. "type": "string"
  4790. },
  4791. "handlestatus": {
  4792. "description": "处理状态",
  4793. "type": "integer"
  4794. },
  4795. "marketid": {
  4796. "description": "市场ID",
  4797. "type": "integer"
  4798. },
  4799. "marketname": {
  4800. "description": "市场名称",
  4801. "type": "string"
  4802. },
  4803. "tradedate": {
  4804. "description": "交易日(yyyyMMdd)",
  4805. "type": "string"
  4806. },
  4807. "userid": {
  4808. "description": "申请人ID",
  4809. "type": "integer"
  4810. }
  4811. }
  4812. },
  4813. "cptrade.Cptradepresaleapply": {
  4814. "type": "object",
  4815. "required": [
  4816. "applyid"
  4817. ],
  4818. "properties": {
  4819. "accountid": {
  4820. "description": "申请人账户ID",
  4821. "type": "integer"
  4822. },
  4823. "applyid": {
  4824. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4825. "type": "integer"
  4826. },
  4827. "applyremark": {
  4828. "description": "申请备注",
  4829. "type": "string"
  4830. },
  4831. "applystatus": {
  4832. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4833. "type": "integer"
  4834. },
  4835. "applytime": {
  4836. "description": "申请时间",
  4837. "type": "string"
  4838. },
  4839. "attachmenturl": {
  4840. "description": "附件地址",
  4841. "type": "string"
  4842. },
  4843. "endtime": {
  4844. "description": "预售结束时间",
  4845. "type": "string"
  4846. },
  4847. "goodscode": {
  4848. "description": "商品代码",
  4849. "type": "string"
  4850. },
  4851. "goodsid": {
  4852. "description": "商品ID",
  4853. "type": "integer"
  4854. },
  4855. "goodsname": {
  4856. "description": "商品名称",
  4857. "type": "string"
  4858. },
  4859. "goodunit": {
  4860. "description": "报价单位",
  4861. "type": "string"
  4862. },
  4863. "handlestatus": {
  4864. "description": "处理状态",
  4865. "type": "integer"
  4866. },
  4867. "marketid": {
  4868. "description": "预售市场ID",
  4869. "type": "integer"
  4870. },
  4871. "marketname": {
  4872. "description": "预售市场名称",
  4873. "type": "string"
  4874. },
  4875. "presaleqty": {
  4876. "description": "预售数量",
  4877. "type": "integer"
  4878. },
  4879. "relatedgoodscode": {
  4880. "description": "关联交易合约代码",
  4881. "type": "string"
  4882. },
  4883. "relatedgoodsid": {
  4884. "description": "关联交易合约ID",
  4885. "type": "integer"
  4886. },
  4887. "relatedgoodsname": {
  4888. "description": "关联交易合约名称",
  4889. "type": "string"
  4890. },
  4891. "starttime": {
  4892. "description": "预售开始时间",
  4893. "type": "string"
  4894. },
  4895. "tradedate": {
  4896. "description": "交易日(yyyyMMdd)",
  4897. "type": "string"
  4898. },
  4899. "trademode": {
  4900. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4901. "type": "integer"
  4902. },
  4903. "userid": {
  4904. "description": "申请人ID",
  4905. "type": "integer"
  4906. }
  4907. }
  4908. },
  4909. "cptrade.Cptradeusergoodsdata": {
  4910. "type": "object",
  4911. "required": [
  4912. "accountid",
  4913. "goodsid"
  4914. ],
  4915. "properties": {
  4916. "EnabledQty": {
  4917. "description": "可用量",
  4918. "type": "integer"
  4919. },
  4920. "GoodsCode": {
  4921. "description": "订单商品代码",
  4922. "type": "string"
  4923. },
  4924. "GoodsName": {
  4925. "description": "订单商品名称",
  4926. "type": "string"
  4927. },
  4928. "WRStandardCode": {
  4929. "description": "仓单标准代码",
  4930. "type": "string"
  4931. },
  4932. "WRStandardName": {
  4933. "description": "仓单标准名称",
  4934. "type": "string"
  4935. },
  4936. "accountid": {
  4937. "description": "账户ID",
  4938. "type": "integer"
  4939. },
  4940. "cancelqty": {
  4941. "description": "注销量",
  4942. "type": "integer"
  4943. },
  4944. "curpresaleqty": {
  4945. "description": "当前预售量",
  4946. "type": "integer"
  4947. },
  4948. "deliveryqty": {
  4949. "description": "交割量",
  4950. "type": "integer"
  4951. },
  4952. "freezeamount": {
  4953. "description": "冻结金额",
  4954. "type": "number"
  4955. },
  4956. "goodsid": {
  4957. "description": "商品ID",
  4958. "type": "integer"
  4959. },
  4960. "goodunit": {
  4961. "description": "报价单位",
  4962. "type": "string"
  4963. },
  4964. "hasspotfreeze": {
  4965. "description": "是否有现货冻结 - 0:否 1:有",
  4966. "type": "integer"
  4967. },
  4968. "inqty": {
  4969. "description": "转入量(总数量)",
  4970. "type": "integer"
  4971. },
  4972. "marketid": {
  4973. "description": "市场ID",
  4974. "type": "integer"
  4975. },
  4976. "presaledamount": {
  4977. "description": "已预售总金额",
  4978. "type": "integer"
  4979. },
  4980. "presaledqty": {
  4981. "description": "已预售量",
  4982. "type": "integer"
  4983. },
  4984. "userid": {
  4985. "description": "用户ID",
  4986. "type": "integer"
  4987. },
  4988. "wrstandardid": {
  4989. "description": "仓单标准ID",
  4990. "type": "integer"
  4991. }
  4992. }
  4993. },
  4994. "cptrade.QueryCPTradeMyBidRsp": {
  4995. "type": "object",
  4996. "required": [
  4997. "accountid",
  4998. "goodsid",
  4999. "marketid",
  5000. "orderid",
  5001. "orderqty",
  5002. "ordertime",
  5003. "tradeprice",
  5004. "tradeqty"
  5005. ],
  5006. "properties": {
  5007. "accountid": {
  5008. "description": "账户ID[报价币种]",
  5009. "type": "integer"
  5010. },
  5011. "goodsid": {
  5012. "description": "商品ID",
  5013. "type": "integer"
  5014. },
  5015. "goodunit": {
  5016. "description": "报价单位",
  5017. "type": "string"
  5018. },
  5019. "marketid": {
  5020. "description": "市场ID",
  5021. "type": "integer"
  5022. },
  5023. "orderid": {
  5024. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5025. "type": "integer"
  5026. },
  5027. "orderprice": {
  5028. "description": "委托价格",
  5029. "type": "number"
  5030. },
  5031. "orderqty": {
  5032. "description": "委托数量",
  5033. "type": "integer"
  5034. },
  5035. "ordertime": {
  5036. "description": "委托时间",
  5037. "type": "string"
  5038. },
  5039. "ordertotalprice": {
  5040. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  5041. "type": "number"
  5042. },
  5043. "ordertotalweight": {
  5044. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  5045. "type": "integer"
  5046. },
  5047. "totaltotalprice": {
  5048. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  5049. "type": "number"
  5050. },
  5051. "tradeprice": {
  5052. "description": "成交价格",
  5053. "type": "number"
  5054. },
  5055. "tradeqty": {
  5056. "description": "成交数量",
  5057. "type": "integer"
  5058. }
  5059. }
  5060. },
  5061. "cptrade.QueryCPTradeOrderDetailRsq": {
  5062. "type": "object",
  5063. "required": [
  5064. "accountid",
  5065. "buildtype",
  5066. "buyorsell",
  5067. "goodsid",
  5068. "marketid",
  5069. "memberuserid",
  5070. "operatetype",
  5071. "orderqty",
  5072. "ordertime",
  5073. "pricemode",
  5074. "strorderid",
  5075. "tradedate",
  5076. "validtype"
  5077. ],
  5078. "properties": {
  5079. "accountid": {
  5080. "description": "账户ID[报价币种]",
  5081. "type": "integer"
  5082. },
  5083. "buildtype": {
  5084. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  5085. "type": "integer"
  5086. },
  5087. "buyorsell": {
  5088. "description": "买卖 - 0:买 1:卖",
  5089. "type": "integer"
  5090. },
  5091. "cancelorderid": {
  5092. "description": "撤单单号(撤单时填写)",
  5093. "type": "integer"
  5094. },
  5095. "cancelqty": {
  5096. "description": "撤单数量",
  5097. "type": "integer"
  5098. },
  5099. "clientordertime": {
  5100. "description": "客户端委托时间",
  5101. "type": "string"
  5102. },
  5103. "clientticket": {
  5104. "description": "客户端流水号",
  5105. "type": "string"
  5106. },
  5107. "clienttype": {
  5108. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  5109. "type": "integer"
  5110. },
  5111. "closeexchagechargevalue": {
  5112. "description": "平仓交易所手续费设置值",
  5113. "type": "number"
  5114. },
  5115. "closefeealgorithm": {
  5116. "description": "平仓手续费收取方式 1:比率 2:固定",
  5117. "type": "integer"
  5118. },
  5119. "closefreezecharge": {
  5120. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  5121. "type": "number"
  5122. },
  5123. "closememberchargevalue": {
  5124. "description": "平仓会员手续费设置值",
  5125. "type": "number"
  5126. },
  5127. "closeqty": {
  5128. "description": "平仓数量(先建后平操作 需要记录)",
  5129. "type": "integer"
  5130. },
  5131. "closetradeqty": {
  5132. "description": "平仓成交数量(先建后平操作,需要记录)",
  5133. "type": "integer"
  5134. },
  5135. "closeunfreezecharge": {
  5136. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  5137. "type": "number"
  5138. },
  5139. "delistingtype": {
  5140. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  5141. "type": "integer"
  5142. },
  5143. "freezecharge": {
  5144. "description": "冻结手续费",
  5145. "type": "number"
  5146. },
  5147. "freezemargin": {
  5148. "description": "冻结保证金(冻结交易金额)",
  5149. "type": "number"
  5150. },
  5151. "gcaccountid": {
  5152. "description": "账户ID[合约币种]",
  5153. "type": "integer"
  5154. },
  5155. "goodsid": {
  5156. "description": "商品ID",
  5157. "type": "integer"
  5158. },
  5159. "isconfirmexercise": {
  5160. "description": "是否确认行权- 0:否 1:是",
  5161. "type": "integer"
  5162. },
  5163. "ispreexercise": {
  5164. "description": "是否预申报- 0:否 1:是",
  5165. "type": "integer"
  5166. },
  5167. "listingselecttype": {
  5168. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5169. "type": "integer"
  5170. },
  5171. "marginalgorithm": {
  5172. "description": "保证金收取方式 1:比率 2:固定",
  5173. "type": "integer"
  5174. },
  5175. "marginvalue": {
  5176. "description": "即市保证金设置值",
  5177. "type": "number"
  5178. },
  5179. "marketid": {
  5180. "description": "市场ID",
  5181. "type": "integer"
  5182. },
  5183. "marketmaxsub": {
  5184. "description": "市价最大偏移范围",
  5185. "type": "number"
  5186. },
  5187. "memberuserid": {
  5188. "description": "所属会员UserID",
  5189. "type": "integer"
  5190. },
  5191. "openexchagechargevalue": {
  5192. "description": "建仓交易所手续费设置值",
  5193. "type": "number"
  5194. },
  5195. "openfeealgorithm": {
  5196. "description": "建仓手续费收取方式 1:比率 2:固定",
  5197. "type": "integer"
  5198. },
  5199. "openfreezecharge": {
  5200. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  5201. "type": "number"
  5202. },
  5203. "openmemberchargevalue": {
  5204. "description": "建仓会员手续费设置值",
  5205. "type": "number"
  5206. },
  5207. "openqty": {
  5208. "description": "开仓数量(先建后平操作,需要记录)",
  5209. "type": "integer"
  5210. },
  5211. "opentradeqty": {
  5212. "description": "开仓成交数量(先建后平操作,需要记录)",
  5213. "type": "integer"
  5214. },
  5215. "openunfreezecharge": {
  5216. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  5217. "type": "number"
  5218. },
  5219. "operatetype": {
  5220. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  5221. "type": "integer"
  5222. },
  5223. "operatorid": {
  5224. "description": "登录账号(LoginID)",
  5225. "type": "integer"
  5226. },
  5227. "optiontype": {
  5228. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  5229. "type": "integer"
  5230. },
  5231. "orderprice": {
  5232. "description": "委托价格",
  5233. "type": "number"
  5234. },
  5235. "orderqty": {
  5236. "description": "委托数量",
  5237. "type": "integer"
  5238. },
  5239. "ordersrc": {
  5240. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  5241. "type": "integer"
  5242. },
  5243. "orderstatus": {
  5244. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5245. "type": "integer"
  5246. },
  5247. "ordertime": {
  5248. "description": "委托时间",
  5249. "type": "string"
  5250. },
  5251. "preexerciseprice": {
  5252. "description": "预申报价格",
  5253. "type": "number"
  5254. },
  5255. "premium": {
  5256. "description": "权利金",
  5257. "type": "number"
  5258. },
  5259. "preorderid": {
  5260. "description": "关联预埋单号(止盈止损单时填写)",
  5261. "type": "integer"
  5262. },
  5263. "pricemode": {
  5264. "description": "取价方式 - 1:市价 2: 限价",
  5265. "type": "integer"
  5266. },
  5267. "quoteid": {
  5268. "description": "报价单ID",
  5269. "type": "integer"
  5270. },
  5271. "relatedid": {
  5272. "description": "关联单号(交割单)",
  5273. "type": "integer"
  5274. },
  5275. "retcode": {
  5276. "description": "错误代码",
  5277. "type": "integer"
  5278. },
  5279. "sessionid": {
  5280. "description": "会话ID",
  5281. "type": "integer"
  5282. },
  5283. "strorderid": {
  5284. "description": "委托单号",
  5285. "type": "string"
  5286. },
  5287. "tradedate": {
  5288. "description": "交易日(yyyyMMdd)",
  5289. "type": "string"
  5290. },
  5291. "tradeproperty": {
  5292. "description": "交易属性",
  5293. "type": "integer"
  5294. },
  5295. "tradeqty": {
  5296. "description": "成交数量",
  5297. "type": "integer"
  5298. },
  5299. "unfreezecharge": {
  5300. "description": "解冻手续费",
  5301. "type": "number"
  5302. },
  5303. "unfreezemargin": {
  5304. "description": "解冻保证金",
  5305. "type": "number"
  5306. },
  5307. "updatetime": {
  5308. "description": "更新时间",
  5309. "type": "string"
  5310. },
  5311. "uuid": {
  5312. "description": "发起端唯一id",
  5313. "type": "string"
  5314. },
  5315. "validtime": {
  5316. "description": "有效期限",
  5317. "type": "string"
  5318. },
  5319. "validtype": {
  5320. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5321. "type": "integer"
  5322. },
  5323. "volumetype": {
  5324. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5325. "type": "integer"
  5326. }
  5327. }
  5328. },
  5329. "cptrade.QueryMyCPTradeGoodsRsp": {
  5330. "type": "object",
  5331. "required": [
  5332. "goodscode",
  5333. "goodsid",
  5334. "goodsname",
  5335. "marketid",
  5336. "relatedgoodscode",
  5337. "relatedgoodsname"
  5338. ],
  5339. "properties": {
  5340. "accountid": {
  5341. "description": "卖方账户ID",
  5342. "type": "integer"
  5343. },
  5344. "agreeunit": {
  5345. "description": "合约单位",
  5346. "type": "number"
  5347. },
  5348. "applyid": {
  5349. "description": "关联申请ID",
  5350. "type": "integer"
  5351. },
  5352. "attachmenturl": {
  5353. "description": "附件地址",
  5354. "type": "string"
  5355. },
  5356. "createtime": {
  5357. "description": "创建时间",
  5358. "type": "string"
  5359. },
  5360. "currencyid": {
  5361. "description": "报价货币ID",
  5362. "type": "integer"
  5363. },
  5364. "decimalplace": {
  5365. "description": "报价小数位",
  5366. "type": "integer"
  5367. },
  5368. "endtime": {
  5369. "description": "预售结束时间",
  5370. "type": "string"
  5371. },
  5372. "floorprice": {
  5373. "description": "底价[大宗式竞拍]",
  5374. "type": "number"
  5375. },
  5376. "goodscode": {
  5377. "description": "商品代码(预售)",
  5378. "type": "string"
  5379. },
  5380. "goodsdetail": {
  5381. "description": "详情[大宗]",
  5382. "type": "string"
  5383. },
  5384. "goodsid": {
  5385. "description": "商品ID(自增ID SEQ_GOODS)",
  5386. "type": "integer"
  5387. },
  5388. "goodsname": {
  5389. "description": "商品名称(预售)",
  5390. "type": "string"
  5391. },
  5392. "goodunit": {
  5393. "description": "报价单位",
  5394. "type": "string"
  5395. },
  5396. "goodunitid": {
  5397. "description": "报价单位ID",
  5398. "type": "integer"
  5399. },
  5400. "marketid": {
  5401. "description": "所属市场ID",
  5402. "type": "integer"
  5403. },
  5404. "marketname": {
  5405. "description": "预售市场名称",
  5406. "type": "string"
  5407. },
  5408. "presaledamount": {
  5409. "description": "已预售总金额(预售结束时更新)",
  5410. "type": "number"
  5411. },
  5412. "presaledqty": {
  5413. "description": "已预售量(预售结束时更新)",
  5414. "type": "integer"
  5415. },
  5416. "presalemode": {
  5417. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5418. "type": "integer"
  5419. },
  5420. "presaleqty": {
  5421. "description": "预售数量",
  5422. "type": "integer"
  5423. },
  5424. "refprice": {
  5425. "description": "参考价格[一口价]",
  5426. "type": "number"
  5427. },
  5428. "relatedgoodscode": {
  5429. "description": "商品代码(订单)",
  5430. "type": "string"
  5431. },
  5432. "relatedgoodsid": {
  5433. "description": "关联交易合约ID",
  5434. "type": "integer"
  5435. },
  5436. "relatedgoodsname": {
  5437. "description": "商品名称(订单)",
  5438. "type": "string"
  5439. },
  5440. "relatedmarketid": {
  5441. "description": "关联交易合约市场ID",
  5442. "type": "integer"
  5443. },
  5444. "sellstatus": {
  5445. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5446. "type": "integer"
  5447. },
  5448. "startprice": {
  5449. "description": "起拍价[大宗式竞拍]",
  5450. "type": "number"
  5451. },
  5452. "starttime": {
  5453. "description": "预售开始时间",
  5454. "type": "string"
  5455. },
  5456. "tradedate": {
  5457. "description": "交易日(yyyyMMdd)",
  5458. "type": "string"
  5459. },
  5460. "tradeprice": {
  5461. "description": "成交价[大宗]",
  5462. "type": "number"
  5463. },
  5464. "userid": {
  5465. "description": "卖方用户ID",
  5466. "type": "integer"
  5467. }
  5468. }
  5469. },
  5470. "cptrade.QueryPresaleGoodsExRsp": {
  5471. "type": "object",
  5472. "required": [
  5473. "goodsid"
  5474. ],
  5475. "properties": {
  5476. "attachmenturl": {
  5477. "description": "附件地址",
  5478. "type": "string"
  5479. },
  5480. "createtime": {
  5481. "description": "创建时间",
  5482. "type": "string"
  5483. },
  5484. "endtime": {
  5485. "description": "预售结束时间",
  5486. "type": "string"
  5487. },
  5488. "floorprice": {
  5489. "description": "底价[大宗式竞拍]",
  5490. "type": "number"
  5491. },
  5492. "goodsdetail": {
  5493. "description": "详情[大宗]",
  5494. "type": "string"
  5495. },
  5496. "goodsid": {
  5497. "description": "商品ID(预售)",
  5498. "type": "integer"
  5499. },
  5500. "goodunit": {
  5501. "description": "报价单位",
  5502. "type": "string"
  5503. },
  5504. "marketid": {
  5505. "description": "预售市场ID - 根据预售模式选择市场",
  5506. "type": "integer"
  5507. },
  5508. "presaledamount": {
  5509. "description": "已预售总金额(预售结束时更新)",
  5510. "type": "number"
  5511. },
  5512. "presaledqty": {
  5513. "description": "已预售量(预售结束时更新)",
  5514. "type": "integer"
  5515. },
  5516. "presalemode": {
  5517. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5518. "type": "integer"
  5519. },
  5520. "presaleqty": {
  5521. "description": "预售数量",
  5522. "type": "integer"
  5523. },
  5524. "refprice": {
  5525. "description": "参考价格[一口价]",
  5526. "type": "number"
  5527. },
  5528. "relatedgoodsid": {
  5529. "description": "关联交易合约ID",
  5530. "type": "integer"
  5531. },
  5532. "relatedmarketid": {
  5533. "description": "关联交易合约市场ID",
  5534. "type": "integer"
  5535. },
  5536. "sellstatus": {
  5537. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5538. "type": "integer"
  5539. },
  5540. "startprice": {
  5541. "description": "起拍价[大宗式竞拍]",
  5542. "type": "number"
  5543. },
  5544. "starttime": {
  5545. "description": "预售开始时间",
  5546. "type": "string"
  5547. },
  5548. "tradedate": {
  5549. "description": "交易日(yyyyMMdd)",
  5550. "type": "string"
  5551. },
  5552. "tradeprice": {
  5553. "description": "成交价[大宗]",
  5554. "type": "number"
  5555. }
  5556. }
  5557. },
  5558. "delivery.QueryDeliveryRelationRsp": {
  5559. "type": "object",
  5560. "required": [
  5561. "begindate",
  5562. "enddate",
  5563. "goodsid",
  5564. "mindeliveryqty",
  5565. "xdeliveryratio"
  5566. ],
  5567. "properties": {
  5568. "begindate": {
  5569. "description": "起始日期(yyyyMMdd)",
  5570. "type": "string"
  5571. },
  5572. "buytemplateid": {
  5573. "description": "买履约计划模板ID",
  5574. "type": "integer"
  5575. },
  5576. "deliverygoodscode": {
  5577. "description": "品种代码",
  5578. "type": "string"
  5579. },
  5580. "deliverygoodsid": {
  5581. "description": "交割商品",
  5582. "type": "integer"
  5583. },
  5584. "deliverygoodsname": {
  5585. "description": "品种名称",
  5586. "type": "string"
  5587. },
  5588. "deliverymode": {
  5589. "description": "交割方式 - 1:点选式 2:申报式",
  5590. "type": "integer"
  5591. },
  5592. "deliverypricerule": {
  5593. "description": "交割价规则- 1:行情价 2:建仓价",
  5594. "type": "integer"
  5595. },
  5596. "deliverytype": {
  5597. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5598. "type": "integer"
  5599. },
  5600. "enddate": {
  5601. "description": "结束日期(yyyyMMdd)",
  5602. "type": "string"
  5603. },
  5604. "goodscode": {
  5605. "description": "商品代码",
  5606. "type": "string"
  5607. },
  5608. "goodsid": {
  5609. "description": "交易合约ID",
  5610. "type": "integer"
  5611. },
  5612. "goodsname": {
  5613. "description": "商品名称",
  5614. "type": "string"
  5615. },
  5616. "marketid": {
  5617. "description": "市场ID",
  5618. "type": "integer"
  5619. },
  5620. "mindeliveryqty": {
  5621. "description": "最小交割系数(K)",
  5622. "type": "integer"
  5623. },
  5624. "p2deliveryprice": {
  5625. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5626. "type": "number"
  5627. },
  5628. "p2deliveryratio": {
  5629. "description": "P2合约系数(p)",
  5630. "type": "integer"
  5631. },
  5632. "p2goodsid": {
  5633. "description": "P2合约ID",
  5634. "type": "integer"
  5635. },
  5636. "p2pricemode": {
  5637. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5638. "type": "integer"
  5639. },
  5640. "pdeliveryprice": {
  5641. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5642. "type": "number"
  5643. },
  5644. "pdeliveryratio": {
  5645. "description": "P合约系数(n)",
  5646. "type": "integer"
  5647. },
  5648. "pgoodsid": {
  5649. "description": "P合约ID",
  5650. "type": "integer"
  5651. },
  5652. "ppricemode": {
  5653. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5654. "type": "integer"
  5655. },
  5656. "rratio": {
  5657. "description": "兑换系数(R)",
  5658. "type": "integer"
  5659. },
  5660. "rratio1": {
  5661. "description": "兑换系数(交易合约)(R1)",
  5662. "type": "integer"
  5663. },
  5664. "rratio2": {
  5665. "description": "兑换系数(仓单标准)(R2)",
  5666. "type": "integer"
  5667. },
  5668. "selltemplateid": {
  5669. "description": "卖履约计划模板ID",
  5670. "type": "integer"
  5671. },
  5672. "wrstandardid": {
  5673. "description": "仓单标准ID",
  5674. "type": "integer"
  5675. },
  5676. "xdeliveryratio": {
  5677. "description": "交易合约系数(m)",
  5678. "type": "integer"
  5679. }
  5680. }
  5681. },
  5682. "ermcp.ExposureDetailRsp": {
  5683. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  5684. },
  5685. "ermcp.ExposureSpotRsp": {
  5686. "$ref": "#/definitions/models.AreaSpotModel"
  5687. },
  5688. "ermcp.QryBusinessDjRsp": {
  5689. "type": "object",
  5690. "properties": {
  5691. "amount": {
  5692. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5693. "type": "number"
  5694. },
  5695. "applyid": {
  5696. "description": "申请人",
  5697. "type": "string"
  5698. },
  5699. "applyname": {
  5700. "description": "申请人名称",
  5701. "type": "string"
  5702. },
  5703. "applystatus": {
  5704. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5705. "type": "integer"
  5706. },
  5707. "applytime": {
  5708. "description": "申请时间",
  5709. "type": "string"
  5710. },
  5711. "auditname": {
  5712. "description": "审核人名称",
  5713. "type": "string"
  5714. },
  5715. "audittime": {
  5716. "description": "审核时间",
  5717. "type": "string"
  5718. },
  5719. "buyusername": {
  5720. "description": "采购方名称",
  5721. "type": "string"
  5722. },
  5723. "contractno": {
  5724. "description": "合同编号",
  5725. "type": "string"
  5726. },
  5727. "contractstatus": {
  5728. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5729. "type": "integer"
  5730. },
  5731. "contracttype": {
  5732. "description": "现货合同类型 - 1:采购 -1:销售",
  5733. "type": "integer"
  5734. },
  5735. "enumdicname": {
  5736. "description": "单位名称",
  5737. "type": "string"
  5738. },
  5739. "goodscode": {
  5740. "description": "点价合约",
  5741. "type": "string"
  5742. },
  5743. "goodsname": {
  5744. "description": "商品名称",
  5745. "type": "string"
  5746. },
  5747. "operateapplyid": {
  5748. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5749. "type": "string"
  5750. },
  5751. "operateapplytype": {
  5752. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5753. "type": "integer"
  5754. },
  5755. "pricedPrice": {
  5756. "description": "点价价格(非必填)",
  5757. "type": "number"
  5758. },
  5759. "pricedQty": {
  5760. "description": "点价数量(非必填)",
  5761. "type": "number"
  5762. },
  5763. "pricemove": {
  5764. "description": "升贴水",
  5765. "type": "number"
  5766. },
  5767. "pricetype": {
  5768. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5769. "type": "integer"
  5770. },
  5771. "relatedid": {
  5772. "description": "现货合同ID",
  5773. "type": "string"
  5774. },
  5775. "sellusername": {
  5776. "description": "销售方名字",
  5777. "type": "string"
  5778. },
  5779. "userid": {
  5780. "description": "用户ID",
  5781. "type": "integer"
  5782. }
  5783. }
  5784. },
  5785. "ermcp.QryBussinessFpRsp": {
  5786. "type": "object",
  5787. "properties": {
  5788. "applyid": {
  5789. "description": "申请人",
  5790. "type": "string"
  5791. },
  5792. "applyname": {
  5793. "description": "申请人名称",
  5794. "type": "string"
  5795. },
  5796. "applystatus": {
  5797. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5798. "type": "integer"
  5799. },
  5800. "applytime": {
  5801. "description": "申请时间",
  5802. "type": "string"
  5803. },
  5804. "auditname": {
  5805. "description": "审核人名称",
  5806. "type": "string"
  5807. },
  5808. "audittime": {
  5809. "description": "审核时间",
  5810. "type": "string"
  5811. },
  5812. "buyusername": {
  5813. "description": "采购方名称",
  5814. "type": "string"
  5815. },
  5816. "contractno": {
  5817. "description": "合同编号",
  5818. "type": "string"
  5819. },
  5820. "contractstatus": {
  5821. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5822. "type": "integer"
  5823. },
  5824. "contracttype": {
  5825. "description": "现货合同类型 - 1:采购 -1:销售",
  5826. "type": "integer"
  5827. },
  5828. "enumdicname": {
  5829. "description": "单位名称",
  5830. "type": "string"
  5831. },
  5832. "goodscode": {
  5833. "description": "点价合约",
  5834. "type": "string"
  5835. },
  5836. "goodsname": {
  5837. "description": "商品名称",
  5838. "type": "string"
  5839. },
  5840. "invoiceAmount": {
  5841. "description": "已开收票金额(销售为开票,采购为收票)",
  5842. "type": "number"
  5843. },
  5844. "operateapplyid": {
  5845. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5846. "type": "string"
  5847. },
  5848. "operateapplytype": {
  5849. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5850. "type": "integer"
  5851. },
  5852. "pricemove": {
  5853. "description": "升贴水",
  5854. "type": "number"
  5855. },
  5856. "pricetype": {
  5857. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5858. "type": "integer"
  5859. },
  5860. "relatedid": {
  5861. "description": "现货合同ID",
  5862. "type": "string"
  5863. },
  5864. "sellusername": {
  5865. "description": "销售方名字",
  5866. "type": "string"
  5867. },
  5868. "userid": {
  5869. "description": "用户ID",
  5870. "type": "integer"
  5871. }
  5872. }
  5873. },
  5874. "ermcp.QryBussinessJsRsp": {
  5875. "type": "object",
  5876. "properties": {
  5877. "addmargin": {
  5878. "description": "追加保证金(非必填)",
  5879. "type": "number"
  5880. },
  5881. "applyid": {
  5882. "description": "申请人",
  5883. "type": "string"
  5884. },
  5885. "applyname": {
  5886. "description": "申请人名称",
  5887. "type": "string"
  5888. },
  5889. "applystatus": {
  5890. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5891. "type": "integer"
  5892. },
  5893. "applytime": {
  5894. "description": "申请时间",
  5895. "type": "string"
  5896. },
  5897. "auditname": {
  5898. "description": "审核人名称",
  5899. "type": "string"
  5900. },
  5901. "audittime": {
  5902. "description": "审核时间",
  5903. "type": "string"
  5904. },
  5905. "buyusername": {
  5906. "description": "采购方名称",
  5907. "type": "string"
  5908. },
  5909. "contractno": {
  5910. "description": "合同编号",
  5911. "type": "string"
  5912. },
  5913. "contractstatus": {
  5914. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5915. "type": "integer"
  5916. },
  5917. "contracttype": {
  5918. "description": "现货合同类型 - 1:采购 -1:销售",
  5919. "type": "integer"
  5920. },
  5921. "decmargin": {
  5922. "description": "减少保证金(非必填)",
  5923. "type": "number"
  5924. },
  5925. "enumdicname": {
  5926. "description": "单位名称",
  5927. "type": "string"
  5928. },
  5929. "goodscode": {
  5930. "description": "点价合约",
  5931. "type": "string"
  5932. },
  5933. "goodsname": {
  5934. "description": "商品名称",
  5935. "type": "string"
  5936. },
  5937. "operateapplyid": {
  5938. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5939. "type": "string"
  5940. },
  5941. "operateapplytype": {
  5942. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5943. "type": "integer"
  5944. },
  5945. "pricemove": {
  5946. "description": "升贴水",
  5947. "type": "number"
  5948. },
  5949. "pricetype": {
  5950. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5951. "type": "integer"
  5952. },
  5953. "reckonadjustamount": {
  5954. "description": "结算调整金额(非必填)",
  5955. "type": "number"
  5956. },
  5957. "reckonosamount": {
  5958. "description": "结算溢短金额(非必填)",
  5959. "type": "number"
  5960. },
  5961. "reckonotheramount": {
  5962. "description": "结算其他费用(非必填)",
  5963. "type": "number"
  5964. },
  5965. "reckonrealqty": {
  5966. "description": "结算实际数量(非必填)",
  5967. "type": "number"
  5968. },
  5969. "relatedid": {
  5970. "description": "现货合同ID",
  5971. "type": "string"
  5972. },
  5973. "sellusername": {
  5974. "description": "销售方名字",
  5975. "type": "string"
  5976. },
  5977. "userid": {
  5978. "description": "用户ID",
  5979. "type": "integer"
  5980. }
  5981. }
  5982. },
  5983. "ermcp.QryBussinessKxRsp": {
  5984. "type": "object",
  5985. "properties": {
  5986. "applyid": {
  5987. "description": "申请人",
  5988. "type": "string"
  5989. },
  5990. "applyname": {
  5991. "description": "申请人名称",
  5992. "type": "string"
  5993. },
  5994. "applystatus": {
  5995. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5996. "type": "integer"
  5997. },
  5998. "applytime": {
  5999. "description": "申请时间",
  6000. "type": "string"
  6001. },
  6002. "auditname": {
  6003. "description": "审核人名称",
  6004. "type": "string"
  6005. },
  6006. "audittime": {
  6007. "description": "审核时间",
  6008. "type": "string"
  6009. },
  6010. "buyusername": {
  6011. "description": "采购方名称",
  6012. "type": "string"
  6013. },
  6014. "contractno": {
  6015. "description": "合同编号",
  6016. "type": "string"
  6017. },
  6018. "contractstatus": {
  6019. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6020. "type": "integer"
  6021. },
  6022. "contracttype": {
  6023. "description": "现货合同类型 - 1:采购 -1:销售",
  6024. "type": "integer"
  6025. },
  6026. "deductamount": {
  6027. "description": "退款(非必填)",
  6028. "type": "number"
  6029. },
  6030. "enumdicname": {
  6031. "description": "单位名称",
  6032. "type": "string"
  6033. },
  6034. "goodscode": {
  6035. "description": "点价合约",
  6036. "type": "string"
  6037. },
  6038. "goodsname": {
  6039. "description": "商品名称",
  6040. "type": "string"
  6041. },
  6042. "kxtype": {
  6043. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  6044. "type": "integer"
  6045. },
  6046. "operateapplyid": {
  6047. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  6048. "type": "string"
  6049. },
  6050. "operateapplytype": {
  6051. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  6052. "type": "integer"
  6053. },
  6054. "payamount": {
  6055. "description": "收付款(非必填)",
  6056. "type": "number"
  6057. },
  6058. "pricemove": {
  6059. "description": "升贴水",
  6060. "type": "number"
  6061. },
  6062. "pricetype": {
  6063. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6064. "type": "integer"
  6065. },
  6066. "relatedid": {
  6067. "description": "现货合同ID",
  6068. "type": "string"
  6069. },
  6070. "sellusername": {
  6071. "description": "销售方名字",
  6072. "type": "string"
  6073. },
  6074. "userid": {
  6075. "description": "用户ID",
  6076. "type": "integer"
  6077. }
  6078. }
  6079. },
  6080. "ermcp.QryErmcpRsp": {
  6081. "$ref": "#/definitions/models.ErmcpModel"
  6082. },
  6083. "ermcp.QryHedgePlanRsp": {
  6084. "$ref": "#/definitions/models.ErmcpHedgePlan"
  6085. },
  6086. "ermcp.QryOPLogRsp": {
  6087. "$ref": "#/definitions/models.ErmcpOPLogModel"
  6088. },
  6089. "ermcp.QrySpotContractRsp": {
  6090. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  6091. },
  6092. "ermcp.QryUserInfoRsp": {
  6093. "$ref": "#/definitions/models.ErmcpUserModel"
  6094. },
  6095. "ermcp.QryWrStandardRsp": {
  6096. "$ref": "#/definitions/models.ErmcpWrstandard"
  6097. },
  6098. "ermcp.RealtimeExposureRsp": {
  6099. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  6100. },
  6101. "erms2.QueryArbitrageStrategyRsp": {
  6102. "type": "object",
  6103. "required": [
  6104. "asapplyid"
  6105. ],
  6106. "properties": {
  6107. "applybasis": {
  6108. "description": "申请基差",
  6109. "type": "number"
  6110. },
  6111. "asapplyid": {
  6112. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6113. "type": "string"
  6114. },
  6115. "asname": {
  6116. "description": "策略名称",
  6117. "type": "string"
  6118. },
  6119. "asno": {
  6120. "description": "策略编号",
  6121. "type": "string"
  6122. },
  6123. "basischangepl": {
  6124. "description": "基差变动损益[结算更新]",
  6125. "type": "number"
  6126. },
  6127. "biztype": {
  6128. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6129. "type": "integer"
  6130. },
  6131. "closetradedate": {
  6132. "description": "完结交易日(yyyyMMdd)",
  6133. "type": "string"
  6134. },
  6135. "curbasis": {
  6136. "description": "当前基差[结算更新]",
  6137. "type": "number"
  6138. },
  6139. "deliverygoodsid": {
  6140. "description": "现货品种ID",
  6141. "type": "integer"
  6142. },
  6143. "futureavgprice": {
  6144. "description": "期货建仓均价",
  6145. "type": "number"
  6146. },
  6147. "futurecloseamount": {
  6148. "description": "期货平仓金额",
  6149. "type": "number"
  6150. },
  6151. "futurecloseqty": {
  6152. "description": "期货平仓数量",
  6153. "type": "number"
  6154. },
  6155. "futureopenamount": {
  6156. "description": "期货开仓金额",
  6157. "type": "number"
  6158. },
  6159. "futureopenqty": {
  6160. "description": "期货开仓数量",
  6161. "type": "number"
  6162. },
  6163. "futurepl": {
  6164. "description": "期货总盈亏[结算更新]",
  6165. "type": "number"
  6166. },
  6167. "futureqty": {
  6168. "description": "期货持仓数量",
  6169. "type": "number"
  6170. },
  6171. "futurequote": {
  6172. "description": "期货额度",
  6173. "type": "number"
  6174. },
  6175. "goodsgroupid": {
  6176. "description": "期货品种ID",
  6177. "type": "integer"
  6178. },
  6179. "marketid": {
  6180. "description": "市场ID",
  6181. "type": "integer"
  6182. },
  6183. "netexposure": {
  6184. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6185. "type": "number"
  6186. },
  6187. "netexposurepl": {
  6188. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6189. "type": "number"
  6190. },
  6191. "netexposurerate": {
  6192. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6193. "type": "number"
  6194. },
  6195. "openbasis": {
  6196. "description": "建仓基差",
  6197. "type": "number"
  6198. },
  6199. "pricedspotqty": {
  6200. "description": "已定价现货数量",
  6201. "type": "number"
  6202. },
  6203. "pricedspotqtynotax": {
  6204. "description": "已定价现货不含税数量",
  6205. "type": "number"
  6206. },
  6207. "remark": {
  6208. "description": "备注",
  6209. "type": "string"
  6210. },
  6211. "spotavgprice": {
  6212. "description": "现货均价",
  6213. "type": "number"
  6214. },
  6215. "spotbuyamount": {
  6216. "description": "现货采购金额",
  6217. "type": "number"
  6218. },
  6219. "spotbuyqty": {
  6220. "description": "现货采购数量",
  6221. "type": "number"
  6222. },
  6223. "spotpl": {
  6224. "description": "现货总盈亏[结算更新]",
  6225. "type": "number"
  6226. },
  6227. "spotquota": {
  6228. "description": "现货额度",
  6229. "type": "number"
  6230. },
  6231. "spotsellamount": {
  6232. "description": "现货销售金额",
  6233. "type": "number"
  6234. },
  6235. "spotsellqty": {
  6236. "description": "现货销售数量",
  6237. "type": "number"
  6238. },
  6239. "spotusedquota": {
  6240. "description": "现货占用资金",
  6241. "type": "number"
  6242. },
  6243. "strategystatus": {
  6244. "description": "策略状态 - 0:未结束 1:已结束",
  6245. "type": "integer"
  6246. },
  6247. "totalpl": {
  6248. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6249. "type": "number"
  6250. },
  6251. "tradedate": {
  6252. "description": "交易日(yyyyMMdd)",
  6253. "type": "string"
  6254. },
  6255. "updatetime": {
  6256. "description": "更新时间",
  6257. "type": "string"
  6258. },
  6259. "usedquota": {
  6260. "description": "已占用资金",
  6261. "type": "number"
  6262. },
  6263. "userid": {
  6264. "description": "所属机构",
  6265. "type": "integer"
  6266. }
  6267. }
  6268. },
  6269. "erms2.QueryInnerTradeDetailRsp": {
  6270. "type": "object",
  6271. "required": [
  6272. "asapplyid",
  6273. "buyorsell",
  6274. "goodscode",
  6275. "goodsgroupid",
  6276. "goodsgroupname",
  6277. "goodsname",
  6278. "tradeid"
  6279. ],
  6280. "properties": {
  6281. "accountid": {
  6282. "description": "账号ID",
  6283. "type": "integer"
  6284. },
  6285. "agreeunit": {
  6286. "description": "合约单位",
  6287. "type": "number"
  6288. },
  6289. "asapplyid": {
  6290. "description": "策略申请ID",
  6291. "type": "integer"
  6292. },
  6293. "asname": {
  6294. "description": "策略名称",
  6295. "type": "string"
  6296. },
  6297. "asno": {
  6298. "description": "策略编号",
  6299. "type": "string"
  6300. },
  6301. "buyorsell": {
  6302. "description": "方向 - 0:买 1:卖",
  6303. "type": "integer"
  6304. },
  6305. "channelbuildtype": {
  6306. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6307. "type": "integer"
  6308. },
  6309. "closetype": {
  6310. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6311. "type": "integer"
  6312. },
  6313. "decimalplace": {
  6314. "description": "报价小数位",
  6315. "type": "integer"
  6316. },
  6317. "detailtype": {
  6318. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6319. "type": "integer"
  6320. },
  6321. "exexchangecode": {
  6322. "description": "外部交易所代码",
  6323. "type": "string"
  6324. },
  6325. "exexchangename": {
  6326. "description": "外部交易所名称",
  6327. "type": "string"
  6328. },
  6329. "goodscode": {
  6330. "description": "商品代码(合约)",
  6331. "type": "string"
  6332. },
  6333. "goodsgroupid": {
  6334. "description": "商品组ID(品种ID)",
  6335. "type": "integer"
  6336. },
  6337. "goodsgroupname": {
  6338. "description": "商品组名称(品种)",
  6339. "type": "string"
  6340. },
  6341. "goodsid": {
  6342. "description": "商品ID",
  6343. "type": "integer"
  6344. },
  6345. "goodsname": {
  6346. "description": "商品名称(合约)",
  6347. "type": "string"
  6348. },
  6349. "goodunit": {
  6350. "description": "报价单位",
  6351. "type": "string"
  6352. },
  6353. "marketid": {
  6354. "description": "市场ID",
  6355. "type": "integer"
  6356. },
  6357. "orderid": {
  6358. "description": "委托单号",
  6359. "type": "string"
  6360. },
  6361. "outgoodscode": {
  6362. "description": "商品代码(外部)",
  6363. "type": "string"
  6364. },
  6365. "relatedouttradeid": {
  6366. "description": "关联外部成交单ID",
  6367. "type": "string"
  6368. },
  6369. "remark": {
  6370. "description": "备注",
  6371. "type": "string"
  6372. },
  6373. "spotcontractid": {
  6374. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6375. "type": "integer"
  6376. },
  6377. "spotcontractno": {
  6378. "description": "现货合同编号",
  6379. "type": "string"
  6380. },
  6381. "tradeid": {
  6382. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6383. "type": "string"
  6384. },
  6385. "tradeprice": {
  6386. "description": "成交价格",
  6387. "type": "number"
  6388. },
  6389. "tradeqty": {
  6390. "description": "成交数量",
  6391. "type": "integer"
  6392. },
  6393. "tradetime": {
  6394. "description": "成交时间",
  6395. "type": "string"
  6396. },
  6397. "updatetime": {
  6398. "description": "更新时间",
  6399. "type": "string"
  6400. }
  6401. }
  6402. },
  6403. "erms2.QuerySpotContractRsp": {
  6404. "type": "object",
  6405. "required": [
  6406. "spotcontractid"
  6407. ],
  6408. "properties": {
  6409. "accountid": {
  6410. "description": "资金账户ID",
  6411. "type": "integer"
  6412. },
  6413. "areauserid": {
  6414. "description": "所属机构",
  6415. "type": "integer"
  6416. },
  6417. "closedate": {
  6418. "description": "终止日期",
  6419. "type": "string"
  6420. },
  6421. "closeremark": {
  6422. "description": "结束备注",
  6423. "type": "string"
  6424. },
  6425. "closetradedate": {
  6426. "description": "完结交易日(yyyyMMdd)",
  6427. "type": "string"
  6428. },
  6429. "closetype": {
  6430. "description": "终止类型 - 1:违约 2:提前终止",
  6431. "type": "integer"
  6432. },
  6433. "contractamount": {
  6434. "description": "合同金额",
  6435. "type": "number"
  6436. },
  6437. "contractattachment": {
  6438. "description": "合同附件",
  6439. "type": "string"
  6440. },
  6441. "contractno": {
  6442. "description": "现货合同编号",
  6443. "type": "string"
  6444. },
  6445. "contractqty": {
  6446. "description": "合同数量(数值) (用于计算)",
  6447. "type": "number"
  6448. },
  6449. "contractqtychar": {
  6450. "description": "合同数量\\已订价数量 (用于显示)",
  6451. "type": "string"
  6452. },
  6453. "contractstatus": {
  6454. "description": "合同状态 - 0:未结束 1:已结束",
  6455. "type": "integer"
  6456. },
  6457. "contracttype": {
  6458. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6459. "type": "integer"
  6460. },
  6461. "customeraccountid": {
  6462. "description": "客户资金账户ID",
  6463. "type": "integer"
  6464. },
  6465. "customeruserid": {
  6466. "description": "客户ID",
  6467. "type": "integer"
  6468. },
  6469. "deliverygoodsdesc": {
  6470. "description": "品种说明",
  6471. "type": "string"
  6472. },
  6473. "deliverygoodsid": {
  6474. "description": "现货品种ID",
  6475. "type": "integer"
  6476. },
  6477. "handlestatus": {
  6478. "description": "处理状态",
  6479. "type": "integer"
  6480. },
  6481. "invoiceatt": {
  6482. "description": "发票附件",
  6483. "type": "string"
  6484. },
  6485. "invoicedatetime": {
  6486. "description": "开收票更新时间",
  6487. "type": "string"
  6488. },
  6489. "invoiceopentime": {
  6490. "description": "开票时间",
  6491. "type": "string"
  6492. },
  6493. "invoiceremark": {
  6494. "description": "发票备注",
  6495. "type": "string"
  6496. },
  6497. "invoicestatus": {
  6498. "description": "开收票状态 - 0:未开票 1:已开票",
  6499. "type": "integer"
  6500. },
  6501. "lastdate": {
  6502. "description": "交货时间",
  6503. "type": "string"
  6504. },
  6505. "marketid": {
  6506. "description": "市场ID",
  6507. "type": "integer"
  6508. },
  6509. "paydatetime": {
  6510. "description": "收付款更新时间",
  6511. "type": "string"
  6512. },
  6513. "payremark": {
  6514. "description": "收付款备注",
  6515. "type": "string"
  6516. },
  6517. "paystatus": {
  6518. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6519. "type": "integer"
  6520. },
  6521. "positionqty": {
  6522. "description": "头寸数量 - 合同数量去小数部分",
  6523. "type": "integer"
  6524. },
  6525. "producttype": {
  6526. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6527. "type": "integer"
  6528. },
  6529. "relatedqty": {
  6530. "description": "已关联数量",
  6531. "type": "number"
  6532. },
  6533. "relatedstatus": {
  6534. "description": "关联完结状态 - 0:未结束 1:已结束",
  6535. "type": "integer"
  6536. },
  6537. "remark": {
  6538. "description": "备注",
  6539. "type": "string"
  6540. },
  6541. "signdate": {
  6542. "description": "签订日期",
  6543. "type": "string"
  6544. },
  6545. "spotcontractid": {
  6546. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6547. "type": "string"
  6548. },
  6549. "spotdatetime": {
  6550. "description": "收发货更新时间",
  6551. "type": "string"
  6552. },
  6553. "spotprice": {
  6554. "description": "价格",
  6555. "type": "number"
  6556. },
  6557. "spotremark": {
  6558. "description": "收发货备注",
  6559. "type": "string"
  6560. },
  6561. "spotstatus": {
  6562. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6563. "type": "integer"
  6564. },
  6565. "tradedate": {
  6566. "description": "交易日(yyyyMMdd)",
  6567. "type": "string"
  6568. },
  6569. "userid": {
  6570. "description": "业务员用户ID",
  6571. "type": "integer"
  6572. },
  6573. "warehouseid": {
  6574. "description": "仓库ID",
  6575. "type": "integer"
  6576. },
  6577. "wrfactortypeid": {
  6578. "description": "仓单要素类型ID",
  6579. "type": "integer"
  6580. },
  6581. "wrstandardid": {
  6582. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6583. "type": "integer"
  6584. }
  6585. }
  6586. },
  6587. "erms3.AddErms2ASApplyReq": {
  6588. "type": "object",
  6589. "required": [
  6590. "asapplyid"
  6591. ],
  6592. "properties": {
  6593. "applybasis": {
  6594. "description": "申请基差",
  6595. "type": "number"
  6596. },
  6597. "applystatus": {
  6598. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6599. "type": "integer"
  6600. },
  6601. "asapplyid": {
  6602. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6603. "type": "integer"
  6604. },
  6605. "asname": {
  6606. "description": "策略名称",
  6607. "type": "string"
  6608. },
  6609. "asno": {
  6610. "description": "策略编号",
  6611. "type": "string"
  6612. },
  6613. "auditid": {
  6614. "description": "审核人",
  6615. "type": "integer"
  6616. },
  6617. "auditremark": {
  6618. "description": "审核备注",
  6619. "type": "string"
  6620. },
  6621. "audittime": {
  6622. "description": "审核时间",
  6623. "type": "string"
  6624. },
  6625. "biztype": {
  6626. "description": "业务类型 - 1:正向套利 2:反向套利",
  6627. "type": "integer"
  6628. },
  6629. "createtime": {
  6630. "description": "创建时间",
  6631. "type": "string"
  6632. },
  6633. "creatorid": {
  6634. "description": "创建人",
  6635. "type": "integer"
  6636. },
  6637. "deliverygoodsid": {
  6638. "description": "现货品种ID",
  6639. "type": "integer"
  6640. },
  6641. "futurequote": {
  6642. "description": "期货额度",
  6643. "type": "number"
  6644. },
  6645. "goodsgroupid": {
  6646. "description": "期货品种ID",
  6647. "type": "integer"
  6648. },
  6649. "marketid": {
  6650. "description": "市场ID",
  6651. "type": "integer"
  6652. },
  6653. "remark": {
  6654. "description": "备注",
  6655. "type": "string"
  6656. },
  6657. "spotquota": {
  6658. "description": "现货额度",
  6659. "type": "number"
  6660. },
  6661. "tradedate": {
  6662. "description": "交易日(yyyyMMdd)",
  6663. "type": "string"
  6664. },
  6665. "userid": {
  6666. "description": "所属机构",
  6667. "type": "integer"
  6668. }
  6669. }
  6670. },
  6671. "erms3.AddErms2SpotTradeApplyReq": {
  6672. "type": "object",
  6673. "required": [
  6674. "spottradeid"
  6675. ],
  6676. "properties": {
  6677. "applyjsondetail": {
  6678. "description": "申请明细(JSON)",
  6679. "type": "string"
  6680. },
  6681. "applystatus": {
  6682. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6683. "type": "integer"
  6684. },
  6685. "areauserid": {
  6686. "description": "所属机构",
  6687. "type": "integer"
  6688. },
  6689. "auditid": {
  6690. "description": "审核人",
  6691. "type": "integer"
  6692. },
  6693. "auditremark": {
  6694. "description": "审核备注",
  6695. "type": "string"
  6696. },
  6697. "audittime": {
  6698. "description": "审核时间",
  6699. "type": "string"
  6700. },
  6701. "createtime": {
  6702. "description": "创建时间",
  6703. "type": "string"
  6704. },
  6705. "creatorid": {
  6706. "description": "创建人",
  6707. "type": "integer"
  6708. },
  6709. "deliverygoodsid": {
  6710. "description": "现货品种ID",
  6711. "type": "integer"
  6712. },
  6713. "futureaccountid": {
  6714. "description": "期货资金账户",
  6715. "type": "integer"
  6716. },
  6717. "goodsgroupid": {
  6718. "description": "期货品种",
  6719. "type": "integer"
  6720. },
  6721. "marketid": {
  6722. "description": "市场ID",
  6723. "type": "integer"
  6724. },
  6725. "remark": {
  6726. "description": "备注",
  6727. "type": "string"
  6728. },
  6729. "spotaccountid": {
  6730. "description": "现货资金账户",
  6731. "type": "integer"
  6732. },
  6733. "spottradeid": {
  6734. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6735. "type": "integer"
  6736. },
  6737. "spottradename": {
  6738. "description": "业务名称",
  6739. "type": "string"
  6740. },
  6741. "spottradeno": {
  6742. "description": "业务编号",
  6743. "type": "string"
  6744. },
  6745. "tradedate": {
  6746. "description": "交易日(yyyyMMdd)",
  6747. "type": "string"
  6748. },
  6749. "wrstandardid": {
  6750. "description": "仓单标准ID",
  6751. "type": "integer"
  6752. }
  6753. }
  6754. },
  6755. "erms3.AddSpotContractApplyReq": {
  6756. "type": "object",
  6757. "required": [
  6758. "accountid",
  6759. "areauserid",
  6760. "contractno",
  6761. "contracttype",
  6762. "customeraccountid",
  6763. "customeruserid",
  6764. "details",
  6765. "orimargin",
  6766. "signdate"
  6767. ],
  6768. "properties": {
  6769. "accountid": {
  6770. "description": "资金账户ID",
  6771. "type": "integer"
  6772. },
  6773. "areauserid": {
  6774. "description": "所属机构",
  6775. "type": "integer"
  6776. },
  6777. "contractattachment": {
  6778. "description": "合同附件",
  6779. "type": "string"
  6780. },
  6781. "contractno": {
  6782. "description": "现货合同编号",
  6783. "type": "string"
  6784. },
  6785. "contracttype": {
  6786. "description": "现货合同类型 - 1:采购 -1:销售",
  6787. "type": "integer"
  6788. },
  6789. "creatorid": {
  6790. "description": "申请人",
  6791. "type": "integer"
  6792. },
  6793. "customeraccountid": {
  6794. "description": "客户资金账户ID",
  6795. "type": "integer"
  6796. },
  6797. "customeruserid": {
  6798. "description": "客户ID",
  6799. "type": "integer"
  6800. },
  6801. "details": {
  6802. "description": "明细",
  6803. "type": "array",
  6804. "items": {
  6805. "$ref": "#/definitions/erms3.SoptContractDetail"
  6806. }
  6807. },
  6808. "orimargin": {
  6809. "description": "初始保证金",
  6810. "type": "number"
  6811. },
  6812. "remark": {
  6813. "description": "备注",
  6814. "type": "string"
  6815. },
  6816. "signdate": {
  6817. "description": "签订日期",
  6818. "type": "string"
  6819. }
  6820. }
  6821. },
  6822. "erms3.AddSpotContractApplyRsp": {
  6823. "type": "object",
  6824. "required": [
  6825. "contractno"
  6826. ],
  6827. "properties": {
  6828. "contractno": {
  6829. "description": "现货合同编号",
  6830. "type": "string"
  6831. },
  6832. "spotcontractid": {
  6833. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6834. "type": "integer"
  6835. }
  6836. }
  6837. },
  6838. "erms3.AddUserInfoApplyReq": {
  6839. "type": "object",
  6840. "required": [
  6841. "userid"
  6842. ],
  6843. "properties": {
  6844. "accountid": {
  6845. "description": "交易系统帐号Id (加密存储)",
  6846. "type": "integer"
  6847. },
  6848. "areacode": {
  6849. "description": "机构代码",
  6850. "type": "string"
  6851. },
  6852. "areaid": {
  6853. "description": "机构Id",
  6854. "type": "integer"
  6855. },
  6856. "attachment1": {
  6857. "description": "附件1",
  6858. "type": "string"
  6859. },
  6860. "attachment2": {
  6861. "description": "附件2",
  6862. "type": "string"
  6863. },
  6864. "attachment3": {
  6865. "description": "附件3",
  6866. "type": "string"
  6867. },
  6868. "attachment4": {
  6869. "description": "附件4",
  6870. "type": "string"
  6871. },
  6872. "attachment5": {
  6873. "description": "附件5",
  6874. "type": "string"
  6875. },
  6876. "auditedby": {
  6877. "description": "审核人",
  6878. "type": "string"
  6879. },
  6880. "auditime": {
  6881. "description": "审核时间",
  6882. "type": "string"
  6883. },
  6884. "bankaccount": {
  6885. "description": "银行帐号 (加密存储)",
  6886. "type": "string"
  6887. },
  6888. "bankaccountname": {
  6889. "description": "收款人名称",
  6890. "type": "string"
  6891. },
  6892. "bankcardbackphotourl": {
  6893. "description": "银行卡背面照地址",
  6894. "type": "string"
  6895. },
  6896. "bankcardfrontphotourl": {
  6897. "description": "银行卡正面照地址",
  6898. "type": "string"
  6899. },
  6900. "bankid": {
  6901. "description": "银行编码",
  6902. "type": "string"
  6903. },
  6904. "bankname": {
  6905. "description": "银行名称",
  6906. "type": "string"
  6907. },
  6908. "bankpictureurl": {
  6909. "description": "银行卡正面地址",
  6910. "type": "string"
  6911. },
  6912. "biznature": {
  6913. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6914. "type": "integer"
  6915. },
  6916. "bizscope": {
  6917. "description": "企业经营范围(企业)",
  6918. "type": "string"
  6919. },
  6920. "biztype": {
  6921. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6922. "type": "integer"
  6923. },
  6924. "brokerid": {
  6925. "description": "经纪人ID(加密存储)",
  6926. "type": "string"
  6927. },
  6928. "cardaddress": {
  6929. "description": "证件地址 (加密存储)",
  6930. "type": "string"
  6931. },
  6932. "cardbackphotourl": {
  6933. "description": "背面证件照地址",
  6934. "type": "string"
  6935. },
  6936. "cardfrontphotourl": {
  6937. "description": "正面证件照地址",
  6938. "type": "string"
  6939. },
  6940. "cardnum": {
  6941. "description": "证件号码 (加密存储)",
  6942. "type": "string"
  6943. },
  6944. "cardtype": {
  6945. "description": "证件类型",
  6946. "type": "integer"
  6947. },
  6948. "cityid": {
  6949. "description": "市",
  6950. "type": "integer"
  6951. },
  6952. "company": {
  6953. "description": "公司(个人)",
  6954. "type": "string"
  6955. },
  6956. "contactcardbackphotourl": {
  6957. "description": "联系人证件背面图片地址",
  6958. "type": "string"
  6959. },
  6960. "contactcardfrontphotourl": {
  6961. "description": "联系人证件正面图片地址",
  6962. "type": "string"
  6963. },
  6964. "contactname": {
  6965. "description": "联系人",
  6966. "type": "string"
  6967. },
  6968. "countryid": {
  6969. "description": "国家",
  6970. "type": "integer"
  6971. },
  6972. "createtime": {
  6973. "description": "开户申请时间",
  6974. "type": "string"
  6975. },
  6976. "cusbankid": {
  6977. "description": "签约类型",
  6978. "type": "string"
  6979. },
  6980. "cusbankname": {
  6981. "description": "签约类型名称",
  6982. "type": "string"
  6983. },
  6984. "customername": {
  6985. "description": "客户名称(企业名称)",
  6986. "type": "string"
  6987. },
  6988. "districtid": {
  6989. "description": "地区",
  6990. "type": "integer"
  6991. },
  6992. "email": {
  6993. "description": "Email地址(加密存储)",
  6994. "type": "string"
  6995. },
  6996. "halfbodyphotourl": {
  6997. "description": "半身照地址",
  6998. "type": "string"
  6999. },
  7000. "headurl": {
  7001. "description": "头像地址",
  7002. "type": "string"
  7003. },
  7004. "ipaddress": {
  7005. "description": "IP地址",
  7006. "type": "string"
  7007. },
  7008. "isvalidate": {
  7009. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7010. "type": "string"
  7011. },
  7012. "legalcardbackphotourl": {
  7013. "description": "法人身份证背面照地址",
  7014. "type": "string"
  7015. },
  7016. "legalcardfrontphotourl": {
  7017. "description": "法人身份证正面照地址",
  7018. "type": "string"
  7019. },
  7020. "legalpersonname": {
  7021. "description": "法人姓名(企业)",
  7022. "type": "string"
  7023. },
  7024. "logincode": {
  7025. "description": "登录帐号 (加密存储)",
  7026. "type": "string"
  7027. },
  7028. "memberareaid": {
  7029. "description": "所属会员ID",
  7030. "type": "integer"
  7031. },
  7032. "mobile2": {
  7033. "description": "手机号码[明文-尚志]",
  7034. "type": "string"
  7035. },
  7036. "mobilephone": {
  7037. "description": "手机号码 (加密存储)",
  7038. "type": "string"
  7039. },
  7040. "modifiedby": {
  7041. "description": "修改人帐号",
  7042. "type": "integer"
  7043. },
  7044. "modifiedtime": {
  7045. "description": "修改时间",
  7046. "type": "string"
  7047. },
  7048. "nickname": {
  7049. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7050. "type": "string"
  7051. },
  7052. "openmode": {
  7053. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7054. "type": "integer"
  7055. },
  7056. "otherurl": {
  7057. "description": "其它图片地址[使用分号分隔]",
  7058. "type": "string"
  7059. },
  7060. "postalcode": {
  7061. "description": "邮政编码",
  7062. "type": "string"
  7063. },
  7064. "provinceid": {
  7065. "description": "省",
  7066. "type": "integer"
  7067. },
  7068. "proxystatementurl": {
  7069. "description": "授权委托书",
  7070. "type": "string"
  7071. },
  7072. "qq": {
  7073. "description": "QQ(加密存储",
  7074. "type": "string"
  7075. },
  7076. "referral": {
  7077. "description": "推荐人编码",
  7078. "type": "string"
  7079. },
  7080. "remark": {
  7081. "description": "备注",
  7082. "type": "string"
  7083. },
  7084. "removebeforestatus": {
  7085. "description": "REMOVEBEFORESTATUS",
  7086. "type": "integer"
  7087. },
  7088. "sex": {
  7089. "description": "性别 - 0:女 1:男",
  7090. "type": "integer"
  7091. },
  7092. "signedstatus": {
  7093. "description": "账户一号签签约状态",
  7094. "type": "integer"
  7095. },
  7096. "signpdfurl": {
  7097. "description": "签约pdf文件",
  7098. "type": "string"
  7099. },
  7100. "subbranch": {
  7101. "description": "开户支行",
  7102. "type": "string"
  7103. },
  7104. "telphone": {
  7105. "description": "联系电话(加密存储)",
  7106. "type": "string"
  7107. },
  7108. "userid": {
  7109. "description": "用户ID(自增ID)",
  7110. "type": "integer"
  7111. },
  7112. "userinfotype": {
  7113. "description": "用户信息类型 - 1:个人 2:企业",
  7114. "type": "integer"
  7115. },
  7116. "username": {
  7117. "description": "用户姓名",
  7118. "type": "string"
  7119. },
  7120. "userstate": {
  7121. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7122. "type": "integer"
  7123. },
  7124. "usertype": {
  7125. "description": "用户类型 - 1:投资者 2:机构",
  7126. "type": "integer"
  7127. },
  7128. "videourl": {
  7129. "description": "视频地址",
  7130. "type": "string"
  7131. },
  7132. "wechat": {
  7133. "description": "微信号 (加密存储)",
  7134. "type": "string"
  7135. }
  7136. }
  7137. },
  7138. "erms3.CustomerInfo": {
  7139. "type": "object",
  7140. "required": [
  7141. "userid"
  7142. ],
  7143. "properties": {
  7144. "accountids": {
  7145. "description": "资金账户ID列表",
  7146. "type": "array",
  7147. "items": {
  7148. "type": "integer"
  7149. }
  7150. },
  7151. "customername": {
  7152. "description": "名称(企业名称)",
  7153. "type": "string"
  7154. },
  7155. "mobile": {
  7156. "description": "手机号码",
  7157. "type": "string"
  7158. },
  7159. "userid": {
  7160. "description": "用户ID",
  7161. "type": "integer"
  7162. }
  7163. }
  7164. },
  7165. "erms3.QryAuditContractRsp": {
  7166. "type": "object",
  7167. "required": [
  7168. "matchcustomername",
  7169. "spotcontractid"
  7170. ],
  7171. "properties": {
  7172. "accountid": {
  7173. "description": "交易员ID",
  7174. "type": "string"
  7175. },
  7176. "applystatus": {
  7177. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7178. "type": "integer"
  7179. },
  7180. "curdeliveryqty": {
  7181. "description": "未交收量",
  7182. "type": "integer"
  7183. },
  7184. "customername": {
  7185. "description": "采购方ID",
  7186. "type": "string"
  7187. },
  7188. "deliverygoodsid": {
  7189. "description": "品种ID",
  7190. "type": "string"
  7191. },
  7192. "deliveryqty": {
  7193. "description": "交收量",
  7194. "type": "integer"
  7195. },
  7196. "enumdicname": {
  7197. "description": "单位名称",
  7198. "type": "string"
  7199. },
  7200. "matchaccountid": {
  7201. "description": "业务员ID",
  7202. "type": "string"
  7203. },
  7204. "matchcustomername": {
  7205. "description": "销售方ID",
  7206. "type": "string"
  7207. },
  7208. "pricedqty": {
  7209. "description": "定价量",
  7210. "type": "number"
  7211. },
  7212. "signdate": {
  7213. "description": "签订日期",
  7214. "type": "string"
  7215. },
  7216. "spotcontractid": {
  7217. "description": "合同ID",
  7218. "type": "string"
  7219. },
  7220. "totaldqty": {
  7221. "description": "合同量",
  7222. "type": "number"
  7223. },
  7224. "unpricedqty": {
  7225. "description": "未定价量",
  7226. "type": "number"
  7227. },
  7228. "wrstandardname": {
  7229. "description": "商品名称",
  7230. "type": "string"
  7231. }
  7232. }
  7233. },
  7234. "erms3.QryPendingBizRsp": {
  7235. "$ref": "#/definitions/models.PendingAuditBizModel"
  7236. },
  7237. "erms3.QueryBusinessInfoRsp": {
  7238. "type": "object",
  7239. "properties": {
  7240. "businessid": {
  7241. "description": "业务ID.",
  7242. "type": "integer"
  7243. },
  7244. "buyamount": {
  7245. "description": "采购额.",
  7246. "type": "number"
  7247. },
  7248. "buyqty": {
  7249. "description": "采购量.",
  7250. "type": "string"
  7251. },
  7252. "futurepl": {
  7253. "description": "期货盈亏.",
  7254. "type": "number"
  7255. },
  7256. "futureqty": {
  7257. "description": "期货敞口.",
  7258. "type": "string"
  7259. },
  7260. "goodsid": {
  7261. "description": "商品名称/商品代码.",
  7262. "type": "string"
  7263. },
  7264. "hedgingqty": {
  7265. "description": "套保量.",
  7266. "type": "string"
  7267. },
  7268. "sellamount": {
  7269. "description": "销售额.",
  7270. "type": "number"
  7271. },
  7272. "sellqty": {
  7273. "description": "销售量.",
  7274. "type": "string"
  7275. },
  7276. "spotmarketvalue": {
  7277. "description": "现货市值.",
  7278. "type": "number"
  7279. },
  7280. "spotpl": {
  7281. "description": "浮动权益.",
  7282. "type": "number"
  7283. },
  7284. "spotqty": {
  7285. "description": "现货量.",
  7286. "type": "string"
  7287. },
  7288. "statu": {
  7289. "description": "状态,0-未结束 1-已结束.",
  7290. "type": "integer"
  7291. },
  7292. "totalpl": {
  7293. "description": "总盈亏.",
  7294. "type": "number"
  7295. },
  7296. "totalqty": {
  7297. "description": "总敞口.",
  7298. "type": "string"
  7299. },
  7300. "type": {
  7301. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7302. "type": "integer"
  7303. }
  7304. }
  7305. },
  7306. "erms3.QuerySpotContractAppleFormRsp": {
  7307. "type": "object",
  7308. "properties": {
  7309. "goodses": {
  7310. "description": "合约列表",
  7311. "type": "array",
  7312. "items": {
  7313. "$ref": "#/definitions/models.GoodsIDAndName"
  7314. }
  7315. },
  7316. "oppositeusers": {
  7317. "description": "对方账号列表",
  7318. "type": "array",
  7319. "items": {
  7320. "$ref": "#/definitions/erms3.CustomerInfo"
  7321. }
  7322. },
  7323. "ouruser": {
  7324. "description": "我方账号",
  7325. "type": "object",
  7326. "$ref": "#/definitions/erms3.CustomerInfo"
  7327. },
  7328. "warehouseinfos": {
  7329. "description": "仓库信息列表",
  7330. "type": "array",
  7331. "items": {
  7332. "$ref": "#/definitions/models.Warehouseinfo"
  7333. }
  7334. },
  7335. "wrstandards": {
  7336. "description": "仓单标准列表",
  7337. "type": "array",
  7338. "items": {
  7339. "$ref": "#/definitions/models.WRStandardInfo"
  7340. }
  7341. }
  7342. }
  7343. },
  7344. "erms3.QuerySpotContractInfoRsp": {
  7345. "type": "object",
  7346. "properties": {
  7347. "accountid": {
  7348. "description": "表示交易员ID.",
  7349. "type": "integer"
  7350. },
  7351. "curdeliveryqty": {
  7352. "description": "表示未交收量.",
  7353. "type": "number"
  7354. },
  7355. "customername": {
  7356. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7357. "type": "string"
  7358. },
  7359. "deliverygoodsid": {
  7360. "description": "表示品种ID.",
  7361. "type": "string"
  7362. },
  7363. "deliveryqty": {
  7364. "description": "表示交收量.",
  7365. "type": "number"
  7366. },
  7367. "matchaccountid": {
  7368. "description": "表示业务员ID.",
  7369. "type": "integer"
  7370. },
  7371. "matchcustomername": {
  7372. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7373. "type": "string"
  7374. },
  7375. "priceqty": {
  7376. "description": "表示定价量.",
  7377. "type": "number"
  7378. },
  7379. "relatedbizid": {
  7380. "description": "表示业务ID.",
  7381. "type": "string"
  7382. },
  7383. "signdate": {
  7384. "description": "表示签订日期.",
  7385. "type": "string"
  7386. },
  7387. "spotcontractid": {
  7388. "description": "合同ID",
  7389. "type": "string"
  7390. },
  7391. "status": {
  7392. "description": "表示状态,0-履约中 1-已完成.",
  7393. "type": "integer"
  7394. },
  7395. "totalqty": {
  7396. "description": "表示合同量.",
  7397. "type": "number"
  7398. },
  7399. "unpricedqty": {
  7400. "description": "表示未定价量.",
  7401. "type": "number"
  7402. },
  7403. "wrstandardname": {
  7404. "description": "表示商品ID.",
  7405. "type": "string"
  7406. }
  7407. }
  7408. },
  7409. "erms3.QueryUserInfoAppliesRsp": {
  7410. "type": "object",
  7411. "required": [
  7412. "userid"
  7413. ],
  7414. "properties": {
  7415. "biznature": {
  7416. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7417. "type": "integer"
  7418. },
  7419. "contactname": {
  7420. "description": "联系人",
  7421. "type": "string"
  7422. },
  7423. "createtime": {
  7424. "description": "开户申请时间",
  7425. "type": "string"
  7426. },
  7427. "userid": {
  7428. "description": "用户ID(自增ID)",
  7429. "type": "integer"
  7430. },
  7431. "userinfotype": {
  7432. "description": "用户信息类型 - 1:个人 2:企业",
  7433. "type": "integer"
  7434. },
  7435. "username": {
  7436. "description": "用户姓名",
  7437. "type": "string"
  7438. },
  7439. "userstate": {
  7440. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7441. "type": "integer"
  7442. }
  7443. }
  7444. },
  7445. "erms3.QueryUserInfosRsp": {
  7446. "type": "object",
  7447. "required": [
  7448. "userid"
  7449. ],
  7450. "properties": {
  7451. "biznature": {
  7452. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7453. "type": "integer"
  7454. },
  7455. "contactname": {
  7456. "description": "联系人",
  7457. "type": "string"
  7458. },
  7459. "customername": {
  7460. "description": "客户名称(企业名称)",
  7461. "type": "string"
  7462. },
  7463. "userid": {
  7464. "description": "用户ID",
  7465. "type": "integer"
  7466. },
  7467. "userinfotype": {
  7468. "description": "用户信息类型 - 1:个人 2:企业",
  7469. "type": "integer"
  7470. },
  7471. "userstatus": {
  7472. "description": "用户状态 - 1:正常 2:注销",
  7473. "type": "integer"
  7474. }
  7475. }
  7476. },
  7477. "erms3.SoptContractDetail": {
  7478. "type": "object",
  7479. "required": [
  7480. "deliverygoodsid",
  7481. "producttype",
  7482. "unitname",
  7483. "warehouseid",
  7484. "wrstandardid",
  7485. "wrstandardname"
  7486. ],
  7487. "properties": {
  7488. "deliverygoodsdesc": {
  7489. "description": "现货品种说明",
  7490. "type": "string"
  7491. },
  7492. "deliverygoodsid": {
  7493. "description": "现货品种ID",
  7494. "type": "integer"
  7495. },
  7496. "deliverygoodsname": {
  7497. "description": "现货品种名称",
  7498. "type": "string"
  7499. },
  7500. "pointdesc": {
  7501. "description": "点价描述",
  7502. "type": "string"
  7503. },
  7504. "producttype": {
  7505. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7506. "type": "integer"
  7507. },
  7508. "producttypename": {
  7509. "description": "产品类型名称",
  7510. "type": "string"
  7511. },
  7512. "spotPointOrderVoList": {
  7513. "description": "点价列表",
  7514. "type": "array",
  7515. "items": {
  7516. "$ref": "#/definitions/erms3.SpotPointOrder"
  7517. }
  7518. },
  7519. "spotPriceOrderList": {
  7520. "description": "定价列表",
  7521. "type": "array",
  7522. "items": {
  7523. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7524. }
  7525. },
  7526. "unitname": {
  7527. "description": "单位名称",
  7528. "type": "string"
  7529. },
  7530. "warehouseid": {
  7531. "description": "仓库ID",
  7532. "type": "integer"
  7533. },
  7534. "warehousename": {
  7535. "description": "仓库名称",
  7536. "type": "string"
  7537. },
  7538. "wrstandardid": {
  7539. "description": "交易标的ID",
  7540. "type": "integer"
  7541. },
  7542. "wrstandardname": {
  7543. "description": "交易标的名称",
  7544. "type": "string"
  7545. }
  7546. }
  7547. },
  7548. "erms3.SpotPointOrder": {
  7549. "type": "object",
  7550. "required": [
  7551. "basic",
  7552. "goodsid",
  7553. "qty"
  7554. ],
  7555. "properties": {
  7556. "basic": {
  7557. "description": "基差",
  7558. "type": "number"
  7559. },
  7560. "deliveryenddate": {
  7561. "description": "交收结束日期",
  7562. "type": "string"
  7563. },
  7564. "deliverystartdate": {
  7565. "description": "交收开始日期",
  7566. "type": "string"
  7567. },
  7568. "enddate": {
  7569. "description": "点价结束日期",
  7570. "type": "string"
  7571. },
  7572. "goodsid": {
  7573. "description": "商品ID",
  7574. "type": "integer"
  7575. },
  7576. "goodsname": {
  7577. "description": "商品名称",
  7578. "type": "string"
  7579. },
  7580. "qty": {
  7581. "description": "数量",
  7582. "type": "number"
  7583. },
  7584. "startdate": {
  7585. "description": "点价开始日期",
  7586. "type": "string"
  7587. }
  7588. }
  7589. },
  7590. "erms3.SpotPriceOrder": {
  7591. "type": "object",
  7592. "required": [
  7593. "amount",
  7594. "price",
  7595. "qty"
  7596. ],
  7597. "properties": {
  7598. "amount": {
  7599. "description": "金额",
  7600. "type": "number"
  7601. },
  7602. "deliveryenddate": {
  7603. "description": "交收结束日期",
  7604. "type": "string"
  7605. },
  7606. "deliverystartdate": {
  7607. "description": "交收开始日期",
  7608. "type": "string"
  7609. },
  7610. "price": {
  7611. "description": "价格",
  7612. "type": "number"
  7613. },
  7614. "qty": {
  7615. "description": "数量",
  7616. "type": "number"
  7617. }
  7618. }
  7619. },
  7620. "hsby.GetHsbyMyCountRsp": {
  7621. "type": "object",
  7622. "properties": {
  7623. "myCouponCount": {
  7624. "description": "我的优惠卷数量",
  7625. "type": "integer"
  7626. },
  7627. "myOrderDetailListingCount": {
  7628. "description": "我的订单求购中数量",
  7629. "type": "integer"
  7630. },
  7631. "myOrderDetailPreCount": {
  7632. "description": "我的订单抢购中数量",
  7633. "type": "integer"
  7634. },
  7635. "myPackageUnReceiveCount": {
  7636. "description": "我的包裹待收货数量",
  7637. "type": "integer"
  7638. },
  7639. "myPackageUnSendCount": {
  7640. "description": "我的包裹待发货数量",
  7641. "type": "integer"
  7642. },
  7643. "myPayOrderCount": {
  7644. "description": "我的订单待付款数量",
  7645. "type": "integer"
  7646. }
  7647. }
  7648. },
  7649. "hsby.QueryProvincesAndCitiesRsp": {
  7650. "type": "object",
  7651. "properties": {
  7652. "cities": {
  7653. "description": "市",
  7654. "type": "array",
  7655. "items": {
  7656. "$ref": "#/definitions/models.Division"
  7657. }
  7658. },
  7659. "province": {
  7660. "description": "省",
  7661. "type": "object",
  7662. "$ref": "#/definitions/models.Division"
  7663. }
  7664. }
  7665. },
  7666. "models.AreaSpotModel": {
  7667. "type": "object",
  7668. "properties": {
  7669. "areauserid": {
  7670. "description": "所属机构",
  7671. "type": "integer"
  7672. },
  7673. "decreaseqty": {
  7674. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7675. "type": "number"
  7676. },
  7677. "increaseqty": {
  7678. "description": "增加数量=销售计划数量+采购已定价数量",
  7679. "type": "number"
  7680. },
  7681. "oritoalspotqty": {
  7682. "description": "昨日数量",
  7683. "type": "number"
  7684. },
  7685. "totalspotqty": {
  7686. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7687. "type": "number"
  7688. },
  7689. "updatetime": {
  7690. "description": "更新时间",
  7691. "type": "string"
  7692. },
  7693. "wrstandardcode": {
  7694. "description": "现货品种代码",
  7695. "type": "string"
  7696. },
  7697. "wrstandardid": {
  7698. "description": "现货商品ID",
  7699. "type": "integer"
  7700. },
  7701. "wrstandardname": {
  7702. "description": "现货品种",
  7703. "type": "string"
  7704. }
  7705. }
  7706. },
  7707. "models.Clientfixedadconfig": {
  7708. "type": "object",
  7709. "required": [
  7710. "adsort",
  7711. "adtype"
  7712. ],
  7713. "properties": {
  7714. "adsort": {
  7715. "description": "排序",
  7716. "type": "integer"
  7717. },
  7718. "adtype": {
  7719. "description": "广告位类型 - 1:新品抢购(HSBY)",
  7720. "type": "integer"
  7721. },
  7722. "areauserid": {
  7723. "description": "所属机构ID",
  7724. "type": "integer"
  7725. },
  7726. "createdate": {
  7727. "description": "创建时间",
  7728. "type": "string"
  7729. },
  7730. "creatorid": {
  7731. "description": "创建人",
  7732. "type": "integer"
  7733. },
  7734. "imagepath": {
  7735. "description": "图片",
  7736. "type": "string"
  7737. },
  7738. "isshow": {
  7739. "description": "是否展示 - 0:不展示 1:展示",
  7740. "type": "integer"
  7741. },
  7742. "modifierid": {
  7743. "description": "操作人",
  7744. "type": "integer"
  7745. },
  7746. "recsize": {
  7747. "description": "推荐尺寸",
  7748. "type": "string"
  7749. },
  7750. "title": {
  7751. "description": "标题",
  7752. "type": "string"
  7753. },
  7754. "updatedate": {
  7755. "description": "更新时间",
  7756. "type": "string"
  7757. },
  7758. "urlcontent": {
  7759. "description": "链接(地址或商品ID)",
  7760. "type": "string"
  7761. },
  7762. "urltype": {
  7763. "description": "链接类型 - 1:直接地址 2:商品ID",
  7764. "type": "integer"
  7765. }
  7766. }
  7767. },
  7768. "models.Division": {
  7769. "type": "object",
  7770. "required": [
  7771. "autoid",
  7772. "divisioncode"
  7773. ],
  7774. "properties": {
  7775. "autoid": {
  7776. "description": "自增ID",
  7777. "type": "integer"
  7778. },
  7779. "divisioncode": {
  7780. "description": "行政代码",
  7781. "type": "string"
  7782. },
  7783. "divisionlevel": {
  7784. "description": "行政级别",
  7785. "type": "string"
  7786. },
  7787. "divisionname": {
  7788. "description": "行政名称",
  7789. "type": "string"
  7790. },
  7791. "modifierid": {
  7792. "description": "修改人",
  7793. "type": "integer"
  7794. },
  7795. "modifytime": {
  7796. "description": "修改时间",
  7797. "type": "string"
  7798. },
  7799. "parentcode": {
  7800. "description": "上级行政代码",
  7801. "type": "string"
  7802. },
  7803. "pathname": {
  7804. "description": "路径名称",
  7805. "type": "string"
  7806. },
  7807. "postcode": {
  7808. "description": "邮政编码",
  7809. "type": "string"
  7810. },
  7811. "separablename": {
  7812. "description": "可拆分的全称",
  7813. "type": "string"
  7814. },
  7815. "shortcode": {
  7816. "description": "地区简码",
  7817. "type": "string"
  7818. }
  7819. }
  7820. },
  7821. "models.Enumdicitem": {
  7822. "type": "object",
  7823. "required": [
  7824. "autoid",
  7825. "enumdiccode",
  7826. "enumdicid",
  7827. "enumitemname"
  7828. ],
  7829. "properties": {
  7830. "autoid": {
  7831. "description": "自增ID",
  7832. "type": "integer"
  7833. },
  7834. "bankmappedvalue": {
  7835. "description": "银行服务对应值",
  7836. "type": "string"
  7837. },
  7838. "enumdiccode": {
  7839. "description": "所属枚举代码",
  7840. "type": "string"
  7841. },
  7842. "enumdicid": {
  7843. "description": "所属枚举ID",
  7844. "type": "integer"
  7845. },
  7846. "enumdicname": {
  7847. "description": "枚举项名称",
  7848. "type": "string"
  7849. },
  7850. "enumitemname": {
  7851. "description": "枚举项值",
  7852. "type": "integer"
  7853. },
  7854. "enumitemstatus": {
  7855. "description": "枚举项状态 - 1.启用 2.不启用",
  7856. "type": "integer"
  7857. },
  7858. "enumitemvalue": {
  7859. "description": "通用值 - [币种通用简写]",
  7860. "type": "string"
  7861. },
  7862. "param1": {
  7863. "description": "参数1[币种:币种小数位]",
  7864. "type": "string"
  7865. },
  7866. "param2": {
  7867. "description": "参数1[币种:币种显示单位]",
  7868. "type": "string"
  7869. },
  7870. "remark": {
  7871. "description": "备注",
  7872. "type": "string"
  7873. }
  7874. }
  7875. },
  7876. "models.ErmcpExposureDetailModel": {
  7877. "type": "object",
  7878. "properties": {
  7879. "areauserid": {
  7880. "description": "机构ID",
  7881. "type": "integer"
  7882. },
  7883. "changeQty": {
  7884. "description": "套保变动量",
  7885. "type": "number"
  7886. },
  7887. "contracttype": {
  7888. "description": "现货合同类型 - 1:采购 -1:销售",
  7889. "type": "integer"
  7890. },
  7891. "convertfactor": {
  7892. "description": "标仓系数",
  7893. "type": "number"
  7894. },
  7895. "convertratio": {
  7896. "description": "套保系数",
  7897. "type": "number"
  7898. },
  7899. "createtime": {
  7900. "description": "时间",
  7901. "type": "string"
  7902. },
  7903. "enumdicname": {
  7904. "description": "现货商品单位名称",
  7905. "type": "string"
  7906. },
  7907. "logtype": {
  7908. "description": "类型 - 1:套保计划 2:现货合同",
  7909. "type": "integer"
  7910. },
  7911. "middlegoodsId": {
  7912. "description": "套保商品id",
  7913. "type": "integer"
  7914. },
  7915. "middlegoodscode": {
  7916. "description": "套保商品代码",
  7917. "type": "string"
  7918. },
  7919. "middlegoodsname": {
  7920. "description": "套保商品名称",
  7921. "type": "string"
  7922. },
  7923. "qty": {
  7924. "description": "数量",
  7925. "type": "number"
  7926. },
  7927. "relateNo": {
  7928. "description": "现货合同/套保计划编号",
  7929. "type": "string"
  7930. },
  7931. "wrstandardcode": {
  7932. "description": "现货商品代码",
  7933. "type": "string"
  7934. },
  7935. "wrstandardid": {
  7936. "description": "现货商品ID",
  7937. "type": "integer"
  7938. },
  7939. "wrstandardname": {
  7940. "description": "现货商品名称",
  7941. "type": "string"
  7942. }
  7943. }
  7944. },
  7945. "models.ErmcpHedgePlan": {
  7946. "type": "object",
  7947. "properties": {
  7948. "areauserid": {
  7949. "description": "用户ID",
  7950. "type": "integer"
  7951. },
  7952. "contracttype": {
  7953. "description": "计划类型 - 1:采购 -1:销售",
  7954. "type": "integer"
  7955. },
  7956. "convertfactor": {
  7957. "description": "标仓系数",
  7958. "type": "number"
  7959. },
  7960. "deliverygoodsid": {
  7961. "description": "现货品种ID",
  7962. "type": "integer"
  7963. },
  7964. "deliverygoodsname": {
  7965. "description": "现货品种名称",
  7966. "type": "string"
  7967. },
  7968. "hedgeplanid": {
  7969. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  7970. "type": "string"
  7971. },
  7972. "hedgeplanno": {
  7973. "description": "套保计划编号(名称)",
  7974. "type": "string"
  7975. },
  7976. "hedgeplanstatus": {
  7977. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7978. "type": "integer"
  7979. },
  7980. "planqty": {
  7981. "description": "计划数量",
  7982. "type": "number"
  7983. },
  7984. "plantime": {
  7985. "description": "计划时间",
  7986. "type": "string"
  7987. },
  7988. "producttype": {
  7989. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  7990. "type": "integer"
  7991. },
  7992. "remark": {
  7993. "description": "备注",
  7994. "type": "string"
  7995. },
  7996. "spotgoodsdesc": {
  7997. "description": "商品型号",
  7998. "type": "string"
  7999. },
  8000. "wrstandardid": {
  8001. "description": "现货商品ID",
  8002. "type": "integer"
  8003. },
  8004. "wrstandardname": {
  8005. "description": "现货商品名称",
  8006. "type": "string"
  8007. }
  8008. }
  8009. },
  8010. "models.ErmcpModel": {
  8011. "type": "object",
  8012. "properties": {
  8013. "accountid": {
  8014. "description": "账户ID",
  8015. "type": "string"
  8016. },
  8017. "accountname": {
  8018. "description": "账户名称",
  8019. "type": "string"
  8020. },
  8021. "contracctstatus": {
  8022. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8023. "type": "integer"
  8024. },
  8025. "contractno": {
  8026. "description": "合同编号",
  8027. "type": "string"
  8028. },
  8029. "contracttype": {
  8030. "description": "合同类型 1-采购, -1-销售",
  8031. "type": "number"
  8032. },
  8033. "convertfactor": {
  8034. "description": "标仓系数",
  8035. "type": "number"
  8036. },
  8037. "daikaiamount": {
  8038. "description": "待开票额",
  8039. "type": "number"
  8040. },
  8041. "deliveryenddate": {
  8042. "description": "交割结束日",
  8043. "type": "string"
  8044. },
  8045. "deliverygoodscode": {
  8046. "description": "现货商品代码",
  8047. "type": "string"
  8048. },
  8049. "deliverygoodsid": {
  8050. "description": "现货商品ID",
  8051. "type": "integer"
  8052. },
  8053. "deliverygoodsname": {
  8054. "description": "现货商品名称",
  8055. "type": "string"
  8056. },
  8057. "deliverystartdate": {
  8058. "description": "交割开始日",
  8059. "type": "string"
  8060. },
  8061. "enddate": {
  8062. "description": "点价结束日",
  8063. "type": "string"
  8064. },
  8065. "enumdicname": {
  8066. "description": "单位名称",
  8067. "type": "string"
  8068. },
  8069. "goodscode": {
  8070. "description": "点价商品代码",
  8071. "type": "string"
  8072. },
  8073. "goodsid": {
  8074. "description": "点价商品ID",
  8075. "type": "integer"
  8076. },
  8077. "invoiceamount": {
  8078. "description": "已开票额",
  8079. "type": "number"
  8080. },
  8081. "loanamount": {
  8082. "description": "贷款总额=已定价额+调整金额",
  8083. "type": "number"
  8084. },
  8085. "margin": {
  8086. "description": "保证金",
  8087. "type": "number"
  8088. },
  8089. "payamount": {
  8090. "description": "已收付额(收款或付款)",
  8091. "type": "number"
  8092. },
  8093. "price": {
  8094. "description": "价格",
  8095. "type": "number"
  8096. },
  8097. "pricedamount": {
  8098. "description": "已定价额",
  8099. "type": "number"
  8100. },
  8101. "pricedavg": {
  8102. "description": "已点均价",
  8103. "type": "number"
  8104. },
  8105. "pricedqty": {
  8106. "description": "已定价量",
  8107. "type": "number"
  8108. },
  8109. "pricemove": {
  8110. "description": "升贴水",
  8111. "type": "number"
  8112. },
  8113. "pricetype": {
  8114. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8115. "type": "integer"
  8116. },
  8117. "producttype": {
  8118. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8119. "type": "integer"
  8120. },
  8121. "qty": {
  8122. "description": "合同量",
  8123. "type": "number"
  8124. },
  8125. "reckonadjustamount": {
  8126. "description": "调整金额",
  8127. "type": "number"
  8128. },
  8129. "reckonedamount": {
  8130. "description": "已收付额(已确定额)",
  8131. "type": "number"
  8132. },
  8133. "reckonotheramount": {
  8134. "description": "其它费用",
  8135. "type": "number"
  8136. },
  8137. "reckonrealqty": {
  8138. "description": "已确定量",
  8139. "type": "number"
  8140. },
  8141. "remark": {
  8142. "description": "备注",
  8143. "type": "string"
  8144. },
  8145. "spotcontractid": {
  8146. "description": "合同ID",
  8147. "type": "string"
  8148. },
  8149. "spotgoodsdesc": {
  8150. "description": "商品型号(商品规格)",
  8151. "type": "string"
  8152. },
  8153. "startdate": {
  8154. "description": "点价开始日",
  8155. "type": "string"
  8156. },
  8157. "totalamount": {
  8158. "description": "合计总额",
  8159. "type": "number"
  8160. },
  8161. "unpayamount": {
  8162. "description": "待支收额(支付或收款)",
  8163. "type": "number"
  8164. },
  8165. "unpricedqty": {
  8166. "description": "未定价量",
  8167. "type": "number"
  8168. },
  8169. "unsureqty": {
  8170. "description": "未确定量",
  8171. "type": "number"
  8172. },
  8173. "userid": {
  8174. "description": "用户ID",
  8175. "type": "integer"
  8176. }
  8177. }
  8178. },
  8179. "models.ErmcpOPLogModel": {
  8180. "type": "object",
  8181. "properties": {
  8182. "aftervalue": {
  8183. "description": "变更后",
  8184. "type": "number"
  8185. },
  8186. "applyid": {
  8187. "description": "操作人ID",
  8188. "type": "string"
  8189. },
  8190. "applyname": {
  8191. "description": "操作人名称",
  8192. "type": "string"
  8193. },
  8194. "beforevalue": {
  8195. "description": "变更前",
  8196. "type": "number"
  8197. },
  8198. "biztype": {
  8199. "description": "业务类型 - 1:套保计划 2:现货合同",
  8200. "type": "integer"
  8201. },
  8202. "contracttype": {
  8203. "description": "现货合同类型 - 1:采购 -1:销售",
  8204. "type": "integer"
  8205. },
  8206. "logvalue": {
  8207. "description": "数值",
  8208. "type": "number"
  8209. },
  8210. "operatelogtype": {
  8211. "description": "操作流水类型",
  8212. "type": "integer"
  8213. },
  8214. "operatelogtypedesc": {
  8215. "description": "操作流水类型名称",
  8216. "type": "string"
  8217. },
  8218. "relatedid": {
  8219. "description": "现货合同ID\\套保计划",
  8220. "type": "string"
  8221. },
  8222. "updatetime": {
  8223. "description": "更新时间",
  8224. "type": "string"
  8225. }
  8226. }
  8227. },
  8228. "models.ErmcpRealExposureModel": {
  8229. "type": "object",
  8230. "properties": {
  8231. "areaUserID": {
  8232. "description": "所属机构",
  8233. "type": "integer"
  8234. },
  8235. "buyFutureQty": {
  8236. "description": "买入期货数量",
  8237. "type": "number"
  8238. },
  8239. "buyPlanQty": {
  8240. "description": "采购计划数量",
  8241. "type": "number"
  8242. },
  8243. "buyPricedQty": {
  8244. "description": "采购合同已定价数量",
  8245. "type": "number"
  8246. },
  8247. "middleGoodsCode": {
  8248. "description": "套保品种代码",
  8249. "type": "string"
  8250. },
  8251. "middleGoodsHedgeRatio": {
  8252. "description": "应套保比例",
  8253. "type": "number"
  8254. },
  8255. "middleGoodsID": {
  8256. "description": "套保品种",
  8257. "type": "integer"
  8258. },
  8259. "middleGoodsName": {
  8260. "description": "************以下需计算或非redis数据************//",
  8261. "type": "string"
  8262. },
  8263. "needHedgeExposoure": {
  8264. "description": "应套保敞口",
  8265. "type": "number"
  8266. },
  8267. "needHedgeRatio": {
  8268. "description": "应套保敞口比例",
  8269. "type": "number"
  8270. },
  8271. "oriBuyFutureQty": {
  8272. "description": "期初买入期货数量",
  8273. "type": "integer"
  8274. },
  8275. "oriBuyPlanQty": {
  8276. "description": "期初采购计划数量",
  8277. "type": "number"
  8278. },
  8279. "oriBuyPricedQty": {
  8280. "description": "期初采购合同已定价数量",
  8281. "type": "number"
  8282. },
  8283. "oriSellFutureQty": {
  8284. "description": "期初卖出期货数量",
  8285. "type": "integer"
  8286. },
  8287. "oriSellPlanQty": {
  8288. "description": "期初销售计划数量",
  8289. "type": "number"
  8290. },
  8291. "oriSellPricedQty": {
  8292. "description": "期初销售合同已定价数量",
  8293. "type": "number"
  8294. },
  8295. "oriTotalFutuQty": {
  8296. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8297. "type": "integer"
  8298. },
  8299. "oriTotalSpotQty": {
  8300. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8301. "type": "number"
  8302. },
  8303. "sellFutureQty": {
  8304. "description": "卖出期货数量",
  8305. "type": "number"
  8306. },
  8307. "sellPlanQty": {
  8308. "description": "销售计划数量",
  8309. "type": "number"
  8310. },
  8311. "sellPricedQty": {
  8312. "description": "销售合同已定价数量",
  8313. "type": "number"
  8314. },
  8315. "totalExposure": {
  8316. "description": "总敞口",
  8317. "type": "number"
  8318. },
  8319. "totalFutureQty": {
  8320. "description": "期货数量",
  8321. "type": "number"
  8322. },
  8323. "totalHedgeRatio": {
  8324. "description": "敞口比例",
  8325. "type": "number"
  8326. },
  8327. "totalNeedHedgeQty": {
  8328. "description": "期货应套保量",
  8329. "type": "number"
  8330. },
  8331. "totalSpotQty": {
  8332. "description": "现货数量",
  8333. "type": "number"
  8334. }
  8335. }
  8336. },
  8337. "models.ErmcpSpotContractModel": {
  8338. "type": "object",
  8339. "properties": {
  8340. "amount": {
  8341. "description": "金额 [1:一口价、3:暂定价]",
  8342. "type": "number"
  8343. },
  8344. "buyuserid": {
  8345. "description": "采购方ID",
  8346. "type": "integer"
  8347. },
  8348. "buyusername": {
  8349. "description": "采购方名称",
  8350. "type": "string"
  8351. },
  8352. "contracctstatus": {
  8353. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8354. "type": "integer"
  8355. },
  8356. "contractno": {
  8357. "description": "现货合同编号",
  8358. "type": "string"
  8359. },
  8360. "contracttype": {
  8361. "description": "现货合同类型 - 1:采购 -1:销售",
  8362. "type": "integer"
  8363. },
  8364. "convertfactor": {
  8365. "description": "标仓系数",
  8366. "type": "number"
  8367. },
  8368. "deliveryenddate": {
  8369. "description": "交收期(结束)",
  8370. "type": "string"
  8371. },
  8372. "deliverygoodscode": {
  8373. "description": "现货品种代码",
  8374. "type": "string"
  8375. },
  8376. "deliverygoodsid": {
  8377. "description": "现货品种ID",
  8378. "type": "integer"
  8379. },
  8380. "deliverygoodsname": {
  8381. "description": "现货品种名称",
  8382. "type": "string"
  8383. },
  8384. "deliverystartdate": {
  8385. "description": "交收期(开始)",
  8386. "type": "string"
  8387. },
  8388. "enddate": {
  8389. "description": "点价结束日期 [2:点价 3:暂定价]",
  8390. "type": "string"
  8391. },
  8392. "enumdicname": {
  8393. "description": "单位名称",
  8394. "type": "string"
  8395. },
  8396. "goodscode": {
  8397. "description": "点价合约代码",
  8398. "type": "string"
  8399. },
  8400. "goodsid": {
  8401. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  8402. "type": "integer"
  8403. },
  8404. "margin": {
  8405. "description": "当前保证金",
  8406. "type": "number"
  8407. },
  8408. "price": {
  8409. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  8410. "type": "number"
  8411. },
  8412. "pricemove": {
  8413. "description": "升贴水 [2:点价 3:暂定价]",
  8414. "type": "number"
  8415. },
  8416. "pricetype": {
  8417. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8418. "type": "integer"
  8419. },
  8420. "producttype": {
  8421. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8422. "type": "integer"
  8423. },
  8424. "qty": {
  8425. "description": "数量",
  8426. "type": "number"
  8427. },
  8428. "remark": {
  8429. "description": "备注",
  8430. "type": "string"
  8431. },
  8432. "selluserid": {
  8433. "description": "销售方ID",
  8434. "type": "integer"
  8435. },
  8436. "sellusername": {
  8437. "description": "销售方名称",
  8438. "type": "string"
  8439. },
  8440. "spotcontractid": {
  8441. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  8442. "type": "string"
  8443. },
  8444. "spotgoodsdesc": {
  8445. "description": "商品型号",
  8446. "type": "string"
  8447. },
  8448. "startdate": {
  8449. "description": "点价开始日期 [2:点价 3:暂定价]",
  8450. "type": "string"
  8451. },
  8452. "userid": {
  8453. "description": "机构ID",
  8454. "type": "integer"
  8455. }
  8456. }
  8457. },
  8458. "models.ErmcpUserModel": {
  8459. "type": "object",
  8460. "properties": {
  8461. "address": {
  8462. "description": "通讯地址",
  8463. "type": "string"
  8464. },
  8465. "attachment1": {
  8466. "description": "附件1",
  8467. "type": "string"
  8468. },
  8469. "cardfrontphotourl": {
  8470. "description": "证件正面图片地址",
  8471. "type": "string"
  8472. },
  8473. "cardnum": {
  8474. "description": "证件号码",
  8475. "type": "string"
  8476. },
  8477. "cardtype": {
  8478. "description": "证件类型",
  8479. "type": "integer"
  8480. },
  8481. "cardtypename": {
  8482. "description": "证件类型名称",
  8483. "type": "string"
  8484. },
  8485. "cityid": {
  8486. "description": "市",
  8487. "type": "integer"
  8488. },
  8489. "countryid": {
  8490. "description": "国家",
  8491. "type": "integer"
  8492. },
  8493. "customername": {
  8494. "description": "企业名称",
  8495. "type": "string"
  8496. },
  8497. "memberuserid": {
  8498. "description": "所属机构ID",
  8499. "type": "integer"
  8500. },
  8501. "mobile": {
  8502. "description": "手机号码",
  8503. "type": "string"
  8504. },
  8505. "provinceid": {
  8506. "description": "省",
  8507. "type": "integer"
  8508. },
  8509. "remark": {
  8510. "description": "备注",
  8511. "type": "string"
  8512. },
  8513. "status": {
  8514. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8515. "type": "integer"
  8516. },
  8517. "statusdesc": {
  8518. "description": "账户状态中文描述",
  8519. "type": "string"
  8520. },
  8521. "telphone": {
  8522. "description": "联系电话",
  8523. "type": "string"
  8524. },
  8525. "userid": {
  8526. "description": "用户ID",
  8527. "type": "integer"
  8528. },
  8529. "userinfotype": {
  8530. "description": "客户类型",
  8531. "type": "string"
  8532. }
  8533. }
  8534. },
  8535. "models.ErmcpWrstandard": {
  8536. "type": "object",
  8537. "properties": {
  8538. "areauserid": {
  8539. "description": "所属机构",
  8540. "type": "integer"
  8541. },
  8542. "createtime": {
  8543. "description": "创建时间",
  8544. "type": "string"
  8545. },
  8546. "creatorid": {
  8547. "description": "创建人",
  8548. "type": "integer"
  8549. },
  8550. "deliverygoodsid": {
  8551. "description": "品种ID",
  8552. "type": "integer"
  8553. },
  8554. "enumdicname": {
  8555. "description": "单位名称",
  8556. "type": "string"
  8557. },
  8558. "minivalue": {
  8559. "description": "最小变动值",
  8560. "type": "integer"
  8561. },
  8562. "minivaluedp": {
  8563. "description": "最小变动值小数位",
  8564. "type": "integer"
  8565. },
  8566. "realminivalue": {
  8567. "description": "实际最小变动值",
  8568. "type": "integer"
  8569. },
  8570. "realminivaluedp": {
  8571. "description": "实际最小变动值小数位",
  8572. "type": "integer"
  8573. },
  8574. "unitid": {
  8575. "description": "单位ID",
  8576. "type": "integer"
  8577. },
  8578. "wrstandardcode": {
  8579. "description": "现货商品代码",
  8580. "type": "string"
  8581. },
  8582. "wrstandardid": {
  8583. "description": "现货商品ID(SEQ_WRSTANDARD)",
  8584. "type": "integer"
  8585. },
  8586. "wrstandardname": {
  8587. "description": "现货商品名称",
  8588. "type": "string"
  8589. }
  8590. }
  8591. },
  8592. "models.GoodsIDAndName": {
  8593. "type": "object",
  8594. "required": [
  8595. "goodscode",
  8596. "goodsid",
  8597. "goodsname",
  8598. "marketid"
  8599. ],
  8600. "properties": {
  8601. "goodscode": {
  8602. "description": "商品代码(内部)",
  8603. "type": "string"
  8604. },
  8605. "goodsid": {
  8606. "description": "商品ID(自增ID SEQ_GOODS)",
  8607. "type": "integer"
  8608. },
  8609. "goodsname": {
  8610. "description": "商品名称",
  8611. "type": "string"
  8612. },
  8613. "marketid": {
  8614. "description": "所属市场ID",
  8615. "type": "integer"
  8616. }
  8617. }
  8618. },
  8619. "models.HsbyBuyMyPayOrder": {
  8620. "type": "object",
  8621. "required": [
  8622. "goodscode",
  8623. "goodsname",
  8624. "tradeid",
  8625. "trademode"
  8626. ],
  8627. "properties": {
  8628. "agreeunit": {
  8629. "description": "合约单位",
  8630. "type": "number"
  8631. },
  8632. "buyaccountid": {
  8633. "description": "买方账号ID[报价币种]",
  8634. "type": "integer"
  8635. },
  8636. "buyorderid": {
  8637. "description": "买方委托单号",
  8638. "type": "string"
  8639. },
  8640. "createtime": {
  8641. "description": "创建时间",
  8642. "type": "string"
  8643. },
  8644. "currencysign": {
  8645. "description": "货币符号",
  8646. "type": "string"
  8647. },
  8648. "decimalplace": {
  8649. "description": "报价小数位",
  8650. "type": "integer"
  8651. },
  8652. "goodscode": {
  8653. "description": "商品代码(内部)",
  8654. "type": "string"
  8655. },
  8656. "goodsid": {
  8657. "description": "商品ID",
  8658. "type": "integer"
  8659. },
  8660. "goodsname": {
  8661. "description": "商品名称",
  8662. "type": "string"
  8663. },
  8664. "marketid": {
  8665. "description": "市场ID",
  8666. "type": "integer"
  8667. },
  8668. "offamount": {
  8669. "description": "优惠金额",
  8670. "type": "number"
  8671. },
  8672. "payamount": {
  8673. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8674. "type": "number"
  8675. },
  8676. "payflag": {
  8677. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8678. "type": "integer"
  8679. },
  8680. "paylimitedtime": {
  8681. "description": "支付期限",
  8682. "type": "string"
  8683. },
  8684. "paytime": {
  8685. "description": "付款时间",
  8686. "type": "string"
  8687. },
  8688. "picurls1": {
  8689. "description": "预售商品介绍图片[多张用逗号分隔]",
  8690. "type": "string"
  8691. },
  8692. "picurls2": {
  8693. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8694. "type": "string"
  8695. },
  8696. "sellaccountid": {
  8697. "description": "卖方账号ID[报价币种]",
  8698. "type": "integer"
  8699. },
  8700. "sellorderid": {
  8701. "description": "卖方委托单号",
  8702. "type": "string"
  8703. },
  8704. "tradeamount": {
  8705. "description": "成交金额",
  8706. "type": "number"
  8707. },
  8708. "tradecharge": {
  8709. "description": "成交手续费(买方)",
  8710. "type": "number"
  8711. },
  8712. "tradedate": {
  8713. "description": "交易日(yyyyMMdd)",
  8714. "type": "string"
  8715. },
  8716. "tradeid": {
  8717. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8718. "type": "string"
  8719. },
  8720. "trademode": {
  8721. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8722. "type": "integer"
  8723. },
  8724. "tradeprice": {
  8725. "description": "成交价格",
  8726. "type": "number"
  8727. },
  8728. "tradeqty": {
  8729. "description": "成交数量",
  8730. "type": "integer"
  8731. },
  8732. "vendorname1": {
  8733. "description": "预售商品供应商名称",
  8734. "type": "string"
  8735. },
  8736. "vendorname2": {
  8737. "description": "挂牌商品供应商名称",
  8738. "type": "string"
  8739. }
  8740. }
  8741. },
  8742. "models.HsbyBuyMyTradeDetail": {
  8743. "type": "object",
  8744. "required": [
  8745. "accountid",
  8746. "buyorsell",
  8747. "goodscode",
  8748. "goodsid",
  8749. "goodsname",
  8750. "marketid",
  8751. "orderid",
  8752. "qty",
  8753. "time",
  8754. "trademode"
  8755. ],
  8756. "properties": {
  8757. "accountid": {
  8758. "description": "账户ID[报价币种]",
  8759. "type": "integer"
  8760. },
  8761. "agreeunit": {
  8762. "description": "合约单位",
  8763. "type": "number"
  8764. },
  8765. "amount": {
  8766. "description": "金额 = 价格 * 数量 * 合约单位",
  8767. "type": "number"
  8768. },
  8769. "buyorsell": {
  8770. "description": "买卖 - 0:买 1:卖",
  8771. "type": "integer"
  8772. },
  8773. "currencysign": {
  8774. "description": "货币符号",
  8775. "type": "string"
  8776. },
  8777. "decimalplace": {
  8778. "description": "报价小数位",
  8779. "type": "integer"
  8780. },
  8781. "goodscode": {
  8782. "description": "商品代码(内部)",
  8783. "type": "string"
  8784. },
  8785. "goodsid": {
  8786. "description": "商品ID",
  8787. "type": "integer"
  8788. },
  8789. "goodsname": {
  8790. "description": "商品名称",
  8791. "type": "string"
  8792. },
  8793. "marketid": {
  8794. "description": "市场ID",
  8795. "type": "integer"
  8796. },
  8797. "orderid": {
  8798. "description": "单号(成交单号)",
  8799. "type": "string"
  8800. },
  8801. "picurls1": {
  8802. "description": "预售商品介绍图片[多张用逗号分隔]",
  8803. "type": "string"
  8804. },
  8805. "picurls2": {
  8806. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8807. "type": "string"
  8808. },
  8809. "price": {
  8810. "description": "价格",
  8811. "type": "number"
  8812. },
  8813. "qty": {
  8814. "description": "数量",
  8815. "type": "integer"
  8816. },
  8817. "time": {
  8818. "description": "时间",
  8819. "type": "string"
  8820. },
  8821. "trademode": {
  8822. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8823. "type": "integer"
  8824. },
  8825. "vendorname1": {
  8826. "description": "预售商品供应商名称",
  8827. "type": "string"
  8828. },
  8829. "vendorname2": {
  8830. "description": "挂牌商品供应商名称",
  8831. "type": "string"
  8832. }
  8833. }
  8834. },
  8835. "models.HsbyGoodsOrderDetail": {
  8836. "type": "object",
  8837. "required": [
  8838. "buyorsell",
  8839. "orderid",
  8840. "ordertime"
  8841. ],
  8842. "properties": {
  8843. "buyorsell": {
  8844. "description": "买卖 - 0:买 1:卖",
  8845. "type": "integer"
  8846. },
  8847. "currencysign": {
  8848. "description": "货币符号",
  8849. "type": "string"
  8850. },
  8851. "customername": {
  8852. "description": "客户名称(企业名称),已脱敏",
  8853. "type": "string"
  8854. },
  8855. "enableqty": {
  8856. "description": "可用数量",
  8857. "type": "integer"
  8858. },
  8859. "goodunit": {
  8860. "description": "报价单位",
  8861. "type": "string"
  8862. },
  8863. "orderid": {
  8864. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8865. "type": "string"
  8866. },
  8867. "orderprice": {
  8868. "description": "委托价格",
  8869. "type": "number"
  8870. },
  8871. "ordertime": {
  8872. "description": "委托时间",
  8873. "type": "string"
  8874. }
  8875. }
  8876. },
  8877. "models.HsbyListingGoodsDetail": {
  8878. "type": "object",
  8879. "required": [
  8880. "goodscode",
  8881. "goodsid",
  8882. "goodsname",
  8883. "marketid",
  8884. "trademode"
  8885. ],
  8886. "properties": {
  8887. "agreeunit": {
  8888. "description": "合约单位",
  8889. "type": "number"
  8890. },
  8891. "buymaxqty": {
  8892. "description": "购买上限 [71] - 0为不限",
  8893. "type": "integer"
  8894. },
  8895. "currency": {
  8896. "description": "货币",
  8897. "type": "string"
  8898. },
  8899. "currencysign": {
  8900. "description": "货币符号",
  8901. "type": "string"
  8902. },
  8903. "decimalplace": {
  8904. "description": "报价小数位",
  8905. "type": "integer"
  8906. },
  8907. "desccityid": {
  8908. "description": "目的地(市)ID",
  8909. "type": "integer"
  8910. },
  8911. "descprovinceid": {
  8912. "description": "目的地(省)ID",
  8913. "type": "integer"
  8914. },
  8915. "goodscode": {
  8916. "description": "商品代码(内部)",
  8917. "type": "string"
  8918. },
  8919. "goodsdesc": {
  8920. "description": "商品详情",
  8921. "type": "string"
  8922. },
  8923. "goodsid": {
  8924. "description": "商品ID(自增ID SEQ_GOODS)",
  8925. "type": "integer"
  8926. },
  8927. "goodsname": {
  8928. "description": "商品名称",
  8929. "type": "string"
  8930. },
  8931. "goodsprice": {
  8932. "description": "商品价格",
  8933. "type": "number"
  8934. },
  8935. "hotindex": {
  8936. "description": "景点热度",
  8937. "type": "integer"
  8938. },
  8939. "last": {
  8940. "description": "现价",
  8941. "type": "number"
  8942. },
  8943. "limitdown": {
  8944. "description": "跌停价",
  8945. "type": "number"
  8946. },
  8947. "limitup": {
  8948. "description": "涨停价",
  8949. "type": "number"
  8950. },
  8951. "lotsize": {
  8952. "description": "手数最小变动单位",
  8953. "type": "integer"
  8954. },
  8955. "marketid": {
  8956. "description": "所属市场ID",
  8957. "type": "integer"
  8958. },
  8959. "picurls": {
  8960. "description": "介绍图片[多张用逗号分隔]",
  8961. "type": "string"
  8962. },
  8963. "quoteminunit": {
  8964. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8965. "type": "integer"
  8966. },
  8967. "stepvalue": {
  8968. "description": "价格最小变动单位",
  8969. "type": "number"
  8970. },
  8971. "trademode": {
  8972. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8973. "type": "integer"
  8974. },
  8975. "vendorattr": {
  8976. "description": "供应商附件(多张,逗号分隔)",
  8977. "type": "string"
  8978. },
  8979. "vendorname": {
  8980. "description": "供应商名称",
  8981. "type": "string"
  8982. },
  8983. "vendorphone": {
  8984. "description": "供应商客服电话",
  8985. "type": "string"
  8986. },
  8987. "videourls": {
  8988. "description": "介绍视频[多张用逗号分隔]",
  8989. "type": "string"
  8990. }
  8991. }
  8992. },
  8993. "models.HsbyMarketGoods": {
  8994. "type": "object",
  8995. "required": [
  8996. "accountid",
  8997. "buyorsell",
  8998. "goodscode",
  8999. "goodsid",
  9000. "goodsname",
  9001. "marketid",
  9002. "orderid",
  9003. "trademode"
  9004. ],
  9005. "properties": {
  9006. "accountid": {
  9007. "description": "账户ID[报价币种]",
  9008. "type": "integer"
  9009. },
  9010. "agreeunit": {
  9011. "description": "合约单位",
  9012. "type": "number"
  9013. },
  9014. "buyorsell": {
  9015. "description": "买卖 - 0:买 1:卖",
  9016. "type": "integer"
  9017. },
  9018. "categoryid": {
  9019. "description": "类别ID(WRCATEGORY)",
  9020. "type": "integer"
  9021. },
  9022. "currency": {
  9023. "description": "货币",
  9024. "type": "string"
  9025. },
  9026. "currencysign": {
  9027. "description": "货币符号",
  9028. "type": "string"
  9029. },
  9030. "customername": {
  9031. "description": "卖家名称",
  9032. "type": "string"
  9033. },
  9034. "decimalplace": {
  9035. "description": "报价小数位",
  9036. "type": "integer"
  9037. },
  9038. "goodscode": {
  9039. "description": "商品代码(内部)",
  9040. "type": "string"
  9041. },
  9042. "goodsid": {
  9043. "description": "商品ID",
  9044. "type": "integer"
  9045. },
  9046. "goodsname": {
  9047. "description": "商品名称",
  9048. "type": "string"
  9049. },
  9050. "hascoupon": {
  9051. "description": "是否可用优惠卷",
  9052. "type": "boolean"
  9053. },
  9054. "hotindex": {
  9055. "description": "景点热度",
  9056. "type": "integer"
  9057. },
  9058. "marketid": {
  9059. "description": "市场ID",
  9060. "type": "integer"
  9061. },
  9062. "orderid": {
  9063. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9064. "type": "string"
  9065. },
  9066. "orderprice": {
  9067. "description": "委托价格",
  9068. "type": "number"
  9069. },
  9070. "orderstatus": {
  9071. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9072. "type": "integer"
  9073. },
  9074. "picurls": {
  9075. "description": "介绍图片[多张用逗号分隔]",
  9076. "type": "string"
  9077. },
  9078. "quoteminunit": {
  9079. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9080. "type": "integer"
  9081. },
  9082. "sellUserID": {
  9083. "description": "卖方UserID",
  9084. "type": "integer"
  9085. },
  9086. "trademode": {
  9087. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9088. "type": "integer"
  9089. },
  9090. "videourls": {
  9091. "description": "介绍视频[多张用逗号分隔]",
  9092. "type": "string"
  9093. }
  9094. }
  9095. },
  9096. "models.HsbyMarketGoodsDetail": {
  9097. "type": "object",
  9098. "required": [
  9099. "accountid",
  9100. "buyorsell",
  9101. "goodscode",
  9102. "goodsid",
  9103. "goodsname",
  9104. "marketid",
  9105. "orderid",
  9106. "orderqty",
  9107. "trademode"
  9108. ],
  9109. "properties": {
  9110. "accountid": {
  9111. "description": "账户ID[报价币种]",
  9112. "type": "integer"
  9113. },
  9114. "agreeunit": {
  9115. "description": "合约单位",
  9116. "type": "number"
  9117. },
  9118. "buymaxqty": {
  9119. "description": "购买上限 [71] - 0为不限",
  9120. "type": "integer"
  9121. },
  9122. "buyorsell": {
  9123. "description": "买卖 - 0:买 1:卖",
  9124. "type": "integer"
  9125. },
  9126. "cancelqty": {
  9127. "description": "撤单数量",
  9128. "type": "integer"
  9129. },
  9130. "categoryid": {
  9131. "description": "类别ID(WRCATEGORY)",
  9132. "type": "integer"
  9133. },
  9134. "currency": {
  9135. "description": "货币",
  9136. "type": "string"
  9137. },
  9138. "currencysign": {
  9139. "description": "货币符号",
  9140. "type": "string"
  9141. },
  9142. "customername": {
  9143. "description": "卖家名称",
  9144. "type": "string"
  9145. },
  9146. "decimalplace": {
  9147. "description": "报价小数位",
  9148. "type": "integer"
  9149. },
  9150. "goodscode": {
  9151. "description": "商品代码(内部)",
  9152. "type": "string"
  9153. },
  9154. "goodsdesc": {
  9155. "description": "商品详情",
  9156. "type": "string"
  9157. },
  9158. "goodsid": {
  9159. "description": "商品ID",
  9160. "type": "integer"
  9161. },
  9162. "goodsname": {
  9163. "description": "商品名称",
  9164. "type": "string"
  9165. },
  9166. "hotindex": {
  9167. "description": "景点热度",
  9168. "type": "integer"
  9169. },
  9170. "lotsize": {
  9171. "description": "手数最小变动单位",
  9172. "type": "integer"
  9173. },
  9174. "marketid": {
  9175. "description": "市场ID",
  9176. "type": "integer"
  9177. },
  9178. "orderid": {
  9179. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9180. "type": "string"
  9181. },
  9182. "orderprice": {
  9183. "description": "委托价格",
  9184. "type": "number"
  9185. },
  9186. "orderqty": {
  9187. "description": "委托数量",
  9188. "type": "integer"
  9189. },
  9190. "orderstatus": {
  9191. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9192. "type": "integer"
  9193. },
  9194. "picurls": {
  9195. "description": "介绍图片[多张用逗号分隔]",
  9196. "type": "string"
  9197. },
  9198. "quoteminunit": {
  9199. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9200. "type": "integer"
  9201. },
  9202. "sellUserID": {
  9203. "description": "卖方UserID",
  9204. "type": "integer"
  9205. },
  9206. "trademode": {
  9207. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9208. "type": "integer"
  9209. },
  9210. "tradeqty": {
  9211. "description": "成交数量",
  9212. "type": "integer"
  9213. },
  9214. "vendorattr": {
  9215. "description": "供应商附件(多张,逗号分隔)",
  9216. "type": "string"
  9217. },
  9218. "vendorname": {
  9219. "description": "供应商名称",
  9220. "type": "string"
  9221. },
  9222. "vendorphone": {
  9223. "description": "供应商客服电话",
  9224. "type": "string"
  9225. },
  9226. "videourls": {
  9227. "description": "介绍视频[多张用逗号分隔]",
  9228. "type": "string"
  9229. }
  9230. }
  9231. },
  9232. "models.HsbyMarketInfo": {
  9233. "type": "object",
  9234. "required": [
  9235. "marketid",
  9236. "marketstatus",
  9237. "trademode"
  9238. ],
  9239. "properties": {
  9240. "marketid": {
  9241. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  9242. "type": "integer"
  9243. },
  9244. "marketname": {
  9245. "description": "市场名称",
  9246. "type": "string"
  9247. },
  9248. "marketstatus": {
  9249. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  9250. "type": "integer"
  9251. },
  9252. "trademode": {
  9253. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9254. "type": "integer"
  9255. }
  9256. }
  9257. },
  9258. "models.HsbyMyGoods": {
  9259. "type": "object",
  9260. "required": [
  9261. "accountid",
  9262. "goodscode",
  9263. "goodsid",
  9264. "goodsname",
  9265. "marketid",
  9266. "trademode"
  9267. ],
  9268. "properties": {
  9269. "accountid": {
  9270. "description": "账号Id",
  9271. "type": "integer"
  9272. },
  9273. "agreeunit": {
  9274. "description": "合约单位",
  9275. "type": "number"
  9276. },
  9277. "buyaverageprice": {
  9278. "description": "持仓均价",
  9279. "type": "number"
  9280. },
  9281. "buycurholderamount": {
  9282. "description": "买当前持仓总金额[商品币种]",
  9283. "type": "number"
  9284. },
  9285. "buycurpositionqty": {
  9286. "description": "买当前持仓总数量",
  9287. "type": "integer"
  9288. },
  9289. "buymaxqty": {
  9290. "description": "购买上限 [71] - 0为不限",
  9291. "type": "integer"
  9292. },
  9293. "currencysign": {
  9294. "description": "货币符号",
  9295. "type": "string"
  9296. },
  9297. "decimalplace": {
  9298. "description": "报价小数位",
  9299. "type": "integer"
  9300. },
  9301. "enableqty": {
  9302. "description": "可用数量",
  9303. "type": "integer"
  9304. },
  9305. "goodscode": {
  9306. "description": "商品代码(内部)",
  9307. "type": "string"
  9308. },
  9309. "goodsid": {
  9310. "description": "商品Id",
  9311. "type": "integer"
  9312. },
  9313. "goodsname": {
  9314. "description": "商品名称",
  9315. "type": "string"
  9316. },
  9317. "goodsprice": {
  9318. "description": "商品价格",
  9319. "type": "number"
  9320. },
  9321. "goodsstatus": {
  9322. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  9323. "type": "integer"
  9324. },
  9325. "last": {
  9326. "description": "现价(仅使用于挂牌点选)",
  9327. "type": "number"
  9328. },
  9329. "limitdown": {
  9330. "description": "跌停价(仅使用于挂牌点选)",
  9331. "type": "number"
  9332. },
  9333. "limitup": {
  9334. "description": "涨停价(仅使用于挂牌点选)",
  9335. "type": "number"
  9336. },
  9337. "lotsize": {
  9338. "description": "手数最小变动单位",
  9339. "type": "integer"
  9340. },
  9341. "marketid": {
  9342. "description": "所属市场ID",
  9343. "type": "integer"
  9344. },
  9345. "picurls": {
  9346. "description": "介绍图片[多张用逗号分隔]",
  9347. "type": "string"
  9348. },
  9349. "quoteminunit": {
  9350. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9351. "type": "integer"
  9352. },
  9353. "stepvalue": {
  9354. "description": "价格最小变动单位",
  9355. "type": "number"
  9356. },
  9357. "trademode": {
  9358. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9359. "type": "integer"
  9360. }
  9361. }
  9362. },
  9363. "models.HsbyMyPackage": {
  9364. "type": "object",
  9365. "required": [
  9366. "goodscode",
  9367. "goodsname",
  9368. "takeorderid"
  9369. ],
  9370. "properties": {
  9371. "accountid": {
  9372. "description": "账户ID",
  9373. "type": "integer"
  9374. },
  9375. "address": {
  9376. "description": "提货人详细地址",
  9377. "type": "string"
  9378. },
  9379. "agreeunit": {
  9380. "description": "合约单位",
  9381. "type": "number"
  9382. },
  9383. "amount": {
  9384. "description": "提货金额",
  9385. "type": "number"
  9386. },
  9387. "auditer": {
  9388. "description": "审核人",
  9389. "type": "integer"
  9390. },
  9391. "audittime": {
  9392. "description": "审核时间",
  9393. "type": "string"
  9394. },
  9395. "averageprice": {
  9396. "description": "均价",
  9397. "type": "number"
  9398. },
  9399. "cardnum": {
  9400. "description": "提货人证件号码",
  9401. "type": "string"
  9402. },
  9403. "cardtypeid": {
  9404. "description": "提货人证件类型",
  9405. "type": "integer"
  9406. },
  9407. "checkremark": {
  9408. "description": "审核备注",
  9409. "type": "string"
  9410. },
  9411. "currencysign": {
  9412. "description": "货币符号",
  9413. "type": "string"
  9414. },
  9415. "decimalplace": {
  9416. "description": "报价小数位",
  9417. "type": "integer"
  9418. },
  9419. "goodscode": {
  9420. "description": "商品代码(内部)",
  9421. "type": "string"
  9422. },
  9423. "goodsid": {
  9424. "description": "商品ID",
  9425. "type": "integer"
  9426. },
  9427. "goodsname": {
  9428. "description": "商品名称",
  9429. "type": "string"
  9430. },
  9431. "handlestatus": {
  9432. "description": "处理状态",
  9433. "type": "integer"
  9434. },
  9435. "marketid": {
  9436. "description": "市场ID",
  9437. "type": "integer"
  9438. },
  9439. "phonenum": {
  9440. "description": "提货人联系方式",
  9441. "type": "string"
  9442. },
  9443. "picurls": {
  9444. "description": "介绍图片[多张用逗号分隔]",
  9445. "type": "string"
  9446. },
  9447. "qty": {
  9448. "description": "提货数量",
  9449. "type": "number"
  9450. },
  9451. "recivername": {
  9452. "description": "提货人姓名",
  9453. "type": "string"
  9454. },
  9455. "reqtime": {
  9456. "description": "更新时间",
  9457. "type": "string"
  9458. },
  9459. "takemode": {
  9460. "description": "提货方式 - 2:自提 3:配送",
  9461. "type": "integer"
  9462. },
  9463. "takeorderid": {
  9464. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9465. "type": "string"
  9466. },
  9467. "takeorderstatus": {
  9468. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9469. "type": "integer"
  9470. },
  9471. "takeremark": {
  9472. "description": "提货备注",
  9473. "type": "string"
  9474. },
  9475. "tradedate": {
  9476. "description": "交易日(yyyyMMdd)",
  9477. "type": "string"
  9478. },
  9479. "userid": {
  9480. "description": "用户ID",
  9481. "type": "integer"
  9482. },
  9483. "vendorname": {
  9484. "description": "供应商名称",
  9485. "type": "string"
  9486. }
  9487. }
  9488. },
  9489. "models.HsbyPreGoods": {
  9490. "type": "object",
  9491. "required": [
  9492. "goodscode",
  9493. "goodsid",
  9494. "goodsname",
  9495. "marketid",
  9496. "trademode"
  9497. ],
  9498. "properties": {
  9499. "agreeunit": {
  9500. "description": "合约单位",
  9501. "type": "number"
  9502. },
  9503. "currency": {
  9504. "description": "货币",
  9505. "type": "string"
  9506. },
  9507. "currencysign": {
  9508. "description": "货币符号",
  9509. "type": "string"
  9510. },
  9511. "decimalplace": {
  9512. "description": "报价小数位",
  9513. "type": "integer"
  9514. },
  9515. "enableqty": {
  9516. "description": "剩余数量",
  9517. "type": "integer"
  9518. },
  9519. "goodscode": {
  9520. "description": "商品代码(内部)",
  9521. "type": "string"
  9522. },
  9523. "goodsid": {
  9524. "description": "商品ID(自增ID SEQ_GOODS)",
  9525. "type": "integer"
  9526. },
  9527. "goodsname": {
  9528. "description": "商品名称",
  9529. "type": "string"
  9530. },
  9531. "goodsstatus": {
  9532. "description": "商品状态- 2:未上市 3:上市",
  9533. "type": "integer"
  9534. },
  9535. "lasttradedate": {
  9536. "description": "最后交易日期(状态:待退市)",
  9537. "type": "string"
  9538. },
  9539. "listingdate": {
  9540. "description": "交易开始日期",
  9541. "type": "string"
  9542. },
  9543. "marketid": {
  9544. "description": "所属市场ID",
  9545. "type": "integer"
  9546. },
  9547. "picurls": {
  9548. "description": "介绍图片[多张用逗号分隔]",
  9549. "type": "string"
  9550. },
  9551. "presaledqty": {
  9552. "description": "已预售量(预售结束时更新)",
  9553. "type": "integer"
  9554. },
  9555. "presaleqty": {
  9556. "description": "预售数量",
  9557. "type": "integer"
  9558. },
  9559. "quoteminunit": {
  9560. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9561. "type": "integer"
  9562. },
  9563. "refprice": {
  9564. "description": "参考价格[一口价]",
  9565. "type": "number"
  9566. },
  9567. "relatedgoodsid": {
  9568. "description": "关联交易合约ID",
  9569. "type": "integer"
  9570. },
  9571. "trademode": {
  9572. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9573. "type": "integer"
  9574. },
  9575. "videourls": {
  9576. "description": "介绍视频[多张用逗号分隔]",
  9577. "type": "string"
  9578. }
  9579. }
  9580. },
  9581. "models.HsbyPreGoodsDetail": {
  9582. "type": "object",
  9583. "required": [
  9584. "goodscode",
  9585. "goodsid",
  9586. "goodsname",
  9587. "marketid",
  9588. "trademode"
  9589. ],
  9590. "properties": {
  9591. "agreeunit": {
  9592. "description": "合约单位",
  9593. "type": "number"
  9594. },
  9595. "buymaxqty": {
  9596. "description": "购买上限 [71] - 0为不限",
  9597. "type": "integer"
  9598. },
  9599. "currency": {
  9600. "description": "货币",
  9601. "type": "string"
  9602. },
  9603. "currencysign": {
  9604. "description": "货币符号",
  9605. "type": "string"
  9606. },
  9607. "customername": {
  9608. "description": "发行单位",
  9609. "type": "string"
  9610. },
  9611. "decimalplace": {
  9612. "description": "报价小数位",
  9613. "type": "integer"
  9614. },
  9615. "desccityid": {
  9616. "description": "目的地(市)ID",
  9617. "type": "integer"
  9618. },
  9619. "descprovinceid": {
  9620. "description": "目的地(省)ID",
  9621. "type": "integer"
  9622. },
  9623. "enableqty": {
  9624. "description": "剩余数量",
  9625. "type": "integer"
  9626. },
  9627. "goodscode": {
  9628. "description": "商品代码(内部)",
  9629. "type": "string"
  9630. },
  9631. "goodsdesc": {
  9632. "description": "商品详情",
  9633. "type": "string"
  9634. },
  9635. "goodsid": {
  9636. "description": "商品ID(自增ID SEQ_GOODS)",
  9637. "type": "integer"
  9638. },
  9639. "goodsname": {
  9640. "description": "商品名称",
  9641. "type": "string"
  9642. },
  9643. "goodsstatus": {
  9644. "description": "商品状态- 2:未上市 3:上市",
  9645. "type": "integer"
  9646. },
  9647. "goodunit": {
  9648. "description": "报价单位",
  9649. "type": "string"
  9650. },
  9651. "lasttradedate": {
  9652. "description": "最后交易日期(状态:待退市)",
  9653. "type": "string"
  9654. },
  9655. "listingdate": {
  9656. "description": "交易开始日期",
  9657. "type": "string"
  9658. },
  9659. "lotsize": {
  9660. "description": "手数最小变动单位",
  9661. "type": "integer"
  9662. },
  9663. "marketid": {
  9664. "description": "所属市场ID",
  9665. "type": "integer"
  9666. },
  9667. "picurls": {
  9668. "description": "介绍图片[多张用逗号分隔]",
  9669. "type": "string"
  9670. },
  9671. "presaledqty": {
  9672. "description": "已预售量(预售结束时更新)",
  9673. "type": "integer"
  9674. },
  9675. "presaleqty": {
  9676. "description": "预售数量",
  9677. "type": "integer"
  9678. },
  9679. "quoteminunit": {
  9680. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9681. "type": "integer"
  9682. },
  9683. "refprice": {
  9684. "description": "参考价格[一口价]",
  9685. "type": "number"
  9686. },
  9687. "relatedgoodsid": {
  9688. "description": "关联交易合约ID",
  9689. "type": "integer"
  9690. },
  9691. "stepvalue": {
  9692. "description": "价格最小变动单位",
  9693. "type": "number"
  9694. },
  9695. "trademode": {
  9696. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9697. "type": "integer"
  9698. },
  9699. "vendorattr": {
  9700. "description": "供应商附件(多张,逗号分隔)",
  9701. "type": "string"
  9702. },
  9703. "vendorname": {
  9704. "description": "供应商名称",
  9705. "type": "string"
  9706. },
  9707. "vendorphone": {
  9708. "description": "供应商客服电话",
  9709. "type": "string"
  9710. },
  9711. "videourls": {
  9712. "description": "介绍视频[多张用逗号分隔]",
  9713. "type": "string"
  9714. }
  9715. }
  9716. },
  9717. "models.HsbySellCollectionOrder": {
  9718. "type": "object",
  9719. "required": [
  9720. "goodscode",
  9721. "goodsname",
  9722. "tradeid",
  9723. "trademode"
  9724. ],
  9725. "properties": {
  9726. "agreeunit": {
  9727. "description": "合约单位",
  9728. "type": "number"
  9729. },
  9730. "buyaccountid": {
  9731. "description": "买方账号ID[报价币种]",
  9732. "type": "integer"
  9733. },
  9734. "buyorderid": {
  9735. "description": "买方委托单号",
  9736. "type": "string"
  9737. },
  9738. "createtime": {
  9739. "description": "创建时间",
  9740. "type": "string"
  9741. },
  9742. "currencysign": {
  9743. "description": "货币符号",
  9744. "type": "string"
  9745. },
  9746. "decimalplace": {
  9747. "description": "报价小数位",
  9748. "type": "integer"
  9749. },
  9750. "goodscode": {
  9751. "description": "商品代码(内部)",
  9752. "type": "string"
  9753. },
  9754. "goodsid": {
  9755. "description": "商品ID",
  9756. "type": "integer"
  9757. },
  9758. "goodsname": {
  9759. "description": "商品名称",
  9760. "type": "string"
  9761. },
  9762. "marketid": {
  9763. "description": "市场ID",
  9764. "type": "integer"
  9765. },
  9766. "offamount": {
  9767. "description": "优惠金额",
  9768. "type": "number"
  9769. },
  9770. "payamount": {
  9771. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9772. "type": "number"
  9773. },
  9774. "payflag": {
  9775. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9776. "type": "integer"
  9777. },
  9778. "paylimitedtime": {
  9779. "description": "支付期限",
  9780. "type": "string"
  9781. },
  9782. "paytime": {
  9783. "description": "付款时间",
  9784. "type": "string"
  9785. },
  9786. "picurls": {
  9787. "description": "商品介绍图片[多张用逗号分隔]",
  9788. "type": "string"
  9789. },
  9790. "sellaccountid": {
  9791. "description": "卖方账号ID[报价币种]",
  9792. "type": "integer"
  9793. },
  9794. "sellorderid": {
  9795. "description": "卖方委托单号",
  9796. "type": "string"
  9797. },
  9798. "tradeamount": {
  9799. "description": "成交金额",
  9800. "type": "number"
  9801. },
  9802. "tradecharge": {
  9803. "description": "成交手续费(买方)",
  9804. "type": "number"
  9805. },
  9806. "tradedate": {
  9807. "description": "交易日(yyyyMMdd)",
  9808. "type": "string"
  9809. },
  9810. "tradeid": {
  9811. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9812. "type": "string"
  9813. },
  9814. "trademode": {
  9815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9816. "type": "integer"
  9817. },
  9818. "tradeprice": {
  9819. "description": "成交价格",
  9820. "type": "number"
  9821. },
  9822. "tradeqty": {
  9823. "description": "成交数量",
  9824. "type": "integer"
  9825. }
  9826. }
  9827. },
  9828. "models.HsbySellMyDetail": {
  9829. "type": "object",
  9830. "required": [
  9831. "accountid",
  9832. "buyorsell",
  9833. "goodscode",
  9834. "goodsid",
  9835. "goodsname",
  9836. "marketid",
  9837. "orderid",
  9838. "time",
  9839. "trademode"
  9840. ],
  9841. "properties": {
  9842. "accountid": {
  9843. "description": "账户ID[报价币种]",
  9844. "type": "integer"
  9845. },
  9846. "agreeunit": {
  9847. "description": "合约单位",
  9848. "type": "number"
  9849. },
  9850. "buyorsell": {
  9851. "description": "买卖 - 0:买 1:卖",
  9852. "type": "integer"
  9853. },
  9854. "currencysign": {
  9855. "description": "货币符号",
  9856. "type": "string"
  9857. },
  9858. "decimalplace": {
  9859. "description": "报价小数位",
  9860. "type": "integer"
  9861. },
  9862. "goodscode": {
  9863. "description": "商品代码(内部)",
  9864. "type": "string"
  9865. },
  9866. "goodsid": {
  9867. "description": "商品ID",
  9868. "type": "integer"
  9869. },
  9870. "goodsname": {
  9871. "description": "商品名称",
  9872. "type": "string"
  9873. },
  9874. "marketid": {
  9875. "description": "市场ID",
  9876. "type": "integer"
  9877. },
  9878. "orderid": {
  9879. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9880. "type": "string"
  9881. },
  9882. "ordertype": {
  9883. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9884. "type": "integer"
  9885. },
  9886. "picurls": {
  9887. "description": "介绍图片[多张用逗号分隔]",
  9888. "type": "string"
  9889. },
  9890. "price": {
  9891. "description": "价格",
  9892. "type": "number"
  9893. },
  9894. "qty": {
  9895. "description": "数量",
  9896. "type": "integer"
  9897. },
  9898. "time": {
  9899. "description": "时间",
  9900. "type": "string"
  9901. },
  9902. "trademode": {
  9903. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9904. "type": "integer"
  9905. },
  9906. "vendorname": {
  9907. "description": "供应商名称",
  9908. "type": "string"
  9909. }
  9910. }
  9911. },
  9912. "models.HsbyTopGoods": {
  9913. "type": "object",
  9914. "required": [
  9915. "goodscode",
  9916. "goodsid",
  9917. "goodsname",
  9918. "marketid",
  9919. "trademode"
  9920. ],
  9921. "properties": {
  9922. "agreeunit": {
  9923. "description": "合约单位",
  9924. "type": "number"
  9925. },
  9926. "currency": {
  9927. "description": "货币",
  9928. "type": "string"
  9929. },
  9930. "currencysign": {
  9931. "description": "货币符号",
  9932. "type": "string"
  9933. },
  9934. "decimalplace": {
  9935. "description": "报价小数位",
  9936. "type": "integer"
  9937. },
  9938. "goodscode": {
  9939. "description": "商品代码(内部)",
  9940. "type": "string"
  9941. },
  9942. "goodsid": {
  9943. "description": "商品ID(自增ID SEQ_GOODS)",
  9944. "type": "integer"
  9945. },
  9946. "goodsname": {
  9947. "description": "商品名称",
  9948. "type": "string"
  9949. },
  9950. "hotindex": {
  9951. "description": "景点热度",
  9952. "type": "integer"
  9953. },
  9954. "last": {
  9955. "description": "现价",
  9956. "type": "number"
  9957. },
  9958. "marketid": {
  9959. "description": "所属市场ID",
  9960. "type": "integer"
  9961. },
  9962. "picurls": {
  9963. "description": "介绍图片[多张用逗号分隔]",
  9964. "type": "string"
  9965. },
  9966. "quoteminunit": {
  9967. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9968. "type": "integer"
  9969. },
  9970. "trademode": {
  9971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9972. "type": "integer"
  9973. },
  9974. "videourls": {
  9975. "description": "介绍视频[多张用逗号分隔]",
  9976. "type": "string"
  9977. }
  9978. }
  9979. },
  9980. "models.HybsMyBuyOrderDetail": {
  9981. "type": "object",
  9982. "required": [
  9983. "accountid",
  9984. "buyorsell",
  9985. "goodscode",
  9986. "goodsid",
  9987. "goodsname",
  9988. "marketid",
  9989. "orderid",
  9990. "orderqty",
  9991. "ordertime",
  9992. "trademode"
  9993. ],
  9994. "properties": {
  9995. "accountid": {
  9996. "description": "账户ID[报价币种]",
  9997. "type": "integer"
  9998. },
  9999. "agreeunit": {
  10000. "description": "合约单位",
  10001. "type": "number"
  10002. },
  10003. "buyorsell": {
  10004. "description": "买卖 - 0:买 1:卖",
  10005. "type": "integer"
  10006. },
  10007. "cancelqty": {
  10008. "description": "撤单数量",
  10009. "type": "integer"
  10010. },
  10011. "currencysign": {
  10012. "description": "货币符号",
  10013. "type": "string"
  10014. },
  10015. "decimalplace": {
  10016. "description": "报价小数位",
  10017. "type": "integer"
  10018. },
  10019. "goodscode": {
  10020. "description": "商品代码(内部)",
  10021. "type": "string"
  10022. },
  10023. "goodsid": {
  10024. "description": "商品ID",
  10025. "type": "integer"
  10026. },
  10027. "goodsname": {
  10028. "description": "商品名称",
  10029. "type": "string"
  10030. },
  10031. "listingselecttype": {
  10032. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10033. "type": "integer"
  10034. },
  10035. "marketid": {
  10036. "description": "市场ID",
  10037. "type": "integer"
  10038. },
  10039. "mybuystatus": {
  10040. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  10041. "type": "integer"
  10042. },
  10043. "orderamount": {
  10044. "description": "委托金额",
  10045. "type": "number"
  10046. },
  10047. "orderid": {
  10048. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10049. "type": "string"
  10050. },
  10051. "orderprice": {
  10052. "description": "委托价格",
  10053. "type": "number"
  10054. },
  10055. "orderqty": {
  10056. "description": "委托数量",
  10057. "type": "integer"
  10058. },
  10059. "orderstatus": {
  10060. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10061. "type": "integer"
  10062. },
  10063. "ordertime": {
  10064. "description": "委托时间",
  10065. "type": "string"
  10066. },
  10067. "picurls1": {
  10068. "description": "预售商品介绍图片[多张用逗号分隔]",
  10069. "type": "string"
  10070. },
  10071. "picurls2": {
  10072. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  10073. "type": "string"
  10074. },
  10075. "trademode": {
  10076. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10077. "type": "integer"
  10078. },
  10079. "tradeqty": {
  10080. "description": "成交数量",
  10081. "type": "integer"
  10082. },
  10083. "vendorname1": {
  10084. "description": "预售商品供应商名称",
  10085. "type": "string"
  10086. },
  10087. "vendorname2": {
  10088. "description": "挂牌商品供应商名称",
  10089. "type": "string"
  10090. }
  10091. }
  10092. },
  10093. "models.Marketrun": {
  10094. "type": "object",
  10095. "required": [
  10096. "marketid",
  10097. "nexttradedate",
  10098. "reckonflag",
  10099. "runstatus",
  10100. "tradedate",
  10101. "tradedate2"
  10102. ],
  10103. "properties": {
  10104. "afternexttradedate": {
  10105. "description": "下下交易日",
  10106. "type": "string"
  10107. },
  10108. "clearquoteflag": {
  10109. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  10110. "type": "integer"
  10111. },
  10112. "lastreckondate": {
  10113. "description": "最新交易日(结算成功)",
  10114. "type": "string"
  10115. },
  10116. "machinedate": {
  10117. "description": "机器时间",
  10118. "type": "string"
  10119. },
  10120. "manualflag": {
  10121. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  10122. "type": "integer"
  10123. },
  10124. "marketid": {
  10125. "description": "市场ID",
  10126. "type": "integer"
  10127. },
  10128. "nexttradedate": {
  10129. "description": "下一交易日",
  10130. "type": "string"
  10131. },
  10132. "pretradedate": {
  10133. "description": "上一交易日",
  10134. "type": "string"
  10135. },
  10136. "reckonflag": {
  10137. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  10138. "type": "integer"
  10139. },
  10140. "runstatus": {
  10141. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  10142. "type": "integer"
  10143. },
  10144. "sectionid": {
  10145. "description": "时间段号[多时段时用]",
  10146. "type": "integer"
  10147. },
  10148. "tradedate": {
  10149. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  10150. "type": "string"
  10151. },
  10152. "tradedate2": {
  10153. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  10154. "type": "string"
  10155. },
  10156. "updatetime": {
  10157. "description": "更新时间",
  10158. "type": "string"
  10159. }
  10160. }
  10161. },
  10162. "models.Messageboard": {
  10163. "type": "object",
  10164. "required": [
  10165. "messageboardid"
  10166. ],
  10167. "properties": {
  10168. "createtime": {
  10169. "description": "创建时间",
  10170. "type": "string"
  10171. },
  10172. "message": {
  10173. "description": "留言信息",
  10174. "type": "string"
  10175. },
  10176. "messageboardid": {
  10177. "description": "留言簿ID(SEQ_MessageBoard)",
  10178. "type": "integer"
  10179. },
  10180. "userid": {
  10181. "description": "用户ID",
  10182. "type": "integer"
  10183. }
  10184. }
  10185. },
  10186. "models.MyCoupon": {
  10187. "type": "object",
  10188. "required": [
  10189. "accountid",
  10190. "coupontypeid"
  10191. ],
  10192. "properties": {
  10193. "accountid": {
  10194. "description": "资金账户ID",
  10195. "type": "integer"
  10196. },
  10197. "areauserid": {
  10198. "description": "所属机构",
  10199. "type": "integer"
  10200. },
  10201. "conditionvalue": {
  10202. "description": "条件阈值(可为0)",
  10203. "type": "number"
  10204. },
  10205. "couponcategroy": {
  10206. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  10207. "type": "integer"
  10208. },
  10209. "couponname": {
  10210. "description": "优惠券名称",
  10211. "type": "string"
  10212. },
  10213. "coupontypeid": {
  10214. "description": "优惠券类型ID",
  10215. "type": "string"
  10216. },
  10217. "couponvalue": {
  10218. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10219. "type": "number"
  10220. },
  10221. "curfreezeqty": {
  10222. "description": "期末冻结数量",
  10223. "type": "integer"
  10224. },
  10225. "curqty": {
  10226. "description": "期末数量",
  10227. "type": "integer"
  10228. },
  10229. "isgeneral": {
  10230. "description": "是否通用券 - 0:否 1:是",
  10231. "type": "integer"
  10232. },
  10233. "isunusable": {
  10234. "description": "是否不可用",
  10235. "type": "boolean"
  10236. },
  10237. "limitedflag": {
  10238. "description": "是否指定商品 - 0:不限 1:限制",
  10239. "type": "integer"
  10240. },
  10241. "limitedgoodsids": {
  10242. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  10243. "type": "string"
  10244. },
  10245. "orifreezeqty": {
  10246. "description": "期初冻结数量",
  10247. "type": "integer"
  10248. },
  10249. "oriqty": {
  10250. "description": "期初数量",
  10251. "type": "integer"
  10252. },
  10253. "reasontype": {
  10254. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  10255. "type": "integer"
  10256. },
  10257. "todaydecrease": {
  10258. "description": "今日减少",
  10259. "type": "integer"
  10260. },
  10261. "todayincrease": {
  10262. "description": "今日增加",
  10263. "type": "integer"
  10264. },
  10265. "userid": {
  10266. "description": "用户ID",
  10267. "type": "integer"
  10268. },
  10269. "userscope": {
  10270. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  10271. "type": "string"
  10272. }
  10273. }
  10274. },
  10275. "models.MyCouponHold": {
  10276. "type": "object",
  10277. "required": [
  10278. "couponholdid"
  10279. ],
  10280. "properties": {
  10281. "accountid": {
  10282. "description": "资金账户ID",
  10283. "type": "integer"
  10284. },
  10285. "conditionvalue": {
  10286. "description": "条件阈值(可为0)",
  10287. "type": "number"
  10288. },
  10289. "couponcategroy": {
  10290. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  10291. "type": "integer"
  10292. },
  10293. "couponholdid": {
  10294. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  10295. "type": "string"
  10296. },
  10297. "couponname": {
  10298. "description": "优惠券名称",
  10299. "type": "string"
  10300. },
  10301. "coupontypeid": {
  10302. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  10303. "type": "string"
  10304. },
  10305. "couponvalue": {
  10306. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  10307. "type": "number"
  10308. },
  10309. "createtime": {
  10310. "description": "创建时间",
  10311. "type": "string"
  10312. },
  10313. "enddate": {
  10314. "description": "结束日期",
  10315. "type": "string"
  10316. },
  10317. "giveapplyid": {
  10318. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  10319. "type": "integer"
  10320. },
  10321. "holdstatus": {
  10322. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  10323. "type": "integer"
  10324. },
  10325. "isgeneral": {
  10326. "description": "是否通用券 - 0:否 1:是",
  10327. "type": "integer"
  10328. },
  10329. "limitedflag": {
  10330. "description": "是否指定商品 - 0:不限 1:限制",
  10331. "type": "integer"
  10332. },
  10333. "limitedgoodsids": {
  10334. "description": "指定商品IDs[逗号分隔]",
  10335. "type": "string"
  10336. },
  10337. "qty": {
  10338. "description": "数量(按1平铺)",
  10339. "type": "integer"
  10340. },
  10341. "startdate": {
  10342. "description": "开始日期",
  10343. "type": "string"
  10344. },
  10345. "userid": {
  10346. "description": "用户ID",
  10347. "type": "integer"
  10348. },
  10349. "userscope": {
  10350. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  10351. "type": "string"
  10352. }
  10353. }
  10354. },
  10355. "models.MyUsedCoupon": {
  10356. "type": "object",
  10357. "required": [
  10358. "coupontypeid",
  10359. "orderid"
  10360. ],
  10361. "properties": {
  10362. "accountid": {
  10363. "description": "资金账户ID(买方)",
  10364. "type": "integer"
  10365. },
  10366. "conditionvalue": {
  10367. "description": "条件阈值(可为0)",
  10368. "type": "number"
  10369. },
  10370. "couponcategroy": {
  10371. "description": "种类 - 1:现金券 2:折扣券",
  10372. "type": "integer"
  10373. },
  10374. "couponname": {
  10375. "description": "优惠券名称",
  10376. "type": "string"
  10377. },
  10378. "coupontypeid": {
  10379. "description": "优惠券类型ID(买方)",
  10380. "type": "string"
  10381. },
  10382. "couponvalue": {
  10383. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  10384. "type": "number"
  10385. },
  10386. "createtime": {
  10387. "description": "创建时间",
  10388. "type": "string"
  10389. },
  10390. "goodsid": {
  10391. "description": "商品ID",
  10392. "type": "integer"
  10393. },
  10394. "handlestatus": {
  10395. "description": "处理状态",
  10396. "type": "integer"
  10397. },
  10398. "marketid": {
  10399. "description": "市场ID",
  10400. "type": "integer"
  10401. },
  10402. "offamount": {
  10403. "description": "优惠金额",
  10404. "type": "number"
  10405. },
  10406. "orderid": {
  10407. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10408. "type": "string"
  10409. },
  10410. "sellaccountid": {
  10411. "description": "资金账户ID(卖方)",
  10412. "type": "integer"
  10413. },
  10414. "tradeamount": {
  10415. "description": "成交金额",
  10416. "type": "number"
  10417. },
  10418. "tradeid": {
  10419. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10420. "type": "string"
  10421. },
  10422. "usedqty": {
  10423. "description": "使用数量",
  10424. "type": "integer"
  10425. }
  10426. }
  10427. },
  10428. "models.OperationPrimaryMenu": {
  10429. "type": "object",
  10430. "properties": {
  10431. "Children": {
  10432. "description": "二级功能菜单",
  10433. "type": "array",
  10434. "items": {
  10435. "$ref": "#/definitions/models.OperationSecondaryMenu"
  10436. }
  10437. },
  10438. "Key": {
  10439. "description": "菜单KEY",
  10440. "type": "string"
  10441. },
  10442. "Label": {
  10443. "description": "菜单标题",
  10444. "type": "string"
  10445. }
  10446. }
  10447. },
  10448. "models.OperationSecondaryMenu": {
  10449. "type": "object",
  10450. "properties": {
  10451. "Key": {
  10452. "description": "菜单KEY",
  10453. "type": "string"
  10454. },
  10455. "Label": {
  10456. "description": "菜单标题",
  10457. "type": "string"
  10458. },
  10459. "TabList": {
  10460. "description": "三级功能菜单",
  10461. "type": "array",
  10462. "items": {
  10463. "$ref": "#/definitions/models.OperationTabMenu"
  10464. }
  10465. }
  10466. }
  10467. },
  10468. "models.OperationTabMenu": {
  10469. "type": "object",
  10470. "properties": {
  10471. "Key": {
  10472. "description": "菜单KEY",
  10473. "type": "string"
  10474. },
  10475. "Label": {
  10476. "description": "菜单标题",
  10477. "type": "string"
  10478. }
  10479. }
  10480. },
  10481. "models.PendingAuditBizModel": {
  10482. "type": "object",
  10483. "properties": {
  10484. "accountid": {
  10485. "description": "现货账户",
  10486. "type": "string"
  10487. },
  10488. "areaname": {
  10489. "description": "所属部门",
  10490. "type": "string"
  10491. },
  10492. "bizid": {
  10493. "description": "业务ID",
  10494. "type": "string"
  10495. },
  10496. "bizname": {
  10497. "description": "业务名称",
  10498. "type": "string"
  10499. },
  10500. "status": {
  10501. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10502. "type": "integer"
  10503. },
  10504. "type": {
  10505. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  10506. "type": "integer"
  10507. }
  10508. }
  10509. },
  10510. "models.QuotePrimaryMenu": {
  10511. "type": "object",
  10512. "properties": {
  10513. "Index": {
  10514. "description": "序号",
  10515. "type": "integer"
  10516. },
  10517. "Key": {
  10518. "description": "键名",
  10519. "type": "string"
  10520. },
  10521. "Name": {
  10522. "description": "菜单名称",
  10523. "type": "string"
  10524. },
  10525. "SubMenus": {
  10526. "description": "子菜单",
  10527. "type": "array",
  10528. "items": {
  10529. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  10530. }
  10531. },
  10532. "SubTitleType": {
  10533. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  10534. "type": "integer"
  10535. },
  10536. "TradeModes": {
  10537. "description": "包含市场交易类型",
  10538. "type": "string"
  10539. }
  10540. }
  10541. },
  10542. "models.QuoteSecondaryMenu": {
  10543. "type": "object",
  10544. "properties": {
  10545. "ExExchangeCode": {
  10546. "description": "外部交易所代码",
  10547. "type": "string"
  10548. },
  10549. "ExExchangeID": {
  10550. "description": "外部交易所ID",
  10551. "type": "integer"
  10552. },
  10553. "GoodsGroupIDs": {
  10554. "description": "商品组ID列表",
  10555. "type": "array",
  10556. "items": {
  10557. "type": "integer"
  10558. }
  10559. },
  10560. "Index": {
  10561. "description": "序号",
  10562. "type": "integer"
  10563. },
  10564. "MarketID": {
  10565. "description": "市场ID",
  10566. "type": "integer"
  10567. },
  10568. "MenuTitle": {
  10569. "description": "菜单标题(市场名称或外部交易所名称)",
  10570. "type": "string"
  10571. },
  10572. "TradeMode": {
  10573. "description": "交易模式",
  10574. "type": "integer"
  10575. }
  10576. }
  10577. },
  10578. "models.SearchGoods": {
  10579. "type": "object",
  10580. "required": [
  10581. "goodscode",
  10582. "goodsid",
  10583. "goodsname",
  10584. "marketid",
  10585. "trademode"
  10586. ],
  10587. "properties": {
  10588. "goodscode": {
  10589. "description": "商品代码(内部)",
  10590. "type": "string"
  10591. },
  10592. "goodsid": {
  10593. "description": "商品ID(自增ID SEQ_GOODS)",
  10594. "type": "integer"
  10595. },
  10596. "goodsname": {
  10597. "description": "商品名称",
  10598. "type": "string"
  10599. },
  10600. "marketid": {
  10601. "description": "所属市场ID",
  10602. "type": "integer"
  10603. },
  10604. "marketname": {
  10605. "description": "市场名称",
  10606. "type": "string"
  10607. },
  10608. "trademode": {
  10609. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  10610. "type": "integer"
  10611. }
  10612. }
  10613. },
  10614. "models.Szdz2imageconfig": {
  10615. "type": "object",
  10616. "required": [
  10617. "configid"
  10618. ],
  10619. "properties": {
  10620. "configid": {
  10621. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10622. "type": "integer"
  10623. },
  10624. "imagepath": {
  10625. "description": "图片",
  10626. "type": "string"
  10627. },
  10628. "imagetype": {
  10629. "description": "类型 - 1:App首页轮播 2:我的",
  10630. "type": "integer"
  10631. },
  10632. "sort": {
  10633. "description": "排序",
  10634. "type": "integer"
  10635. },
  10636. "title": {
  10637. "description": "标题",
  10638. "type": "string"
  10639. },
  10640. "url": {
  10641. "description": "链接",
  10642. "type": "string"
  10643. }
  10644. }
  10645. },
  10646. "models.Szdz3convertconfig": {
  10647. "type": "object",
  10648. "required": [
  10649. "converttype",
  10650. "innergoodsid",
  10651. "outergoodscode"
  10652. ],
  10653. "properties": {
  10654. "canin": {
  10655. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  10656. "type": "integer"
  10657. },
  10658. "canout": {
  10659. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  10660. "type": "integer"
  10661. },
  10662. "converttype": {
  10663. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10664. "type": "integer"
  10665. },
  10666. "createtime": {
  10667. "description": "创建时间",
  10668. "type": "string"
  10669. },
  10670. "creatorid": {
  10671. "description": "创建人",
  10672. "type": "integer"
  10673. },
  10674. "daymaxvalue": {
  10675. "description": "当日最大转入限制",
  10676. "type": "number"
  10677. },
  10678. "freezedays": {
  10679. "description": "冻结天数 [5:花生米转交易]",
  10680. "type": "integer"
  10681. },
  10682. "innergoodsid": {
  10683. "description": "内部商品ID[交易]",
  10684. "type": "integer"
  10685. },
  10686. "inratio": {
  10687. "description": "目标值",
  10688. "type": "integer"
  10689. },
  10690. "modifierid": {
  10691. "description": "修改人",
  10692. "type": "integer"
  10693. },
  10694. "modifytime": {
  10695. "description": "修改时间",
  10696. "type": "string"
  10697. },
  10698. "outergoodscode": {
  10699. "description": "外部商品代码[JD\\PD]",
  10700. "type": "string"
  10701. },
  10702. "outratio": {
  10703. "description": "源值",
  10704. "type": "integer"
  10705. },
  10706. "pddecimalplace": {
  10707. "description": "PD小数位",
  10708. "type": "integer"
  10709. },
  10710. "timemaxvalue": {
  10711. "description": "单次最大转入限制",
  10712. "type": "number"
  10713. },
  10714. "timeminvalue": {
  10715. "description": "单次最小转入限制",
  10716. "type": "number"
  10717. }
  10718. }
  10719. },
  10720. "models.Szdz3searchwhitelist": {
  10721. "type": "object",
  10722. "required": [
  10723. "userid"
  10724. ],
  10725. "properties": {
  10726. "createtime": {
  10727. "description": "创建时间",
  10728. "type": "string"
  10729. },
  10730. "creatorid": {
  10731. "description": "创建人",
  10732. "type": "integer"
  10733. },
  10734. "modifierid": {
  10735. "description": "修改人",
  10736. "type": "integer"
  10737. },
  10738. "modifytime": {
  10739. "description": "修改时间",
  10740. "type": "string"
  10741. },
  10742. "userid": {
  10743. "description": "用户ID",
  10744. "type": "integer"
  10745. }
  10746. }
  10747. },
  10748. "models.Tablecolumnconfig": {
  10749. "type": "object",
  10750. "required": [
  10751. "autoid"
  10752. ],
  10753. "properties": {
  10754. "aligntype": {
  10755. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10756. "type": "integer"
  10757. },
  10758. "autoid": {
  10759. "description": "AutoID",
  10760. "type": "integer"
  10761. },
  10762. "columnfield": {
  10763. "description": "列字段",
  10764. "type": "string"
  10765. },
  10766. "columntitle": {
  10767. "description": "列Title",
  10768. "type": "string"
  10769. },
  10770. "columnwidth": {
  10771. "description": "列宽",
  10772. "type": "string"
  10773. },
  10774. "formatterstring": {
  10775. "description": "格式化字符",
  10776. "type": "string"
  10777. },
  10778. "formattertype": {
  10779. "description": "格式化类型",
  10780. "type": "string"
  10781. },
  10782. "groupname": {
  10783. "description": "表头分组名称",
  10784. "type": "string"
  10785. },
  10786. "isshow": {
  10787. "description": "是否显示 - 0:不显示 1:显示",
  10788. "type": "integer"
  10789. },
  10790. "needsummary": {
  10791. "description": "是否需要汇总 - 0:不需要 1:需要",
  10792. "type": "integer"
  10793. },
  10794. "orderindex": {
  10795. "description": "顺序",
  10796. "type": "integer"
  10797. },
  10798. "remark": {
  10799. "description": "备注",
  10800. "type": "string"
  10801. },
  10802. "summarytype": {
  10803. "description": "汇总类型 - 1:加总 2:最后一个",
  10804. "type": "integer"
  10805. },
  10806. "tablekey": {
  10807. "description": "列表Key",
  10808. "type": "string"
  10809. }
  10810. }
  10811. },
  10812. "models.Useraccount": {
  10813. "type": "object",
  10814. "required": [
  10815. "userid"
  10816. ],
  10817. "properties": {
  10818. "accountname": {
  10819. "description": "账户名称(机构名称)",
  10820. "type": "string"
  10821. },
  10822. "accountstatus": {
  10823. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10824. "type": "integer"
  10825. },
  10826. "auditremark": {
  10827. "description": "审核备注",
  10828. "type": "string"
  10829. },
  10830. "audittime": {
  10831. "description": "审核时间",
  10832. "type": "string"
  10833. },
  10834. "audituserid": {
  10835. "description": "审核人",
  10836. "type": "integer"
  10837. },
  10838. "broker": {
  10839. "description": "所属经纪人ID",
  10840. "type": "integer"
  10841. },
  10842. "canceltime": {
  10843. "description": "销户时间",
  10844. "type": "string"
  10845. },
  10846. "canceluserid": {
  10847. "description": "销户人",
  10848. "type": "integer"
  10849. },
  10850. "createtime": {
  10851. "description": "创建时间",
  10852. "type": "string"
  10853. },
  10854. "creatorid": {
  10855. "description": "创建人",
  10856. "type": "integer"
  10857. },
  10858. "hasauth": {
  10859. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10860. "type": "integer"
  10861. },
  10862. "isanonymous": {
  10863. "description": "是否匿名下单 - 0:否 1:是",
  10864. "type": "integer"
  10865. },
  10866. "maxinvestornum": {
  10867. "description": "最大用户数(经纪会员下投资者个数)",
  10868. "type": "integer"
  10869. },
  10870. "memberuserid": {
  10871. "description": "所属会员ID",
  10872. "type": "integer"
  10873. },
  10874. "modifierid": {
  10875. "description": "修改人",
  10876. "type": "integer"
  10877. },
  10878. "modifyremark": {
  10879. "description": "变更备注",
  10880. "type": "string"
  10881. },
  10882. "modifystatus": {
  10883. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10884. "type": "integer"
  10885. },
  10886. "modifytime": {
  10887. "description": "修改时间",
  10888. "type": "string"
  10889. },
  10890. "parentuserid": {
  10891. "description": "所属机构ID",
  10892. "type": "integer"
  10893. },
  10894. "reckonaccountid": {
  10895. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10896. "type": "integer"
  10897. },
  10898. "refercount": {
  10899. "description": "推荐总人数",
  10900. "type": "integer"
  10901. },
  10902. "refereeuserid": {
  10903. "description": "推荐人ID",
  10904. "type": "integer"
  10905. },
  10906. "refernum": {
  10907. "description": "推荐码",
  10908. "type": "string"
  10909. },
  10910. "subarealevelpath": {
  10911. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10912. "type": "string"
  10913. },
  10914. "userid": {
  10915. "description": "用户ID",
  10916. "type": "integer"
  10917. },
  10918. "usertype": {
  10919. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10920. "type": "integer"
  10921. }
  10922. }
  10923. },
  10924. "models.Userfavoritegoods": {
  10925. "type": "object",
  10926. "required": [
  10927. "goodsid"
  10928. ],
  10929. "properties": {
  10930. "goodsid": {
  10931. "description": "商品ID",
  10932. "type": "integer"
  10933. }
  10934. }
  10935. },
  10936. "models.Userinfo": {
  10937. "type": "object",
  10938. "required": [
  10939. "userid"
  10940. ],
  10941. "properties": {
  10942. "address": {
  10943. "description": "地址",
  10944. "type": "string"
  10945. },
  10946. "attachment1": {
  10947. "description": "附件1",
  10948. "type": "string"
  10949. },
  10950. "attachment2": {
  10951. "description": "附件2",
  10952. "type": "string"
  10953. },
  10954. "bankaccount": {
  10955. "description": "银行帐号 (加密存储)",
  10956. "type": "string"
  10957. },
  10958. "bankaccountname": {
  10959. "description": "收款人名称",
  10960. "type": "string"
  10961. },
  10962. "bankcardfrontphotourl": {
  10963. "description": "银行卡正面照地址",
  10964. "type": "string"
  10965. },
  10966. "bankid": {
  10967. "description": "银行编码",
  10968. "type": "string"
  10969. },
  10970. "bankname": {
  10971. "description": "银行名称",
  10972. "type": "string"
  10973. },
  10974. "biznature": {
  10975. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10976. "type": "integer"
  10977. },
  10978. "bizscope": {
  10979. "description": "企业经营范围(企业)",
  10980. "type": "string"
  10981. },
  10982. "cardbackphotourl": {
  10983. "description": "证件背面图片地址",
  10984. "type": "string"
  10985. },
  10986. "cardfrontphotourl": {
  10987. "description": "证件正面图片地址",
  10988. "type": "string"
  10989. },
  10990. "cardnum": {
  10991. "description": "证件号码(加密存储)",
  10992. "type": "string"
  10993. },
  10994. "cardtypeid": {
  10995. "description": "证件类型ID",
  10996. "type": "integer"
  10997. },
  10998. "cityid": {
  10999. "description": "市",
  11000. "type": "integer"
  11001. },
  11002. "company": {
  11003. "description": "公司(个人)",
  11004. "type": "string"
  11005. },
  11006. "contactname": {
  11007. "description": "联系人",
  11008. "type": "string"
  11009. },
  11010. "countryid": {
  11011. "description": "国家",
  11012. "type": "integer"
  11013. },
  11014. "createtime": {
  11015. "description": "创建时间",
  11016. "type": "string"
  11017. },
  11018. "creatorid": {
  11019. "description": "创建人",
  11020. "type": "integer"
  11021. },
  11022. "customername": {
  11023. "description": "客户名称(企业名称)",
  11024. "type": "string"
  11025. },
  11026. "districtid": {
  11027. "description": "地区",
  11028. "type": "integer"
  11029. },
  11030. "email": {
  11031. "description": "邮件(加密存储)",
  11032. "type": "string"
  11033. },
  11034. "fax": {
  11035. "description": "传真(加密存储)",
  11036. "type": "string"
  11037. },
  11038. "halfbodyphotourl": {
  11039. "description": "半身照地址",
  11040. "type": "string"
  11041. },
  11042. "hasencrypt": {
  11043. "description": "数据是否已加密 - 0:未加密 1:已加密",
  11044. "type": "integer"
  11045. },
  11046. "headurl": {
  11047. "description": "头像地址",
  11048. "type": "string"
  11049. },
  11050. "legalcardbackphotourl": {
  11051. "description": "法人身份证背面照地址",
  11052. "type": "string"
  11053. },
  11054. "legalcardfrontphotourl": {
  11055. "description": "法人身份证正面照地址",
  11056. "type": "string"
  11057. },
  11058. "legalpersonname": {
  11059. "description": "法人姓名(企业)",
  11060. "type": "string"
  11061. },
  11062. "mobile": {
  11063. "description": "手机号码(加密存储)",
  11064. "type": "string"
  11065. },
  11066. "mobile2": {
  11067. "description": "手机号码[明文-尚志]",
  11068. "type": "string"
  11069. },
  11070. "modifierid": {
  11071. "description": "修改人",
  11072. "type": "integer"
  11073. },
  11074. "modifiertime": {
  11075. "description": "修改时间",
  11076. "type": "string"
  11077. },
  11078. "needinvoice": {
  11079. "description": "是否需要发票 - 0:不需要 1:需要",
  11080. "type": "integer"
  11081. },
  11082. "nickname": {
  11083. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  11084. "type": "string"
  11085. },
  11086. "openmode": {
  11087. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  11088. "type": "integer"
  11089. },
  11090. "otherurl": {
  11091. "description": "其它图片地址[使用分号分隔]",
  11092. "type": "string"
  11093. },
  11094. "postalcode": {
  11095. "description": "邮政编码",
  11096. "type": "string"
  11097. },
  11098. "provinceid": {
  11099. "description": "省",
  11100. "type": "integer"
  11101. },
  11102. "qq": {
  11103. "description": "QQ(加密存储",
  11104. "type": "string"
  11105. },
  11106. "remark": {
  11107. "description": "备注",
  11108. "type": "string"
  11109. },
  11110. "sex": {
  11111. "description": "用户性别 0: 女 1: 男",
  11112. "type": "integer"
  11113. },
  11114. "signpdfurl": {
  11115. "description": "签约pdf文件",
  11116. "type": "string"
  11117. },
  11118. "telphone": {
  11119. "description": "联系电话(加密存储)",
  11120. "type": "string"
  11121. },
  11122. "userid": {
  11123. "description": "用户ID",
  11124. "type": "integer"
  11125. },
  11126. "userinfotype": {
  11127. "description": "用户信息类型 - 1:个人 2:企业",
  11128. "type": "integer"
  11129. },
  11130. "userstatus": {
  11131. "description": "用户状态 - 1:正常 2:注销",
  11132. "type": "integer"
  11133. },
  11134. "usertype": {
  11135. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  11136. "type": "integer"
  11137. },
  11138. "wechat": {
  11139. "description": "微信(加密存储)",
  11140. "type": "string"
  11141. },
  11142. "wskhinfo": {
  11143. "description": "开户申请信息(JSON)",
  11144. "type": "string"
  11145. }
  11146. }
  11147. },
  11148. "models.WRCategoryTree": {
  11149. "type": "object",
  11150. "required": [
  11151. "categoryid"
  11152. ],
  11153. "properties": {
  11154. "areauserid": {
  11155. "description": "所属机构",
  11156. "type": "integer"
  11157. },
  11158. "categorydesc": {
  11159. "description": "类别描述",
  11160. "type": "string"
  11161. },
  11162. "categoryid": {
  11163. "description": "类别ID(SEQ_WRCATEGORY)",
  11164. "type": "integer"
  11165. },
  11166. "categoryname": {
  11167. "description": "类别名称",
  11168. "type": "string"
  11169. },
  11170. "iconurl": {
  11171. "description": "图标地址",
  11172. "type": "string"
  11173. },
  11174. "orderindex": {
  11175. "description": "顺序",
  11176. "type": "integer"
  11177. },
  11178. "parentcategoryid": {
  11179. "description": "父类别ID",
  11180. "type": "integer"
  11181. },
  11182. "subcategory": {
  11183. "description": "子分类",
  11184. "type": "array",
  11185. "items": {
  11186. "$ref": "#/definitions/models.WRCategoryTree"
  11187. }
  11188. }
  11189. }
  11190. },
  11191. "models.WRStandardInfo": {
  11192. "type": "object",
  11193. "required": [
  11194. "wrstandardid"
  11195. ],
  11196. "properties": {
  11197. "createtime": {
  11198. "description": "创建时间",
  11199. "type": "string"
  11200. },
  11201. "creatorid": {
  11202. "description": "创建人",
  11203. "type": "integer"
  11204. },
  11205. "deliverygoodsid": {
  11206. "description": "品种ID",
  11207. "type": "integer"
  11208. },
  11209. "deliverygoodsname": {
  11210. "description": "交割商品名称",
  11211. "type": "string"
  11212. },
  11213. "factoryitemjson": {
  11214. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  11215. "type": "string"
  11216. },
  11217. "isvalid": {
  11218. "description": "是否有效 - 0:无效 1:有效",
  11219. "type": "integer"
  11220. },
  11221. "minivalue": {
  11222. "description": "最小变动值",
  11223. "type": "integer"
  11224. },
  11225. "minivaluedp": {
  11226. "description": "最小变动值小数位",
  11227. "type": "integer"
  11228. },
  11229. "realminivalue": {
  11230. "description": "实际最小变动值",
  11231. "type": "integer"
  11232. },
  11233. "realminivaluedp": {
  11234. "description": "实际最小变动值小数位",
  11235. "type": "integer"
  11236. },
  11237. "unitid": {
  11238. "description": "单位ID",
  11239. "type": "integer"
  11240. },
  11241. "unitname": {
  11242. "description": "单位",
  11243. "type": "string"
  11244. },
  11245. "updatetime": {
  11246. "description": "更新时间",
  11247. "type": "string"
  11248. },
  11249. "updatorid": {
  11250. "description": "更新人",
  11251. "type": "integer"
  11252. },
  11253. "wrsstatus": {
  11254. "description": "状态 - 作废 - 0:未激活 1:正常",
  11255. "type": "integer"
  11256. },
  11257. "wrstandardcode": {
  11258. "description": "仓单标准代码",
  11259. "type": "string"
  11260. },
  11261. "wrstandardid": {
  11262. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  11263. "type": "integer"
  11264. },
  11265. "wrstandardname": {
  11266. "description": "仓单标准名称",
  11267. "type": "string"
  11268. }
  11269. }
  11270. },
  11271. "models.Warehouseinfo": {
  11272. "type": "object",
  11273. "required": [
  11274. "autoid",
  11275. "warehousecode"
  11276. ],
  11277. "properties": {
  11278. "address": {
  11279. "description": "详细地址",
  11280. "type": "string"
  11281. },
  11282. "areauserid": {
  11283. "description": "所属机构",
  11284. "type": "integer"
  11285. },
  11286. "autoid": {
  11287. "description": "自增ID",
  11288. "type": "integer"
  11289. },
  11290. "cityid": {
  11291. "description": "市",
  11292. "type": "integer"
  11293. },
  11294. "contactname": {
  11295. "description": "联系人",
  11296. "type": "string"
  11297. },
  11298. "contactnum": {
  11299. "description": "联系电话",
  11300. "type": "string"
  11301. },
  11302. "countryid": {
  11303. "description": "国家",
  11304. "type": "integer"
  11305. },
  11306. "createtime": {
  11307. "description": "创建时间",
  11308. "type": "string"
  11309. },
  11310. "districtid": {
  11311. "description": "区",
  11312. "type": "integer"
  11313. },
  11314. "hasvideo": {
  11315. "description": "是否有视频 - 0:无 1:有",
  11316. "type": "integer"
  11317. },
  11318. "provinceid": {
  11319. "description": "省",
  11320. "type": "integer"
  11321. },
  11322. "remark": {
  11323. "description": "审核备注",
  11324. "type": "string"
  11325. },
  11326. "videourl": {
  11327. "description": "视频地址",
  11328. "type": "string"
  11329. },
  11330. "warehousecode": {
  11331. "description": "仓库代码",
  11332. "type": "string"
  11333. },
  11334. "warehousename": {
  11335. "description": "仓库名称",
  11336. "type": "string"
  11337. },
  11338. "warehousestatus": {
  11339. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11340. "type": "integer"
  11341. },
  11342. "warehousetype": {
  11343. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11344. "type": "integer"
  11345. }
  11346. }
  11347. },
  11348. "order.QueryHisTradeDetailRsp": {
  11349. "type": "object",
  11350. "required": [
  11351. "accountid",
  11352. "buyorsell",
  11353. "goodsid",
  11354. "histradedate",
  11355. "marketid",
  11356. "memberuserid",
  11357. "orderid",
  11358. "tradeamount",
  11359. "tradedate",
  11360. "tradeid",
  11361. "tradeprice",
  11362. "tradeqty",
  11363. "tradetime"
  11364. ],
  11365. "properties": {
  11366. "accountid": {
  11367. "description": "账户ID[报价币种]",
  11368. "type": "integer"
  11369. },
  11370. "buildtype": {
  11371. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11372. "type": "integer"
  11373. },
  11374. "buyorsell": {
  11375. "description": "方向 - 0:买 1:卖",
  11376. "type": "integer"
  11377. },
  11378. "charge": {
  11379. "description": "手续费",
  11380. "type": "number"
  11381. },
  11382. "closecharge": {
  11383. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11384. "type": "number"
  11385. },
  11386. "closeexchagechargevalue": {
  11387. "description": "平仓交易所手续费设置值",
  11388. "type": "number"
  11389. },
  11390. "closefeealgorithm": {
  11391. "description": "平仓手续费收取方式 1:比率 2:固定",
  11392. "type": "integer"
  11393. },
  11394. "closememberchargevalue": {
  11395. "description": "平仓会员手续费设置值",
  11396. "type": "number"
  11397. },
  11398. "closepl": {
  11399. "description": "平仓盈亏",
  11400. "type": "number"
  11401. },
  11402. "closepl2": {
  11403. "description": "平仓盈亏[逐笔]",
  11404. "type": "number"
  11405. },
  11406. "closeqty": {
  11407. "description": "平仓数量(先建后平操作 需要记录)",
  11408. "type": "integer"
  11409. },
  11410. "creditamount": {
  11411. "description": "授信金额",
  11412. "type": "number"
  11413. },
  11414. "gcaccountid": {
  11415. "description": "账户ID[合约币种]",
  11416. "type": "integer"
  11417. },
  11418. "goodscode": {
  11419. "description": "商品代码",
  11420. "type": "string"
  11421. },
  11422. "goodsid": {
  11423. "description": "商品ID",
  11424. "type": "integer"
  11425. },
  11426. "goodsname": {
  11427. "description": "商品名称",
  11428. "type": "string"
  11429. },
  11430. "histradedate": {
  11431. "description": "历史交易日",
  11432. "type": "string"
  11433. },
  11434. "intclosepl": {
  11435. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11436. "type": "integer"
  11437. },
  11438. "isconfirmexercise": {
  11439. "description": "是否确认行权- 0:否 1:是",
  11440. "type": "integer"
  11441. },
  11442. "ismain": {
  11443. "description": "是否主单 - 0:不是 1:是",
  11444. "type": "integer"
  11445. },
  11446. "ispreexercise": {
  11447. "description": "是否预申报- 0:否 1:是",
  11448. "type": "integer"
  11449. },
  11450. "isreckoned": {
  11451. "description": "是否结算 - 0:未结算 1:已结算",
  11452. "type": "integer"
  11453. },
  11454. "isvaliddata": {
  11455. "description": "是否有效 - 0:无效 1:有效",
  11456. "type": "integer"
  11457. },
  11458. "listingselecttype": {
  11459. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11460. "type": "integer"
  11461. },
  11462. "marketid": {
  11463. "description": "市场ID",
  11464. "type": "integer"
  11465. },
  11466. "marketname": {
  11467. "description": "市场名称",
  11468. "type": "string"
  11469. },
  11470. "matchaccountid": {
  11471. "description": "对手账号id",
  11472. "type": "integer"
  11473. },
  11474. "memberuserid": {
  11475. "description": "会员id 个人投资者 需要填写",
  11476. "type": "integer"
  11477. },
  11478. "opencharge": {
  11479. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11480. "type": "number"
  11481. },
  11482. "openexchagechargevalue": {
  11483. "description": "建仓交易所手续费设置值",
  11484. "type": "number"
  11485. },
  11486. "openfeealgorithm": {
  11487. "description": "建仓手续费收取方式 1:比率 2:固定",
  11488. "type": "integer"
  11489. },
  11490. "openmemberchargevalue": {
  11491. "description": "建仓会员手续费设置值",
  11492. "type": "number"
  11493. },
  11494. "openqty": {
  11495. "description": "开仓数量(先建后平操作 需要记录)",
  11496. "type": "integer"
  11497. },
  11498. "optiontype": {
  11499. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11500. "type": "integer"
  11501. },
  11502. "orderid": {
  11503. "description": "委托单号",
  11504. "type": "string"
  11505. },
  11506. "performanceplanid": {
  11507. "description": "履约计划ID[期权]",
  11508. "type": "integer"
  11509. },
  11510. "performancestatus": {
  11511. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11512. "type": "integer"
  11513. },
  11514. "preexerciseprice": {
  11515. "description": "预申报价格",
  11516. "type": "number"
  11517. },
  11518. "premium": {
  11519. "description": "权利金 - [持仓单的权利金]",
  11520. "type": "number"
  11521. },
  11522. "relatedouttradeid": {
  11523. "description": "关联外部成交单ID",
  11524. "type": "integer"
  11525. },
  11526. "status": {
  11527. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11528. "type": "integer"
  11529. },
  11530. "tradeamount": {
  11531. "description": "成交金额[账户币种,用于所有权]",
  11532. "type": "number"
  11533. },
  11534. "tradedate": {
  11535. "description": "交易日(yyyyMMdd)",
  11536. "type": "string"
  11537. },
  11538. "tradeid": {
  11539. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11540. "type": "string"
  11541. },
  11542. "trademode": {
  11543. "description": "交易模式",
  11544. "type": "integer"
  11545. },
  11546. "tradeprice": {
  11547. "description": "成交价格",
  11548. "type": "number"
  11549. },
  11550. "tradeproperty": {
  11551. "description": "交易属性",
  11552. "type": "integer"
  11553. },
  11554. "tradeqty": {
  11555. "description": "成交数量",
  11556. "type": "integer"
  11557. },
  11558. "tradetime": {
  11559. "description": "成交时间",
  11560. "type": "string"
  11561. },
  11562. "tradetype": {
  11563. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11564. "type": "integer"
  11565. }
  11566. }
  11567. },
  11568. "order.QueryHisTradeOrderDetailRsp": {
  11569. "type": "object",
  11570. "required": [
  11571. "accountid",
  11572. "buildtype",
  11573. "buyorsell",
  11574. "goodsid",
  11575. "histradedate",
  11576. "marketid",
  11577. "memberuserid",
  11578. "operatetype",
  11579. "orderid",
  11580. "orderqty",
  11581. "ordertime",
  11582. "pricemode",
  11583. "tradedate",
  11584. "validtype"
  11585. ],
  11586. "properties": {
  11587. "accountid": {
  11588. "description": "账户ID[报价币种]",
  11589. "type": "integer"
  11590. },
  11591. "buildtype": {
  11592. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11593. "type": "integer"
  11594. },
  11595. "buyorsell": {
  11596. "description": "买卖 - 0:买 1:卖",
  11597. "type": "integer"
  11598. },
  11599. "cancelorderid": {
  11600. "description": "撤单单号(撤单时填写)",
  11601. "type": "string"
  11602. },
  11603. "cancelqty": {
  11604. "description": "撤单数量",
  11605. "type": "integer"
  11606. },
  11607. "clientordertime": {
  11608. "description": "客户端委托时间",
  11609. "type": "string"
  11610. },
  11611. "clientticket": {
  11612. "description": "客户端流水号",
  11613. "type": "string"
  11614. },
  11615. "clienttype": {
  11616. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11617. "type": "integer"
  11618. },
  11619. "closeexchagechargevalue": {
  11620. "description": "平仓交易所手续费设置值",
  11621. "type": "number"
  11622. },
  11623. "closefeealgorithm": {
  11624. "description": "平仓手续费收取方式 1:比率 2:固定",
  11625. "type": "integer"
  11626. },
  11627. "closefreezecharge": {
  11628. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11629. "type": "number"
  11630. },
  11631. "closememberchargevalue": {
  11632. "description": "平仓会员手续费设置值",
  11633. "type": "number"
  11634. },
  11635. "closeqty": {
  11636. "description": "平仓数量(先建后平操作 需要记录)",
  11637. "type": "integer"
  11638. },
  11639. "closetradeqty": {
  11640. "description": "平仓成交数量(先建后平操作,需要记录)",
  11641. "type": "integer"
  11642. },
  11643. "closeunfreezecharge": {
  11644. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11645. "type": "number"
  11646. },
  11647. "delistingtype": {
  11648. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11649. "type": "integer"
  11650. },
  11651. "freezecharge": {
  11652. "description": "冻结手续费",
  11653. "type": "number"
  11654. },
  11655. "freezemargin": {
  11656. "description": "冻结保证金(冻结交易金额)",
  11657. "type": "number"
  11658. },
  11659. "gcaccountid": {
  11660. "description": "账户ID[合约币种]",
  11661. "type": "integer"
  11662. },
  11663. "goodscode": {
  11664. "description": "商品代码",
  11665. "type": "string"
  11666. },
  11667. "goodsid": {
  11668. "description": "商品ID",
  11669. "type": "integer"
  11670. },
  11671. "goodsname": {
  11672. "description": "商品名称",
  11673. "type": "string"
  11674. },
  11675. "histradedate": {
  11676. "description": "历史交易日",
  11677. "type": "string"
  11678. },
  11679. "isconfirmexercise": {
  11680. "description": "是否确认行权- 0:否 1:是",
  11681. "type": "integer"
  11682. },
  11683. "ispreexercise": {
  11684. "description": "是否预申报- 0:否 1:是",
  11685. "type": "integer"
  11686. },
  11687. "isvaliddata": {
  11688. "description": "是否有效 - 0:无效 1:有效",
  11689. "type": "integer"
  11690. },
  11691. "listingselecttype": {
  11692. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11693. "type": "integer"
  11694. },
  11695. "marginalgorithm": {
  11696. "description": "保证金收取方式 1:比率 2:固定",
  11697. "type": "integer"
  11698. },
  11699. "marginvalue": {
  11700. "description": "即市保证金设置值",
  11701. "type": "number"
  11702. },
  11703. "marketid": {
  11704. "description": "市场ID",
  11705. "type": "integer"
  11706. },
  11707. "marketmaxsub": {
  11708. "description": "市价最大偏移范围",
  11709. "type": "number"
  11710. },
  11711. "marketname": {
  11712. "description": "市场名称",
  11713. "type": "string"
  11714. },
  11715. "memberuserid": {
  11716. "description": "所属会员UserID",
  11717. "type": "integer"
  11718. },
  11719. "openexchagechargevalue": {
  11720. "description": "建仓交易所手续费设置值",
  11721. "type": "number"
  11722. },
  11723. "openfeealgorithm": {
  11724. "description": "建仓手续费收取方式 1:比率 2:固定",
  11725. "type": "integer"
  11726. },
  11727. "openfreezecharge": {
  11728. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11729. "type": "number"
  11730. },
  11731. "openmemberchargevalue": {
  11732. "description": "建仓会员手续费设置值",
  11733. "type": "number"
  11734. },
  11735. "openqty": {
  11736. "description": "开仓数量(先建后平操作,需要记录)",
  11737. "type": "integer"
  11738. },
  11739. "opentradeqty": {
  11740. "description": "开仓成交数量(先建后平操作,需要记录)",
  11741. "type": "integer"
  11742. },
  11743. "openunfreezecharge": {
  11744. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11745. "type": "number"
  11746. },
  11747. "operatetype": {
  11748. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11749. "type": "integer"
  11750. },
  11751. "operatorid": {
  11752. "description": "登录账号(LoginID)",
  11753. "type": "integer"
  11754. },
  11755. "optiontype": {
  11756. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11757. "type": "integer"
  11758. },
  11759. "orderid": {
  11760. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11761. "type": "string"
  11762. },
  11763. "orderprice": {
  11764. "description": "委托价格",
  11765. "type": "number"
  11766. },
  11767. "orderqty": {
  11768. "description": "委托数量",
  11769. "type": "integer"
  11770. },
  11771. "ordersrc": {
  11772. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11773. "type": "integer"
  11774. },
  11775. "orderstatus": {
  11776. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11777. "type": "integer"
  11778. },
  11779. "ordertime": {
  11780. "description": "委托时间",
  11781. "type": "string"
  11782. },
  11783. "preexerciseprice": {
  11784. "description": "预申报价格",
  11785. "type": "number"
  11786. },
  11787. "premium": {
  11788. "description": "权利金",
  11789. "type": "number"
  11790. },
  11791. "preorderid": {
  11792. "description": "关联预埋单号(止盈止损单时填写)",
  11793. "type": "string"
  11794. },
  11795. "pricemode": {
  11796. "description": "取价方式 - 1:市价 2: 限价",
  11797. "type": "integer"
  11798. },
  11799. "quoteid": {
  11800. "description": "报价单ID",
  11801. "type": "integer"
  11802. },
  11803. "relatedid": {
  11804. "description": "关联单号(交割单)",
  11805. "type": "string"
  11806. },
  11807. "retcode": {
  11808. "description": "错误代码",
  11809. "type": "integer"
  11810. },
  11811. "sessionid": {
  11812. "description": "会话ID",
  11813. "type": "integer"
  11814. },
  11815. "tradedate": {
  11816. "description": "交易日(yyyyMMdd)",
  11817. "type": "string"
  11818. },
  11819. "trademode": {
  11820. "description": "交易模式",
  11821. "type": "integer"
  11822. },
  11823. "tradeproperty": {
  11824. "description": "交易属性",
  11825. "type": "integer"
  11826. },
  11827. "tradeqty": {
  11828. "description": "成交数量",
  11829. "type": "integer"
  11830. },
  11831. "unfreezecharge": {
  11832. "description": "解冻手续费",
  11833. "type": "number"
  11834. },
  11835. "unfreezemargin": {
  11836. "description": "解冻保证金",
  11837. "type": "number"
  11838. },
  11839. "updatetime": {
  11840. "description": "更新时间",
  11841. "type": "string"
  11842. },
  11843. "uuid": {
  11844. "description": "发起端唯一id",
  11845. "type": "string"
  11846. },
  11847. "validtime": {
  11848. "description": "有效期限",
  11849. "type": "string"
  11850. },
  11851. "validtype": {
  11852. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11853. "type": "integer"
  11854. },
  11855. "volumetype": {
  11856. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11857. "type": "integer"
  11858. }
  11859. }
  11860. },
  11861. "order.QueryTradeDetailRsp": {
  11862. "type": "object",
  11863. "required": [
  11864. "accountid",
  11865. "buyorsell",
  11866. "goodsid",
  11867. "marketid",
  11868. "memberuserid",
  11869. "orderid",
  11870. "tradeamount",
  11871. "tradedate",
  11872. "tradeid",
  11873. "tradeprice",
  11874. "tradeqty",
  11875. "tradetime"
  11876. ],
  11877. "properties": {
  11878. "accountid": {
  11879. "description": "账户ID[报价币种]",
  11880. "type": "integer"
  11881. },
  11882. "buildtype": {
  11883. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11884. "type": "integer"
  11885. },
  11886. "buyorsell": {
  11887. "description": "方向 - 0:买 1:卖",
  11888. "type": "integer"
  11889. },
  11890. "charge": {
  11891. "description": "手续费",
  11892. "type": "number"
  11893. },
  11894. "closecharge": {
  11895. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11896. "type": "number"
  11897. },
  11898. "closeexchagechargevalue": {
  11899. "description": "平仓交易所手续费设置值",
  11900. "type": "number"
  11901. },
  11902. "closefeealgorithm": {
  11903. "description": "平仓手续费收取方式 1:比率 2:固定",
  11904. "type": "integer"
  11905. },
  11906. "closememberchargevalue": {
  11907. "description": "平仓会员手续费设置值",
  11908. "type": "number"
  11909. },
  11910. "closepl": {
  11911. "description": "平仓盈亏",
  11912. "type": "number"
  11913. },
  11914. "closepl2": {
  11915. "description": "平仓盈亏[逐笔]",
  11916. "type": "number"
  11917. },
  11918. "closeqty": {
  11919. "description": "平仓数量(先建后平操作 需要记录)",
  11920. "type": "integer"
  11921. },
  11922. "creditamount": {
  11923. "description": "授信金额",
  11924. "type": "number"
  11925. },
  11926. "gcaccountid": {
  11927. "description": "账户ID[合约币种]",
  11928. "type": "integer"
  11929. },
  11930. "goodscode": {
  11931. "description": "商品代码",
  11932. "type": "string"
  11933. },
  11934. "goodsid": {
  11935. "description": "商品ID",
  11936. "type": "integer"
  11937. },
  11938. "goodsname": {
  11939. "description": "商品名称",
  11940. "type": "string"
  11941. },
  11942. "intclosepl": {
  11943. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11944. "type": "integer"
  11945. },
  11946. "isconfirmexercise": {
  11947. "description": "是否确认行权- 0:否 1:是",
  11948. "type": "integer"
  11949. },
  11950. "ismain": {
  11951. "description": "是否主单 - 0:不是 1:是",
  11952. "type": "integer"
  11953. },
  11954. "ispreexercise": {
  11955. "description": "是否预申报- 0:否 1:是",
  11956. "type": "integer"
  11957. },
  11958. "isreckoned": {
  11959. "description": "是否结算 - 0:未结算 1:已结算",
  11960. "type": "integer"
  11961. },
  11962. "listingselecttype": {
  11963. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11964. "type": "integer"
  11965. },
  11966. "marketid": {
  11967. "description": "市场ID",
  11968. "type": "integer"
  11969. },
  11970. "marketname": {
  11971. "description": "市场名称",
  11972. "type": "string"
  11973. },
  11974. "matchaccountid": {
  11975. "description": "对手账号id",
  11976. "type": "integer"
  11977. },
  11978. "memberuserid": {
  11979. "description": "会员id 个人投资者 需要填写",
  11980. "type": "integer"
  11981. },
  11982. "opencharge": {
  11983. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11984. "type": "number"
  11985. },
  11986. "openexchagechargevalue": {
  11987. "description": "建仓交易所手续费设置值",
  11988. "type": "number"
  11989. },
  11990. "openfeealgorithm": {
  11991. "description": "建仓手续费收取方式 1:比率 2:固定",
  11992. "type": "integer"
  11993. },
  11994. "openmemberchargevalue": {
  11995. "description": "建仓会员手续费设置值",
  11996. "type": "number"
  11997. },
  11998. "openqty": {
  11999. "description": "开仓数量(先建后平操作 需要记录)",
  12000. "type": "integer"
  12001. },
  12002. "optiontype": {
  12003. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12004. "type": "integer"
  12005. },
  12006. "orderid": {
  12007. "description": "委托单号",
  12008. "type": "string"
  12009. },
  12010. "performanceplanid": {
  12011. "description": "履约计划ID[期权]",
  12012. "type": "integer"
  12013. },
  12014. "performancestatus": {
  12015. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  12016. "type": "integer"
  12017. },
  12018. "preexerciseprice": {
  12019. "description": "预申报价格",
  12020. "type": "number"
  12021. },
  12022. "premium": {
  12023. "description": "权利金 - [持仓单的权利金]",
  12024. "type": "number"
  12025. },
  12026. "relatedouttradeid": {
  12027. "description": "关联外部成交单ID",
  12028. "type": "integer"
  12029. },
  12030. "status": {
  12031. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  12032. "type": "integer"
  12033. },
  12034. "tradeamount": {
  12035. "description": "成交金额[账户币种,用于所有权]",
  12036. "type": "number"
  12037. },
  12038. "tradedate": {
  12039. "description": "交易日(yyyyMMdd)",
  12040. "type": "string"
  12041. },
  12042. "tradeid": {
  12043. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12044. "type": "string"
  12045. },
  12046. "trademode": {
  12047. "description": "交易模式",
  12048. "type": "integer"
  12049. },
  12050. "tradeprice": {
  12051. "description": "成交价格",
  12052. "type": "number"
  12053. },
  12054. "tradeproperty": {
  12055. "description": "交易属性",
  12056. "type": "integer"
  12057. },
  12058. "tradeqty": {
  12059. "description": "成交数量",
  12060. "type": "integer"
  12061. },
  12062. "tradetime": {
  12063. "description": "成交时间",
  12064. "type": "string"
  12065. },
  12066. "tradetype": {
  12067. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  12068. "type": "integer"
  12069. }
  12070. }
  12071. },
  12072. "order.QueryTradeOrderDetailRsp": {
  12073. "type": "object",
  12074. "required": [
  12075. "accountid",
  12076. "buildtype",
  12077. "buyorsell",
  12078. "goodsid",
  12079. "marketid",
  12080. "operatetype",
  12081. "orderqty",
  12082. "ordertime",
  12083. "pricemode",
  12084. "tradedate",
  12085. "validtype"
  12086. ],
  12087. "properties": {
  12088. "accountid": {
  12089. "description": "账户ID[报价币种]",
  12090. "type": "integer"
  12091. },
  12092. "buildtype": {
  12093. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12094. "type": "integer"
  12095. },
  12096. "buyorsell": {
  12097. "description": "买卖 - 0:买 1:卖",
  12098. "type": "integer"
  12099. },
  12100. "cancelorderid": {
  12101. "description": "撤单单号(撤单时填写)",
  12102. "type": "string"
  12103. },
  12104. "cancelqty": {
  12105. "description": "撤单数量",
  12106. "type": "integer"
  12107. },
  12108. "clienttype": {
  12109. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12110. "type": "integer"
  12111. },
  12112. "closefreezecharge": {
  12113. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12114. "type": "number"
  12115. },
  12116. "closeqty": {
  12117. "description": "平仓数量(先建后平操作 需要记录)",
  12118. "type": "integer"
  12119. },
  12120. "closetradeqty": {
  12121. "description": "平仓成交数量(先建后平操作,需要记录)",
  12122. "type": "integer"
  12123. },
  12124. "closeunfreezecharge": {
  12125. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12126. "type": "number"
  12127. },
  12128. "delistingtype": {
  12129. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12130. "type": "integer"
  12131. },
  12132. "enableqty": {
  12133. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  12134. "type": "integer"
  12135. },
  12136. "freezecharge": {
  12137. "description": "冻结手续费",
  12138. "type": "number"
  12139. },
  12140. "freezemargin": {
  12141. "description": "冻结保证金(冻结交易金额)",
  12142. "type": "number"
  12143. },
  12144. "goodscode": {
  12145. "description": "商品代码",
  12146. "type": "string"
  12147. },
  12148. "goodsid": {
  12149. "description": "商品ID",
  12150. "type": "integer"
  12151. },
  12152. "goodsname": {
  12153. "description": "商品名称",
  12154. "type": "string"
  12155. },
  12156. "listingselecttype": {
  12157. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12158. "type": "integer"
  12159. },
  12160. "marketid": {
  12161. "description": "市场ID",
  12162. "type": "integer"
  12163. },
  12164. "marketname": {
  12165. "description": "市场名称",
  12166. "type": "string"
  12167. },
  12168. "openfreezecharge": {
  12169. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12170. "type": "number"
  12171. },
  12172. "openqty": {
  12173. "description": "开仓数量(先建后平操作,需要记录)",
  12174. "type": "integer"
  12175. },
  12176. "opentradeqty": {
  12177. "description": "开仓成交数量(先建后平操作,需要记录)",
  12178. "type": "integer"
  12179. },
  12180. "openunfreezecharge": {
  12181. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12182. "type": "number"
  12183. },
  12184. "operatetype": {
  12185. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12186. "type": "integer"
  12187. },
  12188. "operatorid": {
  12189. "description": "登录账号(LoginID)",
  12190. "type": "integer"
  12191. },
  12192. "orderid": {
  12193. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12194. "type": "string"
  12195. },
  12196. "orderprice": {
  12197. "description": "委托价格",
  12198. "type": "number"
  12199. },
  12200. "orderqty": {
  12201. "description": "委托数量",
  12202. "type": "integer"
  12203. },
  12204. "ordersrc": {
  12205. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12206. "type": "integer"
  12207. },
  12208. "orderstatus": {
  12209. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12210. "type": "integer"
  12211. },
  12212. "ordertime": {
  12213. "description": "委托时间",
  12214. "type": "string"
  12215. },
  12216. "preorderid": {
  12217. "description": "关联预埋单号(止盈止损单时填写)",
  12218. "type": "string"
  12219. },
  12220. "pricemode": {
  12221. "description": "取价方式 - 1:市价 2: 限价",
  12222. "type": "integer"
  12223. },
  12224. "relatedid": {
  12225. "description": "关联单号(交割单)",
  12226. "type": "string"
  12227. },
  12228. "tradedate": {
  12229. "description": "交易日(yyyyMMdd)",
  12230. "type": "string"
  12231. },
  12232. "trademode": {
  12233. "description": "交易模式",
  12234. "type": "integer"
  12235. },
  12236. "tradeqty": {
  12237. "description": "成交数量",
  12238. "type": "integer"
  12239. },
  12240. "unfreezecharge": {
  12241. "description": "解冻手续费",
  12242. "type": "number"
  12243. },
  12244. "unfreezemargin": {
  12245. "description": "解冻保证金",
  12246. "type": "number"
  12247. },
  12248. "validtime": {
  12249. "description": "有效期限",
  12250. "type": "string"
  12251. },
  12252. "validtype": {
  12253. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12254. "type": "integer"
  12255. },
  12256. "volumetype": {
  12257. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12258. "type": "integer"
  12259. }
  12260. }
  12261. },
  12262. "order.QueryTradePositionRsp": {
  12263. "type": "object",
  12264. "required": [
  12265. "goodsid"
  12266. ],
  12267. "properties": {
  12268. "accountid": {
  12269. "description": "资金账户",
  12270. "type": "integer"
  12271. },
  12272. "agreeunit": {
  12273. "description": "合约单位",
  12274. "type": "number"
  12275. },
  12276. "averageprice": {
  12277. "description": "持仓均价",
  12278. "type": "number"
  12279. },
  12280. "buyorsell": {
  12281. "description": "方向 - 0:买 1:卖",
  12282. "type": "integer"
  12283. },
  12284. "closetotalqty": {
  12285. "description": "平仓总数量",
  12286. "type": "integer"
  12287. },
  12288. "curholderamount": {
  12289. "description": "当前持仓总金额[商品币种]",
  12290. "type": "number"
  12291. },
  12292. "curpositionqty": {
  12293. "description": "当前持仓总数量",
  12294. "type": "integer"
  12295. },
  12296. "currencyid": {
  12297. "description": "报价货币ID",
  12298. "type": "integer"
  12299. },
  12300. "curtdposition": {
  12301. "description": "期末今日头寸",
  12302. "type": "integer"
  12303. },
  12304. "decimalplace": {
  12305. "description": "报价小数位",
  12306. "type": "integer"
  12307. },
  12308. "enableqty": {
  12309. "description": "可用量",
  12310. "type": "integer"
  12311. },
  12312. "fretdposition": {
  12313. "description": "冻结今日头寸",
  12314. "type": "integer"
  12315. },
  12316. "frozenqty": {
  12317. "description": "持仓冻结数量",
  12318. "type": "integer"
  12319. },
  12320. "goodscode": {
  12321. "description": "商品代码",
  12322. "type": "string"
  12323. },
  12324. "goodsid": {
  12325. "description": "商品Id",
  12326. "type": "integer"
  12327. },
  12328. "goodsname": {
  12329. "description": "商品名称",
  12330. "type": "string"
  12331. },
  12332. "goodunit": {
  12333. "description": "报价单位",
  12334. "type": "string"
  12335. },
  12336. "goodunitid": {
  12337. "description": "报价单位ID",
  12338. "type": "integer"
  12339. },
  12340. "holderamount": {
  12341. "description": "期初持仓总金额[商品币种]",
  12342. "type": "number"
  12343. },
  12344. "marketid": {
  12345. "description": "所属市场ID",
  12346. "type": "integer"
  12347. },
  12348. "openreqqty": {
  12349. "description": "开仓申请数量(用于比较最大持仓数量)",
  12350. "type": "integer"
  12351. },
  12352. "opentotalqty": {
  12353. "description": "开仓总数量",
  12354. "type": "integer"
  12355. },
  12356. "otherfrozenqty": {
  12357. "description": "持仓其他冻结数量(交割冻结)",
  12358. "type": "integer"
  12359. },
  12360. "positionqty": {
  12361. "description": "期初持仓数量",
  12362. "type": "integer"
  12363. },
  12364. "tnqty": {
  12365. "description": "T+N冻结总量",
  12366. "type": "integer"
  12367. },
  12368. "tnusedqty": {
  12369. "description": "T+N使用量(可以使用T+N的冻结数量)",
  12370. "type": "integer"
  12371. },
  12372. "trademode": {
  12373. "description": "交易模式",
  12374. "type": "integer"
  12375. },
  12376. "usedmargin": {
  12377. "description": "占用保证金[商品币种]",
  12378. "type": "number"
  12379. }
  12380. }
  12381. },
  12382. "quote.HistoryData": {
  12383. "type": "object",
  12384. "properties": {
  12385. "c": {
  12386. "description": "收盘价",
  12387. "type": "number"
  12388. },
  12389. "h": {
  12390. "description": "最高价",
  12391. "type": "number"
  12392. },
  12393. "hv": {
  12394. "description": "持仓量",
  12395. "type": "integer"
  12396. },
  12397. "l": {
  12398. "description": "最低价",
  12399. "type": "number"
  12400. },
  12401. "o": {
  12402. "description": "开盘价",
  12403. "type": "number"
  12404. },
  12405. "s": {
  12406. "description": "结算价,日线周期(包括)以上才有",
  12407. "type": "number"
  12408. },
  12409. "ts": {
  12410. "description": "时间",
  12411. "type": "string"
  12412. },
  12413. "tt": {
  12414. "description": "总金额",
  12415. "type": "number"
  12416. },
  12417. "tv": {
  12418. "description": "总量",
  12419. "type": "integer"
  12420. }
  12421. }
  12422. },
  12423. "quote.QueryTSDataRsp": {
  12424. "type": "object",
  12425. "properties": {
  12426. "decimalPlace": {
  12427. "description": "小数位",
  12428. "type": "integer"
  12429. },
  12430. "endTime": {
  12431. "description": "结束时间",
  12432. "type": "string"
  12433. },
  12434. "goodsCode": {
  12435. "description": "商品代码",
  12436. "type": "string"
  12437. },
  12438. "historyDatas": {
  12439. "description": "历史数据",
  12440. "type": "array",
  12441. "items": {
  12442. "$ref": "#/definitions/quote.HistoryData"
  12443. }
  12444. },
  12445. "preSettle": {
  12446. "description": "昨结",
  12447. "type": "number"
  12448. },
  12449. "startTime": {
  12450. "description": "开始时间",
  12451. "type": "string"
  12452. },
  12453. "tradeDate": {
  12454. "description": "交易日",
  12455. "type": "string"
  12456. }
  12457. }
  12458. },
  12459. "szdz.QueryConvertLogRsp": {
  12460. "type": "object",
  12461. "required": [
  12462. "logid"
  12463. ],
  12464. "properties": {
  12465. "accountid": {
  12466. "description": "资金账户ID",
  12467. "type": "integer"
  12468. },
  12469. "clientticket": {
  12470. "description": "客户端流水号",
  12471. "type": "string"
  12472. },
  12473. "converttype": {
  12474. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  12475. "type": "integer"
  12476. },
  12477. "createtime": {
  12478. "description": "记账时间",
  12479. "type": "string"
  12480. },
  12481. "daymaxvalue": {
  12482. "description": "配置当日最大转入限制",
  12483. "type": "number"
  12484. },
  12485. "daymaxvalue2": {
  12486. "description": "配置当日最大转入限制(转入)",
  12487. "type": "number"
  12488. },
  12489. "goodscode": {
  12490. "description": "商品代码",
  12491. "type": "string"
  12492. },
  12493. "goodsname": {
  12494. "description": "商品名称",
  12495. "type": "string"
  12496. },
  12497. "handlestatus": {
  12498. "description": "处理状态",
  12499. "type": "integer"
  12500. },
  12501. "innergoodsid": {
  12502. "description": "内部商品ID",
  12503. "type": "integer"
  12504. },
  12505. "inratio": {
  12506. "description": "配置转入比值",
  12507. "type": "integer"
  12508. },
  12509. "invalue": {
  12510. "description": "目标值",
  12511. "type": "number"
  12512. },
  12513. "logid": {
  12514. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12515. "type": "integer"
  12516. },
  12517. "mobile": {
  12518. "description": "手机号码(加密存储)",
  12519. "type": "string"
  12520. },
  12521. "outergoodscode": {
  12522. "description": "外部商品代码[JD\\PD]",
  12523. "type": "string"
  12524. },
  12525. "outratio": {
  12526. "description": "配置转出比值",
  12527. "type": "integer"
  12528. },
  12529. "outvalue": {
  12530. "description": "源值",
  12531. "type": "number"
  12532. },
  12533. "pddecimalplace": {
  12534. "description": "PD小数位",
  12535. "type": "integer"
  12536. },
  12537. "qty": {
  12538. "description": "数量",
  12539. "type": "string"
  12540. },
  12541. "remark": {
  12542. "description": "备注",
  12543. "type": "string"
  12544. },
  12545. "sessionid": {
  12546. "description": "会话ID",
  12547. "type": "integer"
  12548. },
  12549. "timemaxvalue": {
  12550. "description": "配置单次最大转入限制",
  12551. "type": "number"
  12552. },
  12553. "timemaxvalue2": {
  12554. "description": "配置单次最大转入限制(转入)",
  12555. "type": "number"
  12556. },
  12557. "timeminvalue": {
  12558. "description": "配置单次最小数量限制",
  12559. "type": "number"
  12560. },
  12561. "timeminvalue2": {
  12562. "description": "配置单次最小数量限制(转入)",
  12563. "type": "number"
  12564. },
  12565. "tradedate": {
  12566. "description": "交易日(yyyyMMdd)",
  12567. "type": "string"
  12568. },
  12569. "userid": {
  12570. "description": "用户ID",
  12571. "type": "integer"
  12572. }
  12573. }
  12574. },
  12575. "szdz.QueryGoodsPickupRsp": {
  12576. "type": "object",
  12577. "required": [
  12578. "takeorderid"
  12579. ],
  12580. "properties": {
  12581. "accountid": {
  12582. "description": "账户ID",
  12583. "type": "integer"
  12584. },
  12585. "address": {
  12586. "description": "提货人详细地址",
  12587. "type": "string"
  12588. },
  12589. "auditer": {
  12590. "description": "审核人",
  12591. "type": "integer"
  12592. },
  12593. "audittime": {
  12594. "description": "审核时间",
  12595. "type": "string"
  12596. },
  12597. "cardnum": {
  12598. "description": "提货人证件号码",
  12599. "type": "string"
  12600. },
  12601. "cardtypeid": {
  12602. "description": "提货人证件类型",
  12603. "type": "integer"
  12604. },
  12605. "checkremark": {
  12606. "description": "审核备注",
  12607. "type": "string"
  12608. },
  12609. "goodscode": {
  12610. "description": "商品代码",
  12611. "type": "string"
  12612. },
  12613. "goodsid": {
  12614. "description": "商品ID",
  12615. "type": "integer"
  12616. },
  12617. "goodsname": {
  12618. "description": "商品名称",
  12619. "type": "string"
  12620. },
  12621. "handlestatus": {
  12622. "description": "处理状态",
  12623. "type": "integer"
  12624. },
  12625. "marketid": {
  12626. "description": "市场ID",
  12627. "type": "integer"
  12628. },
  12629. "phonenum": {
  12630. "description": "提货人联系方式",
  12631. "type": "string"
  12632. },
  12633. "qty": {
  12634. "description": "提货数量",
  12635. "type": "number"
  12636. },
  12637. "recivername": {
  12638. "description": "提货人姓名",
  12639. "type": "string"
  12640. },
  12641. "reqtime": {
  12642. "description": "更新时间",
  12643. "type": "string"
  12644. },
  12645. "takemode": {
  12646. "description": "提货方式 - 2:自提 3:配送",
  12647. "type": "integer"
  12648. },
  12649. "takeorderid": {
  12650. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12651. "type": "string"
  12652. },
  12653. "takeorderstatus": {
  12654. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12655. "type": "integer"
  12656. },
  12657. "takeremark": {
  12658. "description": "提货备注",
  12659. "type": "string"
  12660. },
  12661. "tradedate": {
  12662. "description": "交易日(yyyyMMdd)",
  12663. "type": "string"
  12664. },
  12665. "userid": {
  12666. "description": "用户ID",
  12667. "type": "integer"
  12668. }
  12669. }
  12670. },
  12671. "szdz.QueryRecieptOrderRsp": {
  12672. "type": "object",
  12673. "required": [
  12674. "ordertime"
  12675. ],
  12676. "properties": {
  12677. "accountName": {
  12678. "description": "所属账号名称(已脱敏)",
  12679. "type": "string"
  12680. },
  12681. "accountid": {
  12682. "description": "资金账号",
  12683. "type": "integer"
  12684. },
  12685. "buyorsell": {
  12686. "description": "方向 - 0:买 1:卖",
  12687. "type": "integer"
  12688. },
  12689. "enableqty": {
  12690. "description": "可摘数量",
  12691. "type": "integer"
  12692. },
  12693. "goodscode": {
  12694. "description": "商品代码",
  12695. "type": "string"
  12696. },
  12697. "goodsid": {
  12698. "description": "商品ID",
  12699. "type": "integer"
  12700. },
  12701. "goodsname": {
  12702. "description": "商品名称",
  12703. "type": "string"
  12704. },
  12705. "orderid": {
  12706. "description": "委托单号",
  12707. "type": "string"
  12708. },
  12709. "orderprice": {
  12710. "description": "委托价格",
  12711. "type": "number"
  12712. },
  12713. "ordertime": {
  12714. "description": "委托时间",
  12715. "type": "string"
  12716. },
  12717. "tradedate": {
  12718. "description": "交易日(yyyyMMdd)",
  12719. "type": "string"
  12720. }
  12721. }
  12722. },
  12723. "szdz.QuerySZDZTradePositionRsp": {
  12724. "type": "object",
  12725. "properties": {
  12726. "accountid": {
  12727. "description": "账号Id",
  12728. "type": "integer"
  12729. },
  12730. "agreeunit": {
  12731. "description": "合约单位",
  12732. "type": "number"
  12733. },
  12734. "averageprice": {
  12735. "description": "持仓均价",
  12736. "type": "number"
  12737. },
  12738. "buyorsell": {
  12739. "description": "方向 - 0:买 1:卖",
  12740. "type": "integer"
  12741. },
  12742. "closetotalqty": {
  12743. "description": "平仓总数量",
  12744. "type": "integer"
  12745. },
  12746. "curholderamount": {
  12747. "description": "当前持仓总金额",
  12748. "type": "number"
  12749. },
  12750. "curpositionqty": {
  12751. "description": "当前持仓总数量",
  12752. "type": "integer"
  12753. },
  12754. "currencyid": {
  12755. "description": "报价货币ID",
  12756. "type": "integer"
  12757. },
  12758. "curtdposition": {
  12759. "description": "期末今日头寸",
  12760. "type": "integer"
  12761. },
  12762. "decimalplace": {
  12763. "description": "报价小数位",
  12764. "type": "integer"
  12765. },
  12766. "enableqty": {
  12767. "description": "可用量",
  12768. "type": "integer"
  12769. },
  12770. "fretdposition": {
  12771. "description": "冻结今日头寸",
  12772. "type": "integer"
  12773. },
  12774. "frozenqty": {
  12775. "description": "持仓冻结数量",
  12776. "type": "integer"
  12777. },
  12778. "goodscode": {
  12779. "description": "商品代码(内部)",
  12780. "type": "string"
  12781. },
  12782. "goodsid": {
  12783. "description": "商品Id",
  12784. "type": "integer"
  12785. },
  12786. "goodsname": {
  12787. "description": "商品名称",
  12788. "type": "string"
  12789. },
  12790. "goodunit": {
  12791. "description": "报价单位",
  12792. "type": "string"
  12793. },
  12794. "goodunitid": {
  12795. "description": "报价单位ID",
  12796. "type": "integer"
  12797. },
  12798. "holderamount": {
  12799. "description": "期初持仓总金额",
  12800. "type": "number"
  12801. },
  12802. "marketid": {
  12803. "description": "市场ID",
  12804. "type": "integer"
  12805. },
  12806. "openreqqty": {
  12807. "description": "开仓申请数量",
  12808. "type": "integer"
  12809. },
  12810. "opentotalqty": {
  12811. "description": "开仓总数量",
  12812. "type": "integer"
  12813. },
  12814. "otherfrozenqty": {
  12815. "description": "持仓其他冻结数量(交割冻结)",
  12816. "type": "integer"
  12817. },
  12818. "positionqty": {
  12819. "description": "期初持仓数量",
  12820. "type": "integer"
  12821. },
  12822. "szdz3freezqty": {
  12823. "description": "尚志大宗转换冻结总数量",
  12824. "type": "integer"
  12825. },
  12826. "tnqty": {
  12827. "description": "T+N冻结总量",
  12828. "type": "integer"
  12829. },
  12830. "tnusedqty": {
  12831. "description": "T+N使用量",
  12832. "type": "integer"
  12833. },
  12834. "trademode": {
  12835. "description": "交易模式",
  12836. "type": "integer"
  12837. },
  12838. "usedmargin": {
  12839. "description": "占用保证金",
  12840. "type": "number"
  12841. }
  12842. }
  12843. },
  12844. "taaccount.QueryAmountLogRsp": {
  12845. "type": "object",
  12846. "required": [
  12847. "accountid",
  12848. "amount",
  12849. "amountadjusttype",
  12850. "autoid",
  12851. "balance",
  12852. "createtime",
  12853. "currentbalance",
  12854. "operatetype"
  12855. ],
  12856. "properties": {
  12857. "OPERATETYPENAME": {
  12858. "description": "资金操作类型名称",
  12859. "type": "string"
  12860. },
  12861. "accountid": {
  12862. "description": "资金账户ID",
  12863. "type": "integer"
  12864. },
  12865. "agoodscode": {
  12866. "description": "竞拍商品代码",
  12867. "type": "string"
  12868. },
  12869. "agoodsname": {
  12870. "description": "竞拍商品名称",
  12871. "type": "string"
  12872. },
  12873. "amount": {
  12874. "description": "资金金额",
  12875. "type": "number"
  12876. },
  12877. "amountadjusttype": {
  12878. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12879. "type": "integer"
  12880. },
  12881. "autoid": {
  12882. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12883. "type": "integer"
  12884. },
  12885. "balance": {
  12886. "description": "期初余额",
  12887. "type": "number"
  12888. },
  12889. "businesscode": {
  12890. "description": "业务编号",
  12891. "type": "integer"
  12892. },
  12893. "createtime": {
  12894. "description": "发生时间",
  12895. "type": "string"
  12896. },
  12897. "currencyid": {
  12898. "description": "币种ID",
  12899. "type": "integer"
  12900. },
  12901. "currentbalance": {
  12902. "description": "期末余额(变动后金额)",
  12903. "type": "number"
  12904. },
  12905. "dgoodscode": {
  12906. "description": "交割商品代码",
  12907. "type": "string"
  12908. },
  12909. "dgoodsname": {
  12910. "description": "交割商品名称",
  12911. "type": "string"
  12912. },
  12913. "goodscode": {
  12914. "description": "商品代码",
  12915. "type": "string"
  12916. },
  12917. "goodsid": {
  12918. "description": "商品ID",
  12919. "type": "integer"
  12920. },
  12921. "goodsname": {
  12922. "description": "商品名称",
  12923. "type": "string"
  12924. },
  12925. "marketid": {
  12926. "description": "市场ID",
  12927. "type": "integer"
  12928. },
  12929. "marketname": {
  12930. "description": "市场名称",
  12931. "type": "string"
  12932. },
  12933. "moneyticket": {
  12934. "description": "资金流水号:银行端流水号",
  12935. "type": "integer"
  12936. },
  12937. "operatetype": {
  12938. "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:营销收款",
  12939. "type": "integer"
  12940. },
  12941. "relationorderid": {
  12942. "description": "关联单号",
  12943. "type": "string"
  12944. },
  12945. "remark": {
  12946. "description": "备注",
  12947. "type": "string"
  12948. },
  12949. "trademode": {
  12950. "description": "交易模式",
  12951. "type": "integer"
  12952. }
  12953. }
  12954. },
  12955. "taaccount.QueryHisAmountLogRsp": {
  12956. "type": "object",
  12957. "required": [
  12958. "accountid",
  12959. "amount",
  12960. "amountadjusttype",
  12961. "autoid",
  12962. "balance",
  12963. "createtime",
  12964. "currentbalance",
  12965. "histradedate",
  12966. "operatetype"
  12967. ],
  12968. "properties": {
  12969. "OPERATETYPENAME": {
  12970. "description": "资金操作类型名称",
  12971. "type": "string"
  12972. },
  12973. "accountid": {
  12974. "description": "资金账户ID",
  12975. "type": "integer"
  12976. },
  12977. "agoodscode": {
  12978. "description": "竞拍商品代码",
  12979. "type": "string"
  12980. },
  12981. "agoodsname": {
  12982. "description": "竞拍商品名称",
  12983. "type": "string"
  12984. },
  12985. "amount": {
  12986. "description": "资金金额",
  12987. "type": "number"
  12988. },
  12989. "amountadjusttype": {
  12990. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12991. "type": "integer"
  12992. },
  12993. "autoid": {
  12994. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12995. "type": "integer"
  12996. },
  12997. "balance": {
  12998. "description": "期初余额",
  12999. "type": "number"
  13000. },
  13001. "businesscode": {
  13002. "description": "业务编号",
  13003. "type": "integer"
  13004. },
  13005. "createtime": {
  13006. "description": "发生时间",
  13007. "type": "string"
  13008. },
  13009. "currencyid": {
  13010. "description": "币种ID",
  13011. "type": "integer"
  13012. },
  13013. "currentbalance": {
  13014. "description": "期末余额(变动后金额)",
  13015. "type": "number"
  13016. },
  13017. "dgoodscode": {
  13018. "description": "交割商品代码",
  13019. "type": "string"
  13020. },
  13021. "dgoodsname": {
  13022. "description": "交割商品名称",
  13023. "type": "string"
  13024. },
  13025. "goodscode": {
  13026. "description": "商品代码",
  13027. "type": "string"
  13028. },
  13029. "goodsid": {
  13030. "description": "商品ID",
  13031. "type": "integer"
  13032. },
  13033. "goodsname": {
  13034. "description": "商品名称",
  13035. "type": "string"
  13036. },
  13037. "histradedate": {
  13038. "description": "历史交易日",
  13039. "type": "string"
  13040. },
  13041. "isvaliddata": {
  13042. "description": "是否有效 - 0:无效 1:有效",
  13043. "type": "integer"
  13044. },
  13045. "marketid": {
  13046. "description": "市场ID",
  13047. "type": "integer"
  13048. },
  13049. "marketname": {
  13050. "description": "市场名称",
  13051. "type": "string"
  13052. },
  13053. "moneyticket": {
  13054. "description": "资金流水号:银行端流水号",
  13055. "type": "integer"
  13056. },
  13057. "operatetype": {
  13058. "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:营销收款",
  13059. "type": "integer"
  13060. },
  13061. "relationorderid": {
  13062. "description": "关联单号",
  13063. "type": "string"
  13064. },
  13065. "remark": {
  13066. "description": "备注",
  13067. "type": "string"
  13068. },
  13069. "trademode": {
  13070. "description": "交易模式",
  13071. "type": "integer"
  13072. }
  13073. }
  13074. },
  13075. "trade.QueryRecieptOrderRsp": {
  13076. "type": "object",
  13077. "required": [
  13078. "ordertime"
  13079. ],
  13080. "properties": {
  13081. "accountName": {
  13082. "description": "所属账号名称(已脱敏)",
  13083. "type": "string"
  13084. },
  13085. "accountid": {
  13086. "description": "资金账号",
  13087. "type": "integer"
  13088. },
  13089. "buyorsell": {
  13090. "description": "方向 - 0:买 1:卖",
  13091. "type": "integer"
  13092. },
  13093. "enableqty": {
  13094. "description": "可摘数量",
  13095. "type": "integer"
  13096. },
  13097. "goodscode": {
  13098. "description": "商品代码",
  13099. "type": "string"
  13100. },
  13101. "goodsid": {
  13102. "description": "商品ID",
  13103. "type": "integer"
  13104. },
  13105. "goodsname": {
  13106. "description": "商品名称",
  13107. "type": "string"
  13108. },
  13109. "orderid": {
  13110. "description": "委托单号",
  13111. "type": "string"
  13112. },
  13113. "orderprice": {
  13114. "description": "委托价格",
  13115. "type": "number"
  13116. },
  13117. "ordertime": {
  13118. "description": "委托时间",
  13119. "type": "string"
  13120. },
  13121. "tradedate": {
  13122. "description": "交易日(yyyyMMdd)",
  13123. "type": "string"
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "securityDefinitions": {
  13129. "ApiKeyAuth": {
  13130. "type": "apiKey",
  13131. "name": "Authorization",
  13132. "in": "header"
  13133. }
  13134. }
  13135. }