swagger.yaml 397 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryImageConfigsRsp:
  22. properties:
  23. areauserid:
  24. description: 所属机构ID
  25. type: integer
  26. configid:
  27. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  28. type: integer
  29. createdate:
  30. description: 创建时间
  31. type: string
  32. creatorid:
  33. description: 创建人
  34. type: integer
  35. imagepath:
  36. description: 图片
  37. type: string
  38. imagetype:
  39. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  40. type: integer
  41. isshow:
  42. description: 是否展示 - 0:不展示 1:展示
  43. type: integer
  44. marketid:
  45. description: 市场ID
  46. type: integer
  47. modifierid:
  48. description: 操作人
  49. type: integer
  50. sort:
  51. description: 排序
  52. type: integer
  53. title:
  54. description: 标题
  55. type: string
  56. trademode:
  57. description: 交易模式
  58. type: integer
  59. updatedate:
  60. description: 修改时间
  61. type: string
  62. url:
  63. description: 链接(地址或商品ID)
  64. type: string
  65. urltype:
  66. description: 链接类型 - 1:直接地址 2:商品ID
  67. type: integer
  68. required:
  69. - configid
  70. type: object
  71. common.QueryNoticeRsp:
  72. properties:
  73. auditoruserid:
  74. description: 审核人
  75. type: integer
  76. auditremark:
  77. description: 审核备注
  78. type: string
  79. audittime:
  80. description: 审核日期
  81. type: string
  82. autoid:
  83. description: 自增ID
  84. type: integer
  85. content:
  86. description: 内容
  87. type: string
  88. createtime:
  89. description: 创建时间
  90. type: string
  91. creatorid:
  92. description: 建仓人
  93. type: integer
  94. endtime:
  95. description: 结束时间
  96. type: string
  97. istop:
  98. description: 是否置顶 - 0:不置顶 1:置顶
  99. type: integer
  100. msgiconurl:
  101. description: 消息图标Url
  102. type: string
  103. msgtype:
  104. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  105. type: integer
  106. publisher:
  107. description: 消息发布者
  108. type: string
  109. readed:
  110. description: 是否已读
  111. type: boolean
  112. scheduletime:
  113. description: 计划发送时间
  114. type: string
  115. sendtype:
  116. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  117. type: integer
  118. sentstatus:
  119. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  120. type: integer
  121. title:
  122. description: 标题
  123. type: string
  124. userid:
  125. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  126. type: integer
  127. required:
  128. - autoid
  129. type: object
  130. common.QueryProvincesAndCitiesRsp:
  131. properties:
  132. cities:
  133. description: 市
  134. items:
  135. $ref: '#/definitions/models.Division'
  136. type: array
  137. province:
  138. $ref: '#/definitions/models.Division'
  139. description: 省
  140. type: object
  141. type: object
  142. common.QueryTableDefineRsp:
  143. properties:
  144. columns:
  145. description: 列头信息数组
  146. items:
  147. $ref: '#/definitions/models.Tablecolumnconfig'
  148. type: array
  149. remark:
  150. description: Remark
  151. type: string
  152. tabelmenu:
  153. description: 列表菜单
  154. type: string
  155. tablekey:
  156. description: 列表Key
  157. type: string
  158. tablename:
  159. description: 列表名称
  160. type: string
  161. tabletype:
  162. description: 列表类型 - 1:管理端 2:终端
  163. type: integer
  164. required:
  165. - tablekey
  166. type: object
  167. common.QueryTraderMenuRsp:
  168. properties:
  169. OperationMenu:
  170. description: 功能菜单
  171. items:
  172. $ref: '#/definitions/models.OperationPrimaryMenu'
  173. type: array
  174. QuoteMenu:
  175. description: 报价牌分类菜单
  176. items:
  177. $ref: '#/definitions/models.QuotePrimaryMenu'
  178. type: array
  179. type: object
  180. cptrade.Cptradepositioncancel:
  181. properties:
  182. accountid:
  183. description: 申请人账户ID
  184. type: integer
  185. applystatus:
  186. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  187. type: integer
  188. applytime:
  189. description: 申请时间
  190. type: string
  191. cancelid:
  192. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  193. type: integer
  194. cancelqty:
  195. description: 注销数量
  196. type: integer
  197. createtime:
  198. description: 创建时间
  199. type: string
  200. creatorid:
  201. description: 创建人ID
  202. type: integer
  203. creatorname:
  204. description: 创建人
  205. type: string
  206. goodscode:
  207. description: 订单商品代码
  208. type: string
  209. goodsid:
  210. description: 商品ID
  211. type: integer
  212. goodsname:
  213. description: 订单商品名称
  214. type: string
  215. goodunit:
  216. description: 报价单位
  217. type: string
  218. handlestatus:
  219. description: 处理状态
  220. type: integer
  221. marketid:
  222. description: 市场ID
  223. type: integer
  224. marketname:
  225. description: 市场名称
  226. type: string
  227. tradedate:
  228. description: 交易日(yyyyMMdd)
  229. type: string
  230. userid:
  231. description: 申请人ID
  232. type: integer
  233. required:
  234. - cancelid
  235. type: object
  236. cptrade.Cptradepresaleapply:
  237. properties:
  238. accountid:
  239. description: 申请人账户ID
  240. type: integer
  241. applyid:
  242. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  243. type: integer
  244. applyremark:
  245. description: 申请备注
  246. type: string
  247. applystatus:
  248. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  249. type: integer
  250. applytime:
  251. description: 申请时间
  252. type: string
  253. attachmenturl:
  254. description: 附件地址
  255. type: string
  256. endtime:
  257. description: 预售结束时间
  258. type: string
  259. goodscode:
  260. description: 商品代码
  261. type: string
  262. goodsid:
  263. description: 商品ID
  264. type: integer
  265. goodsname:
  266. description: 商品名称
  267. type: string
  268. goodunit:
  269. description: 报价单位
  270. type: string
  271. handlestatus:
  272. description: 处理状态
  273. type: integer
  274. marketid:
  275. description: 预售市场ID
  276. type: integer
  277. marketname:
  278. description: 预售市场名称
  279. type: string
  280. presaleqty:
  281. description: 预售数量
  282. type: integer
  283. relatedgoodscode:
  284. description: 关联交易合约代码
  285. type: string
  286. relatedgoodsid:
  287. description: 关联交易合约ID
  288. type: integer
  289. relatedgoodsname:
  290. description: 关联交易合约名称
  291. type: string
  292. starttime:
  293. description: 预售开始时间
  294. type: string
  295. tradedate:
  296. description: 交易日(yyyyMMdd)
  297. type: string
  298. trademode:
  299. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  300. type: integer
  301. userid:
  302. description: 申请人ID
  303. type: integer
  304. required:
  305. - applyid
  306. type: object
  307. cptrade.Cptradeusergoodsdata:
  308. properties:
  309. EnabledQty:
  310. description: 可用量
  311. type: integer
  312. GoodsCode:
  313. description: 订单商品代码
  314. type: string
  315. GoodsName:
  316. description: 订单商品名称
  317. type: string
  318. WRStandardCode:
  319. description: 仓单标准代码
  320. type: string
  321. WRStandardName:
  322. description: 仓单标准名称
  323. type: string
  324. accountid:
  325. description: 账户ID
  326. type: integer
  327. cancelqty:
  328. description: 注销量
  329. type: integer
  330. curpresaleqty:
  331. description: 当前预售量
  332. type: integer
  333. deliveryqty:
  334. description: 交割量
  335. type: integer
  336. freezeamount:
  337. description: 冻结金额
  338. type: number
  339. goodsid:
  340. description: 商品ID
  341. type: integer
  342. goodunit:
  343. description: 报价单位
  344. type: string
  345. hasspotfreeze:
  346. description: 是否有现货冻结 - 0:否 1:有
  347. type: integer
  348. inqty:
  349. description: 转入量(总数量)
  350. type: integer
  351. marketid:
  352. description: 市场ID
  353. type: integer
  354. presaledamount:
  355. description: 已预售总金额
  356. type: integer
  357. presaledqty:
  358. description: 已预售量
  359. type: integer
  360. userid:
  361. description: 用户ID
  362. type: integer
  363. wrstandardid:
  364. description: 仓单标准ID
  365. type: integer
  366. required:
  367. - accountid
  368. - goodsid
  369. type: object
  370. cptrade.QueryCPTradeMyBidRsp:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. goodsid:
  376. description: 商品ID
  377. type: integer
  378. goodunit:
  379. description: 报价单位
  380. type: string
  381. marketid:
  382. description: 市场ID
  383. type: integer
  384. orderid:
  385. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  386. type: integer
  387. orderprice:
  388. description: 委托价格
  389. type: number
  390. orderqty:
  391. description: 委托数量
  392. type: integer
  393. ordertime:
  394. description: 委托时间
  395. type: string
  396. ordertotalprice:
  397. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  398. type: number
  399. ordertotalweight:
  400. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  401. type: integer
  402. totaltotalprice:
  403. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  404. type: number
  405. tradeprice:
  406. description: 成交价格
  407. type: number
  408. tradeqty:
  409. description: 成交数量
  410. type: integer
  411. required:
  412. - accountid
  413. - goodsid
  414. - marketid
  415. - orderid
  416. - orderqty
  417. - ordertime
  418. - tradeprice
  419. - tradeqty
  420. type: object
  421. cptrade.QueryCPTradeOrderDetailRsq:
  422. properties:
  423. accountid:
  424. description: 账户ID[报价币种]
  425. type: integer
  426. buildtype:
  427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  428. type: integer
  429. buyorsell:
  430. description: 买卖 - 0:买 1:卖
  431. type: integer
  432. cancelorderid:
  433. description: 撤单单号(撤单时填写)
  434. type: integer
  435. cancelqty:
  436. description: 撤单数量
  437. type: integer
  438. clientordertime:
  439. description: 客户端委托时间
  440. type: string
  441. clientticket:
  442. description: 客户端流水号
  443. type: string
  444. clienttype:
  445. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  446. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  447. type: integer
  448. closeexchagechargevalue:
  449. description: 平仓交易所手续费设置值
  450. type: number
  451. closefeealgorithm:
  452. description: 平仓手续费收取方式 1:比率 2:固定
  453. type: integer
  454. closefreezecharge:
  455. description: 平仓冻结手续费(先建后平操作,需要记录)
  456. type: number
  457. closememberchargevalue:
  458. description: 平仓会员手续费设置值
  459. type: number
  460. closeqty:
  461. description: 平仓数量(先建后平操作 需要记录)
  462. type: integer
  463. closetradeqty:
  464. description: 平仓成交数量(先建后平操作,需要记录)
  465. type: integer
  466. closeunfreezecharge:
  467. description: 平仓解冻手续费(先建后平操作,需要记录)
  468. type: number
  469. delistingtype:
  470. description: 摘牌类型 - 1:价格最优 2:点选成交
  471. type: integer
  472. freezecharge:
  473. description: 冻结手续费
  474. type: number
  475. freezemargin:
  476. description: 冻结保证金(冻结交易金额)
  477. type: number
  478. gcaccountid:
  479. description: 账户ID[合约币种]
  480. type: integer
  481. goodsid:
  482. description: 商品ID
  483. type: integer
  484. isconfirmexercise:
  485. description: 是否确认行权- 0:否 1:是
  486. type: integer
  487. ispreexercise:
  488. description: 是否预申报- 0:否 1:是
  489. type: integer
  490. listingselecttype:
  491. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  492. type: integer
  493. marginalgorithm:
  494. description: 保证金收取方式 1:比率 2:固定
  495. type: integer
  496. marginvalue:
  497. description: 即市保证金设置值
  498. type: number
  499. marketid:
  500. description: 市场ID
  501. type: integer
  502. marketmaxsub:
  503. description: 市价最大偏移范围
  504. type: number
  505. memberuserid:
  506. description: 所属会员UserID
  507. type: integer
  508. openexchagechargevalue:
  509. description: 建仓交易所手续费设置值
  510. type: number
  511. openfeealgorithm:
  512. description: 建仓手续费收取方式 1:比率 2:固定
  513. type: integer
  514. openfreezecharge:
  515. description: 开仓冻结手续费(先建后平操作,需要记录)
  516. type: number
  517. openmemberchargevalue:
  518. description: 建仓会员手续费设置值
  519. type: number
  520. openqty:
  521. description: 开仓数量(先建后平操作,需要记录)
  522. type: integer
  523. opentradeqty:
  524. description: 开仓成交数量(先建后平操作,需要记录)
  525. type: integer
  526. openunfreezecharge:
  527. description: 开仓解冻手续费(先建后平操作,需要记录)
  528. type: number
  529. operatetype:
  530. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  531. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  532. 15:管理端协议转让
  533. type: integer
  534. operatorid:
  535. description: 登录账号(LoginID)
  536. type: integer
  537. optiontype:
  538. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  539. type: integer
  540. orderprice:
  541. description: 委托价格
  542. type: number
  543. orderqty:
  544. description: 委托数量
  545. type: integer
  546. ordersrc:
  547. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  548. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  549. type: integer
  550. orderstatus:
  551. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  552. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  553. 16:成交失败违约(荷兰式竞拍专用)
  554. type: integer
  555. ordertime:
  556. description: 委托时间
  557. type: string
  558. preexerciseprice:
  559. description: 预申报价格
  560. type: number
  561. premium:
  562. description: 权利金
  563. type: number
  564. preorderid:
  565. description: 关联预埋单号(止盈止损单时填写)
  566. type: integer
  567. pricemode:
  568. description: '取价方式 - 1:市价 2: 限价'
  569. type: integer
  570. quoteid:
  571. description: 报价单ID
  572. type: integer
  573. relatedid:
  574. description: 关联单号(交割单)
  575. type: integer
  576. retcode:
  577. description: 错误代码
  578. type: integer
  579. sessionid:
  580. description: 会话ID
  581. type: integer
  582. strorderid:
  583. description: 委托单号
  584. type: string
  585. tradedate:
  586. description: 交易日(yyyyMMdd)
  587. type: string
  588. tradeproperty:
  589. description: 交易属性
  590. type: integer
  591. tradeqty:
  592. description: 成交数量
  593. type: integer
  594. unfreezecharge:
  595. description: 解冻手续费
  596. type: number
  597. unfreezemargin:
  598. description: 解冻保证金
  599. type: number
  600. updatetime:
  601. description: 更新时间
  602. type: string
  603. uuid:
  604. description: 发起端唯一id
  605. type: string
  606. validtime:
  607. description: 有效期限
  608. type: string
  609. validtype:
  610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  611. type: integer
  612. volumetype:
  613. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  614. type: integer
  615. required:
  616. - accountid
  617. - buildtype
  618. - buyorsell
  619. - goodsid
  620. - marketid
  621. - memberuserid
  622. - operatetype
  623. - orderqty
  624. - ordertime
  625. - pricemode
  626. - strorderid
  627. - tradedate
  628. - validtype
  629. type: object
  630. cptrade.QueryMyCPTradeGoodsRsp:
  631. properties:
  632. accountid:
  633. description: 卖方账户ID
  634. type: integer
  635. agreeunit:
  636. description: 合约单位
  637. type: number
  638. applyid:
  639. description: 关联申请ID
  640. type: integer
  641. attachmenturl:
  642. description: 附件地址
  643. type: string
  644. createtime:
  645. description: 创建时间
  646. type: string
  647. currencyid:
  648. description: 报价货币ID
  649. type: integer
  650. decimalplace:
  651. description: 报价小数位
  652. type: integer
  653. endtime:
  654. description: 预售结束时间
  655. type: string
  656. floorprice:
  657. description: 底价[大宗式竞拍]
  658. type: number
  659. goodscode:
  660. description: 商品代码(预售)
  661. type: string
  662. goodsdetail:
  663. description: 详情[大宗]
  664. type: string
  665. goodsid:
  666. description: 商品ID(自增ID SEQ_GOODS)
  667. type: integer
  668. goodsname:
  669. description: 商品名称(预售)
  670. type: string
  671. goodunit:
  672. description: 报价单位
  673. type: string
  674. goodunitid:
  675. description: 报价单位ID
  676. type: integer
  677. marketid:
  678. description: 所属市场ID
  679. type: integer
  680. marketname:
  681. description: 预售市场名称
  682. type: string
  683. presaledamount:
  684. description: 已预售总金额(预售结束时更新)
  685. type: number
  686. presaledqty:
  687. description: 已预售量(预售结束时更新)
  688. type: integer
  689. presalemode:
  690. description: 预售模式 - 1:一口价 2:大宗式竞拍
  691. type: integer
  692. presaleqty:
  693. description: 预售数量
  694. type: integer
  695. refprice:
  696. description: 参考价格[一口价]
  697. type: number
  698. relatedgoodscode:
  699. description: 商品代码(订单)
  700. type: string
  701. relatedgoodsid:
  702. description: 关联交易合约ID
  703. type: integer
  704. relatedgoodsname:
  705. description: 商品名称(订单)
  706. type: string
  707. relatedmarketid:
  708. description: 关联交易合约市场ID
  709. type: integer
  710. sellstatus:
  711. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  712. type: integer
  713. startprice:
  714. description: 起拍价[大宗式竞拍]
  715. type: number
  716. starttime:
  717. description: 预售开始时间
  718. type: string
  719. tradedate:
  720. description: 交易日(yyyyMMdd)
  721. type: string
  722. tradeprice:
  723. description: 成交价[大宗]
  724. type: number
  725. userid:
  726. description: 卖方用户ID
  727. type: integer
  728. required:
  729. - goodscode
  730. - goodsid
  731. - goodsname
  732. - marketid
  733. - relatedgoodscode
  734. - relatedgoodsname
  735. type: object
  736. cptrade.QueryPresaleGoodsExRsp:
  737. properties:
  738. attachmenturl:
  739. description: 附件地址
  740. type: string
  741. createtime:
  742. description: 创建时间
  743. type: string
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodsdetail:
  751. description: 详情[大宗]
  752. type: string
  753. goodsid:
  754. description: 商品ID(预售)
  755. type: integer
  756. goodunit:
  757. description: 报价单位
  758. type: string
  759. marketid:
  760. description: 预售市场ID - 根据预售模式选择市场
  761. type: integer
  762. presaledamount:
  763. description: 已预售总金额(预售结束时更新)
  764. type: number
  765. presaledqty:
  766. description: 已预售量(预售结束时更新)
  767. type: integer
  768. presalemode:
  769. description: 预售模式 - 1:一口价 2:大宗式竞拍
  770. type: integer
  771. presaleqty:
  772. description: 预售数量
  773. type: integer
  774. refprice:
  775. description: 参考价格[一口价]
  776. type: number
  777. relatedgoodsid:
  778. description: 关联交易合约ID
  779. type: integer
  780. relatedmarketid:
  781. description: 关联交易合约市场ID
  782. type: integer
  783. sellstatus:
  784. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  785. type: integer
  786. startprice:
  787. description: 起拍价[大宗式竞拍]
  788. type: number
  789. starttime:
  790. description: 预售开始时间
  791. type: string
  792. tradedate:
  793. description: 交易日(yyyyMMdd)
  794. type: string
  795. tradeprice:
  796. description: 成交价[大宗]
  797. type: number
  798. required:
  799. - goodsid
  800. type: object
  801. delivery.QueryDeliveryRelationRsp:
  802. properties:
  803. begindate:
  804. description: 起始日期(yyyyMMdd)
  805. type: string
  806. buytemplateid:
  807. description: 买履约计划模板ID
  808. type: integer
  809. deliverygoodscode:
  810. description: 品种代码
  811. type: string
  812. deliverygoodsid:
  813. description: 交割商品
  814. type: integer
  815. deliverygoodsname:
  816. description: 品种名称
  817. type: string
  818. deliverymode:
  819. description: 交割方式 - 1:点选式 2:申报式
  820. type: integer
  821. deliverypricerule:
  822. description: 交割价规则- 1:行情价 2:建仓价
  823. type: integer
  824. deliverytype:
  825. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  826. type: integer
  827. enddate:
  828. description: 结束日期(yyyyMMdd)
  829. type: string
  830. goodscode:
  831. description: 商品代码
  832. type: string
  833. goodsid:
  834. description: 交易合约ID
  835. type: integer
  836. goodsname:
  837. description: 商品名称
  838. type: string
  839. marketid:
  840. description: 市场ID
  841. type: integer
  842. mindeliveryqty:
  843. description: 最小交割系数(K)
  844. type: integer
  845. p2deliveryprice:
  846. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  847. type: number
  848. p2deliveryratio:
  849. description: P2合约系数(p)
  850. type: integer
  851. p2goodsid:
  852. description: P2合约ID
  853. type: integer
  854. p2pricemode:
  855. description: P2合约价格方式 - 1:商品价 2:固定值
  856. type: integer
  857. pdeliveryprice:
  858. description: P合约价格(商品价时填写0,固定值时填写固定值)
  859. type: number
  860. pdeliveryratio:
  861. description: P合约系数(n)
  862. type: integer
  863. pgoodsid:
  864. description: P合约ID
  865. type: integer
  866. ppricemode:
  867. description: P合约价格方式 - 1:商品价 2:固定值
  868. type: integer
  869. rratio:
  870. description: 兑换系数(R)
  871. type: integer
  872. rratio1:
  873. description: 兑换系数(交易合约)(R1)
  874. type: integer
  875. rratio2:
  876. description: 兑换系数(仓单标准)(R2)
  877. type: integer
  878. selltemplateid:
  879. description: 卖履约计划模板ID
  880. type: integer
  881. wrstandardid:
  882. description: 仓单标准ID
  883. type: integer
  884. xdeliveryratio:
  885. description: 交易合约系数(m)
  886. type: integer
  887. required:
  888. - begindate
  889. - enddate
  890. - goodsid
  891. - mindeliveryqty
  892. - xdeliveryratio
  893. type: object
  894. ermcp.ExposureDetailRsp:
  895. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  896. ermcp.ExposureHedgePosDetailRsp:
  897. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  898. ermcp.ExposureHedgePositionRsp:
  899. $ref: '#/definitions/models.ErmcpHedgePosition'
  900. ermcp.ExposureSpotDetailRsp:
  901. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  902. ermcp.ExposureSpotRsp:
  903. $ref: '#/definitions/models.AreaSpotModel'
  904. ermcp.HisExposureRsp:
  905. $ref: '#/definitions/models.ErmcpHisExposureS'
  906. ermcp.PendingAuditCntRsp:
  907. $ref: '#/definitions/models.ErmcpPendingAudit'
  908. ermcp.QryAreaStockApplyRsp:
  909. $ref: '#/definitions/models.ErmcpAreaStockApply'
  910. ermcp.QryAvalidGPRsp:
  911. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  912. ermcp.QryBusinessDjRsp:
  913. properties:
  914. amount:
  915. description: 点价金额=(点价价格+升贴水)*点价数量
  916. type: number
  917. applyid:
  918. description: 申请人
  919. type: string
  920. applyname:
  921. description: 申请人名称
  922. type: string
  923. applystatus:
  924. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  925. type: integer
  926. applytime:
  927. description: 申请时间
  928. type: string
  929. attachurl:
  930. description: 附件
  931. type: string
  932. auditid:
  933. description: 审核人ID
  934. type: string
  935. auditname:
  936. description: 审核人名称
  937. type: string
  938. audittime:
  939. description: 审核时间
  940. type: string
  941. buyusername:
  942. description: 采购方名称
  943. type: string
  944. contractno:
  945. description: 合同编号
  946. type: string
  947. contractstatus:
  948. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  949. type: integer
  950. contracttype:
  951. description: 现货合同类型 - 1:采购 -1:销售
  952. type: integer
  953. enumdicname:
  954. description: 单位名称
  955. type: string
  956. goodscode:
  957. description: 点价合约
  958. type: string
  959. goodsname:
  960. description: 商品名称
  961. type: string
  962. operateapplyid:
  963. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  964. type: string
  965. operateapplytype:
  966. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  967. type: integer
  968. pricedPrice:
  969. description: 点价价格(非必填)
  970. type: number
  971. pricedQty:
  972. description: 点价数量(非必填)
  973. type: number
  974. pricemove:
  975. description: 升贴水
  976. type: number
  977. pricetype:
  978. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  979. type: integer
  980. relatedid:
  981. description: 现货合同ID
  982. type: string
  983. sellusername:
  984. description: 销售方名字
  985. type: string
  986. userid:
  987. description: 用户ID
  988. type: integer
  989. wrstandardcode:
  990. description: 现货商品代码
  991. type: string
  992. wrstandardid:
  993. description: 现货商品id
  994. type: integer
  995. wrstandardname:
  996. description: 现货商品名称
  997. type: string
  998. type: object
  999. ermcp.QryBussinessFpRsp:
  1000. properties:
  1001. applyid:
  1002. description: 申请人
  1003. type: string
  1004. applyname:
  1005. description: 申请人名称
  1006. type: string
  1007. applystatus:
  1008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1009. type: integer
  1010. applytime:
  1011. description: 申请时间
  1012. type: string
  1013. attachurl:
  1014. description: 附件
  1015. type: string
  1016. auditid:
  1017. description: 审核人ID
  1018. type: string
  1019. auditname:
  1020. description: 审核人名称
  1021. type: string
  1022. audittime:
  1023. description: 审核时间
  1024. type: string
  1025. buyusername:
  1026. description: 采购方名称
  1027. type: string
  1028. contractno:
  1029. description: 合同编号
  1030. type: string
  1031. contractstatus:
  1032. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1033. type: integer
  1034. contracttype:
  1035. description: 现货合同类型 - 1:采购 -1:销售
  1036. type: integer
  1037. enumdicname:
  1038. description: 单位名称
  1039. type: string
  1040. goodscode:
  1041. description: 点价合约
  1042. type: string
  1043. goodsname:
  1044. description: 商品名称
  1045. type: string
  1046. invoiceAmount:
  1047. description: 已开收票金额(销售为开票,采购为收票)
  1048. type: number
  1049. operateapplyid:
  1050. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1051. type: string
  1052. operateapplytype:
  1053. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1054. type: integer
  1055. pricemove:
  1056. description: 升贴水
  1057. type: number
  1058. pricetype:
  1059. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1060. type: integer
  1061. relatedid:
  1062. description: 现货合同ID
  1063. type: string
  1064. sellusername:
  1065. description: 销售方名字
  1066. type: string
  1067. userid:
  1068. description: 用户ID
  1069. type: integer
  1070. wrstandardcode:
  1071. description: 现货商品代码
  1072. type: string
  1073. wrstandardid:
  1074. description: 现货商品id
  1075. type: integer
  1076. wrstandardname:
  1077. description: 现货商品名称
  1078. type: string
  1079. type: object
  1080. ermcp.QryBussinessJsExRsp:
  1081. properties:
  1082. applyid:
  1083. description: 申请人
  1084. type: string
  1085. applyname:
  1086. description: 申请人名称
  1087. type: string
  1088. applystatus:
  1089. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1090. type: integer
  1091. applytime:
  1092. description: 申请时间
  1093. type: string
  1094. attachurl:
  1095. description: 附件
  1096. type: string
  1097. auditid:
  1098. description: 审核人ID
  1099. type: string
  1100. auditname:
  1101. description: 审核人名称
  1102. type: string
  1103. audittime:
  1104. description: 审核时间
  1105. type: string
  1106. buyusername:
  1107. description: 采购方名称
  1108. type: string
  1109. contractno:
  1110. description: 合同编号
  1111. type: string
  1112. contractstatus:
  1113. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1114. type: integer
  1115. contracttype:
  1116. description: 现货合同类型 - 1:采购 -1:销售
  1117. type: integer
  1118. enumdicname:
  1119. description: 单位名称
  1120. type: string
  1121. goodscode:
  1122. description: 点价合约
  1123. type: string
  1124. goodsname:
  1125. description: 商品名称
  1126. type: string
  1127. operateapplyid:
  1128. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1129. type: string
  1130. operateapplytype:
  1131. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1132. type: integer
  1133. pricemove:
  1134. description: 升贴水
  1135. type: number
  1136. pricetype:
  1137. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1138. type: integer
  1139. reckontype:
  1140. description: 结算类型
  1141. type: string
  1142. reckonvalue:
  1143. description: 值
  1144. type: number
  1145. relatedid:
  1146. description: 现货合同ID
  1147. type: string
  1148. sellusername:
  1149. description: 销售方名字
  1150. type: string
  1151. userid:
  1152. description: 用户ID
  1153. type: integer
  1154. wrstandardcode:
  1155. description: 现货商品代码
  1156. type: string
  1157. wrstandardid:
  1158. description: 现货商品id
  1159. type: integer
  1160. wrstandardname:
  1161. description: 现货商品名称
  1162. type: string
  1163. type: object
  1164. ermcp.QryBussinessJsRsp:
  1165. properties:
  1166. addmargin:
  1167. description: 追加保证金(非必填)
  1168. type: number
  1169. applyid:
  1170. description: 申请人
  1171. type: string
  1172. applyname:
  1173. description: 申请人名称
  1174. type: string
  1175. applystatus:
  1176. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1177. type: integer
  1178. applytime:
  1179. description: 申请时间
  1180. type: string
  1181. attachurl:
  1182. description: 附件
  1183. type: string
  1184. auditid:
  1185. description: 审核人ID
  1186. type: string
  1187. auditname:
  1188. description: 审核人名称
  1189. type: string
  1190. audittime:
  1191. description: 审核时间
  1192. type: string
  1193. buyusername:
  1194. description: 采购方名称
  1195. type: string
  1196. contractno:
  1197. description: 合同编号
  1198. type: string
  1199. contractstatus:
  1200. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1201. type: integer
  1202. contracttype:
  1203. description: 现货合同类型 - 1:采购 -1:销售
  1204. type: integer
  1205. decmargin:
  1206. description: 减少保证金(非必填)
  1207. type: number
  1208. enumdicname:
  1209. description: 单位名称
  1210. type: string
  1211. goodscode:
  1212. description: 点价合约
  1213. type: string
  1214. goodsname:
  1215. description: 商品名称
  1216. type: string
  1217. operateapplyid:
  1218. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1219. type: string
  1220. operateapplytype:
  1221. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1222. type: integer
  1223. pricemove:
  1224. description: 升贴水
  1225. type: number
  1226. pricetype:
  1227. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1228. type: integer
  1229. reckonadjustamount:
  1230. description: 结算调整金额(非必填)
  1231. type: number
  1232. reckonosamount:
  1233. description: 结算溢短金额(非必填)
  1234. type: number
  1235. reckonotheramount:
  1236. description: 结算其他费用(非必填)
  1237. type: number
  1238. reckonrealqty:
  1239. description: 结算实际数量(非必填)
  1240. type: number
  1241. relatedid:
  1242. description: 现货合同ID
  1243. type: string
  1244. sellusername:
  1245. description: 销售方名字
  1246. type: string
  1247. userid:
  1248. description: 用户ID
  1249. type: integer
  1250. wrstandardcode:
  1251. description: 现货商品代码
  1252. type: string
  1253. wrstandardid:
  1254. description: 现货商品id
  1255. type: integer
  1256. wrstandardname:
  1257. description: 现货商品名称
  1258. type: string
  1259. type: object
  1260. ermcp.QryBussinessKxRsp:
  1261. properties:
  1262. applyid:
  1263. description: 申请人
  1264. type: string
  1265. applyname:
  1266. description: 申请人名称
  1267. type: string
  1268. applystatus:
  1269. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1270. type: integer
  1271. applytime:
  1272. description: 申请时间
  1273. type: string
  1274. attachurl:
  1275. description: 附件
  1276. type: string
  1277. auditid:
  1278. description: 审核人ID
  1279. type: string
  1280. auditname:
  1281. description: 审核人名称
  1282. type: string
  1283. audittime:
  1284. description: 审核时间
  1285. type: string
  1286. buyusername:
  1287. description: 采购方名称
  1288. type: string
  1289. contractno:
  1290. description: 合同编号
  1291. type: string
  1292. contractstatus:
  1293. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1294. type: integer
  1295. contracttype:
  1296. description: 现货合同类型 - 1:采购 -1:销售
  1297. type: integer
  1298. deductamount:
  1299. description: 退款(非必填)
  1300. type: number
  1301. enumdicname:
  1302. description: 单位名称
  1303. type: string
  1304. goodscode:
  1305. description: 点价合约
  1306. type: string
  1307. goodsname:
  1308. description: 商品名称
  1309. type: string
  1310. kxtype:
  1311. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1312. type: integer
  1313. operateapplyid:
  1314. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1315. type: string
  1316. operateapplytype:
  1317. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1318. type: integer
  1319. payamount:
  1320. description: 收付款(非必填)
  1321. type: number
  1322. pricemove:
  1323. description: 升贴水
  1324. type: number
  1325. pricetype:
  1326. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1327. type: integer
  1328. relatedid:
  1329. description: 现货合同ID
  1330. type: string
  1331. sellusername:
  1332. description: 销售方名字
  1333. type: string
  1334. userid:
  1335. description: 用户ID
  1336. type: integer
  1337. wrstandardcode:
  1338. description: 现货商品代码
  1339. type: string
  1340. wrstandardid:
  1341. description: 现货商品id
  1342. type: integer
  1343. wrstandardname:
  1344. description: 现货商品名称
  1345. type: string
  1346. type: object
  1347. ermcp.QryErmcpRsp:
  1348. $ref: '#/definitions/models.ErmcpModel'
  1349. ermcp.QryGGCovertCfgRsp:
  1350. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1351. ermcp.QryHedgePlanRsp:
  1352. $ref: '#/definitions/models.ErmcpHedgePlan'
  1353. ermcp.QryMGChangeLogRsp:
  1354. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1355. ermcp.QryMiddleGoodsDetailRsp:
  1356. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1357. ermcp.QryMiddleGoodsRsp:
  1358. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1359. ermcp.QryOPLogRsp:
  1360. $ref: '#/definitions/models.ErmcpOPLogModel'
  1361. ermcp.QryReportDaySpotDetailRsp:
  1362. $ref: '#/definitions/models.ErmcpReportOPLog'
  1363. ermcp.QryReportExposureDayRsp:
  1364. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1365. ermcp.QryReportFinanceDayRsp:
  1366. $ref: '#/definitions/models.ErmcpReportDayFR'
  1367. ermcp.QryReportFinanceKxRsp:
  1368. $ref: '#/definitions/models.ErmcpReportOPLog'
  1369. ermcp.QryReportFinanceMonRsp:
  1370. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1371. ermcp.QryReportSpotDayRsp:
  1372. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1373. ermcp.QryReportSpotMonRsp:
  1374. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1375. ermcp.QryReportSpotMonthDetailRsp:
  1376. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1377. ermcp.QrySpotContractRsp:
  1378. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1379. ermcp.QryUserInfoRsp:
  1380. $ref: '#/definitions/models.ErmcpUserModel'
  1381. ermcp.QryWarehouseRsp:
  1382. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1383. ermcp.QryWrStandardDetailRsp:
  1384. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1385. ermcp.QryWrStandardRsp:
  1386. $ref: '#/definitions/models.ErmcpWrstandard'
  1387. ermcp.QueryAreaStockApplySumRsp:
  1388. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1389. ermcp.QueryErmcpTradePositionRsp:
  1390. properties:
  1391. agreeunit:
  1392. description: 合约单位
  1393. type: number
  1394. buyorsell:
  1395. description: 方向 - 0:买 1:卖
  1396. type: integer
  1397. curpositionqty:
  1398. description: 持仓(总仓数量, 期末头寸)
  1399. type: integer
  1400. curtdposition:
  1401. description: 今仓数量(期末今日头寸)
  1402. type: integer
  1403. curtdpositionenabled:
  1404. description: 今仓可用
  1405. type: integer
  1406. decimalplace:
  1407. description: 报价小数位
  1408. type: integer
  1409. enableqty:
  1410. description: 可用(总仓可用)
  1411. type: integer
  1412. exexchangename:
  1413. description: 外部交易所名称
  1414. type: string
  1415. goodscode:
  1416. description: 商品代码(内部)
  1417. type: string
  1418. goodsid:
  1419. description: 商品ID(自增ID SEQ_GOODS)
  1420. type: integer
  1421. goodsname:
  1422. description: 商品名称
  1423. type: string
  1424. last:
  1425. description: 现价
  1426. type: number
  1427. marketid:
  1428. description: 所属市场ID
  1429. type: integer
  1430. openaverageprice:
  1431. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1432. type: number
  1433. opencost:
  1434. description: 开仓成本
  1435. type: number
  1436. openpl:
  1437. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1438. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1439. type: number
  1440. outgoodscode:
  1441. description: 商品代码(外部)
  1442. type: string
  1443. positionaverageprice:
  1444. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1445. type: number
  1446. positioncost:
  1447. description: 持仓成本
  1448. type: number
  1449. positionpl:
  1450. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1451. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1452. type: number
  1453. positionplrate:
  1454. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1455. type: number
  1456. usedmargin:
  1457. description: 占用保证金
  1458. type: number
  1459. type: object
  1460. ermcp.RealtimeExposurePositionRsp:
  1461. $ref: '#/definitions/models.ErmcpExposurePostion'
  1462. ermcp.RealtimeExposureRsp:
  1463. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1464. erms2.QueryArbitrageStrategyRsp:
  1465. properties:
  1466. applybasis:
  1467. description: 申请基差
  1468. type: number
  1469. asapplyid:
  1470. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1471. type: string
  1472. asname:
  1473. description: 策略名称
  1474. type: string
  1475. asno:
  1476. description: 策略编号
  1477. type: string
  1478. basischangepl:
  1479. description: 基差变动损益[结算更新]
  1480. type: number
  1481. biztype:
  1482. description: 业务类型 - 1:正向套利 -1:反向套利
  1483. type: integer
  1484. closetradedate:
  1485. description: 完结交易日(yyyyMMdd)
  1486. type: string
  1487. curbasis:
  1488. description: 当前基差[结算更新]
  1489. type: number
  1490. deliverygoodsid:
  1491. description: 现货品种ID
  1492. type: integer
  1493. futureavgprice:
  1494. description: 期货建仓均价
  1495. type: number
  1496. futurecloseamount:
  1497. description: 期货平仓金额
  1498. type: number
  1499. futurecloseqty:
  1500. description: 期货平仓数量
  1501. type: number
  1502. futureopenamount:
  1503. description: 期货开仓金额
  1504. type: number
  1505. futureopenqty:
  1506. description: 期货开仓数量
  1507. type: number
  1508. futurepl:
  1509. description: 期货总盈亏[结算更新]
  1510. type: number
  1511. futureqty:
  1512. description: 期货持仓数量
  1513. type: number
  1514. futurequote:
  1515. description: 期货额度
  1516. type: number
  1517. goodsgroupid:
  1518. description: 期货品种ID
  1519. type: integer
  1520. marketid:
  1521. description: 市场ID
  1522. type: integer
  1523. netexposure:
  1524. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1525. type: number
  1526. netexposurepl:
  1527. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1528. type: number
  1529. netexposurerate:
  1530. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1531. type: number
  1532. openbasis:
  1533. description: 建仓基差
  1534. type: number
  1535. pricedspotqty:
  1536. description: 已定价现货数量
  1537. type: number
  1538. pricedspotqtynotax:
  1539. description: 已定价现货不含税数量
  1540. type: number
  1541. remark:
  1542. description: 备注
  1543. type: string
  1544. spotavgprice:
  1545. description: 现货均价
  1546. type: number
  1547. spotbuyamount:
  1548. description: 现货采购金额
  1549. type: number
  1550. spotbuyqty:
  1551. description: 现货采购数量
  1552. type: number
  1553. spotpl:
  1554. description: 现货总盈亏[结算更新]
  1555. type: number
  1556. spotquota:
  1557. description: 现货额度
  1558. type: number
  1559. spotsellamount:
  1560. description: 现货销售金额
  1561. type: number
  1562. spotsellqty:
  1563. description: 现货销售数量
  1564. type: number
  1565. spotusedquota:
  1566. description: 现货占用资金
  1567. type: number
  1568. strategystatus:
  1569. description: 策略状态 - 0:未结束 1:已结束
  1570. type: integer
  1571. totalpl:
  1572. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1573. type: number
  1574. tradedate:
  1575. description: 交易日(yyyyMMdd)
  1576. type: string
  1577. updatetime:
  1578. description: 更新时间
  1579. type: string
  1580. usedquota:
  1581. description: 已占用资金
  1582. type: number
  1583. userid:
  1584. description: 所属机构
  1585. type: integer
  1586. required:
  1587. - asapplyid
  1588. type: object
  1589. erms2.QueryInnerTradeDetailRsp:
  1590. properties:
  1591. accountid:
  1592. description: 账号ID
  1593. type: integer
  1594. agreeunit:
  1595. description: 合约单位
  1596. type: number
  1597. asapplyid:
  1598. description: 策略申请ID
  1599. type: integer
  1600. asname:
  1601. description: 策略名称
  1602. type: string
  1603. asno:
  1604. description: 策略编号
  1605. type: string
  1606. buyorsell:
  1607. description: 方向 - 0:买 1:卖
  1608. type: integer
  1609. channelbuildtype:
  1610. description: 委托单据类型 0:无 1:建仓 2:平仓
  1611. type: integer
  1612. closetype:
  1613. description: 平仓方式 - 0:无 1:平今 2:平昨
  1614. type: integer
  1615. decimalplace:
  1616. description: 报价小数位
  1617. type: integer
  1618. detailtype:
  1619. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1620. type: integer
  1621. exexchangecode:
  1622. description: 外部交易所代码
  1623. type: string
  1624. exexchangename:
  1625. description: 外部交易所名称
  1626. type: string
  1627. goodscode:
  1628. description: 商品代码(合约)
  1629. type: string
  1630. goodsgroupid:
  1631. description: 商品组ID(品种ID)
  1632. type: integer
  1633. goodsgroupname:
  1634. description: 商品组名称(品种)
  1635. type: string
  1636. goodsid:
  1637. description: 商品ID
  1638. type: integer
  1639. goodsname:
  1640. description: 商品名称(合约)
  1641. type: string
  1642. goodunit:
  1643. description: 报价单位
  1644. type: string
  1645. marketid:
  1646. description: 市场ID
  1647. type: integer
  1648. orderid:
  1649. description: 委托单号
  1650. type: string
  1651. outgoodscode:
  1652. description: 商品代码(外部)
  1653. type: string
  1654. relatedouttradeid:
  1655. description: 关联外部成交单ID
  1656. type: string
  1657. remark:
  1658. description: 备注
  1659. type: string
  1660. spotcontractid:
  1661. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1662. type: integer
  1663. spotcontractno:
  1664. description: 现货合同编号
  1665. type: string
  1666. tradeid:
  1667. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1668. type: string
  1669. tradeprice:
  1670. description: 成交价格
  1671. type: number
  1672. tradeqty:
  1673. description: 成交数量
  1674. type: integer
  1675. tradetime:
  1676. description: 成交时间
  1677. type: string
  1678. updatetime:
  1679. description: 更新时间
  1680. type: string
  1681. required:
  1682. - asapplyid
  1683. - buyorsell
  1684. - goodscode
  1685. - goodsgroupid
  1686. - goodsgroupname
  1687. - goodsname
  1688. - tradeid
  1689. type: object
  1690. erms2.QuerySpotContractRsp:
  1691. properties:
  1692. accountid:
  1693. description: 资金账户ID
  1694. type: integer
  1695. areauserid:
  1696. description: 所属机构
  1697. type: integer
  1698. closedate:
  1699. description: 终止日期
  1700. type: string
  1701. closeremark:
  1702. description: 结束备注
  1703. type: string
  1704. closetradedate:
  1705. description: 完结交易日(yyyyMMdd)
  1706. type: string
  1707. closetype:
  1708. description: 终止类型 - 1:违约 2:提前终止
  1709. type: integer
  1710. contractamount:
  1711. description: 合同金额
  1712. type: number
  1713. contractattachment:
  1714. description: 合同附件
  1715. type: string
  1716. contractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. contractqty:
  1720. description: 合同数量(数值) (用于计算)
  1721. type: number
  1722. contractqtychar:
  1723. description: 合同数量\已订价数量 (用于显示)
  1724. type: string
  1725. contractstatus:
  1726. description: 合同状态 - 0:未结束 1:已结束
  1727. type: integer
  1728. contracttype:
  1729. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1730. type: integer
  1731. customeraccountid:
  1732. description: 客户资金账户ID
  1733. type: integer
  1734. customeruserid:
  1735. description: 客户ID
  1736. type: integer
  1737. deliverygoodsdesc:
  1738. description: 品种说明
  1739. type: string
  1740. deliverygoodsid:
  1741. description: 现货品种ID
  1742. type: integer
  1743. handlestatus:
  1744. description: 处理状态
  1745. type: integer
  1746. invoiceatt:
  1747. description: 发票附件
  1748. type: string
  1749. invoicedatetime:
  1750. description: 开收票更新时间
  1751. type: string
  1752. invoiceopentime:
  1753. description: 开票时间
  1754. type: string
  1755. invoiceremark:
  1756. description: 发票备注
  1757. type: string
  1758. invoicestatus:
  1759. description: 开收票状态 - 0:未开票 1:已开票
  1760. type: integer
  1761. lastdate:
  1762. description: 交货时间
  1763. type: string
  1764. marketid:
  1765. description: 市场ID
  1766. type: integer
  1767. paydatetime:
  1768. description: 收付款更新时间
  1769. type: string
  1770. payremark:
  1771. description: 收付款备注
  1772. type: string
  1773. paystatus:
  1774. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1775. type: integer
  1776. positionqty:
  1777. description: 头寸数量 - 合同数量去小数部分
  1778. type: integer
  1779. producttype:
  1780. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1781. type: integer
  1782. relatedqty:
  1783. description: 已关联数量
  1784. type: number
  1785. relatedstatus:
  1786. description: 关联完结状态 - 0:未结束 1:已结束
  1787. type: integer
  1788. remark:
  1789. description: 备注
  1790. type: string
  1791. signdate:
  1792. description: 签订日期
  1793. type: string
  1794. spotcontractid:
  1795. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1796. type: string
  1797. spotdatetime:
  1798. description: 收发货更新时间
  1799. type: string
  1800. spotprice:
  1801. description: 价格
  1802. type: number
  1803. spotremark:
  1804. description: 收发货备注
  1805. type: string
  1806. spotstatus:
  1807. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1808. type: integer
  1809. tradedate:
  1810. description: 交易日(yyyyMMdd)
  1811. type: string
  1812. userid:
  1813. description: 业务员用户ID
  1814. type: integer
  1815. warehouseid:
  1816. description: 仓库ID
  1817. type: integer
  1818. wrfactortypeid:
  1819. description: 仓单要素类型ID
  1820. type: integer
  1821. wrstandardid:
  1822. description: 仓单标准ID(SEQ_WRSTANDARD)
  1823. type: integer
  1824. required:
  1825. - spotcontractid
  1826. type: object
  1827. erms3.AddErms2ASApplyReq:
  1828. properties:
  1829. applybasis:
  1830. description: 申请基差
  1831. type: number
  1832. applystatus:
  1833. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1834. type: integer
  1835. asapplyid:
  1836. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1837. type: integer
  1838. asname:
  1839. description: 策略名称
  1840. type: string
  1841. asno:
  1842. description: 策略编号
  1843. type: string
  1844. auditid:
  1845. description: 审核人
  1846. type: integer
  1847. auditremark:
  1848. description: 审核备注
  1849. type: string
  1850. audittime:
  1851. description: 审核时间
  1852. type: string
  1853. biztype:
  1854. description: 业务类型 - 1:正向套利 2:反向套利
  1855. type: integer
  1856. createtime:
  1857. description: 创建时间
  1858. type: string
  1859. creatorid:
  1860. description: 创建人
  1861. type: integer
  1862. deliverygoodsid:
  1863. description: 现货品种ID
  1864. type: integer
  1865. futurequote:
  1866. description: 期货额度
  1867. type: number
  1868. goodsgroupid:
  1869. description: 期货品种ID
  1870. type: integer
  1871. marketid:
  1872. description: 市场ID
  1873. type: integer
  1874. remark:
  1875. description: 备注
  1876. type: string
  1877. spotquota:
  1878. description: 现货额度
  1879. type: number
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 所属机构
  1885. type: integer
  1886. required:
  1887. - asapplyid
  1888. type: object
  1889. erms3.AddErms2SpotTradeApplyReq:
  1890. properties:
  1891. applyjsondetail:
  1892. description: 申请明细(JSON)
  1893. type: string
  1894. applystatus:
  1895. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1896. type: integer
  1897. areauserid:
  1898. description: 所属机构
  1899. type: integer
  1900. auditid:
  1901. description: 审核人
  1902. type: integer
  1903. auditremark:
  1904. description: 审核备注
  1905. type: string
  1906. audittime:
  1907. description: 审核时间
  1908. type: string
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futureaccountid:
  1919. description: 期货资金账户
  1920. type: integer
  1921. goodsgroupid:
  1922. description: 期货品种
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotaccountid:
  1931. description: 现货资金账户
  1932. type: integer
  1933. spottradeid:
  1934. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1935. type: integer
  1936. spottradename:
  1937. description: 业务名称
  1938. type: string
  1939. spottradeno:
  1940. description: 业务编号
  1941. type: string
  1942. tradedate:
  1943. description: 交易日(yyyyMMdd)
  1944. type: string
  1945. wrstandardid:
  1946. description: 仓单标准ID
  1947. type: integer
  1948. required:
  1949. - spottradeid
  1950. type: object
  1951. erms3.AddSpotContractApplyReq:
  1952. properties:
  1953. accountid:
  1954. description: 资金账户ID
  1955. type: integer
  1956. areauserid:
  1957. description: 所属机构
  1958. type: integer
  1959. contractattachment:
  1960. description: 合同附件
  1961. type: string
  1962. contractno:
  1963. description: 现货合同编号
  1964. type: string
  1965. contracttype:
  1966. description: 现货合同类型 - 1:采购 -1:销售
  1967. type: integer
  1968. creatorid:
  1969. description: 申请人
  1970. type: integer
  1971. customeraccountid:
  1972. description: 客户资金账户ID
  1973. type: integer
  1974. customeruserid:
  1975. description: 客户ID
  1976. type: integer
  1977. details:
  1978. description: 明细
  1979. items:
  1980. $ref: '#/definitions/erms3.SoptContractDetail'
  1981. type: array
  1982. orimargin:
  1983. description: 初始保证金
  1984. type: number
  1985. remark:
  1986. description: 备注
  1987. type: string
  1988. signdate:
  1989. description: 签订日期
  1990. type: string
  1991. required:
  1992. - accountid
  1993. - areauserid
  1994. - contractno
  1995. - contracttype
  1996. - customeraccountid
  1997. - customeruserid
  1998. - details
  1999. - orimargin
  2000. - signdate
  2001. type: object
  2002. erms3.AddSpotContractApplyRsp:
  2003. properties:
  2004. contractno:
  2005. description: 现货合同编号
  2006. type: string
  2007. spotcontractid:
  2008. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2009. type: integer
  2010. required:
  2011. - contractno
  2012. type: object
  2013. erms3.AddUserInfoApplyReq:
  2014. properties:
  2015. accountid:
  2016. description: 交易系统帐号Id (加密存储)
  2017. type: integer
  2018. areacode:
  2019. description: 机构代码
  2020. type: string
  2021. areaid:
  2022. description: 机构Id
  2023. type: integer
  2024. attachment1:
  2025. description: 附件1
  2026. type: string
  2027. attachment2:
  2028. description: 附件2
  2029. type: string
  2030. attachment3:
  2031. description: 附件3
  2032. type: string
  2033. attachment4:
  2034. description: 附件4
  2035. type: string
  2036. attachment5:
  2037. description: 附件5
  2038. type: string
  2039. auditedby:
  2040. description: 审核人
  2041. type: string
  2042. auditime:
  2043. description: 审核时间
  2044. type: string
  2045. bankaccount:
  2046. description: 银行帐号 (加密存储)
  2047. type: string
  2048. bankaccountname:
  2049. description: 收款人名称
  2050. type: string
  2051. bankcardbackphotourl:
  2052. description: 银行卡背面照地址
  2053. type: string
  2054. bankcardfrontphotourl:
  2055. description: 银行卡正面照地址
  2056. type: string
  2057. bankid:
  2058. description: 银行编码
  2059. type: string
  2060. bankname:
  2061. description: 银行名称
  2062. type: string
  2063. bankpictureurl:
  2064. description: 银行卡正面地址
  2065. type: string
  2066. biznature:
  2067. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2068. type: integer
  2069. bizscope:
  2070. description: 企业经营范围(企业)
  2071. type: string
  2072. biztype:
  2073. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2074. type: integer
  2075. brokerid:
  2076. description: 经纪人ID(加密存储)
  2077. type: string
  2078. cardaddress:
  2079. description: 证件地址 (加密存储)
  2080. type: string
  2081. cardbackphotourl:
  2082. description: 背面证件照地址
  2083. type: string
  2084. cardfrontphotourl:
  2085. description: 正面证件照地址
  2086. type: string
  2087. cardnum:
  2088. description: 证件号码 (加密存储)
  2089. type: string
  2090. cardtype:
  2091. description: 证件类型
  2092. type: integer
  2093. cityid:
  2094. description: 市
  2095. type: integer
  2096. company:
  2097. description: 公司(个人)
  2098. type: string
  2099. contactcardbackphotourl:
  2100. description: 联系人证件背面图片地址
  2101. type: string
  2102. contactcardfrontphotourl:
  2103. description: 联系人证件正面图片地址
  2104. type: string
  2105. contactname:
  2106. description: 联系人
  2107. type: string
  2108. countryid:
  2109. description: 国家
  2110. type: integer
  2111. createtime:
  2112. description: 开户申请时间
  2113. type: string
  2114. cusbankid:
  2115. description: 签约类型
  2116. type: string
  2117. cusbankname:
  2118. description: 签约类型名称
  2119. type: string
  2120. customername:
  2121. description: 客户名称(企业名称)
  2122. type: string
  2123. districtid:
  2124. description: 地区
  2125. type: integer
  2126. email:
  2127. description: Email地址(加密存储)
  2128. type: string
  2129. halfbodyphotourl:
  2130. description: 半身照地址
  2131. type: string
  2132. headurl:
  2133. description: 头像地址
  2134. type: string
  2135. ipaddress:
  2136. description: IP地址
  2137. type: string
  2138. isvalidate:
  2139. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2140. type: string
  2141. legalcardbackphotourl:
  2142. description: 法人身份证背面照地址
  2143. type: string
  2144. legalcardfrontphotourl:
  2145. description: 法人身份证正面照地址
  2146. type: string
  2147. legalpersonname:
  2148. description: 法人姓名(企业)
  2149. type: string
  2150. logincode:
  2151. description: 登录帐号 (加密存储)
  2152. type: string
  2153. memberareaid:
  2154. description: 所属会员ID
  2155. type: integer
  2156. mobile2:
  2157. description: 手机号码[明文-尚志]
  2158. type: string
  2159. mobilephone:
  2160. description: 手机号码 (加密存储)
  2161. type: string
  2162. modifiedby:
  2163. description: 修改人帐号
  2164. type: integer
  2165. modifiedtime:
  2166. description: 修改时间
  2167. type: string
  2168. nickname:
  2169. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2170. type: string
  2171. openmode:
  2172. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2173. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2174. type: integer
  2175. otherurl:
  2176. description: 其它图片地址[使用分号分隔]
  2177. type: string
  2178. postalcode:
  2179. description: 邮政编码
  2180. type: string
  2181. provinceid:
  2182. description: 省
  2183. type: integer
  2184. proxystatementurl:
  2185. description: 授权委托书
  2186. type: string
  2187. qq:
  2188. description: QQ(加密存储
  2189. type: string
  2190. referral:
  2191. description: 推荐人编码
  2192. type: string
  2193. remark:
  2194. description: 备注
  2195. type: string
  2196. removebeforestatus:
  2197. description: REMOVEBEFORESTATUS
  2198. type: integer
  2199. sex:
  2200. description: 性别 - 0:女 1:男
  2201. type: integer
  2202. signedstatus:
  2203. description: 账户一号签签约状态
  2204. type: integer
  2205. signpdfurl:
  2206. description: 签约pdf文件
  2207. type: string
  2208. subbranch:
  2209. description: 开户支行
  2210. type: string
  2211. telphone:
  2212. description: 联系电话(加密存储)
  2213. type: string
  2214. userid:
  2215. description: 用户ID(自增ID)
  2216. type: integer
  2217. userinfotype:
  2218. description: 用户信息类型 - 1:个人 2:企业
  2219. type: integer
  2220. username:
  2221. description: 用户姓名
  2222. type: string
  2223. userstate:
  2224. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2225. type: integer
  2226. usertype:
  2227. description: 用户类型 - 1:投资者 2:机构
  2228. type: integer
  2229. videourl:
  2230. description: 视频地址
  2231. type: string
  2232. wechat:
  2233. description: 微信号 (加密存储)
  2234. type: string
  2235. required:
  2236. - userid
  2237. type: object
  2238. erms3.CustomerInfo:
  2239. properties:
  2240. accountids:
  2241. description: 资金账户ID列表
  2242. items:
  2243. type: integer
  2244. type: array
  2245. customername:
  2246. description: 名称(企业名称)
  2247. type: string
  2248. mobile:
  2249. description: 手机号码
  2250. type: string
  2251. userid:
  2252. description: 用户ID
  2253. type: integer
  2254. required:
  2255. - userid
  2256. type: object
  2257. erms3.ModifyUserInfoApplyReq:
  2258. properties:
  2259. accountid:
  2260. description: 交易系统帐号Id (加密存储)
  2261. type: integer
  2262. areacode:
  2263. description: 机构代码
  2264. type: string
  2265. areaid:
  2266. description: 机构Id
  2267. type: integer
  2268. attachment1:
  2269. description: 附件1
  2270. type: string
  2271. attachment2:
  2272. description: 附件2
  2273. type: string
  2274. attachment3:
  2275. description: 附件3
  2276. type: string
  2277. attachment4:
  2278. description: 附件4
  2279. type: string
  2280. attachment5:
  2281. description: 附件5
  2282. type: string
  2283. auditedby:
  2284. description: 审核人
  2285. type: string
  2286. auditime:
  2287. description: 审核时间
  2288. type: string
  2289. bankaccount:
  2290. description: 银行帐号 (加密存储)
  2291. type: string
  2292. bankaccountname:
  2293. description: 收款人名称
  2294. type: string
  2295. bankcardbackphotourl:
  2296. description: 银行卡背面照地址
  2297. type: string
  2298. bankcardfrontphotourl:
  2299. description: 银行卡正面照地址
  2300. type: string
  2301. bankid:
  2302. description: 银行编码
  2303. type: string
  2304. bankname:
  2305. description: 银行名称
  2306. type: string
  2307. bankpictureurl:
  2308. description: 银行卡正面地址
  2309. type: string
  2310. biznature:
  2311. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2312. type: integer
  2313. bizscope:
  2314. description: 企业经营范围(企业)
  2315. type: string
  2316. biztype:
  2317. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2318. type: integer
  2319. brokerid:
  2320. description: 经纪人ID(加密存储)
  2321. type: string
  2322. cardaddress:
  2323. description: 证件地址 (加密存储)
  2324. type: string
  2325. cardbackphotourl:
  2326. description: 背面证件照地址
  2327. type: string
  2328. cardfrontphotourl:
  2329. description: 正面证件照地址
  2330. type: string
  2331. cardnum:
  2332. description: 证件号码 (加密存储)
  2333. type: string
  2334. cardtype:
  2335. description: 证件类型
  2336. type: integer
  2337. cityid:
  2338. description: 市
  2339. type: integer
  2340. company:
  2341. description: 公司(个人)
  2342. type: string
  2343. contactcardbackphotourl:
  2344. description: 联系人证件背面图片地址
  2345. type: string
  2346. contactcardfrontphotourl:
  2347. description: 联系人证件正面图片地址
  2348. type: string
  2349. contactname:
  2350. description: 联系人
  2351. type: string
  2352. countryid:
  2353. description: 国家
  2354. type: integer
  2355. createtime:
  2356. description: 开户申请时间
  2357. type: string
  2358. cusbankid:
  2359. description: 签约类型
  2360. type: string
  2361. cusbankname:
  2362. description: 签约类型名称
  2363. type: string
  2364. customername:
  2365. description: 客户名称(企业名称)
  2366. type: string
  2367. districtid:
  2368. description: 地区
  2369. type: integer
  2370. email:
  2371. description: Email地址(加密存储)
  2372. type: string
  2373. halfbodyphotourl:
  2374. description: 半身照地址
  2375. type: string
  2376. headurl:
  2377. description: 头像地址
  2378. type: string
  2379. ipaddress:
  2380. description: IP地址
  2381. type: string
  2382. isvalidate:
  2383. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2384. type: string
  2385. legalcardbackphotourl:
  2386. description: 法人身份证背面照地址
  2387. type: string
  2388. legalcardfrontphotourl:
  2389. description: 法人身份证正面照地址
  2390. type: string
  2391. legalpersonname:
  2392. description: 法人姓名(企业)
  2393. type: string
  2394. logincode:
  2395. description: 登录帐号 (加密存储)
  2396. type: string
  2397. memberareaid:
  2398. description: 所属会员ID
  2399. type: integer
  2400. mobile2:
  2401. description: 手机号码[明文-尚志]
  2402. type: string
  2403. mobilephone:
  2404. description: 手机号码 (加密存储)
  2405. type: string
  2406. modifiedby:
  2407. description: 修改人帐号
  2408. type: integer
  2409. modifiedtime:
  2410. description: 修改时间
  2411. type: string
  2412. nickname:
  2413. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2414. type: string
  2415. openmode:
  2416. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2417. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2418. type: integer
  2419. otherurl:
  2420. description: 其它图片地址[使用分号分隔]
  2421. type: string
  2422. postalcode:
  2423. description: 邮政编码
  2424. type: string
  2425. provinceid:
  2426. description: 省
  2427. type: integer
  2428. proxystatementurl:
  2429. description: 授权委托书
  2430. type: string
  2431. qq:
  2432. description: QQ(加密存储
  2433. type: string
  2434. referral:
  2435. description: 推荐人编码
  2436. type: string
  2437. remark:
  2438. description: 备注
  2439. type: string
  2440. removebeforestatus:
  2441. description: REMOVEBEFORESTATUS
  2442. type: integer
  2443. sex:
  2444. description: 性别 - 0:女 1:男
  2445. type: integer
  2446. signedstatus:
  2447. description: 账户一号签签约状态
  2448. type: integer
  2449. signpdfurl:
  2450. description: 签约pdf文件
  2451. type: string
  2452. subbranch:
  2453. description: 开户支行
  2454. type: string
  2455. telphone:
  2456. description: 联系电话(加密存储)
  2457. type: string
  2458. userid:
  2459. description: 用户ID(自增ID)
  2460. type: integer
  2461. userinfotype:
  2462. description: 用户信息类型 - 1:个人 2:企业
  2463. type: integer
  2464. username:
  2465. description: 用户姓名
  2466. type: string
  2467. userstate:
  2468. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2469. type: integer
  2470. usertype:
  2471. description: 用户类型 - 1:投资者 2:机构
  2472. type: integer
  2473. videourl:
  2474. description: 视频地址
  2475. type: string
  2476. wechat:
  2477. description: 微信号 (加密存储)
  2478. type: string
  2479. required:
  2480. - userid
  2481. type: object
  2482. erms3.QryAuditContractRsp:
  2483. properties:
  2484. accountid:
  2485. description: 交易员ID
  2486. type: string
  2487. applystatus:
  2488. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2489. type: integer
  2490. curdeliveryqty:
  2491. description: 未交收量
  2492. type: integer
  2493. customername:
  2494. description: 采购方ID
  2495. type: string
  2496. deliverygoodsid:
  2497. description: 品种ID
  2498. type: string
  2499. deliveryqty:
  2500. description: 交收量
  2501. type: integer
  2502. enumdicname:
  2503. description: 单位名称
  2504. type: string
  2505. matchaccountid:
  2506. description: 业务员ID
  2507. type: string
  2508. matchcustomername:
  2509. description: 销售方ID
  2510. type: string
  2511. pricedqty:
  2512. description: 定价量
  2513. type: number
  2514. signdate:
  2515. description: 签订日期
  2516. type: string
  2517. spotcontractid:
  2518. description: 合同ID
  2519. type: string
  2520. totaldqty:
  2521. description: 合同量
  2522. type: number
  2523. unpricedqty:
  2524. description: 未定价量
  2525. type: number
  2526. wrstandardname:
  2527. description: 商品名称
  2528. type: string
  2529. required:
  2530. - matchcustomername
  2531. - spotcontractid
  2532. type: object
  2533. erms3.QryPendingBizRsp:
  2534. $ref: '#/definitions/models.PendingAuditBizModel'
  2535. erms3.QueryBusinessInfoRsp:
  2536. properties:
  2537. businessid:
  2538. description: 业务ID.
  2539. type: integer
  2540. buyamount:
  2541. description: 采购额.
  2542. type: number
  2543. buyqty:
  2544. description: 采购量.
  2545. type: string
  2546. futurepl:
  2547. description: 期货盈亏.
  2548. type: number
  2549. futureqty:
  2550. description: 期货敞口.
  2551. type: string
  2552. goodsid:
  2553. description: 商品名称/商品代码.
  2554. type: string
  2555. hedgingqty:
  2556. description: 套保量.
  2557. type: string
  2558. sellamount:
  2559. description: 销售额.
  2560. type: number
  2561. sellqty:
  2562. description: 销售量.
  2563. type: string
  2564. spotmarketvalue:
  2565. description: 现货市值.
  2566. type: number
  2567. spotpl:
  2568. description: 浮动权益.
  2569. type: number
  2570. spotqty:
  2571. description: 现货量.
  2572. type: string
  2573. statu:
  2574. description: 状态,0-未结束 1-已结束.
  2575. type: integer
  2576. totalpl:
  2577. description: 总盈亏.
  2578. type: number
  2579. totalqty:
  2580. description: 总敞口.
  2581. type: string
  2582. type:
  2583. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2584. type: integer
  2585. type: object
  2586. erms3.QuerySpotContractAppleFormRsp:
  2587. properties:
  2588. goodses:
  2589. description: 合约列表
  2590. items:
  2591. $ref: '#/definitions/models.GoodsIDAndName'
  2592. type: array
  2593. oppositeusers:
  2594. description: 对方账号列表
  2595. items:
  2596. $ref: '#/definitions/erms3.CustomerInfo'
  2597. type: array
  2598. ouruser:
  2599. $ref: '#/definitions/erms3.CustomerInfo'
  2600. description: 我方账号
  2601. type: object
  2602. warehouseinfos:
  2603. description: 仓库信息列表
  2604. items:
  2605. $ref: '#/definitions/models.Warehouseinfo'
  2606. type: array
  2607. wrstandards:
  2608. description: 仓单标准列表
  2609. items:
  2610. $ref: '#/definitions/models.WRStandardInfo'
  2611. type: array
  2612. type: object
  2613. erms3.QuerySpotContractInfoRsp:
  2614. properties:
  2615. accountid:
  2616. description: 表示交易员ID.
  2617. type: integer
  2618. curdeliveryqty:
  2619. description: 表示未交收量.
  2620. type: number
  2621. customername:
  2622. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2623. type: string
  2624. deliverygoodsid:
  2625. description: 表示品种ID.
  2626. type: string
  2627. deliveryqty:
  2628. description: 表示交收量.
  2629. type: number
  2630. matchaccountid:
  2631. description: 表示业务员ID.
  2632. type: integer
  2633. matchcustomername:
  2634. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2635. type: string
  2636. priceqty:
  2637. description: 表示定价量.
  2638. type: number
  2639. relatedbizid:
  2640. description: 表示业务ID.
  2641. type: string
  2642. signdate:
  2643. description: 表示签订日期.
  2644. type: string
  2645. spotcontractid:
  2646. description: 合同ID
  2647. type: string
  2648. status:
  2649. description: 表示状态,0-履约中 1-已完成.
  2650. type: integer
  2651. totalqty:
  2652. description: 表示合同量.
  2653. type: number
  2654. unpricedqty:
  2655. description: 表示未定价量.
  2656. type: number
  2657. wrstandardname:
  2658. description: 表示商品ID.
  2659. type: string
  2660. type: object
  2661. erms3.QueryUserInfoAppliesRsp:
  2662. properties:
  2663. biznature:
  2664. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2665. type: integer
  2666. contactname:
  2667. description: 联系人
  2668. type: string
  2669. createtime:
  2670. description: 开户申请时间
  2671. type: string
  2672. userid:
  2673. description: 用户ID(自增ID)
  2674. type: integer
  2675. userinfotype:
  2676. description: 用户信息类型 - 1:个人 2:企业
  2677. type: integer
  2678. username:
  2679. description: 用户姓名
  2680. type: string
  2681. userstate:
  2682. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2683. type: integer
  2684. required:
  2685. - userid
  2686. type: object
  2687. erms3.QueryUserInfosRsp:
  2688. properties:
  2689. biznature:
  2690. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2691. type: integer
  2692. contactname:
  2693. description: 联系人
  2694. type: string
  2695. customername:
  2696. description: 客户名称(企业名称)
  2697. type: string
  2698. userid:
  2699. description: 用户ID
  2700. type: integer
  2701. userinfotype:
  2702. description: 用户信息类型 - 1:个人 2:企业
  2703. type: integer
  2704. userstatus:
  2705. description: 用户状态 - 1:正常 2:注销
  2706. type: integer
  2707. required:
  2708. - userid
  2709. type: object
  2710. erms3.SoptContractDetail:
  2711. properties:
  2712. deliverygoodsdesc:
  2713. description: 现货品种说明
  2714. type: string
  2715. deliverygoodsid:
  2716. description: 现货品种ID
  2717. type: integer
  2718. deliverygoodsname:
  2719. description: 现货品种名称
  2720. type: string
  2721. pointdesc:
  2722. description: 点价描述
  2723. type: string
  2724. producttype:
  2725. description: 产品类型 1:标准仓单 2:等标 3:非标
  2726. type: integer
  2727. producttypename:
  2728. description: 产品类型名称
  2729. type: string
  2730. spotPointOrderVoList:
  2731. description: 点价列表
  2732. items:
  2733. $ref: '#/definitions/erms3.SpotPointOrder'
  2734. type: array
  2735. spotPriceOrderList:
  2736. description: 定价列表
  2737. items:
  2738. $ref: '#/definitions/erms3.SpotPriceOrder'
  2739. type: array
  2740. unitname:
  2741. description: 单位名称
  2742. type: string
  2743. warehouseid:
  2744. description: 仓库ID
  2745. type: integer
  2746. warehousename:
  2747. description: 仓库名称
  2748. type: string
  2749. wrstandardid:
  2750. description: 交易标的ID
  2751. type: integer
  2752. wrstandardname:
  2753. description: 交易标的名称
  2754. type: string
  2755. required:
  2756. - deliverygoodsid
  2757. - producttype
  2758. - unitname
  2759. - warehouseid
  2760. - wrstandardid
  2761. - wrstandardname
  2762. type: object
  2763. erms3.SpotPointOrder:
  2764. properties:
  2765. basic:
  2766. description: 基差
  2767. type: number
  2768. deliveryenddate:
  2769. description: 交收结束日期
  2770. type: string
  2771. deliverystartdate:
  2772. description: 交收开始日期
  2773. type: string
  2774. enddate:
  2775. description: 点价结束日期
  2776. type: string
  2777. goodsid:
  2778. description: 商品ID
  2779. type: integer
  2780. goodsname:
  2781. description: 商品名称
  2782. type: string
  2783. qty:
  2784. description: 数量
  2785. type: number
  2786. startdate:
  2787. description: 点价开始日期
  2788. type: string
  2789. required:
  2790. - basic
  2791. - goodsid
  2792. - qty
  2793. type: object
  2794. erms3.SpotPriceOrder:
  2795. properties:
  2796. amount:
  2797. description: 金额
  2798. type: number
  2799. deliveryenddate:
  2800. description: 交收结束日期
  2801. type: string
  2802. deliverystartdate:
  2803. description: 交收开始日期
  2804. type: string
  2805. price:
  2806. description: 价格
  2807. type: number
  2808. qty:
  2809. description: 数量
  2810. type: number
  2811. required:
  2812. - amount
  2813. - price
  2814. - qty
  2815. type: object
  2816. hsby.GetHsbyMyCountRsp:
  2817. properties:
  2818. myCouponCount:
  2819. description: 我的优惠卷数量
  2820. type: integer
  2821. myOrderDetailListingCount:
  2822. description: 我的订单求购中数量
  2823. type: integer
  2824. myOrderDetailPreCount:
  2825. description: 我的订单抢购中数量
  2826. type: integer
  2827. myPackageUnReceiveCount:
  2828. description: 我的包裹待收货数量
  2829. type: integer
  2830. myPackageUnSendCount:
  2831. description: 我的包裹待发货数量
  2832. type: integer
  2833. myPayOrderCount:
  2834. description: 我的订单待付款数量
  2835. type: integer
  2836. type: object
  2837. hsby.QueryProvincesAndCitiesRsp:
  2838. properties:
  2839. cities:
  2840. description: 市
  2841. items:
  2842. $ref: '#/definitions/models.Division'
  2843. type: array
  2844. province:
  2845. $ref: '#/definitions/models.Division'
  2846. description: 省
  2847. type: object
  2848. type: object
  2849. models.AreaSpotModel:
  2850. properties:
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. decreaseqty:
  2855. description: 减少数量=-(销售已定价数量+采购计划数量)
  2856. type: number
  2857. increaseqty:
  2858. description: 增加数量=销售计划数量+采购已定价数量
  2859. type: number
  2860. oritoalspotqty:
  2861. description: 昨日数量
  2862. type: number
  2863. totalspotqty:
  2864. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2865. type: number
  2866. updatetime:
  2867. description: 更新时间
  2868. type: string
  2869. wrstandardcode:
  2870. description: 现货品种代码
  2871. type: string
  2872. wrstandardid:
  2873. description: 现货商品ID
  2874. type: integer
  2875. wrstandardname:
  2876. description: 现货品种
  2877. type: string
  2878. type: object
  2879. models.Clientfixedadconfig:
  2880. properties:
  2881. adsort:
  2882. description: 排序
  2883. type: integer
  2884. adtype:
  2885. description: 广告位类型 - 1:新品抢购(HSBY)
  2886. type: integer
  2887. areauserid:
  2888. description: 所属机构ID
  2889. type: integer
  2890. createdate:
  2891. description: 创建时间
  2892. type: string
  2893. creatorid:
  2894. description: 创建人
  2895. type: integer
  2896. imagepath:
  2897. description: 图片
  2898. type: string
  2899. isshow:
  2900. description: 是否展示 - 0:不展示 1:展示
  2901. type: integer
  2902. modifierid:
  2903. description: 操作人
  2904. type: integer
  2905. recsize:
  2906. description: 推荐尺寸
  2907. type: string
  2908. title:
  2909. description: 标题
  2910. type: string
  2911. updatedate:
  2912. description: 更新时间
  2913. type: string
  2914. urlcontent:
  2915. description: 链接(地址或商品ID)
  2916. type: string
  2917. urltype:
  2918. description: 链接类型 - 1:直接地址 2:商品ID
  2919. type: integer
  2920. required:
  2921. - adsort
  2922. - adtype
  2923. type: object
  2924. models.Division:
  2925. properties:
  2926. autoid:
  2927. description: 自增ID
  2928. type: integer
  2929. divisioncode:
  2930. description: 行政代码
  2931. type: string
  2932. divisionlevel:
  2933. description: 行政级别
  2934. type: string
  2935. divisionname:
  2936. description: 行政名称
  2937. type: string
  2938. modifierid:
  2939. description: 修改人
  2940. type: integer
  2941. modifytime:
  2942. description: 修改时间
  2943. type: string
  2944. parentcode:
  2945. description: 上级行政代码
  2946. type: string
  2947. pathname:
  2948. description: 路径名称
  2949. type: string
  2950. postcode:
  2951. description: 邮政编码
  2952. type: string
  2953. separablename:
  2954. description: 可拆分的全称
  2955. type: string
  2956. shortcode:
  2957. description: 地区简码
  2958. type: string
  2959. required:
  2960. - autoid
  2961. - divisioncode
  2962. type: object
  2963. models.Enumdicitem:
  2964. properties:
  2965. autoid:
  2966. description: 自增ID
  2967. type: integer
  2968. bankmappedvalue:
  2969. description: 银行服务对应值
  2970. type: string
  2971. enumdiccode:
  2972. description: 所属枚举代码
  2973. type: string
  2974. enumdicid:
  2975. description: 所属枚举ID
  2976. type: integer
  2977. enumdicname:
  2978. description: 枚举项名称
  2979. type: string
  2980. enumitemname:
  2981. description: 枚举项值
  2982. type: integer
  2983. enumitemstatus:
  2984. description: 枚举项状态 - 1.启用 2.不启用
  2985. type: integer
  2986. enumitemvalue:
  2987. description: 通用值 - [币种通用简写]
  2988. type: string
  2989. param1:
  2990. description: 参数1[币种:币种小数位]
  2991. type: string
  2992. param2:
  2993. description: 参数1[币种:币种显示单位]
  2994. type: string
  2995. remark:
  2996. description: 备注
  2997. type: string
  2998. required:
  2999. - autoid
  3000. - enumdiccode
  3001. - enumdicid
  3002. - enumitemname
  3003. type: object
  3004. models.ErmcpAreaSpotDetailModel:
  3005. properties:
  3006. contracttype:
  3007. description: 合同类型 1-采购 -1-销售
  3008. type: integer
  3009. createtime:
  3010. description: 创建时间
  3011. type: string
  3012. enumdicname:
  3013. description: 现货商品单位名称
  3014. type: string
  3015. logtype:
  3016. description: 记录类型 1-套保 2-现货合同
  3017. type: integer
  3018. qty:
  3019. description: 数量
  3020. type: number
  3021. recordname:
  3022. description: 类型名称
  3023. type: string
  3024. relatedid:
  3025. description: 套保计划ID/现货合同ID
  3026. type: string
  3027. relatedno:
  3028. description: 编号
  3029. type: string
  3030. strtime:
  3031. description: 时间
  3032. type: string
  3033. wrstandardcode:
  3034. description: 现货商品代码
  3035. type: string
  3036. wrstandardname:
  3037. description: 现货商品名称
  3038. type: string
  3039. type: object
  3040. models.ErmcpAreaStock:
  3041. properties:
  3042. brandname:
  3043. description: 品牌名称
  3044. type: string
  3045. curstock:
  3046. description: 期末库存量(今日量)
  3047. type: number
  3048. deliverygoodsid:
  3049. description: 现货品种ID
  3050. type: integer
  3051. enumdicname:
  3052. description: 单位名称
  3053. type: string
  3054. modelname:
  3055. description: 型号名称
  3056. type: string
  3057. oristock:
  3058. description: 期初库存量(昨日量)
  3059. type: number
  3060. spotgoodsbrandid:
  3061. description: 现货品牌ID
  3062. type: integer
  3063. spotgoodsmodelid:
  3064. description: 现货型号ID
  3065. type: integer
  3066. todaybuyinqty:
  3067. description: 今日采购入库量
  3068. type: number
  3069. todayproduceinqty:
  3070. description: 今日生产入库量
  3071. type: number
  3072. todayproduceoutqty:
  3073. description: 今日生产出库量
  3074. type: number
  3075. todayselloutqty:
  3076. description: 今日销售出库量
  3077. type: number
  3078. unitid:
  3079. description: 单位id
  3080. type: integer
  3081. updatetime:
  3082. description: 更新时间
  3083. type: string
  3084. userid:
  3085. description: 机构ID
  3086. type: integer
  3087. username:
  3088. description: 机构名称
  3089. type: string
  3090. warehousecode:
  3091. description: 仓库代码
  3092. type: string
  3093. warehouseinfoid:
  3094. description: 仓库ID
  3095. type: string
  3096. warehousename:
  3097. description: 仓库名称
  3098. type: string
  3099. warehousetype:
  3100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3101. type: integer
  3102. wrstandardcode:
  3103. description: 现货商品代码
  3104. type: string
  3105. wrstandardid:
  3106. description: 现货商品ID
  3107. type: string
  3108. wrstandardname:
  3109. description: 现货商品名称
  3110. type: string
  3111. type: object
  3112. models.ErmcpAreaStockApply:
  3113. properties:
  3114. applyid:
  3115. description: 申请人
  3116. type: integer
  3117. applyname:
  3118. description: 申请人名称
  3119. type: string
  3120. applyremark:
  3121. description: 申请备注
  3122. type: string
  3123. applysrc:
  3124. description: 申请来源 - 1:管理端 2:终端
  3125. type: integer
  3126. applystatus:
  3127. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3128. type: integer
  3129. applytime:
  3130. description: 申请时间
  3131. type: string
  3132. auditid:
  3133. description: 审核人
  3134. type: integer
  3135. auditname:
  3136. description: 审核人名称
  3137. type: string
  3138. auditremark:
  3139. description: 审核备注
  3140. type: string
  3141. auditsrc:
  3142. description: 审核来源 - 1:管理端 2:终端
  3143. type: integer
  3144. audittime:
  3145. description: 审核时间
  3146. type: string
  3147. audittradedate:
  3148. description: 审核交易日(yyyyMMdd)
  3149. type: string
  3150. brandname:
  3151. description: 品牌名称
  3152. type: string
  3153. buyuserid:
  3154. description: 采购方userid
  3155. type: integer
  3156. buyusername:
  3157. description: 采购方名称
  3158. type: string
  3159. contractno:
  3160. description: 合同编号
  3161. type: string
  3162. contractqty:
  3163. description: 合同量
  3164. type: number
  3165. contracttype:
  3166. description: 现货合同类型 - 1:采购 -1:销售
  3167. type: integer
  3168. deliverygoodsid:
  3169. description: 现货品种ID
  3170. type: integer
  3171. enumdicname:
  3172. description: 现货商品单位名称
  3173. type: string
  3174. inoutapplyid:
  3175. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3176. type: string
  3177. inouttype:
  3178. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3179. type: integer
  3180. modelname:
  3181. description: 型号名称
  3182. type: string
  3183. pricetype:
  3184. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3185. type: integer
  3186. qty:
  3187. description: 数量
  3188. type: number
  3189. selluserid:
  3190. description: 销售方userid
  3191. type: integer
  3192. sellusername:
  3193. description: 销售方名称
  3194. type: string
  3195. spotcontractid:
  3196. description: 关联现货合同ID
  3197. type: string
  3198. spotgoodsbrandid:
  3199. description: 现货品牌ID
  3200. type: integer
  3201. spotgoodsmodelid:
  3202. description: 现货型号ID
  3203. type: integer
  3204. unitid:
  3205. description: 单位id
  3206. type: integer
  3207. userid:
  3208. description: 机构ID
  3209. type: integer
  3210. warehousecode:
  3211. description: 仓库代码
  3212. type: string
  3213. warehouseinfoid:
  3214. description: 现货仓库ID
  3215. type: string
  3216. warehousename:
  3217. description: 仓库名称
  3218. type: string
  3219. warehousetype:
  3220. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3221. type: integer
  3222. wrstandardcode:
  3223. description: 现货商品代码
  3224. type: string
  3225. wrstandardid:
  3226. description: 现货商品ID
  3227. type: string
  3228. wrstandardname:
  3229. description: 现货商品名称
  3230. type: string
  3231. type: object
  3232. models.ErmcpAreaStockApplySum:
  3233. properties:
  3234. brandname:
  3235. description: 品牌名称
  3236. type: string
  3237. inouttype:
  3238. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3239. type: integer
  3240. modelname:
  3241. description: 型号名称
  3242. type: string
  3243. spotcontractid:
  3244. description: 关联现货合同ID
  3245. type: string
  3246. spotgoodsbrandid:
  3247. description: 品牌id
  3248. type: integer
  3249. spotgoodsmodelid:
  3250. description: 型号id
  3251. type: integer
  3252. totalqty:
  3253. description: 总数量
  3254. type: number
  3255. type: object
  3256. models.ErmcpAreaStockReport:
  3257. properties:
  3258. brandname:
  3259. description: 品牌名称
  3260. type: string
  3261. curstock:
  3262. description: 期末库存量
  3263. type: number
  3264. deliverygoodsid:
  3265. description: 现货品种ID
  3266. type: integer
  3267. enumdicname:
  3268. description: 单位名称
  3269. type: string
  3270. modelname:
  3271. description: 型号名称
  3272. type: string
  3273. oristock:
  3274. description: 期初库存量
  3275. type: number
  3276. spotgoodsbrandid:
  3277. description: 现货品牌ID
  3278. type: integer
  3279. spotgoodsmodelid:
  3280. description: 现货型号ID
  3281. type: integer
  3282. todaybuyinqty:
  3283. description: 今日采购入库量
  3284. type: number
  3285. todayproduceinqty:
  3286. description: 今日生产入库量
  3287. type: number
  3288. todayproduceoutqty:
  3289. description: 今日生产出库量
  3290. type: number
  3291. todayselloutqty:
  3292. description: 今日销售出库量
  3293. type: number
  3294. unitid:
  3295. description: 单位id
  3296. type: integer
  3297. updatetime:
  3298. description: 更新时间
  3299. type: string
  3300. userid:
  3301. description: 机构ID
  3302. type: integer
  3303. username:
  3304. description: 机构名称
  3305. type: string
  3306. warehousecode:
  3307. description: 仓库代码
  3308. type: string
  3309. warehouseinfoid:
  3310. description: 仓库ID
  3311. type: string
  3312. warehousename:
  3313. description: 仓库名称
  3314. type: string
  3315. warehousetype:
  3316. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3317. type: integer
  3318. wrstandardcode:
  3319. description: 现货商品代码
  3320. type: string
  3321. wrstandardid:
  3322. description: 现货商品ID
  3323. type: string
  3324. wrstandardname:
  3325. description: 现货商品名称
  3326. type: string
  3327. type: object
  3328. models.ErmcpAvalidGoodsGroupModel:
  3329. properties:
  3330. goodsgroupid:
  3331. description: 期货品种id
  3332. type: integer
  3333. goodsgroupname:
  3334. description: 期货品种名称
  3335. type: string
  3336. goodunitid:
  3337. description: 品种单位id
  3338. type: integer
  3339. goodunitname:
  3340. description: 品种单位名称
  3341. type: string
  3342. outergroupcode:
  3343. description: 期货品种代码
  3344. type: string
  3345. type: object
  3346. models.ErmcpExposureDetailModel:
  3347. properties:
  3348. areauserid:
  3349. description: 机构ID
  3350. type: integer
  3351. changeQty:
  3352. description: 套保变动量
  3353. type: number
  3354. contracttype:
  3355. description: 现货合同类型 - 1:采购 -1:销售
  3356. type: integer
  3357. convertfactor:
  3358. description: 标仓系数
  3359. type: number
  3360. convertratio:
  3361. description: 套保系数
  3362. type: number
  3363. createtime:
  3364. description: 时间
  3365. type: string
  3366. enumdicname:
  3367. description: 现货商品单位名称
  3368. type: string
  3369. logtype:
  3370. description: 类型 - 1:套保计划 2:现货合同
  3371. type: integer
  3372. middlegoodsId:
  3373. description: 套保商品id
  3374. type: integer
  3375. middlegoodscode:
  3376. description: 套保商品代码
  3377. type: string
  3378. middlegoodsname:
  3379. description: 套保商品名称
  3380. type: string
  3381. qty:
  3382. description: 数量
  3383. type: number
  3384. relateNo:
  3385. description: 现货合同/套保计划编号
  3386. type: string
  3387. wrstandardcode:
  3388. description: 现货商品代码
  3389. type: string
  3390. wrstandardid:
  3391. description: 现货商品ID
  3392. type: integer
  3393. wrstandardname:
  3394. description: 现货商品名称
  3395. type: string
  3396. type: object
  3397. models.ErmcpExposurePostion:
  3398. properties:
  3399. agreeunit:
  3400. description: 合约单位
  3401. type: string
  3402. areauserid:
  3403. description: 所属机构id
  3404. type: integer
  3405. convertratio:
  3406. description: 期货品种系数(折算系数)
  3407. type: number
  3408. curqty:
  3409. description: 当前持仓
  3410. type: integer
  3411. diffhedgeqty:
  3412. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3413. type: number
  3414. diffqty:
  3415. description: 持仓变动量=当前持仓-昨日持仓
  3416. type: integer
  3417. goodscode:
  3418. description: 商品代码
  3419. type: string
  3420. goodsid:
  3421. description: 商品id
  3422. type: integer
  3423. goodsname:
  3424. description: 商品名称
  3425. type: string
  3426. middlegoodsid:
  3427. description: 套保商品id
  3428. type: integer
  3429. ydqty:
  3430. description: 昨日持仓
  3431. type: integer
  3432. type: object
  3433. models.ErmcpGGConvertCfg:
  3434. properties:
  3435. convertratio:
  3436. description: 折算系数
  3437. type: number
  3438. destgoodsgroupid:
  3439. description: 目标品种ID
  3440. type: integer
  3441. dstcode:
  3442. description: 目录品种代码
  3443. type: string
  3444. dstexchangecode:
  3445. description: 目标期货交易所
  3446. type: string
  3447. dstname:
  3448. description: 目标品种名称
  3449. type: string
  3450. dstunitid:
  3451. description: 目标品种单位ID
  3452. type: integer
  3453. dstunitidname:
  3454. description: 目标品种单位名称
  3455. type: string
  3456. modifytime:
  3457. description: 修改时间
  3458. type: string
  3459. srccode:
  3460. description: 源品种代码
  3461. type: string
  3462. srcexchangecode:
  3463. description: 源期货交易所
  3464. type: string
  3465. srcgoodsgroupid:
  3466. description: 源品种ID
  3467. type: integer
  3468. srcname:
  3469. description: 源品种名称
  3470. type: string
  3471. srcunitid:
  3472. description: 源品种单位ID
  3473. type: integer
  3474. srcunitidname:
  3475. description: 源品种单位名称
  3476. type: string
  3477. type: object
  3478. models.ErmcpGoodsBrand:
  3479. properties:
  3480. areauserid:
  3481. description: 所属机构
  3482. type: integer
  3483. brandid:
  3484. description: BrandID(SEQ_SPOTGOODSBRAND)
  3485. type: integer
  3486. brandname:
  3487. description: 品牌名称
  3488. type: string
  3489. createtime:
  3490. description: 创建时间
  3491. type: string
  3492. creatorid:
  3493. description: 创建人
  3494. type: integer
  3495. creatorsrc:
  3496. description: 创建人来源 - 1:管理端 2:终端
  3497. type: integer
  3498. deliverygoodsid:
  3499. description: 现货品种ID
  3500. type: integer
  3501. isvalid:
  3502. description: 是否有效 - 0:无效 1:有效
  3503. type: integer
  3504. updatetime:
  3505. description: 更新时间
  3506. type: string
  3507. updatorid:
  3508. description: 更新人
  3509. type: integer
  3510. updatorsrc:
  3511. description: 更新人来源 - 1:管理端 2:终端
  3512. type: integer
  3513. wrstandardid:
  3514. description: 现货商品ID
  3515. type: integer
  3516. type: object
  3517. models.ErmcpGoodsModel:
  3518. properties:
  3519. areauserid:
  3520. description: 所属机构
  3521. type: integer
  3522. createtime:
  3523. description: 创建时间
  3524. type: string
  3525. creatorid:
  3526. description: 创建人
  3527. type: integer
  3528. creatorsrc:
  3529. description: 创建人来源 - 1:管理端 2:终端
  3530. type: integer
  3531. deliverygoodsid:
  3532. description: 现货品种ID
  3533. type: integer
  3534. isvalid:
  3535. description: 是否有效 - 0:无效 1:有效
  3536. type: integer
  3537. modelid:
  3538. description: ModelID(SEQ_SPOTGOODSMODEL)
  3539. type: integer
  3540. modelname:
  3541. description: 型号名称
  3542. type: string
  3543. updatetime:
  3544. description: 更新时间
  3545. type: string
  3546. updatorid:
  3547. description: 更新人
  3548. type: integer
  3549. updatorsrc:
  3550. description: 更新人来源 - 1:管理端 2:终端
  3551. type: integer
  3552. wrstandardid:
  3553. description: 现货商品ID
  3554. type: integer
  3555. type: object
  3556. models.ErmcpHedgePlan:
  3557. properties:
  3558. areauserid:
  3559. description: 用户ID
  3560. type: integer
  3561. audittime:
  3562. description: 审核时间
  3563. type: string
  3564. contracttype:
  3565. description: 计划类型 - 1:采购 -1:销售
  3566. type: integer
  3567. convertfactor:
  3568. description: 标仓系数
  3569. type: number
  3570. createtime:
  3571. description: 创建时间
  3572. type: string
  3573. deliverygoodsid:
  3574. description: 现货品种ID
  3575. type: integer
  3576. deliverygoodsname:
  3577. description: 现货品种名称
  3578. type: string
  3579. enumdicname:
  3580. description: 单位名称
  3581. type: string
  3582. hedgeplanid:
  3583. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3584. type: string
  3585. hedgeplanno:
  3586. description: 套保计划编号(名称)
  3587. type: string
  3588. hedgeplanstatus:
  3589. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3590. type: integer
  3591. planqty:
  3592. description: 计划数量
  3593. type: number
  3594. plantime:
  3595. description: 计划时间
  3596. type: string
  3597. producttype:
  3598. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3599. type: integer
  3600. remark:
  3601. description: 备注
  3602. type: string
  3603. spotgoodsdesc:
  3604. description: 商品型号
  3605. type: string
  3606. unitid:
  3607. description: 单位id
  3608. type: integer
  3609. updatetime:
  3610. description: 更新时间
  3611. type: string
  3612. wrstandardid:
  3613. description: 现货商品ID
  3614. type: integer
  3615. wrstandardname:
  3616. description: 现货商品名称
  3617. type: string
  3618. type: object
  3619. models.ErmcpHedgePosition:
  3620. properties:
  3621. accountid:
  3622. description: 资金账号[外部母账户]
  3623. type: integer
  3624. curbuyposition:
  3625. description: 期末买头寸
  3626. type: integer
  3627. cursellposition:
  3628. description: 期末卖头寸
  3629. type: integer
  3630. curtdbuyposition:
  3631. description: 期末今日买头寸
  3632. type: integer
  3633. curtdsellposition:
  3634. description: 期末今日卖头寸
  3635. type: integer
  3636. curydbuyposition:
  3637. description: 期末上日买头寸
  3638. type: integer
  3639. curydsellposition:
  3640. description: 期末上日卖头寸
  3641. type: integer
  3642. decreaseqty:
  3643. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3644. type: integer
  3645. fretdbuyposition:
  3646. description: 冻结今日买头寸
  3647. type: integer
  3648. fretdsellposition:
  3649. description: 冻结今日卖头寸
  3650. type: integer
  3651. freydbuyposition:
  3652. description: 冻结上日买头寸
  3653. type: integer
  3654. freydsellposition:
  3655. description: 冻结上日卖头寸
  3656. type: integer
  3657. goodscode:
  3658. description: 商品代码
  3659. type: string
  3660. goodsid:
  3661. description: 商品id
  3662. type: integer
  3663. goodsname:
  3664. description: 商品名称
  3665. type: string
  3666. hedgeaccountcode:
  3667. description: 对冲账号
  3668. type: string
  3669. hedgegoodsid:
  3670. description: 对冲合约ID
  3671. type: integer
  3672. increaseqty:
  3673. description: 增加数量 = 期末买头寸 - 期初买头寸
  3674. type: integer
  3675. marketid:
  3676. description: 市场ID
  3677. type: integer
  3678. relateduserid:
  3679. description: 关联用户id
  3680. type: integer
  3681. totalcurqty:
  3682. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3683. type: integer
  3684. totalydqty:
  3685. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3686. type: integer
  3687. tradedate:
  3688. description: 交易日(yyyyMMdd)
  3689. type: string
  3690. ydbuyposition:
  3691. description: 期初买头寸
  3692. type: integer
  3693. ydsellposition:
  3694. description: 期初卖头寸
  3695. type: integer
  3696. type: object
  3697. models.ErmcpHedgePositionDetail:
  3698. properties:
  3699. buyorsell:
  3700. description: 买卖方向 0-买 1-卖
  3701. type: integer
  3702. channelbuildtype:
  3703. description: 开平方向 1-建仓 2-平仓
  3704. type: integer
  3705. goodscode:
  3706. description: 商品代码
  3707. type: string
  3708. goodsname:
  3709. description: 商品名称
  3710. type: string
  3711. hedgegoodsid:
  3712. description: 商品id
  3713. type: integer
  3714. tradeqty:
  3715. description: 数量(成交数量)
  3716. type: integer
  3717. tradetime:
  3718. description: 时间(成交时间)
  3719. type: string
  3720. type: object
  3721. models.ErmcpHisExposure:
  3722. properties:
  3723. needhedgeexposoure:
  3724. description: 应套保敞口
  3725. type: number
  3726. reckondate:
  3727. description: 日照时期(yyyyMMdd)
  3728. type: string
  3729. totalexposure:
  3730. description: 总敞口
  3731. type: number
  3732. type: object
  3733. models.ErmcpHisExposureS:
  3734. properties:
  3735. data:
  3736. description: 历史敞口
  3737. items:
  3738. $ref: '#/definitions/models.ErmcpHisExposure'
  3739. type: array
  3740. enumdicname:
  3741. description: 单位名称
  3742. type: string
  3743. middlegoodscode:
  3744. description: 套保品种代码
  3745. type: string
  3746. middlegoodsid:
  3747. description: 套保品种ID
  3748. type: integer
  3749. middlegoodsname:
  3750. description: 套保品种名称
  3751. type: string
  3752. type: object
  3753. models.ErmcpLoginUser:
  3754. properties:
  3755. accountname:
  3756. description: 用户名称
  3757. type: string
  3758. clientroleid:
  3759. description: 角色id(usertype=2)
  3760. type: integer
  3761. createtime:
  3762. description: 创建时间
  3763. type: string
  3764. loginstatus:
  3765. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  3766. type: integer
  3767. memberuserid:
  3768. description: 所属会员id
  3769. type: integer
  3770. modifytime:
  3771. description: 修改时间
  3772. type: string
  3773. rolename:
  3774. description: 角色名称
  3775. type: string
  3776. rolestatus:
  3777. description: 角色状态 1-启用 2-停用
  3778. type: integer
  3779. roletype:
  3780. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  3781. type: string
  3782. userid:
  3783. description: 用户id
  3784. type: integer
  3785. usertype:
  3786. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  3787. type: integer
  3788. type: object
  3789. models.ErmcpLoginUserEx:
  3790. properties:
  3791. rolename:
  3792. description: 角色名称
  3793. type: string
  3794. userlist:
  3795. description: 用户列表
  3796. items:
  3797. $ref: '#/definitions/models.ErmcpLoginUser'
  3798. type: array
  3799. usertype:
  3800. description: 用户类型 2-机构 7-企业成员(云平台)
  3801. type: integer
  3802. type: object
  3803. models.ErmcpMiddleGoodsChangeLog:
  3804. properties:
  3805. aftervalue:
  3806. description: 变更后
  3807. type: number
  3808. applyid:
  3809. description: 操作人
  3810. type: integer
  3811. applyname:
  3812. description: 操作人名称
  3813. type: string
  3814. applysrc:
  3815. description: 操作来源 - 1:管理端 2:终端
  3816. type: integer
  3817. beforevalue:
  3818. description: 变更前
  3819. type: number
  3820. changelogtype:
  3821. description: 变更流水类型 - 1:套保比率变更
  3822. type: integer
  3823. handlestatus:
  3824. description: 处理状态
  3825. type: integer
  3826. logdatetime:
  3827. description: 流水日期
  3828. type: string
  3829. logid:
  3830. description: 流水ID
  3831. type: integer
  3832. logremark:
  3833. description: 流水备注
  3834. type: string
  3835. middlegoodsid:
  3836. description: 套保品种ID
  3837. type: integer
  3838. tradedate:
  3839. description: 交易日(yyyyMMdd)
  3840. type: string
  3841. updatetime:
  3842. description: 更新时间
  3843. type: string
  3844. type: object
  3845. models.ErmcpMiddleGoodsDetail:
  3846. properties:
  3847. cvList:
  3848. description: 期货品种折算列表
  3849. items:
  3850. $ref: '#/definitions/models.GoodsGroupConvert'
  3851. type: array
  3852. mg:
  3853. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3854. description: 套保品种基本信息
  3855. type: object
  3856. type: object
  3857. models.ErmcpMiddleGoodsModel:
  3858. properties:
  3859. areauserid:
  3860. description: 机构用户ID
  3861. type: integer
  3862. createtime:
  3863. description: 修改时间
  3864. type: string
  3865. enumdicname:
  3866. description: 单位名称
  3867. type: string
  3868. evaluateratio:
  3869. description: 估价系数
  3870. type: number
  3871. goodsgroupid:
  3872. description: 关联期货品种ID
  3873. type: integer
  3874. isvalid:
  3875. description: 状态 0-无效(停用) 1-有效(正常)
  3876. type: integer
  3877. middlegoodscode:
  3878. description: 套保品种代码
  3879. type: string
  3880. middlegoodsid:
  3881. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3882. type: integer
  3883. middlegoodsname:
  3884. description: 套保品种名称
  3885. type: string
  3886. modifytime:
  3887. description: 修改时间
  3888. type: string
  3889. needhedgeratio:
  3890. description: 套保比率
  3891. type: number
  3892. qtydecimalplace:
  3893. description: 数量小数位
  3894. type: integer
  3895. relatedgoodsid:
  3896. description: 关联交易商品ID
  3897. type: integer
  3898. relatedgoodstype:
  3899. description: 关联商品类型 - 1:期货合约 2:现货品种
  3900. type: integer
  3901. remark:
  3902. description: 备注
  3903. type: string
  3904. type: object
  3905. models.ErmcpModel:
  3906. properties:
  3907. accountname:
  3908. description: 账户名称
  3909. type: string
  3910. attachment:
  3911. description: 附件
  3912. type: string
  3913. audittime:
  3914. description: 审核时间
  3915. type: string
  3916. brandname:
  3917. description: 品牌名称
  3918. type: string
  3919. contracctstatus:
  3920. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3921. type: integer
  3922. contractmargin:
  3923. description: 合同保证金
  3924. type: number
  3925. contractno:
  3926. description: 合同编号
  3927. type: string
  3928. contracttype:
  3929. description: 合同类型 1-采购, -1-销售
  3930. type: integer
  3931. convertfactor:
  3932. description: 标仓系数
  3933. type: number
  3934. createtime:
  3935. description: 创建时间
  3936. type: string
  3937. daikaiamount:
  3938. description: 应收(开)票额
  3939. type: number
  3940. deliveryenddate:
  3941. description: 交割结束日
  3942. type: string
  3943. deliverygoodscode:
  3944. description: 现货品种代码
  3945. type: string
  3946. deliverygoodsid:
  3947. description: 现货商品ID
  3948. type: integer
  3949. deliverygoodsname:
  3950. description: 现货品种名称
  3951. type: string
  3952. deliverystartdate:
  3953. description: 交割开始日
  3954. type: string
  3955. enddate:
  3956. description: 点价结束日
  3957. type: string
  3958. enumdicname:
  3959. description: 单位名称
  3960. type: string
  3961. goodscode:
  3962. description: 点价商品代码
  3963. type: string
  3964. goodsid:
  3965. description: 点价商品ID
  3966. type: integer
  3967. goodsname:
  3968. description: 点价商品名称
  3969. type: string
  3970. invoiceamount:
  3971. description: 已开票额
  3972. type: number
  3973. loanamount:
  3974. description: 贷款总额=已定价额+调整金额
  3975. type: number
  3976. margin:
  3977. description: 保证金
  3978. type: number
  3979. modelname:
  3980. description: 型号名称
  3981. type: string
  3982. payamount:
  3983. description: 已收付额(收款或付款)
  3984. type: number
  3985. preinvoiceamount:
  3986. description: 预收(开)票额
  3987. type: number
  3988. prepayamount:
  3989. description: 预收付额
  3990. type: number
  3991. price:
  3992. description: 价格
  3993. type: number
  3994. pricedamount:
  3995. description: 已定价额
  3996. type: number
  3997. pricedavg:
  3998. description: 已点均价
  3999. type: number
  4000. pricedqty:
  4001. description: 已定价量
  4002. type: number
  4003. pricemove:
  4004. description: 升贴水
  4005. type: number
  4006. pricetype:
  4007. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4008. type: integer
  4009. producttype:
  4010. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4011. type: integer
  4012. qty:
  4013. description: 合同量
  4014. type: number
  4015. reckonadjustamount:
  4016. description: 调整金额
  4017. type: number
  4018. reckonedamount:
  4019. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4020. type: number
  4021. reckonotheramount:
  4022. description: 其它费用
  4023. type: number
  4024. reckonrealqty:
  4025. description: 已确定量
  4026. type: number
  4027. remark:
  4028. description: 备注
  4029. type: string
  4030. spotcontractid:
  4031. description: 合同ID
  4032. type: string
  4033. spotgoodsbrandid:
  4034. description: 现货品牌ID
  4035. type: integer
  4036. spotgoodsdesc:
  4037. description: 商品型号(商品规格)
  4038. type: string
  4039. spotgoodsmodelid:
  4040. description: 现货型号ID
  4041. type: integer
  4042. startdate:
  4043. description: 点价开始日
  4044. type: string
  4045. totalamount:
  4046. description: 合计总额
  4047. type: number
  4048. unpayamount:
  4049. description: 应收付款额(应支付或应收款)
  4050. type: number
  4051. unpricedqty:
  4052. description: 未定价量
  4053. type: number
  4054. unsureqty:
  4055. description: 未确定量
  4056. type: number
  4057. userid:
  4058. description: 用户ID
  4059. type: integer
  4060. wrstandardcode:
  4061. description: 现货商品代码
  4062. type: string
  4063. wrstandardid:
  4064. description: 现货商品ID
  4065. type: integer
  4066. wrstandardname:
  4067. description: 现货商品名称
  4068. type: string
  4069. type: object
  4070. models.ErmcpOPLogModel:
  4071. properties:
  4072. aftervalue:
  4073. description: 变更后
  4074. type: number
  4075. applyid:
  4076. description: 操作人ID
  4077. type: string
  4078. applyname:
  4079. description: 操作人名称
  4080. type: string
  4081. beforevalue:
  4082. description: 变更前
  4083. type: number
  4084. biztype:
  4085. description: 业务类型 - 1:套保计划 2:现货合同
  4086. type: integer
  4087. contracttype:
  4088. description: 现货合同类型 - 1:采购 -1:销售
  4089. type: integer
  4090. logvalue:
  4091. description: 数值
  4092. type: number
  4093. operatelogtype:
  4094. description: 操作流水类型
  4095. type: integer
  4096. operatelogtypedesc:
  4097. description: 操作流水类型名称
  4098. type: string
  4099. relatedid:
  4100. description: 现货合同ID\套保计划
  4101. type: string
  4102. updatetime:
  4103. description: 更新时间
  4104. type: string
  4105. type: object
  4106. models.ErmcpPendingAudit:
  4107. properties:
  4108. areastockqty:
  4109. description: '待审核数量: 库存申请'
  4110. type: integer
  4111. businessdjqty:
  4112. description: '待审核数量: 点价'
  4113. type: integer
  4114. businessfpqty:
  4115. description: '待审核数量: 发票'
  4116. type: integer
  4117. businessjsqty:
  4118. description: '待审核数量: 结算'
  4119. type: integer
  4120. businesskxqty:
  4121. description: '待审核数量: 款项'
  4122. type: integer
  4123. hedgeplanqty:
  4124. description: '待审核数量: 套保计划'
  4125. type: integer
  4126. spotcontractqty:
  4127. description: '待审核数量: 现货合同'
  4128. type: integer
  4129. userqty:
  4130. description: '待审核数量: 用户'
  4131. type: integer
  4132. type: object
  4133. models.ErmcpRealExposureModel:
  4134. properties:
  4135. AreaUserID:
  4136. description: 所属机构
  4137. type: integer
  4138. BuyFutureQty:
  4139. description: 买入期货数量
  4140. type: number
  4141. BuyPlanQty:
  4142. description: 采购计划数量
  4143. type: number
  4144. BuyPricedQty:
  4145. description: 采购合同已定价数量
  4146. type: number
  4147. MiddleGoodsCode:
  4148. description: 套保品种代码
  4149. type: string
  4150. MiddleGoodsHedgeRatio:
  4151. description: 应套保比例
  4152. type: number
  4153. MiddleGoodsID:
  4154. description: 套保品种
  4155. type: integer
  4156. MiddleGoodsName:
  4157. description: 套保品种名称
  4158. type: string
  4159. NeedHedgeExposoure:
  4160. description: 应套保敞口
  4161. type: number
  4162. NeedHedgeRatio:
  4163. description: 应套保敞口比例
  4164. type: number
  4165. OriBuyFutureQty:
  4166. description: 期初买入期货数量
  4167. type: number
  4168. OriBuyPlanQty:
  4169. description: 期初采购计划数量
  4170. type: number
  4171. OriBuyPricedQty:
  4172. description: 期初采购合同已定价数量
  4173. type: number
  4174. OriSellFutureQty:
  4175. description: 期初卖出期货数量
  4176. type: number
  4177. OriSellPlanQty:
  4178. description: 期初销售计划数量
  4179. type: number
  4180. OriSellPricedQty:
  4181. description: 期初销售合同已定价数量
  4182. type: number
  4183. SellFutureQty:
  4184. description: 卖出期货数量
  4185. type: number
  4186. SellPlanQty:
  4187. description: 销售计划数量
  4188. type: number
  4189. SellPricedQty:
  4190. description: 销售合同已定价数量
  4191. type: number
  4192. TotalExposure:
  4193. description: 总敞口
  4194. type: number
  4195. TotalFutureQty:
  4196. description: 期货数量
  4197. type: number
  4198. TotalHedgeRatio:
  4199. description: 敞口比例
  4200. type: number
  4201. TotalNeedHedgeQty:
  4202. description: 期货应套保量
  4203. type: number
  4204. TotalSpotQty:
  4205. description: 现货数量
  4206. type: number
  4207. diffFutuQty:
  4208. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4209. type: number
  4210. diffSpotQty:
  4211. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4212. type: number
  4213. enumdicname:
  4214. description: 单位名称
  4215. type: string
  4216. oriTotalFutuQty:
  4217. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4218. type: number
  4219. oriTotalSpotQty:
  4220. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4221. type: number
  4222. type: object
  4223. models.ErmcpReportDayExposure:
  4224. properties:
  4225. areauserid:
  4226. description: 所属机构
  4227. type: integer
  4228. buyfutureqty:
  4229. description: 买入期货数量
  4230. type: number
  4231. buyplanqty:
  4232. description: 采购计划数量
  4233. type: number
  4234. buypricedqty:
  4235. description: 采购合同已定价数量
  4236. type: number
  4237. diffFutuQty:
  4238. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4239. type: number
  4240. diffSpotQty:
  4241. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4242. type: number
  4243. enumdicname:
  4244. description: 单位名称
  4245. type: string
  4246. middlegoodscode:
  4247. description: 套保品种代码
  4248. type: string
  4249. middlegoodshedgeratio:
  4250. description: 应套保比例
  4251. type: number
  4252. middlegoodsid:
  4253. description: 套保品种ID
  4254. type: integer
  4255. middlegoodsname:
  4256. description: 套保品种名称
  4257. type: string
  4258. needhedgeexposoure:
  4259. description: 应套保敞口
  4260. type: number
  4261. needhedgeratio:
  4262. description: 应套保敞口比例
  4263. type: number
  4264. oriTotalFutuQty:
  4265. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4266. type: number
  4267. oriTotalSpotQty:
  4268. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4269. type: number
  4270. oribuyfutureqty:
  4271. description: 期初买入期货数量
  4272. type: number
  4273. oribuyplanqty:
  4274. description: 期初采购计划数量
  4275. type: number
  4276. oribuypricedqty:
  4277. description: 期初采购合同已定价数量
  4278. type: number
  4279. orisellfutureqty:
  4280. description: 期初卖出期货数量
  4281. type: number
  4282. orisellplanqty:
  4283. description: 期初销售计划数量
  4284. type: number
  4285. orisellpricedqty:
  4286. description: 期初销售合同已定价数量
  4287. type: number
  4288. reckondate:
  4289. description: 日照时期(yyyyMMdd)
  4290. type: string
  4291. sellfutureqty:
  4292. description: 卖出期货数量
  4293. type: number
  4294. sellplanqty:
  4295. description: 销售计划数量
  4296. type: number
  4297. sellpricedqty:
  4298. description: 销售合同已定价数量
  4299. type: number
  4300. totalexposure:
  4301. description: 总敞口
  4302. type: number
  4303. totalfutureqty:
  4304. description: 期货数量
  4305. type: number
  4306. totalhedgeratio:
  4307. description: 敞口比例
  4308. type: number
  4309. totalneedhedgeqty:
  4310. description: 期货应套保量
  4311. type: number
  4312. totalspotqty:
  4313. description: 现货数量
  4314. type: number
  4315. type: object
  4316. models.ErmcpReportDayFR:
  4317. properties:
  4318. areauserid:
  4319. description: 所属机构
  4320. type: integer
  4321. collectinvoiceamount:
  4322. description: 今日开票金额
  4323. type: number
  4324. collectinvoicecount:
  4325. description: 今日开票笔数
  4326. type: integer
  4327. collectmoneyamount:
  4328. description: 今日收款金额
  4329. type: number
  4330. collectmoneycount:
  4331. description: 今日收款笔数
  4332. type: integer
  4333. payinvoiceamount:
  4334. description: 今日收票金额
  4335. type: number
  4336. payinvoicecount:
  4337. description: 今日收票笔数
  4338. type: integer
  4339. paymoneyamount:
  4340. description: 今日付款金额
  4341. type: number
  4342. paymoneycount:
  4343. description: 今日付款笔数
  4344. type: integer
  4345. reckondate:
  4346. description: 日照时期(yyyyMMdd)
  4347. type: string
  4348. updatetime:
  4349. description: 更新时间
  4350. type: string
  4351. type: object
  4352. models.ErmcpReportDaySpot:
  4353. properties:
  4354. areauserid:
  4355. description: 所属机构T
  4356. type: integer
  4357. buyinqty:
  4358. description: 采购入库量
  4359. type: number
  4360. enumdicname:
  4361. description: 现货商品单位名称
  4362. type: string
  4363. reckondate:
  4364. description: 日照时期(yyyyMMdd)
  4365. type: string
  4366. selloutqty:
  4367. description: 销售出库量
  4368. type: number
  4369. todaybuyreckonqty:
  4370. description: 采购确定量
  4371. type: number
  4372. todaysellreckonqty:
  4373. description: 销售确定量
  4374. type: number
  4375. totalbuypricedqty:
  4376. description: 采购定价量 = 期末 - 期初
  4377. type: number
  4378. totalsellpricedqty:
  4379. description: 销售定价量 = 期末 - 期初
  4380. type: number
  4381. wrstandardcode:
  4382. description: 现货商品代码
  4383. type: string
  4384. wrstandardid:
  4385. description: 现货商品ID
  4386. type: integer
  4387. wrstandardname:
  4388. description: 现货商品名称
  4389. type: string
  4390. type: object
  4391. models.ErmcpReportMonSpot:
  4392. properties:
  4393. areauserid:
  4394. description: 所属机构T
  4395. type: integer
  4396. buyinqty:
  4397. description: 采购入库量
  4398. type: number
  4399. cycletime:
  4400. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4401. type: string
  4402. cycletype:
  4403. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4404. type: integer
  4405. enumdicname:
  4406. description: 现货商品单位名称
  4407. type: string
  4408. selloutqty:
  4409. description: 销售出库量
  4410. type: number
  4411. todaybuyreckonqty:
  4412. description: 采购确定量
  4413. type: number
  4414. todaysellreckonqty:
  4415. description: 销售确定量
  4416. type: number
  4417. totalbuypricedqty:
  4418. description: 采购定价量 = 期末 - 期初
  4419. type: number
  4420. totalsellpricedqty:
  4421. description: 销售定价量 = 期末 - 期初
  4422. type: number
  4423. wrstandardcode:
  4424. description: 现货商品代码
  4425. type: string
  4426. wrstandardid:
  4427. description: 现货商品ID
  4428. type: integer
  4429. wrstandardname:
  4430. description: 现货商品名称
  4431. type: string
  4432. type: object
  4433. models.ErmcpReportMonthFR:
  4434. properties:
  4435. areauserid:
  4436. description: 所属机构【原值】
  4437. type: integer
  4438. collectinvoiceamount:
  4439. description: 今日开票金额【汇总】
  4440. type: number
  4441. collectinvoicecount:
  4442. description: 今日开票笔数【汇总】
  4443. type: integer
  4444. collectmoneyamount:
  4445. description: 今日收款金额【汇总】
  4446. type: number
  4447. collectmoneycount:
  4448. description: 今日收款笔数 【汇总】
  4449. type: integer
  4450. cycletime:
  4451. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4452. type: string
  4453. cycletype:
  4454. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4455. type: integer
  4456. dayFr:
  4457. description: 日报表明细
  4458. items:
  4459. $ref: '#/definitions/models.ErmcpReportDayFR'
  4460. type: array
  4461. payinvoiceamount:
  4462. description: 今日收票金额【汇总】
  4463. type: number
  4464. payinvoicecount:
  4465. description: 今日收票笔数【汇总】
  4466. type: integer
  4467. paymoneyamount:
  4468. description: 今日付款金额【汇总】
  4469. type: number
  4470. paymoneycount:
  4471. description: 今日付款笔数【汇总】
  4472. type: integer
  4473. updatetime:
  4474. description: 更新时间
  4475. type: string
  4476. type: object
  4477. models.ErmcpReportOPLog:
  4478. properties:
  4479. applyid:
  4480. description: 操作人
  4481. type: integer
  4482. applyname:
  4483. description: 操作人名称
  4484. type: string
  4485. biztype:
  4486. description: 业务类型 - 1:套保计划 2:现货合同
  4487. type: integer
  4488. brandname:
  4489. description: 品牌名称
  4490. type: string
  4491. contracttype:
  4492. description: 现货合同类型 - 1:采购 -1:销售
  4493. type: integer
  4494. enumdicName:
  4495. description: 单位名称
  4496. type: string
  4497. logdatetime:
  4498. description: 流水日期(时间)
  4499. type: string
  4500. logid:
  4501. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4502. type: string
  4503. logtypename:
  4504. description: 合同类型(名称)
  4505. type: string
  4506. logvalue:
  4507. description: 数值
  4508. type: string
  4509. modelname:
  4510. description: 型号名称
  4511. type: string
  4512. operatelogtype:
  4513. description: 操作流水类型 -
  4514. type: integer
  4515. optypename:
  4516. description: 流水类型名称
  4517. type: string
  4518. relatedid:
  4519. description: 现货合同ID\套保计划
  4520. type: string
  4521. relatedno:
  4522. description: 合同编号
  4523. type: string
  4524. tradedate:
  4525. description: 交易日(yyyyMMdd)
  4526. type: string
  4527. userid:
  4528. description: 机构ID
  4529. type: integer
  4530. wrstandardcode:
  4531. description: 现货商品代码
  4532. type: string
  4533. wrstandardid:
  4534. description: 现货商品ID
  4535. type: integer
  4536. wrstandardname:
  4537. description: 现货商品名称
  4538. type: string
  4539. type: object
  4540. models.ErmcpRole:
  4541. properties:
  4542. areauserid:
  4543. description: 所属机构
  4544. type: integer
  4545. autoid:
  4546. description: 角色ID(自增ID)
  4547. type: integer
  4548. modifierid:
  4549. description: 修改人(创建人)
  4550. type: integer
  4551. modifiername:
  4552. description: 修改人名称
  4553. type: string
  4554. modifytime:
  4555. description: 修改时间(创建时间)
  4556. type: string
  4557. rolename:
  4558. description: 角色名称
  4559. type: string
  4560. rolestatus:
  4561. description: 角色状态 - 1:启用 2:停用
  4562. type: integer
  4563. roletype:
  4564. description: 角色类型 - 1- 管理端 2- 交易端
  4565. type: integer
  4566. type: object
  4567. models.ErmcpRoleMenu:
  4568. properties:
  4569. iconame:
  4570. description: 菜单图标
  4571. type: string
  4572. menutype:
  4573. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  4574. type: integer
  4575. parentcode:
  4576. description: 上级资源代码
  4577. type: string
  4578. remark:
  4579. description: 菜单备注
  4580. type: string
  4581. resourcecode:
  4582. description: 菜单代码
  4583. type: string
  4584. resourcelevel:
  4585. description: 级别
  4586. type: integer
  4587. resourcename:
  4588. description: 菜单名称
  4589. type: string
  4590. roleid:
  4591. description: 角色id
  4592. type: integer
  4593. sort:
  4594. description: 排序
  4595. type: integer
  4596. url:
  4597. description: URL
  4598. type: string
  4599. userid:
  4600. description: 用户id
  4601. type: integer
  4602. type: object
  4603. models.ErmcpRoleMenuEx:
  4604. properties:
  4605. menu:
  4606. $ref: '#/definitions/models.ErmcpRoleMenu'
  4607. description: 父级菜单
  4608. type: object
  4609. subMenu:
  4610. description: 子级菜单
  4611. items:
  4612. $ref: '#/definitions/models.ErmcpRoleMenu'
  4613. type: array
  4614. type: object
  4615. models.ErmcpSpotContractModel:
  4616. properties:
  4617. amount:
  4618. description: 金额 [1:一口价、3:暂定价]
  4619. type: number
  4620. attachment:
  4621. description: 附件
  4622. type: string
  4623. auditremark:
  4624. description: 审核意见
  4625. type: string
  4626. audittime:
  4627. description: 审核时间
  4628. type: string
  4629. brandname:
  4630. description: 品牌名称
  4631. type: string
  4632. buyuserid:
  4633. description: 采购方ID
  4634. type: integer
  4635. buyusername:
  4636. description: 采购方名称
  4637. type: string
  4638. contracctstatus:
  4639. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4640. type: integer
  4641. contractmargin:
  4642. description: 合同保证金
  4643. type: number
  4644. contractno:
  4645. description: 现货合同编号
  4646. type: string
  4647. contracttype:
  4648. description: 现货合同类型 - 1:采购 -1:销售
  4649. type: integer
  4650. convertfactor:
  4651. description: 标仓系数
  4652. type: number
  4653. createtime:
  4654. description: 创建时间
  4655. type: string
  4656. deliveryenddate:
  4657. description: 交收期(结束)
  4658. type: string
  4659. deliverygoodscode:
  4660. description: 现货品种代码
  4661. type: string
  4662. deliverygoodsid:
  4663. description: 现货品种ID
  4664. type: integer
  4665. deliverygoodsname:
  4666. description: 现货品种名称
  4667. type: string
  4668. deliverystartdate:
  4669. description: 交收期(开始)
  4670. type: string
  4671. enddate:
  4672. description: 点价结束日期 [2:点价 3:暂定价]
  4673. type: string
  4674. enumdicname:
  4675. description: 单位名称
  4676. type: string
  4677. goodscode:
  4678. description: 点价合约代码
  4679. type: string
  4680. goodsid:
  4681. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4682. type: integer
  4683. goodsname:
  4684. description: 点价商品名称
  4685. type: string
  4686. margin:
  4687. description: 当前保证金
  4688. type: number
  4689. modelname:
  4690. description: 型号名称
  4691. type: string
  4692. price:
  4693. description: 价格\暂定价 [1:一口价、3:暂定价]
  4694. type: number
  4695. pricemove:
  4696. description: 升贴水 [2:点价 3:暂定价]
  4697. type: number
  4698. pricetype:
  4699. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4700. type: integer
  4701. producttype:
  4702. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4703. type: integer
  4704. qty:
  4705. description: 数量
  4706. type: number
  4707. remark:
  4708. description: 备注
  4709. type: string
  4710. selluserid:
  4711. description: 销售方ID
  4712. type: integer
  4713. sellusername:
  4714. description: 销售方名称
  4715. type: string
  4716. spotcontractid:
  4717. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4718. type: string
  4719. spotgoodsbrandid:
  4720. description: 现货品牌ID
  4721. type: integer
  4722. spotgoodsdesc:
  4723. description: 商品型号
  4724. type: string
  4725. spotgoodsmodelid:
  4726. description: 现货型号ID
  4727. type: integer
  4728. startdate:
  4729. description: 点价开始日期 [2:点价 3:暂定价]
  4730. type: string
  4731. updatetime:
  4732. description: 更新时间
  4733. type: string
  4734. userid:
  4735. description: 机构ID
  4736. type: integer
  4737. wrstandardcode:
  4738. description: 现货商品代码
  4739. type: string
  4740. wrstandardid:
  4741. description: 现货商品ID
  4742. type: integer
  4743. wrstandardname:
  4744. description: 现货商品名称
  4745. type: string
  4746. type: object
  4747. models.ErmcpTaAccount:
  4748. properties:
  4749. accountid:
  4750. description: 账户id
  4751. type: integer
  4752. accountname:
  4753. description: 账户名称
  4754. type: string
  4755. currencyid:
  4756. description: 币种id
  4757. type: integer
  4758. ismain:
  4759. description: 是否主账户 0-否 1-是
  4760. type: integer
  4761. parentaccountid:
  4762. description: 父账户id
  4763. type: integer
  4764. relateduserid:
  4765. description: 关联userid
  4766. type: integer
  4767. tradestatus:
  4768. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  4769. type: integer
  4770. type: object
  4771. models.ErmcpTaAccountEx:
  4772. properties:
  4773. mainAcc:
  4774. $ref: '#/definitions/models.ErmcpTaAccount'
  4775. description: 主账号
  4776. type: object
  4777. subacclist:
  4778. description: 子账号列表
  4779. items:
  4780. $ref: '#/definitions/models.ErmcpTaAccount'
  4781. type: array
  4782. type: object
  4783. models.ErmcpUserModel:
  4784. properties:
  4785. address:
  4786. description: 通讯地址
  4787. type: string
  4788. attachment1:
  4789. description: 附件1
  4790. type: string
  4791. audittime:
  4792. description: 审核时间
  4793. type: string
  4794. cardfrontphotourl:
  4795. description: 证件正面图片地址
  4796. type: string
  4797. cardnum:
  4798. description: 证件号码
  4799. type: string
  4800. cardtype:
  4801. description: 证件类型
  4802. type: integer
  4803. cardtypename:
  4804. description: 证件类型名称
  4805. type: string
  4806. cityid:
  4807. description: 市
  4808. type: integer
  4809. countryid:
  4810. description: 国家
  4811. type: integer
  4812. createtime:
  4813. description: 创建时间
  4814. type: string
  4815. customername:
  4816. description: 企业名称
  4817. type: string
  4818. districtid:
  4819. description: 区域
  4820. type: integer
  4821. memberuserid:
  4822. description: 所属机构ID
  4823. type: integer
  4824. mobile:
  4825. description: 手机号码
  4826. type: string
  4827. modifytime:
  4828. description: 修改时间
  4829. type: string
  4830. provinceid:
  4831. description: 省
  4832. type: integer
  4833. remark:
  4834. description: 备注
  4835. type: string
  4836. status:
  4837. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4838. type: integer
  4839. statusdesc:
  4840. description: 账户状态中文描述
  4841. type: string
  4842. telphone:
  4843. description: 联系电话
  4844. type: string
  4845. userid:
  4846. description: 用户ID
  4847. type: integer
  4848. userinfotype:
  4849. description: 客户类型
  4850. type: string
  4851. type: object
  4852. models.ErmcpWareHouseInfo:
  4853. properties:
  4854. address:
  4855. description: 详细地址
  4856. type: string
  4857. areauserid:
  4858. description: 所属机构
  4859. type: integer
  4860. autoid:
  4861. description: 自增ID(仓库ID)
  4862. type: integer
  4863. cityid:
  4864. description: 市
  4865. type: integer
  4866. contactname:
  4867. description: 联系人
  4868. type: string
  4869. contactnum:
  4870. description: 联系电话
  4871. type: string
  4872. countryid:
  4873. description: 国家
  4874. type: integer
  4875. createtime:
  4876. description: 创建时间
  4877. type: string
  4878. districtid:
  4879. description: 区
  4880. type: integer
  4881. hasvideo:
  4882. description: 是否有视频 - 0:无 1:有
  4883. type: integer
  4884. provinceid:
  4885. description: 省
  4886. type: integer
  4887. remark:
  4888. description: 审核备注
  4889. type: string
  4890. videourl:
  4891. description: 视频地址
  4892. type: string
  4893. warehousecode:
  4894. description: 仓库代码
  4895. type: string
  4896. warehousename:
  4897. description: 仓库名称
  4898. type: string
  4899. warehousestatus:
  4900. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4901. type: integer
  4902. warehousetype:
  4903. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4904. type: integer
  4905. type: object
  4906. models.ErmcpWrstandDetail:
  4907. properties:
  4908. gbList:
  4909. description: 品牌列表
  4910. items:
  4911. $ref: '#/definitions/models.GoodsBrand'
  4912. type: array
  4913. goodsList:
  4914. description: 关联交易商品列表
  4915. items:
  4916. $ref: '#/definitions/models.RelatedGoodsEx'
  4917. type: array
  4918. gtList:
  4919. description: 型号列表
  4920. items:
  4921. $ref: '#/definitions/models.GoodsTypeModel'
  4922. type: array
  4923. wrd:
  4924. $ref: '#/definitions/models.ErmcpWrstandard'
  4925. description: 基本信息
  4926. type: object
  4927. wrsList:
  4928. description: 套保信息列表
  4929. items:
  4930. $ref: '#/definitions/models.WRSConverTDetail'
  4931. type: array
  4932. type: object
  4933. models.ErmcpWrstandard:
  4934. properties:
  4935. areauserid:
  4936. description: 所属机构
  4937. type: integer
  4938. createtime:
  4939. description: 创建时间
  4940. type: string
  4941. creatorid:
  4942. description: 创建人
  4943. type: integer
  4944. deliverygoodsid:
  4945. description: 品种ID
  4946. type: integer
  4947. enumdicname:
  4948. description: 单位名称
  4949. type: string
  4950. isvalid:
  4951. description: 是否有效 0-无效(停用) 1-有效(正常)
  4952. type: integer
  4953. minivalue:
  4954. description: 最小变动值
  4955. type: integer
  4956. minivaluedp:
  4957. description: 最小变动值小数位
  4958. type: integer
  4959. realminivalue:
  4960. description: 实际最小变动值
  4961. type: integer
  4962. realminivaluedp:
  4963. description: 实际最小变动值小数位
  4964. type: integer
  4965. remark:
  4966. description: 备注
  4967. type: string
  4968. unitid:
  4969. description: 单位ID
  4970. type: integer
  4971. updatetime:
  4972. description: 更新时间
  4973. type: string
  4974. wrstandardcode:
  4975. description: 现货商品代码
  4976. type: string
  4977. wrstandardid:
  4978. description: 现货商品ID(SEQ_WRSTANDARD)
  4979. type: integer
  4980. wrstandardname:
  4981. description: 现货商品名称
  4982. type: string
  4983. type: object
  4984. models.Externalexchange:
  4985. properties:
  4986. autoid:
  4987. description: AutoID - SEQ_EXTERNALEXCHANGE
  4988. type: integer
  4989. exchangefullname:
  4990. description: 外部交易所全称
  4991. type: string
  4992. exexchangecode:
  4993. description: 外部交易所代码
  4994. type: string
  4995. exexchangename:
  4996. description: 外部交易所名称(简称)
  4997. type: string
  4998. ismarketprice:
  4999. description: 是否支持市价 - 0:不支持 1:支持
  5000. type: integer
  5001. quotegear:
  5002. description: 行情档位(1-10)
  5003. type: integer
  5004. showbrokerflag:
  5005. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5006. type: integer
  5007. updatetime:
  5008. description: 更新时间
  5009. type: string
  5010. required:
  5011. - autoid
  5012. type: object
  5013. models.Funcmenulist:
  5014. properties:
  5015. iconame:
  5016. description: 菜单图标
  5017. type: string
  5018. menutype:
  5019. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5020. type: integer
  5021. parentcode:
  5022. description: 上级资源代码
  5023. type: string
  5024. remark:
  5025. description: 备注
  5026. type: string
  5027. resourcecode:
  5028. description: 资源代码
  5029. type: string
  5030. resourcelevel:
  5031. description: 级别 1-一级 2-二级 3-三级 4-四级
  5032. type: integer
  5033. resourcename:
  5034. description: 资源名
  5035. type: string
  5036. sort:
  5037. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  5038. type: integer
  5039. url:
  5040. description: URL
  5041. type: string
  5042. required:
  5043. - resourcecode
  5044. type: object
  5045. models.Goods:
  5046. properties:
  5047. agreeunit:
  5048. description: 合约单位
  5049. type: number
  5050. auditaccountid:
  5051. description: 审核操作员账号
  5052. type: integer
  5053. audittime:
  5054. description: 审核时间
  5055. type: string
  5056. cancelaccountid:
  5057. description: 注销操作员账号
  5058. type: integer
  5059. canceltime:
  5060. description: 注销时间
  5061. type: string
  5062. closepricemode:
  5063. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5064. type: integer
  5065. closepriceparam:
  5066. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5067. type: number
  5068. createtime:
  5069. description: 创建时间
  5070. type: string
  5071. creatorid:
  5072. description: 创建人
  5073. type: integer
  5074. currencyid:
  5075. description: 报价货币ID
  5076. type: integer
  5077. cutmode:
  5078. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5079. type: integer
  5080. decimalplace:
  5081. description: 报价小数位
  5082. type: integer
  5083. delistingdate:
  5084. description: 商品退市时间(状态:退市) -- 已作废
  5085. type: string
  5086. delistingmode:
  5087. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5088. type: integer
  5089. deliveryflag:
  5090. description: 交割标志 - 0:不可交割 1:可交割
  5091. type: integer
  5092. forceclosemode:
  5093. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5094. type: integer
  5095. forceclosevalue:
  5096. description: 定期强平参数 [收益权]
  5097. type: integer
  5098. goodscode:
  5099. description: 商品代码(内部)
  5100. type: string
  5101. goodscurrencyid:
  5102. description: 合约货币ID
  5103. type: integer
  5104. goodsgroupid:
  5105. description: 所属商品组ID
  5106. type: integer
  5107. goodsid:
  5108. description: 商品ID(自增ID SEQ_GOODS)
  5109. type: integer
  5110. goodsname:
  5111. description: 商品名称
  5112. type: string
  5113. goodsquotetype:
  5114. description: '合约报价类型: 1-直接报价 2-间接报价'
  5115. type: integer
  5116. goodsstatus:
  5117. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5118. type: integer
  5119. goodstradetype:
  5120. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5121. type: integer
  5122. goodunitid:
  5123. description: 报价单位ID
  5124. type: integer
  5125. hasquoter:
  5126. description: 是否有报价商 - 0:无报价商 1:有报价商
  5127. type: integer
  5128. hqprotecttime:
  5129. description: 行情保护时间(秒)
  5130. type: integer
  5131. innerdealmode:
  5132. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5133. type: integer
  5134. isbuylimited:
  5135. description: 是否限制建仓量 - 0:不限制 1:限制
  5136. type: integer
  5137. lasttradedate:
  5138. description: 最后交易日期(状态:待退市)
  5139. type: string
  5140. listingdate:
  5141. description: 交易开始日期
  5142. type: string
  5143. marketid:
  5144. description: 所属市场ID
  5145. type: integer
  5146. modifierid:
  5147. description: 修改人
  5148. type: integer
  5149. modifystatus:
  5150. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5151. type: integer
  5152. modifytime:
  5153. description: 修改时间
  5154. type: string
  5155. outerdealmode:
  5156. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5157. type: integer
  5158. outgoodscode:
  5159. description: 商品代码(外部)
  5160. type: string
  5161. qtydecimalplace:
  5162. description: 成交量小数位
  5163. type: integer
  5164. quotegear:
  5165. description: 行情档位(1-10)
  5166. type: integer
  5167. quoteminunit:
  5168. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5169. type: integer
  5170. quoteshowtype:
  5171. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5172. type: integer
  5173. quoteshowtypeinterval:
  5174. description: 行情报价间隔时间(秒)(成交价时为0)
  5175. type: integer
  5176. remark:
  5177. description: 备注
  5178. type: string
  5179. required:
  5180. - goodscode
  5181. - goodsid
  5182. - goodsname
  5183. - marketid
  5184. type: object
  5185. models.GoodsBrand:
  5186. properties:
  5187. brandid:
  5188. description: 品牌ID
  5189. type: integer
  5190. brandname:
  5191. description: 品牌名称
  5192. type: string
  5193. isvalid:
  5194. description: 是否有效 - 0:无效 1:有效
  5195. type: integer
  5196. type: object
  5197. models.GoodsGroupConvert:
  5198. properties:
  5199. convertratio:
  5200. description: 折算系数
  5201. type: number
  5202. dstgoodsgroupid:
  5203. description: 目标期货品种ID
  5204. type: integer
  5205. goodsgroupname:
  5206. description: 期货品种名称
  5207. type: string
  5208. outergroupcode:
  5209. description: 期货品种代码
  5210. type: string
  5211. srcgoodsgroupid:
  5212. description: 源期货品种ID
  5213. type: integer
  5214. type: object
  5215. models.GoodsIDAndName:
  5216. properties:
  5217. goodscode:
  5218. description: 商品代码(内部)
  5219. type: string
  5220. goodsid:
  5221. description: 商品ID(自增ID SEQ_GOODS)
  5222. type: integer
  5223. goodsname:
  5224. description: 商品名称
  5225. type: string
  5226. marketid:
  5227. description: 所属市场ID
  5228. type: integer
  5229. required:
  5230. - goodscode
  5231. - goodsid
  5232. - goodsname
  5233. - marketid
  5234. type: object
  5235. models.GoodsTypeModel:
  5236. properties:
  5237. modelid:
  5238. description: 型号ID
  5239. type: integer
  5240. modelname:
  5241. description: 型号名称
  5242. type: string
  5243. updatetime:
  5244. description: 更新时间
  5245. type: string
  5246. type: object
  5247. models.Goodsgroup:
  5248. properties:
  5249. agreeunit:
  5250. description: 合约单位
  5251. type: number
  5252. canshort:
  5253. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5254. type: integer
  5255. closepricemode:
  5256. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5257. type: integer
  5258. closepriceparam:
  5259. description: 强平最新价浮动比例 - 方式为2时使用
  5260. type: number
  5261. createtime:
  5262. description: 创建时间
  5263. type: string
  5264. creatorid:
  5265. description: 创建人
  5266. type: integer
  5267. currencyid:
  5268. description: 报价货币ID
  5269. type: integer
  5270. decimalplace:
  5271. description: 报价小数位
  5272. type: integer
  5273. exercisetype:
  5274. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5275. type: integer
  5276. exexchangeid:
  5277. description: 外部交易所ID[通道交易]
  5278. type: integer
  5279. goodsgroupid:
  5280. description: 商品组ID(自增ID)
  5281. type: integer
  5282. goodsgroupname:
  5283. description: 商品组名称
  5284. type: string
  5285. goodsgroupstatus:
  5286. description: 商品组状态 - 1:正常 2:注销
  5287. type: integer
  5288. goodunitid:
  5289. description: 报价单位ID
  5290. type: integer
  5291. innerdealmode:
  5292. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5293. type: integer
  5294. isbuylimited:
  5295. description: 是否限制建仓量 - 0:不限制 1:限制
  5296. type: integer
  5297. marketid:
  5298. description: 所属市场ID
  5299. type: integer
  5300. modifierid:
  5301. description: 修改人
  5302. type: integer
  5303. modifytime:
  5304. description: 修改时间
  5305. type: string
  5306. outerdealmode:
  5307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5308. type: integer
  5309. outergroupcode:
  5310. description: 外部商品组代码[通道交易]
  5311. type: string
  5312. premiumdecimalplace:
  5313. description: 权利金小数位[场外期权]
  5314. type: integer
  5315. premiumspreadalgorithm:
  5316. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5317. type: integer
  5318. premiumspreadvalue:
  5319. description: 权利金点差值[场外期权]
  5320. type: number
  5321. qtydecimalplace:
  5322. description: 成交量小数位
  5323. type: integer
  5324. quotegear:
  5325. description: 行情档位(1-10)
  5326. type: integer
  5327. quoteminunit:
  5328. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5329. type: integer
  5330. quoterid:
  5331. description: 报价商ID[场外期权]
  5332. type: integer
  5333. quotesourcegroupid:
  5334. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5335. type: integer
  5336. syncgoodsqty:
  5337. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5338. type: integer
  5339. required:
  5340. - goodsgroupid
  5341. - goodsgroupname
  5342. - goodsgroupstatus
  5343. - marketid
  5344. type: object
  5345. models.Goodssortbypreposition:
  5346. properties:
  5347. goodscode:
  5348. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5349. type: string
  5350. goodsgroupcode:
  5351. description: 品种代码
  5352. type: string
  5353. prepositionqty:
  5354. description: 昨持仓量
  5355. type: integer
  5356. sortindex:
  5357. description: 排序
  5358. type: integer
  5359. tradedate:
  5360. description: 交易日
  5361. type: string
  5362. updatetime:
  5363. description: 更新时间
  5364. type: string
  5365. required:
  5366. - goodscode
  5367. - tradedate
  5368. type: object
  5369. models.HsbyBuyMyPayOrder:
  5370. properties:
  5371. agreeunit:
  5372. description: 合约单位
  5373. type: number
  5374. buyaccountid:
  5375. description: 买方账号ID[报价币种]
  5376. type: integer
  5377. buyorderid:
  5378. description: 买方委托单号
  5379. type: string
  5380. createtime:
  5381. description: 创建时间
  5382. type: string
  5383. currencysign:
  5384. description: 货币符号
  5385. type: string
  5386. decimalplace:
  5387. description: 报价小数位
  5388. type: integer
  5389. goodscode:
  5390. description: 商品代码(内部)
  5391. type: string
  5392. goodsid:
  5393. description: 商品ID
  5394. type: integer
  5395. goodsname:
  5396. description: 商品名称
  5397. type: string
  5398. marketid:
  5399. description: 市场ID
  5400. type: integer
  5401. offamount:
  5402. description: 优惠金额
  5403. type: number
  5404. originalamount:
  5405. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  5406. type: number
  5407. payamount:
  5408. description: 支付金额 = TradeAmount + TradeCharge
  5409. type: number
  5410. payflag:
  5411. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5412. type: integer
  5413. paylimitedtime:
  5414. description: 支付期限
  5415. type: string
  5416. paytime:
  5417. description: 付款时间
  5418. type: string
  5419. picurls1:
  5420. description: 预售商品介绍图片[多张用逗号分隔]
  5421. type: string
  5422. picurls2:
  5423. description: 挂牌商品介绍图片[多张用逗号分隔]
  5424. type: string
  5425. sellaccountid:
  5426. description: 卖方账号ID[报价币种]
  5427. type: integer
  5428. sellorderid:
  5429. description: 卖方委托单号
  5430. type: string
  5431. tradeamount:
  5432. description: 成交金额
  5433. type: number
  5434. tradecharge:
  5435. description: 成交手续费(买方)
  5436. type: number
  5437. tradedate:
  5438. description: 交易日(yyyyMMdd)
  5439. type: string
  5440. tradeid:
  5441. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5442. type: string
  5443. trademode:
  5444. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5445. 21:竞拍-大宗式 22:受托竞价
  5446. type: integer
  5447. tradeprice:
  5448. description: 成交价格
  5449. type: number
  5450. tradeqty:
  5451. description: 成交数量
  5452. type: integer
  5453. vendorname1:
  5454. description: 预售商品供应商名称
  5455. type: string
  5456. vendorname2:
  5457. description: 挂牌商品供应商名称
  5458. type: string
  5459. required:
  5460. - goodscode
  5461. - goodsname
  5462. - tradeid
  5463. - trademode
  5464. type: object
  5465. models.HsbyBuyMyTradeDetail:
  5466. properties:
  5467. accountid:
  5468. description: 账户ID[报价币种]
  5469. type: integer
  5470. agreeunit:
  5471. description: 合约单位
  5472. type: number
  5473. amount:
  5474. description: 金额 = 价格 * 数量 * 合约单位
  5475. type: number
  5476. buyorsell:
  5477. description: 买卖 - 0:买 1:卖
  5478. type: integer
  5479. currencysign:
  5480. description: 货币符号
  5481. type: string
  5482. decimalplace:
  5483. description: 报价小数位
  5484. type: integer
  5485. goodscode:
  5486. description: 商品代码(内部)
  5487. type: string
  5488. goodsid:
  5489. description: 商品ID
  5490. type: integer
  5491. goodsname:
  5492. description: 商品名称
  5493. type: string
  5494. marketid:
  5495. description: 市场ID
  5496. type: integer
  5497. orderamount:
  5498. description: 委托金额
  5499. type: number
  5500. orderid:
  5501. description: 单号(成交单号)
  5502. type: string
  5503. picurls1:
  5504. description: 预售商品介绍图片[多张用逗号分隔]
  5505. type: string
  5506. picurls2:
  5507. description: 挂牌商品介绍图片[多张用逗号分隔]
  5508. type: string
  5509. price:
  5510. description: 价格
  5511. type: number
  5512. qty:
  5513. description: 数量
  5514. type: integer
  5515. time:
  5516. description: 时间
  5517. type: string
  5518. trademode:
  5519. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5520. 21:竞拍-大宗式 22:受托竞价
  5521. type: integer
  5522. vendorname1:
  5523. description: 预售商品供应商名称
  5524. type: string
  5525. vendorname2:
  5526. description: 挂牌商品供应商名称
  5527. type: string
  5528. required:
  5529. - accountid
  5530. - buyorsell
  5531. - goodscode
  5532. - goodsid
  5533. - goodsname
  5534. - marketid
  5535. - orderid
  5536. - qty
  5537. - time
  5538. - trademode
  5539. type: object
  5540. models.HsbyGoodsOrderDetail:
  5541. properties:
  5542. buyorsell:
  5543. description: 买卖 - 0:买 1:卖
  5544. type: integer
  5545. currencysign:
  5546. description: 货币符号
  5547. type: string
  5548. customername:
  5549. description: 客户名称(企业名称),已脱敏
  5550. type: string
  5551. enableqty:
  5552. description: 可用数量
  5553. type: integer
  5554. goodunit:
  5555. description: 报价单位
  5556. type: string
  5557. orderid:
  5558. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5559. type: string
  5560. orderprice:
  5561. description: 委托价格
  5562. type: number
  5563. ordertime:
  5564. description: 委托时间
  5565. type: string
  5566. required:
  5567. - buyorsell
  5568. - orderid
  5569. - ordertime
  5570. type: object
  5571. models.HsbyListingGoodsDetail:
  5572. properties:
  5573. agreeunit:
  5574. description: 合约单位
  5575. type: number
  5576. buymaxqty:
  5577. description: 购买上限 [71] - 0为不限
  5578. type: integer
  5579. currency:
  5580. description: 货币
  5581. type: string
  5582. currencysign:
  5583. description: 货币符号
  5584. type: string
  5585. decimalplace:
  5586. description: 报价小数位
  5587. type: integer
  5588. desccityid:
  5589. description: 目的地(市)ID
  5590. type: integer
  5591. descprovinceid:
  5592. description: 目的地(省)ID
  5593. type: integer
  5594. goodscode:
  5595. description: 商品代码(内部)
  5596. type: string
  5597. goodsdesc:
  5598. description: 商品详情
  5599. type: string
  5600. goodsid:
  5601. description: 商品ID(自增ID SEQ_GOODS)
  5602. type: integer
  5603. goodsname:
  5604. description: 商品名称
  5605. type: string
  5606. goodsprice:
  5607. description: 商品价格
  5608. type: number
  5609. hotindex:
  5610. description: 景点热度
  5611. type: integer
  5612. last:
  5613. description: 现价
  5614. type: number
  5615. limitdown:
  5616. description: 跌停价
  5617. type: number
  5618. limitup:
  5619. description: 涨停价
  5620. type: number
  5621. lotsize:
  5622. description: 手数最小变动单位
  5623. type: integer
  5624. marketid:
  5625. description: 所属市场ID
  5626. type: integer
  5627. picurls:
  5628. description: 介绍图片[多张用逗号分隔]
  5629. type: string
  5630. quoteminunit:
  5631. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5632. type: integer
  5633. stepvalue:
  5634. description: 价格最小变动单位
  5635. type: number
  5636. trademode:
  5637. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5638. 21:竞拍-大宗式 22:受托竞价
  5639. type: integer
  5640. vendorattr:
  5641. description: 供应商附件(多张,逗号分隔)
  5642. type: string
  5643. vendorname:
  5644. description: 供应商名称
  5645. type: string
  5646. vendorphone:
  5647. description: 供应商客服电话
  5648. type: string
  5649. videourls:
  5650. description: 介绍视频[多张用逗号分隔]
  5651. type: string
  5652. required:
  5653. - goodscode
  5654. - goodsid
  5655. - goodsname
  5656. - marketid
  5657. - trademode
  5658. type: object
  5659. models.HsbyMarketGoods:
  5660. properties:
  5661. accountid:
  5662. description: 账户ID[报价币种]
  5663. type: integer
  5664. agreeunit:
  5665. description: 合约单位
  5666. type: number
  5667. buyorsell:
  5668. description: 买卖 - 0:买 1:卖
  5669. type: integer
  5670. categoryid:
  5671. description: 类别ID(WRCATEGORY)
  5672. type: integer
  5673. currency:
  5674. description: 货币
  5675. type: string
  5676. currencysign:
  5677. description: 货币符号
  5678. type: string
  5679. customername:
  5680. description: 卖家名称
  5681. type: string
  5682. decimalplace:
  5683. description: 报价小数位
  5684. type: integer
  5685. goodscode:
  5686. description: 商品代码(内部)
  5687. type: string
  5688. goodsid:
  5689. description: 商品ID
  5690. type: integer
  5691. goodsname:
  5692. description: 商品名称
  5693. type: string
  5694. goodsprice:
  5695. description: 商品价格
  5696. type: number
  5697. hascoupon:
  5698. description: 是否可用优惠卷
  5699. type: boolean
  5700. hotindex:
  5701. description: 景点热度
  5702. type: integer
  5703. marketid:
  5704. description: 市场ID
  5705. type: integer
  5706. orderid:
  5707. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5708. type: string
  5709. orderprice:
  5710. description: 委托价格
  5711. type: number
  5712. orderstatus:
  5713. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5714. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5715. 16:成交失败违约(荷兰式竞拍专用)
  5716. type: integer
  5717. picurls:
  5718. description: 介绍图片[多张用逗号分隔]
  5719. type: string
  5720. quoteminunit:
  5721. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5722. type: integer
  5723. sellUserID:
  5724. description: 卖方UserID
  5725. type: integer
  5726. trademode:
  5727. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5728. 21:竞拍-大宗式 22:受托竞价
  5729. type: integer
  5730. videourls:
  5731. description: 介绍视频[多张用逗号分隔]
  5732. type: string
  5733. required:
  5734. - accountid
  5735. - buyorsell
  5736. - goodscode
  5737. - goodsid
  5738. - goodsname
  5739. - marketid
  5740. - orderid
  5741. - trademode
  5742. type: object
  5743. models.HsbyMarketGoodsDetail:
  5744. properties:
  5745. accountid:
  5746. description: 账户ID[报价币种]
  5747. type: integer
  5748. agreeunit:
  5749. description: 合约单位
  5750. type: number
  5751. buymaxqty:
  5752. description: 购买上限 [71] - 0为不限
  5753. type: integer
  5754. buyorsell:
  5755. description: 买卖 - 0:买 1:卖
  5756. type: integer
  5757. cancelqty:
  5758. description: 撤单数量
  5759. type: integer
  5760. categoryid:
  5761. description: 类别ID(WRCATEGORY)
  5762. type: integer
  5763. currency:
  5764. description: 货币
  5765. type: string
  5766. currencysign:
  5767. description: 货币符号
  5768. type: string
  5769. customername:
  5770. description: 卖家名称
  5771. type: string
  5772. decimalplace:
  5773. description: 报价小数位
  5774. type: integer
  5775. goodscode:
  5776. description: 商品代码(内部)
  5777. type: string
  5778. goodsdesc:
  5779. description: 商品详情
  5780. type: string
  5781. goodsid:
  5782. description: 商品ID
  5783. type: integer
  5784. goodsname:
  5785. description: 商品名称
  5786. type: string
  5787. goodsprice:
  5788. description: 商品价格
  5789. type: number
  5790. hotindex:
  5791. description: 景点热度
  5792. type: integer
  5793. lotsize:
  5794. description: 手数最小变动单位
  5795. type: integer
  5796. marketid:
  5797. description: 市场ID
  5798. type: integer
  5799. orderid:
  5800. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5801. type: string
  5802. orderprice:
  5803. description: 委托价格
  5804. type: number
  5805. orderqty:
  5806. description: 委托数量
  5807. type: integer
  5808. orderstatus:
  5809. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5810. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5811. 16:成交失败违约(荷兰式竞拍专用)
  5812. type: integer
  5813. picurls:
  5814. description: 介绍图片[多张用逗号分隔]
  5815. type: string
  5816. quoteminunit:
  5817. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5818. type: integer
  5819. sellUserID:
  5820. description: 卖方UserID
  5821. type: integer
  5822. trademode:
  5823. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5824. 21:竞拍-大宗式 22:受托竞价
  5825. type: integer
  5826. tradeqty:
  5827. description: 成交数量
  5828. type: integer
  5829. vendorattr:
  5830. description: 供应商附件(多张,逗号分隔)
  5831. type: string
  5832. vendorname:
  5833. description: 供应商名称
  5834. type: string
  5835. vendorphone:
  5836. description: 供应商客服电话
  5837. type: string
  5838. videourls:
  5839. description: 介绍视频[多张用逗号分隔]
  5840. type: string
  5841. required:
  5842. - accountid
  5843. - buyorsell
  5844. - goodscode
  5845. - goodsid
  5846. - goodsname
  5847. - marketid
  5848. - orderid
  5849. - orderqty
  5850. - trademode
  5851. type: object
  5852. models.HsbyMarketInfo:
  5853. properties:
  5854. marketid:
  5855. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5856. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5857. type: integer
  5858. marketname:
  5859. description: 市场名称
  5860. type: string
  5861. marketstatus:
  5862. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5863. type: integer
  5864. trademode:
  5865. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5866. 21:竞拍-大宗式 22:受托竞价
  5867. type: integer
  5868. required:
  5869. - marketid
  5870. - marketstatus
  5871. - trademode
  5872. type: object
  5873. models.HsbyMyGoods:
  5874. properties:
  5875. accountid:
  5876. description: 账号Id
  5877. type: integer
  5878. agreeunit:
  5879. description: 合约单位
  5880. type: number
  5881. buyaverageprice:
  5882. description: 持仓均价
  5883. type: number
  5884. buycurholderamount:
  5885. description: 买当前持仓总金额[商品币种]
  5886. type: number
  5887. buycurpositionqty:
  5888. description: 买当前持仓总数量
  5889. type: integer
  5890. buymaxqty:
  5891. description: 购买上限 [71] - 0为不限
  5892. type: integer
  5893. currencysign:
  5894. description: 货币符号
  5895. type: string
  5896. decimalplace:
  5897. description: 报价小数位
  5898. type: integer
  5899. enableqty:
  5900. description: 可用数量
  5901. type: integer
  5902. goodscode:
  5903. description: 商品代码(内部)
  5904. type: string
  5905. goodsid:
  5906. description: 商品Id
  5907. type: integer
  5908. goodsname:
  5909. description: 商品名称
  5910. type: string
  5911. goodsprice:
  5912. description: 商品价格
  5913. type: number
  5914. goodsstatus:
  5915. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5916. type: integer
  5917. last:
  5918. description: 现价(仅使用于挂牌点选)
  5919. type: number
  5920. limitdown:
  5921. description: 跌停价(仅使用于挂牌点选)
  5922. type: number
  5923. limitup:
  5924. description: 涨停价(仅使用于挂牌点选)
  5925. type: number
  5926. lotsize:
  5927. description: 手数最小变动单位
  5928. type: integer
  5929. marketid:
  5930. description: 所属市场ID
  5931. type: integer
  5932. picurls:
  5933. description: 介绍图片[多张用逗号分隔]
  5934. type: string
  5935. quoteminunit:
  5936. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5937. type: integer
  5938. stepvalue:
  5939. description: 价格最小变动单位
  5940. type: number
  5941. trademode:
  5942. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5943. 21:竞拍-大宗式 22:受托竞价
  5944. type: integer
  5945. required:
  5946. - accountid
  5947. - goodscode
  5948. - goodsid
  5949. - goodsname
  5950. - marketid
  5951. - trademode
  5952. type: object
  5953. models.HsbyMyPackage:
  5954. properties:
  5955. accountid:
  5956. description: 账户ID
  5957. type: integer
  5958. address:
  5959. description: 提货人详细地址
  5960. type: string
  5961. agreeunit:
  5962. description: 合约单位
  5963. type: number
  5964. amount:
  5965. description: 提货金额
  5966. type: number
  5967. auditer:
  5968. description: 审核人
  5969. type: integer
  5970. audittime:
  5971. description: 审核时间
  5972. type: string
  5973. averageprice:
  5974. description: 均价
  5975. type: number
  5976. cardnum:
  5977. description: 提货人证件号码
  5978. type: string
  5979. cardtypeid:
  5980. description: 提货人证件类型
  5981. type: integer
  5982. checkremark:
  5983. description: 审核备注
  5984. type: string
  5985. currencysign:
  5986. description: 货币符号
  5987. type: string
  5988. decimalplace:
  5989. description: 报价小数位
  5990. type: integer
  5991. goodscode:
  5992. description: 商品代码(内部)
  5993. type: string
  5994. goodsid:
  5995. description: 商品ID
  5996. type: integer
  5997. goodsname:
  5998. description: 商品名称
  5999. type: string
  6000. handlestatus:
  6001. description: 处理状态
  6002. type: integer
  6003. marketid:
  6004. description: 市场ID
  6005. type: integer
  6006. phonenum:
  6007. description: 提货人联系方式
  6008. type: string
  6009. picurls:
  6010. description: 介绍图片[多张用逗号分隔]
  6011. type: string
  6012. qty:
  6013. description: 提货数量
  6014. type: number
  6015. recivername:
  6016. description: 提货人姓名
  6017. type: string
  6018. reqtime:
  6019. description: 更新时间
  6020. type: string
  6021. takemode:
  6022. description: 提货方式 - 2:自提 3:配送
  6023. type: integer
  6024. takeorderid:
  6025. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6026. type: string
  6027. takeorderstatus:
  6028. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6029. type: integer
  6030. takeremark:
  6031. description: 提货备注
  6032. type: string
  6033. tradedate:
  6034. description: 交易日(yyyyMMdd)
  6035. type: string
  6036. trademode:
  6037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6038. 21:竞拍-大宗式 22:受托竞价
  6039. type: integer
  6040. userid:
  6041. description: 用户ID
  6042. type: integer
  6043. vendorname:
  6044. description: 供应商名称
  6045. type: string
  6046. required:
  6047. - goodscode
  6048. - goodsname
  6049. - takeorderid
  6050. - trademode
  6051. type: object
  6052. models.HsbyPreGoods:
  6053. properties:
  6054. agreeunit:
  6055. description: 合约单位
  6056. type: number
  6057. currency:
  6058. description: 货币
  6059. type: string
  6060. currencysign:
  6061. description: 货币符号
  6062. type: string
  6063. decimalplace:
  6064. description: 报价小数位
  6065. type: integer
  6066. desccityid:
  6067. description: 目的地(市)
  6068. type: integer
  6069. descprovinceid:
  6070. description: 目的地(省)
  6071. type: integer
  6072. enableqty:
  6073. description: 剩余数量
  6074. type: integer
  6075. goodscode:
  6076. description: 商品代码(内部)
  6077. type: string
  6078. goodsid:
  6079. description: 商品ID(自增ID SEQ_GOODS)
  6080. type: integer
  6081. goodsname:
  6082. description: 商品名称
  6083. type: string
  6084. goodsstatus:
  6085. description: 商品状态- 2:未上市 3:上市
  6086. type: integer
  6087. lasttradedate:
  6088. description: 最后交易日期(状态:待退市)
  6089. type: string
  6090. listingdate:
  6091. description: 交易开始日期
  6092. type: string
  6093. marketid:
  6094. description: 所属市场ID
  6095. type: integer
  6096. picurls:
  6097. description: 介绍图片[多张用逗号分隔]
  6098. type: string
  6099. presaledqty:
  6100. description: 已预售量(预售结束时更新)
  6101. type: integer
  6102. presaleqty:
  6103. description: 预售数量
  6104. type: integer
  6105. quoteminunit:
  6106. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6107. type: integer
  6108. refprice:
  6109. description: 参考价格[一口价]
  6110. type: number
  6111. relatedgoodsid:
  6112. description: 关联交易合约ID
  6113. type: integer
  6114. trademode:
  6115. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6116. 21:竞拍-大宗式 22:受托竞价
  6117. type: integer
  6118. videourls:
  6119. description: 介绍视频[多张用逗号分隔]
  6120. type: string
  6121. required:
  6122. - goodscode
  6123. - goodsid
  6124. - goodsname
  6125. - marketid
  6126. - trademode
  6127. type: object
  6128. models.HsbyPreGoodsDetail:
  6129. properties:
  6130. agreeunit:
  6131. description: 合约单位
  6132. type: number
  6133. buymaxqty:
  6134. description: 购买上限 [71] - 0为不限
  6135. type: integer
  6136. currency:
  6137. description: 货币
  6138. type: string
  6139. currencysign:
  6140. description: 货币符号
  6141. type: string
  6142. customername:
  6143. description: 发行单位
  6144. type: string
  6145. decimalplace:
  6146. description: 报价小数位
  6147. type: integer
  6148. desccityid:
  6149. description: 目的地(市)ID
  6150. type: integer
  6151. descprovinceid:
  6152. description: 目的地(省)ID
  6153. type: integer
  6154. enableqty:
  6155. description: 剩余数量
  6156. type: integer
  6157. goodscode:
  6158. description: 商品代码(内部)
  6159. type: string
  6160. goodsdesc:
  6161. description: 商品详情
  6162. type: string
  6163. goodsid:
  6164. description: 商品ID(自增ID SEQ_GOODS)
  6165. type: integer
  6166. goodsname:
  6167. description: 商品名称
  6168. type: string
  6169. goodsstatus:
  6170. description: 商品状态- 2:未上市 3:上市
  6171. type: integer
  6172. goodunit:
  6173. description: 报价单位
  6174. type: string
  6175. lasttradedate:
  6176. description: 最后交易日期(状态:待退市)
  6177. type: string
  6178. listingdate:
  6179. description: 交易开始日期
  6180. type: string
  6181. lotsize:
  6182. description: 手数最小变动单位
  6183. type: integer
  6184. marketid:
  6185. description: 所属市场ID
  6186. type: integer
  6187. picurls:
  6188. description: 介绍图片[多张用逗号分隔]
  6189. type: string
  6190. presaledqty:
  6191. description: 已预售量(预售结束时更新)
  6192. type: integer
  6193. presaleqty:
  6194. description: 预售数量
  6195. type: integer
  6196. quoteminunit:
  6197. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6198. type: integer
  6199. refprice:
  6200. description: 参考价格[一口价]
  6201. type: number
  6202. relatedgoodsid:
  6203. description: 关联交易合约ID
  6204. type: integer
  6205. stepvalue:
  6206. description: 价格最小变动单位
  6207. type: number
  6208. trademode:
  6209. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6210. 21:竞拍-大宗式 22:受托竞价
  6211. type: integer
  6212. vendorattr:
  6213. description: 供应商附件(多张,逗号分隔)
  6214. type: string
  6215. vendorname:
  6216. description: 供应商名称
  6217. type: string
  6218. vendorphone:
  6219. description: 供应商客服电话
  6220. type: string
  6221. videourls:
  6222. description: 介绍视频[多张用逗号分隔]
  6223. type: string
  6224. required:
  6225. - goodscode
  6226. - goodsid
  6227. - goodsname
  6228. - marketid
  6229. - trademode
  6230. type: object
  6231. models.HsbySellCollectionOrder:
  6232. properties:
  6233. agreeunit:
  6234. description: 合约单位
  6235. type: number
  6236. buyaccountid:
  6237. description: 买方账号ID[报价币种]
  6238. type: integer
  6239. buyorderid:
  6240. description: 买方委托单号
  6241. type: string
  6242. createtime:
  6243. description: 创建时间
  6244. type: string
  6245. currencysign:
  6246. description: 货币符号
  6247. type: string
  6248. decimalplace:
  6249. description: 报价小数位
  6250. type: integer
  6251. goodscode:
  6252. description: 商品代码(内部)
  6253. type: string
  6254. goodsid:
  6255. description: 商品ID
  6256. type: integer
  6257. goodsname:
  6258. description: 商品名称
  6259. type: string
  6260. marketid:
  6261. description: 市场ID
  6262. type: integer
  6263. offamount:
  6264. description: 优惠金额
  6265. type: number
  6266. payamount:
  6267. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6268. type: number
  6269. payflag:
  6270. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6271. type: integer
  6272. paylimitedtime:
  6273. description: 支付期限
  6274. type: string
  6275. paytime:
  6276. description: 付款时间
  6277. type: string
  6278. picurls:
  6279. description: 商品介绍图片[多张用逗号分隔]
  6280. type: string
  6281. sellaccountid:
  6282. description: 卖方账号ID[报价币种]
  6283. type: integer
  6284. sellorderid:
  6285. description: 卖方委托单号
  6286. type: string
  6287. tradeamount:
  6288. description: 成交金额
  6289. type: number
  6290. tradecharge:
  6291. description: 成交手续费(买方)
  6292. type: number
  6293. tradedate:
  6294. description: 交易日(yyyyMMdd)
  6295. type: string
  6296. tradeid:
  6297. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6298. type: string
  6299. trademode:
  6300. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6301. 21:竞拍-大宗式 22:受托竞价
  6302. type: integer
  6303. tradeprice:
  6304. description: 成交价格
  6305. type: number
  6306. tradeqty:
  6307. description: 成交数量
  6308. type: integer
  6309. required:
  6310. - goodscode
  6311. - goodsname
  6312. - tradeid
  6313. - trademode
  6314. type: object
  6315. models.HsbySellMyDetail:
  6316. properties:
  6317. accountid:
  6318. description: 账户ID[报价币种]
  6319. type: integer
  6320. agreeunit:
  6321. description: 合约单位
  6322. type: number
  6323. buyorsell:
  6324. description: 买卖 - 0:买 1:卖
  6325. type: integer
  6326. currencysign:
  6327. description: 货币符号
  6328. type: string
  6329. decimalplace:
  6330. description: 报价小数位
  6331. type: integer
  6332. goodscode:
  6333. description: 商品代码(内部)
  6334. type: string
  6335. goodsid:
  6336. description: 商品ID
  6337. type: integer
  6338. goodsname:
  6339. description: 商品名称
  6340. type: string
  6341. marketid:
  6342. description: 市场ID
  6343. type: integer
  6344. orderid:
  6345. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6346. type: string
  6347. ordertype:
  6348. description: 单据类型:0 - 发布中, 1 - 已完成
  6349. type: integer
  6350. picurls:
  6351. description: 介绍图片[多张用逗号分隔]
  6352. type: string
  6353. price:
  6354. description: 价格
  6355. type: number
  6356. qty:
  6357. description: 数量
  6358. type: integer
  6359. time:
  6360. description: 时间
  6361. type: string
  6362. trademode:
  6363. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6364. 21:竞拍-大宗式 22:受托竞价
  6365. type: integer
  6366. vendorname:
  6367. description: 供应商名称
  6368. type: string
  6369. required:
  6370. - accountid
  6371. - buyorsell
  6372. - goodscode
  6373. - goodsid
  6374. - goodsname
  6375. - marketid
  6376. - orderid
  6377. - time
  6378. - trademode
  6379. type: object
  6380. models.HsbyTopGoods:
  6381. properties:
  6382. agreeunit:
  6383. description: 合约单位
  6384. type: number
  6385. currency:
  6386. description: 货币
  6387. type: string
  6388. currencysign:
  6389. description: 货币符号
  6390. type: string
  6391. decimalplace:
  6392. description: 报价小数位
  6393. type: integer
  6394. desccityid:
  6395. description: 目的地(市)
  6396. type: integer
  6397. descprovinceid:
  6398. description: 目的地(省)
  6399. type: integer
  6400. goodscode:
  6401. description: 商品代码(内部)
  6402. type: string
  6403. goodsid:
  6404. description: 商品ID(自增ID SEQ_GOODS)
  6405. type: integer
  6406. goodsname:
  6407. description: 商品名称
  6408. type: string
  6409. hotindex:
  6410. description: 景点热度
  6411. type: integer
  6412. last:
  6413. description: 现价
  6414. type: number
  6415. marketid:
  6416. description: 所属市场ID
  6417. type: integer
  6418. picurls:
  6419. description: 介绍图片[多张用逗号分隔]
  6420. type: string
  6421. quoteminunit:
  6422. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6423. type: integer
  6424. trademode:
  6425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6426. 21:竞拍-大宗式 22:受托竞价
  6427. type: integer
  6428. videourls:
  6429. description: 介绍视频[多张用逗号分隔]
  6430. type: string
  6431. required:
  6432. - goodscode
  6433. - goodsid
  6434. - goodsname
  6435. - marketid
  6436. - trademode
  6437. type: object
  6438. models.HybsMyBuyOrderDetail:
  6439. properties:
  6440. accountid:
  6441. description: 账户ID[报价币种]
  6442. type: integer
  6443. agreeunit:
  6444. description: 合约单位
  6445. type: number
  6446. buyorsell:
  6447. description: 买卖 - 0:买 1:卖
  6448. type: integer
  6449. cancelqty:
  6450. description: 撤单数量
  6451. type: integer
  6452. currencysign:
  6453. description: 货币符号
  6454. type: string
  6455. decimalplace:
  6456. description: 报价小数位
  6457. type: integer
  6458. goodscode:
  6459. description: 商品代码(内部)
  6460. type: string
  6461. goodsid:
  6462. description: 商品ID
  6463. type: integer
  6464. goodsname:
  6465. description: 商品名称
  6466. type: string
  6467. listingselecttype:
  6468. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6469. type: integer
  6470. marketid:
  6471. description: 市场ID
  6472. type: integer
  6473. mybuystatus:
  6474. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6475. type: integer
  6476. orderamount:
  6477. description: 委托金额
  6478. type: number
  6479. orderid:
  6480. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6481. type: string
  6482. orderprice:
  6483. description: 委托价格
  6484. type: number
  6485. orderqty:
  6486. description: 委托数量
  6487. type: integer
  6488. orderstatus:
  6489. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6490. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6491. 16:成交失败违约(荷兰式竞拍专用)
  6492. type: integer
  6493. ordertime:
  6494. description: 委托时间
  6495. type: string
  6496. picurls1:
  6497. description: 预售商品介绍图片[多张用逗号分隔]
  6498. type: string
  6499. picurls2:
  6500. description: 挂牌商品介绍图片[多张用逗号分隔]
  6501. type: string
  6502. trademode:
  6503. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6504. 21:竞拍-大宗式 22:受托竞价
  6505. type: integer
  6506. tradeqty:
  6507. description: 成交数量
  6508. type: integer
  6509. vendorname1:
  6510. description: 预售商品供应商名称
  6511. type: string
  6512. vendorname2:
  6513. description: 挂牌商品供应商名称
  6514. type: string
  6515. required:
  6516. - accountid
  6517. - buyorsell
  6518. - goodscode
  6519. - goodsid
  6520. - goodsname
  6521. - marketid
  6522. - orderid
  6523. - orderqty
  6524. - ordertime
  6525. - trademode
  6526. type: object
  6527. models.Loginaccount:
  6528. properties:
  6529. canoutin:
  6530. description: 是否可出入金 - 0:不可 1:可
  6531. type: integer
  6532. clientroleid:
  6533. description: 终端角色ID
  6534. type: integer
  6535. haslogined:
  6536. description: 是否已登录 - 0:未登录 1:已登录
  6537. type: integer
  6538. hasupdatedpwd:
  6539. description: 是否已更改密码 - 0:未修改 1:已修改
  6540. type: integer
  6541. lastloginip:
  6542. description: 最新登录地址
  6543. type: string
  6544. lastloginmode:
  6545. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6546. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6547. type: integer
  6548. lastloginremark:
  6549. description: 最新登录描述
  6550. type: string
  6551. lastlogintime:
  6552. description: 最新登录时间
  6553. type: string
  6554. logincode:
  6555. description: 登录代码
  6556. type: string
  6557. loginfailnum:
  6558. description: 连续登录失败次数(登录成功时清零)
  6559. type: integer
  6560. loginid:
  6561. description: 登陆账号
  6562. type: integer
  6563. loginport:
  6564. description: 最新登录端口
  6565. type: integer
  6566. loginstatus:
  6567. description: 登录账号状态 1:正常 2:冻结 3:无效
  6568. type: integer
  6569. loginusertype:
  6570. description: 登录账号类型 - 1:投资者 2:机构交易员
  6571. type: integer
  6572. modifierid:
  6573. description: 修改人
  6574. type: integer
  6575. modifytime:
  6576. description: 修改时间
  6577. type: string
  6578. pwdwrongcount:
  6579. description: 密码错误次数
  6580. type: integer
  6581. taaccountrighttype:
  6582. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6583. type: integer
  6584. unfreezetime:
  6585. description: 账户解冻时间
  6586. type: string
  6587. userid:
  6588. description: 用户ID
  6589. type: integer
  6590. required:
  6591. - loginid
  6592. type: object
  6593. models.MainAccountInfo:
  6594. properties:
  6595. accountid:
  6596. description: 账号id
  6597. type: string
  6598. appid:
  6599. description: AppID
  6600. type: string
  6601. authcode:
  6602. description: 授权码
  6603. type: string
  6604. brokerid:
  6605. description: 经纪商id
  6606. type: string
  6607. fcid:
  6608. description: 期货公司id
  6609. type: integer
  6610. fcname:
  6611. description: 期货公司代码
  6612. type: string
  6613. hedgeaccountcode:
  6614. description: 外部账号代码
  6615. type: string
  6616. hedgeaccountpwd:
  6617. description: 密码
  6618. type: string
  6619. ismain:
  6620. description: 是否主账号
  6621. type: integer
  6622. relateduserid:
  6623. description: 关联用户id
  6624. type: integer
  6625. type: object
  6626. models.Market:
  6627. properties:
  6628. auctionwrtype:
  6629. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6630. type: integer
  6631. canacceptquote:
  6632. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6633. type: integer
  6634. cangoodsexercise:
  6635. description: '[期权]是否可现货行权- 0:否 1:是'
  6636. type: integer
  6637. cangoodsexercisetype:
  6638. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6639. type: integer
  6640. canmanualquotestrike:
  6641. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6642. type: integer
  6643. canmutistage:
  6644. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6645. type: integer
  6646. canpreexercise:
  6647. description: '[期权]是否可预申报- 0:否 1:是'
  6648. type: integer
  6649. clearinterval:
  6650. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6651. type: integer
  6652. contracttmp:
  6653. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6654. type: string
  6655. exchareaid:
  6656. description: 所属交易所,可以没有
  6657. type: integer
  6658. goodstype:
  6659. description: 商品类型 - 1:交易商品 2:仓单商品
  6660. type: integer
  6661. hasrebate:
  6662. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6663. type: integer
  6664. hastradecredit:
  6665. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6666. type: integer
  6667. haswr:
  6668. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6669. type: integer
  6670. isdeductmargin:
  6671. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6672. type: integer
  6673. isrecordsource:
  6674. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6675. type: integer
  6676. isreleasemargin:
  6677. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6678. type: integer
  6679. marginformula:
  6680. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6681. type: integer
  6682. marginformula2:
  6683. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6684. type: integer
  6685. marketid:
  6686. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6687. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6688. type: integer
  6689. marketname:
  6690. description: 市场名称
  6691. type: string
  6692. marketserviceid:
  6693. description: 市场服务ID
  6694. type: integer
  6695. marketstatus:
  6696. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6697. type: integer
  6698. markettype:
  6699. description: 市场类型- 1:非交易服务 2:交易服务
  6700. type: integer
  6701. matchermode:
  6702. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6703. type: integer
  6704. openmethod:
  6705. description: 开盘模式 - 0 自动 1手动
  6706. type: integer
  6707. otcuserid:
  6708. description: 场外期权做市商[场外期权]
  6709. type: integer
  6710. outersynctime:
  6711. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6712. type: string
  6713. pendingflag:
  6714. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6715. type: integer
  6716. pendingtime:
  6717. description: 待开市时间[通道交易-对冲](HH:mm)
  6718. type: string
  6719. performancetempid:
  6720. description: 履约计划模板ID - 作废
  6721. type: integer
  6722. premiumquotemode:
  6723. description: 权利金报价方式 - 1:自动 2:手动
  6724. type: integer
  6725. rebateratio:
  6726. description: 返利比率[竞价式]
  6727. type: number
  6728. reckonorder:
  6729. description: 结算顺序
  6730. type: integer
  6731. reckonpricealgorithm:
  6732. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6733. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6734. type: integer
  6735. reckonpriceparam:
  6736. description: 结算价参数
  6737. type: integer
  6738. reckontime:
  6739. description: 结算时间[通道交易-对冲](HH:mm)
  6740. type: string
  6741. roleprioritytype:
  6742. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6743. type: integer
  6744. selllistingauditflag:
  6745. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6746. type: integer
  6747. trademarkettype:
  6748. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6749. type: integer
  6750. trademode:
  6751. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6752. 21:竞拍-大宗式 22:受托竞价
  6753. type: integer
  6754. tradeproperty:
  6755. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6756. 8:场外期权
  6757. type: integer
  6758. tradetype:
  6759. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6760. type: integer
  6761. required:
  6762. - marketid
  6763. - marketstatus
  6764. - openmethod
  6765. - reckonpricealgorithm
  6766. - trademode
  6767. - tradeproperty
  6768. type: object
  6769. models.Marketrun:
  6770. properties:
  6771. afternexttradedate:
  6772. description: 下下交易日
  6773. type: string
  6774. clearquoteflag:
  6775. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6776. type: integer
  6777. lastreckondate:
  6778. description: 最新交易日(结算成功)
  6779. type: string
  6780. machinedate:
  6781. description: 机器时间
  6782. type: string
  6783. manualflag:
  6784. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6785. type: integer
  6786. marketid:
  6787. description: 市场ID
  6788. type: integer
  6789. nexttradedate:
  6790. description: 下一交易日
  6791. type: string
  6792. pretradedate:
  6793. description: 上一交易日
  6794. type: string
  6795. reckonflag:
  6796. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6797. type: integer
  6798. runstatus:
  6799. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6800. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6801. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6802. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6803. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6804. 62.今日免清算
  6805. type: integer
  6806. sectionid:
  6807. description: 时间段号[多时段时用]
  6808. type: integer
  6809. tradedate:
  6810. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6811. type: string
  6812. tradedate2:
  6813. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6814. type: string
  6815. updatetime:
  6816. description: 更新时间
  6817. type: string
  6818. required:
  6819. - marketid
  6820. - nexttradedate
  6821. - reckonflag
  6822. - runstatus
  6823. - tradedate
  6824. - tradedate2
  6825. type: object
  6826. models.Messageboard:
  6827. properties:
  6828. contactnum:
  6829. description: 联系电话
  6830. type: string
  6831. createtime:
  6832. description: 创建时间
  6833. type: string
  6834. message:
  6835. description: 留言信息
  6836. type: string
  6837. messageboardid:
  6838. description: 留言簿ID(SEQ_MessageBoard)
  6839. type: integer
  6840. userid:
  6841. description: 用户ID
  6842. type: integer
  6843. required:
  6844. - messageboardid
  6845. type: object
  6846. models.MyCoupon:
  6847. properties:
  6848. accountid:
  6849. description: 资金账户ID
  6850. type: integer
  6851. areauserid:
  6852. description: 所属机构
  6853. type: integer
  6854. conditionvalue:
  6855. description: 条件阈值(可为0)
  6856. type: number
  6857. couponcategroy:
  6858. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6859. type: integer
  6860. couponname:
  6861. description: 优惠券名称
  6862. type: string
  6863. coupontypeid:
  6864. description: 优惠券类型ID
  6865. type: string
  6866. couponvalue:
  6867. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6868. type: number
  6869. curfreezeqty:
  6870. description: 期末冻结数量
  6871. type: integer
  6872. curqty:
  6873. description: 期末数量
  6874. type: integer
  6875. isgeneral:
  6876. description: 是否通用券 - 0:否 1:是
  6877. type: integer
  6878. isunusable:
  6879. description: 是否不可用
  6880. type: boolean
  6881. limitedflag:
  6882. description: 是否指定商品 - 0:不限 1:限制
  6883. type: integer
  6884. limitedgoodsids:
  6885. description: 指定商品IDs[逗号分隔,前后加逗号]
  6886. type: string
  6887. orifreezeqty:
  6888. description: 期初冻结数量
  6889. type: integer
  6890. oriqty:
  6891. description: 期初数量
  6892. type: integer
  6893. reasontype:
  6894. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6895. type: integer
  6896. todaydecrease:
  6897. description: 今日减少
  6898. type: integer
  6899. todayincrease:
  6900. description: 今日增加
  6901. type: integer
  6902. userid:
  6903. description: 用户ID
  6904. type: integer
  6905. userscope:
  6906. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6907. type: string
  6908. required:
  6909. - accountid
  6910. - coupontypeid
  6911. type: object
  6912. models.MyCouponHold:
  6913. properties:
  6914. accountid:
  6915. description: 资金账户ID
  6916. type: integer
  6917. conditionvalue:
  6918. description: 条件阈值(可为0)
  6919. type: number
  6920. couponcategroy:
  6921. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6922. type: integer
  6923. couponholdid:
  6924. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6925. type: string
  6926. couponname:
  6927. description: 优惠券名称
  6928. type: string
  6929. coupontypeid:
  6930. description: 优惠券类型ID - SEQ_COUPONTYPE
  6931. type: string
  6932. couponvalue:
  6933. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6934. type: number
  6935. createtime:
  6936. description: 创建时间
  6937. type: string
  6938. enddate:
  6939. description: 结束日期
  6940. type: string
  6941. giveapplyid:
  6942. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6943. type: integer
  6944. holdstatus:
  6945. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6946. type: integer
  6947. isgeneral:
  6948. description: 是否通用券 - 0:否 1:是
  6949. type: integer
  6950. limitedflag:
  6951. description: 是否指定商品 - 0:不限 1:限制
  6952. type: integer
  6953. limitedgoodsids:
  6954. description: 指定商品IDs[逗号分隔]
  6955. type: string
  6956. qty:
  6957. description: 数量(按1平铺)
  6958. type: integer
  6959. startdate:
  6960. description: 开始日期
  6961. type: string
  6962. userid:
  6963. description: 用户ID
  6964. type: integer
  6965. userscope:
  6966. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6967. type: string
  6968. required:
  6969. - couponholdid
  6970. type: object
  6971. models.MyUsedCoupon:
  6972. properties:
  6973. accountid:
  6974. description: 资金账户ID(买方)
  6975. type: integer
  6976. conditionvalue:
  6977. description: 条件阈值(可为0)
  6978. type: number
  6979. couponcategroy:
  6980. description: 种类 - 1:现金券 2:折扣券
  6981. type: integer
  6982. couponname:
  6983. description: 优惠券名称
  6984. type: string
  6985. coupontypeid:
  6986. description: 优惠券类型ID(买方)
  6987. type: string
  6988. couponvalue:
  6989. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6990. type: number
  6991. createtime:
  6992. description: 创建时间
  6993. type: string
  6994. goodsid:
  6995. description: 商品ID
  6996. type: integer
  6997. handlestatus:
  6998. description: 处理状态
  6999. type: integer
  7000. marketid:
  7001. description: 市场ID
  7002. type: integer
  7003. offamount:
  7004. description: 优惠金额
  7005. type: number
  7006. orderid:
  7007. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7008. type: string
  7009. sellaccountid:
  7010. description: 资金账户ID(卖方)
  7011. type: integer
  7012. tradeamount:
  7013. description: 成交金额
  7014. type: number
  7015. tradeid:
  7016. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7017. type: string
  7018. usedqty:
  7019. description: 使用数量
  7020. type: integer
  7021. required:
  7022. - coupontypeid
  7023. - orderid
  7024. type: object
  7025. models.OperationPrimaryMenu:
  7026. properties:
  7027. Children:
  7028. description: 二级功能菜单
  7029. items:
  7030. $ref: '#/definitions/models.OperationSecondaryMenu'
  7031. type: array
  7032. Key:
  7033. description: 菜单KEY
  7034. type: string
  7035. Label:
  7036. description: 菜单标题
  7037. type: string
  7038. type: object
  7039. models.OperationSecondaryMenu:
  7040. properties:
  7041. Key:
  7042. description: 菜单KEY
  7043. type: string
  7044. Label:
  7045. description: 菜单标题
  7046. type: string
  7047. TabList:
  7048. description: 三级功能菜单
  7049. items:
  7050. $ref: '#/definitions/models.OperationTabMenu'
  7051. type: array
  7052. type: object
  7053. models.OperationTabMenu:
  7054. properties:
  7055. Key:
  7056. description: 菜单KEY
  7057. type: string
  7058. Label:
  7059. description: 菜单标题
  7060. type: string
  7061. type: object
  7062. models.PendingAuditBizModel:
  7063. properties:
  7064. accountid:
  7065. description: 现货账户
  7066. type: string
  7067. areaname:
  7068. description: 所属部门
  7069. type: string
  7070. bizid:
  7071. description: 业务ID
  7072. type: string
  7073. bizname:
  7074. description: 业务名称
  7075. type: string
  7076. status:
  7077. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  7078. type: integer
  7079. type:
  7080. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  7081. type: integer
  7082. type: object
  7083. models.QueryErrorInfosRsp:
  7084. properties:
  7085. description:
  7086. description: 异常描述
  7087. type: string
  7088. errorcode:
  7089. description: 异常代码
  7090. type: string
  7091. errorid:
  7092. description: 异常ID
  7093. type: integer
  7094. modulecode:
  7095. description: 所属模块
  7096. type: string
  7097. operatecode:
  7098. description: 所属操作
  7099. type: string
  7100. rownumber:
  7101. description: 行号
  7102. type: string
  7103. required:
  7104. - errorid
  7105. type: object
  7106. models.QueryHedgeOrderDetailRsp:
  7107. properties:
  7108. accountid:
  7109. description: 账户ID
  7110. type: integer
  7111. buyorsell:
  7112. description: 买卖 - 0:买 1:卖
  7113. type: integer
  7114. cancellogincode:
  7115. description: 撤单人
  7116. type: string
  7117. channelbuildtype:
  7118. description: 开平标志 - 0:无 1:建仓 2:平仓
  7119. type: integer
  7120. channelinnerorderstatus:
  7121. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  7122. 9:全部成交
  7123. type: integer
  7124. channeloperatetype:
  7125. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  7126. type: integer
  7127. closetype:
  7128. description: 平仓方式 - 0:无 1:平今 2:平昨
  7129. type: integer
  7130. curexchangerate:
  7131. description: 当前汇率
  7132. type: number
  7133. exchangefullname:
  7134. description: 外部交易所全称
  7135. type: string
  7136. goodscode:
  7137. description: 商品代码(内部)
  7138. type: string
  7139. goodsid:
  7140. description: 商品ID
  7141. type: integer
  7142. goodsname:
  7143. description: 商品名称
  7144. type: string
  7145. marketid:
  7146. description: 市场ID
  7147. type: integer
  7148. openfreezemargin:
  7149. description: 冻结保证金(冻结交易金额)
  7150. type: number
  7151. orderid:
  7152. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7153. type: string
  7154. orderlogincode:
  7155. description: 委托人
  7156. type: string
  7157. orderprice:
  7158. description: 委托价格(账户)
  7159. type: number
  7160. orderqty:
  7161. description: 委托数量
  7162. type: integer
  7163. ordertime:
  7164. description: 委托时间
  7165. type: string
  7166. pricemode:
  7167. description: '取价方式 - 1:市价 2: 限价'
  7168. type: integer
  7169. tradedate:
  7170. description: 交易日(yyyyMMdd)
  7171. type: string
  7172. tradeqty:
  7173. description: 成交数量
  7174. type: integer
  7175. type: object
  7176. models.QueryHedgeTradeDetailRsp:
  7177. properties:
  7178. accountid:
  7179. description: 账号ID
  7180. type: integer
  7181. buyorsell:
  7182. description: 方向 - 0:买 1:卖
  7183. type: integer
  7184. channelbuildtype:
  7185. description: 委托单据类型 0:无 1:建仓 2:平仓
  7186. type: integer
  7187. closecharge:
  7188. description: 平仓手续费(账户)
  7189. type: number
  7190. closecharge2:
  7191. description: 平仓手续费(商品)
  7192. type: number
  7193. closetype:
  7194. description: 平仓方式 - 0:无 1:平今 2:平昨
  7195. type: integer
  7196. curexchangerate:
  7197. description: 当前汇率
  7198. type: number
  7199. exchangefullname:
  7200. description: 外部交易所全称
  7201. type: string
  7202. goodscode:
  7203. description: 商品代码(内部)
  7204. type: string
  7205. goodsid:
  7206. description: 商品ID
  7207. type: integer
  7208. goodsname:
  7209. description: 商品名称
  7210. type: string
  7211. marketid:
  7212. description: 市场ID
  7213. type: integer
  7214. opencharge:
  7215. description: 建仓手续费(账户)
  7216. type: number
  7217. opencharge2:
  7218. description: 建仓手续费(商品)
  7219. type: number
  7220. orderid:
  7221. description: 委托单号
  7222. type: string
  7223. orderlogincode:
  7224. description: 委托人
  7225. type: string
  7226. tradeamount:
  7227. description: 成交金额(账户)
  7228. type: number
  7229. tradedate:
  7230. description: 交易日(yyyyMMdd)
  7231. type: string
  7232. tradeid:
  7233. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7234. type: string
  7235. tradeprice:
  7236. description: 成交价格
  7237. type: number
  7238. tradeqty:
  7239. description: 成交数量
  7240. type: integer
  7241. tradetime:
  7242. description: 成交时间
  7243. type: string
  7244. tradetype:
  7245. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7246. type: integer
  7247. type: object
  7248. models.QuotePrimaryMenu:
  7249. properties:
  7250. Index:
  7251. description: 序号
  7252. type: integer
  7253. Key:
  7254. description: 键名
  7255. type: string
  7256. Name:
  7257. description: 菜单名称
  7258. type: string
  7259. SubMenus:
  7260. description: 子菜单
  7261. items:
  7262. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7263. type: array
  7264. SubTitleType:
  7265. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7266. type: integer
  7267. TradeModes:
  7268. description: 包含市场交易类型
  7269. type: string
  7270. type: object
  7271. models.QuoteSecondaryMenu:
  7272. properties:
  7273. ExExchangeCode:
  7274. description: 外部交易所代码
  7275. type: string
  7276. ExExchangeID:
  7277. description: 外部交易所ID
  7278. type: integer
  7279. GoodsGroupIDs:
  7280. description: 商品组ID列表
  7281. items:
  7282. type: integer
  7283. type: array
  7284. Index:
  7285. description: 序号
  7286. type: integer
  7287. MarketID:
  7288. description: 市场ID
  7289. type: integer
  7290. MenuTitle:
  7291. description: 菜单标题(市场名称或外部交易所名称)
  7292. type: string
  7293. TradeMode:
  7294. description: 交易模式
  7295. type: integer
  7296. type: object
  7297. models.RelatedGoodsEx:
  7298. properties:
  7299. goodscode:
  7300. description: 商品代码
  7301. type: string
  7302. goodsid:
  7303. description: 商品id
  7304. type: integer
  7305. goodsname:
  7306. description: 商品名称
  7307. type: string
  7308. type: object
  7309. models.SearchGoods:
  7310. properties:
  7311. goodscode:
  7312. description: 商品代码(内部)
  7313. type: string
  7314. goodsid:
  7315. description: 商品ID(自增ID SEQ_GOODS)
  7316. type: integer
  7317. goodsname:
  7318. description: 商品名称
  7319. type: string
  7320. marketid:
  7321. description: 所属市场ID
  7322. type: integer
  7323. marketname:
  7324. description: 市场名称
  7325. type: string
  7326. trademode:
  7327. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7328. 21:竞拍-大宗式 22:受托竞价
  7329. type: integer
  7330. required:
  7331. - goodscode
  7332. - goodsid
  7333. - goodsname
  7334. - marketid
  7335. - trademode
  7336. type: object
  7337. models.Systemparam:
  7338. properties:
  7339. loginid:
  7340. description: 更新用户账号,登录账号
  7341. type: string
  7342. modifyflag:
  7343. description: 修改标志0 不允许修改 1 允许修改
  7344. type: integer
  7345. paramcode:
  7346. description: 参数代码
  7347. type: string
  7348. paramname:
  7349. description: 参数名
  7350. type: string
  7351. paramtype:
  7352. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7353. type: integer
  7354. paramvalue:
  7355. description: 参数值
  7356. type: string
  7357. paramvalue2:
  7358. description: 参数值(CLOB)
  7359. type: string
  7360. regexpress:
  7361. description: 正则表达式
  7362. type: string
  7363. remark:
  7364. description: 备注
  7365. type: string
  7366. serverip:
  7367. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7368. type: string
  7369. showflag:
  7370. description: 是否显示0 不显示 1 显示
  7371. type: integer
  7372. updatetime:
  7373. description: 更新时间
  7374. type: string
  7375. userid:
  7376. description: 更新用户ID
  7377. type: integer
  7378. required:
  7379. - paramcode
  7380. type: object
  7381. models.Szdz3convertconfig:
  7382. properties:
  7383. canin:
  7384. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7385. type: integer
  7386. canout:
  7387. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7388. type: integer
  7389. converttype:
  7390. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7391. 6:交易转花生米(不设置)
  7392. type: integer
  7393. createtime:
  7394. description: 创建时间
  7395. type: string
  7396. creatorid:
  7397. description: 创建人
  7398. type: integer
  7399. daymaxvalue:
  7400. description: 当日最大转入限制
  7401. type: number
  7402. freezedays:
  7403. description: 冻结天数 [5:花生米转交易]
  7404. type: integer
  7405. innergoodsid:
  7406. description: 内部商品ID[交易]
  7407. type: integer
  7408. inratio:
  7409. description: 目标值
  7410. type: integer
  7411. modifierid:
  7412. description: 修改人
  7413. type: integer
  7414. modifytime:
  7415. description: 修改时间
  7416. type: string
  7417. outergoodscode:
  7418. description: 外部商品代码[JD\PD]
  7419. type: string
  7420. outratio:
  7421. description: 源值
  7422. type: integer
  7423. pddecimalplace:
  7424. description: PD小数位
  7425. type: integer
  7426. timemaxvalue:
  7427. description: 单次最大转入限制
  7428. type: number
  7429. timeminvalue:
  7430. description: 单次最小转入限制
  7431. type: number
  7432. required:
  7433. - converttype
  7434. - innergoodsid
  7435. - outergoodscode
  7436. type: object
  7437. models.Szdz3searchwhitelist:
  7438. properties:
  7439. createtime:
  7440. description: 创建时间
  7441. type: string
  7442. creatorid:
  7443. description: 创建人
  7444. type: integer
  7445. modifierid:
  7446. description: 修改人
  7447. type: integer
  7448. modifytime:
  7449. description: 修改时间
  7450. type: string
  7451. userid:
  7452. description: 用户ID
  7453. type: integer
  7454. required:
  7455. - userid
  7456. type: object
  7457. models.Taaccount:
  7458. properties:
  7459. accountflag:
  7460. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7461. type: integer
  7462. accountid:
  7463. description: 资金账户ID
  7464. type: integer
  7465. accountname:
  7466. description: 账户名称
  7467. type: string
  7468. balance:
  7469. description: 期初余额
  7470. type: number
  7471. capitalbalance:
  7472. description: 本金余额[外部子账户实际出入金余额]
  7473. type: number
  7474. changeflag:
  7475. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7476. type: integer
  7477. changetime:
  7478. description: 账户状态变更时间
  7479. type: string
  7480. closepl:
  7481. description: 今日平仓盈亏
  7482. type: number
  7483. creditdecrease:
  7484. description: 今日授信减少
  7485. type: number
  7486. creditincrease:
  7487. description: 今日授信增加
  7488. type: number
  7489. currencyid:
  7490. description: 货币ID
  7491. type: integer
  7492. currentbalance:
  7493. description: 期末余额
  7494. type: number
  7495. freezecharge:
  7496. description: 手续费冻结
  7497. type: number
  7498. freezemargin:
  7499. description: 冻结保证金
  7500. type: number
  7501. fromaccountid:
  7502. description: 所属上级账户
  7503. type: integer
  7504. inamount:
  7505. description: 今日入金金额(包括三方入金)
  7506. type: number
  7507. ismain:
  7508. description: 是否母账号 0:不是母账户 1:是母账户
  7509. type: integer
  7510. ismarketaccount:
  7511. description: 是否机构接单账号 0:不是 1:是
  7512. type: integer
  7513. isreckonaccount:
  7514. description: 是否机构分润账号 0:不是 1:是
  7515. type: integer
  7516. mortgagecredit:
  7517. description: 授信金额
  7518. type: number
  7519. orifreezecharge:
  7520. description: 期初手续费冻结
  7521. type: number
  7522. orifreezemargin:
  7523. description: 期初冻结保证金
  7524. type: number
  7525. orimortgagecredit:
  7526. description: 期初授信金额
  7527. type: number
  7528. oriothercredit:
  7529. description: 期初其它授信金额
  7530. type: number
  7531. oriotherfreezemargin:
  7532. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7533. type: number
  7534. orioutamountfreeze:
  7535. description: 期初出金冻结
  7536. type: number
  7537. oriusedmargin:
  7538. description: 期初占用保证金
  7539. type: number
  7540. othercredit:
  7541. description: 其它授信金额
  7542. type: number
  7543. othercreditdecrease:
  7544. description: 今日其它授信减少
  7545. type: number
  7546. othercreditincrease:
  7547. description: 今日其它授信增加
  7548. type: number
  7549. otherfreezemargin:
  7550. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7551. type: number
  7552. otherincome:
  7553. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7554. type: number
  7555. otherpay:
  7556. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7557. type: number
  7558. outamount:
  7559. description: 今日出金金额(包括三方出金)
  7560. type: number
  7561. outamountfreeze:
  7562. description: 出金冻结
  7563. type: number
  7564. outthreshold:
  7565. description: 出金阈值
  7566. type: number
  7567. parentaccountid:
  7568. description: 所属根账号
  7569. type: integer
  7570. paycharge:
  7571. description: 今日手续费支出
  7572. type: number
  7573. relatedaccountstatus:
  7574. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7575. type: integer
  7576. relateduserid:
  7577. description: 关联用户
  7578. type: integer
  7579. serivcegroup:
  7580. description: 服务分组
  7581. type: integer
  7582. signstatus:
  7583. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7584. type: integer
  7585. sublevelpath:
  7586. description: 账号层级路径(逗号分隔,首尾加逗号)
  7587. type: string
  7588. taaccounttype:
  7589. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7590. type: integer
  7591. thirdinamount:
  7592. description: 今日三方入金
  7593. type: number
  7594. thirdoutamount:
  7595. description: 今日三方出金
  7596. type: number
  7597. tradestatus:
  7598. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7599. type: integer
  7600. tradestatuschangetime:
  7601. description: 激活时间
  7602. type: string
  7603. transferamount:
  7604. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7605. type: number
  7606. usedmargin:
  7607. description: 占用保证金
  7608. type: number
  7609. userid:
  7610. description: 用户ID
  7611. type: integer
  7612. required:
  7613. - accountid
  7614. - userid
  7615. type: object
  7616. models.Tablecolumnconfig:
  7617. properties:
  7618. aligntype:
  7619. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7620. type: integer
  7621. autoid:
  7622. description: AutoID
  7623. type: integer
  7624. columnfield:
  7625. description: 列字段
  7626. type: string
  7627. columntitle:
  7628. description: 列Title
  7629. type: string
  7630. columnwidth:
  7631. description: 列宽
  7632. type: string
  7633. formatterstring:
  7634. description: 格式化字符
  7635. type: string
  7636. formattertype:
  7637. description: 格式化类型
  7638. type: string
  7639. groupname:
  7640. description: 表头分组名称
  7641. type: string
  7642. isshow:
  7643. description: 是否显示 - 0:不显示 1:显示
  7644. type: integer
  7645. needsummary:
  7646. description: 是否需要汇总 - 0:不需要 1:需要
  7647. type: integer
  7648. orderindex:
  7649. description: 顺序
  7650. type: integer
  7651. remark:
  7652. description: 备注
  7653. type: string
  7654. summarytype:
  7655. description: 汇总类型 - 1:加总 2:最后一个
  7656. type: integer
  7657. tablekey:
  7658. description: 列表Key
  7659. type: string
  7660. required:
  7661. - autoid
  7662. type: object
  7663. models.Useraccount:
  7664. properties:
  7665. accountname:
  7666. description: 账户名称(机构名称)
  7667. type: string
  7668. accountstatus:
  7669. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7670. type: integer
  7671. auditremark:
  7672. description: 审核备注
  7673. type: string
  7674. audittime:
  7675. description: 审核时间
  7676. type: string
  7677. audituserid:
  7678. description: 审核人
  7679. type: integer
  7680. broker:
  7681. description: 所属经纪人ID
  7682. type: integer
  7683. canceltime:
  7684. description: 销户时间
  7685. type: string
  7686. canceluserid:
  7687. description: 销户人
  7688. type: integer
  7689. createtime:
  7690. description: 创建时间
  7691. type: string
  7692. creatorid:
  7693. description: 创建人
  7694. type: integer
  7695. hasauth:
  7696. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7697. type: integer
  7698. isanonymous:
  7699. description: 是否匿名下单 - 0:否 1:是
  7700. type: integer
  7701. maxinvestornum:
  7702. description: 最大用户数(经纪会员下投资者个数)
  7703. type: integer
  7704. memberuserid:
  7705. description: 所属会员ID
  7706. type: integer
  7707. modifierid:
  7708. description: 修改人
  7709. type: integer
  7710. modifyremark:
  7711. description: 变更备注
  7712. type: string
  7713. modifystatus:
  7714. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7715. type: integer
  7716. modifytime:
  7717. description: 修改时间
  7718. type: string
  7719. parentuserid:
  7720. description: 所属机构ID
  7721. type: integer
  7722. reckonaccountid:
  7723. description: 默认结算资金账号ID(机构分润使用) 作废
  7724. type: integer
  7725. refercount:
  7726. description: 推荐总人数
  7727. type: integer
  7728. refereeuserid:
  7729. description: 推荐人ID
  7730. type: integer
  7731. refernum:
  7732. description: 推荐码
  7733. type: string
  7734. subarealevelpath:
  7735. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7736. type: string
  7737. userid:
  7738. description: 用户ID
  7739. type: integer
  7740. usertype:
  7741. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7742. type: integer
  7743. required:
  7744. - userid
  7745. type: object
  7746. models.Userfavoritegoods:
  7747. properties:
  7748. goodsid:
  7749. description: 商品ID
  7750. type: integer
  7751. required:
  7752. - goodsid
  7753. type: object
  7754. models.Userinfo:
  7755. properties:
  7756. address:
  7757. description: 地址
  7758. type: string
  7759. attachment1:
  7760. description: 附件1
  7761. type: string
  7762. attachment2:
  7763. description: 附件2
  7764. type: string
  7765. bankaccount:
  7766. description: 银行帐号 (加密存储)
  7767. type: string
  7768. bankaccountname:
  7769. description: 收款人名称
  7770. type: string
  7771. bankcardfrontphotourl:
  7772. description: 银行卡正面照地址
  7773. type: string
  7774. bankid:
  7775. description: 银行编码
  7776. type: string
  7777. bankname:
  7778. description: 银行名称
  7779. type: string
  7780. biznature:
  7781. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7782. type: integer
  7783. bizscope:
  7784. description: 企业经营范围(企业)
  7785. type: string
  7786. cardbackphotourl:
  7787. description: 证件背面图片地址
  7788. type: string
  7789. cardfrontphotourl:
  7790. description: 证件正面图片地址
  7791. type: string
  7792. cardnum:
  7793. description: 证件号码(加密存储)
  7794. type: string
  7795. cardtypeid:
  7796. description: 证件类型ID
  7797. type: integer
  7798. cityid:
  7799. description: 市
  7800. type: integer
  7801. company:
  7802. description: 公司(个人)
  7803. type: string
  7804. contactname:
  7805. description: 联系人
  7806. type: string
  7807. countryid:
  7808. description: 国家
  7809. type: integer
  7810. createtime:
  7811. description: 创建时间
  7812. type: string
  7813. creatorid:
  7814. description: 创建人
  7815. type: integer
  7816. customername:
  7817. description: 客户名称(企业名称)
  7818. type: string
  7819. districtid:
  7820. description: 地区
  7821. type: integer
  7822. email:
  7823. description: 邮件(加密存储)
  7824. type: string
  7825. fax:
  7826. description: 传真(加密存储)
  7827. type: string
  7828. halfbodyphotourl:
  7829. description: 半身照地址
  7830. type: string
  7831. hasencrypt:
  7832. description: 数据是否已加密 - 0:未加密 1:已加密
  7833. type: integer
  7834. headurl:
  7835. description: 头像地址
  7836. type: string
  7837. legalcardbackphotourl:
  7838. description: 法人身份证背面照地址
  7839. type: string
  7840. legalcardfrontphotourl:
  7841. description: 法人身份证正面照地址
  7842. type: string
  7843. legalpersonname:
  7844. description: 法人姓名(企业)
  7845. type: string
  7846. mobile:
  7847. description: 手机号码(加密存储)
  7848. type: string
  7849. mobile2:
  7850. description: 手机号码[明文-尚志]
  7851. type: string
  7852. modifierid:
  7853. description: 修改人
  7854. type: integer
  7855. modifiertime:
  7856. description: 修改时间
  7857. type: string
  7858. needinvoice:
  7859. description: 是否需要发票 - 0:不需要 1:需要
  7860. type: integer
  7861. nickname:
  7862. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7863. type: string
  7864. openmode:
  7865. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7866. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7867. type: integer
  7868. otherurl:
  7869. description: 其它图片地址[使用分号分隔]
  7870. type: string
  7871. postalcode:
  7872. description: 邮政编码
  7873. type: string
  7874. provinceid:
  7875. description: 省
  7876. type: integer
  7877. qq:
  7878. description: QQ(加密存储
  7879. type: string
  7880. remark:
  7881. description: 备注
  7882. type: string
  7883. sex:
  7884. description: '用户性别 0: 女 1: 男'
  7885. type: integer
  7886. signpdfurl:
  7887. description: 签约pdf文件
  7888. type: string
  7889. telphone:
  7890. description: 联系电话(加密存储)
  7891. type: string
  7892. userid:
  7893. description: 用户ID
  7894. type: integer
  7895. userinfotype:
  7896. description: 用户信息类型 - 1:个人 2:企业
  7897. type: integer
  7898. userstatus:
  7899. description: 用户状态 - 1:正常 2:注销
  7900. type: integer
  7901. usertype:
  7902. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7903. type: integer
  7904. wechat:
  7905. description: 微信(加密存储)
  7906. type: string
  7907. wskhinfo:
  7908. description: 开户申请信息(JSON)
  7909. type: string
  7910. required:
  7911. - userid
  7912. type: object
  7913. models.WRCategoryTree:
  7914. properties:
  7915. areauserid:
  7916. description: 所属机构
  7917. type: integer
  7918. categorydesc:
  7919. description: 类别描述
  7920. type: string
  7921. categoryid:
  7922. description: 类别ID(SEQ_WRCATEGORY)
  7923. type: integer
  7924. categoryname:
  7925. description: 类别名称
  7926. type: string
  7927. iconurl:
  7928. description: 图标地址
  7929. type: string
  7930. orderindex:
  7931. description: 顺序
  7932. type: integer
  7933. parentcategoryid:
  7934. description: 父类别ID
  7935. type: integer
  7936. subcategory:
  7937. description: 子分类
  7938. items:
  7939. $ref: '#/definitions/models.WRCategoryTree'
  7940. type: array
  7941. required:
  7942. - categoryid
  7943. type: object
  7944. models.WRSConverTDetail:
  7945. properties:
  7946. convertratio:
  7947. description: 套保系数
  7948. type: number
  7949. deliverygoodsid:
  7950. description: 现货品种ID
  7951. type: integer
  7952. middlegoodscode:
  7953. description: 套保品种代码
  7954. type: string
  7955. middlegoodsid:
  7956. description: 套保品种ID
  7957. type: integer
  7958. middlegoodsname:
  7959. description: 套保品种名称
  7960. type: string
  7961. modifytime:
  7962. description: 修改时间
  7963. type: string
  7964. wrstandardid:
  7965. description: 现货商品ID
  7966. type: integer
  7967. type: object
  7968. models.WRStandardInfo:
  7969. properties:
  7970. createtime:
  7971. description: 创建时间
  7972. type: string
  7973. creatorid:
  7974. description: 创建人
  7975. type: integer
  7976. deliverygoodsid:
  7977. description: 品种ID
  7978. type: integer
  7979. deliverygoodsname:
  7980. description: 交割商品名称
  7981. type: string
  7982. factoryitemjson:
  7983. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7984. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7985. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7986. 逗号分隔'
  7987. type: string
  7988. isvalid:
  7989. description: 是否有效 - 0:无效 1:有效
  7990. type: integer
  7991. minivalue:
  7992. description: 最小变动值
  7993. type: integer
  7994. minivaluedp:
  7995. description: 最小变动值小数位
  7996. type: integer
  7997. realminivalue:
  7998. description: 实际最小变动值
  7999. type: integer
  8000. realminivaluedp:
  8001. description: 实际最小变动值小数位
  8002. type: integer
  8003. unitid:
  8004. description: 单位ID
  8005. type: integer
  8006. unitname:
  8007. description: 单位
  8008. type: string
  8009. updatetime:
  8010. description: 更新时间
  8011. type: string
  8012. updatorid:
  8013. description: 更新人
  8014. type: integer
  8015. wrsstatus:
  8016. description: 状态 - 作废 - 0:未激活 1:正常
  8017. type: integer
  8018. wrstandardcode:
  8019. description: 仓单标准代码
  8020. type: string
  8021. wrstandardid:
  8022. description: 仓单标准ID(SEQ_WRSTANDARD)
  8023. type: integer
  8024. wrstandardname:
  8025. description: 仓单标准名称
  8026. type: string
  8027. required:
  8028. - wrstandardid
  8029. type: object
  8030. models.Warehouseinfo:
  8031. properties:
  8032. address:
  8033. description: 详细地址
  8034. type: string
  8035. areauserid:
  8036. description: 所属机构
  8037. type: integer
  8038. autoid:
  8039. description: 自增ID
  8040. type: integer
  8041. cityid:
  8042. description: 市
  8043. type: integer
  8044. contactname:
  8045. description: 联系人
  8046. type: string
  8047. contactnum:
  8048. description: 联系电话
  8049. type: string
  8050. countryid:
  8051. description: 国家
  8052. type: integer
  8053. createtime:
  8054. description: 创建时间
  8055. type: string
  8056. districtid:
  8057. description: 区
  8058. type: integer
  8059. hasvideo:
  8060. description: 是否有视频 - 0:无 1:有
  8061. type: integer
  8062. provinceid:
  8063. description: 省
  8064. type: integer
  8065. remark:
  8066. description: 审核备注
  8067. type: string
  8068. videourl:
  8069. description: 视频地址
  8070. type: string
  8071. warehousecode:
  8072. description: 仓库代码
  8073. type: string
  8074. warehousename:
  8075. description: 仓库名称
  8076. type: string
  8077. warehousestatus:
  8078. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  8079. type: integer
  8080. warehousetype:
  8081. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  8082. type: integer
  8083. required:
  8084. - autoid
  8085. - warehousecode
  8086. type: object
  8087. order.QueryHisTradeDetailRsp:
  8088. properties:
  8089. accountid:
  8090. description: 账户ID[报价币种]
  8091. type: integer
  8092. buildtype:
  8093. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8094. type: integer
  8095. buyorsell:
  8096. description: 方向 - 0:买 1:卖
  8097. type: integer
  8098. charge:
  8099. description: 手续费
  8100. type: number
  8101. closecharge:
  8102. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8103. type: number
  8104. closeexchagechargevalue:
  8105. description: 平仓交易所手续费设置值
  8106. type: number
  8107. closefeealgorithm:
  8108. description: 平仓手续费收取方式 1:比率 2:固定
  8109. type: integer
  8110. closememberchargevalue:
  8111. description: 平仓会员手续费设置值
  8112. type: number
  8113. closepl:
  8114. description: 平仓盈亏
  8115. type: number
  8116. closepl2:
  8117. description: 平仓盈亏[逐笔]
  8118. type: number
  8119. closeqty:
  8120. description: 平仓数量(先建后平操作 需要记录)
  8121. type: integer
  8122. creditamount:
  8123. description: 授信金额
  8124. type: number
  8125. gcaccountid:
  8126. description: 账户ID[合约币种]
  8127. type: integer
  8128. goodscode:
  8129. description: 商品代码
  8130. type: string
  8131. goodsid:
  8132. description: 商品ID
  8133. type: integer
  8134. goodsname:
  8135. description: 商品名称
  8136. type: string
  8137. histradedate:
  8138. description: 历史交易日
  8139. type: string
  8140. intclosepl:
  8141. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8142. type: integer
  8143. isconfirmexercise:
  8144. description: 是否确认行权- 0:否 1:是
  8145. type: integer
  8146. ismain:
  8147. description: 是否主单 - 0:不是 1:是
  8148. type: integer
  8149. ispreexercise:
  8150. description: 是否预申报- 0:否 1:是
  8151. type: integer
  8152. isreckoned:
  8153. description: 是否结算 - 0:未结算 1:已结算
  8154. type: integer
  8155. isvaliddata:
  8156. description: 是否有效 - 0:无效 1:有效
  8157. type: integer
  8158. listingselecttype:
  8159. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8160. type: integer
  8161. marketid:
  8162. description: 市场ID
  8163. type: integer
  8164. marketname:
  8165. description: 市场名称
  8166. type: string
  8167. matchaccountid:
  8168. description: 对手账号id
  8169. type: integer
  8170. memberuserid:
  8171. description: 会员id 个人投资者 需要填写
  8172. type: integer
  8173. opencharge:
  8174. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8175. type: number
  8176. openexchagechargevalue:
  8177. description: 建仓交易所手续费设置值
  8178. type: number
  8179. openfeealgorithm:
  8180. description: 建仓手续费收取方式 1:比率 2:固定
  8181. type: integer
  8182. openmemberchargevalue:
  8183. description: 建仓会员手续费设置值
  8184. type: number
  8185. openqty:
  8186. description: 开仓数量(先建后平操作 需要记录)
  8187. type: integer
  8188. optiontype:
  8189. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8190. type: integer
  8191. orderid:
  8192. description: 委托单号
  8193. type: string
  8194. performanceplanid:
  8195. description: 履约计划ID[期权]
  8196. type: integer
  8197. performancestatus:
  8198. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8199. type: integer
  8200. preexerciseprice:
  8201. description: 预申报价格
  8202. type: number
  8203. premium:
  8204. description: 权利金 - [持仓单的权利金]
  8205. type: number
  8206. relatedouttradeid:
  8207. description: 关联外部成交单ID
  8208. type: integer
  8209. status:
  8210. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8211. type: integer
  8212. tradeamount:
  8213. description: 成交金额[账户币种,用于所有权]
  8214. type: number
  8215. tradedate:
  8216. description: 交易日(yyyyMMdd)
  8217. type: string
  8218. tradeid:
  8219. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8220. type: string
  8221. trademode:
  8222. description: 交易模式
  8223. type: integer
  8224. tradeprice:
  8225. description: 成交价格
  8226. type: number
  8227. tradeproperty:
  8228. description: 交易属性
  8229. type: integer
  8230. tradeqty:
  8231. description: 成交数量
  8232. type: integer
  8233. tradetime:
  8234. description: 成交时间
  8235. type: string
  8236. tradetype:
  8237. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8238. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8239. type: integer
  8240. required:
  8241. - accountid
  8242. - buyorsell
  8243. - goodsid
  8244. - histradedate
  8245. - marketid
  8246. - memberuserid
  8247. - orderid
  8248. - tradeamount
  8249. - tradedate
  8250. - tradeid
  8251. - tradeprice
  8252. - tradeqty
  8253. - tradetime
  8254. type: object
  8255. order.QueryHisTradeOrderDetailRsp:
  8256. properties:
  8257. accountid:
  8258. description: 账户ID[报价币种]
  8259. type: integer
  8260. buildtype:
  8261. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8262. type: integer
  8263. buyorsell:
  8264. description: 买卖 - 0:买 1:卖
  8265. type: integer
  8266. cancelorderid:
  8267. description: 撤单单号(撤单时填写)
  8268. type: string
  8269. cancelqty:
  8270. description: 撤单数量
  8271. type: integer
  8272. clientordertime:
  8273. description: 客户端委托时间
  8274. type: string
  8275. clientticket:
  8276. description: 客户端流水号
  8277. type: string
  8278. clienttype:
  8279. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8280. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8281. type: integer
  8282. closeexchagechargevalue:
  8283. description: 平仓交易所手续费设置值
  8284. type: number
  8285. closefeealgorithm:
  8286. description: 平仓手续费收取方式 1:比率 2:固定
  8287. type: integer
  8288. closefreezecharge:
  8289. description: 平仓冻结手续费(先建后平操作,需要记录)
  8290. type: number
  8291. closememberchargevalue:
  8292. description: 平仓会员手续费设置值
  8293. type: number
  8294. closeqty:
  8295. description: 平仓数量(先建后平操作 需要记录)
  8296. type: integer
  8297. closetradeqty:
  8298. description: 平仓成交数量(先建后平操作,需要记录)
  8299. type: integer
  8300. closeunfreezecharge:
  8301. description: 平仓解冻手续费(先建后平操作,需要记录)
  8302. type: number
  8303. delistingtype:
  8304. description: 摘牌类型 - 1:价格最优 2:点选成交
  8305. type: integer
  8306. freezecharge:
  8307. description: 冻结手续费
  8308. type: number
  8309. freezemargin:
  8310. description: 冻结保证金(冻结交易金额)
  8311. type: number
  8312. gcaccountid:
  8313. description: 账户ID[合约币种]
  8314. type: integer
  8315. goodscode:
  8316. description: 商品代码
  8317. type: string
  8318. goodsid:
  8319. description: 商品ID
  8320. type: integer
  8321. goodsname:
  8322. description: 商品名称
  8323. type: string
  8324. histradedate:
  8325. description: 历史交易日
  8326. type: string
  8327. isconfirmexercise:
  8328. description: 是否确认行权- 0:否 1:是
  8329. type: integer
  8330. ispreexercise:
  8331. description: 是否预申报- 0:否 1:是
  8332. type: integer
  8333. isvaliddata:
  8334. description: 是否有效 - 0:无效 1:有效
  8335. type: integer
  8336. listingselecttype:
  8337. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8338. type: integer
  8339. marginalgorithm:
  8340. description: 保证金收取方式 1:比率 2:固定
  8341. type: integer
  8342. marginvalue:
  8343. description: 即市保证金设置值
  8344. type: number
  8345. marketid:
  8346. description: 市场ID
  8347. type: integer
  8348. marketmaxsub:
  8349. description: 市价最大偏移范围
  8350. type: number
  8351. marketname:
  8352. description: 市场名称
  8353. type: string
  8354. memberuserid:
  8355. description: 所属会员UserID
  8356. type: integer
  8357. openexchagechargevalue:
  8358. description: 建仓交易所手续费设置值
  8359. type: number
  8360. openfeealgorithm:
  8361. description: 建仓手续费收取方式 1:比率 2:固定
  8362. type: integer
  8363. openfreezecharge:
  8364. description: 开仓冻结手续费(先建后平操作,需要记录)
  8365. type: number
  8366. openmemberchargevalue:
  8367. description: 建仓会员手续费设置值
  8368. type: number
  8369. openqty:
  8370. description: 开仓数量(先建后平操作,需要记录)
  8371. type: integer
  8372. opentradeqty:
  8373. description: 开仓成交数量(先建后平操作,需要记录)
  8374. type: integer
  8375. openunfreezecharge:
  8376. description: 开仓解冻手续费(先建后平操作,需要记录)
  8377. type: number
  8378. operatetype:
  8379. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8380. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8381. 15:管理端协议转让
  8382. type: integer
  8383. operatorid:
  8384. description: 登录账号(LoginID)
  8385. type: integer
  8386. optiontype:
  8387. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8388. type: integer
  8389. orderid:
  8390. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8391. type: string
  8392. orderprice:
  8393. description: 委托价格
  8394. type: number
  8395. orderqty:
  8396. description: 委托数量
  8397. type: integer
  8398. ordersrc:
  8399. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8400. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8401. type: integer
  8402. orderstatus:
  8403. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8404. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8405. 16:成交失败违约(荷兰式竞拍专用)
  8406. type: integer
  8407. ordertime:
  8408. description: 委托时间
  8409. type: string
  8410. preexerciseprice:
  8411. description: 预申报价格
  8412. type: number
  8413. premium:
  8414. description: 权利金
  8415. type: number
  8416. preorderid:
  8417. description: 关联预埋单号(止盈止损单时填写)
  8418. type: string
  8419. pricemode:
  8420. description: '取价方式 - 1:市价 2: 限价'
  8421. type: integer
  8422. quoteid:
  8423. description: 报价单ID
  8424. type: integer
  8425. relatedid:
  8426. description: 关联单号(交割单)
  8427. type: string
  8428. retcode:
  8429. description: 错误代码
  8430. type: integer
  8431. sessionid:
  8432. description: 会话ID
  8433. type: integer
  8434. tradedate:
  8435. description: 交易日(yyyyMMdd)
  8436. type: string
  8437. trademode:
  8438. description: 交易模式
  8439. type: integer
  8440. tradeproperty:
  8441. description: 交易属性
  8442. type: integer
  8443. tradeqty:
  8444. description: 成交数量
  8445. type: integer
  8446. unfreezecharge:
  8447. description: 解冻手续费
  8448. type: number
  8449. unfreezemargin:
  8450. description: 解冻保证金
  8451. type: number
  8452. updatetime:
  8453. description: 更新时间
  8454. type: string
  8455. uuid:
  8456. description: 发起端唯一id
  8457. type: string
  8458. validtime:
  8459. description: 有效期限
  8460. type: string
  8461. validtype:
  8462. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8463. type: integer
  8464. volumetype:
  8465. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8466. type: integer
  8467. required:
  8468. - accountid
  8469. - buildtype
  8470. - buyorsell
  8471. - goodsid
  8472. - histradedate
  8473. - marketid
  8474. - memberuserid
  8475. - operatetype
  8476. - orderid
  8477. - orderqty
  8478. - ordertime
  8479. - pricemode
  8480. - tradedate
  8481. - validtype
  8482. type: object
  8483. order.QueryTradeDetailRsp:
  8484. properties:
  8485. accountid:
  8486. description: 账户ID[报价币种]
  8487. type: integer
  8488. buildtype:
  8489. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8490. type: integer
  8491. buyorsell:
  8492. description: 方向 - 0:买 1:卖
  8493. type: integer
  8494. charge:
  8495. description: 手续费
  8496. type: number
  8497. closecharge:
  8498. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8499. type: number
  8500. closeexchagechargevalue:
  8501. description: 平仓交易所手续费设置值
  8502. type: number
  8503. closefeealgorithm:
  8504. description: 平仓手续费收取方式 1:比率 2:固定
  8505. type: integer
  8506. closememberchargevalue:
  8507. description: 平仓会员手续费设置值
  8508. type: number
  8509. closepl:
  8510. description: 平仓盈亏
  8511. type: number
  8512. closepl2:
  8513. description: 平仓盈亏[逐笔]
  8514. type: number
  8515. closeqty:
  8516. description: 平仓数量(先建后平操作 需要记录)
  8517. type: integer
  8518. creditamount:
  8519. description: 授信金额
  8520. type: number
  8521. gcaccountid:
  8522. description: 账户ID[合约币种]
  8523. type: integer
  8524. goodscode:
  8525. description: 商品代码
  8526. type: string
  8527. goodsid:
  8528. description: 商品ID
  8529. type: integer
  8530. goodsname:
  8531. description: 商品名称
  8532. type: string
  8533. intclosepl:
  8534. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8535. type: integer
  8536. isconfirmexercise:
  8537. description: 是否确认行权- 0:否 1:是
  8538. type: integer
  8539. ismain:
  8540. description: 是否主单 - 0:不是 1:是
  8541. type: integer
  8542. ispreexercise:
  8543. description: 是否预申报- 0:否 1:是
  8544. type: integer
  8545. isreckoned:
  8546. description: 是否结算 - 0:未结算 1:已结算
  8547. type: integer
  8548. listingselecttype:
  8549. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8550. type: integer
  8551. marketid:
  8552. description: 市场ID
  8553. type: integer
  8554. marketname:
  8555. description: 市场名称
  8556. type: string
  8557. matchaccountid:
  8558. description: 对手账号id
  8559. type: integer
  8560. memberuserid:
  8561. description: 会员id 个人投资者 需要填写
  8562. type: integer
  8563. opencharge:
  8564. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8565. type: number
  8566. openexchagechargevalue:
  8567. description: 建仓交易所手续费设置值
  8568. type: number
  8569. openfeealgorithm:
  8570. description: 建仓手续费收取方式 1:比率 2:固定
  8571. type: integer
  8572. openmemberchargevalue:
  8573. description: 建仓会员手续费设置值
  8574. type: number
  8575. openqty:
  8576. description: 开仓数量(先建后平操作 需要记录)
  8577. type: integer
  8578. optiontype:
  8579. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8580. type: integer
  8581. orderid:
  8582. description: 委托单号
  8583. type: string
  8584. performanceplanid:
  8585. description: 履约计划ID[期权]
  8586. type: integer
  8587. performancestatus:
  8588. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8589. type: integer
  8590. preexerciseprice:
  8591. description: 预申报价格
  8592. type: number
  8593. premium:
  8594. description: 权利金 - [持仓单的权利金]
  8595. type: number
  8596. relatedouttradeid:
  8597. description: 关联外部成交单ID
  8598. type: integer
  8599. status:
  8600. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8601. type: integer
  8602. tradeamount:
  8603. description: 成交金额[账户币种,用于所有权]
  8604. type: number
  8605. tradedate:
  8606. description: 交易日(yyyyMMdd)
  8607. type: string
  8608. tradeid:
  8609. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8610. type: string
  8611. trademode:
  8612. description: 交易模式
  8613. type: integer
  8614. tradeprice:
  8615. description: 成交价格
  8616. type: number
  8617. tradeproperty:
  8618. description: 交易属性
  8619. type: integer
  8620. tradeqty:
  8621. description: 成交数量
  8622. type: integer
  8623. tradetime:
  8624. description: 成交时间
  8625. type: string
  8626. tradetype:
  8627. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8628. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8629. type: integer
  8630. required:
  8631. - accountid
  8632. - buyorsell
  8633. - goodsid
  8634. - marketid
  8635. - memberuserid
  8636. - orderid
  8637. - tradeamount
  8638. - tradedate
  8639. - tradeid
  8640. - tradeprice
  8641. - tradeqty
  8642. - tradetime
  8643. type: object
  8644. order.QueryTradeOrderDetailRsp:
  8645. properties:
  8646. accountid:
  8647. description: 账户ID[报价币种]
  8648. type: integer
  8649. buildtype:
  8650. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8651. type: integer
  8652. buyorsell:
  8653. description: 买卖 - 0:买 1:卖
  8654. type: integer
  8655. cancelorderid:
  8656. description: 撤单单号(撤单时填写)
  8657. type: string
  8658. cancelqty:
  8659. description: 撤单数量
  8660. type: integer
  8661. clienttype:
  8662. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8663. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8664. type: integer
  8665. closefreezecharge:
  8666. description: 平仓冻结手续费(先建后平操作,需要记录)
  8667. type: number
  8668. closeqty:
  8669. description: 平仓数量(先建后平操作 需要记录)
  8670. type: integer
  8671. closetradeqty:
  8672. description: 平仓成交数量(先建后平操作,需要记录)
  8673. type: integer
  8674. closeunfreezecharge:
  8675. description: 平仓解冻手续费(先建后平操作,需要记录)
  8676. type: number
  8677. delistingtype:
  8678. description: 摘牌类型 - 1:价格最优 2:点选成交
  8679. type: integer
  8680. enableqty:
  8681. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8682. type: integer
  8683. freezecharge:
  8684. description: 冻结手续费
  8685. type: number
  8686. freezemargin:
  8687. description: 冻结保证金(冻结交易金额)
  8688. type: number
  8689. goodscode:
  8690. description: 商品代码
  8691. type: string
  8692. goodsid:
  8693. description: 商品ID
  8694. type: integer
  8695. goodsname:
  8696. description: 商品名称
  8697. type: string
  8698. listingselecttype:
  8699. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8700. type: integer
  8701. marketid:
  8702. description: 市场ID
  8703. type: integer
  8704. marketname:
  8705. description: 市场名称
  8706. type: string
  8707. openfreezecharge:
  8708. description: 开仓冻结手续费(先建后平操作,需要记录)
  8709. type: number
  8710. openqty:
  8711. description: 开仓数量(先建后平操作,需要记录)
  8712. type: integer
  8713. opentradeqty:
  8714. description: 开仓成交数量(先建后平操作,需要记录)
  8715. type: integer
  8716. openunfreezecharge:
  8717. description: 开仓解冻手续费(先建后平操作,需要记录)
  8718. type: number
  8719. operatetype:
  8720. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8721. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8722. 15:管理端协议转让
  8723. type: integer
  8724. operatorid:
  8725. description: 登录账号(LoginID)
  8726. type: integer
  8727. orderid:
  8728. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8729. type: string
  8730. orderprice:
  8731. description: 委托价格
  8732. type: number
  8733. orderqty:
  8734. description: 委托数量
  8735. type: integer
  8736. ordersrc:
  8737. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8738. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8739. type: integer
  8740. orderstatus:
  8741. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8742. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8743. 16:成交失败违约(荷兰式竞拍专用)
  8744. type: integer
  8745. ordertime:
  8746. description: 委托时间
  8747. type: string
  8748. preorderid:
  8749. description: 关联预埋单号(止盈止损单时填写)
  8750. type: string
  8751. pricemode:
  8752. description: '取价方式 - 1:市价 2: 限价'
  8753. type: integer
  8754. relatedid:
  8755. description: 关联单号(交割单)
  8756. type: string
  8757. tradedate:
  8758. description: 交易日(yyyyMMdd)
  8759. type: string
  8760. trademode:
  8761. description: 交易模式
  8762. type: integer
  8763. tradeqty:
  8764. description: 成交数量
  8765. type: integer
  8766. unfreezecharge:
  8767. description: 解冻手续费
  8768. type: number
  8769. unfreezemargin:
  8770. description: 解冻保证金
  8771. type: number
  8772. validtime:
  8773. description: 有效期限
  8774. type: string
  8775. validtype:
  8776. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8777. type: integer
  8778. volumetype:
  8779. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8780. type: integer
  8781. required:
  8782. - accountid
  8783. - buildtype
  8784. - buyorsell
  8785. - goodsid
  8786. - marketid
  8787. - operatetype
  8788. - orderqty
  8789. - ordertime
  8790. - pricemode
  8791. - tradedate
  8792. - validtype
  8793. type: object
  8794. order.QueryTradePositionRsp:
  8795. properties:
  8796. accountid:
  8797. description: 资金账户
  8798. type: integer
  8799. agreeunit:
  8800. description: 合约单位
  8801. type: number
  8802. averageprice:
  8803. description: 持仓均价
  8804. type: number
  8805. buyorsell:
  8806. description: 方向 - 0:买 1:卖
  8807. type: integer
  8808. closetotalqty:
  8809. description: 平仓总数量
  8810. type: integer
  8811. curholderamount:
  8812. description: 当前持仓总金额[商品币种]
  8813. type: number
  8814. curpositionqty:
  8815. description: 当前持仓总数量
  8816. type: integer
  8817. currencyid:
  8818. description: 报价货币ID
  8819. type: integer
  8820. curtdposition:
  8821. description: 期末今日头寸
  8822. type: integer
  8823. decimalplace:
  8824. description: 报价小数位
  8825. type: integer
  8826. enableqty:
  8827. description: 可用量
  8828. type: integer
  8829. fretdposition:
  8830. description: 冻结今日头寸
  8831. type: integer
  8832. frozenqty:
  8833. description: 持仓冻结数量
  8834. type: integer
  8835. goodscode:
  8836. description: 商品代码
  8837. type: string
  8838. goodsid:
  8839. description: 商品Id
  8840. type: integer
  8841. goodsname:
  8842. description: 商品名称
  8843. type: string
  8844. goodunit:
  8845. description: 报价单位
  8846. type: string
  8847. goodunitid:
  8848. description: 报价单位ID
  8849. type: integer
  8850. holderamount:
  8851. description: 期初持仓总金额[商品币种]
  8852. type: number
  8853. marketid:
  8854. description: 所属市场ID
  8855. type: integer
  8856. openreqqty:
  8857. description: 开仓申请数量(用于比较最大持仓数量)
  8858. type: integer
  8859. opentotalqty:
  8860. description: 开仓总数量
  8861. type: integer
  8862. otherfrozenqty:
  8863. description: 持仓其他冻结数量(交割冻结)
  8864. type: integer
  8865. positionqty:
  8866. description: 期初持仓数量
  8867. type: integer
  8868. tnqty:
  8869. description: T+N冻结总量
  8870. type: integer
  8871. tnusedqty:
  8872. description: T+N使用量(可以使用T+N的冻结数量)
  8873. type: integer
  8874. trademode:
  8875. description: 交易模式
  8876. type: integer
  8877. usedmargin:
  8878. description: 占用保证金[商品币种]
  8879. type: number
  8880. required:
  8881. - goodsid
  8882. type: object
  8883. quote.HistoryData:
  8884. properties:
  8885. c:
  8886. description: 收盘价
  8887. type: number
  8888. f:
  8889. description: 是否补充数据
  8890. type: boolean
  8891. h:
  8892. description: 最高价
  8893. type: number
  8894. hv:
  8895. description: 持仓量
  8896. type: integer
  8897. l:
  8898. description: 最低价
  8899. type: number
  8900. o:
  8901. description: 开盘价
  8902. type: number
  8903. s:
  8904. description: 结算价,日线周期(包括)以上才有
  8905. type: number
  8906. ts:
  8907. description: 时间
  8908. type: string
  8909. tt:
  8910. description: 总金额
  8911. type: number
  8912. tv:
  8913. description: 总量
  8914. type: integer
  8915. type: object
  8916. quote.HistoryTikData:
  8917. properties:
  8918. AV:
  8919. description: 卖量
  8920. type: integer
  8921. Ask:
  8922. description: 卖价
  8923. type: number
  8924. BV:
  8925. description: 买量
  8926. type: integer
  8927. Bid:
  8928. description: 买价
  8929. type: number
  8930. HI:
  8931. description: 单笔持仓
  8932. type: integer
  8933. HV:
  8934. description: 持仓量
  8935. type: integer
  8936. PE:
  8937. description: 现价
  8938. type: number
  8939. TDR:
  8940. description: 交易方向,0:买 1:卖
  8941. type: integer
  8942. TK:
  8943. description: 交易类型
  8944. type: integer
  8945. TS:
  8946. description: 行情时间文本
  8947. type: string
  8948. TT:
  8949. description: 现金额
  8950. type: number
  8951. Vol:
  8952. description: 现量
  8953. type: integer
  8954. type: object
  8955. quote.QueryQuoteDayRsp:
  8956. properties:
  8957. ask:
  8958. description: 卖1
  8959. type: number
  8960. ask2:
  8961. description: 卖2
  8962. type: number
  8963. ask3:
  8964. description: 卖3
  8965. type: number
  8966. ask4:
  8967. description: 卖4
  8968. type: number
  8969. ask5:
  8970. description: 卖5
  8971. type: number
  8972. ask6:
  8973. description: 卖6
  8974. type: number
  8975. ask7:
  8976. description: 卖7
  8977. type: number
  8978. ask8:
  8979. description: 卖8
  8980. type: number
  8981. ask9:
  8982. description: 卖9
  8983. type: number
  8984. ask10:
  8985. description: 卖10
  8986. type: number
  8987. askorderid:
  8988. description: 卖单号1
  8989. type: integer
  8990. askorderid2:
  8991. description: 卖单号2
  8992. type: integer
  8993. askorderid3:
  8994. description: 卖单号3
  8995. type: integer
  8996. askorderid4:
  8997. description: 卖单号4
  8998. type: integer
  8999. askorderid5:
  9000. description: 卖单号5
  9001. type: integer
  9002. askordervolume:
  9003. description: 卖单量1
  9004. type: integer
  9005. askordervolume2:
  9006. description: 卖单量2
  9007. type: integer
  9008. askordervolume3:
  9009. description: 卖单量3
  9010. type: integer
  9011. askordervolume4:
  9012. description: 卖单量4
  9013. type: integer
  9014. askordervolume5:
  9015. description: 卖单量5
  9016. type: integer
  9017. askordervolume6:
  9018. description: 卖单量6
  9019. type: integer
  9020. askordervolume7:
  9021. description: 卖单量7
  9022. type: integer
  9023. askordervolume8:
  9024. description: 卖单量8
  9025. type: integer
  9026. askordervolume9:
  9027. description: 卖单量9
  9028. type: integer
  9029. askordervolume10:
  9030. description: 卖单量10
  9031. type: integer
  9032. askqueueinfo:
  9033. description: 大利市卖港股用
  9034. type: string
  9035. askvolume:
  9036. description: 卖量1
  9037. type: integer
  9038. askvolume2:
  9039. description: 卖量2
  9040. type: integer
  9041. askvolume3:
  9042. description: 卖量3
  9043. type: integer
  9044. askvolume4:
  9045. description: 卖量4
  9046. type: integer
  9047. askvolume5:
  9048. description: 卖量5
  9049. type: integer
  9050. askvolume6:
  9051. description: 卖量6
  9052. type: integer
  9053. askvolume7:
  9054. description: 卖量7
  9055. type: integer
  9056. askvolume8:
  9057. description: 卖量8
  9058. type: integer
  9059. askvolume9:
  9060. description: 卖量9
  9061. type: integer
  9062. askvolume10:
  9063. description: 卖量10
  9064. type: integer
  9065. averageprice:
  9066. description: 均价
  9067. type: number
  9068. bid:
  9069. description: 买1
  9070. type: number
  9071. bid2:
  9072. description: 买2
  9073. type: number
  9074. bid3:
  9075. description: 买3
  9076. type: number
  9077. bid4:
  9078. description: 买4
  9079. type: number
  9080. bid5:
  9081. description: 买5
  9082. type: number
  9083. bid6:
  9084. description: 买6
  9085. type: number
  9086. bid7:
  9087. description: 买7
  9088. type: number
  9089. bid8:
  9090. description: 买8
  9091. type: number
  9092. bid9:
  9093. description: 买9
  9094. type: number
  9095. bid10:
  9096. description: 买10
  9097. type: number
  9098. bidorderid:
  9099. description: 买单号1
  9100. type: integer
  9101. bidorderid2:
  9102. description: 买单号2
  9103. type: integer
  9104. bidorderid3:
  9105. description: 买单号3
  9106. type: integer
  9107. bidorderid4:
  9108. description: 买单号4
  9109. type: integer
  9110. bidorderid5:
  9111. description: 买单号5
  9112. type: integer
  9113. bidordervolume:
  9114. description: 买单量1
  9115. type: integer
  9116. bidordervolume2:
  9117. description: 买单量2
  9118. type: integer
  9119. bidordervolume3:
  9120. description: 买单量3
  9121. type: integer
  9122. bidordervolume4:
  9123. description: 买单量4
  9124. type: integer
  9125. bidordervolume5:
  9126. description: 买单量5
  9127. type: integer
  9128. bidordervolume6:
  9129. description: 买单量6
  9130. type: integer
  9131. bidordervolume7:
  9132. description: 买单量7
  9133. type: integer
  9134. bidordervolume8:
  9135. description: 买单量8
  9136. type: integer
  9137. bidordervolume9:
  9138. description: 买单量9
  9139. type: integer
  9140. bidordervolume10:
  9141. description: 买单量10
  9142. type: integer
  9143. bidqueueinfo:
  9144. description: 大利市买港股用
  9145. type: string
  9146. bidvolume:
  9147. description: 买量1
  9148. type: integer
  9149. bidvolume2:
  9150. description: 买量2
  9151. type: integer
  9152. bidvolume3:
  9153. description: 买量3
  9154. type: integer
  9155. bidvolume4:
  9156. description: 买量4
  9157. type: integer
  9158. bidvolume5:
  9159. description: 买量5
  9160. type: integer
  9161. bidvolume6:
  9162. description: 买量6
  9163. type: integer
  9164. bidvolume7:
  9165. description: 买量7
  9166. type: integer
  9167. bidvolume8:
  9168. description: 买量8
  9169. type: integer
  9170. bidvolume9:
  9171. description: 买量9
  9172. type: integer
  9173. bidvolume10:
  9174. description: 买量10
  9175. type: integer
  9176. calloptionpremiums:
  9177. description: 认购期权1
  9178. type: integer
  9179. calloptionpremiums2:
  9180. description: 认购期权2
  9181. type: integer
  9182. calloptionpremiums3:
  9183. description: 认购期权3
  9184. type: integer
  9185. calloptionpremiums4:
  9186. description: 认购期权4
  9187. type: integer
  9188. calloptionpremiums5:
  9189. description: 认购期权5
  9190. type: integer
  9191. cleartime:
  9192. description: 清盘时间
  9193. type: integer
  9194. exchangecode:
  9195. description: 交易所代码
  9196. type: integer
  9197. exchangedate:
  9198. description: 交易日
  9199. type: integer
  9200. goodscode:
  9201. description: 商品代码
  9202. type: string
  9203. grepmarketprice:
  9204. description: 暗盘价 港股专用
  9205. type: number
  9206. highest:
  9207. description: 最高价
  9208. type: number
  9209. holdincrement:
  9210. description: 单笔持仓
  9211. type: integer
  9212. holdvolume:
  9213. description: 持仓
  9214. type: integer
  9215. iep:
  9216. description: 平衡价 港股专用
  9217. type: number
  9218. iev:
  9219. description: 平衡量 港股专用
  9220. type: number
  9221. inventory:
  9222. description: 库存
  9223. type: integer
  9224. iscleared:
  9225. description: 是否清盘标志
  9226. type: integer
  9227. issettled:
  9228. description: 是否结算标志
  9229. type: integer
  9230. last:
  9231. description: 最新价
  9232. type: number
  9233. lastlot:
  9234. description: 最新成交手数
  9235. type: integer
  9236. lasttime:
  9237. description: 行情时间(只有现价变化行情时间才变化)
  9238. type: string
  9239. lastturnover:
  9240. description: 最新成交金额
  9241. type: number
  9242. lastvolume:
  9243. description: 最新成交量
  9244. type: integer
  9245. limitdown:
  9246. description: 跌停价
  9247. type: number
  9248. limitup:
  9249. description: 涨停价
  9250. type: number
  9251. lowest:
  9252. description: 最低价
  9253. type: number
  9254. nontotalholdervolume:
  9255. description: 非交易持仓量
  9256. type: integer
  9257. nontotallot:
  9258. description: 非交易总手数
  9259. type: integer
  9260. nontotalturnover:
  9261. description: 非交易总金额
  9262. type: integer
  9263. nontotalvolume:
  9264. description: 非交易总量
  9265. type: integer
  9266. opened:
  9267. description: 开盘价
  9268. type: number
  9269. opentime:
  9270. description: 开盘时间
  9271. type: string
  9272. orderid:
  9273. description: 序号
  9274. type: integer
  9275. preclose:
  9276. description: 昨收
  9277. type: number
  9278. preholdvolume:
  9279. description: 昨持仓
  9280. type: integer
  9281. presettle:
  9282. description: 昨结价
  9283. type: number
  9284. publictradetype:
  9285. description: 公共交易标志类型 港股专用
  9286. type: string
  9287. putoptionpremiums:
  9288. description: 认沽期权1
  9289. type: integer
  9290. putoptionpremiums2:
  9291. description: 认沽期权2
  9292. type: integer
  9293. putoptionpremiums3:
  9294. description: 认沽期权3
  9295. type: integer
  9296. putoptionpremiums4:
  9297. description: 认沽期权4
  9298. type: integer
  9299. putoptionpremiums5:
  9300. description: 认沽期权5
  9301. type: integer
  9302. settle:
  9303. description: 结算价
  9304. type: number
  9305. strikeprice:
  9306. description: 发行价
  9307. type: number
  9308. totalaskvolume:
  9309. description: 内盘
  9310. type: integer
  9311. totalbidvolume:
  9312. description: 外盘
  9313. type: integer
  9314. totallot:
  9315. description: 总手数
  9316. type: integer
  9317. totalturnover:
  9318. description: 总金额
  9319. type: number
  9320. totalvolume:
  9321. description: 总量
  9322. type: integer
  9323. utclasttime:
  9324. description: utc的行情时间
  9325. type: string
  9326. type: object
  9327. quote.QueryTSDataRsp:
  9328. properties:
  9329. decimalPlace:
  9330. description: 小数位
  9331. type: integer
  9332. endTime:
  9333. description: 结束时间
  9334. type: string
  9335. goodsCode:
  9336. description: 商品代码
  9337. type: string
  9338. historyDatas:
  9339. description: 历史数据
  9340. items:
  9341. $ref: '#/definitions/quote.HistoryData'
  9342. type: array
  9343. outGoodsCode:
  9344. description: 外部商品代码
  9345. type: string
  9346. preSettle:
  9347. description: 昨结价
  9348. type: number
  9349. startTime:
  9350. description: 开始时间
  9351. type: string
  9352. tradeDate:
  9353. description: 交易日
  9354. type: string
  9355. type: object
  9356. szdz.QueryConvertLogRsp:
  9357. properties:
  9358. accountid:
  9359. description: 资金账户ID
  9360. type: integer
  9361. clientticket:
  9362. description: 客户端流水号
  9363. type: string
  9364. converttype:
  9365. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  9366. type: integer
  9367. createtime:
  9368. description: 记账时间
  9369. type: string
  9370. daymaxvalue:
  9371. description: 配置当日最大转入限制
  9372. type: number
  9373. daymaxvalue2:
  9374. description: 配置当日最大转入限制(转入)
  9375. type: number
  9376. goodscode:
  9377. description: 商品代码
  9378. type: string
  9379. goodsname:
  9380. description: 商品名称
  9381. type: string
  9382. handlestatus:
  9383. description: 处理状态
  9384. type: integer
  9385. innergoodsid:
  9386. description: 内部商品ID
  9387. type: integer
  9388. inratio:
  9389. description: 配置转入比值
  9390. type: integer
  9391. invalue:
  9392. description: 目标值
  9393. type: number
  9394. logid:
  9395. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9396. type: integer
  9397. mobile:
  9398. description: 手机号码(加密存储)
  9399. type: string
  9400. outergoodscode:
  9401. description: 外部商品代码[JD\PD]
  9402. type: string
  9403. outratio:
  9404. description: 配置转出比值
  9405. type: integer
  9406. outvalue:
  9407. description: 源值
  9408. type: number
  9409. pddecimalplace:
  9410. description: PD小数位
  9411. type: integer
  9412. qty:
  9413. description: 数量
  9414. type: string
  9415. remark:
  9416. description: 备注
  9417. type: string
  9418. sessionid:
  9419. description: 会话ID
  9420. type: integer
  9421. timemaxvalue:
  9422. description: 配置单次最大转入限制
  9423. type: number
  9424. timemaxvalue2:
  9425. description: 配置单次最大转入限制(转入)
  9426. type: number
  9427. timeminvalue:
  9428. description: 配置单次最小数量限制
  9429. type: number
  9430. timeminvalue2:
  9431. description: 配置单次最小数量限制(转入)
  9432. type: number
  9433. tradedate:
  9434. description: 交易日(yyyyMMdd)
  9435. type: string
  9436. userid:
  9437. description: 用户ID
  9438. type: integer
  9439. required:
  9440. - logid
  9441. type: object
  9442. szdz.QueryGoodsPickupRsp:
  9443. properties:
  9444. accountid:
  9445. description: 账户ID
  9446. type: integer
  9447. address:
  9448. description: 提货人详细地址
  9449. type: string
  9450. auditer:
  9451. description: 审核人
  9452. type: integer
  9453. audittime:
  9454. description: 审核时间
  9455. type: string
  9456. cardnum:
  9457. description: 提货人证件号码
  9458. type: string
  9459. cardtypeid:
  9460. description: 提货人证件类型
  9461. type: integer
  9462. checkremark:
  9463. description: 审核备注
  9464. type: string
  9465. goodscode:
  9466. description: 商品代码
  9467. type: string
  9468. goodsid:
  9469. description: 商品ID
  9470. type: integer
  9471. goodsname:
  9472. description: 商品名称
  9473. type: string
  9474. handlestatus:
  9475. description: 处理状态
  9476. type: integer
  9477. marketid:
  9478. description: 市场ID
  9479. type: integer
  9480. phonenum:
  9481. description: 提货人联系方式
  9482. type: string
  9483. qty:
  9484. description: 提货数量
  9485. type: number
  9486. recivername:
  9487. description: 提货人姓名
  9488. type: string
  9489. reqtime:
  9490. description: 更新时间
  9491. type: string
  9492. takemode:
  9493. description: 提货方式 - 2:自提 3:配送
  9494. type: integer
  9495. takeorderid:
  9496. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9497. type: string
  9498. takeorderstatus:
  9499. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9500. type: integer
  9501. takeremark:
  9502. description: 提货备注
  9503. type: string
  9504. tradedate:
  9505. description: 交易日(yyyyMMdd)
  9506. type: string
  9507. userid:
  9508. description: 用户ID
  9509. type: integer
  9510. required:
  9511. - takeorderid
  9512. type: object
  9513. szdz.QueryRecieptOrderRsp:
  9514. properties:
  9515. accountName:
  9516. description: 所属账号名称(已脱敏)
  9517. type: string
  9518. accountid:
  9519. description: 资金账号
  9520. type: integer
  9521. buyorsell:
  9522. description: 方向 - 0:买 1:卖
  9523. type: integer
  9524. enableqty:
  9525. description: 可摘数量
  9526. type: integer
  9527. goodscode:
  9528. description: 商品代码
  9529. type: string
  9530. goodsid:
  9531. description: 商品ID
  9532. type: integer
  9533. goodsname:
  9534. description: 商品名称
  9535. type: string
  9536. orderid:
  9537. description: 委托单号
  9538. type: string
  9539. orderprice:
  9540. description: 委托价格
  9541. type: number
  9542. ordertime:
  9543. description: 委托时间
  9544. type: string
  9545. tradedate:
  9546. description: 交易日(yyyyMMdd)
  9547. type: string
  9548. required:
  9549. - ordertime
  9550. type: object
  9551. szdz.QuerySZDZTradePositionRsp:
  9552. properties:
  9553. accountid:
  9554. description: 账号Id
  9555. type: integer
  9556. agreeunit:
  9557. description: 合约单位
  9558. type: number
  9559. averageprice:
  9560. description: 持仓均价
  9561. type: number
  9562. buyorsell:
  9563. description: 方向 - 0:买 1:卖
  9564. type: integer
  9565. closetotalqty:
  9566. description: 平仓总数量
  9567. type: integer
  9568. curholderamount:
  9569. description: 当前持仓总金额
  9570. type: number
  9571. curpositionqty:
  9572. description: 当前持仓总数量
  9573. type: integer
  9574. currencyid:
  9575. description: 报价货币ID
  9576. type: integer
  9577. curtdposition:
  9578. description: 期末今日头寸
  9579. type: integer
  9580. decimalplace:
  9581. description: 报价小数位
  9582. type: integer
  9583. enableqty:
  9584. description: 可用量
  9585. type: integer
  9586. fretdposition:
  9587. description: 冻结今日头寸
  9588. type: integer
  9589. frozenqty:
  9590. description: 持仓冻结数量
  9591. type: integer
  9592. goodscode:
  9593. description: 商品代码(内部)
  9594. type: string
  9595. goodsid:
  9596. description: 商品Id
  9597. type: integer
  9598. goodsname:
  9599. description: 商品名称
  9600. type: string
  9601. goodunit:
  9602. description: 报价单位
  9603. type: string
  9604. goodunitid:
  9605. description: 报价单位ID
  9606. type: integer
  9607. holderamount:
  9608. description: 期初持仓总金额
  9609. type: number
  9610. marketid:
  9611. description: 市场ID
  9612. type: integer
  9613. openreqqty:
  9614. description: 开仓申请数量
  9615. type: integer
  9616. opentotalqty:
  9617. description: 开仓总数量
  9618. type: integer
  9619. otherfrozenqty:
  9620. description: 持仓其他冻结数量(交割冻结)
  9621. type: integer
  9622. positionqty:
  9623. description: 期初持仓数量
  9624. type: integer
  9625. szdz3freezqty:
  9626. description: 尚志大宗转换冻结总数量
  9627. type: integer
  9628. tnqty:
  9629. description: T+N冻结总量
  9630. type: integer
  9631. tnusedqty:
  9632. description: T+N使用量
  9633. type: integer
  9634. trademode:
  9635. description: 交易模式
  9636. type: integer
  9637. usedmargin:
  9638. description: 占用保证金
  9639. type: number
  9640. type: object
  9641. taaccount.QueryAmountLogRsp:
  9642. properties:
  9643. OPERATETYPENAME:
  9644. description: 资金操作类型名称
  9645. type: string
  9646. accountid:
  9647. description: 资金账户ID
  9648. type: integer
  9649. agoodscode:
  9650. description: 竞拍商品代码
  9651. type: string
  9652. agoodsname:
  9653. description: 竞拍商品名称
  9654. type: string
  9655. amount:
  9656. description: 资金金额
  9657. type: number
  9658. amountadjusttype:
  9659. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9660. type: integer
  9661. autoid:
  9662. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9663. type: integer
  9664. balance:
  9665. description: 期初余额
  9666. type: number
  9667. businesscode:
  9668. description: 业务编号
  9669. type: integer
  9670. createtime:
  9671. description: 发生时间
  9672. type: string
  9673. currencyid:
  9674. description: 币种ID
  9675. type: integer
  9676. currentbalance:
  9677. description: 期末余额(变动后金额)
  9678. type: number
  9679. dgoodscode:
  9680. description: 交割商品代码
  9681. type: string
  9682. dgoodsname:
  9683. description: 交割商品名称
  9684. type: string
  9685. goodscode:
  9686. description: 商品代码
  9687. type: string
  9688. goodsid:
  9689. description: 商品ID
  9690. type: integer
  9691. goodsname:
  9692. description: 商品名称
  9693. type: string
  9694. marketid:
  9695. description: 市场ID
  9696. type: integer
  9697. marketname:
  9698. description: 市场名称
  9699. type: string
  9700. moneyticket:
  9701. description: 资金流水号:银行端流水号
  9702. type: integer
  9703. operatetype:
  9704. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9705. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9706. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9707. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9708. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9709. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9710. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9711. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9712. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9713. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9714. type: integer
  9715. relationorderid:
  9716. description: 关联单号
  9717. type: string
  9718. remark:
  9719. description: 备注
  9720. type: string
  9721. trademode:
  9722. description: 交易模式
  9723. type: integer
  9724. required:
  9725. - accountid
  9726. - amount
  9727. - amountadjusttype
  9728. - autoid
  9729. - balance
  9730. - createtime
  9731. - currentbalance
  9732. - operatetype
  9733. type: object
  9734. taaccount.QueryHisAmountLogRsp:
  9735. properties:
  9736. OPERATETYPENAME:
  9737. description: 资金操作类型名称
  9738. type: string
  9739. accountid:
  9740. description: 资金账户ID
  9741. type: integer
  9742. agoodscode:
  9743. description: 竞拍商品代码
  9744. type: string
  9745. agoodsname:
  9746. description: 竞拍商品名称
  9747. type: string
  9748. amount:
  9749. description: 资金金额
  9750. type: number
  9751. amountadjusttype:
  9752. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9753. type: integer
  9754. autoid:
  9755. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9756. type: integer
  9757. balance:
  9758. description: 期初余额
  9759. type: number
  9760. businesscode:
  9761. description: 业务编号
  9762. type: integer
  9763. createtime:
  9764. description: 发生时间
  9765. type: string
  9766. currencyid:
  9767. description: 币种ID
  9768. type: integer
  9769. currentbalance:
  9770. description: 期末余额(变动后金额)
  9771. type: number
  9772. dgoodscode:
  9773. description: 交割商品代码
  9774. type: string
  9775. dgoodsname:
  9776. description: 交割商品名称
  9777. type: string
  9778. goodscode:
  9779. description: 商品代码
  9780. type: string
  9781. goodsid:
  9782. description: 商品ID
  9783. type: integer
  9784. goodsname:
  9785. description: 商品名称
  9786. type: string
  9787. histradedate:
  9788. description: 历史交易日
  9789. type: string
  9790. isvaliddata:
  9791. description: 是否有效 - 0:无效 1:有效
  9792. type: integer
  9793. marketid:
  9794. description: 市场ID
  9795. type: integer
  9796. marketname:
  9797. description: 市场名称
  9798. type: string
  9799. moneyticket:
  9800. description: 资金流水号:银行端流水号
  9801. type: integer
  9802. operatetype:
  9803. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9804. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9805. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9806. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9807. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9808. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9809. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9810. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9811. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9812. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9813. type: integer
  9814. relationorderid:
  9815. description: 关联单号
  9816. type: string
  9817. remark:
  9818. description: 备注
  9819. type: string
  9820. trademode:
  9821. description: 交易模式
  9822. type: integer
  9823. required:
  9824. - accountid
  9825. - amount
  9826. - amountadjusttype
  9827. - autoid
  9828. - balance
  9829. - createtime
  9830. - currentbalance
  9831. - histradedate
  9832. - operatetype
  9833. type: object
  9834. trade.QueryRecieptOrderRsp:
  9835. properties:
  9836. accountName:
  9837. description: 所属账号名称(已脱敏)
  9838. type: string
  9839. accountid:
  9840. description: 资金账号
  9841. type: integer
  9842. buyorsell:
  9843. description: 方向 - 0:买 1:卖
  9844. type: integer
  9845. enableqty:
  9846. description: 可摘数量
  9847. type: integer
  9848. goodscode:
  9849. description: 商品代码
  9850. type: string
  9851. goodsid:
  9852. description: 商品ID
  9853. type: integer
  9854. goodsname:
  9855. description: 商品名称
  9856. type: string
  9857. orderid:
  9858. description: 委托单号
  9859. type: string
  9860. orderprice:
  9861. description: 委托价格
  9862. type: number
  9863. ordertime:
  9864. description: 委托时间
  9865. type: string
  9866. tradedate:
  9867. description: 交易日(yyyyMMdd)
  9868. type: string
  9869. required:
  9870. - ordertime
  9871. type: object
  9872. user.LoginQueryRsp:
  9873. properties:
  9874. externalExchanges:
  9875. description: 外部交易所
  9876. items:
  9877. $ref: '#/definitions/models.Externalexchange'
  9878. type: array
  9879. goodsgroups:
  9880. description: 商品组
  9881. items:
  9882. $ref: '#/definitions/models.Goodsgroup'
  9883. type: array
  9884. loginAccount:
  9885. $ref: '#/definitions/models.Loginaccount'
  9886. description: 登录账号
  9887. type: object
  9888. markets:
  9889. description: 市场
  9890. items:
  9891. $ref: '#/definitions/models.Market'
  9892. type: array
  9893. systemParams:
  9894. description: 系统参数
  9895. items:
  9896. $ref: '#/definitions/models.Systemparam'
  9897. type: array
  9898. userAccount:
  9899. $ref: '#/definitions/models.Useraccount'
  9900. description: 用户账号
  9901. type: object
  9902. userInfo:
  9903. $ref: '#/definitions/models.Userinfo'
  9904. description: 用户信息
  9905. type: object
  9906. username:
  9907. description: 用户姓名
  9908. type: string
  9909. type: object
  9910. info:
  9911. contact: {}
  9912. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9913. license: {}
  9914. termsOfService: http://muchinfo.cn
  9915. title: MTP2.0 查询服务 API
  9916. version: "1.0"
  9917. paths:
  9918. /CPTrade/QueryCPTradeMyBidInfos:
  9919. get:
  9920. parameters:
  9921. - description: 资金账户
  9922. in: query
  9923. name: accountid
  9924. required: true
  9925. type: integer
  9926. - description: 预售市场ID
  9927. in: query
  9928. name: marketid
  9929. type: integer
  9930. - description: 预售商品ID
  9931. in: query
  9932. name: goodsid
  9933. type: integer
  9934. produces:
  9935. - application/json
  9936. responses:
  9937. "200":
  9938. description: OK
  9939. schema:
  9940. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9941. "500":
  9942. description: Internal Server Error
  9943. schema:
  9944. $ref: '#/definitions/app.Response'
  9945. security:
  9946. - ApiKeyAuth: []
  9947. summary: 查询产能预售我的出价信息
  9948. tags:
  9949. - 产能预售
  9950. /CPTrade/QueryCPTradeOrderDetail:
  9951. get:
  9952. parameters:
  9953. - description: 预售商品ID
  9954. in: query
  9955. name: goodsid
  9956. type: integer
  9957. - description: 预售市场ID
  9958. in: query
  9959. name: marketid
  9960. type: integer
  9961. - description: 预售商品ID列表 - 格式:1,2,3
  9962. in: query
  9963. name: goodsids
  9964. type: string
  9965. produces:
  9966. - application/json
  9967. responses:
  9968. "200":
  9969. description: OK
  9970. schema:
  9971. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9972. "500":
  9973. description: Internal Server Error
  9974. schema:
  9975. $ref: '#/definitions/app.Response'
  9976. security:
  9977. - ApiKeyAuth: []
  9978. summary: 查询产能预售委托单信息
  9979. tags:
  9980. - 产能预售
  9981. /CPTrade/QueryMyCPTradeGoods:
  9982. get:
  9983. parameters:
  9984. - description: 资金账户
  9985. in: query
  9986. name: accountid
  9987. required: true
  9988. type: integer
  9989. produces:
  9990. - application/json
  9991. responses:
  9992. "200":
  9993. description: OK
  9994. schema:
  9995. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9996. "500":
  9997. description: Internal Server Error
  9998. schema:
  9999. $ref: '#/definitions/app.Response'
  10000. security:
  10001. - ApiKeyAuth: []
  10002. summary: 查询我的预售信息
  10003. tags:
  10004. - 产能预售
  10005. /CPTrade/QueryPositionCancel:
  10006. get:
  10007. parameters:
  10008. - description: 账户ID
  10009. in: query
  10010. name: userid
  10011. required: true
  10012. type: integer
  10013. - description: 注销ID
  10014. in: query
  10015. name: cancelid
  10016. type: integer
  10017. - description: 资金账户ID
  10018. in: query
  10019. name: accountid
  10020. type: integer
  10021. produces:
  10022. - application/json
  10023. responses:
  10024. "200":
  10025. description: OK
  10026. schema:
  10027. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  10028. "500":
  10029. description: Internal Server Error
  10030. schema:
  10031. $ref: '#/definitions/app.Response'
  10032. security:
  10033. - ApiKeyAuth: []
  10034. summary: 查询远期订单注销申请信息
  10035. tags:
  10036. - 产能预售
  10037. /CPTrade/QueryPreasleApply:
  10038. get:
  10039. parameters:
  10040. - description: 账户ID
  10041. in: query
  10042. name: userid
  10043. required: true
  10044. type: integer
  10045. - description: 申请ID
  10046. in: query
  10047. name: applyid
  10048. type: integer
  10049. - description: 资金账户ID
  10050. in: query
  10051. name: accountid
  10052. type: integer
  10053. produces:
  10054. - application/json
  10055. responses:
  10056. "200":
  10057. description: OK
  10058. schema:
  10059. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  10060. "500":
  10061. description: Internal Server Error
  10062. schema:
  10063. $ref: '#/definitions/app.Response'
  10064. security:
  10065. - ApiKeyAuth: []
  10066. summary: 查询产能预售申请信息
  10067. tags:
  10068. - 产能预售
  10069. /CPTrade/QueryPresaleGoodsEx:
  10070. get:
  10071. parameters:
  10072. - description: 预售商品ID
  10073. in: query
  10074. name: goodsid
  10075. type: integer
  10076. - description: 预售市场ID
  10077. in: query
  10078. name: marketid
  10079. type: integer
  10080. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  10081. in: query
  10082. name: presalemode
  10083. type: integer
  10084. - description: 预售商品ID列表 - 格式:1,2,3
  10085. in: query
  10086. name: goodsids
  10087. type: string
  10088. - description: 预售商品代码
  10089. in: query
  10090. name: goodscode
  10091. type: string
  10092. produces:
  10093. - application/json
  10094. responses:
  10095. "200":
  10096. description: OK
  10097. schema:
  10098. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  10099. "500":
  10100. description: Internal Server Error
  10101. schema:
  10102. $ref: '#/definitions/app.Response'
  10103. security:
  10104. - ApiKeyAuth: []
  10105. summary: 查询产能预售商品扩展信息
  10106. tags:
  10107. - 产能预售
  10108. /CPTrade/QueryUserGoodsData:
  10109. get:
  10110. parameters:
  10111. - description: 资金账户ID
  10112. in: query
  10113. name: accountid
  10114. required: true
  10115. type: integer
  10116. produces:
  10117. - application/json
  10118. responses:
  10119. "200":
  10120. description: OK
  10121. schema:
  10122. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  10123. "500":
  10124. description: Internal Server Error
  10125. schema:
  10126. $ref: '#/definitions/app.Response'
  10127. security:
  10128. - ApiKeyAuth: []
  10129. summary: 查询远期订单信息
  10130. tags:
  10131. - 产能预售
  10132. /Common/GetAllEnums:
  10133. get:
  10134. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  10135. parameters:
  10136. - description: 起始自增ID
  10137. in: query
  10138. name: autoid
  10139. type: integer
  10140. produces:
  10141. - application/json
  10142. responses:
  10143. "200":
  10144. description: OK
  10145. schema:
  10146. $ref: '#/definitions/models.Enumdicitem'
  10147. "500":
  10148. description: Internal Server Error
  10149. schema:
  10150. $ref: '#/definitions/app.Response'
  10151. summary: 获取所有枚举信息
  10152. tags:
  10153. - 通用服务
  10154. /Common/GetDivisions:
  10155. get:
  10156. produces:
  10157. - application/json
  10158. responses:
  10159. "200":
  10160. description: OK
  10161. schema:
  10162. $ref: '#/definitions/models.Division'
  10163. "500":
  10164. description: Internal Server Error
  10165. schema:
  10166. $ref: '#/definitions/app.Response'
  10167. summary: 查询区域信息
  10168. tags:
  10169. - 通用服务
  10170. /Common/GetServerTime:
  10171. get:
  10172. produces:
  10173. - application/json
  10174. responses:
  10175. "200":
  10176. description: OK
  10177. schema:
  10178. $ref: '#/definitions/app.Response'
  10179. "500":
  10180. description: Internal Server Error
  10181. schema:
  10182. $ref: '#/definitions/app.Response'
  10183. summary: 获取服务器时间
  10184. tags:
  10185. - 通用服务
  10186. /Common/NoticeReaded:
  10187. post:
  10188. parameters:
  10189. - description: 登录账号
  10190. in: query
  10191. name: loginID
  10192. required: true
  10193. type: integer
  10194. - description: 通知公告ID
  10195. in: query
  10196. name: noticeID
  10197. required: true
  10198. type: integer
  10199. produces:
  10200. - application/json
  10201. responses:
  10202. "200":
  10203. description: OK
  10204. schema:
  10205. $ref: '#/definitions/app.Response'
  10206. "500":
  10207. description: Internal Server Error
  10208. schema:
  10209. $ref: '#/definitions/app.Response'
  10210. security:
  10211. - ApiKeyAuth: []
  10212. summary: 通知公告设置已读请求
  10213. tags:
  10214. - 通用服务
  10215. /Common/QueryErrorInfos:
  10216. get:
  10217. description: 如果传入rowNumber,则返回此rowNumber后的数据
  10218. parameters:
  10219. - description: 起始行号前索引
  10220. in: query
  10221. name: rowNumber
  10222. type: string
  10223. produces:
  10224. - application/json
  10225. responses:
  10226. "200":
  10227. description: OK
  10228. schema:
  10229. $ref: '#/definitions/models.QueryErrorInfosRsp'
  10230. "500":
  10231. description: Internal Server Error
  10232. schema:
  10233. $ref: '#/definitions/app.Response'
  10234. summary: 获取数据库错误信息
  10235. tags:
  10236. - 通用服务
  10237. /Common/QueryImageConfigs:
  10238. get:
  10239. parameters:
  10240. - description: 类型 - 1:App首页轮播 2:我的
  10241. in: query
  10242. name: imageType
  10243. type: integer
  10244. produces:
  10245. - application/json
  10246. responses:
  10247. "200":
  10248. description: OK
  10249. schema:
  10250. $ref: '#/definitions/common.QueryImageConfigsRsp'
  10251. "500":
  10252. description: Internal Server Error
  10253. schema:
  10254. $ref: '#/definitions/app.Response'
  10255. summary: 查询轮播图配置信息
  10256. tags:
  10257. - 通用服务
  10258. /Common/QueryNotice:
  10259. get:
  10260. parameters:
  10261. - description: 页码
  10262. in: query
  10263. name: page
  10264. type: integer
  10265. - description: 每页条数
  10266. in: query
  10267. name: pagesize
  10268. type: integer
  10269. - description: 登录账号
  10270. in: query
  10271. name: loginID
  10272. required: true
  10273. type: integer
  10274. - description: 消息类型 - 1:公告通知 2:系统消息
  10275. in: query
  10276. name: msgType
  10277. type: integer
  10278. - description: 是否只获取未读信息
  10279. in: query
  10280. name: onlyUnRead
  10281. type: boolean
  10282. - description: 自增ID,传入后会返回这个ID后面的记录
  10283. in: query
  10284. name: lastID
  10285. type: integer
  10286. produces:
  10287. - application/json
  10288. responses:
  10289. "200":
  10290. description: OK
  10291. schema:
  10292. $ref: '#/definitions/common.QueryNoticeRsp'
  10293. "500":
  10294. description: Internal Server Error
  10295. schema:
  10296. $ref: '#/definitions/app.Response'
  10297. security:
  10298. - ApiKeyAuth: []
  10299. summary: 通知公告系统消息查询
  10300. tags:
  10301. - 通用服务
  10302. /Common/QueryProvincesAndCities:
  10303. get:
  10304. parameters:
  10305. - description: 省ID
  10306. in: query
  10307. name: provinceID
  10308. type: integer
  10309. produces:
  10310. - application/json
  10311. responses:
  10312. "200":
  10313. description: OK
  10314. schema:
  10315. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  10316. "500":
  10317. description: Internal Server Error
  10318. schema:
  10319. $ref: '#/definitions/app.Response'
  10320. summary: 查询省市信息(不包括区)
  10321. tags:
  10322. - 通用服务
  10323. /Common/QueryTableDefine:
  10324. get:
  10325. parameters:
  10326. - description: 表key
  10327. in: query
  10328. name: tableKey
  10329. type: string
  10330. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  10331. in: query
  10332. name: tableType
  10333. type: integer
  10334. produces:
  10335. - application/json
  10336. responses:
  10337. "200":
  10338. description: OK
  10339. schema:
  10340. $ref: '#/definitions/common.QueryTableDefineRsp'
  10341. "500":
  10342. description: Internal Server Error
  10343. schema:
  10344. $ref: '#/definitions/app.Response'
  10345. summary: 查询交易端列表头信息
  10346. tags:
  10347. - 通用服务
  10348. /Common/QueryTraderMenu:
  10349. get:
  10350. parameters:
  10351. - description: 登录账号
  10352. in: query
  10353. name: loginid
  10354. required: true
  10355. type: integer
  10356. produces:
  10357. - application/json
  10358. responses:
  10359. "200":
  10360. description: OK
  10361. schema:
  10362. $ref: '#/definitions/common.QueryTraderMenuRsp'
  10363. "500":
  10364. description: Internal Server Error
  10365. schema:
  10366. $ref: '#/definitions/app.Response'
  10367. summary: 查询交易端菜单
  10368. tags:
  10369. - 通用服务
  10370. /Delivery/QueryDeliveryRelation:
  10371. get:
  10372. parameters:
  10373. - description: 商品ID
  10374. in: query
  10375. name: goodsid
  10376. type: integer
  10377. - description: 品种ID
  10378. in: query
  10379. name: deliverygoodsid
  10380. type: integer
  10381. - description: 市场ID
  10382. in: query
  10383. name: marketid
  10384. type: integer
  10385. produces:
  10386. - application/json
  10387. responses:
  10388. "200":
  10389. description: OK
  10390. schema:
  10391. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  10392. "500":
  10393. description: Internal Server Error
  10394. schema:
  10395. $ref: '#/definitions/app.Response'
  10396. security:
  10397. - ApiKeyAuth: []
  10398. summary: 查询商品交割关系表
  10399. tags:
  10400. - 交割服务
  10401. /Ermcp/GetErmcpGoods:
  10402. get:
  10403. parameters:
  10404. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10405. in: query
  10406. name: lastUpdateTime
  10407. type: string
  10408. produces:
  10409. - application/json
  10410. responses:
  10411. "200":
  10412. description: OK
  10413. schema:
  10414. $ref: '#/definitions/models.Goods'
  10415. "500":
  10416. description: Internal Server Error
  10417. schema:
  10418. $ref: '#/definitions/app.Response'
  10419. security:
  10420. - ApiKeyAuth: []
  10421. summary: 查询企业风管期货商品信息
  10422. tags:
  10423. - 企业风险管理(app)
  10424. /Ermcp/GetErmcpGoodsSortByPosition:
  10425. get:
  10426. parameters:
  10427. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  10428. in: query
  10429. name: sortIndex
  10430. type: string
  10431. produces:
  10432. - application/json
  10433. responses:
  10434. "200":
  10435. description: OK
  10436. schema:
  10437. $ref: '#/definitions/models.Goodssortbypreposition'
  10438. "500":
  10439. description: Internal Server Error
  10440. schema:
  10441. $ref: '#/definitions/app.Response'
  10442. security:
  10443. - ApiKeyAuth: []
  10444. summary: 查询企业风管期货主力、次主力商品信息
  10445. tags:
  10446. - 企业风险管理(app)
  10447. /Ermcp/GetErmcpRoleFuncMenuLists:
  10448. get:
  10449. parameters:
  10450. - description: 登录账号
  10451. in: query
  10452. name: loginID
  10453. required: true
  10454. type: integer
  10455. produces:
  10456. - application/json
  10457. responses:
  10458. "200":
  10459. description: OK
  10460. schema:
  10461. $ref: '#/definitions/models.Funcmenulist'
  10462. "500":
  10463. description: Internal Server Error
  10464. schema:
  10465. $ref: '#/definitions/app.Response'
  10466. security:
  10467. - ApiKeyAuth: []
  10468. summary: 获取企业风管终端权限
  10469. tags:
  10470. - 企业风险管理(app)
  10471. /Ermcp/QryReportDayExposure:
  10472. get:
  10473. parameters:
  10474. - description: 用户ID
  10475. in: query
  10476. name: userid
  10477. required: true
  10478. type: integer
  10479. - description: 交易日(格式:yyyyMMdd)
  10480. in: query
  10481. name: tradedate
  10482. required: true
  10483. type: string
  10484. produces:
  10485. - application/json
  10486. responses:
  10487. "200":
  10488. description: OK
  10489. schema:
  10490. items:
  10491. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10492. type: array
  10493. "500":
  10494. description: Internal Server Error
  10495. schema:
  10496. $ref: '#/definitions/app.Response'
  10497. security:
  10498. - ApiKeyAuth: []
  10499. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10500. tags:
  10501. - 企业风险管理(app)
  10502. /Ermcp/QryReportDayFinance:
  10503. get:
  10504. parameters:
  10505. - description: 用户ID
  10506. in: query
  10507. name: userid
  10508. required: true
  10509. type: integer
  10510. - description: 交易日(格式:yyyyMMdd)
  10511. in: query
  10512. name: tradedate
  10513. required: true
  10514. type: string
  10515. produces:
  10516. - application/json
  10517. responses:
  10518. "200":
  10519. description: OK
  10520. schema:
  10521. items:
  10522. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10523. type: array
  10524. "500":
  10525. description: Internal Server Error
  10526. schema:
  10527. $ref: '#/definitions/app.Response'
  10528. security:
  10529. - ApiKeyAuth: []
  10530. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10531. tags:
  10532. - 企业风险管理(app)
  10533. /Ermcp/QryReportDayFinanceFp:
  10534. get:
  10535. parameters:
  10536. - description: 用户ID
  10537. in: query
  10538. name: userid
  10539. required: true
  10540. type: integer
  10541. - description: 交易日(格式:yyyyMMdd)
  10542. in: query
  10543. name: tradedate
  10544. required: true
  10545. type: string
  10546. produces:
  10547. - application/json
  10548. responses:
  10549. "200":
  10550. description: OK
  10551. schema:
  10552. items:
  10553. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10554. type: array
  10555. "500":
  10556. description: Internal Server Error
  10557. schema:
  10558. $ref: '#/definitions/app.Response'
  10559. security:
  10560. - ApiKeyAuth: []
  10561. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10562. tags:
  10563. - 企业风险管理(app)
  10564. /Ermcp/QryReportDayFinanceKx:
  10565. get:
  10566. parameters:
  10567. - description: 用户ID
  10568. in: query
  10569. name: userid
  10570. required: true
  10571. type: integer
  10572. - description: 交易日(格式:yyyyMMdd)
  10573. in: query
  10574. name: tradedate
  10575. required: true
  10576. type: string
  10577. produces:
  10578. - application/json
  10579. responses:
  10580. "200":
  10581. description: OK
  10582. schema:
  10583. items:
  10584. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10585. type: array
  10586. "500":
  10587. description: Internal Server Error
  10588. schema:
  10589. $ref: '#/definitions/app.Response'
  10590. security:
  10591. - ApiKeyAuth: []
  10592. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10593. tags:
  10594. - 企业风险管理(app)
  10595. /Ermcp/QryReportDaySpot:
  10596. get:
  10597. parameters:
  10598. - description: 用户ID
  10599. in: query
  10600. name: userid
  10601. required: true
  10602. type: integer
  10603. - description: 交易日(格式:yyyyMMdd)
  10604. in: query
  10605. name: tradedate
  10606. required: true
  10607. type: string
  10608. produces:
  10609. - application/json
  10610. responses:
  10611. "200":
  10612. description: OK
  10613. schema:
  10614. items:
  10615. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10616. type: array
  10617. "500":
  10618. description: Internal Server Error
  10619. schema:
  10620. $ref: '#/definitions/app.Response'
  10621. security:
  10622. - ApiKeyAuth: []
  10623. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10624. tags:
  10625. - 企业风险管理(app)
  10626. /Ermcp/QryReportDaySpotDetail:
  10627. get:
  10628. parameters:
  10629. - description: 用户ID
  10630. in: query
  10631. name: userid
  10632. required: true
  10633. type: integer
  10634. - description: 现货商品id
  10635. in: query
  10636. name: wrstandardid
  10637. required: true
  10638. type: integer
  10639. - description: 交易日(格式:yyyyMMdd)
  10640. in: query
  10641. name: tradedate
  10642. required: true
  10643. type: string
  10644. produces:
  10645. - application/json
  10646. responses:
  10647. "200":
  10648. description: OK
  10649. schema:
  10650. items:
  10651. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10652. type: array
  10653. "500":
  10654. description: Internal Server Error
  10655. schema:
  10656. $ref: '#/definitions/app.Response'
  10657. security:
  10658. - ApiKeyAuth: []
  10659. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10660. tags:
  10661. - 企业风险管理(app)
  10662. /Ermcp/QryReportMonthFinance:
  10663. get:
  10664. parameters:
  10665. - description: 用户ID
  10666. in: query
  10667. name: userid
  10668. required: true
  10669. type: integer
  10670. - description: 周期时间:月(格式:yyyyMM)
  10671. in: query
  10672. name: cycletime
  10673. required: true
  10674. type: string
  10675. produces:
  10676. - application/json
  10677. responses:
  10678. "200":
  10679. description: OK
  10680. schema:
  10681. items:
  10682. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10683. type: array
  10684. "500":
  10685. description: Internal Server Error
  10686. schema:
  10687. $ref: '#/definitions/app.Response'
  10688. security:
  10689. - ApiKeyAuth: []
  10690. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10691. tags:
  10692. - 企业风险管理(app)
  10693. /Ermcp/QryReportMonthSpot:
  10694. get:
  10695. parameters:
  10696. - description: 用户ID
  10697. in: query
  10698. name: userid
  10699. required: true
  10700. type: integer
  10701. - description: 周期时间:月(格式:yyyyMM)
  10702. in: query
  10703. name: cycletime
  10704. required: true
  10705. type: string
  10706. produces:
  10707. - application/json
  10708. responses:
  10709. "200":
  10710. description: OK
  10711. schema:
  10712. items:
  10713. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  10714. type: array
  10715. "500":
  10716. description: Internal Server Error
  10717. schema:
  10718. $ref: '#/definitions/app.Response'
  10719. security:
  10720. - ApiKeyAuth: []
  10721. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  10722. tags:
  10723. - 企业风险管理(app)
  10724. /Ermcp/QryReportMonthSpotDetail:
  10725. get:
  10726. parameters:
  10727. - description: 用户ID
  10728. in: query
  10729. name: userid
  10730. required: true
  10731. type: integer
  10732. - description: 现货商品id
  10733. in: query
  10734. name: wrstandardid
  10735. required: true
  10736. type: integer
  10737. - description: 周期时间:月(格式:yyyyMM)
  10738. in: query
  10739. name: cycletime
  10740. required: true
  10741. type: string
  10742. produces:
  10743. - application/json
  10744. responses:
  10745. "200":
  10746. description: OK
  10747. schema:
  10748. items:
  10749. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10750. type: array
  10751. "500":
  10752. description: Internal Server Error
  10753. schema:
  10754. $ref: '#/definitions/app.Response'
  10755. security:
  10756. - ApiKeyAuth: []
  10757. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10758. tags:
  10759. - 企业风险管理(app)
  10760. /Ermcp/QueryAccMgrLoginUser:
  10761. get:
  10762. parameters:
  10763. - description: 用户ID
  10764. in: query
  10765. name: userid
  10766. required: true
  10767. type: integer
  10768. produces:
  10769. - application/json
  10770. responses:
  10771. "200":
  10772. description: OK
  10773. schema:
  10774. items:
  10775. $ref: '#/definitions/models.ErmcpLoginUserEx'
  10776. type: array
  10777. "500":
  10778. description: Internal Server Error
  10779. schema:
  10780. $ref: '#/definitions/app.Response'
  10781. security:
  10782. - ApiKeyAuth: []
  10783. summary: 查询账户管理登录账号(账户管理/登录账号)
  10784. tags:
  10785. - 企业风险管理(app)
  10786. /Ermcp/QueryAccMgrMainAccountInfo:
  10787. get:
  10788. parameters:
  10789. - description: 用户ID
  10790. in: query
  10791. name: userid
  10792. type: integer
  10793. - description: 主账号id
  10794. in: query
  10795. name: accountid
  10796. type: integer
  10797. produces:
  10798. - application/json
  10799. responses:
  10800. "200":
  10801. description: OK
  10802. schema:
  10803. items:
  10804. $ref: '#/definitions/models.MainAccountInfo'
  10805. type: array
  10806. "500":
  10807. description: Internal Server Error
  10808. schema:
  10809. $ref: '#/definitions/app.Response'
  10810. security:
  10811. - ApiKeyAuth: []
  10812. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  10813. tags:
  10814. - 企业风险管理(app)
  10815. /Ermcp/QueryAccMgrRole:
  10816. get:
  10817. parameters:
  10818. - description: 用户ID
  10819. in: query
  10820. name: userid
  10821. required: true
  10822. type: integer
  10823. produces:
  10824. - application/json
  10825. responses:
  10826. "200":
  10827. description: OK
  10828. schema:
  10829. items:
  10830. $ref: '#/definitions/models.ErmcpRole'
  10831. type: array
  10832. "500":
  10833. description: Internal Server Error
  10834. schema:
  10835. $ref: '#/definitions/app.Response'
  10836. security:
  10837. - ApiKeyAuth: []
  10838. summary: 查询账户管理角色设置(账户管理/角色设置)
  10839. tags:
  10840. - 企业风险管理(app)
  10841. /Ermcp/QueryAccMgrRoleMenu:
  10842. get:
  10843. parameters:
  10844. - description: 用户ID
  10845. in: query
  10846. name: userid
  10847. required: true
  10848. type: integer
  10849. - description: 角色id(可多个,逗号隔开)
  10850. in: query
  10851. name: roleid
  10852. type: string
  10853. produces:
  10854. - application/json
  10855. responses:
  10856. "200":
  10857. description: OK
  10858. schema:
  10859. items:
  10860. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  10861. type: array
  10862. "500":
  10863. description: Internal Server Error
  10864. schema:
  10865. $ref: '#/definitions/app.Response'
  10866. security:
  10867. - ApiKeyAuth: []
  10868. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  10869. tags:
  10870. - 企业风险管理(app)
  10871. /Ermcp/QueryAccMgrTaaccount:
  10872. get:
  10873. parameters:
  10874. - description: 用户ID
  10875. in: query
  10876. name: userid
  10877. required: true
  10878. type: integer
  10879. produces:
  10880. - application/json
  10881. responses:
  10882. "200":
  10883. description: OK
  10884. schema:
  10885. items:
  10886. $ref: '#/definitions/models.ErmcpTaAccountEx'
  10887. type: array
  10888. "500":
  10889. description: Internal Server Error
  10890. schema:
  10891. $ref: '#/definitions/app.Response'
  10892. security:
  10893. - ApiKeyAuth: []
  10894. summary: 查询账户管理期货账号(账户管理/期货账号)
  10895. tags:
  10896. - 企业风险管理(app)
  10897. /Ermcp/QueryAreaStock:
  10898. get:
  10899. parameters:
  10900. - description: 用户ID
  10901. in: query
  10902. name: userid
  10903. required: true
  10904. type: integer
  10905. produces:
  10906. - application/json
  10907. responses:
  10908. "200":
  10909. description: OK
  10910. schema:
  10911. items:
  10912. $ref: '#/definitions/models.ErmcpAreaStock'
  10913. type: array
  10914. "500":
  10915. description: Internal Server Error
  10916. schema:
  10917. $ref: '#/definitions/app.Response'
  10918. security:
  10919. - ApiKeyAuth: []
  10920. summary: 查询机构库存(库存管理/当前库存)
  10921. tags:
  10922. - 企业风险管理(app)
  10923. /Ermcp/QueryAreaStockApply:
  10924. get:
  10925. parameters:
  10926. - description: 用户ID
  10927. in: query
  10928. name: userid
  10929. required: true
  10930. type: integer
  10931. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  10932. in: query
  10933. name: inouttype
  10934. type: string
  10935. - description: 合同ID
  10936. in: query
  10937. name: spotcontractid
  10938. type: integer
  10939. - description: 现货商品ID
  10940. in: query
  10941. name: wrstandardid
  10942. type: integer
  10943. - description: 品牌ID
  10944. in: query
  10945. name: spotgoodsbrandid
  10946. type: integer
  10947. - description: 型号ID
  10948. in: query
  10949. name: spotgoodsmodelid
  10950. type: integer
  10951. - description: 仓库ID
  10952. in: query
  10953. name: warehouseinfoid
  10954. type: integer
  10955. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10956. in: query
  10957. name: applystatus
  10958. type: string
  10959. produces:
  10960. - application/json
  10961. responses:
  10962. "200":
  10963. description: OK
  10964. schema:
  10965. items:
  10966. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  10967. type: array
  10968. "500":
  10969. description: Internal Server Error
  10970. schema:
  10971. $ref: '#/definitions/app.Response'
  10972. security:
  10973. - ApiKeyAuth: []
  10974. summary: 查询库存申请(出入库记录|库存审核)
  10975. tags:
  10976. - 企业风险管理(app)
  10977. /Ermcp/QueryAreaStockApplySum:
  10978. get:
  10979. parameters:
  10980. - description: 合同ID
  10981. in: query
  10982. name: spotcontractid
  10983. type: integer
  10984. produces:
  10985. - application/json
  10986. responses:
  10987. "200":
  10988. description: OK
  10989. schema:
  10990. items:
  10991. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  10992. type: array
  10993. "500":
  10994. description: Internal Server Error
  10995. schema:
  10996. $ref: '#/definitions/app.Response'
  10997. security:
  10998. - ApiKeyAuth: []
  10999. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  11000. tags:
  11001. - 企业风险管理(app)
  11002. /Ermcp/QueryAreaStockReport:
  11003. get:
  11004. parameters:
  11005. - description: 用户ID
  11006. in: query
  11007. name: userid
  11008. required: true
  11009. type: integer
  11010. - description: 查询类型 1-日报表 2-月报表
  11011. in: query
  11012. name: querytype
  11013. required: true
  11014. type: integer
  11015. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11016. in: query
  11017. name: querydate
  11018. required: true
  11019. type: string
  11020. - description: 现货商品ID
  11021. in: query
  11022. name: wrstandardid
  11023. type: integer
  11024. - description: 品牌ID
  11025. in: query
  11026. name: spotgoodsbrandid
  11027. type: integer
  11028. - description: 型号ID
  11029. in: query
  11030. name: spotgoodsmodelid
  11031. type: integer
  11032. - description: 仓库ID
  11033. in: query
  11034. name: warehouseinfoid
  11035. type: integer
  11036. produces:
  11037. - application/json
  11038. responses:
  11039. "200":
  11040. description: OK
  11041. schema:
  11042. items:
  11043. $ref: '#/definitions/models.ErmcpAreaStockReport'
  11044. type: array
  11045. "500":
  11046. description: Internal Server Error
  11047. schema:
  11048. $ref: '#/definitions/app.Response'
  11049. security:
  11050. - ApiKeyAuth: []
  11051. summary: 查询库存报表
  11052. tags:
  11053. - 企业风险管理(app)
  11054. /Ermcp/QueryAreaStockReportDetail:
  11055. get:
  11056. parameters:
  11057. - description: 用户ID
  11058. in: query
  11059. name: userid
  11060. required: true
  11061. type: integer
  11062. - description: 查询类型 1-日报表明细 2-月报表明细
  11063. in: query
  11064. name: querytype
  11065. required: true
  11066. type: integer
  11067. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  11068. in: query
  11069. name: detailtype
  11070. required: true
  11071. type: integer
  11072. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11073. in: query
  11074. name: querydate
  11075. required: true
  11076. type: string
  11077. - description: 现货商品ID
  11078. in: query
  11079. name: wrstandardid
  11080. type: integer
  11081. - description: 品牌ID
  11082. in: query
  11083. name: spotgoodsbrandid
  11084. type: integer
  11085. - description: 型号ID
  11086. in: query
  11087. name: spotgoodsmodelid
  11088. type: integer
  11089. - description: 仓库ID
  11090. in: query
  11091. name: warehouseinfoid
  11092. type: integer
  11093. produces:
  11094. - application/json
  11095. responses:
  11096. "200":
  11097. description: OK
  11098. schema:
  11099. items:
  11100. $ref: '#/definitions/models.ErmcpAreaStockApply'
  11101. type: array
  11102. "500":
  11103. description: Internal Server Error
  11104. schema:
  11105. $ref: '#/definitions/app.Response'
  11106. security:
  11107. - ApiKeyAuth: []
  11108. summary: 查询库存报表明细
  11109. tags:
  11110. - 企业风险管理(app)
  11111. /Ermcp/QueryAvaildGoodsGroup:
  11112. get:
  11113. parameters:
  11114. - description: 所属机构ID
  11115. in: query
  11116. name: userid
  11117. required: true
  11118. type: integer
  11119. produces:
  11120. - application/json
  11121. responses:
  11122. "200":
  11123. description: OK
  11124. schema:
  11125. items:
  11126. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  11127. type: array
  11128. "500":
  11129. description: Internal Server Error
  11130. schema:
  11131. $ref: '#/definitions/app.Response'
  11132. security:
  11133. - ApiKeyAuth: []
  11134. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  11135. tags:
  11136. - 企业风险管理(app)
  11137. /Ermcp/QueryBusinessDj:
  11138. get:
  11139. parameters:
  11140. - description: 用户ID
  11141. in: query
  11142. name: UserId
  11143. required: true
  11144. type: integer
  11145. - description: 现货合同ID, 不填则查所有
  11146. in: query
  11147. name: relatedid
  11148. type: string
  11149. produces:
  11150. - application/json
  11151. responses:
  11152. "200":
  11153. description: OK
  11154. schema:
  11155. items:
  11156. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  11157. type: array
  11158. "500":
  11159. description: Internal Server Error
  11160. schema:
  11161. $ref: '#/definitions/app.Response'
  11162. security:
  11163. - ApiKeyAuth: []
  11164. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  11165. tags:
  11166. - 企业风险管理(app)
  11167. /Ermcp/QueryBusinessFp:
  11168. get:
  11169. parameters:
  11170. - description: 用户ID
  11171. in: query
  11172. name: UserId
  11173. required: true
  11174. type: integer
  11175. - description: 现货合同ID, 不填则查所有
  11176. in: query
  11177. name: relatedid
  11178. type: string
  11179. produces:
  11180. - application/json
  11181. responses:
  11182. "200":
  11183. description: OK
  11184. schema:
  11185. items:
  11186. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  11187. type: array
  11188. "500":
  11189. description: Internal Server Error
  11190. schema:
  11191. $ref: '#/definitions/app.Response'
  11192. security:
  11193. - ApiKeyAuth: []
  11194. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  11195. tags:
  11196. - 企业风险管理(app)
  11197. /Ermcp/QueryBusinessJs:
  11198. get:
  11199. parameters:
  11200. - description: 用户ID
  11201. in: query
  11202. name: UserId
  11203. required: true
  11204. type: integer
  11205. - description: 现货合同ID, 不填则查所有
  11206. in: query
  11207. name: relatedid
  11208. type: string
  11209. - description: 操作申请id
  11210. in: query
  11211. name: operateapplyid
  11212. type: string
  11213. produces:
  11214. - application/json
  11215. responses:
  11216. "200":
  11217. description: OK
  11218. schema:
  11219. items:
  11220. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  11221. type: array
  11222. "500":
  11223. description: Internal Server Error
  11224. schema:
  11225. $ref: '#/definitions/app.Response'
  11226. security:
  11227. - ApiKeyAuth: []
  11228. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  11229. tags:
  11230. - 企业风险管理(app)
  11231. /Ermcp/QueryBusinessJsEx:
  11232. get:
  11233. parameters:
  11234. - description: 用户ID
  11235. in: query
  11236. name: UserId
  11237. required: true
  11238. type: integer
  11239. - description: 现货合同ID, 不填则查所有
  11240. in: query
  11241. name: relatedid
  11242. type: string
  11243. produces:
  11244. - application/json
  11245. responses:
  11246. "200":
  11247. description: OK
  11248. schema:
  11249. items:
  11250. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  11251. type: array
  11252. "500":
  11253. description: Internal Server Error
  11254. schema:
  11255. $ref: '#/definitions/app.Response'
  11256. security:
  11257. - ApiKeyAuth: []
  11258. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  11259. tags:
  11260. - 企业风险管理(app)
  11261. /Ermcp/QueryBusinessKx:
  11262. get:
  11263. parameters:
  11264. - description: 用户ID
  11265. in: query
  11266. name: UserId
  11267. required: true
  11268. type: integer
  11269. - description: 现货合同ID, 不填则查所有
  11270. in: query
  11271. name: relatedid
  11272. type: string
  11273. produces:
  11274. - application/json
  11275. responses:
  11276. "200":
  11277. description: OK
  11278. schema:
  11279. items:
  11280. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  11281. type: array
  11282. "500":
  11283. description: Internal Server Error
  11284. schema:
  11285. $ref: '#/definitions/app.Response'
  11286. security:
  11287. - ApiKeyAuth: []
  11288. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  11289. tags:
  11290. - 企业风险管理(app)
  11291. /Ermcp/QueryChangeLog:
  11292. get:
  11293. parameters:
  11294. - description: 合同ID
  11295. in: query
  11296. name: RelatedId
  11297. required: true
  11298. type: string
  11299. produces:
  11300. - application/json
  11301. responses:
  11302. "200":
  11303. description: OK
  11304. schema:
  11305. items:
  11306. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11307. type: array
  11308. "500":
  11309. description: Internal Server Error
  11310. schema:
  11311. $ref: '#/definitions/app.Response'
  11312. security:
  11313. - ApiKeyAuth: []
  11314. summary: 查询变更记录
  11315. tags:
  11316. - 企业风险管理(app)
  11317. /Ermcp/QueryContract:
  11318. get:
  11319. parameters:
  11320. - description: 用户ID
  11321. in: query
  11322. name: userId
  11323. required: true
  11324. type: integer
  11325. - description: 合同类型 1-采购, -1-销售
  11326. in: query
  11327. name: contracttype
  11328. required: true
  11329. type: integer
  11330. - description: 查询类型 1-全部 2-待点价 3-履约结算
  11331. in: query
  11332. name: querytype
  11333. required: true
  11334. type: integer
  11335. - description: 合同ID(SpotContractId)
  11336. in: query
  11337. name: contractid
  11338. type: string
  11339. produces:
  11340. - application/json
  11341. responses:
  11342. "200":
  11343. description: OK
  11344. schema:
  11345. items:
  11346. $ref: '#/definitions/ermcp.QryErmcpRsp'
  11347. type: array
  11348. "500":
  11349. description: Internal Server Error
  11350. schema:
  11351. $ref: '#/definitions/app.Response'
  11352. security:
  11353. - ApiKeyAuth: []
  11354. summary: 查询合同(采购和销售)
  11355. tags:
  11356. - 企业风险管理(app)
  11357. /Ermcp/QueryErmcpHisOrderDetails:
  11358. get:
  11359. parameters:
  11360. - description: 资金账户ID
  11361. in: query
  11362. name: accountID
  11363. required: true
  11364. type: integer
  11365. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11366. in: query
  11367. name: startDate
  11368. type: string
  11369. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11370. in: query
  11371. name: endDate
  11372. type: string
  11373. produces:
  11374. - application/json
  11375. responses:
  11376. "200":
  11377. description: OK
  11378. schema:
  11379. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11380. "500":
  11381. description: Internal Server Error
  11382. schema:
  11383. $ref: '#/definitions/app.Response'
  11384. security:
  11385. - ApiKeyAuth: []
  11386. summary: 获取企业风管期货历史委托单信息
  11387. tags:
  11388. - 企业风险管理(app)
  11389. /Ermcp/QueryErmcpHisTradeDetails:
  11390. get:
  11391. parameters:
  11392. - description: 资金账户ID
  11393. in: query
  11394. name: accountID
  11395. required: true
  11396. type: integer
  11397. - description: 商品ID
  11398. in: query
  11399. name: goodsID
  11400. type: integer
  11401. - description: 买卖方向,0:买 1:卖
  11402. in: query
  11403. name: buyOrSell
  11404. type: integer
  11405. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11406. in: query
  11407. name: startDate
  11408. type: string
  11409. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11410. in: query
  11411. name: endDate
  11412. type: string
  11413. produces:
  11414. - application/json
  11415. responses:
  11416. "200":
  11417. description: OK
  11418. schema:
  11419. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11420. "500":
  11421. description: Internal Server Error
  11422. schema:
  11423. $ref: '#/definitions/app.Response'
  11424. security:
  11425. - ApiKeyAuth: []
  11426. summary: 获取企业风管期货历史成交单信息
  11427. tags:
  11428. - 企业风险管理(app)
  11429. /Ermcp/QueryErmcpOrderDetails:
  11430. get:
  11431. parameters:
  11432. - description: 资金账户ID
  11433. in: query
  11434. name: accountID
  11435. required: true
  11436. type: integer
  11437. produces:
  11438. - application/json
  11439. responses:
  11440. "200":
  11441. description: OK
  11442. schema:
  11443. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11444. "500":
  11445. description: Internal Server Error
  11446. schema:
  11447. $ref: '#/definitions/app.Response'
  11448. security:
  11449. - ApiKeyAuth: []
  11450. summary: 获取企业风管期货委托单信息
  11451. tags:
  11452. - 企业风险管理(app)
  11453. /Ermcp/QueryErmcpTradeDetails:
  11454. get:
  11455. parameters:
  11456. - description: 资金账户ID
  11457. in: query
  11458. name: accountID
  11459. required: true
  11460. type: integer
  11461. - description: 商品ID
  11462. in: query
  11463. name: goodsID
  11464. type: integer
  11465. - description: 买卖方向,0:买 1:卖
  11466. in: query
  11467. name: buyOrSell
  11468. type: integer
  11469. produces:
  11470. - application/json
  11471. responses:
  11472. "200":
  11473. description: OK
  11474. schema:
  11475. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11476. "500":
  11477. description: Internal Server Error
  11478. schema:
  11479. $ref: '#/definitions/app.Response'
  11480. security:
  11481. - ApiKeyAuth: []
  11482. summary: 获取企业风管期货成交单信息
  11483. tags:
  11484. - 企业风险管理(app)
  11485. /Ermcp/QueryErmcpTradePosition:
  11486. get:
  11487. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  11488. parameters:
  11489. - description: 资金账户ID
  11490. in: query
  11491. name: accountID
  11492. required: true
  11493. type: integer
  11494. - description: 所属市场ID
  11495. in: query
  11496. name: marketID
  11497. type: integer
  11498. produces:
  11499. - application/json
  11500. responses:
  11501. "200":
  11502. description: OK
  11503. schema:
  11504. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  11505. "500":
  11506. description: Internal Server Error
  11507. schema:
  11508. $ref: '#/definitions/app.Response'
  11509. security:
  11510. - ApiKeyAuth: []
  11511. summary: 获取企业风管期货持仓头寸信息
  11512. tags:
  11513. - 企业风险管理(app)
  11514. /Ermcp/QueryExposureDetail:
  11515. get:
  11516. parameters:
  11517. - description: 所属机构ID
  11518. in: query
  11519. name: areaUserId
  11520. required: true
  11521. type: integer
  11522. - description: 套保商品
  11523. in: query
  11524. name: middleGoodsId
  11525. required: true
  11526. type: integer
  11527. produces:
  11528. - application/json
  11529. responses:
  11530. "200":
  11531. description: OK
  11532. schema:
  11533. items:
  11534. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  11535. type: array
  11536. "500":
  11537. description: Internal Server Error
  11538. schema:
  11539. $ref: '#/definitions/app.Response'
  11540. security:
  11541. - ApiKeyAuth: []
  11542. summary: 查询敞口现货明细
  11543. tags:
  11544. - 企业风险管理(app)
  11545. /Ermcp/QueryExposureHedgePosition:
  11546. get:
  11547. parameters:
  11548. - description: 所属机构ID
  11549. in: query
  11550. name: areaUserId
  11551. required: true
  11552. type: integer
  11553. produces:
  11554. - application/json
  11555. responses:
  11556. "200":
  11557. description: OK
  11558. schema:
  11559. items:
  11560. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  11561. type: array
  11562. "500":
  11563. description: Internal Server Error
  11564. schema:
  11565. $ref: '#/definitions/app.Response'
  11566. security:
  11567. - ApiKeyAuth: []
  11568. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  11569. tags:
  11570. - 企业风险管理(app)
  11571. /Ermcp/QueryExposureHedgePositionDetail:
  11572. get:
  11573. parameters:
  11574. - description: 所属机构ID
  11575. in: query
  11576. name: areaUserId
  11577. required: true
  11578. type: integer
  11579. - description: 商品id
  11580. in: query
  11581. name: goodsId
  11582. required: true
  11583. type: integer
  11584. produces:
  11585. - application/json
  11586. responses:
  11587. "200":
  11588. description: OK
  11589. schema:
  11590. items:
  11591. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  11592. type: array
  11593. "500":
  11594. description: Internal Server Error
  11595. schema:
  11596. $ref: '#/definitions/app.Response'
  11597. security:
  11598. - ApiKeyAuth: []
  11599. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  11600. tags:
  11601. - 企业风险管理(app)
  11602. /Ermcp/QueryExposureSpot:
  11603. get:
  11604. parameters:
  11605. - description: 所属机构ID
  11606. in: query
  11607. name: areaUserId
  11608. required: true
  11609. type: integer
  11610. produces:
  11611. - application/json
  11612. responses:
  11613. "200":
  11614. description: OK
  11615. schema:
  11616. items:
  11617. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  11618. type: array
  11619. "500":
  11620. description: Internal Server Error
  11621. schema:
  11622. $ref: '#/definitions/app.Response'
  11623. security:
  11624. - ApiKeyAuth: []
  11625. summary: 查询敞口现货头寸(敞口/现货头寸)
  11626. tags:
  11627. - 企业风险管理(app)
  11628. /Ermcp/QueryExposureSpotDetail:
  11629. get:
  11630. parameters:
  11631. - description: 所属机构ID
  11632. in: query
  11633. name: areaUserId
  11634. required: true
  11635. type: integer
  11636. - description: 现货品种ID
  11637. in: query
  11638. name: wrstandardId
  11639. required: true
  11640. type: integer
  11641. produces:
  11642. - application/json
  11643. responses:
  11644. "200":
  11645. description: OK
  11646. schema:
  11647. items:
  11648. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  11649. type: array
  11650. "500":
  11651. description: Internal Server Error
  11652. schema:
  11653. $ref: '#/definitions/app.Response'
  11654. security:
  11655. - ApiKeyAuth: []
  11656. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  11657. tags:
  11658. - 企业风险管理(app)
  11659. /Ermcp/QueryGGConvertConfig:
  11660. get:
  11661. parameters:
  11662. - description: 品种id(不填则查所有)
  11663. in: query
  11664. name: goodsgroupid
  11665. type: integer
  11666. produces:
  11667. - application/json
  11668. responses:
  11669. "200":
  11670. description: OK
  11671. schema:
  11672. items:
  11673. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  11674. type: array
  11675. "500":
  11676. description: Internal Server Error
  11677. schema:
  11678. $ref: '#/definitions/app.Response'
  11679. security:
  11680. - ApiKeyAuth: []
  11681. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  11682. tags:
  11683. - 企业风险管理(app)
  11684. /Ermcp/QueryGoodsBrand:
  11685. get:
  11686. parameters:
  11687. - description: 用户ID
  11688. in: query
  11689. name: userid
  11690. required: true
  11691. type: integer
  11692. - description: 现货商品ID
  11693. in: query
  11694. name: wrstandardid
  11695. type: integer
  11696. produces:
  11697. - application/json
  11698. responses:
  11699. "200":
  11700. description: OK
  11701. schema:
  11702. items:
  11703. $ref: '#/definitions/models.ErmcpGoodsBrand'
  11704. type: array
  11705. "500":
  11706. description: Internal Server Error
  11707. schema:
  11708. $ref: '#/definitions/app.Response'
  11709. security:
  11710. - ApiKeyAuth: []
  11711. summary: 查询商品品牌
  11712. tags:
  11713. - 企业风险管理(app)
  11714. /Ermcp/QueryGoodsModel:
  11715. get:
  11716. parameters:
  11717. - description: 用户ID
  11718. in: query
  11719. name: userid
  11720. required: true
  11721. type: integer
  11722. produces:
  11723. - application/json
  11724. responses:
  11725. "200":
  11726. description: OK
  11727. schema:
  11728. items:
  11729. $ref: '#/definitions/models.ErmcpGoodsModel'
  11730. type: array
  11731. "500":
  11732. description: Internal Server Error
  11733. schema:
  11734. $ref: '#/definitions/app.Response'
  11735. security:
  11736. - ApiKeyAuth: []
  11737. summary: 查询商品型号
  11738. tags:
  11739. - 企业风险管理(app)
  11740. /Ermcp/QueryHedgePlan:
  11741. get:
  11742. parameters:
  11743. - description: 用户ID
  11744. in: query
  11745. name: userId
  11746. required: true
  11747. type: integer
  11748. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  11749. in: query
  11750. name: HedgePlanStatus
  11751. required: true
  11752. type: string
  11753. produces:
  11754. - application/json
  11755. responses:
  11756. "200":
  11757. description: OK
  11758. schema:
  11759. items:
  11760. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  11761. type: array
  11762. "500":
  11763. description: Internal Server Error
  11764. schema:
  11765. $ref: '#/definitions/app.Response'
  11766. security:
  11767. - ApiKeyAuth: []
  11768. summary: 查询套保计划
  11769. tags:
  11770. - 企业风险管理(app)
  11771. /Ermcp/QueryHisExposure:
  11772. get:
  11773. parameters:
  11774. - description: 所属机构ID
  11775. in: query
  11776. name: areaUserId
  11777. required: true
  11778. type: integer
  11779. - description: 每个品种记录数
  11780. in: query
  11781. name: lastNum
  11782. required: true
  11783. type: integer
  11784. produces:
  11785. - application/json
  11786. responses:
  11787. "200":
  11788. description: OK
  11789. schema:
  11790. items:
  11791. $ref: '#/definitions/ermcp.HisExposureRsp'
  11792. type: array
  11793. "500":
  11794. description: Internal Server Error
  11795. schema:
  11796. $ref: '#/definitions/app.Response'
  11797. security:
  11798. - ApiKeyAuth: []
  11799. summary: 查询历史敞口(菜单:敞口/历史敞口)
  11800. tags:
  11801. - 企业风险管理(app)
  11802. /Ermcp/QueryMiddleGoods:
  11803. get:
  11804. parameters:
  11805. - description: 所属机构ID
  11806. in: query
  11807. name: userid
  11808. required: true
  11809. type: integer
  11810. - description: 状态 0-停用 1-正常
  11811. in: query
  11812. name: status
  11813. required: true
  11814. type: integer
  11815. produces:
  11816. - application/json
  11817. responses:
  11818. "200":
  11819. description: OK
  11820. schema:
  11821. items:
  11822. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  11823. type: array
  11824. "500":
  11825. description: Internal Server Error
  11826. schema:
  11827. $ref: '#/definitions/app.Response'
  11828. security:
  11829. - ApiKeyAuth: []
  11830. summary: 查询套保品种(菜单:套保品种)
  11831. tags:
  11832. - 企业风险管理(app)
  11833. /Ermcp/QueryMiddleGoodsChangeLog:
  11834. get:
  11835. parameters:
  11836. - description: 所属机构ID
  11837. in: query
  11838. name: userid
  11839. required: true
  11840. type: integer
  11841. - description: 套保品种id
  11842. in: query
  11843. name: middlegoodsid
  11844. required: true
  11845. type: integer
  11846. produces:
  11847. - application/json
  11848. responses:
  11849. "200":
  11850. description: OK
  11851. schema:
  11852. items:
  11853. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  11854. type: array
  11855. "500":
  11856. description: Internal Server Error
  11857. schema:
  11858. $ref: '#/definitions/app.Response'
  11859. security:
  11860. - ApiKeyAuth: []
  11861. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  11862. tags:
  11863. - 企业风险管理(app)
  11864. /Ermcp/QueryMiddleGoodsDetail:
  11865. get:
  11866. parameters:
  11867. - description: 所属机构ID
  11868. in: query
  11869. name: userid
  11870. required: true
  11871. type: integer
  11872. - description: 套保品种id
  11873. in: query
  11874. name: middlegoodsid
  11875. required: true
  11876. type: integer
  11877. produces:
  11878. - application/json
  11879. responses:
  11880. "200":
  11881. description: OK
  11882. schema:
  11883. items:
  11884. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  11885. type: array
  11886. "500":
  11887. description: Internal Server Error
  11888. schema:
  11889. $ref: '#/definitions/app.Response'
  11890. security:
  11891. - ApiKeyAuth: []
  11892. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  11893. tags:
  11894. - 企业风险管理(app)
  11895. /Ermcp/QueryPendingAuditInfo:
  11896. get:
  11897. parameters:
  11898. - description: 用户ID
  11899. in: query
  11900. name: UserId
  11901. required: true
  11902. type: integer
  11903. produces:
  11904. - application/json
  11905. responses:
  11906. "200":
  11907. description: OK
  11908. schema:
  11909. items:
  11910. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  11911. type: array
  11912. "500":
  11913. description: Internal Server Error
  11914. schema:
  11915. $ref: '#/definitions/app.Response'
  11916. security:
  11917. - ApiKeyAuth: []
  11918. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  11919. tags:
  11920. - 企业风险管理(app)
  11921. /Ermcp/QueryRealtimeExposure:
  11922. get:
  11923. parameters:
  11924. - description: 所属机构ID
  11925. in: query
  11926. name: AreaUserID
  11927. required: true
  11928. type: integer
  11929. produces:
  11930. - application/json
  11931. responses:
  11932. "200":
  11933. description: OK
  11934. schema:
  11935. items:
  11936. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  11937. type: array
  11938. "500":
  11939. description: Internal Server Error
  11940. schema:
  11941. $ref: '#/definitions/app.Response'
  11942. security:
  11943. - ApiKeyAuth: []
  11944. summary: 查询实时敞口
  11945. tags:
  11946. - 企业风险管理(app)
  11947. /Ermcp/QueryRealtimeExposurePosition:
  11948. get:
  11949. parameters:
  11950. - description: 所属机构ID
  11951. in: query
  11952. name: areaUserId
  11953. required: true
  11954. type: integer
  11955. - description: 套保商品ID
  11956. in: query
  11957. name: middleGoodsId
  11958. required: true
  11959. type: integer
  11960. produces:
  11961. - application/json
  11962. responses:
  11963. "200":
  11964. description: OK
  11965. schema:
  11966. items:
  11967. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  11968. type: array
  11969. "500":
  11970. description: Internal Server Error
  11971. schema:
  11972. $ref: '#/definitions/app.Response'
  11973. security:
  11974. - ApiKeyAuth: []
  11975. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  11976. tags:
  11977. - 企业风险管理(app)
  11978. /Ermcp/QuerySpotContract:
  11979. get:
  11980. parameters:
  11981. - description: 用户ID
  11982. in: query
  11983. name: userId
  11984. required: true
  11985. type: integer
  11986. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  11987. in: query
  11988. name: QueryType
  11989. required: true
  11990. type: integer
  11991. produces:
  11992. - application/json
  11993. responses:
  11994. "200":
  11995. description: OK
  11996. schema:
  11997. items:
  11998. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  11999. type: array
  12000. "500":
  12001. description: Internal Server Error
  12002. schema:
  12003. $ref: '#/definitions/app.Response'
  12004. security:
  12005. - ApiKeyAuth: []
  12006. summary: 查询现货合同(对应现货合同菜单)
  12007. tags:
  12008. - 企业风险管理(app)
  12009. /Ermcp/QueryUserInfo:
  12010. get:
  12011. parameters:
  12012. - description: 所属机构用户ID
  12013. in: query
  12014. name: MemberUserID
  12015. required: true
  12016. type: integer
  12017. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  12018. in: query
  12019. name: queryType
  12020. required: true
  12021. type: integer
  12022. produces:
  12023. - application/json
  12024. responses:
  12025. "200":
  12026. description: OK
  12027. schema:
  12028. items:
  12029. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  12030. type: array
  12031. "500":
  12032. description: Internal Server Error
  12033. schema:
  12034. $ref: '#/definitions/app.Response'
  12035. security:
  12036. - ApiKeyAuth: []
  12037. summary: 查询客户资料
  12038. tags:
  12039. - 企业风险管理(app)
  12040. /Ermcp/QueryWarehouseInfo:
  12041. get:
  12042. parameters:
  12043. - description: 用户ID
  12044. in: query
  12045. name: userid
  12046. required: true
  12047. type: integer
  12048. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  12049. in: query
  12050. name: status
  12051. type: string
  12052. produces:
  12053. - application/json
  12054. responses:
  12055. "200":
  12056. description: OK
  12057. schema:
  12058. items:
  12059. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  12060. type: array
  12061. "500":
  12062. description: Internal Server Error
  12063. schema:
  12064. $ref: '#/definitions/app.Response'
  12065. security:
  12066. - ApiKeyAuth: []
  12067. summary: 查询仓库信息
  12068. tags:
  12069. - 企业风险管理(app)
  12070. /Ermcp/QueryWrStandard:
  12071. get:
  12072. parameters:
  12073. - description: 所属机构ID
  12074. in: query
  12075. name: userid
  12076. required: true
  12077. type: integer
  12078. - description: 状态 0-停用 1-正常
  12079. in: query
  12080. name: status
  12081. required: true
  12082. type: integer
  12083. produces:
  12084. - application/json
  12085. responses:
  12086. "200":
  12087. description: OK
  12088. schema:
  12089. items:
  12090. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  12091. type: array
  12092. "500":
  12093. description: Internal Server Error
  12094. schema:
  12095. $ref: '#/definitions/app.Response'
  12096. security:
  12097. - ApiKeyAuth: []
  12098. summary: 查询现货商品
  12099. tags:
  12100. - 企业风险管理(app)
  12101. /Ermcp/QueryWrStandardDetail:
  12102. get:
  12103. parameters:
  12104. - description: 所属机构ID
  12105. in: query
  12106. name: userid
  12107. required: true
  12108. type: integer
  12109. - description: 现货商品ID
  12110. in: query
  12111. name: wrstandardid
  12112. required: true
  12113. type: integer
  12114. - description: 可不填, 1-查询关联交易商品
  12115. in: query
  12116. name: goods
  12117. type: integer
  12118. produces:
  12119. - application/json
  12120. responses:
  12121. "200":
  12122. description: OK
  12123. schema:
  12124. items:
  12125. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  12126. type: array
  12127. "500":
  12128. description: Internal Server Error
  12129. schema:
  12130. $ref: '#/definitions/app.Response'
  12131. security:
  12132. - ApiKeyAuth: []
  12133. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  12134. tags:
  12135. - 企业风险管理(app)
  12136. /Erms2/QueryArbitrageStrategy:
  12137. get:
  12138. parameters:
  12139. - description: 账户ID
  12140. in: query
  12141. name: userid
  12142. required: true
  12143. type: integer
  12144. - description: 商品组ID(品种ID)
  12145. in: query
  12146. name: goodsgroupid
  12147. type: string
  12148. produces:
  12149. - application/json
  12150. responses:
  12151. "200":
  12152. description: OK
  12153. schema:
  12154. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  12155. "500":
  12156. description: Internal Server Error
  12157. schema:
  12158. $ref: '#/definitions/app.Response'
  12159. security:
  12160. - ApiKeyAuth: []
  12161. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  12162. tags:
  12163. - 风险管理
  12164. /Erms2/QueryInnerTradeDetail:
  12165. get:
  12166. parameters:
  12167. - description: 资金账户
  12168. in: query
  12169. name: accountid
  12170. required: true
  12171. type: integer
  12172. produces:
  12173. - application/json
  12174. responses:
  12175. "200":
  12176. description: OK
  12177. schema:
  12178. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  12179. "500":
  12180. description: Internal Server Error
  12181. schema:
  12182. $ref: '#/definitions/app.Response'
  12183. security:
  12184. - ApiKeyAuth: []
  12185. summary: 查询内部成交单信息
  12186. tags:
  12187. - 风险管理
  12188. /Erms2/QuerySpotContract:
  12189. get:
  12190. parameters:
  12191. - description: 策略申请ID
  12192. in: query
  12193. name: asapplyid
  12194. required: true
  12195. type: integer
  12196. - description: 现货合同ID
  12197. in: query
  12198. name: spotcontractid
  12199. type: integer
  12200. produces:
  12201. - application/json
  12202. responses:
  12203. "200":
  12204. description: OK
  12205. schema:
  12206. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  12207. "500":
  12208. description: Internal Server Error
  12209. schema:
  12210. $ref: '#/definitions/app.Response'
  12211. security:
  12212. - ApiKeyAuth: []
  12213. summary: 查询现货合同表信息(指定策略ID、未结束的)
  12214. tags:
  12215. - 风险管理
  12216. /Erms3/AddErms2ASApply:
  12217. post:
  12218. parameters:
  12219. - description: 申请参数
  12220. in: body
  12221. name: jsonBody
  12222. required: true
  12223. schema:
  12224. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  12225. produces:
  12226. - application/json
  12227. responses:
  12228. "200":
  12229. description: OK
  12230. schema:
  12231. $ref: '#/definitions/app.Response'
  12232. "500":
  12233. description: Internal Server Error
  12234. schema:
  12235. $ref: '#/definitions/app.Response'
  12236. security:
  12237. - ApiKeyAuth: []
  12238. summary: 新增期现套利业务申请
  12239. tags:
  12240. - 风险管理v3
  12241. /Erms3/AddErms2SpotTradeApply:
  12242. post:
  12243. parameters:
  12244. - description: 申请参数
  12245. in: body
  12246. name: jsonBody
  12247. required: true
  12248. schema:
  12249. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  12250. produces:
  12251. - application/json
  12252. responses:
  12253. "200":
  12254. description: OK
  12255. schema:
  12256. $ref: '#/definitions/app.Response'
  12257. "500":
  12258. description: Internal Server Error
  12259. schema:
  12260. $ref: '#/definitions/app.Response'
  12261. security:
  12262. - ApiKeyAuth: []
  12263. summary: 新增现货贸易业务申请
  12264. tags:
  12265. - 风险管理v3
  12266. /Erms3/AddSpotContractApply:
  12267. post:
  12268. parameters:
  12269. - description: 申请参数
  12270. in: body
  12271. name: jsonBody
  12272. required: true
  12273. schema:
  12274. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  12275. produces:
  12276. - application/json
  12277. responses:
  12278. "200":
  12279. description: OK
  12280. schema:
  12281. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  12282. "500":
  12283. description: Internal Server Error
  12284. schema:
  12285. $ref: '#/definitions/app.Response'
  12286. security:
  12287. - ApiKeyAuth: []
  12288. summary: 新增现货合同申请
  12289. tags:
  12290. - 风险管理v3
  12291. /Erms3/AddUserInfoApply:
  12292. post:
  12293. parameters:
  12294. - description: 用户信息
  12295. in: body
  12296. name: jsonBody
  12297. required: true
  12298. schema:
  12299. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  12300. produces:
  12301. - application/json
  12302. responses:
  12303. "200":
  12304. description: OK
  12305. schema:
  12306. $ref: '#/definitions/app.Response'
  12307. "500":
  12308. description: Internal Server Error
  12309. schema:
  12310. $ref: '#/definitions/app.Response'
  12311. security:
  12312. - ApiKeyAuth: []
  12313. summary: 新增客户申请
  12314. tags:
  12315. - 风险管理v3
  12316. /Erms3/ModifyUserInfoApply:
  12317. post:
  12318. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  12319. int, "userstate": 2 }'
  12320. parameters:
  12321. - description: 用户信息
  12322. in: body
  12323. name: jsonBody
  12324. required: true
  12325. schema:
  12326. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  12327. produces:
  12328. - application/json
  12329. responses:
  12330. "200":
  12331. description: OK
  12332. schema:
  12333. $ref: '#/definitions/app.Response'
  12334. "500":
  12335. description: Internal Server Error
  12336. schema:
  12337. $ref: '#/definitions/app.Response'
  12338. security:
  12339. - ApiKeyAuth: []
  12340. summary: 修改客户申请
  12341. tags:
  12342. - 风险管理v3
  12343. /Erms3/QueryBusinessInfo:
  12344. get:
  12345. parameters:
  12346. - description: 资金账号ID列表,用逗号分隔
  12347. in: query
  12348. name: accountids
  12349. required: true
  12350. type: string
  12351. - description: 状态,0为未结束 1为已结束
  12352. in: query
  12353. name: status
  12354. required: true
  12355. type: integer
  12356. produces:
  12357. - application/json
  12358. responses:
  12359. "200":
  12360. description: OK
  12361. schema:
  12362. items:
  12363. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  12364. type: array
  12365. "500":
  12366. description: Internal Server Error
  12367. schema:
  12368. $ref: '#/definitions/app.Response'
  12369. security:
  12370. - ApiKeyAuth: []
  12371. summary: 查询业务表单数据
  12372. tags:
  12373. - 风险管理v3
  12374. /Erms3/QueryPendingAuditContract:
  12375. get:
  12376. parameters:
  12377. - description: 资金账号ID列表,逗号隔开
  12378. in: query
  12379. name: accountids
  12380. required: true
  12381. type: string
  12382. - description: 合同类型 1-采购 -1-销售
  12383. in: query
  12384. name: contracttype
  12385. required: true
  12386. type: integer
  12387. - description: 合同模式 1-普通 2-回购
  12388. in: query
  12389. name: contractmode
  12390. required: true
  12391. type: integer
  12392. produces:
  12393. - application/json
  12394. responses:
  12395. "200":
  12396. description: OK
  12397. schema:
  12398. items:
  12399. $ref: '#/definitions/erms3.QryAuditContractRsp'
  12400. type: array
  12401. "500":
  12402. description: Internal Server Error
  12403. schema:
  12404. $ref: '#/definitions/app.Response'
  12405. security:
  12406. - ApiKeyAuth: []
  12407. summary: 查询待审核合同
  12408. tags:
  12409. - 风险管理v3
  12410. /Erms3/QueryPendingBusiness:
  12411. get:
  12412. parameters:
  12413. - description: 资金账号ID列表,逗号隔开
  12414. in: query
  12415. name: accountids
  12416. required: true
  12417. type: string
  12418. produces:
  12419. - application/json
  12420. responses:
  12421. "200":
  12422. description: OK
  12423. schema:
  12424. items:
  12425. $ref: '#/definitions/erms3.QryPendingBizRsp'
  12426. type: array
  12427. "500":
  12428. description: Internal Server Error
  12429. schema:
  12430. $ref: '#/definitions/app.Response'
  12431. security:
  12432. - ApiKeyAuth: []
  12433. summary: 查询待审核基差贸易业务
  12434. tags:
  12435. - 风险管理v3
  12436. /Erms3/QuerySpotContractAppleForm:
  12437. get:
  12438. parameters:
  12439. - description: 登录账号
  12440. in: query
  12441. name: loginID
  12442. required: true
  12443. type: integer
  12444. produces:
  12445. - application/json
  12446. responses:
  12447. "200":
  12448. description: OK
  12449. schema:
  12450. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  12451. "500":
  12452. description: Internal Server Error
  12453. schema:
  12454. $ref: '#/definitions/app.Response'
  12455. security:
  12456. - ApiKeyAuth: []
  12457. summary: 查询合同申请表单数据
  12458. tags:
  12459. - 风险管理v3
  12460. /Erms3/QuerySpotContractDetail:
  12461. get:
  12462. parameters:
  12463. - description: 资金账号ID列表,用逗号分隔
  12464. in: query
  12465. name: accountids
  12466. required: true
  12467. type: string
  12468. - description: 合同类型,1为采购合同 -1为销售合同
  12469. in: query
  12470. name: contracttype
  12471. required: true
  12472. type: integer
  12473. - description: 合同模式,1为普通合同 2为回购销售合同
  12474. in: query
  12475. name: contractmode
  12476. required: true
  12477. type: integer
  12478. - description: 状态,0为履约中 1为已完成
  12479. in: query
  12480. name: status
  12481. required: true
  12482. type: integer
  12483. produces:
  12484. - application/json
  12485. responses:
  12486. "200":
  12487. description: OK
  12488. schema:
  12489. items:
  12490. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  12491. type: array
  12492. "500":
  12493. description: Internal Server Error
  12494. schema:
  12495. $ref: '#/definitions/app.Response'
  12496. security:
  12497. - ApiKeyAuth: []
  12498. summary: 查询合同详细信息
  12499. tags:
  12500. - 风险管理v3
  12501. /Erms3/QueryUserInfoApplies:
  12502. get:
  12503. parameters:
  12504. - description: 页码
  12505. in: query
  12506. name: page
  12507. type: integer
  12508. - description: 每页条数
  12509. in: query
  12510. name: pagesize
  12511. type: integer
  12512. - description: 客户名称,支持模糊查询
  12513. in: query
  12514. name: userName
  12515. type: string
  12516. produces:
  12517. - application/json
  12518. responses:
  12519. "200":
  12520. description: OK
  12521. schema:
  12522. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  12523. "500":
  12524. description: Internal Server Error
  12525. schema:
  12526. $ref: '#/definitions/app.Response'
  12527. security:
  12528. - ApiKeyAuth: []
  12529. summary: 客户申请信息查询
  12530. tags:
  12531. - 风险管理v3
  12532. /Erms3/QueryUserInfos:
  12533. get:
  12534. parameters:
  12535. - description: 页码
  12536. in: query
  12537. name: page
  12538. type: integer
  12539. - description: 每页条数
  12540. in: query
  12541. name: pagesize
  12542. type: integer
  12543. - description: 客户名称,支持模糊查询
  12544. in: query
  12545. name: userName
  12546. type: string
  12547. produces:
  12548. - application/json
  12549. responses:
  12550. "200":
  12551. description: OK
  12552. schema:
  12553. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  12554. "500":
  12555. description: Internal Server Error
  12556. schema:
  12557. $ref: '#/definitions/app.Response'
  12558. security:
  12559. - ApiKeyAuth: []
  12560. summary: 客户信息查询
  12561. tags:
  12562. - 风险管理v3
  12563. /HSBY/GetHsbyMyCount:
  12564. get:
  12565. description: 说明: 不包括已完成的数量。
  12566. parameters:
  12567. - description: 资金账户列表,格式:1,2,3
  12568. in: query
  12569. name: accountIDs
  12570. required: true
  12571. type: string
  12572. produces:
  12573. - application/json
  12574. responses:
  12575. "200":
  12576. description: OK
  12577. schema:
  12578. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  12579. "500":
  12580. description: Internal Server Error
  12581. schema:
  12582. $ref: '#/definitions/app.Response'
  12583. security:
  12584. - ApiKeyAuth: []
  12585. summary: 获取我的订单与包裹数量
  12586. tags:
  12587. - 定制【海商报业】
  12588. /HSBY/QueryClientFixedADConfigs:
  12589. get:
  12590. produces:
  12591. - application/json
  12592. responses:
  12593. "200":
  12594. description: OK
  12595. schema:
  12596. $ref: '#/definitions/models.Clientfixedadconfig'
  12597. "500":
  12598. description: Internal Server Error
  12599. schema:
  12600. $ref: '#/definitions/app.Response'
  12601. security:
  12602. - ApiKeyAuth: []
  12603. summary: 获取终端固定广告配置
  12604. tags:
  12605. - 定制【海商报业】
  12606. /HSBY/QueryHsbyBuyMyTradeDetail:
  12607. get:
  12608. parameters:
  12609. - description: 页码
  12610. in: query
  12611. name: page
  12612. type: integer
  12613. - description: 每页条数
  12614. in: query
  12615. name: pagesize
  12616. type: integer
  12617. - description: 资金账户列表,格式:1,2,3
  12618. in: query
  12619. name: accountIDs
  12620. required: true
  12621. type: string
  12622. produces:
  12623. - application/json
  12624. responses:
  12625. "200":
  12626. description: OK
  12627. schema:
  12628. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  12629. "500":
  12630. description: Internal Server Error
  12631. schema:
  12632. $ref: '#/definitions/app.Response'
  12633. security:
  12634. - ApiKeyAuth: []
  12635. summary: 查询"我的订单 - 已完成"单据信息
  12636. tags:
  12637. - 定制【海商报业】
  12638. /HSBY/QueryHsbyGoodsOrderDetails:
  12639. get:
  12640. description: 说明:查询结果已按委托价格和委托时间排序
  12641. parameters:
  12642. - description: 商品ID
  12643. in: query
  12644. name: goodsID
  12645. required: true
  12646. type: integer
  12647. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  12648. in: query
  12649. name: accountIDs
  12650. type: string
  12651. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  12652. in: query
  12653. name: buyOrSell
  12654. type: integer
  12655. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  12656. in: query
  12657. name: price
  12658. type: number
  12659. - description: 档位,不传则默认为3档
  12660. in: query
  12661. name: speed
  12662. type: integer
  12663. produces:
  12664. - application/json
  12665. responses:
  12666. "200":
  12667. description: OK
  12668. schema:
  12669. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  12670. "500":
  12671. description: Internal Server Error
  12672. schema:
  12673. $ref: '#/definitions/app.Response'
  12674. security:
  12675. - ApiKeyAuth: []
  12676. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  12677. tags:
  12678. - 定制【海商报业】
  12679. /HSBY/QueryHsbyListingGoodsDetail:
  12680. get:
  12681. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  12682. parameters:
  12683. - description: 商品ID
  12684. in: query
  12685. name: goodsID
  12686. required: true
  12687. type: integer
  12688. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  12689. in: query
  12690. name: accountID
  12691. type: integer
  12692. produces:
  12693. - application/json
  12694. responses:
  12695. "200":
  12696. description: OK
  12697. schema:
  12698. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  12699. "500":
  12700. description: Internal Server Error
  12701. schema:
  12702. $ref: '#/definitions/app.Response'
  12703. security:
  12704. - ApiKeyAuth: []
  12705. summary: 查询二级市场(挂牌点选)商品信息详情
  12706. tags:
  12707. - 定制【海商报业】
  12708. /HSBY/QueryHsbyMarketGoodsDetail:
  12709. get:
  12710. parameters:
  12711. - description: 委托单号
  12712. in: query
  12713. name: orderID
  12714. required: true
  12715. type: integer
  12716. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  12717. in: query
  12718. name: accountID
  12719. type: integer
  12720. produces:
  12721. - application/json
  12722. responses:
  12723. "200":
  12724. description: OK
  12725. schema:
  12726. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12727. "500":
  12728. description: Internal Server Error
  12729. schema:
  12730. $ref: '#/definitions/app.Response'
  12731. security:
  12732. - ApiKeyAuth: []
  12733. summary: 查询三级市场(商城)商品信息详情
  12734. tags:
  12735. - 定制【海商报业】
  12736. /HSBY/QueryHsbyMarketGoodses:
  12737. get:
  12738. parameters:
  12739. - description: 页码
  12740. in: query
  12741. name: page
  12742. type: integer
  12743. - description: 每页条数
  12744. in: query
  12745. name: pagesize
  12746. type: integer
  12747. - description: 市场ID列表,格式:1,2,3
  12748. in: query
  12749. name: marketIDs
  12750. required: true
  12751. type: string
  12752. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  12753. in: query
  12754. name: accountID
  12755. required: true
  12756. type: integer
  12757. - description: 类别ID
  12758. in: query
  12759. name: categoryID
  12760. type: integer
  12761. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12762. in: query
  12763. name: goodsIDs
  12764. type: string
  12765. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  12766. in: query
  12767. name: couponTypeID
  12768. type: integer
  12769. produces:
  12770. - application/json
  12771. responses:
  12772. "200":
  12773. description: OK
  12774. schema:
  12775. $ref: '#/definitions/models.HsbyMarketGoods'
  12776. "500":
  12777. description: Internal Server Error
  12778. schema:
  12779. $ref: '#/definitions/app.Response'
  12780. security:
  12781. - ApiKeyAuth: []
  12782. summary: 查询特卖商品列表(三级商城)
  12783. tags:
  12784. - 定制【海商报业】
  12785. /HSBY/QueryHsbyMarkets:
  12786. get:
  12787. produces:
  12788. - application/json
  12789. responses:
  12790. "200":
  12791. description: OK
  12792. schema:
  12793. $ref: '#/definitions/models.HsbyMarketInfo'
  12794. "500":
  12795. description: Internal Server Error
  12796. schema:
  12797. $ref: '#/definitions/app.Response'
  12798. security:
  12799. - ApiKeyAuth: []
  12800. summary: 查询海商报业相关市场信息
  12801. tags:
  12802. - 定制【海商报业】
  12803. /HSBY/QueryHsbyMyBuyOrderDetails:
  12804. get:
  12805. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  12806. parameters:
  12807. - description: 资金账户列表,格式:1,2,3
  12808. in: query
  12809. name: accountIDs
  12810. required: true
  12811. type: string
  12812. produces:
  12813. - application/json
  12814. responses:
  12815. "200":
  12816. description: OK
  12817. schema:
  12818. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  12819. "500":
  12820. description: Internal Server Error
  12821. schema:
  12822. $ref: '#/definitions/app.Response'
  12823. security:
  12824. - ApiKeyAuth: []
  12825. summary: 查询“我的订单”信息
  12826. tags:
  12827. - 定制【海商报业】
  12828. /HSBY/QueryHsbyMyGoods:
  12829. get:
  12830. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  12831. parameters:
  12832. - description: 资金账户列表,格式:1,2,3
  12833. in: query
  12834. name: accountIDs
  12835. required: true
  12836. type: string
  12837. produces:
  12838. - application/json
  12839. responses:
  12840. "200":
  12841. description: OK
  12842. schema:
  12843. $ref: '#/definitions/models.HsbyMyGoods'
  12844. "500":
  12845. description: Internal Server Error
  12846. schema:
  12847. $ref: '#/definitions/app.Response'
  12848. security:
  12849. - ApiKeyAuth: []
  12850. summary: 查询“我的商品”信息
  12851. tags:
  12852. - 定制【海商报业】
  12853. /HSBY/QueryHsbyMyPackages:
  12854. get:
  12855. parameters:
  12856. - description: 资金账户列表,格式:1,2,3
  12857. in: query
  12858. name: accountIDs
  12859. required: true
  12860. type: string
  12861. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12862. in: query
  12863. name: takeOrderStatus
  12864. type: integer
  12865. produces:
  12866. - application/json
  12867. responses:
  12868. "200":
  12869. description: OK
  12870. schema:
  12871. $ref: '#/definitions/models.HsbyMyPackage'
  12872. "500":
  12873. description: Internal Server Error
  12874. schema:
  12875. $ref: '#/definitions/app.Response'
  12876. security:
  12877. - ApiKeyAuth: []
  12878. summary: 查询我的包裹信息
  12879. tags:
  12880. - 定制【海商报业】
  12881. /HSBY/QueryHsbyPreGoodsDetail:
  12882. get:
  12883. parameters:
  12884. - description: 商品ID
  12885. in: query
  12886. name: goodsID
  12887. required: true
  12888. type: integer
  12889. - description: 资金账户,主要用于获取预售商品购买上限
  12890. in: query
  12891. name: accountID
  12892. type: integer
  12893. produces:
  12894. - application/json
  12895. responses:
  12896. "200":
  12897. description: OK
  12898. schema:
  12899. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  12900. "500":
  12901. description: Internal Server Error
  12902. schema:
  12903. $ref: '#/definitions/app.Response'
  12904. security:
  12905. - ApiKeyAuth: []
  12906. summary: 查询一级市场(预售)商品信息详情
  12907. tags:
  12908. - 定制【海商报业】
  12909. /HSBY/QueryHsbyPreGoodses:
  12910. get:
  12911. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  12912. parameters:
  12913. - description: 页码
  12914. in: query
  12915. name: page
  12916. type: integer
  12917. - description: 每页条数
  12918. in: query
  12919. name: pagesize
  12920. type: integer
  12921. - description: 市场ID列表,格式:1,2,3
  12922. in: query
  12923. name: marketIDs
  12924. required: true
  12925. type: string
  12926. - description: 目的地(省)ID
  12927. in: query
  12928. name: descProvinceID
  12929. type: integer
  12930. - description: 目的地(市)ID
  12931. in: query
  12932. name: descCityID
  12933. type: integer
  12934. produces:
  12935. - application/json
  12936. responses:
  12937. "200":
  12938. description: OK
  12939. schema:
  12940. $ref: '#/definitions/models.HsbyPreGoods'
  12941. "500":
  12942. description: Internal Server Error
  12943. schema:
  12944. $ref: '#/definitions/app.Response'
  12945. security:
  12946. - ApiKeyAuth: []
  12947. summary: 查询新品上市商品列表(一级市场预售)
  12948. tags:
  12949. - 定制【海商报业】
  12950. /HSBY/QueryHsbySellMyDetails:
  12951. get:
  12952. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  12953. parameters:
  12954. - description: 页码
  12955. in: query
  12956. name: page
  12957. type: integer
  12958. - description: 每页条数
  12959. in: query
  12960. name: pagesize
  12961. type: integer
  12962. - description: 资金账户列表,格式:1,2,3
  12963. in: query
  12964. name: accountIDs
  12965. required: true
  12966. type: string
  12967. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  12968. in: query
  12969. name: orderType
  12970. type: integer
  12971. produces:
  12972. - application/json
  12973. responses:
  12974. "200":
  12975. description: OK
  12976. schema:
  12977. $ref: '#/definitions/models.HsbySellMyDetail'
  12978. "500":
  12979. description: Internal Server Error
  12980. schema:
  12981. $ref: '#/definitions/app.Response'
  12982. security:
  12983. - ApiKeyAuth: []
  12984. summary: 查询"我的闲置"单据信息
  12985. tags:
  12986. - 定制【海商报业】
  12987. /HSBY/QueryHsbyTopGoodses:
  12988. get:
  12989. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  12990. parameters:
  12991. - description: 页码
  12992. in: query
  12993. name: page
  12994. type: integer
  12995. - description: 每页条数
  12996. in: query
  12997. name: pagesize
  12998. type: integer
  12999. - description: 市场ID列表,格式:1,2,3
  13000. in: query
  13001. name: marketIDs
  13002. required: true
  13003. type: string
  13004. - description: 目的地(省)ID
  13005. in: query
  13006. name: descProvinceID
  13007. type: integer
  13008. - description: 目的地(市)ID
  13009. in: query
  13010. name: descCityID
  13011. type: integer
  13012. produces:
  13013. - application/json
  13014. responses:
  13015. "200":
  13016. description: OK
  13017. schema:
  13018. $ref: '#/definitions/models.HsbyTopGoods'
  13019. "500":
  13020. description: Internal Server Error
  13021. schema:
  13022. $ref: '#/definitions/app.Response'
  13023. security:
  13024. - ApiKeyAuth: []
  13025. summary: 查询热卖商品列表(二级市场挂牌点选)
  13026. tags:
  13027. - 定制【海商报业】
  13028. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  13029. get:
  13030. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  13031. parameters:
  13032. - description: 商品ID
  13033. in: query
  13034. name: goodsID
  13035. required: true
  13036. type: integer
  13037. produces:
  13038. - application/json
  13039. responses:
  13040. "200":
  13041. description: OK
  13042. schema:
  13043. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13044. "500":
  13045. description: Internal Server Error
  13046. schema:
  13047. $ref: '#/definitions/app.Response'
  13048. security:
  13049. - ApiKeyAuth: []
  13050. summary: 查询游客三级市场(商城)商品信息详情
  13051. tags:
  13052. - 定制【海商报业】
  13053. /HSBY/QueryHsbyVisitorMarketGoodses:
  13054. get:
  13055. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  13056. parameters:
  13057. - description: 页码
  13058. in: query
  13059. name: page
  13060. type: integer
  13061. - description: 每页条数
  13062. in: query
  13063. name: pagesize
  13064. type: integer
  13065. - description: 市场ID列表,格式:1,2,3
  13066. in: query
  13067. name: marketIDs
  13068. required: true
  13069. type: string
  13070. - description: 类别ID
  13071. in: query
  13072. name: categoryID
  13073. type: integer
  13074. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  13075. in: query
  13076. name: goodsIDs
  13077. type: string
  13078. produces:
  13079. - application/json
  13080. responses:
  13081. "200":
  13082. description: OK
  13083. schema:
  13084. $ref: '#/definitions/models.HsbyMarketGoods'
  13085. "500":
  13086. description: Internal Server Error
  13087. schema:
  13088. $ref: '#/definitions/app.Response'
  13089. security:
  13090. - ApiKeyAuth: []
  13091. summary: 查询游客特卖商品列表(三级商城)
  13092. tags:
  13093. - 定制【海商报业】
  13094. /HSBY/QueryMyCollectionOrders:
  13095. get:
  13096. parameters:
  13097. - description: 页码
  13098. in: query
  13099. name: page
  13100. type: integer
  13101. - description: 每页条数
  13102. in: query
  13103. name: pagesize
  13104. type: integer
  13105. - description: 资金账户,格式:1,2,3
  13106. in: query
  13107. name: accountIDs
  13108. required: true
  13109. type: string
  13110. produces:
  13111. - application/json
  13112. responses:
  13113. "200":
  13114. description: OK
  13115. schema:
  13116. $ref: '#/definitions/models.HsbySellCollectionOrder'
  13117. "500":
  13118. description: Internal Server Error
  13119. schema:
  13120. $ref: '#/definitions/app.Response'
  13121. security:
  13122. - ApiKeyAuth: []
  13123. summary: 我的闲置中收款信息查询
  13124. tags:
  13125. - 定制【海商报业】
  13126. /HSBY/QueryMyCouponHolds:
  13127. get:
  13128. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  13129. parameters:
  13130. - description: 资金账户列表,格式:1,2,3
  13131. in: query
  13132. name: accountIDs
  13133. required: true
  13134. type: string
  13135. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  13136. in: query
  13137. name: holdStatus
  13138. type: string
  13139. produces:
  13140. - application/json
  13141. responses:
  13142. "200":
  13143. description: OK
  13144. schema:
  13145. $ref: '#/definitions/models.MyCouponHold'
  13146. "500":
  13147. description: Internal Server Error
  13148. schema:
  13149. $ref: '#/definitions/app.Response'
  13150. security:
  13151. - ApiKeyAuth: []
  13152. summary: 我的优惠卷持仓查询
  13153. tags:
  13154. - 定制【海商报业】
  13155. /HSBY/QueryMyCoupons:
  13156. get:
  13157. parameters:
  13158. - description: 资金账户列表,格式:1,2,3
  13159. in: query
  13160. name: accountIDs
  13161. required: true
  13162. type: string
  13163. - description: 商品ID, 一般与sellUserID配套传入
  13164. in: query
  13165. name: goodsID
  13166. type: integer
  13167. - description: 卖方UserID
  13168. in: query
  13169. name: sellUserID
  13170. type: integer
  13171. produces:
  13172. - application/json
  13173. responses:
  13174. "200":
  13175. description: OK
  13176. schema:
  13177. $ref: '#/definitions/models.MyCoupon'
  13178. "500":
  13179. description: Internal Server Error
  13180. schema:
  13181. $ref: '#/definitions/app.Response'
  13182. security:
  13183. - ApiKeyAuth: []
  13184. summary: 我的优惠卷查询
  13185. tags:
  13186. - 定制【海商报业】
  13187. /HSBY/QueryMyPayOrders:
  13188. get:
  13189. parameters:
  13190. - description: 页码
  13191. in: query
  13192. name: page
  13193. type: integer
  13194. - description: 每页条数
  13195. in: query
  13196. name: pagesize
  13197. type: integer
  13198. - description: 资金账户列表,格式:1,2,3
  13199. in: query
  13200. name: accountIDs
  13201. required: true
  13202. type: string
  13203. - description: 买方委托单号
  13204. in: query
  13205. name: buyOrderID
  13206. type: integer
  13207. - description: 卖方委托单号
  13208. in: query
  13209. name: sellOrderID
  13210. type: integer
  13211. produces:
  13212. - application/json
  13213. responses:
  13214. "200":
  13215. description: OK
  13216. schema:
  13217. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  13218. "500":
  13219. description: Internal Server Error
  13220. schema:
  13221. $ref: '#/definitions/app.Response'
  13222. security:
  13223. - ApiKeyAuth: []
  13224. summary: 获取我的订单中待付款信息
  13225. tags:
  13226. - 定制【海商报业】
  13227. /HSBY/QueryMyUsedCoupon:
  13228. get:
  13229. parameters:
  13230. - description: 资金账户列表,格式:1,2,3
  13231. in: query
  13232. name: accountIDs
  13233. required: true
  13234. type: string
  13235. produces:
  13236. - application/json
  13237. responses:
  13238. "200":
  13239. description: OK
  13240. schema:
  13241. $ref: '#/definitions/models.MyUsedCoupon'
  13242. "500":
  13243. description: Internal Server Error
  13244. schema:
  13245. $ref: '#/definitions/app.Response'
  13246. security:
  13247. - ApiKeyAuth: []
  13248. summary: 已使用优惠卷查询
  13249. tags:
  13250. - 定制【海商报业】
  13251. /HSBY/QueryProvincesAndCities:
  13252. get:
  13253. description: 查询结果只包括二级市场商品已关连的省市信息。
  13254. parameters:
  13255. - description: 省ID
  13256. in: query
  13257. name: provinceID
  13258. type: integer
  13259. produces:
  13260. - application/json
  13261. responses:
  13262. "200":
  13263. description: OK
  13264. schema:
  13265. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  13266. "500":
  13267. description: Internal Server Error
  13268. schema:
  13269. $ref: '#/definitions/app.Response'
  13270. security:
  13271. - ApiKeyAuth: []
  13272. summary: 查询省市信息(不包括区)
  13273. tags:
  13274. - 定制【海商报业】
  13275. /HSBY/SetHsbyMyPackagesStatus:
  13276. post:
  13277. parameters:
  13278. - description: 提货单号
  13279. in: query
  13280. name: takeOrderID
  13281. required: true
  13282. type: string
  13283. - description: 资金账号
  13284. in: query
  13285. name: accountID
  13286. required: true
  13287. type: integer
  13288. produces:
  13289. - application/json
  13290. responses:
  13291. "200":
  13292. description: OK
  13293. schema:
  13294. $ref: '#/definitions/app.Response'
  13295. "500":
  13296. description: Internal Server Error
  13297. schema:
  13298. $ref: '#/definitions/app.Response'
  13299. security:
  13300. - ApiKeyAuth: []
  13301. summary: 设置我的包裹已收货状态
  13302. tags:
  13303. - 定制【海商报业】
  13304. /Market/QueryGoodsesByLoginID:
  13305. get:
  13306. parameters:
  13307. - description: 登录账号
  13308. in: query
  13309. name: loginID
  13310. required: true
  13311. type: integer
  13312. - description: 市场ID列表,格式:1,2,3
  13313. in: query
  13314. name: marketIDs
  13315. type: string
  13316. produces:
  13317. - application/json
  13318. responses:
  13319. "200":
  13320. description: OK
  13321. schema:
  13322. $ref: '#/definitions/models.Goods'
  13323. "500":
  13324. description: Internal Server Error
  13325. schema:
  13326. $ref: '#/definitions/app.Response'
  13327. security:
  13328. - ApiKeyAuth: []
  13329. summary: 获取登录账号有权限的商品信息
  13330. tags:
  13331. - 通用市场
  13332. /Market/QueryMarketRun:
  13333. get:
  13334. parameters:
  13335. - description: 市场ID,不传返回所有
  13336. in: query
  13337. name: marketID
  13338. type: integer
  13339. produces:
  13340. - application/json
  13341. responses:
  13342. "200":
  13343. description: OK
  13344. schema:
  13345. $ref: '#/definitions/models.Marketrun'
  13346. "500":
  13347. description: Internal Server Error
  13348. schema:
  13349. $ref: '#/definitions/app.Response'
  13350. security:
  13351. - ApiKeyAuth: []
  13352. summary: 查询市场运行信息
  13353. tags:
  13354. - 通用市场
  13355. /Market/QueryMarketsByLoginID:
  13356. get:
  13357. parameters:
  13358. - description: 登录账号
  13359. in: query
  13360. name: loginID
  13361. required: true
  13362. type: integer
  13363. produces:
  13364. - application/json
  13365. responses:
  13366. "200":
  13367. description: OK
  13368. schema:
  13369. $ref: '#/definitions/models.Market'
  13370. "500":
  13371. description: Internal Server Error
  13372. schema:
  13373. $ref: '#/definitions/app.Response'
  13374. security:
  13375. - ApiKeyAuth: []
  13376. summary: 获取登录账号有权限的市场信息
  13377. tags:
  13378. - 通用市场
  13379. /Order/QueryHisTradeDetail:
  13380. get:
  13381. parameters:
  13382. - description: 资金账户 - 格式:1,2,3
  13383. in: query
  13384. name: accountID
  13385. required: true
  13386. type: string
  13387. - description: 成交单号
  13388. in: query
  13389. name: tradeID
  13390. type: integer
  13391. - description: 委托单号
  13392. in: query
  13393. name: orderID
  13394. type: integer
  13395. - description: 交易模式 - 格式:1,2,3
  13396. in: query
  13397. name: tradeMode
  13398. type: string
  13399. - description: 委托单据类型
  13400. in: query
  13401. name: buildType
  13402. type: integer
  13403. - description: 成交类别 - 格式:1,2,3
  13404. in: query
  13405. name: tradeType
  13406. type: string
  13407. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13408. in: query
  13409. name: startDate
  13410. type: string
  13411. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13412. in: query
  13413. name: endDate
  13414. type: string
  13415. produces:
  13416. - application/json
  13417. responses:
  13418. "200":
  13419. description: OK
  13420. schema:
  13421. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  13422. "500":
  13423. description: Internal Server Error
  13424. schema:
  13425. $ref: '#/definitions/app.Response'
  13426. security:
  13427. - ApiKeyAuth: []
  13428. summary: 历史成交单查询(合约市场)
  13429. tags:
  13430. - 通用单据
  13431. /Order/QueryHisTradeOrderDetail:
  13432. get:
  13433. parameters:
  13434. - description: 资金账户 - 格式:1,2,3
  13435. in: query
  13436. name: accountID
  13437. required: true
  13438. type: string
  13439. - description: 交易模式 - 格式:1,2,3
  13440. in: query
  13441. name: tradeMode
  13442. type: string
  13443. - description: 委托状态 - 格式:1,2,3
  13444. in: query
  13445. name: orderStatus
  13446. type: string
  13447. - description: 委托单号
  13448. in: query
  13449. name: orderID
  13450. type: integer
  13451. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13452. in: query
  13453. name: startDate
  13454. type: string
  13455. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13456. in: query
  13457. name: endDate
  13458. type: string
  13459. produces:
  13460. - application/json
  13461. responses:
  13462. "200":
  13463. description: OK
  13464. schema:
  13465. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  13466. "500":
  13467. description: Internal Server Error
  13468. schema:
  13469. $ref: '#/definitions/app.Response'
  13470. security:
  13471. - ApiKeyAuth: []
  13472. summary: 历史委托单查询请求(合约市场)
  13473. tags:
  13474. - 通用单据
  13475. /Order/QueryTradeDetail:
  13476. get:
  13477. parameters:
  13478. - description: 资金账户 - 格式:1,2,3
  13479. in: query
  13480. name: accountID
  13481. required: true
  13482. type: string
  13483. - description: 成交单号
  13484. in: query
  13485. name: tradeID
  13486. type: integer
  13487. - description: 委托单号
  13488. in: query
  13489. name: orderID
  13490. type: integer
  13491. - description: 交易模式 - 格式:1,2,3
  13492. in: query
  13493. name: tradeMode
  13494. type: string
  13495. - description: 委托单据类型
  13496. in: query
  13497. name: buildType
  13498. type: integer
  13499. - description: 成交类别 - 格式:1,2,3
  13500. in: query
  13501. name: tradeType
  13502. type: string
  13503. produces:
  13504. - application/json
  13505. responses:
  13506. "200":
  13507. description: OK
  13508. schema:
  13509. $ref: '#/definitions/order.QueryTradeDetailRsp'
  13510. "500":
  13511. description: Internal Server Error
  13512. schema:
  13513. $ref: '#/definitions/app.Response'
  13514. security:
  13515. - ApiKeyAuth: []
  13516. summary: 成交单查询(合约市场)
  13517. tags:
  13518. - 通用单据
  13519. /Order/QueryTradeOrderDetail:
  13520. get:
  13521. parameters:
  13522. - description: 资金账户 - 格式:1,2,3
  13523. in: query
  13524. name: accountID
  13525. required: true
  13526. type: string
  13527. - description: 交易模式 - 格式:1,2,3
  13528. in: query
  13529. name: tradeMode
  13530. type: string
  13531. - description: 委托状态 - 格式:1,2,3
  13532. in: query
  13533. name: orderStatus
  13534. type: string
  13535. - description: 委托单号
  13536. in: query
  13537. name: orderID
  13538. type: integer
  13539. produces:
  13540. - application/json
  13541. responses:
  13542. "200":
  13543. description: OK
  13544. schema:
  13545. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  13546. "500":
  13547. description: Internal Server Error
  13548. schema:
  13549. $ref: '#/definitions/app.Response'
  13550. security:
  13551. - ApiKeyAuth: []
  13552. summary: 委托单查询请求(合约市场)
  13553. tags:
  13554. - 通用单据
  13555. /Order/QueryTradePosition:
  13556. get:
  13557. parameters:
  13558. - description: 资金账户 - 格式:1,2,3
  13559. in: query
  13560. name: accountID
  13561. required: true
  13562. type: string
  13563. - description: 交易模式 - 格式:1,2,3
  13564. in: query
  13565. name: tradeMode
  13566. type: string
  13567. produces:
  13568. - application/json
  13569. responses:
  13570. "200":
  13571. description: OK
  13572. schema:
  13573. $ref: '#/definitions/order.QueryTradePositionRsp'
  13574. "500":
  13575. description: Internal Server Error
  13576. schema:
  13577. $ref: '#/definitions/app.Response'
  13578. security:
  13579. - ApiKeyAuth: []
  13580. summary: 持仓汇总查询(合约市场)
  13581. tags:
  13582. - 通用单据
  13583. /Quote/QueryHistoryDatas:
  13584. get:
  13585. parameters:
  13586. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  13587. 日线'
  13588. in: query
  13589. name: cycleType
  13590. required: true
  13591. type: integer
  13592. - description: 商品代码
  13593. in: query
  13594. name: goodsCode
  13595. required: true
  13596. type: string
  13597. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13598. in: query
  13599. name: startTime
  13600. type: string
  13601. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13602. in: query
  13603. name: endTime
  13604. type: string
  13605. - description: 条数
  13606. in: query
  13607. name: count
  13608. type: integer
  13609. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13610. in: query
  13611. name: isAsc
  13612. type: boolean
  13613. produces:
  13614. - application/json
  13615. responses:
  13616. "200":
  13617. description: OK
  13618. schema:
  13619. $ref: '#/definitions/quote.HistoryData'
  13620. "500":
  13621. description: Internal Server Error
  13622. schema:
  13623. $ref: '#/definitions/app.Response'
  13624. security:
  13625. - ApiKeyAuth: []
  13626. summary: 查询行情历史数据
  13627. tags:
  13628. - 行情服务
  13629. /Quote/QueryHistoryTikDatas:
  13630. get:
  13631. parameters:
  13632. - description: 商品代码
  13633. in: query
  13634. name: goodsCode
  13635. required: true
  13636. type: string
  13637. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13638. in: query
  13639. name: startTime
  13640. type: string
  13641. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13642. in: query
  13643. name: endTime
  13644. type: string
  13645. - description: 条数
  13646. in: query
  13647. name: count
  13648. type: integer
  13649. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13650. in: query
  13651. name: isAsc
  13652. type: boolean
  13653. produces:
  13654. - application/json
  13655. responses:
  13656. "200":
  13657. description: OK
  13658. schema:
  13659. $ref: '#/definitions/quote.HistoryTikData'
  13660. "500":
  13661. description: Internal Server Error
  13662. schema:
  13663. $ref: '#/definitions/app.Response'
  13664. security:
  13665. - ApiKeyAuth: []
  13666. summary: 查询行情Tik数据
  13667. tags:
  13668. - 行情服务
  13669. /Quote/QueryQuoteDay:
  13670. get:
  13671. parameters:
  13672. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  13673. in: query
  13674. name: goodsCodes
  13675. required: true
  13676. type: string
  13677. produces:
  13678. - application/json
  13679. responses:
  13680. "200":
  13681. description: OK
  13682. schema:
  13683. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  13684. "500":
  13685. description: Internal Server Error
  13686. schema:
  13687. $ref: '#/definitions/app.Response'
  13688. security:
  13689. - ApiKeyAuth: []
  13690. summary: 获取商品盘面信息
  13691. tags:
  13692. - 行情服务
  13693. /Quote/QueryTSData:
  13694. get:
  13695. parameters:
  13696. - description: 商品代码
  13697. in: query
  13698. name: goodsCode
  13699. required: true
  13700. type: string
  13701. produces:
  13702. - application/json
  13703. responses:
  13704. "200":
  13705. description: OK
  13706. schema:
  13707. $ref: '#/definitions/quote.QueryTSDataRsp'
  13708. "500":
  13709. description: Internal Server Error
  13710. schema:
  13711. $ref: '#/definitions/app.Response'
  13712. security:
  13713. - ApiKeyAuth: []
  13714. summary: 分时图数据查询
  13715. tags:
  13716. - 行情服务
  13717. /SZDZ/QueryConvertConfig:
  13718. get:
  13719. parameters:
  13720. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13721. 6:交易转花生米(不设置)
  13722. in: query
  13723. name: convertType
  13724. type: integer
  13725. - description: 外部商品代码[JD\PD]
  13726. in: query
  13727. name: outerGoodsCode
  13728. type: string
  13729. - description: 内部商品ID列表[交易],格式:1,2,3
  13730. in: query
  13731. name: innerGoodsIDs
  13732. type: string
  13733. produces:
  13734. - application/json
  13735. responses:
  13736. "200":
  13737. description: OK
  13738. schema:
  13739. $ref: '#/definitions/models.Szdz3convertconfig'
  13740. "500":
  13741. description: Internal Server Error
  13742. schema:
  13743. $ref: '#/definitions/app.Response'
  13744. security:
  13745. - ApiKeyAuth: []
  13746. summary: 查询交易系统转换设置
  13747. tags:
  13748. - 定制【尚志大宗】
  13749. /SZDZ/QueryConvertLog:
  13750. get:
  13751. parameters:
  13752. - description: 资金账户 - 格式:1,2,3
  13753. in: query
  13754. name: accountID
  13755. required: true
  13756. type: string
  13757. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13758. in: query
  13759. name: startDate
  13760. type: string
  13761. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13762. in: query
  13763. name: endDate
  13764. type: string
  13765. produces:
  13766. - application/json
  13767. responses:
  13768. "200":
  13769. description: OK
  13770. schema:
  13771. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  13772. "500":
  13773. description: Internal Server Error
  13774. schema:
  13775. $ref: '#/definitions/app.Response'
  13776. security:
  13777. - ApiKeyAuth: []
  13778. summary: 交易系统转换流水查询
  13779. tags:
  13780. - 定制【尚志大宗】
  13781. /SZDZ/QueryGoodsPickup:
  13782. get:
  13783. parameters:
  13784. - description: 资金账户 - 格式:1,2,3
  13785. in: query
  13786. name: accountID
  13787. required: true
  13788. type: string
  13789. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13790. in: query
  13791. name: takeOrderStatus
  13792. type: integer
  13793. produces:
  13794. - application/json
  13795. responses:
  13796. "200":
  13797. description: OK
  13798. schema:
  13799. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  13800. "500":
  13801. description: Internal Server Error
  13802. schema:
  13803. $ref: '#/definitions/app.Response'
  13804. security:
  13805. - ApiKeyAuth: []
  13806. summary: 商品提货单查询
  13807. tags:
  13808. - 定制【尚志大宗】
  13809. /SZDZ/QueryRecieptOrder:
  13810. get:
  13811. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13812. parameters:
  13813. - description: 页码
  13814. in: query
  13815. name: page
  13816. type: integer
  13817. - description: 每页条数
  13818. in: query
  13819. name: pagesize
  13820. type: integer
  13821. - description: 商品ID
  13822. in: query
  13823. name: goodsID
  13824. required: true
  13825. type: integer
  13826. - description: 所属账户名称
  13827. in: query
  13828. name: accountName
  13829. type: string
  13830. - description: 市场ID
  13831. in: query
  13832. name: marketID
  13833. type: integer
  13834. - description: 方向 - 0:买 1:卖
  13835. in: query
  13836. name: buyorsell
  13837. required: true
  13838. type: integer
  13839. produces:
  13840. - application/json
  13841. responses:
  13842. "200":
  13843. description: OK
  13844. schema:
  13845. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  13846. "500":
  13847. description: Internal Server Error
  13848. schema:
  13849. $ref: '#/definitions/app.Response'
  13850. security:
  13851. - ApiKeyAuth: []
  13852. summary: 点选挂牌委托单据查询(摘牌大厅)
  13853. tags:
  13854. - 定制【尚志大宗】
  13855. /SZDZ/QuerySZDZTradePosition:
  13856. get:
  13857. parameters:
  13858. - description: 资金账户
  13859. in: query
  13860. name: accountID
  13861. required: true
  13862. type: integer
  13863. produces:
  13864. - application/json
  13865. responses:
  13866. "200":
  13867. description: OK
  13868. schema:
  13869. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  13870. "500":
  13871. description: Internal Server Error
  13872. schema:
  13873. $ref: '#/definitions/app.Response'
  13874. security:
  13875. - ApiKeyAuth: []
  13876. summary: 持仓汇总查询(尚志大宗)
  13877. tags:
  13878. - 定制【尚志大宗】
  13879. /SZDZ/SearchWhite:
  13880. get:
  13881. parameters:
  13882. - description: 用户ID
  13883. in: query
  13884. name: userID
  13885. required: true
  13886. type: integer
  13887. produces:
  13888. - application/json
  13889. responses:
  13890. "200":
  13891. description: OK
  13892. schema:
  13893. $ref: '#/definitions/models.Szdz3searchwhitelist'
  13894. "500":
  13895. description: Internal Server Error
  13896. schema:
  13897. $ref: '#/definitions/app.Response'
  13898. security:
  13899. - ApiKeyAuth: []
  13900. summary: 搜索白名单
  13901. tags:
  13902. - 定制【尚志大宗】
  13903. /Search/SearchGoodses:
  13904. get:
  13905. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  13906. parameters:
  13907. - description: 检索内容
  13908. in: query
  13909. name: content
  13910. required: true
  13911. type: string
  13912. - description: 交易模式,格式:1,2,3
  13913. in: query
  13914. name: tradeModes
  13915. type: string
  13916. produces:
  13917. - application/json
  13918. responses:
  13919. "200":
  13920. description: OK
  13921. schema:
  13922. $ref: '#/definitions/models.SearchGoods'
  13923. "500":
  13924. description: Internal Server Error
  13925. schema:
  13926. $ref: '#/definitions/app.Response'
  13927. summary: 检索商品信息
  13928. tags:
  13929. - 检索服务
  13930. /TaAccount/GetTaAccounts:
  13931. get:
  13932. parameters:
  13933. - description: 登录账户
  13934. in: query
  13935. name: loginID
  13936. required: true
  13937. type: integer
  13938. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13939. in: query
  13940. name: taAccountType
  13941. type: integer
  13942. produces:
  13943. - application/json
  13944. responses:
  13945. "200":
  13946. description: OK
  13947. schema:
  13948. $ref: '#/definitions/models.Taaccount'
  13949. "500":
  13950. description: Internal Server Error
  13951. schema:
  13952. $ref: '#/definitions/app.Response'
  13953. security:
  13954. - ApiKeyAuth: []
  13955. summary: 获取资金账户信息
  13956. tags:
  13957. - 资金账户
  13958. /TaAccount/QueryAmountLog:
  13959. get:
  13960. parameters:
  13961. - description: 页码
  13962. in: query
  13963. name: page
  13964. type: integer
  13965. - description: 每页条数
  13966. in: query
  13967. name: pagesize
  13968. type: integer
  13969. - description: 资金账户 - 格式:1,2,3
  13970. in: query
  13971. name: accountID
  13972. required: true
  13973. type: string
  13974. - description: 资金操作类型 - 格式:1,2,3
  13975. in: query
  13976. name: OperateType
  13977. type: string
  13978. produces:
  13979. - application/json
  13980. responses:
  13981. "200":
  13982. description: OK
  13983. schema:
  13984. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  13985. "500":
  13986. description: Internal Server Error
  13987. schema:
  13988. $ref: '#/definitions/app.Response'
  13989. security:
  13990. - ApiKeyAuth: []
  13991. summary: 资金流水查询(当前)
  13992. tags:
  13993. - 资金账户
  13994. /TaAccount/QueryHisAmountLog:
  13995. get:
  13996. parameters:
  13997. - description: 页码
  13998. in: query
  13999. name: page
  14000. type: integer
  14001. - description: 每页条数
  14002. in: query
  14003. name: pagesize
  14004. type: integer
  14005. - description: 资金账户 - 格式:1,2,3
  14006. in: query
  14007. name: accountID
  14008. required: true
  14009. type: string
  14010. - description: 资金操作类型 - 格式:1,2,3
  14011. in: query
  14012. name: OperateType
  14013. type: string
  14014. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14015. in: query
  14016. name: startDate
  14017. type: string
  14018. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14019. in: query
  14020. name: endDate
  14021. type: string
  14022. produces:
  14023. - application/json
  14024. responses:
  14025. "200":
  14026. description: OK
  14027. schema:
  14028. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  14029. "500":
  14030. description: Internal Server Error
  14031. schema:
  14032. $ref: '#/definitions/app.Response'
  14033. security:
  14034. - ApiKeyAuth: []
  14035. summary: 资金流水查询(历史)
  14036. tags:
  14037. - 资金账户
  14038. /Trade/QueryRecieptOrder:
  14039. get:
  14040. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14041. parameters:
  14042. - description: 页码
  14043. in: query
  14044. name: page
  14045. type: integer
  14046. - description: 每页条数
  14047. in: query
  14048. name: pagesize
  14049. type: integer
  14050. - description: 商品ID
  14051. in: query
  14052. name: goodsID
  14053. required: true
  14054. type: integer
  14055. - description: 所属账户名称
  14056. in: query
  14057. name: accountName
  14058. type: string
  14059. - description: 市场ID
  14060. in: query
  14061. name: marketID
  14062. type: integer
  14063. - description: 方向 - 0:买 1:卖
  14064. in: query
  14065. name: buyorsell
  14066. required: true
  14067. type: integer
  14068. produces:
  14069. - application/json
  14070. responses:
  14071. "200":
  14072. description: OK
  14073. schema:
  14074. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  14075. "500":
  14076. description: Internal Server Error
  14077. schema:
  14078. $ref: '#/definitions/app.Response'
  14079. security:
  14080. - ApiKeyAuth: []
  14081. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  14082. tags:
  14083. - 通用交易
  14084. /User/AddMessageBoard:
  14085. post:
  14086. parameters:
  14087. - description: 用户ID
  14088. in: query
  14089. name: userID
  14090. required: true
  14091. type: integer
  14092. - description: 留言信息
  14093. in: query
  14094. name: message
  14095. required: true
  14096. type: string
  14097. - description: 联系电话
  14098. in: query
  14099. name: contactNum
  14100. required: true
  14101. type: string
  14102. produces:
  14103. - application/json
  14104. responses:
  14105. "200":
  14106. description: OK
  14107. schema:
  14108. $ref: '#/definitions/app.Response'
  14109. "500":
  14110. description: Internal Server Error
  14111. schema:
  14112. $ref: '#/definitions/app.Response'
  14113. security:
  14114. - ApiKeyAuth: []
  14115. summary: 添加用户留言板信息
  14116. tags:
  14117. - 用户信息
  14118. /User/AddUserFavoriteGoods:
  14119. post:
  14120. parameters:
  14121. - description: 用户ID
  14122. in: query
  14123. name: userID
  14124. required: true
  14125. type: integer
  14126. - description: 商品ID
  14127. in: query
  14128. name: goodsID
  14129. required: true
  14130. type: integer
  14131. produces:
  14132. - application/json
  14133. responses:
  14134. "200":
  14135. description: OK
  14136. schema:
  14137. $ref: '#/definitions/app.Response'
  14138. "500":
  14139. description: Internal Server Error
  14140. schema:
  14141. $ref: '#/definitions/app.Response'
  14142. security:
  14143. - ApiKeyAuth: []
  14144. summary: 添加用户商品收藏信息
  14145. tags:
  14146. - 用户信息
  14147. /User/GetLoginID:
  14148. get:
  14149. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  14150. parameters:
  14151. - description: 登录代码
  14152. in: query
  14153. name: username
  14154. required: true
  14155. type: string
  14156. produces:
  14157. - application/json
  14158. responses:
  14159. "200":
  14160. description: OK
  14161. schema:
  14162. $ref: '#/definitions/app.Response'
  14163. "500":
  14164. description: Internal Server Error
  14165. schema:
  14166. $ref: '#/definitions/app.Response'
  14167. summary: 获取登录ID
  14168. tags:
  14169. - 用户信息
  14170. /User/GetUserAccount:
  14171. get:
  14172. parameters:
  14173. - description: 用户ID
  14174. in: query
  14175. name: userID
  14176. required: true
  14177. type: integer
  14178. produces:
  14179. - application/json
  14180. responses:
  14181. "200":
  14182. description: OK
  14183. schema:
  14184. $ref: '#/definitions/models.Useraccount'
  14185. "500":
  14186. description: Internal Server Error
  14187. schema:
  14188. $ref: '#/definitions/app.Response'
  14189. security:
  14190. - ApiKeyAuth: []
  14191. summary: 获取用户账号信息
  14192. tags:
  14193. - 用户信息
  14194. /User/GetUserAuthStatus:
  14195. get:
  14196. parameters:
  14197. - description: 用户ID
  14198. in: query
  14199. name: userID
  14200. required: true
  14201. type: integer
  14202. produces:
  14203. - application/json
  14204. responses:
  14205. "200":
  14206. description: OK
  14207. schema:
  14208. $ref: '#/definitions/app.Response'
  14209. "500":
  14210. description: Internal Server Error
  14211. schema:
  14212. $ref: '#/definitions/app.Response'
  14213. security:
  14214. - ApiKeyAuth: []
  14215. summary: 获取用户实名认证状态
  14216. tags:
  14217. - 用户信息
  14218. /User/LoginQuery:
  14219. get:
  14220. parameters:
  14221. - description: 登录账号
  14222. in: query
  14223. name: loginID
  14224. required: true
  14225. type: integer
  14226. produces:
  14227. - application/json
  14228. responses:
  14229. "200":
  14230. description: OK
  14231. schema:
  14232. $ref: '#/definitions/user.LoginQueryRsp'
  14233. "500":
  14234. description: Internal Server Error
  14235. schema:
  14236. $ref: '#/definitions/app.Response'
  14237. security:
  14238. - ApiKeyAuth: []
  14239. summary: 账户登录后信息查询
  14240. tags:
  14241. - 用户信息
  14242. /User/QueryMessageBoard:
  14243. get:
  14244. parameters:
  14245. - description: 用户ID
  14246. in: query
  14247. name: userID
  14248. required: true
  14249. type: integer
  14250. produces:
  14251. - application/json
  14252. responses:
  14253. "200":
  14254. description: OK
  14255. schema:
  14256. $ref: '#/definitions/models.Messageboard'
  14257. "500":
  14258. description: Internal Server Error
  14259. schema:
  14260. $ref: '#/definitions/app.Response'
  14261. security:
  14262. - ApiKeyAuth: []
  14263. summary: 获取用户留言板信息
  14264. tags:
  14265. - 用户信息
  14266. /User/QueryUserFavoriteGoodses:
  14267. get:
  14268. parameters:
  14269. - description: 用户ID
  14270. in: query
  14271. name: userID
  14272. required: true
  14273. type: integer
  14274. produces:
  14275. - application/json
  14276. responses:
  14277. "200":
  14278. description: OK
  14279. schema:
  14280. $ref: '#/definitions/models.Userfavoritegoods'
  14281. "500":
  14282. description: Internal Server Error
  14283. schema:
  14284. $ref: '#/definitions/app.Response'
  14285. security:
  14286. - ApiKeyAuth: []
  14287. summary: 获取用户商品收藏信息
  14288. tags:
  14289. - 用户信息
  14290. /User/QueryUserInfo:
  14291. get:
  14292. parameters:
  14293. - description: 用户ID
  14294. in: query
  14295. name: userID
  14296. required: true
  14297. type: integer
  14298. - description: 是否解密
  14299. in: query
  14300. name: isDecrypt
  14301. type: boolean
  14302. produces:
  14303. - application/json
  14304. responses:
  14305. "200":
  14306. description: OK
  14307. schema:
  14308. $ref: '#/definitions/models.Userinfo'
  14309. "500":
  14310. description: Internal Server Error
  14311. schema:
  14312. $ref: '#/definitions/app.Response'
  14313. security:
  14314. - ApiKeyAuth: []
  14315. summary: 获取用户信息
  14316. tags:
  14317. - 用户信息
  14318. /User/QueryUserReferNum:
  14319. get:
  14320. parameters:
  14321. - description: 用户ID
  14322. in: query
  14323. name: userID
  14324. required: true
  14325. type: integer
  14326. produces:
  14327. - application/json
  14328. responses:
  14329. "200":
  14330. description: OK
  14331. schema:
  14332. $ref: '#/definitions/app.Response'
  14333. "500":
  14334. description: Internal Server Error
  14335. schema:
  14336. $ref: '#/definitions/app.Response'
  14337. summary: 获取用户邀请码
  14338. tags:
  14339. - 用户信息
  14340. /User/RemoveUserFavoriteGoods:
  14341. post:
  14342. parameters:
  14343. - description: 用户ID
  14344. in: query
  14345. name: userID
  14346. required: true
  14347. type: integer
  14348. - description: 商品ID
  14349. in: query
  14350. name: goodsID
  14351. required: true
  14352. type: integer
  14353. produces:
  14354. - application/json
  14355. responses:
  14356. "200":
  14357. description: OK
  14358. schema:
  14359. $ref: '#/definitions/app.Response'
  14360. "500":
  14361. description: Internal Server Error
  14362. schema:
  14363. $ref: '#/definitions/app.Response'
  14364. security:
  14365. - ApiKeyAuth: []
  14366. summary: 移除用户商品收藏信息
  14367. tags:
  14368. - 用户信息
  14369. /User/UpdateUserAccountStatus:
  14370. post:
  14371. parameters:
  14372. - description: 用户ID
  14373. in: query
  14374. name: userID
  14375. required: true
  14376. type: integer
  14377. - description: 账户状态 - 4:正常 6:注销(停用)
  14378. in: query
  14379. name: accountStatus
  14380. required: true
  14381. type: integer
  14382. produces:
  14383. - application/json
  14384. responses:
  14385. "200":
  14386. description: OK
  14387. schema:
  14388. $ref: '#/definitions/app.Response'
  14389. "500":
  14390. description: Internal Server Error
  14391. schema:
  14392. $ref: '#/definitions/app.Response'
  14393. security:
  14394. - ApiKeyAuth: []
  14395. summary: 更新用户状态
  14396. tags:
  14397. - 用户信息
  14398. /WR/GetWRCategoryInfo:
  14399. get:
  14400. produces:
  14401. - application/json
  14402. responses:
  14403. "200":
  14404. description: OK
  14405. schema:
  14406. $ref: '#/definitions/models.WRCategoryTree'
  14407. "500":
  14408. description: Internal Server Error
  14409. schema:
  14410. $ref: '#/definitions/app.Response'
  14411. summary: 获取现货分类信息
  14412. tags:
  14413. - 仓单服务
  14414. /WRTrade/GetAllDeliveryGoods:
  14415. get:
  14416. produces:
  14417. - application/json
  14418. - application/json
  14419. responses:
  14420. "200":
  14421. description: OK
  14422. schema:
  14423. $ref: '#/definitions/app.Response'
  14424. "500":
  14425. description: Internal Server Error
  14426. schema:
  14427. $ref: '#/definitions/app.Response'
  14428. security:
  14429. - ApiKeyAuth: []
  14430. - ApiKeyAuth: []
  14431. summary: 获取带仓单分类的种类信息
  14432. tags:
  14433. - 仓单贸易
  14434. - 仓单贸易
  14435. securityDefinitions:
  14436. ApiKeyAuth:
  14437. in: header
  14438. name: Authorization
  14439. type: apiKey
  14440. swagger: "2.0"