swagger.yaml 380 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795
  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. common.QueryTableDefineRsp:
  142. properties:
  143. columns:
  144. description: 列头信息数组
  145. items:
  146. $ref: '#/definitions/models.Tablecolumnconfig'
  147. type: array
  148. remark:
  149. description: Remark
  150. type: string
  151. tabelmenu:
  152. description: 列表菜单
  153. type: string
  154. tablekey:
  155. description: 列表Key
  156. type: string
  157. tablename:
  158. description: 列表名称
  159. type: string
  160. tabletype:
  161. description: 列表类型 - 1:管理端 2:终端
  162. type: integer
  163. required:
  164. - tablekey
  165. type: object
  166. common.QueryTraderMenuRsp:
  167. properties:
  168. OperationMenu:
  169. description: 功能菜单
  170. items:
  171. $ref: '#/definitions/models.OperationPrimaryMenu'
  172. type: array
  173. QuoteMenu:
  174. description: 报价牌分类菜单
  175. items:
  176. $ref: '#/definitions/models.QuotePrimaryMenu'
  177. type: array
  178. type: object
  179. cptrade.Cptradepositioncancel:
  180. properties:
  181. accountid:
  182. description: 申请人账户ID
  183. type: integer
  184. applystatus:
  185. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  186. type: integer
  187. applytime:
  188. description: 申请时间
  189. type: string
  190. cancelid:
  191. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  192. type: integer
  193. cancelqty:
  194. description: 注销数量
  195. type: integer
  196. createtime:
  197. description: 创建时间
  198. type: string
  199. creatorid:
  200. description: 创建人ID
  201. type: integer
  202. creatorname:
  203. description: 创建人
  204. type: string
  205. goodscode:
  206. description: 订单商品代码
  207. type: string
  208. goodsid:
  209. description: 商品ID
  210. type: integer
  211. goodsname:
  212. description: 订单商品名称
  213. type: string
  214. goodunit:
  215. description: 报价单位
  216. type: string
  217. handlestatus:
  218. description: 处理状态
  219. type: integer
  220. marketid:
  221. description: 市场ID
  222. type: integer
  223. marketname:
  224. description: 市场名称
  225. type: string
  226. tradedate:
  227. description: 交易日(yyyyMMdd)
  228. type: string
  229. userid:
  230. description: 申请人ID
  231. type: integer
  232. required:
  233. - cancelid
  234. type: object
  235. cptrade.Cptradepresaleapply:
  236. properties:
  237. accountid:
  238. description: 申请人账户ID
  239. type: integer
  240. applyid:
  241. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  242. type: integer
  243. applyremark:
  244. description: 申请备注
  245. type: string
  246. applystatus:
  247. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  248. type: integer
  249. applytime:
  250. description: 申请时间
  251. type: string
  252. attachmenturl:
  253. description: 附件地址
  254. type: string
  255. endtime:
  256. description: 预售结束时间
  257. type: string
  258. goodscode:
  259. description: 商品代码
  260. type: string
  261. goodsid:
  262. description: 商品ID
  263. type: integer
  264. goodsname:
  265. description: 商品名称
  266. type: string
  267. goodunit:
  268. description: 报价单位
  269. type: string
  270. handlestatus:
  271. description: 处理状态
  272. type: integer
  273. marketid:
  274. description: 预售市场ID
  275. type: integer
  276. marketname:
  277. description: 预售市场名称
  278. type: string
  279. presaleqty:
  280. description: 预售数量
  281. type: integer
  282. relatedgoodscode:
  283. description: 关联交易合约代码
  284. type: string
  285. relatedgoodsid:
  286. description: 关联交易合约ID
  287. type: integer
  288. relatedgoodsname:
  289. description: 关联交易合约名称
  290. type: string
  291. starttime:
  292. description: 预售开始时间
  293. type: string
  294. tradedate:
  295. description: 交易日(yyyyMMdd)
  296. type: string
  297. trademode:
  298. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  299. type: integer
  300. userid:
  301. description: 申请人ID
  302. type: integer
  303. required:
  304. - applyid
  305. type: object
  306. cptrade.Cptradeusergoodsdata:
  307. properties:
  308. EnabledQty:
  309. description: 可用量
  310. type: integer
  311. GoodsCode:
  312. description: 订单商品代码
  313. type: string
  314. GoodsName:
  315. description: 订单商品名称
  316. type: string
  317. WRStandardCode:
  318. description: 仓单标准代码
  319. type: string
  320. WRStandardName:
  321. description: 仓单标准名称
  322. type: string
  323. accountid:
  324. description: 账户ID
  325. type: integer
  326. cancelqty:
  327. description: 注销量
  328. type: integer
  329. curpresaleqty:
  330. description: 当前预售量
  331. type: integer
  332. deliveryqty:
  333. description: 交割量
  334. type: integer
  335. freezeamount:
  336. description: 冻结金额
  337. type: number
  338. goodsid:
  339. description: 商品ID
  340. type: integer
  341. goodunit:
  342. description: 报价单位
  343. type: string
  344. hasspotfreeze:
  345. description: 是否有现货冻结 - 0:否 1:有
  346. type: integer
  347. inqty:
  348. description: 转入量(总数量)
  349. type: integer
  350. marketid:
  351. description: 市场ID
  352. type: integer
  353. presaledamount:
  354. description: 已预售总金额
  355. type: integer
  356. presaledqty:
  357. description: 已预售量
  358. type: integer
  359. userid:
  360. description: 用户ID
  361. type: integer
  362. wrstandardid:
  363. description: 仓单标准ID
  364. type: integer
  365. required:
  366. - accountid
  367. - goodsid
  368. type: object
  369. cptrade.QueryCPTradeMyBidRsp:
  370. properties:
  371. accountid:
  372. description: 账户ID[报价币种]
  373. type: integer
  374. goodsid:
  375. description: 商品ID
  376. type: integer
  377. goodunit:
  378. description: 报价单位
  379. type: string
  380. marketid:
  381. description: 市场ID
  382. type: integer
  383. orderid:
  384. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  385. type: integer
  386. orderprice:
  387. description: 委托价格
  388. type: number
  389. orderqty:
  390. description: 委托数量
  391. type: integer
  392. ordertime:
  393. description: 委托时间
  394. type: string
  395. ordertotalprice:
  396. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  397. type: number
  398. ordertotalweight:
  399. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  400. type: integer
  401. totaltotalprice:
  402. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  403. type: number
  404. tradeprice:
  405. description: 成交价格
  406. type: number
  407. tradeqty:
  408. description: 成交数量
  409. type: integer
  410. required:
  411. - accountid
  412. - goodsid
  413. - marketid
  414. - orderid
  415. - orderqty
  416. - ordertime
  417. - tradeprice
  418. - tradeqty
  419. type: object
  420. cptrade.QueryCPTradeOrderDetailRsq:
  421. properties:
  422. accountid:
  423. description: 账户ID[报价币种]
  424. type: integer
  425. buildtype:
  426. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  427. type: integer
  428. buyorsell:
  429. description: 买卖 - 0:买 1:卖
  430. type: integer
  431. cancelorderid:
  432. description: 撤单单号(撤单时填写)
  433. type: integer
  434. cancelqty:
  435. description: 撤单数量
  436. type: integer
  437. clientordertime:
  438. description: 客户端委托时间
  439. type: string
  440. clientticket:
  441. description: 客户端流水号
  442. type: string
  443. clienttype:
  444. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  445. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  446. type: integer
  447. closeexchagechargevalue:
  448. description: 平仓交易所手续费设置值
  449. type: number
  450. closefeealgorithm:
  451. description: 平仓手续费收取方式 1:比率 2:固定
  452. type: integer
  453. closefreezecharge:
  454. description: 平仓冻结手续费(先建后平操作,需要记录)
  455. type: number
  456. closememberchargevalue:
  457. description: 平仓会员手续费设置值
  458. type: number
  459. closeqty:
  460. description: 平仓数量(先建后平操作 需要记录)
  461. type: integer
  462. closetradeqty:
  463. description: 平仓成交数量(先建后平操作,需要记录)
  464. type: integer
  465. closeunfreezecharge:
  466. description: 平仓解冻手续费(先建后平操作,需要记录)
  467. type: number
  468. delistingtype:
  469. description: 摘牌类型 - 1:价格最优 2:点选成交
  470. type: integer
  471. freezecharge:
  472. description: 冻结手续费
  473. type: number
  474. freezemargin:
  475. description: 冻结保证金(冻结交易金额)
  476. type: number
  477. gcaccountid:
  478. description: 账户ID[合约币种]
  479. type: integer
  480. goodsid:
  481. description: 商品ID
  482. type: integer
  483. isconfirmexercise:
  484. description: 是否确认行权- 0:否 1:是
  485. type: integer
  486. ispreexercise:
  487. description: 是否预申报- 0:否 1:是
  488. type: integer
  489. listingselecttype:
  490. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  491. type: integer
  492. marginalgorithm:
  493. description: 保证金收取方式 1:比率 2:固定
  494. type: integer
  495. marginvalue:
  496. description: 即市保证金设置值
  497. type: number
  498. marketid:
  499. description: 市场ID
  500. type: integer
  501. marketmaxsub:
  502. description: 市价最大偏移范围
  503. type: number
  504. memberuserid:
  505. description: 所属会员UserID
  506. type: integer
  507. openexchagechargevalue:
  508. description: 建仓交易所手续费设置值
  509. type: number
  510. openfeealgorithm:
  511. description: 建仓手续费收取方式 1:比率 2:固定
  512. type: integer
  513. openfreezecharge:
  514. description: 开仓冻结手续费(先建后平操作,需要记录)
  515. type: number
  516. openmemberchargevalue:
  517. description: 建仓会员手续费设置值
  518. type: number
  519. openqty:
  520. description: 开仓数量(先建后平操作,需要记录)
  521. type: integer
  522. opentradeqty:
  523. description: 开仓成交数量(先建后平操作,需要记录)
  524. type: integer
  525. openunfreezecharge:
  526. description: 开仓解冻手续费(先建后平操作,需要记录)
  527. type: number
  528. operatetype:
  529. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  530. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  531. 15:管理端协议转让
  532. type: integer
  533. operatorid:
  534. description: 登录账号(LoginID)
  535. type: integer
  536. optiontype:
  537. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  538. type: integer
  539. orderprice:
  540. description: 委托价格
  541. type: number
  542. orderqty:
  543. description: 委托数量
  544. type: integer
  545. ordersrc:
  546. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  547. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  548. type: integer
  549. orderstatus:
  550. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  551. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  552. 16:成交失败违约(荷兰式竞拍专用)
  553. type: integer
  554. ordertime:
  555. description: 委托时间
  556. type: string
  557. preexerciseprice:
  558. description: 预申报价格
  559. type: number
  560. premium:
  561. description: 权利金
  562. type: number
  563. preorderid:
  564. description: 关联预埋单号(止盈止损单时填写)
  565. type: integer
  566. pricemode:
  567. description: '取价方式 - 1:市价 2: 限价'
  568. type: integer
  569. quoteid:
  570. description: 报价单ID
  571. type: integer
  572. relatedid:
  573. description: 关联单号(交割单)
  574. type: integer
  575. retcode:
  576. description: 错误代码
  577. type: integer
  578. sessionid:
  579. description: 会话ID
  580. type: integer
  581. strorderid:
  582. description: 委托单号
  583. type: string
  584. tradedate:
  585. description: 交易日(yyyyMMdd)
  586. type: string
  587. tradeproperty:
  588. description: 交易属性
  589. type: integer
  590. tradeqty:
  591. description: 成交数量
  592. type: integer
  593. unfreezecharge:
  594. description: 解冻手续费
  595. type: number
  596. unfreezemargin:
  597. description: 解冻保证金
  598. type: number
  599. updatetime:
  600. description: 更新时间
  601. type: string
  602. uuid:
  603. description: 发起端唯一id
  604. type: string
  605. validtime:
  606. description: 有效期限
  607. type: string
  608. validtype:
  609. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  610. type: integer
  611. volumetype:
  612. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  613. type: integer
  614. required:
  615. - accountid
  616. - buildtype
  617. - buyorsell
  618. - goodsid
  619. - marketid
  620. - memberuserid
  621. - operatetype
  622. - orderqty
  623. - ordertime
  624. - pricemode
  625. - strorderid
  626. - tradedate
  627. - validtype
  628. type: object
  629. cptrade.QueryMyCPTradeGoodsRsp:
  630. properties:
  631. accountid:
  632. description: 卖方账户ID
  633. type: integer
  634. agreeunit:
  635. description: 合约单位
  636. type: number
  637. applyid:
  638. description: 关联申请ID
  639. type: integer
  640. attachmenturl:
  641. description: 附件地址
  642. type: string
  643. createtime:
  644. description: 创建时间
  645. type: string
  646. currencyid:
  647. description: 报价货币ID
  648. type: integer
  649. decimalplace:
  650. description: 报价小数位
  651. type: integer
  652. endtime:
  653. description: 预售结束时间
  654. type: string
  655. floorprice:
  656. description: 底价[大宗式竞拍]
  657. type: number
  658. goodscode:
  659. description: 商品代码(预售)
  660. type: string
  661. goodsdetail:
  662. description: 详情[大宗]
  663. type: string
  664. goodsid:
  665. description: 商品ID(自增ID SEQ_GOODS)
  666. type: integer
  667. goodsname:
  668. description: 商品名称(预售)
  669. type: string
  670. goodunit:
  671. description: 报价单位
  672. type: string
  673. goodunitid:
  674. description: 报价单位ID
  675. type: integer
  676. marketid:
  677. description: 所属市场ID
  678. type: integer
  679. marketname:
  680. description: 预售市场名称
  681. type: string
  682. presaledamount:
  683. description: 已预售总金额(预售结束时更新)
  684. type: number
  685. presaledqty:
  686. description: 已预售量(预售结束时更新)
  687. type: integer
  688. presalemode:
  689. description: 预售模式 - 1:一口价 2:大宗式竞拍
  690. type: integer
  691. presaleqty:
  692. description: 预售数量
  693. type: integer
  694. refprice:
  695. description: 参考价格[一口价]
  696. type: number
  697. relatedgoodscode:
  698. description: 商品代码(订单)
  699. type: string
  700. relatedgoodsid:
  701. description: 关联交易合约ID
  702. type: integer
  703. relatedgoodsname:
  704. description: 商品名称(订单)
  705. type: string
  706. relatedmarketid:
  707. description: 关联交易合约市场ID
  708. type: integer
  709. sellstatus:
  710. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  711. type: integer
  712. startprice:
  713. description: 起拍价[大宗式竞拍]
  714. type: number
  715. starttime:
  716. description: 预售开始时间
  717. type: string
  718. tradedate:
  719. description: 交易日(yyyyMMdd)
  720. type: string
  721. tradeprice:
  722. description: 成交价[大宗]
  723. type: number
  724. userid:
  725. description: 卖方用户ID
  726. type: integer
  727. required:
  728. - goodscode
  729. - goodsid
  730. - goodsname
  731. - marketid
  732. - relatedgoodscode
  733. - relatedgoodsname
  734. type: object
  735. cptrade.QueryPresaleGoodsExRsp:
  736. properties:
  737. attachmenturl:
  738. description: 附件地址
  739. type: string
  740. createtime:
  741. description: 创建时间
  742. type: string
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodsdetail:
  750. description: 详情[大宗]
  751. type: string
  752. goodsid:
  753. description: 商品ID(预售)
  754. type: integer
  755. goodunit:
  756. description: 报价单位
  757. type: string
  758. marketid:
  759. description: 预售市场ID - 根据预售模式选择市场
  760. type: integer
  761. presaledamount:
  762. description: 已预售总金额(预售结束时更新)
  763. type: number
  764. presaledqty:
  765. description: 已预售量(预售结束时更新)
  766. type: integer
  767. presalemode:
  768. description: 预售模式 - 1:一口价 2:大宗式竞拍
  769. type: integer
  770. presaleqty:
  771. description: 预售数量
  772. type: integer
  773. refprice:
  774. description: 参考价格[一口价]
  775. type: number
  776. relatedgoodsid:
  777. description: 关联交易合约ID
  778. type: integer
  779. relatedmarketid:
  780. description: 关联交易合约市场ID
  781. type: integer
  782. sellstatus:
  783. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  784. type: integer
  785. startprice:
  786. description: 起拍价[大宗式竞拍]
  787. type: number
  788. starttime:
  789. description: 预售开始时间
  790. type: string
  791. tradedate:
  792. description: 交易日(yyyyMMdd)
  793. type: string
  794. tradeprice:
  795. description: 成交价[大宗]
  796. type: number
  797. required:
  798. - goodsid
  799. type: object
  800. delivery.QueryDeliveryRelationRsp:
  801. properties:
  802. begindate:
  803. description: 起始日期(yyyyMMdd)
  804. type: string
  805. buytemplateid:
  806. description: 买履约计划模板ID
  807. type: integer
  808. deliverygoodscode:
  809. description: 品种代码
  810. type: string
  811. deliverygoodsid:
  812. description: 交割商品
  813. type: integer
  814. deliverygoodsname:
  815. description: 品种名称
  816. type: string
  817. deliverymode:
  818. description: 交割方式 - 1:点选式 2:申报式
  819. type: integer
  820. deliverypricerule:
  821. description: 交割价规则- 1:行情价 2:建仓价
  822. type: integer
  823. deliverytype:
  824. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  825. type: integer
  826. enddate:
  827. description: 结束日期(yyyyMMdd)
  828. type: string
  829. goodscode:
  830. description: 商品代码
  831. type: string
  832. goodsid:
  833. description: 交易合约ID
  834. type: integer
  835. goodsname:
  836. description: 商品名称
  837. type: string
  838. marketid:
  839. description: 市场ID
  840. type: integer
  841. mindeliveryqty:
  842. description: 最小交割系数(K)
  843. type: integer
  844. p2deliveryprice:
  845. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  846. type: number
  847. p2deliveryratio:
  848. description: P2合约系数(p)
  849. type: integer
  850. p2goodsid:
  851. description: P2合约ID
  852. type: integer
  853. p2pricemode:
  854. description: P2合约价格方式 - 1:商品价 2:固定值
  855. type: integer
  856. pdeliveryprice:
  857. description: P合约价格(商品价时填写0,固定值时填写固定值)
  858. type: number
  859. pdeliveryratio:
  860. description: P合约系数(n)
  861. type: integer
  862. pgoodsid:
  863. description: P合约ID
  864. type: integer
  865. ppricemode:
  866. description: P合约价格方式 - 1:商品价 2:固定值
  867. type: integer
  868. rratio:
  869. description: 兑换系数(R)
  870. type: integer
  871. rratio1:
  872. description: 兑换系数(交易合约)(R1)
  873. type: integer
  874. rratio2:
  875. description: 兑换系数(仓单标准)(R2)
  876. type: integer
  877. selltemplateid:
  878. description: 卖履约计划模板ID
  879. type: integer
  880. wrstandardid:
  881. description: 仓单标准ID
  882. type: integer
  883. xdeliveryratio:
  884. description: 交易合约系数(m)
  885. type: integer
  886. required:
  887. - begindate
  888. - enddate
  889. - goodsid
  890. - mindeliveryqty
  891. - xdeliveryratio
  892. type: object
  893. ermcp.ExposureDetailRsp:
  894. properties:
  895. areauserid:
  896. description: 机构ID
  897. type: integer
  898. changeQty:
  899. description: 套保变动量
  900. type: number
  901. contracttype:
  902. description: 现货合同类型 - 1:采购 -1:销售
  903. type: integer
  904. convertfactor:
  905. description: 标仓系数
  906. type: number
  907. convertratio:
  908. description: 套保系数
  909. type: number
  910. createtime:
  911. description: 时间
  912. type: string
  913. enumdicname:
  914. description: 现货商品单位名称
  915. type: string
  916. logtype:
  917. description: 类型 - 1:套保计划 2:现货合同
  918. type: integer
  919. middlegoodsId:
  920. description: 套保商品id
  921. type: integer
  922. middlegoodscode:
  923. description: 套保商品代码
  924. type: string
  925. middlegoodsname:
  926. description: 套保商品名称
  927. type: string
  928. qty:
  929. description: 数量
  930. type: number
  931. relateNo:
  932. description: 现货合同/套保计划编号
  933. type: string
  934. wrstandardcode:
  935. description: 现货商品代码
  936. type: string
  937. wrstandardid:
  938. description: 现货商品ID
  939. type: integer
  940. wrstandardname:
  941. description: 现货商品名称
  942. type: string
  943. type: object
  944. ermcp.ExposureHedgePosDetailRsp:
  945. properties:
  946. buyorsell:
  947. description: 买卖方向 0-买 1-卖
  948. type: integer
  949. channelbuildtype:
  950. description: 开平方向 1-建仓 2-平仓
  951. type: integer
  952. goodscode:
  953. description: 商品代码
  954. type: string
  955. goodsname:
  956. description: 商品名称
  957. type: string
  958. hedgegoodsid:
  959. description: 商品id
  960. type: integer
  961. tradeqty:
  962. description: 数量(成交数量)
  963. type: integer
  964. tradetime:
  965. description: 时间(成交时间)
  966. type: string
  967. type: object
  968. ermcp.ExposureHedgePositionRsp:
  969. properties:
  970. accountid:
  971. description: 资金账号[外部母账户]
  972. type: integer
  973. curbuyposition:
  974. description: 期末买头寸
  975. type: integer
  976. cursellposition:
  977. description: 期末卖头寸
  978. type: integer
  979. curtdbuyposition:
  980. description: 期末今日买头寸
  981. type: integer
  982. curtdsellposition:
  983. description: 期末今日卖头寸
  984. type: integer
  985. curydbuyposition:
  986. description: 期末上日买头寸
  987. type: integer
  988. curydsellposition:
  989. description: 期末上日卖头寸
  990. type: integer
  991. decreaseqty:
  992. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  993. type: integer
  994. fretdbuyposition:
  995. description: 冻结今日买头寸
  996. type: integer
  997. fretdsellposition:
  998. description: 冻结今日卖头寸
  999. type: integer
  1000. freydbuyposition:
  1001. description: 冻结上日买头寸
  1002. type: integer
  1003. freydsellposition:
  1004. description: 冻结上日卖头寸
  1005. type: integer
  1006. goodscode:
  1007. description: 商品代码
  1008. type: string
  1009. goodsid:
  1010. description: 商品id
  1011. type: integer
  1012. goodsname:
  1013. description: 商品名称
  1014. type: string
  1015. hedgeaccountcode:
  1016. description: 对冲账号
  1017. type: string
  1018. hedgegoodsid:
  1019. description: 对冲合约ID
  1020. type: integer
  1021. increaseqty:
  1022. description: 增加数量 = 期末买头寸 - 期初买头寸
  1023. type: integer
  1024. marketid:
  1025. description: 市场ID
  1026. type: integer
  1027. relateduserid:
  1028. description: 关联用户id
  1029. type: integer
  1030. totalcurqty:
  1031. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1032. type: integer
  1033. totalydqty:
  1034. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1035. type: integer
  1036. tradedate:
  1037. description: 交易日(yyyyMMdd)
  1038. type: string
  1039. ydbuyposition:
  1040. description: 期初买头寸
  1041. type: integer
  1042. ydsellposition:
  1043. description: 期初卖头寸
  1044. type: integer
  1045. type: object
  1046. ermcp.ExposureSpotDetailRsp:
  1047. properties:
  1048. contracttype:
  1049. description: 合同类型 1-采购 -1-销售
  1050. type: integer
  1051. createtime:
  1052. description: 创建时间
  1053. type: string
  1054. enumdicname:
  1055. description: 现货商品单位名称
  1056. type: string
  1057. logtype:
  1058. description: 记录类型 1-套保 2-现货合同
  1059. type: integer
  1060. qty:
  1061. description: 数量
  1062. type: number
  1063. recordname:
  1064. description: 类型名称
  1065. type: string
  1066. relatedid:
  1067. description: 套保计划ID/现货合同ID
  1068. type: string
  1069. relatedno:
  1070. description: 编号
  1071. type: string
  1072. strtime:
  1073. description: 时间
  1074. type: string
  1075. wrstandardcode:
  1076. description: 现货商品代码
  1077. type: string
  1078. wrstandardname:
  1079. description: 现货商品名称
  1080. type: string
  1081. type: object
  1082. ermcp.ExposureSpotRsp:
  1083. properties:
  1084. areauserid:
  1085. description: 所属机构
  1086. type: integer
  1087. decreaseqty:
  1088. description: 减少数量=-(销售已定价数量+采购计划数量)
  1089. type: number
  1090. increaseqty:
  1091. description: 增加数量=销售计划数量+采购已定价数量
  1092. type: number
  1093. oritoalspotqty:
  1094. description: 昨日数量
  1095. type: number
  1096. totalspotqty:
  1097. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1098. type: number
  1099. updatetime:
  1100. description: 更新时间
  1101. type: string
  1102. wrstandardcode:
  1103. description: 现货品种代码
  1104. type: string
  1105. wrstandardid:
  1106. description: 现货商品ID
  1107. type: integer
  1108. wrstandardname:
  1109. description: 现货品种
  1110. type: string
  1111. type: object
  1112. ermcp.HisExposureRsp:
  1113. properties:
  1114. data:
  1115. description: 历史敞口
  1116. items:
  1117. $ref: '#/definitions/models.ErmcpHisExposure'
  1118. type: array
  1119. enumdicname:
  1120. description: 单位名称
  1121. type: string
  1122. middlegoodscode:
  1123. description: 套保品种代码
  1124. type: string
  1125. middlegoodsid:
  1126. description: 套保品种ID
  1127. type: integer
  1128. middlegoodsname:
  1129. description: 套保品种名称
  1130. type: string
  1131. type: object
  1132. ermcp.PendingAuditCntRsp:
  1133. properties:
  1134. businessdjqty:
  1135. description: '待审核数量: 点价'
  1136. type: integer
  1137. businessfpqty:
  1138. description: '待审核数量: 发票'
  1139. type: integer
  1140. businessjsqty:
  1141. description: '待审核数量: 结算'
  1142. type: integer
  1143. businesskxqty:
  1144. description: '待审核数量: 款项'
  1145. type: integer
  1146. hedgeplanqty:
  1147. description: '待审核数量: 套保计划'
  1148. type: integer
  1149. spotcontractqty:
  1150. description: '待审核数量: 现货合同'
  1151. type: integer
  1152. userqty:
  1153. description: '待审核数量: 用户'
  1154. type: integer
  1155. type: object
  1156. ermcp.QryAreaStockApplyRsp:
  1157. properties:
  1158. applyid:
  1159. description: 申请人
  1160. type: integer
  1161. applyname:
  1162. description: 申请人名称
  1163. type: string
  1164. applyremark:
  1165. description: 申请备注
  1166. type: string
  1167. applysrc:
  1168. description: 申请来源 - 1:管理端 2:终端
  1169. type: integer
  1170. applystatus:
  1171. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1172. type: integer
  1173. applytime:
  1174. description: 申请时间
  1175. type: string
  1176. auditid:
  1177. description: 审核人
  1178. type: integer
  1179. auditname:
  1180. description: 审核人名称
  1181. type: string
  1182. auditremark:
  1183. description: 审核备注
  1184. type: string
  1185. auditsrc:
  1186. description: 审核来源 - 1:管理端 2:终端
  1187. type: integer
  1188. audittime:
  1189. description: 审核时间
  1190. type: string
  1191. audittradedate:
  1192. description: 审核交易日(yyyyMMdd)
  1193. type: string
  1194. brandname:
  1195. description: 品牌名称
  1196. type: string
  1197. buyuserid:
  1198. description: 采购方userid
  1199. type: integer
  1200. buyusername:
  1201. description: 采购方名称
  1202. type: string
  1203. contractno:
  1204. description: 合同编号
  1205. type: string
  1206. contractqty:
  1207. description: 合同量
  1208. type: number
  1209. contracttype:
  1210. description: 现货合同类型 - 1:采购 -1:销售
  1211. type: integer
  1212. deliverygoodsid:
  1213. description: 现货品种ID
  1214. type: integer
  1215. enumdicname:
  1216. description: 现货商品单位名称
  1217. type: string
  1218. inoutapplyid:
  1219. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1220. type: string
  1221. inouttype:
  1222. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1223. type: integer
  1224. modelname:
  1225. description: 型号名称
  1226. type: string
  1227. pricetype:
  1228. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1229. type: integer
  1230. qty:
  1231. description: 数量
  1232. type: number
  1233. selluserid:
  1234. description: 销售方userid
  1235. type: integer
  1236. sellusername:
  1237. description: 销售方名称
  1238. type: string
  1239. spotcontractid:
  1240. description: 关联现货合同ID
  1241. type: string
  1242. spotgoodsbrandid:
  1243. description: 现货品牌ID
  1244. type: integer
  1245. spotgoodsmodelid:
  1246. description: 现货型号ID
  1247. type: integer
  1248. unitid:
  1249. description: 单位id
  1250. type: integer
  1251. userid:
  1252. description: 机构ID
  1253. type: string
  1254. warehousecode:
  1255. description: 仓库代码
  1256. type: string
  1257. warehouseinfoid:
  1258. description: 现货仓库ID
  1259. type: string
  1260. warehousename:
  1261. description: 仓库名称
  1262. type: string
  1263. warehousetype:
  1264. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1265. type: integer
  1266. wrstandardcode:
  1267. description: 现货商品代码
  1268. type: string
  1269. wrstandardid:
  1270. description: 现货商品ID
  1271. type: string
  1272. wrstandardname:
  1273. description: 现货商品名称
  1274. type: string
  1275. type: object
  1276. ermcp.QryAvalidGPRsp:
  1277. properties:
  1278. goodsgroupid:
  1279. description: 期货品种id
  1280. type: integer
  1281. goodsgroupname:
  1282. description: 期货品种名称
  1283. type: string
  1284. goodunitid:
  1285. description: 品种单位id
  1286. type: integer
  1287. goodunitname:
  1288. description: 品种单位名称
  1289. type: string
  1290. outergroupcode:
  1291. description: 期货品种代码
  1292. type: string
  1293. type: object
  1294. ermcp.QryBusinessDjRsp:
  1295. properties:
  1296. amount:
  1297. description: 点价金额=(点价价格+升贴水)*点价数量
  1298. type: number
  1299. applyid:
  1300. description: 申请人
  1301. type: string
  1302. applyname:
  1303. description: 申请人名称
  1304. type: string
  1305. applystatus:
  1306. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1307. type: integer
  1308. applytime:
  1309. description: 申请时间
  1310. type: string
  1311. attachurl:
  1312. description: 附件
  1313. type: string
  1314. auditname:
  1315. description: 审核人名称
  1316. type: string
  1317. audittime:
  1318. description: 审核时间
  1319. type: string
  1320. buyusername:
  1321. description: 采购方名称
  1322. type: string
  1323. contractno:
  1324. description: 合同编号
  1325. type: string
  1326. contractstatus:
  1327. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1328. type: integer
  1329. contracttype:
  1330. description: 现货合同类型 - 1:采购 -1:销售
  1331. type: integer
  1332. enumdicname:
  1333. description: 单位名称
  1334. type: string
  1335. goodscode:
  1336. description: 点价合约
  1337. type: string
  1338. goodsname:
  1339. description: 商品名称
  1340. type: string
  1341. operateapplyid:
  1342. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1343. type: string
  1344. operateapplytype:
  1345. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1346. type: integer
  1347. pricedPrice:
  1348. description: 点价价格(非必填)
  1349. type: number
  1350. pricedQty:
  1351. description: 点价数量(非必填)
  1352. type: number
  1353. pricemove:
  1354. description: 升贴水
  1355. type: number
  1356. pricetype:
  1357. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1358. type: integer
  1359. relatedid:
  1360. description: 现货合同ID
  1361. type: string
  1362. sellusername:
  1363. description: 销售方名字
  1364. type: string
  1365. userid:
  1366. description: 用户ID
  1367. type: integer
  1368. wrstandardcode:
  1369. description: 现货商品代码
  1370. type: string
  1371. wrstandardid:
  1372. description: 现货商品id
  1373. type: integer
  1374. wrstandardname:
  1375. description: 现货商品名称
  1376. type: string
  1377. type: object
  1378. ermcp.QryBussinessFpRsp:
  1379. properties:
  1380. applyid:
  1381. description: 申请人
  1382. type: string
  1383. applyname:
  1384. description: 申请人名称
  1385. type: string
  1386. applystatus:
  1387. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1388. type: integer
  1389. applytime:
  1390. description: 申请时间
  1391. type: string
  1392. attachurl:
  1393. description: 附件
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. audittime:
  1399. description: 审核时间
  1400. type: string
  1401. buyusername:
  1402. description: 采购方名称
  1403. type: string
  1404. contractno:
  1405. description: 合同编号
  1406. type: string
  1407. contractstatus:
  1408. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1409. type: integer
  1410. contracttype:
  1411. description: 现货合同类型 - 1:采购 -1:销售
  1412. type: integer
  1413. enumdicname:
  1414. description: 单位名称
  1415. type: string
  1416. goodscode:
  1417. description: 点价合约
  1418. type: string
  1419. goodsname:
  1420. description: 商品名称
  1421. type: string
  1422. invoiceAmount:
  1423. description: 已开收票金额(销售为开票,采购为收票)
  1424. type: number
  1425. operateapplyid:
  1426. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1427. type: string
  1428. operateapplytype:
  1429. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1430. type: integer
  1431. pricemove:
  1432. description: 升贴水
  1433. type: number
  1434. pricetype:
  1435. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1436. type: integer
  1437. relatedid:
  1438. description: 现货合同ID
  1439. type: string
  1440. sellusername:
  1441. description: 销售方名字
  1442. type: string
  1443. userid:
  1444. description: 用户ID
  1445. type: integer
  1446. wrstandardcode:
  1447. description: 现货商品代码
  1448. type: string
  1449. wrstandardid:
  1450. description: 现货商品id
  1451. type: integer
  1452. wrstandardname:
  1453. description: 现货商品名称
  1454. type: string
  1455. type: object
  1456. ermcp.QryBussinessJsExRsp:
  1457. properties:
  1458. applyid:
  1459. description: 申请人
  1460. type: string
  1461. applyname:
  1462. description: 申请人名称
  1463. type: string
  1464. applystatus:
  1465. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1466. type: integer
  1467. applytime:
  1468. description: 申请时间
  1469. type: string
  1470. attachurl:
  1471. description: 附件
  1472. type: string
  1473. auditname:
  1474. description: 审核人名称
  1475. type: string
  1476. audittime:
  1477. description: 审核时间
  1478. type: string
  1479. buyusername:
  1480. description: 采购方名称
  1481. type: string
  1482. contractno:
  1483. description: 合同编号
  1484. type: string
  1485. contractstatus:
  1486. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1487. type: integer
  1488. contracttype:
  1489. description: 现货合同类型 - 1:采购 -1:销售
  1490. type: integer
  1491. enumdicname:
  1492. description: 单位名称
  1493. type: string
  1494. goodscode:
  1495. description: 点价合约
  1496. type: string
  1497. goodsname:
  1498. description: 商品名称
  1499. type: string
  1500. operateapplyid:
  1501. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1502. type: string
  1503. operateapplytype:
  1504. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1505. type: integer
  1506. pricemove:
  1507. description: 升贴水
  1508. type: number
  1509. pricetype:
  1510. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1511. type: integer
  1512. reckontype:
  1513. description: 结算类型
  1514. type: string
  1515. reckonvalue:
  1516. description: 值
  1517. type: number
  1518. relatedid:
  1519. description: 现货合同ID
  1520. type: string
  1521. sellusername:
  1522. description: 销售方名字
  1523. type: string
  1524. userid:
  1525. description: 用户ID
  1526. type: integer
  1527. wrstandardcode:
  1528. description: 现货商品代码
  1529. type: string
  1530. wrstandardid:
  1531. description: 现货商品id
  1532. type: integer
  1533. wrstandardname:
  1534. description: 现货商品名称
  1535. type: string
  1536. type: object
  1537. ermcp.QryBussinessJsRsp:
  1538. properties:
  1539. addmargin:
  1540. description: 追加保证金(非必填)
  1541. type: number
  1542. applyid:
  1543. description: 申请人
  1544. type: string
  1545. applyname:
  1546. description: 申请人名称
  1547. type: string
  1548. applystatus:
  1549. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1550. type: integer
  1551. applytime:
  1552. description: 申请时间
  1553. type: string
  1554. attachurl:
  1555. description: 附件
  1556. type: string
  1557. auditname:
  1558. description: 审核人名称
  1559. type: string
  1560. audittime:
  1561. description: 审核时间
  1562. type: string
  1563. buyusername:
  1564. description: 采购方名称
  1565. type: string
  1566. contractno:
  1567. description: 合同编号
  1568. type: string
  1569. contractstatus:
  1570. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1571. type: integer
  1572. contracttype:
  1573. description: 现货合同类型 - 1:采购 -1:销售
  1574. type: integer
  1575. decmargin:
  1576. description: 减少保证金(非必填)
  1577. type: number
  1578. enumdicname:
  1579. description: 单位名称
  1580. type: string
  1581. goodscode:
  1582. description: 点价合约
  1583. type: string
  1584. goodsname:
  1585. description: 商品名称
  1586. type: string
  1587. operateapplyid:
  1588. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1589. type: string
  1590. operateapplytype:
  1591. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1592. type: integer
  1593. pricemove:
  1594. description: 升贴水
  1595. type: number
  1596. pricetype:
  1597. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1598. type: integer
  1599. reckonadjustamount:
  1600. description: 结算调整金额(非必填)
  1601. type: number
  1602. reckonosamount:
  1603. description: 结算溢短金额(非必填)
  1604. type: number
  1605. reckonotheramount:
  1606. description: 结算其他费用(非必填)
  1607. type: number
  1608. reckonrealqty:
  1609. description: 结算实际数量(非必填)
  1610. type: number
  1611. relatedid:
  1612. description: 现货合同ID
  1613. type: string
  1614. sellusername:
  1615. description: 销售方名字
  1616. type: string
  1617. userid:
  1618. description: 用户ID
  1619. type: integer
  1620. wrstandardcode:
  1621. description: 现货商品代码
  1622. type: string
  1623. wrstandardid:
  1624. description: 现货商品id
  1625. type: integer
  1626. wrstandardname:
  1627. description: 现货商品名称
  1628. type: string
  1629. type: object
  1630. ermcp.QryBussinessKxRsp:
  1631. properties:
  1632. applyid:
  1633. description: 申请人
  1634. type: string
  1635. applyname:
  1636. description: 申请人名称
  1637. type: string
  1638. applystatus:
  1639. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1640. type: integer
  1641. applytime:
  1642. description: 申请时间
  1643. type: string
  1644. attachurl:
  1645. description: 附件
  1646. type: string
  1647. auditname:
  1648. description: 审核人名称
  1649. type: string
  1650. audittime:
  1651. description: 审核时间
  1652. type: string
  1653. buyusername:
  1654. description: 采购方名称
  1655. type: string
  1656. contractno:
  1657. description: 合同编号
  1658. type: string
  1659. contractstatus:
  1660. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1661. type: integer
  1662. contracttype:
  1663. description: 现货合同类型 - 1:采购 -1:销售
  1664. type: integer
  1665. deductamount:
  1666. description: 退款(非必填)
  1667. type: number
  1668. enumdicname:
  1669. description: 单位名称
  1670. type: string
  1671. goodscode:
  1672. description: 点价合约
  1673. type: string
  1674. goodsname:
  1675. description: 商品名称
  1676. type: string
  1677. kxtype:
  1678. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1679. type: integer
  1680. operateapplyid:
  1681. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1682. type: string
  1683. operateapplytype:
  1684. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1685. type: integer
  1686. payamount:
  1687. description: 收付款(非必填)
  1688. type: number
  1689. pricemove:
  1690. description: 升贴水
  1691. type: number
  1692. pricetype:
  1693. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1694. type: integer
  1695. relatedid:
  1696. description: 现货合同ID
  1697. type: string
  1698. sellusername:
  1699. description: 销售方名字
  1700. type: string
  1701. userid:
  1702. description: 用户ID
  1703. type: integer
  1704. wrstandardcode:
  1705. description: 现货商品代码
  1706. type: string
  1707. wrstandardid:
  1708. description: 现货商品id
  1709. type: integer
  1710. wrstandardname:
  1711. description: 现货商品名称
  1712. type: string
  1713. type: object
  1714. ermcp.QryErmcpRsp:
  1715. properties:
  1716. accountname:
  1717. description: 账户名称
  1718. type: string
  1719. attachment:
  1720. description: 附件
  1721. type: string
  1722. audittime:
  1723. description: 审核时间
  1724. type: string
  1725. contracctstatus:
  1726. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1727. type: integer
  1728. contractmargin:
  1729. description: 合同保证金
  1730. type: number
  1731. contractno:
  1732. description: 合同编号
  1733. type: string
  1734. contracttype:
  1735. description: 合同类型 1-采购, -1-销售
  1736. type: integer
  1737. convertfactor:
  1738. description: 标仓系数
  1739. type: number
  1740. createtime:
  1741. description: 创建时间
  1742. type: string
  1743. daikaiamount:
  1744. description: 待开票额
  1745. type: number
  1746. deliveryenddate:
  1747. description: 交割结束日
  1748. type: string
  1749. deliverygoodscode:
  1750. description: 现货商品代码
  1751. type: string
  1752. deliverygoodsid:
  1753. description: 现货商品ID
  1754. type: integer
  1755. deliverygoodsname:
  1756. description: 现货商品名称
  1757. type: string
  1758. deliverystartdate:
  1759. description: 交割开始日
  1760. type: string
  1761. enddate:
  1762. description: 点价结束日
  1763. type: string
  1764. enumdicname:
  1765. description: 单位名称
  1766. type: string
  1767. goodscode:
  1768. description: 点价商品代码
  1769. type: string
  1770. goodsid:
  1771. description: 点价商品ID
  1772. type: integer
  1773. goodsname:
  1774. description: 点价商品名称
  1775. type: string
  1776. invoiceamount:
  1777. description: 已开票额
  1778. type: number
  1779. loanamount:
  1780. description: 贷款总额=已定价额+调整金额
  1781. type: number
  1782. margin:
  1783. description: 保证金
  1784. type: number
  1785. payamount:
  1786. description: 已收付额(收款或付款)
  1787. type: number
  1788. price:
  1789. description: 价格
  1790. type: number
  1791. pricedamount:
  1792. description: 已定价额
  1793. type: number
  1794. pricedavg:
  1795. description: 已点均价
  1796. type: number
  1797. pricedqty:
  1798. description: 已定价量
  1799. type: number
  1800. pricemove:
  1801. description: 升贴水
  1802. type: number
  1803. pricetype:
  1804. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1805. type: integer
  1806. producttype:
  1807. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1808. type: integer
  1809. qty:
  1810. description: 合同量
  1811. type: number
  1812. reckonadjustamount:
  1813. description: 调整金额
  1814. type: number
  1815. reckonedamount:
  1816. description: 已收付额(已确定额)
  1817. type: number
  1818. reckonotheramount:
  1819. description: 其它费用
  1820. type: number
  1821. reckonrealqty:
  1822. description: 已确定量
  1823. type: number
  1824. remark:
  1825. description: 备注
  1826. type: string
  1827. spotcontractid:
  1828. description: 合同ID
  1829. type: string
  1830. spotgoodsdesc:
  1831. description: 商品型号(商品规格)
  1832. type: string
  1833. startdate:
  1834. description: 点价开始日
  1835. type: string
  1836. totalamount:
  1837. description: 合计总额
  1838. type: number
  1839. unpayamount:
  1840. description: 待支收额(支付或收款)
  1841. type: number
  1842. unpricedqty:
  1843. description: 未定价量
  1844. type: number
  1845. unsureqty:
  1846. description: 未确定量
  1847. type: number
  1848. userid:
  1849. description: 用户ID
  1850. type: integer
  1851. type: object
  1852. ermcp.QryGGCovertCfgRsp:
  1853. properties:
  1854. convertratio:
  1855. description: 折算系数
  1856. type: number
  1857. destgoodsgroupid:
  1858. description: 目标品种ID
  1859. type: integer
  1860. dstcode:
  1861. description: 目录品种代码
  1862. type: string
  1863. dstexchangecode:
  1864. description: 目标期货交易所
  1865. type: string
  1866. dstname:
  1867. description: 目标品种名称
  1868. type: string
  1869. dstunitid:
  1870. description: 目标品种单位ID
  1871. type: integer
  1872. dstunitidname:
  1873. description: 目标品种单位名称
  1874. type: string
  1875. modifytime:
  1876. description: 修改时间
  1877. type: string
  1878. srccode:
  1879. description: 源品种代码
  1880. type: string
  1881. srcexchangecode:
  1882. description: 源期货交易所
  1883. type: string
  1884. srcgoodsgroupid:
  1885. description: 源品种ID
  1886. type: integer
  1887. srcname:
  1888. description: 源品种名称
  1889. type: string
  1890. srcunitid:
  1891. description: 源品种单位ID
  1892. type: integer
  1893. srcunitidname:
  1894. description: 源品种单位名称
  1895. type: string
  1896. type: object
  1897. ermcp.QryHedgePlanRsp:
  1898. properties:
  1899. areauserid:
  1900. description: 用户ID
  1901. type: integer
  1902. audittime:
  1903. description: 审核时间
  1904. type: string
  1905. contracttype:
  1906. description: 计划类型 - 1:采购 -1:销售
  1907. type: integer
  1908. convertfactor:
  1909. description: 标仓系数
  1910. type: number
  1911. createtime:
  1912. description: 创建时间
  1913. type: string
  1914. deliverygoodsid:
  1915. description: 现货品种ID
  1916. type: integer
  1917. deliverygoodsname:
  1918. description: 现货品种名称
  1919. type: string
  1920. enumdicname:
  1921. description: 单位名称
  1922. type: string
  1923. hedgeplanid:
  1924. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1925. type: string
  1926. hedgeplanno:
  1927. description: 套保计划编号(名称)
  1928. type: string
  1929. hedgeplanstatus:
  1930. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1931. type: integer
  1932. planqty:
  1933. description: 计划数量
  1934. type: number
  1935. plantime:
  1936. description: 计划时间
  1937. type: string
  1938. producttype:
  1939. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1940. type: integer
  1941. remark:
  1942. description: 备注
  1943. type: string
  1944. spotgoodsdesc:
  1945. description: 商品型号
  1946. type: string
  1947. unitid:
  1948. description: 单位id
  1949. type: integer
  1950. updatetime:
  1951. description: 更新时间
  1952. type: string
  1953. wrstandardid:
  1954. description: 现货商品ID
  1955. type: integer
  1956. wrstandardname:
  1957. description: 现货商品名称
  1958. type: string
  1959. type: object
  1960. ermcp.QryMGChangeLogRsp:
  1961. properties:
  1962. aftervalue:
  1963. description: 变更后
  1964. type: number
  1965. applyid:
  1966. description: 操作人
  1967. type: integer
  1968. applyname:
  1969. description: 操作人名称
  1970. type: string
  1971. applysrc:
  1972. description: 操作来源 - 1:管理端 2:终端
  1973. type: integer
  1974. beforevalue:
  1975. description: 变更前
  1976. type: number
  1977. changelogtype:
  1978. description: 变更流水类型 - 1:套保比率变更
  1979. type: integer
  1980. handlestatus:
  1981. description: 处理状态
  1982. type: integer
  1983. logdatetime:
  1984. description: 流水日期
  1985. type: string
  1986. logid:
  1987. description: 流水ID
  1988. type: integer
  1989. logremark:
  1990. description: 流水备注
  1991. type: string
  1992. middlegoodsid:
  1993. description: 套保品种ID
  1994. type: integer
  1995. tradedate:
  1996. description: 交易日(yyyyMMdd)
  1997. type: string
  1998. updatetime:
  1999. description: 更新时间
  2000. type: string
  2001. type: object
  2002. ermcp.QryMiddleGoodsDetailRsp:
  2003. properties:
  2004. cvList:
  2005. description: 期货品种折算列表
  2006. items:
  2007. $ref: '#/definitions/models.GoodsGroupConvert'
  2008. type: array
  2009. mg:
  2010. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2011. description: 套保品种基本信息
  2012. type: object
  2013. ermcp.QryMiddleGoodsRsp:
  2014. properties:
  2015. areauserid:
  2016. description: 机构用户ID
  2017. type: integer
  2018. createtime:
  2019. description: 修改时间
  2020. type: string
  2021. enumdicname:
  2022. description: 单位名称
  2023. type: string
  2024. evaluateratio:
  2025. description: 估价系数
  2026. type: number
  2027. goodsgroupid:
  2028. description: 关联期货品种ID
  2029. type: integer
  2030. isvalid:
  2031. description: 状态 0-无效(停用) 1-有效(正常)
  2032. type: integer
  2033. middlegoodscode:
  2034. description: 套保品种代码
  2035. type: string
  2036. middlegoodsid:
  2037. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2038. type: integer
  2039. middlegoodsname:
  2040. description: 套保品种名称
  2041. type: string
  2042. modifytime:
  2043. description: 修改时间
  2044. type: string
  2045. needhedgeratio:
  2046. description: 套保比率
  2047. type: number
  2048. qtydecimalplace:
  2049. description: 数量小数位
  2050. type: integer
  2051. relatedgoodsid:
  2052. description: 关联交易商品ID
  2053. type: integer
  2054. relatedgoodstype:
  2055. description: 关联商品类型 - 1:期货合约 2:现货品种
  2056. type: integer
  2057. type: object
  2058. ermcp.QryOPLogRsp:
  2059. properties:
  2060. aftervalue:
  2061. description: 变更后
  2062. type: number
  2063. applyid:
  2064. description: 操作人ID
  2065. type: string
  2066. applyname:
  2067. description: 操作人名称
  2068. type: string
  2069. beforevalue:
  2070. description: 变更前
  2071. type: number
  2072. biztype:
  2073. description: 业务类型 - 1:套保计划 2:现货合同
  2074. type: integer
  2075. contracttype:
  2076. description: 现货合同类型 - 1:采购 -1:销售
  2077. type: integer
  2078. logvalue:
  2079. description: 数值
  2080. type: number
  2081. operatelogtype:
  2082. description: 操作流水类型
  2083. type: integer
  2084. operatelogtypedesc:
  2085. description: 操作流水类型名称
  2086. type: string
  2087. relatedid:
  2088. description: 现货合同ID\套保计划
  2089. type: string
  2090. updatetime:
  2091. description: 更新时间
  2092. type: string
  2093. type: object
  2094. ermcp.QryReportDaySpotDetailRsp:
  2095. properties:
  2096. applyid:
  2097. description: 操作人
  2098. type: integer
  2099. applyname:
  2100. description: 操作人名称
  2101. type: string
  2102. biztype:
  2103. description: 业务类型 - 1:套保计划 2:现货合同
  2104. type: integer
  2105. contracttype:
  2106. description: 现货合同类型 - 1:采购 -1:销售
  2107. type: integer
  2108. enumdicName:
  2109. description: 单位名称
  2110. type: string
  2111. logdatetime:
  2112. description: 流水日期(时间)
  2113. type: string
  2114. logid:
  2115. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2116. type: string
  2117. logtypename:
  2118. description: 合同类型(名称)
  2119. type: string
  2120. logvalue:
  2121. description: 数值
  2122. type: string
  2123. operatelogtype:
  2124. description: 操作流水类型 -
  2125. type: integer
  2126. optypename:
  2127. description: 流水类型名称
  2128. type: string
  2129. relatedid:
  2130. description: 现货合同ID\套保计划
  2131. type: string
  2132. relatedno:
  2133. description: 合同编号
  2134. type: string
  2135. tradedate:
  2136. description: 交易日(yyyyMMdd)
  2137. type: string
  2138. userid:
  2139. description: 机构ID
  2140. type: integer
  2141. wrstandardcode:
  2142. description: 现货商品代码
  2143. type: string
  2144. wrstandardid:
  2145. description: 现货商品ID
  2146. type: integer
  2147. wrstandardname:
  2148. description: 现货商品名称
  2149. type: string
  2150. type: object
  2151. ermcp.QryReportExposureDayRsp:
  2152. properties:
  2153. areauserid:
  2154. description: 所属机构
  2155. type: integer
  2156. buyfutureqty:
  2157. description: 买入期货数量
  2158. type: number
  2159. buyplanqty:
  2160. description: 采购计划数量
  2161. type: number
  2162. buypricedqty:
  2163. description: 采购合同已定价数量
  2164. type: number
  2165. diffFutuQty:
  2166. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2167. type: number
  2168. diffSpotQty:
  2169. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2170. type: number
  2171. enumdicname:
  2172. description: 单位名称
  2173. type: string
  2174. middlegoodscode:
  2175. description: 套保品种代码
  2176. type: string
  2177. middlegoodshedgeratio:
  2178. description: 应套保比例
  2179. type: number
  2180. middlegoodsid:
  2181. description: 套保品种ID
  2182. type: integer
  2183. middlegoodsname:
  2184. description: 套保品种名称
  2185. type: string
  2186. needhedgeexposoure:
  2187. description: 应套保敞口
  2188. type: number
  2189. needhedgeratio:
  2190. description: 应套保敞口比例
  2191. type: number
  2192. oriTotalFutuQty:
  2193. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2194. type: number
  2195. oriTotalSpotQty:
  2196. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2197. type: number
  2198. oribuyfutureqty:
  2199. description: 期初买入期货数量
  2200. type: number
  2201. oribuyplanqty:
  2202. description: 期初采购计划数量
  2203. type: number
  2204. oribuypricedqty:
  2205. description: 期初采购合同已定价数量
  2206. type: number
  2207. orisellfutureqty:
  2208. description: 期初卖出期货数量
  2209. type: number
  2210. orisellplanqty:
  2211. description: 期初销售计划数量
  2212. type: number
  2213. orisellpricedqty:
  2214. description: 期初销售合同已定价数量
  2215. type: number
  2216. reckondate:
  2217. description: 日照时期(yyyyMMdd)
  2218. type: string
  2219. sellfutureqty:
  2220. description: 卖出期货数量
  2221. type: number
  2222. sellplanqty:
  2223. description: 销售计划数量
  2224. type: number
  2225. sellpricedqty:
  2226. description: 销售合同已定价数量
  2227. type: number
  2228. totalexposure:
  2229. description: 总敞口
  2230. type: number
  2231. totalfutureqty:
  2232. description: 期货数量
  2233. type: number
  2234. totalhedgeratio:
  2235. description: 敞口比例
  2236. type: number
  2237. totalneedhedgeqty:
  2238. description: 期货应套保量
  2239. type: number
  2240. totalspotqty:
  2241. description: 现货数量
  2242. type: number
  2243. type: object
  2244. ermcp.QryReportFinanceDayRsp:
  2245. properties:
  2246. areauserid:
  2247. description: 所属机构
  2248. type: integer
  2249. collectinvoiceamount:
  2250. description: 今日开票金额
  2251. type: number
  2252. collectinvoicecount:
  2253. description: 今日开票笔数
  2254. type: integer
  2255. collectmoneyamount:
  2256. description: 今日收款金额
  2257. type: number
  2258. collectmoneycount:
  2259. description: 今日收款笔数
  2260. type: integer
  2261. payinvoiceamount:
  2262. description: 今日收票金额
  2263. type: number
  2264. payinvoicecount:
  2265. description: 今日收票笔数
  2266. type: integer
  2267. paymoneyamount:
  2268. description: 今日付款金额
  2269. type: number
  2270. paymoneycount:
  2271. description: 今日付款笔数
  2272. type: integer
  2273. reckondate:
  2274. description: 日照时期(yyyyMMdd)
  2275. type: string
  2276. updatetime:
  2277. description: 更新时间
  2278. type: string
  2279. type: object
  2280. ermcp.QryReportFinanceKxRsp:
  2281. properties:
  2282. applyid:
  2283. description: 操作人
  2284. type: integer
  2285. applyname:
  2286. description: 操作人名称
  2287. type: string
  2288. biztype:
  2289. description: 业务类型 - 1:套保计划 2:现货合同
  2290. type: integer
  2291. contracttype:
  2292. description: 现货合同类型 - 1:采购 -1:销售
  2293. type: integer
  2294. enumdicName:
  2295. description: 单位名称
  2296. type: string
  2297. logdatetime:
  2298. description: 流水日期(时间)
  2299. type: string
  2300. logid:
  2301. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2302. type: string
  2303. logtypename:
  2304. description: 合同类型(名称)
  2305. type: string
  2306. logvalue:
  2307. description: 数值
  2308. type: string
  2309. operatelogtype:
  2310. description: 操作流水类型 -
  2311. type: integer
  2312. optypename:
  2313. description: 流水类型名称
  2314. type: string
  2315. relatedid:
  2316. description: 现货合同ID\套保计划
  2317. type: string
  2318. relatedno:
  2319. description: 合同编号
  2320. type: string
  2321. tradedate:
  2322. description: 交易日(yyyyMMdd)
  2323. type: string
  2324. userid:
  2325. description: 机构ID
  2326. type: integer
  2327. wrstandardcode:
  2328. description: 现货商品代码
  2329. type: string
  2330. wrstandardid:
  2331. description: 现货商品ID
  2332. type: integer
  2333. wrstandardname:
  2334. description: 现货商品名称
  2335. type: string
  2336. type: object
  2337. ermcp.QryReportFinanceMonRsp:
  2338. properties:
  2339. areauserid:
  2340. description: 所属机构【原值】
  2341. type: integer
  2342. collectinvoiceamount:
  2343. description: 今日开票金额【汇总】
  2344. type: number
  2345. collectinvoicecount:
  2346. description: 今日开票笔数【汇总】
  2347. type: integer
  2348. collectmoneyamount:
  2349. description: 今日收款金额【汇总】
  2350. type: number
  2351. collectmoneycount:
  2352. description: 今日收款笔数 【汇总】
  2353. type: integer
  2354. cycletime:
  2355. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2356. type: string
  2357. cycletype:
  2358. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2359. type: integer
  2360. dayFr:
  2361. description: 日报表明细
  2362. items:
  2363. $ref: '#/definitions/models.ErmcpReportDayFR'
  2364. type: array
  2365. payinvoiceamount:
  2366. description: 今日收票金额【汇总】
  2367. type: number
  2368. payinvoicecount:
  2369. description: 今日收票笔数【汇总】
  2370. type: integer
  2371. paymoneyamount:
  2372. description: 今日付款金额【汇总】
  2373. type: number
  2374. paymoneycount:
  2375. description: 今日付款笔数【汇总】
  2376. type: integer
  2377. updatetime:
  2378. description: 更新时间
  2379. type: string
  2380. type: object
  2381. ermcp.QryReportSpotDayRsp:
  2382. properties:
  2383. areauserid:
  2384. description: 所属机构T
  2385. type: integer
  2386. enumdicname:
  2387. description: 现货商品单位名称
  2388. type: string
  2389. reckondate:
  2390. description: 日照时期(yyyyMMdd)
  2391. type: string
  2392. todaybuyreckonqty:
  2393. description: 采购确定量
  2394. type: number
  2395. todaysellreckonqty:
  2396. description: 销售确定量
  2397. type: number
  2398. totalbuypricedqty:
  2399. description: 采购定价量 = 期末 - 期初
  2400. type: number
  2401. totalsellpricedqty:
  2402. description: 销售定价量 = 期末 - 期初
  2403. type: number
  2404. wrstandardcode:
  2405. description: 现货商品代码
  2406. type: string
  2407. wrstandardid:
  2408. description: 现货商品ID
  2409. type: integer
  2410. wrstandardname:
  2411. description: 现货商品名称
  2412. type: string
  2413. type: object
  2414. ermcp.QryReportSpotMonRsp:
  2415. properties:
  2416. areauserid:
  2417. description: 所属机构T
  2418. type: integer
  2419. cycletime:
  2420. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2421. type: string
  2422. cycletype:
  2423. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2424. type: integer
  2425. enumdicname:
  2426. description: 现货商品单位名称
  2427. type: string
  2428. todaybuyreckonqty:
  2429. description: 采购确定量
  2430. type: number
  2431. todaysellreckonqty:
  2432. description: 销售确定量
  2433. type: number
  2434. totalbuypricedqty:
  2435. description: 采购定价量 = 期末 - 期初
  2436. type: number
  2437. totalsellpricedqty:
  2438. description: 销售定价量 = 期末 - 期初
  2439. type: number
  2440. wrstandardcode:
  2441. description: 现货商品代码
  2442. type: string
  2443. wrstandardid:
  2444. description: 现货商品ID
  2445. type: integer
  2446. wrstandardname:
  2447. description: 现货商品名称
  2448. type: string
  2449. type: object
  2450. ermcp.QryReportSpotMonthDetailRsp:
  2451. properties:
  2452. areauserid:
  2453. description: 所属机构T
  2454. type: integer
  2455. enumdicname:
  2456. description: 现货商品单位名称
  2457. type: string
  2458. reckondate:
  2459. description: 日照时期(yyyyMMdd)
  2460. type: string
  2461. todaybuyreckonqty:
  2462. description: 采购确定量
  2463. type: number
  2464. todaysellreckonqty:
  2465. description: 销售确定量
  2466. type: number
  2467. totalbuypricedqty:
  2468. description: 采购定价量 = 期末 - 期初
  2469. type: number
  2470. totalsellpricedqty:
  2471. description: 销售定价量 = 期末 - 期初
  2472. type: number
  2473. wrstandardcode:
  2474. description: 现货商品代码
  2475. type: string
  2476. wrstandardid:
  2477. description: 现货商品ID
  2478. type: integer
  2479. wrstandardname:
  2480. description: 现货商品名称
  2481. type: string
  2482. type: object
  2483. ermcp.QrySpotContractRsp:
  2484. properties:
  2485. amount:
  2486. description: 金额 [1:一口价、3:暂定价]
  2487. type: number
  2488. attachment:
  2489. description: 附件
  2490. type: string
  2491. auditremark:
  2492. description: 审核意见
  2493. type: string
  2494. audittime:
  2495. description: 审核时间
  2496. type: string
  2497. brandname:
  2498. description: 品牌名称
  2499. type: string
  2500. buyuserid:
  2501. description: 采购方ID
  2502. type: integer
  2503. buyusername:
  2504. description: 采购方名称
  2505. type: string
  2506. contracctstatus:
  2507. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2508. type: integer
  2509. contractmargin:
  2510. description: 合同保证金
  2511. type: number
  2512. contractno:
  2513. description: 现货合同编号
  2514. type: string
  2515. contracttype:
  2516. description: 现货合同类型 - 1:采购 -1:销售
  2517. type: integer
  2518. convertfactor:
  2519. description: 标仓系数
  2520. type: number
  2521. createtime:
  2522. description: 创建时间
  2523. type: string
  2524. deliveryenddate:
  2525. description: 交收期(结束)
  2526. type: string
  2527. deliverygoodscode:
  2528. description: 现货品种代码
  2529. type: string
  2530. deliverygoodsid:
  2531. description: 现货品种ID
  2532. type: integer
  2533. deliverygoodsname:
  2534. description: 现货品种名称
  2535. type: string
  2536. deliverystartdate:
  2537. description: 交收期(开始)
  2538. type: string
  2539. enddate:
  2540. description: 点价结束日期 [2:点价 3:暂定价]
  2541. type: string
  2542. enumdicname:
  2543. description: 单位名称
  2544. type: string
  2545. goodscode:
  2546. description: 点价合约代码
  2547. type: string
  2548. goodsid:
  2549. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2550. type: integer
  2551. goodsname:
  2552. description: 点价商品名称
  2553. type: string
  2554. margin:
  2555. description: 当前保证金
  2556. type: number
  2557. modelname:
  2558. description: 型号名称
  2559. type: string
  2560. price:
  2561. description: 价格\暂定价 [1:一口价、3:暂定价]
  2562. type: number
  2563. pricemove:
  2564. description: 升贴水 [2:点价 3:暂定价]
  2565. type: number
  2566. pricetype:
  2567. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2568. type: integer
  2569. producttype:
  2570. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2571. type: integer
  2572. qty:
  2573. description: 数量
  2574. type: number
  2575. remark:
  2576. description: 备注
  2577. type: string
  2578. selluserid:
  2579. description: 销售方ID
  2580. type: integer
  2581. sellusername:
  2582. description: 销售方名称
  2583. type: string
  2584. spotcontractid:
  2585. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2586. type: string
  2587. spotgoodsbrandid:
  2588. description: 现货品牌ID
  2589. type: integer
  2590. spotgoodsdesc:
  2591. description: 商品型号
  2592. type: string
  2593. spotgoodsmodelid:
  2594. description: 现货型号ID
  2595. type: integer
  2596. startdate:
  2597. description: 点价开始日期 [2:点价 3:暂定价]
  2598. type: string
  2599. updatetime:
  2600. description: 更新时间
  2601. type: string
  2602. userid:
  2603. description: 机构ID
  2604. type: integer
  2605. wrstandardid:
  2606. description: 现货商品ID
  2607. type: integer
  2608. type: object
  2609. ermcp.QryUserInfoRsp:
  2610. properties:
  2611. address:
  2612. description: 通讯地址
  2613. type: string
  2614. attachment1:
  2615. description: 附件1
  2616. type: string
  2617. audittime:
  2618. description: 审核时间
  2619. type: string
  2620. cardfrontphotourl:
  2621. description: 证件正面图片地址
  2622. type: string
  2623. cardnum:
  2624. description: 证件号码
  2625. type: string
  2626. cardtype:
  2627. description: 证件类型
  2628. type: integer
  2629. cardtypename:
  2630. description: 证件类型名称
  2631. type: string
  2632. cityid:
  2633. description: 市
  2634. type: integer
  2635. countryid:
  2636. description: 国家
  2637. type: integer
  2638. createtime:
  2639. description: 创建时间
  2640. type: string
  2641. customername:
  2642. description: 企业名称
  2643. type: string
  2644. memberuserid:
  2645. description: 所属机构ID
  2646. type: integer
  2647. mobile:
  2648. description: 手机号码
  2649. type: string
  2650. modifytime:
  2651. description: 修改时间
  2652. type: string
  2653. provinceid:
  2654. description: 省
  2655. type: integer
  2656. remark:
  2657. description: 备注
  2658. type: string
  2659. status:
  2660. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2661. type: integer
  2662. statusdesc:
  2663. description: 账户状态中文描述
  2664. type: string
  2665. telphone:
  2666. description: 联系电话
  2667. type: string
  2668. userid:
  2669. description: 用户ID
  2670. type: integer
  2671. userinfotype:
  2672. description: 客户类型
  2673. type: string
  2674. type: object
  2675. ermcp.QryWarehouseRsp:
  2676. properties:
  2677. address:
  2678. description: 详细地址
  2679. type: string
  2680. areauserid:
  2681. description: 所属机构
  2682. type: integer
  2683. autoid:
  2684. description: 自增ID(仓库ID)
  2685. type: integer
  2686. cityid:
  2687. description: 市
  2688. type: integer
  2689. contactname:
  2690. description: 联系人
  2691. type: string
  2692. contactnum:
  2693. description: 联系电话
  2694. type: string
  2695. countryid:
  2696. description: 国家
  2697. type: integer
  2698. createtime:
  2699. description: 创建时间
  2700. type: string
  2701. districtid:
  2702. description: 区
  2703. type: integer
  2704. hasvideo:
  2705. description: 是否有视频 - 0:无 1:有
  2706. type: integer
  2707. provinceid:
  2708. description: 省
  2709. type: integer
  2710. remark:
  2711. description: 审核备注
  2712. type: string
  2713. videourl:
  2714. description: 视频地址
  2715. type: string
  2716. warehousecode:
  2717. description: 仓库代码
  2718. type: string
  2719. warehousename:
  2720. description: 仓库名称
  2721. type: string
  2722. warehousestatus:
  2723. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2724. type: integer
  2725. warehousetype:
  2726. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2727. type: integer
  2728. type: object
  2729. ermcp.QryWrStandardDetailRsp:
  2730. properties:
  2731. gbList:
  2732. description: 品牌列表
  2733. items:
  2734. $ref: '#/definitions/models.GoodsBrand'
  2735. type: array
  2736. goodsList:
  2737. description: 关联交易商品列表
  2738. items:
  2739. $ref: '#/definitions/models.RelatedGoodsEx'
  2740. type: array
  2741. gtList:
  2742. description: 型号列表
  2743. items:
  2744. $ref: '#/definitions/models.GoodsTypeModel'
  2745. type: array
  2746. wrd:
  2747. $ref: '#/definitions/models.ErmcpWrstandard'
  2748. description: 基本信息
  2749. wrsList:
  2750. description: 套保信息列表
  2751. items:
  2752. $ref: '#/definitions/models.WRSConverTDetail'
  2753. type: array
  2754. type: object
  2755. ermcp.QryWrStandardRsp:
  2756. properties:
  2757. areauserid:
  2758. description: 所属机构
  2759. type: integer
  2760. createtime:
  2761. description: 创建时间
  2762. type: string
  2763. creatorid:
  2764. description: 创建人
  2765. type: integer
  2766. deliverygoodsid:
  2767. description: 品种ID
  2768. type: integer
  2769. enumdicname:
  2770. description: 单位名称
  2771. type: string
  2772. isvalid:
  2773. description: 是否有效 0-无效(停用) 1-有效(正常)
  2774. type: integer
  2775. minivalue:
  2776. description: 最小变动值
  2777. type: integer
  2778. minivaluedp:
  2779. description: 最小变动值小数位
  2780. type: integer
  2781. realminivalue:
  2782. description: 实际最小变动值
  2783. type: integer
  2784. realminivaluedp:
  2785. description: 实际最小变动值小数位
  2786. type: integer
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. unitid:
  2791. description: 单位ID
  2792. type: integer
  2793. updatetime:
  2794. description: 更新时间
  2795. type: string
  2796. wrstandardcode:
  2797. description: 现货商品代码
  2798. type: string
  2799. wrstandardid:
  2800. description: 现货商品ID(SEQ_WRSTANDARD)
  2801. type: integer
  2802. wrstandardname:
  2803. description: 现货商品名称
  2804. type: string
  2805. type: object
  2806. ermcp.QueryAreaStockApplySumRsp:
  2807. properties:
  2808. brandname:
  2809. description: 品牌名称
  2810. type: string
  2811. inouttype:
  2812. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2813. type: integer
  2814. modelname:
  2815. description: 型号名称
  2816. type: string
  2817. spotcontractid:
  2818. description: 关联现货合同ID
  2819. type: string
  2820. spotgoodsbrandid:
  2821. description: 品牌id
  2822. type: integer
  2823. spotgoodsmodelid:
  2824. description: 型号id
  2825. type: integer
  2826. totalqty:
  2827. description: 总数量
  2828. type: number
  2829. type: object
  2830. ermcp.QueryErmcpTradePositionRsp:
  2831. properties:
  2832. agreeunit:
  2833. description: 合约单位
  2834. type: number
  2835. buyorsell:
  2836. description: 方向 - 0:买 1:卖
  2837. type: integer
  2838. curpositionqty:
  2839. description: 持仓(总仓数量, 期末头寸)
  2840. type: integer
  2841. curtdposition:
  2842. description: 今仓数量(期末今日头寸)
  2843. type: integer
  2844. curtdpositionenabled:
  2845. description: 今仓可用
  2846. type: integer
  2847. decimalplace:
  2848. description: 报价小数位
  2849. type: integer
  2850. enableqty:
  2851. description: 可用(总仓可用)
  2852. type: integer
  2853. exexchangename:
  2854. description: 外部交易所名称
  2855. type: string
  2856. goodscode:
  2857. description: 商品代码(内部)
  2858. type: string
  2859. goodsid:
  2860. description: 商品ID(自增ID SEQ_GOODS)
  2861. type: integer
  2862. goodsname:
  2863. description: 商品名称
  2864. type: string
  2865. last:
  2866. description: 现价
  2867. type: number
  2868. marketid:
  2869. description: 所属市场ID
  2870. type: integer
  2871. openaverageprice:
  2872. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2873. type: number
  2874. opencost:
  2875. description: 开仓成本
  2876. type: number
  2877. openpl:
  2878. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2879. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2880. type: number
  2881. outgoodscode:
  2882. description: 商品代码(外部)
  2883. type: string
  2884. positionaverageprice:
  2885. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2886. type: number
  2887. positioncost:
  2888. description: 持仓成本
  2889. type: number
  2890. positionpl:
  2891. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2892. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2893. type: number
  2894. positionplrate:
  2895. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2896. type: number
  2897. usedmargin:
  2898. description: 占用保证金
  2899. type: number
  2900. type: object
  2901. ermcp.RealtimeExposurePositionRsp:
  2902. properties:
  2903. agreeunit:
  2904. description: 合约单位
  2905. type: string
  2906. areauserid:
  2907. description: 所属机构id
  2908. type: integer
  2909. convertratio:
  2910. description: 期货品种系数(折算系数)
  2911. type: number
  2912. curqty:
  2913. description: 当前持仓
  2914. type: integer
  2915. diffhedgeqty:
  2916. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2917. type: number
  2918. diffqty:
  2919. description: 持仓变动量=当前持仓-昨日持仓
  2920. type: integer
  2921. goodscode:
  2922. description: 商品代码
  2923. type: string
  2924. goodsid:
  2925. description: 商品id
  2926. type: integer
  2927. goodsname:
  2928. description: 商品名称
  2929. type: string
  2930. middlegoodsid:
  2931. description: 套保商品id
  2932. type: integer
  2933. ydqty:
  2934. description: 昨日持仓
  2935. type: integer
  2936. type: object
  2937. ermcp.RealtimeExposureRsp:
  2938. properties:
  2939. areaUserID:
  2940. description: 所属机构
  2941. type: integer
  2942. buyFutureQty:
  2943. description: 买入期货数量
  2944. type: number
  2945. buyPlanQty:
  2946. description: 采购计划数量
  2947. type: number
  2948. buyPricedQty:
  2949. description: 采购合同已定价数量
  2950. type: number
  2951. diffFutuQty:
  2952. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2953. type: number
  2954. diffSpotQty:
  2955. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2956. type: number
  2957. enumdicname:
  2958. description: 单位名称
  2959. type: string
  2960. middleGoodsCode:
  2961. description: 套保品种代码
  2962. type: string
  2963. middleGoodsHedgeRatio:
  2964. description: 应套保比例
  2965. type: number
  2966. middleGoodsID:
  2967. description: 套保品种
  2968. type: integer
  2969. middleGoodsName:
  2970. description: 套保品种名称
  2971. type: string
  2972. needHedgeExposoure:
  2973. description: 应套保敞口
  2974. type: number
  2975. needHedgeRatio:
  2976. description: 应套保敞口比例
  2977. type: number
  2978. oriBuyFutureQty:
  2979. description: 期初买入期货数量
  2980. type: number
  2981. oriBuyPlanQty:
  2982. description: 期初采购计划数量
  2983. type: number
  2984. oriBuyPricedQty:
  2985. description: 期初采购合同已定价数量
  2986. type: number
  2987. oriSellFutureQty:
  2988. description: 期初卖出期货数量
  2989. type: number
  2990. oriSellPlanQty:
  2991. description: 期初销售计划数量
  2992. type: number
  2993. oriSellPricedQty:
  2994. description: 期初销售合同已定价数量
  2995. type: number
  2996. oriTotalFutuQty:
  2997. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2998. type: number
  2999. oriTotalSpotQty:
  3000. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3001. type: number
  3002. sellFutureQty:
  3003. description: 卖出期货数量
  3004. type: number
  3005. sellPlanQty:
  3006. description: 销售计划数量
  3007. type: number
  3008. sellPricedQty:
  3009. description: 销售合同已定价数量
  3010. type: number
  3011. totalExposure:
  3012. description: 总敞口
  3013. type: number
  3014. totalFutureQty:
  3015. description: 期货数量
  3016. type: number
  3017. totalHedgeRatio:
  3018. description: 敞口比例
  3019. type: number
  3020. totalNeedHedgeQty:
  3021. description: 期货应套保量
  3022. type: number
  3023. totalSpotQty:
  3024. description: 现货数量
  3025. type: number
  3026. type: object
  3027. erms2.QueryArbitrageStrategyRsp:
  3028. properties:
  3029. applybasis:
  3030. description: 申请基差
  3031. type: number
  3032. asapplyid:
  3033. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3034. type: string
  3035. asname:
  3036. description: 策略名称
  3037. type: string
  3038. asno:
  3039. description: 策略编号
  3040. type: string
  3041. basischangepl:
  3042. description: 基差变动损益[结算更新]
  3043. type: number
  3044. biztype:
  3045. description: 业务类型 - 1:正向套利 -1:反向套利
  3046. type: integer
  3047. closetradedate:
  3048. description: 完结交易日(yyyyMMdd)
  3049. type: string
  3050. curbasis:
  3051. description: 当前基差[结算更新]
  3052. type: number
  3053. deliverygoodsid:
  3054. description: 现货品种ID
  3055. type: integer
  3056. futureavgprice:
  3057. description: 期货建仓均价
  3058. type: number
  3059. futurecloseamount:
  3060. description: 期货平仓金额
  3061. type: number
  3062. futurecloseqty:
  3063. description: 期货平仓数量
  3064. type: number
  3065. futureopenamount:
  3066. description: 期货开仓金额
  3067. type: number
  3068. futureopenqty:
  3069. description: 期货开仓数量
  3070. type: number
  3071. futurepl:
  3072. description: 期货总盈亏[结算更新]
  3073. type: number
  3074. futureqty:
  3075. description: 期货持仓数量
  3076. type: number
  3077. futurequote:
  3078. description: 期货额度
  3079. type: number
  3080. goodsgroupid:
  3081. description: 期货品种ID
  3082. type: integer
  3083. marketid:
  3084. description: 市场ID
  3085. type: integer
  3086. netexposure:
  3087. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3088. type: number
  3089. netexposurepl:
  3090. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3091. type: number
  3092. netexposurerate:
  3093. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3094. type: number
  3095. openbasis:
  3096. description: 建仓基差
  3097. type: number
  3098. pricedspotqty:
  3099. description: 已定价现货数量
  3100. type: number
  3101. pricedspotqtynotax:
  3102. description: 已定价现货不含税数量
  3103. type: number
  3104. remark:
  3105. description: 备注
  3106. type: string
  3107. spotavgprice:
  3108. description: 现货均价
  3109. type: number
  3110. spotbuyamount:
  3111. description: 现货采购金额
  3112. type: number
  3113. spotbuyqty:
  3114. description: 现货采购数量
  3115. type: number
  3116. spotpl:
  3117. description: 现货总盈亏[结算更新]
  3118. type: number
  3119. spotquota:
  3120. description: 现货额度
  3121. type: number
  3122. spotsellamount:
  3123. description: 现货销售金额
  3124. type: number
  3125. spotsellqty:
  3126. description: 现货销售数量
  3127. type: number
  3128. spotusedquota:
  3129. description: 现货占用资金
  3130. type: number
  3131. strategystatus:
  3132. description: 策略状态 - 0:未结束 1:已结束
  3133. type: integer
  3134. totalpl:
  3135. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3136. type: number
  3137. tradedate:
  3138. description: 交易日(yyyyMMdd)
  3139. type: string
  3140. updatetime:
  3141. description: 更新时间
  3142. type: string
  3143. usedquota:
  3144. description: 已占用资金
  3145. type: number
  3146. userid:
  3147. description: 所属机构
  3148. type: integer
  3149. required:
  3150. - asapplyid
  3151. type: object
  3152. erms2.QueryInnerTradeDetailRsp:
  3153. properties:
  3154. accountid:
  3155. description: 账号ID
  3156. type: integer
  3157. agreeunit:
  3158. description: 合约单位
  3159. type: number
  3160. asapplyid:
  3161. description: 策略申请ID
  3162. type: integer
  3163. asname:
  3164. description: 策略名称
  3165. type: string
  3166. asno:
  3167. description: 策略编号
  3168. type: string
  3169. buyorsell:
  3170. description: 方向 - 0:买 1:卖
  3171. type: integer
  3172. channelbuildtype:
  3173. description: 委托单据类型 0:无 1:建仓 2:平仓
  3174. type: integer
  3175. closetype:
  3176. description: 平仓方式 - 0:无 1:平今 2:平昨
  3177. type: integer
  3178. decimalplace:
  3179. description: 报价小数位
  3180. type: integer
  3181. detailtype:
  3182. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3183. type: integer
  3184. exexchangecode:
  3185. description: 外部交易所代码
  3186. type: string
  3187. exexchangename:
  3188. description: 外部交易所名称
  3189. type: string
  3190. goodscode:
  3191. description: 商品代码(合约)
  3192. type: string
  3193. goodsgroupid:
  3194. description: 商品组ID(品种ID)
  3195. type: integer
  3196. goodsgroupname:
  3197. description: 商品组名称(品种)
  3198. type: string
  3199. goodsid:
  3200. description: 商品ID
  3201. type: integer
  3202. goodsname:
  3203. description: 商品名称(合约)
  3204. type: string
  3205. goodunit:
  3206. description: 报价单位
  3207. type: string
  3208. marketid:
  3209. description: 市场ID
  3210. type: integer
  3211. orderid:
  3212. description: 委托单号
  3213. type: string
  3214. outgoodscode:
  3215. description: 商品代码(外部)
  3216. type: string
  3217. relatedouttradeid:
  3218. description: 关联外部成交单ID
  3219. type: string
  3220. remark:
  3221. description: 备注
  3222. type: string
  3223. spotcontractid:
  3224. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3225. type: integer
  3226. spotcontractno:
  3227. description: 现货合同编号
  3228. type: string
  3229. tradeid:
  3230. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3231. type: string
  3232. tradeprice:
  3233. description: 成交价格
  3234. type: number
  3235. tradeqty:
  3236. description: 成交数量
  3237. type: integer
  3238. tradetime:
  3239. description: 成交时间
  3240. type: string
  3241. updatetime:
  3242. description: 更新时间
  3243. type: string
  3244. required:
  3245. - asapplyid
  3246. - buyorsell
  3247. - goodscode
  3248. - goodsgroupid
  3249. - goodsgroupname
  3250. - goodsname
  3251. - tradeid
  3252. type: object
  3253. erms2.QuerySpotContractRsp:
  3254. properties:
  3255. accountid:
  3256. description: 资金账户ID
  3257. type: integer
  3258. areauserid:
  3259. description: 所属机构
  3260. type: integer
  3261. closedate:
  3262. description: 终止日期
  3263. type: string
  3264. closeremark:
  3265. description: 结束备注
  3266. type: string
  3267. closetradedate:
  3268. description: 完结交易日(yyyyMMdd)
  3269. type: string
  3270. closetype:
  3271. description: 终止类型 - 1:违约 2:提前终止
  3272. type: integer
  3273. contractamount:
  3274. description: 合同金额
  3275. type: number
  3276. contractattachment:
  3277. description: 合同附件
  3278. type: string
  3279. contractno:
  3280. description: 现货合同编号
  3281. type: string
  3282. contractqty:
  3283. description: 合同数量(数值) (用于计算)
  3284. type: number
  3285. contractqtychar:
  3286. description: 合同数量\已订价数量 (用于显示)
  3287. type: string
  3288. contractstatus:
  3289. description: 合同状态 - 0:未结束 1:已结束
  3290. type: integer
  3291. contracttype:
  3292. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3293. type: integer
  3294. customeraccountid:
  3295. description: 客户资金账户ID
  3296. type: integer
  3297. customeruserid:
  3298. description: 客户ID
  3299. type: integer
  3300. deliverygoodsdesc:
  3301. description: 品种说明
  3302. type: string
  3303. deliverygoodsid:
  3304. description: 现货品种ID
  3305. type: integer
  3306. handlestatus:
  3307. description: 处理状态
  3308. type: integer
  3309. invoiceatt:
  3310. description: 发票附件
  3311. type: string
  3312. invoicedatetime:
  3313. description: 开收票更新时间
  3314. type: string
  3315. invoiceopentime:
  3316. description: 开票时间
  3317. type: string
  3318. invoiceremark:
  3319. description: 发票备注
  3320. type: string
  3321. invoicestatus:
  3322. description: 开收票状态 - 0:未开票 1:已开票
  3323. type: integer
  3324. lastdate:
  3325. description: 交货时间
  3326. type: string
  3327. marketid:
  3328. description: 市场ID
  3329. type: integer
  3330. paydatetime:
  3331. description: 收付款更新时间
  3332. type: string
  3333. payremark:
  3334. description: 收付款备注
  3335. type: string
  3336. paystatus:
  3337. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3338. type: integer
  3339. positionqty:
  3340. description: 头寸数量 - 合同数量去小数部分
  3341. type: integer
  3342. producttype:
  3343. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3344. type: integer
  3345. relatedqty:
  3346. description: 已关联数量
  3347. type: number
  3348. relatedstatus:
  3349. description: 关联完结状态 - 0:未结束 1:已结束
  3350. type: integer
  3351. remark:
  3352. description: 备注
  3353. type: string
  3354. signdate:
  3355. description: 签订日期
  3356. type: string
  3357. spotcontractid:
  3358. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3359. type: string
  3360. spotdatetime:
  3361. description: 收发货更新时间
  3362. type: string
  3363. spotprice:
  3364. description: 价格
  3365. type: number
  3366. spotremark:
  3367. description: 收发货备注
  3368. type: string
  3369. spotstatus:
  3370. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3371. type: integer
  3372. tradedate:
  3373. description: 交易日(yyyyMMdd)
  3374. type: string
  3375. userid:
  3376. description: 业务员用户ID
  3377. type: integer
  3378. warehouseid:
  3379. description: 仓库ID
  3380. type: integer
  3381. wrfactortypeid:
  3382. description: 仓单要素类型ID
  3383. type: integer
  3384. wrstandardid:
  3385. description: 仓单标准ID(SEQ_WRSTANDARD)
  3386. type: integer
  3387. required:
  3388. - spotcontractid
  3389. type: object
  3390. erms3.AddErms2ASApplyReq:
  3391. properties:
  3392. applybasis:
  3393. description: 申请基差
  3394. type: number
  3395. applystatus:
  3396. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3397. type: integer
  3398. asapplyid:
  3399. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3400. type: integer
  3401. asname:
  3402. description: 策略名称
  3403. type: string
  3404. asno:
  3405. description: 策略编号
  3406. type: string
  3407. auditid:
  3408. description: 审核人
  3409. type: integer
  3410. auditremark:
  3411. description: 审核备注
  3412. type: string
  3413. audittime:
  3414. description: 审核时间
  3415. type: string
  3416. biztype:
  3417. description: 业务类型 - 1:正向套利 2:反向套利
  3418. type: integer
  3419. createtime:
  3420. description: 创建时间
  3421. type: string
  3422. creatorid:
  3423. description: 创建人
  3424. type: integer
  3425. deliverygoodsid:
  3426. description: 现货品种ID
  3427. type: integer
  3428. futurequote:
  3429. description: 期货额度
  3430. type: number
  3431. goodsgroupid:
  3432. description: 期货品种ID
  3433. type: integer
  3434. marketid:
  3435. description: 市场ID
  3436. type: integer
  3437. remark:
  3438. description: 备注
  3439. type: string
  3440. spotquota:
  3441. description: 现货额度
  3442. type: number
  3443. tradedate:
  3444. description: 交易日(yyyyMMdd)
  3445. type: string
  3446. userid:
  3447. description: 所属机构
  3448. type: integer
  3449. required:
  3450. - asapplyid
  3451. type: object
  3452. erms3.AddErms2SpotTradeApplyReq:
  3453. properties:
  3454. applyjsondetail:
  3455. description: 申请明细(JSON)
  3456. type: string
  3457. applystatus:
  3458. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3459. type: integer
  3460. areauserid:
  3461. description: 所属机构
  3462. type: integer
  3463. auditid:
  3464. description: 审核人
  3465. type: integer
  3466. auditremark:
  3467. description: 审核备注
  3468. type: string
  3469. audittime:
  3470. description: 审核时间
  3471. type: string
  3472. createtime:
  3473. description: 创建时间
  3474. type: string
  3475. creatorid:
  3476. description: 创建人
  3477. type: integer
  3478. deliverygoodsid:
  3479. description: 现货品种ID
  3480. type: integer
  3481. futureaccountid:
  3482. description: 期货资金账户
  3483. type: integer
  3484. goodsgroupid:
  3485. description: 期货品种
  3486. type: integer
  3487. marketid:
  3488. description: 市场ID
  3489. type: integer
  3490. remark:
  3491. description: 备注
  3492. type: string
  3493. spotaccountid:
  3494. description: 现货资金账户
  3495. type: integer
  3496. spottradeid:
  3497. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3498. type: integer
  3499. spottradename:
  3500. description: 业务名称
  3501. type: string
  3502. spottradeno:
  3503. description: 业务编号
  3504. type: string
  3505. tradedate:
  3506. description: 交易日(yyyyMMdd)
  3507. type: string
  3508. wrstandardid:
  3509. description: 仓单标准ID
  3510. type: integer
  3511. required:
  3512. - spottradeid
  3513. type: object
  3514. erms3.AddSpotContractApplyReq:
  3515. properties:
  3516. accountid:
  3517. description: 资金账户ID
  3518. type: integer
  3519. areauserid:
  3520. description: 所属机构
  3521. type: integer
  3522. contractattachment:
  3523. description: 合同附件
  3524. type: string
  3525. contractno:
  3526. description: 现货合同编号
  3527. type: string
  3528. contracttype:
  3529. description: 现货合同类型 - 1:采购 -1:销售
  3530. type: integer
  3531. creatorid:
  3532. description: 申请人
  3533. type: integer
  3534. customeraccountid:
  3535. description: 客户资金账户ID
  3536. type: integer
  3537. customeruserid:
  3538. description: 客户ID
  3539. type: integer
  3540. details:
  3541. description: 明细
  3542. items:
  3543. $ref: '#/definitions/erms3.SoptContractDetail'
  3544. type: array
  3545. orimargin:
  3546. description: 初始保证金
  3547. type: number
  3548. remark:
  3549. description: 备注
  3550. type: string
  3551. signdate:
  3552. description: 签订日期
  3553. type: string
  3554. required:
  3555. - accountid
  3556. - areauserid
  3557. - contractno
  3558. - contracttype
  3559. - customeraccountid
  3560. - customeruserid
  3561. - details
  3562. - orimargin
  3563. - signdate
  3564. type: object
  3565. erms3.AddSpotContractApplyRsp:
  3566. properties:
  3567. contractno:
  3568. description: 现货合同编号
  3569. type: string
  3570. spotcontractid:
  3571. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3572. type: integer
  3573. required:
  3574. - contractno
  3575. type: object
  3576. erms3.AddUserInfoApplyReq:
  3577. properties:
  3578. accountid:
  3579. description: 交易系统帐号Id (加密存储)
  3580. type: integer
  3581. areacode:
  3582. description: 机构代码
  3583. type: string
  3584. areaid:
  3585. description: 机构Id
  3586. type: integer
  3587. attachment1:
  3588. description: 附件1
  3589. type: string
  3590. attachment2:
  3591. description: 附件2
  3592. type: string
  3593. attachment3:
  3594. description: 附件3
  3595. type: string
  3596. attachment4:
  3597. description: 附件4
  3598. type: string
  3599. attachment5:
  3600. description: 附件5
  3601. type: string
  3602. auditedby:
  3603. description: 审核人
  3604. type: string
  3605. auditime:
  3606. description: 审核时间
  3607. type: string
  3608. bankaccount:
  3609. description: 银行帐号 (加密存储)
  3610. type: string
  3611. bankaccountname:
  3612. description: 收款人名称
  3613. type: string
  3614. bankcardbackphotourl:
  3615. description: 银行卡背面照地址
  3616. type: string
  3617. bankcardfrontphotourl:
  3618. description: 银行卡正面照地址
  3619. type: string
  3620. bankid:
  3621. description: 银行编码
  3622. type: string
  3623. bankname:
  3624. description: 银行名称
  3625. type: string
  3626. bankpictureurl:
  3627. description: 银行卡正面地址
  3628. type: string
  3629. biznature:
  3630. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3631. type: integer
  3632. bizscope:
  3633. description: 企业经营范围(企业)
  3634. type: string
  3635. biztype:
  3636. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3637. type: integer
  3638. brokerid:
  3639. description: 经纪人ID(加密存储)
  3640. type: string
  3641. cardaddress:
  3642. description: 证件地址 (加密存储)
  3643. type: string
  3644. cardbackphotourl:
  3645. description: 背面证件照地址
  3646. type: string
  3647. cardfrontphotourl:
  3648. description: 正面证件照地址
  3649. type: string
  3650. cardnum:
  3651. description: 证件号码 (加密存储)
  3652. type: string
  3653. cardtype:
  3654. description: 证件类型
  3655. type: integer
  3656. cityid:
  3657. description: 市
  3658. type: integer
  3659. company:
  3660. description: 公司(个人)
  3661. type: string
  3662. contactcardbackphotourl:
  3663. description: 联系人证件背面图片地址
  3664. type: string
  3665. contactcardfrontphotourl:
  3666. description: 联系人证件正面图片地址
  3667. type: string
  3668. contactname:
  3669. description: 联系人
  3670. type: string
  3671. countryid:
  3672. description: 国家
  3673. type: integer
  3674. createtime:
  3675. description: 开户申请时间
  3676. type: string
  3677. cusbankid:
  3678. description: 签约类型
  3679. type: string
  3680. cusbankname:
  3681. description: 签约类型名称
  3682. type: string
  3683. customername:
  3684. description: 客户名称(企业名称)
  3685. type: string
  3686. districtid:
  3687. description: 地区
  3688. type: integer
  3689. email:
  3690. description: Email地址(加密存储)
  3691. type: string
  3692. halfbodyphotourl:
  3693. description: 半身照地址
  3694. type: string
  3695. headurl:
  3696. description: 头像地址
  3697. type: string
  3698. ipaddress:
  3699. description: IP地址
  3700. type: string
  3701. isvalidate:
  3702. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3703. type: string
  3704. legalcardbackphotourl:
  3705. description: 法人身份证背面照地址
  3706. type: string
  3707. legalcardfrontphotourl:
  3708. description: 法人身份证正面照地址
  3709. type: string
  3710. legalpersonname:
  3711. description: 法人姓名(企业)
  3712. type: string
  3713. logincode:
  3714. description: 登录帐号 (加密存储)
  3715. type: string
  3716. memberareaid:
  3717. description: 所属会员ID
  3718. type: integer
  3719. mobile2:
  3720. description: 手机号码[明文-尚志]
  3721. type: string
  3722. mobilephone:
  3723. description: 手机号码 (加密存储)
  3724. type: string
  3725. modifiedby:
  3726. description: 修改人帐号
  3727. type: integer
  3728. modifiedtime:
  3729. description: 修改时间
  3730. type: string
  3731. nickname:
  3732. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3733. type: string
  3734. openmode:
  3735. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3736. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3737. type: integer
  3738. otherurl:
  3739. description: 其它图片地址[使用分号分隔]
  3740. type: string
  3741. postalcode:
  3742. description: 邮政编码
  3743. type: string
  3744. provinceid:
  3745. description: 省
  3746. type: integer
  3747. proxystatementurl:
  3748. description: 授权委托书
  3749. type: string
  3750. qq:
  3751. description: QQ(加密存储
  3752. type: string
  3753. referral:
  3754. description: 推荐人编码
  3755. type: string
  3756. remark:
  3757. description: 备注
  3758. type: string
  3759. removebeforestatus:
  3760. description: REMOVEBEFORESTATUS
  3761. type: integer
  3762. sex:
  3763. description: 性别 - 0:女 1:男
  3764. type: integer
  3765. signedstatus:
  3766. description: 账户一号签签约状态
  3767. type: integer
  3768. signpdfurl:
  3769. description: 签约pdf文件
  3770. type: string
  3771. subbranch:
  3772. description: 开户支行
  3773. type: string
  3774. telphone:
  3775. description: 联系电话(加密存储)
  3776. type: string
  3777. userid:
  3778. description: 用户ID(自增ID)
  3779. type: integer
  3780. userinfotype:
  3781. description: 用户信息类型 - 1:个人 2:企业
  3782. type: integer
  3783. username:
  3784. description: 用户姓名
  3785. type: string
  3786. userstate:
  3787. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3788. type: integer
  3789. usertype:
  3790. description: 用户类型 - 1:投资者 2:机构
  3791. type: integer
  3792. videourl:
  3793. description: 视频地址
  3794. type: string
  3795. wechat:
  3796. description: 微信号 (加密存储)
  3797. type: string
  3798. required:
  3799. - userid
  3800. type: object
  3801. erms3.CustomerInfo:
  3802. properties:
  3803. accountids:
  3804. description: 资金账户ID列表
  3805. items:
  3806. type: integer
  3807. type: array
  3808. customername:
  3809. description: 名称(企业名称)
  3810. type: string
  3811. mobile:
  3812. description: 手机号码
  3813. type: string
  3814. userid:
  3815. description: 用户ID
  3816. type: integer
  3817. required:
  3818. - userid
  3819. type: object
  3820. erms3.ModifyUserInfoApplyReq:
  3821. properties:
  3822. accountid:
  3823. description: 交易系统帐号Id (加密存储)
  3824. type: integer
  3825. areacode:
  3826. description: 机构代码
  3827. type: string
  3828. areaid:
  3829. description: 机构Id
  3830. type: integer
  3831. attachment1:
  3832. description: 附件1
  3833. type: string
  3834. attachment2:
  3835. description: 附件2
  3836. type: string
  3837. attachment3:
  3838. description: 附件3
  3839. type: string
  3840. attachment4:
  3841. description: 附件4
  3842. type: string
  3843. attachment5:
  3844. description: 附件5
  3845. type: string
  3846. auditedby:
  3847. description: 审核人
  3848. type: string
  3849. auditime:
  3850. description: 审核时间
  3851. type: string
  3852. bankaccount:
  3853. description: 银行帐号 (加密存储)
  3854. type: string
  3855. bankaccountname:
  3856. description: 收款人名称
  3857. type: string
  3858. bankcardbackphotourl:
  3859. description: 银行卡背面照地址
  3860. type: string
  3861. bankcardfrontphotourl:
  3862. description: 银行卡正面照地址
  3863. type: string
  3864. bankid:
  3865. description: 银行编码
  3866. type: string
  3867. bankname:
  3868. description: 银行名称
  3869. type: string
  3870. bankpictureurl:
  3871. description: 银行卡正面地址
  3872. type: string
  3873. biznature:
  3874. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3875. type: integer
  3876. bizscope:
  3877. description: 企业经营范围(企业)
  3878. type: string
  3879. biztype:
  3880. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3881. type: integer
  3882. brokerid:
  3883. description: 经纪人ID(加密存储)
  3884. type: string
  3885. cardaddress:
  3886. description: 证件地址 (加密存储)
  3887. type: string
  3888. cardbackphotourl:
  3889. description: 背面证件照地址
  3890. type: string
  3891. cardfrontphotourl:
  3892. description: 正面证件照地址
  3893. type: string
  3894. cardnum:
  3895. description: 证件号码 (加密存储)
  3896. type: string
  3897. cardtype:
  3898. description: 证件类型
  3899. type: integer
  3900. cityid:
  3901. description: 市
  3902. type: integer
  3903. company:
  3904. description: 公司(个人)
  3905. type: string
  3906. contactcardbackphotourl:
  3907. description: 联系人证件背面图片地址
  3908. type: string
  3909. contactcardfrontphotourl:
  3910. description: 联系人证件正面图片地址
  3911. type: string
  3912. contactname:
  3913. description: 联系人
  3914. type: string
  3915. countryid:
  3916. description: 国家
  3917. type: integer
  3918. createtime:
  3919. description: 开户申请时间
  3920. type: string
  3921. cusbankid:
  3922. description: 签约类型
  3923. type: string
  3924. cusbankname:
  3925. description: 签约类型名称
  3926. type: string
  3927. customername:
  3928. description: 客户名称(企业名称)
  3929. type: string
  3930. districtid:
  3931. description: 地区
  3932. type: integer
  3933. email:
  3934. description: Email地址(加密存储)
  3935. type: string
  3936. halfbodyphotourl:
  3937. description: 半身照地址
  3938. type: string
  3939. headurl:
  3940. description: 头像地址
  3941. type: string
  3942. ipaddress:
  3943. description: IP地址
  3944. type: string
  3945. isvalidate:
  3946. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3947. type: string
  3948. legalcardbackphotourl:
  3949. description: 法人身份证背面照地址
  3950. type: string
  3951. legalcardfrontphotourl:
  3952. description: 法人身份证正面照地址
  3953. type: string
  3954. legalpersonname:
  3955. description: 法人姓名(企业)
  3956. type: string
  3957. logincode:
  3958. description: 登录帐号 (加密存储)
  3959. type: string
  3960. memberareaid:
  3961. description: 所属会员ID
  3962. type: integer
  3963. mobile2:
  3964. description: 手机号码[明文-尚志]
  3965. type: string
  3966. mobilephone:
  3967. description: 手机号码 (加密存储)
  3968. type: string
  3969. modifiedby:
  3970. description: 修改人帐号
  3971. type: integer
  3972. modifiedtime:
  3973. description: 修改时间
  3974. type: string
  3975. nickname:
  3976. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3977. type: string
  3978. openmode:
  3979. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3980. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3981. type: integer
  3982. otherurl:
  3983. description: 其它图片地址[使用分号分隔]
  3984. type: string
  3985. postalcode:
  3986. description: 邮政编码
  3987. type: string
  3988. provinceid:
  3989. description: 省
  3990. type: integer
  3991. proxystatementurl:
  3992. description: 授权委托书
  3993. type: string
  3994. qq:
  3995. description: QQ(加密存储
  3996. type: string
  3997. referral:
  3998. description: 推荐人编码
  3999. type: string
  4000. remark:
  4001. description: 备注
  4002. type: string
  4003. removebeforestatus:
  4004. description: REMOVEBEFORESTATUS
  4005. type: integer
  4006. sex:
  4007. description: 性别 - 0:女 1:男
  4008. type: integer
  4009. signedstatus:
  4010. description: 账户一号签签约状态
  4011. type: integer
  4012. signpdfurl:
  4013. description: 签约pdf文件
  4014. type: string
  4015. subbranch:
  4016. description: 开户支行
  4017. type: string
  4018. telphone:
  4019. description: 联系电话(加密存储)
  4020. type: string
  4021. userid:
  4022. description: 用户ID(自增ID)
  4023. type: integer
  4024. userinfotype:
  4025. description: 用户信息类型 - 1:个人 2:企业
  4026. type: integer
  4027. username:
  4028. description: 用户姓名
  4029. type: string
  4030. userstate:
  4031. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4032. type: integer
  4033. usertype:
  4034. description: 用户类型 - 1:投资者 2:机构
  4035. type: integer
  4036. videourl:
  4037. description: 视频地址
  4038. type: string
  4039. wechat:
  4040. description: 微信号 (加密存储)
  4041. type: string
  4042. required:
  4043. - userid
  4044. type: object
  4045. erms3.QryAuditContractRsp:
  4046. properties:
  4047. accountid:
  4048. description: 交易员ID
  4049. type: string
  4050. applystatus:
  4051. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4052. type: integer
  4053. curdeliveryqty:
  4054. description: 未交收量
  4055. type: integer
  4056. customername:
  4057. description: 采购方ID
  4058. type: string
  4059. deliverygoodsid:
  4060. description: 品种ID
  4061. type: string
  4062. deliveryqty:
  4063. description: 交收量
  4064. type: integer
  4065. enumdicname:
  4066. description: 单位名称
  4067. type: string
  4068. matchaccountid:
  4069. description: 业务员ID
  4070. type: string
  4071. matchcustomername:
  4072. description: 销售方ID
  4073. type: string
  4074. pricedqty:
  4075. description: 定价量
  4076. type: number
  4077. signdate:
  4078. description: 签订日期
  4079. type: string
  4080. spotcontractid:
  4081. description: 合同ID
  4082. type: string
  4083. totaldqty:
  4084. description: 合同量
  4085. type: number
  4086. unpricedqty:
  4087. description: 未定价量
  4088. type: number
  4089. wrstandardname:
  4090. description: 商品名称
  4091. type: string
  4092. required:
  4093. - matchcustomername
  4094. - spotcontractid
  4095. type: object
  4096. erms3.QryPendingBizRsp:
  4097. properties:
  4098. accountid:
  4099. description: 现货账户
  4100. type: string
  4101. areaname:
  4102. description: 所属部门
  4103. type: string
  4104. bizid:
  4105. description: 业务ID
  4106. type: string
  4107. bizname:
  4108. description: 业务名称
  4109. type: string
  4110. status:
  4111. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4112. type: integer
  4113. type:
  4114. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4115. type: integer
  4116. type: object
  4117. erms3.QueryBusinessInfoRsp:
  4118. properties:
  4119. businessid:
  4120. description: 业务ID.
  4121. type: integer
  4122. buyamount:
  4123. description: 采购额.
  4124. type: number
  4125. buyqty:
  4126. description: 采购量.
  4127. type: string
  4128. futurepl:
  4129. description: 期货盈亏.
  4130. type: number
  4131. futureqty:
  4132. description: 期货敞口.
  4133. type: string
  4134. goodsid:
  4135. description: 商品名称/商品代码.
  4136. type: string
  4137. hedgingqty:
  4138. description: 套保量.
  4139. type: string
  4140. sellamount:
  4141. description: 销售额.
  4142. type: number
  4143. sellqty:
  4144. description: 销售量.
  4145. type: string
  4146. spotmarketvalue:
  4147. description: 现货市值.
  4148. type: number
  4149. spotpl:
  4150. description: 浮动权益.
  4151. type: number
  4152. spotqty:
  4153. description: 现货量.
  4154. type: string
  4155. statu:
  4156. description: 状态,0-未结束 1-已结束.
  4157. type: integer
  4158. totalpl:
  4159. description: 总盈亏.
  4160. type: number
  4161. totalqty:
  4162. description: 总敞口.
  4163. type: string
  4164. type:
  4165. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4166. type: integer
  4167. type: object
  4168. erms3.QuerySpotContractAppleFormRsp:
  4169. properties:
  4170. goodses:
  4171. description: 合约列表
  4172. items:
  4173. $ref: '#/definitions/models.GoodsIDAndName'
  4174. type: array
  4175. oppositeusers:
  4176. description: 对方账号列表
  4177. items:
  4178. $ref: '#/definitions/erms3.CustomerInfo'
  4179. type: array
  4180. ouruser:
  4181. $ref: '#/definitions/erms3.CustomerInfo'
  4182. description: 我方账号
  4183. warehouseinfos:
  4184. description: 仓库信息列表
  4185. items:
  4186. $ref: '#/definitions/models.Warehouseinfo'
  4187. type: array
  4188. wrstandards:
  4189. description: 仓单标准列表
  4190. items:
  4191. $ref: '#/definitions/models.WRStandardInfo'
  4192. type: array
  4193. type: object
  4194. erms3.QuerySpotContractInfoRsp:
  4195. properties:
  4196. accountid:
  4197. description: 表示交易员ID.
  4198. type: integer
  4199. curdeliveryqty:
  4200. description: 表示未交收量.
  4201. type: number
  4202. customername:
  4203. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4204. type: string
  4205. deliverygoodsid:
  4206. description: 表示品种ID.
  4207. type: string
  4208. deliveryqty:
  4209. description: 表示交收量.
  4210. type: number
  4211. matchaccountid:
  4212. description: 表示业务员ID.
  4213. type: integer
  4214. matchcustomername:
  4215. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4216. type: string
  4217. priceqty:
  4218. description: 表示定价量.
  4219. type: number
  4220. relatedbizid:
  4221. description: 表示业务ID.
  4222. type: string
  4223. signdate:
  4224. description: 表示签订日期.
  4225. type: string
  4226. spotcontractid:
  4227. description: 合同ID
  4228. type: string
  4229. status:
  4230. description: 表示状态,0-履约中 1-已完成.
  4231. type: integer
  4232. totalqty:
  4233. description: 表示合同量.
  4234. type: number
  4235. unpricedqty:
  4236. description: 表示未定价量.
  4237. type: number
  4238. wrstandardname:
  4239. description: 表示商品ID.
  4240. type: string
  4241. type: object
  4242. erms3.QueryUserInfoAppliesRsp:
  4243. properties:
  4244. biznature:
  4245. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4246. type: integer
  4247. contactname:
  4248. description: 联系人
  4249. type: string
  4250. createtime:
  4251. description: 开户申请时间
  4252. type: string
  4253. userid:
  4254. description: 用户ID(自增ID)
  4255. type: integer
  4256. userinfotype:
  4257. description: 用户信息类型 - 1:个人 2:企业
  4258. type: integer
  4259. username:
  4260. description: 用户姓名
  4261. type: string
  4262. userstate:
  4263. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4264. type: integer
  4265. required:
  4266. - userid
  4267. type: object
  4268. erms3.QueryUserInfosRsp:
  4269. properties:
  4270. biznature:
  4271. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4272. type: integer
  4273. contactname:
  4274. description: 联系人
  4275. type: string
  4276. customername:
  4277. description: 客户名称(企业名称)
  4278. type: string
  4279. userid:
  4280. description: 用户ID
  4281. type: integer
  4282. userinfotype:
  4283. description: 用户信息类型 - 1:个人 2:企业
  4284. type: integer
  4285. userstatus:
  4286. description: 用户状态 - 1:正常 2:注销
  4287. type: integer
  4288. required:
  4289. - userid
  4290. type: object
  4291. erms3.SoptContractDetail:
  4292. properties:
  4293. deliverygoodsdesc:
  4294. description: 现货品种说明
  4295. type: string
  4296. deliverygoodsid:
  4297. description: 现货品种ID
  4298. type: integer
  4299. deliverygoodsname:
  4300. description: 现货品种名称
  4301. type: string
  4302. pointdesc:
  4303. description: 点价描述
  4304. type: string
  4305. producttype:
  4306. description: 产品类型 1:标准仓单 2:等标 3:非标
  4307. type: integer
  4308. producttypename:
  4309. description: 产品类型名称
  4310. type: string
  4311. spotPointOrderVoList:
  4312. description: 点价列表
  4313. items:
  4314. $ref: '#/definitions/erms3.SpotPointOrder'
  4315. type: array
  4316. spotPriceOrderList:
  4317. description: 定价列表
  4318. items:
  4319. $ref: '#/definitions/erms3.SpotPriceOrder'
  4320. type: array
  4321. unitname:
  4322. description: 单位名称
  4323. type: string
  4324. warehouseid:
  4325. description: 仓库ID
  4326. type: integer
  4327. warehousename:
  4328. description: 仓库名称
  4329. type: string
  4330. wrstandardid:
  4331. description: 交易标的ID
  4332. type: integer
  4333. wrstandardname:
  4334. description: 交易标的名称
  4335. type: string
  4336. required:
  4337. - deliverygoodsid
  4338. - producttype
  4339. - unitname
  4340. - warehouseid
  4341. - wrstandardid
  4342. - wrstandardname
  4343. type: object
  4344. erms3.SpotPointOrder:
  4345. properties:
  4346. basic:
  4347. description: 基差
  4348. type: number
  4349. deliveryenddate:
  4350. description: 交收结束日期
  4351. type: string
  4352. deliverystartdate:
  4353. description: 交收开始日期
  4354. type: string
  4355. enddate:
  4356. description: 点价结束日期
  4357. type: string
  4358. goodsid:
  4359. description: 商品ID
  4360. type: integer
  4361. goodsname:
  4362. description: 商品名称
  4363. type: string
  4364. qty:
  4365. description: 数量
  4366. type: number
  4367. startdate:
  4368. description: 点价开始日期
  4369. type: string
  4370. required:
  4371. - basic
  4372. - goodsid
  4373. - qty
  4374. type: object
  4375. erms3.SpotPriceOrder:
  4376. properties:
  4377. amount:
  4378. description: 金额
  4379. type: number
  4380. deliveryenddate:
  4381. description: 交收结束日期
  4382. type: string
  4383. deliverystartdate:
  4384. description: 交收开始日期
  4385. type: string
  4386. price:
  4387. description: 价格
  4388. type: number
  4389. qty:
  4390. description: 数量
  4391. type: number
  4392. required:
  4393. - amount
  4394. - price
  4395. - qty
  4396. type: object
  4397. hsby.GetHsbyMyCountRsp:
  4398. properties:
  4399. myCouponCount:
  4400. description: 我的优惠卷数量
  4401. type: integer
  4402. myOrderDetailListingCount:
  4403. description: 我的订单求购中数量
  4404. type: integer
  4405. myOrderDetailPreCount:
  4406. description: 我的订单抢购中数量
  4407. type: integer
  4408. myPackageUnReceiveCount:
  4409. description: 我的包裹待收货数量
  4410. type: integer
  4411. myPackageUnSendCount:
  4412. description: 我的包裹待发货数量
  4413. type: integer
  4414. myPayOrderCount:
  4415. description: 我的订单待付款数量
  4416. type: integer
  4417. type: object
  4418. hsby.QueryProvincesAndCitiesRsp:
  4419. properties:
  4420. cities:
  4421. description: 市
  4422. items:
  4423. $ref: '#/definitions/models.Division'
  4424. type: array
  4425. province:
  4426. $ref: '#/definitions/models.Division'
  4427. description: 省
  4428. type: object
  4429. models.Clientfixedadconfig:
  4430. properties:
  4431. adsort:
  4432. description: 排序
  4433. type: integer
  4434. adtype:
  4435. description: 广告位类型 - 1:新品抢购(HSBY)
  4436. type: integer
  4437. areauserid:
  4438. description: 所属机构ID
  4439. type: integer
  4440. createdate:
  4441. description: 创建时间
  4442. type: string
  4443. creatorid:
  4444. description: 创建人
  4445. type: integer
  4446. imagepath:
  4447. description: 图片
  4448. type: string
  4449. isshow:
  4450. description: 是否展示 - 0:不展示 1:展示
  4451. type: integer
  4452. modifierid:
  4453. description: 操作人
  4454. type: integer
  4455. recsize:
  4456. description: 推荐尺寸
  4457. type: string
  4458. title:
  4459. description: 标题
  4460. type: string
  4461. updatedate:
  4462. description: 更新时间
  4463. type: string
  4464. urlcontent:
  4465. description: 链接(地址或商品ID)
  4466. type: string
  4467. urltype:
  4468. description: 链接类型 - 1:直接地址 2:商品ID
  4469. type: integer
  4470. required:
  4471. - adsort
  4472. - adtype
  4473. type: object
  4474. models.Division:
  4475. properties:
  4476. autoid:
  4477. description: 自增ID
  4478. type: integer
  4479. divisioncode:
  4480. description: 行政代码
  4481. type: string
  4482. divisionlevel:
  4483. description: 行政级别
  4484. type: string
  4485. divisionname:
  4486. description: 行政名称
  4487. type: string
  4488. modifierid:
  4489. description: 修改人
  4490. type: integer
  4491. modifytime:
  4492. description: 修改时间
  4493. type: string
  4494. parentcode:
  4495. description: 上级行政代码
  4496. type: string
  4497. pathname:
  4498. description: 路径名称
  4499. type: string
  4500. postcode:
  4501. description: 邮政编码
  4502. type: string
  4503. separablename:
  4504. description: 可拆分的全称
  4505. type: string
  4506. shortcode:
  4507. description: 地区简码
  4508. type: string
  4509. required:
  4510. - autoid
  4511. - divisioncode
  4512. type: object
  4513. models.Enumdicitem:
  4514. properties:
  4515. autoid:
  4516. description: 自增ID
  4517. type: integer
  4518. bankmappedvalue:
  4519. description: 银行服务对应值
  4520. type: string
  4521. enumdiccode:
  4522. description: 所属枚举代码
  4523. type: string
  4524. enumdicid:
  4525. description: 所属枚举ID
  4526. type: integer
  4527. enumdicname:
  4528. description: 枚举项名称
  4529. type: string
  4530. enumitemname:
  4531. description: 枚举项值
  4532. type: integer
  4533. enumitemstatus:
  4534. description: 枚举项状态 - 1.启用 2.不启用
  4535. type: integer
  4536. enumitemvalue:
  4537. description: 通用值 - [币种通用简写]
  4538. type: string
  4539. param1:
  4540. description: 参数1[币种:币种小数位]
  4541. type: string
  4542. param2:
  4543. description: 参数1[币种:币种显示单位]
  4544. type: string
  4545. remark:
  4546. description: 备注
  4547. type: string
  4548. required:
  4549. - autoid
  4550. - enumdiccode
  4551. - enumdicid
  4552. - enumitemname
  4553. type: object
  4554. models.ErmcpAreaStock:
  4555. properties:
  4556. brandname:
  4557. description: 品牌名称
  4558. type: string
  4559. curstock:
  4560. description: 期末库存量(今日量)
  4561. type: number
  4562. deliverygoodsid:
  4563. description: 现货品种ID
  4564. type: integer
  4565. enumdicname:
  4566. description: 单位名称
  4567. type: string
  4568. modelname:
  4569. description: 型号名称
  4570. type: string
  4571. oristock:
  4572. description: 期初库存量(昨日量)
  4573. type: number
  4574. spotgoodsbrandid:
  4575. description: 现货品牌ID
  4576. type: integer
  4577. spotgoodsmodelid:
  4578. description: 现货型号ID
  4579. type: integer
  4580. todaybuyinqty:
  4581. description: 今日采购入库量
  4582. type: number
  4583. todayproduceinqty:
  4584. description: 今日生产入库量
  4585. type: number
  4586. todayproduceoutqty:
  4587. description: 今日生产出库量
  4588. type: number
  4589. todayselloutqty:
  4590. description: 今日销售出库量
  4591. type: number
  4592. unitid:
  4593. description: 单位id
  4594. type: integer
  4595. updatetime:
  4596. description: 更新时间
  4597. type: string
  4598. userid:
  4599. description: 机构ID
  4600. type: integer
  4601. username:
  4602. description: 机构名称
  4603. type: string
  4604. warehousecode:
  4605. description: 仓库代码
  4606. type: string
  4607. warehouseinfoid:
  4608. description: 仓库ID
  4609. type: string
  4610. warehousename:
  4611. description: 仓库名称
  4612. type: string
  4613. warehousetype:
  4614. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4615. type: integer
  4616. wrstandardcode:
  4617. description: 现货商品代码
  4618. type: string
  4619. wrstandardid:
  4620. description: 现货商品ID
  4621. type: string
  4622. wrstandardname:
  4623. description: 现货商品名称
  4624. type: string
  4625. type: object
  4626. models.ErmcpHisExposure:
  4627. properties:
  4628. needhedgeexposoure:
  4629. description: 应套保敞口
  4630. type: number
  4631. reckondate:
  4632. description: 日照时期(yyyyMMdd)
  4633. type: string
  4634. totalexposure:
  4635. description: 总敞口
  4636. type: number
  4637. type: object
  4638. models.ErmcpMiddleGoodsModel:
  4639. properties:
  4640. areauserid:
  4641. description: 机构用户ID
  4642. type: integer
  4643. createtime:
  4644. description: 修改时间
  4645. type: string
  4646. enumdicname:
  4647. description: 单位名称
  4648. type: string
  4649. evaluateratio:
  4650. description: 估价系数
  4651. type: number
  4652. goodsgroupid:
  4653. description: 关联期货品种ID
  4654. type: integer
  4655. isvalid:
  4656. description: 状态 0-无效(停用) 1-有效(正常)
  4657. type: integer
  4658. middlegoodscode:
  4659. description: 套保品种代码
  4660. type: string
  4661. middlegoodsid:
  4662. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4663. type: integer
  4664. middlegoodsname:
  4665. description: 套保品种名称
  4666. type: string
  4667. modifytime:
  4668. description: 修改时间
  4669. type: string
  4670. needhedgeratio:
  4671. description: 套保比率
  4672. type: number
  4673. qtydecimalplace:
  4674. description: 数量小数位
  4675. type: integer
  4676. relatedgoodsid:
  4677. description: 关联交易商品ID
  4678. type: integer
  4679. relatedgoodstype:
  4680. description: 关联商品类型 - 1:期货合约 2:现货品种
  4681. type: integer
  4682. type: object
  4683. models.ErmcpReportDayFR:
  4684. properties:
  4685. areauserid:
  4686. description: 所属机构
  4687. type: integer
  4688. collectinvoiceamount:
  4689. description: 今日开票金额
  4690. type: number
  4691. collectinvoicecount:
  4692. description: 今日开票笔数
  4693. type: integer
  4694. collectmoneyamount:
  4695. description: 今日收款金额
  4696. type: number
  4697. collectmoneycount:
  4698. description: 今日收款笔数
  4699. type: integer
  4700. payinvoiceamount:
  4701. description: 今日收票金额
  4702. type: number
  4703. payinvoicecount:
  4704. description: 今日收票笔数
  4705. type: integer
  4706. paymoneyamount:
  4707. description: 今日付款金额
  4708. type: number
  4709. paymoneycount:
  4710. description: 今日付款笔数
  4711. type: integer
  4712. reckondate:
  4713. description: 日照时期(yyyyMMdd)
  4714. type: string
  4715. updatetime:
  4716. description: 更新时间
  4717. type: string
  4718. type: object
  4719. models.ErmcpWrstandard:
  4720. properties:
  4721. areauserid:
  4722. description: 所属机构
  4723. type: integer
  4724. createtime:
  4725. description: 创建时间
  4726. type: string
  4727. creatorid:
  4728. description: 创建人
  4729. type: integer
  4730. deliverygoodsid:
  4731. description: 品种ID
  4732. type: integer
  4733. enumdicname:
  4734. description: 单位名称
  4735. type: string
  4736. isvalid:
  4737. description: 是否有效 0-无效(停用) 1-有效(正常)
  4738. type: integer
  4739. minivalue:
  4740. description: 最小变动值
  4741. type: integer
  4742. minivaluedp:
  4743. description: 最小变动值小数位
  4744. type: integer
  4745. realminivalue:
  4746. description: 实际最小变动值
  4747. type: integer
  4748. realminivaluedp:
  4749. description: 实际最小变动值小数位
  4750. type: integer
  4751. remark:
  4752. description: 备注
  4753. type: string
  4754. unitid:
  4755. description: 单位ID
  4756. type: integer
  4757. updatetime:
  4758. description: 更新时间
  4759. type: string
  4760. wrstandardcode:
  4761. description: 现货商品代码
  4762. type: string
  4763. wrstandardid:
  4764. description: 现货商品ID(SEQ_WRSTANDARD)
  4765. type: integer
  4766. wrstandardname:
  4767. description: 现货商品名称
  4768. type: string
  4769. type: object
  4770. models.Externalexchange:
  4771. properties:
  4772. autoid:
  4773. description: AutoID - SEQ_EXTERNALEXCHANGE
  4774. type: integer
  4775. exchangefullname:
  4776. description: 外部交易所全称
  4777. type: string
  4778. exexchangecode:
  4779. description: 外部交易所代码
  4780. type: string
  4781. exexchangename:
  4782. description: 外部交易所名称(简称)
  4783. type: string
  4784. ismarketprice:
  4785. description: 是否支持市价 - 0:不支持 1:支持
  4786. type: integer
  4787. quotegear:
  4788. description: 行情档位(1-10)
  4789. type: integer
  4790. showbrokerflag:
  4791. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  4792. type: integer
  4793. updatetime:
  4794. description: 更新时间
  4795. type: string
  4796. required:
  4797. - autoid
  4798. type: object
  4799. models.Funcmenulist:
  4800. properties:
  4801. iconame:
  4802. description: 菜单图标
  4803. type: string
  4804. menutype:
  4805. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  4806. type: integer
  4807. parentcode:
  4808. description: 上级资源代码
  4809. type: string
  4810. remark:
  4811. description: 备注
  4812. type: string
  4813. resourcecode:
  4814. description: 资源代码
  4815. type: string
  4816. resourcelevel:
  4817. description: 级别 1-一级 2-二级 3-三级 4-四级
  4818. type: integer
  4819. resourcename:
  4820. description: 资源名
  4821. type: string
  4822. sort:
  4823. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  4824. type: integer
  4825. url:
  4826. description: URL
  4827. type: string
  4828. required:
  4829. - resourcecode
  4830. type: object
  4831. models.Goods:
  4832. properties:
  4833. agreeunit:
  4834. description: 合约单位
  4835. type: number
  4836. auditaccountid:
  4837. description: 审核操作员账号
  4838. type: integer
  4839. audittime:
  4840. description: 审核时间
  4841. type: string
  4842. cancelaccountid:
  4843. description: 注销操作员账号
  4844. type: integer
  4845. canceltime:
  4846. description: 注销时间
  4847. type: string
  4848. closepricemode:
  4849. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4850. type: integer
  4851. closepriceparam:
  4852. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4853. type: number
  4854. createtime:
  4855. description: 创建时间
  4856. type: string
  4857. creatorid:
  4858. description: 创建人
  4859. type: integer
  4860. currencyid:
  4861. description: 报价货币ID
  4862. type: integer
  4863. cutmode:
  4864. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4865. type: integer
  4866. decimalplace:
  4867. description: 报价小数位
  4868. type: integer
  4869. delistingdate:
  4870. description: 商品退市时间(状态:退市) -- 已作废
  4871. type: string
  4872. delistingmode:
  4873. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4874. type: integer
  4875. deliveryflag:
  4876. description: 交割标志 - 0:不可交割 1:可交割
  4877. type: integer
  4878. forceclosemode:
  4879. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4880. type: integer
  4881. forceclosevalue:
  4882. description: 定期强平参数 [收益权]
  4883. type: integer
  4884. goodscode:
  4885. description: 商品代码(内部)
  4886. type: string
  4887. goodscurrencyid:
  4888. description: 合约货币ID
  4889. type: integer
  4890. goodsgroupid:
  4891. description: 所属商品组ID
  4892. type: integer
  4893. goodsid:
  4894. description: 商品ID(自增ID SEQ_GOODS)
  4895. type: integer
  4896. goodsname:
  4897. description: 商品名称
  4898. type: string
  4899. goodsquotetype:
  4900. description: '合约报价类型: 1-直接报价 2-间接报价'
  4901. type: integer
  4902. goodsstatus:
  4903. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4904. type: integer
  4905. goodstradetype:
  4906. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4907. type: integer
  4908. goodunitid:
  4909. description: 报价单位ID
  4910. type: integer
  4911. hasquoter:
  4912. description: 是否有报价商 - 0:无报价商 1:有报价商
  4913. type: integer
  4914. hqprotecttime:
  4915. description: 行情保护时间(秒)
  4916. type: integer
  4917. innerdealmode:
  4918. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4919. type: integer
  4920. isbuylimited:
  4921. description: 是否限制建仓量 - 0:不限制 1:限制
  4922. type: integer
  4923. lasttradedate:
  4924. description: 最后交易日期(状态:待退市)
  4925. type: string
  4926. listingdate:
  4927. description: 交易开始日期
  4928. type: string
  4929. marketid:
  4930. description: 所属市场ID
  4931. type: integer
  4932. modifierid:
  4933. description: 修改人
  4934. type: integer
  4935. modifystatus:
  4936. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4937. type: integer
  4938. modifytime:
  4939. description: 修改时间
  4940. type: string
  4941. outerdealmode:
  4942. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4943. type: integer
  4944. outgoodscode:
  4945. description: 商品代码(外部)
  4946. type: string
  4947. qtydecimalplace:
  4948. description: 成交量小数位
  4949. type: integer
  4950. quotegear:
  4951. description: 行情档位(1-10)
  4952. type: integer
  4953. quoteminunit:
  4954. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4955. type: integer
  4956. quoteshowtype:
  4957. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4958. type: integer
  4959. quoteshowtypeinterval:
  4960. description: 行情报价间隔时间(秒)(成交价时为0)
  4961. type: integer
  4962. remark:
  4963. description: 备注
  4964. type: string
  4965. required:
  4966. - goodscode
  4967. - goodsid
  4968. - goodsname
  4969. - marketid
  4970. type: object
  4971. models.GoodsBrand:
  4972. properties:
  4973. brandid:
  4974. description: 品牌ID
  4975. type: integer
  4976. brandname:
  4977. description: 品牌名称
  4978. type: string
  4979. isvalid:
  4980. description: 是否有效 - 0:无效 1:有效
  4981. type: integer
  4982. type: object
  4983. models.GoodsGroupConvert:
  4984. properties:
  4985. convertratio:
  4986. description: 折算系数
  4987. type: number
  4988. dstgoodsgroupid:
  4989. description: 目标期货品种ID
  4990. type: integer
  4991. goodsgroupname:
  4992. description: 期货品种名称
  4993. type: string
  4994. outergroupcode:
  4995. description: 期货品种代码
  4996. type: string
  4997. srcgoodsgroupid:
  4998. description: 源期货品种ID
  4999. type: integer
  5000. type: object
  5001. models.GoodsIDAndName:
  5002. properties:
  5003. goodscode:
  5004. description: 商品代码(内部)
  5005. type: string
  5006. goodsid:
  5007. description: 商品ID(自增ID SEQ_GOODS)
  5008. type: integer
  5009. goodsname:
  5010. description: 商品名称
  5011. type: string
  5012. marketid:
  5013. description: 所属市场ID
  5014. type: integer
  5015. required:
  5016. - goodscode
  5017. - goodsid
  5018. - goodsname
  5019. - marketid
  5020. type: object
  5021. models.GoodsTypeModel:
  5022. properties:
  5023. modelid:
  5024. description: 型号ID
  5025. type: integer
  5026. modelname:
  5027. description: 型号名称
  5028. type: string
  5029. updatetime:
  5030. description: 更新时间
  5031. type: string
  5032. type: object
  5033. models.Goodsgroup:
  5034. properties:
  5035. agreeunit:
  5036. description: 合约单位
  5037. type: number
  5038. canshort:
  5039. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5040. type: integer
  5041. closepricemode:
  5042. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5043. type: integer
  5044. closepriceparam:
  5045. description: 强平最新价浮动比例 - 方式为2时使用
  5046. type: number
  5047. createtime:
  5048. description: 创建时间
  5049. type: string
  5050. creatorid:
  5051. description: 创建人
  5052. type: integer
  5053. currencyid:
  5054. description: 报价货币ID
  5055. type: integer
  5056. decimalplace:
  5057. description: 报价小数位
  5058. type: integer
  5059. exercisetype:
  5060. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5061. type: integer
  5062. exexchangeid:
  5063. description: 外部交易所ID[通道交易]
  5064. type: integer
  5065. goodsgroupid:
  5066. description: 商品组ID(自增ID)
  5067. type: integer
  5068. goodsgroupname:
  5069. description: 商品组名称
  5070. type: string
  5071. goodsgroupstatus:
  5072. description: 商品组状态 - 1:正常 2:注销
  5073. type: integer
  5074. goodunitid:
  5075. description: 报价单位ID
  5076. type: integer
  5077. innerdealmode:
  5078. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5079. type: integer
  5080. isbuylimited:
  5081. description: 是否限制建仓量 - 0:不限制 1:限制
  5082. type: integer
  5083. marketid:
  5084. description: 所属市场ID
  5085. type: integer
  5086. modifierid:
  5087. description: 修改人
  5088. type: integer
  5089. modifytime:
  5090. description: 修改时间
  5091. type: string
  5092. outerdealmode:
  5093. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5094. type: integer
  5095. outergroupcode:
  5096. description: 外部商品组代码[通道交易]
  5097. type: string
  5098. premiumdecimalplace:
  5099. description: 权利金小数位[场外期权]
  5100. type: integer
  5101. premiumspreadalgorithm:
  5102. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5103. type: integer
  5104. premiumspreadvalue:
  5105. description: 权利金点差值[场外期权]
  5106. type: number
  5107. qtydecimalplace:
  5108. description: 成交量小数位
  5109. type: integer
  5110. quotegear:
  5111. description: 行情档位(1-10)
  5112. type: integer
  5113. quoteminunit:
  5114. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5115. type: integer
  5116. quoterid:
  5117. description: 报价商ID[场外期权]
  5118. type: integer
  5119. quotesourcegroupid:
  5120. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5121. type: integer
  5122. syncgoodsqty:
  5123. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5124. type: integer
  5125. required:
  5126. - goodsgroupid
  5127. - goodsgroupname
  5128. - goodsgroupstatus
  5129. - marketid
  5130. type: object
  5131. models.HsbyBuyMyPayOrder:
  5132. properties:
  5133. agreeunit:
  5134. description: 合约单位
  5135. type: number
  5136. buyaccountid:
  5137. description: 买方账号ID[报价币种]
  5138. type: integer
  5139. buyorderid:
  5140. description: 买方委托单号
  5141. type: string
  5142. createtime:
  5143. description: 创建时间
  5144. type: string
  5145. currencysign:
  5146. description: 货币符号
  5147. type: string
  5148. decimalplace:
  5149. description: 报价小数位
  5150. type: integer
  5151. goodscode:
  5152. description: 商品代码(内部)
  5153. type: string
  5154. goodsid:
  5155. description: 商品ID
  5156. type: integer
  5157. goodsname:
  5158. description: 商品名称
  5159. type: string
  5160. marketid:
  5161. description: 市场ID
  5162. type: integer
  5163. offamount:
  5164. description: 优惠金额
  5165. type: number
  5166. originalamount:
  5167. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  5168. type: number
  5169. payamount:
  5170. description: 支付金额 = TradeAmount + TradeCharge
  5171. type: number
  5172. payflag:
  5173. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5174. type: integer
  5175. paylimitedtime:
  5176. description: 支付期限
  5177. type: string
  5178. paytime:
  5179. description: 付款时间
  5180. type: string
  5181. picurls1:
  5182. description: 预售商品介绍图片[多张用逗号分隔]
  5183. type: string
  5184. picurls2:
  5185. description: 挂牌商品介绍图片[多张用逗号分隔]
  5186. type: string
  5187. sellaccountid:
  5188. description: 卖方账号ID[报价币种]
  5189. type: integer
  5190. sellorderid:
  5191. description: 卖方委托单号
  5192. type: string
  5193. tradeamount:
  5194. description: 成交金额
  5195. type: number
  5196. tradecharge:
  5197. description: 成交手续费(买方)
  5198. type: number
  5199. tradedate:
  5200. description: 交易日(yyyyMMdd)
  5201. type: string
  5202. tradeid:
  5203. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5204. type: string
  5205. trademode:
  5206. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5207. 21:竞拍-大宗式 22:受托竞价
  5208. type: integer
  5209. tradeprice:
  5210. description: 成交价格
  5211. type: number
  5212. tradeqty:
  5213. description: 成交数量
  5214. type: integer
  5215. vendorname1:
  5216. description: 预售商品供应商名称
  5217. type: string
  5218. vendorname2:
  5219. description: 挂牌商品供应商名称
  5220. type: string
  5221. required:
  5222. - goodscode
  5223. - goodsname
  5224. - tradeid
  5225. - trademode
  5226. type: object
  5227. models.HsbyBuyMyTradeDetail:
  5228. properties:
  5229. accountid:
  5230. description: 账户ID[报价币种]
  5231. type: integer
  5232. agreeunit:
  5233. description: 合约单位
  5234. type: number
  5235. amount:
  5236. description: 金额 = 价格 * 数量 * 合约单位
  5237. type: number
  5238. buyorsell:
  5239. description: 买卖 - 0:买 1:卖
  5240. type: integer
  5241. currencysign:
  5242. description: 货币符号
  5243. type: string
  5244. decimalplace:
  5245. description: 报价小数位
  5246. type: integer
  5247. goodscode:
  5248. description: 商品代码(内部)
  5249. type: string
  5250. goodsid:
  5251. description: 商品ID
  5252. type: integer
  5253. goodsname:
  5254. description: 商品名称
  5255. type: string
  5256. marketid:
  5257. description: 市场ID
  5258. type: integer
  5259. orderid:
  5260. description: 单号(成交单号)
  5261. type: string
  5262. picurls1:
  5263. description: 预售商品介绍图片[多张用逗号分隔]
  5264. type: string
  5265. picurls2:
  5266. description: 挂牌商品介绍图片[多张用逗号分隔]
  5267. type: string
  5268. price:
  5269. description: 价格
  5270. type: number
  5271. qty:
  5272. description: 数量
  5273. type: integer
  5274. time:
  5275. description: 时间
  5276. type: string
  5277. trademode:
  5278. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5279. 21:竞拍-大宗式 22:受托竞价
  5280. type: integer
  5281. vendorname1:
  5282. description: 预售商品供应商名称
  5283. type: string
  5284. vendorname2:
  5285. description: 挂牌商品供应商名称
  5286. type: string
  5287. required:
  5288. - accountid
  5289. - buyorsell
  5290. - goodscode
  5291. - goodsid
  5292. - goodsname
  5293. - marketid
  5294. - orderid
  5295. - qty
  5296. - time
  5297. - trademode
  5298. type: object
  5299. models.HsbyGoodsOrderDetail:
  5300. properties:
  5301. buyorsell:
  5302. description: 买卖 - 0:买 1:卖
  5303. type: integer
  5304. currencysign:
  5305. description: 货币符号
  5306. type: string
  5307. customername:
  5308. description: 客户名称(企业名称),已脱敏
  5309. type: string
  5310. enableqty:
  5311. description: 可用数量
  5312. type: integer
  5313. goodunit:
  5314. description: 报价单位
  5315. type: string
  5316. orderid:
  5317. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5318. type: string
  5319. orderprice:
  5320. description: 委托价格
  5321. type: number
  5322. ordertime:
  5323. description: 委托时间
  5324. type: string
  5325. required:
  5326. - buyorsell
  5327. - orderid
  5328. - ordertime
  5329. type: object
  5330. models.HsbyListingGoodsDetail:
  5331. properties:
  5332. agreeunit:
  5333. description: 合约单位
  5334. type: number
  5335. buymaxqty:
  5336. description: 购买上限 [71] - 0为不限
  5337. type: integer
  5338. currency:
  5339. description: 货币
  5340. type: string
  5341. currencysign:
  5342. description: 货币符号
  5343. type: string
  5344. decimalplace:
  5345. description: 报价小数位
  5346. type: integer
  5347. desccityid:
  5348. description: 目的地(市)ID
  5349. type: integer
  5350. descprovinceid:
  5351. description: 目的地(省)ID
  5352. type: integer
  5353. goodscode:
  5354. description: 商品代码(内部)
  5355. type: string
  5356. goodsdesc:
  5357. description: 商品详情
  5358. type: string
  5359. goodsid:
  5360. description: 商品ID(自增ID SEQ_GOODS)
  5361. type: integer
  5362. goodsname:
  5363. description: 商品名称
  5364. type: string
  5365. goodsprice:
  5366. description: 商品价格
  5367. type: number
  5368. hotindex:
  5369. description: 景点热度
  5370. type: integer
  5371. last:
  5372. description: 现价
  5373. type: number
  5374. limitdown:
  5375. description: 跌停价
  5376. type: number
  5377. limitup:
  5378. description: 涨停价
  5379. type: number
  5380. lotsize:
  5381. description: 手数最小变动单位
  5382. type: integer
  5383. marketid:
  5384. description: 所属市场ID
  5385. type: integer
  5386. picurls:
  5387. description: 介绍图片[多张用逗号分隔]
  5388. type: string
  5389. quoteminunit:
  5390. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5391. type: integer
  5392. stepvalue:
  5393. description: 价格最小变动单位
  5394. type: number
  5395. trademode:
  5396. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5397. 21:竞拍-大宗式 22:受托竞价
  5398. type: integer
  5399. vendorattr:
  5400. description: 供应商附件(多张,逗号分隔)
  5401. type: string
  5402. vendorname:
  5403. description: 供应商名称
  5404. type: string
  5405. vendorphone:
  5406. description: 供应商客服电话
  5407. type: string
  5408. videourls:
  5409. description: 介绍视频[多张用逗号分隔]
  5410. type: string
  5411. required:
  5412. - goodscode
  5413. - goodsid
  5414. - goodsname
  5415. - marketid
  5416. - trademode
  5417. type: object
  5418. models.HsbyMarketGoods:
  5419. properties:
  5420. accountid:
  5421. description: 账户ID[报价币种]
  5422. type: integer
  5423. agreeunit:
  5424. description: 合约单位
  5425. type: number
  5426. buyorsell:
  5427. description: 买卖 - 0:买 1:卖
  5428. type: integer
  5429. categoryid:
  5430. description: 类别ID(WRCATEGORY)
  5431. type: integer
  5432. currency:
  5433. description: 货币
  5434. type: string
  5435. currencysign:
  5436. description: 货币符号
  5437. type: string
  5438. customername:
  5439. description: 卖家名称
  5440. type: string
  5441. decimalplace:
  5442. description: 报价小数位
  5443. type: integer
  5444. goodscode:
  5445. description: 商品代码(内部)
  5446. type: string
  5447. goodsid:
  5448. description: 商品ID
  5449. type: integer
  5450. goodsname:
  5451. description: 商品名称
  5452. type: string
  5453. goodsprice:
  5454. description: 商品价格
  5455. type: number
  5456. hascoupon:
  5457. description: 是否可用优惠卷
  5458. type: boolean
  5459. hotindex:
  5460. description: 景点热度
  5461. type: integer
  5462. marketid:
  5463. description: 市场ID
  5464. type: integer
  5465. orderid:
  5466. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5467. type: string
  5468. orderprice:
  5469. description: 委托价格
  5470. type: number
  5471. orderstatus:
  5472. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5473. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5474. 16:成交失败违约(荷兰式竞拍专用)
  5475. type: integer
  5476. picurls:
  5477. description: 介绍图片[多张用逗号分隔]
  5478. type: string
  5479. quoteminunit:
  5480. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5481. type: integer
  5482. sellUserID:
  5483. description: 卖方UserID
  5484. type: integer
  5485. trademode:
  5486. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5487. 21:竞拍-大宗式 22:受托竞价
  5488. type: integer
  5489. videourls:
  5490. description: 介绍视频[多张用逗号分隔]
  5491. type: string
  5492. required:
  5493. - accountid
  5494. - buyorsell
  5495. - goodscode
  5496. - goodsid
  5497. - goodsname
  5498. - marketid
  5499. - orderid
  5500. - trademode
  5501. type: object
  5502. models.HsbyMarketGoodsDetail:
  5503. properties:
  5504. accountid:
  5505. description: 账户ID[报价币种]
  5506. type: integer
  5507. agreeunit:
  5508. description: 合约单位
  5509. type: number
  5510. buymaxqty:
  5511. description: 购买上限 [71] - 0为不限
  5512. type: integer
  5513. buyorsell:
  5514. description: 买卖 - 0:买 1:卖
  5515. type: integer
  5516. cancelqty:
  5517. description: 撤单数量
  5518. type: integer
  5519. categoryid:
  5520. description: 类别ID(WRCATEGORY)
  5521. type: integer
  5522. currency:
  5523. description: 货币
  5524. type: string
  5525. currencysign:
  5526. description: 货币符号
  5527. type: string
  5528. customername:
  5529. description: 卖家名称
  5530. type: string
  5531. decimalplace:
  5532. description: 报价小数位
  5533. type: integer
  5534. goodscode:
  5535. description: 商品代码(内部)
  5536. type: string
  5537. goodsdesc:
  5538. description: 商品详情
  5539. type: string
  5540. goodsid:
  5541. description: 商品ID
  5542. type: integer
  5543. goodsname:
  5544. description: 商品名称
  5545. type: string
  5546. goodsprice:
  5547. description: 商品价格
  5548. type: number
  5549. hotindex:
  5550. description: 景点热度
  5551. type: integer
  5552. lotsize:
  5553. description: 手数最小变动单位
  5554. type: integer
  5555. marketid:
  5556. description: 市场ID
  5557. type: integer
  5558. orderid:
  5559. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5560. type: string
  5561. orderprice:
  5562. description: 委托价格
  5563. type: number
  5564. orderqty:
  5565. description: 委托数量
  5566. type: integer
  5567. orderstatus:
  5568. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5569. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5570. 16:成交失败违约(荷兰式竞拍专用)
  5571. type: integer
  5572. picurls:
  5573. description: 介绍图片[多张用逗号分隔]
  5574. type: string
  5575. quoteminunit:
  5576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5577. type: integer
  5578. sellUserID:
  5579. description: 卖方UserID
  5580. type: integer
  5581. trademode:
  5582. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5583. 21:竞拍-大宗式 22:受托竞价
  5584. type: integer
  5585. tradeqty:
  5586. description: 成交数量
  5587. type: integer
  5588. vendorattr:
  5589. description: 供应商附件(多张,逗号分隔)
  5590. type: string
  5591. vendorname:
  5592. description: 供应商名称
  5593. type: string
  5594. vendorphone:
  5595. description: 供应商客服电话
  5596. type: string
  5597. videourls:
  5598. description: 介绍视频[多张用逗号分隔]
  5599. type: string
  5600. required:
  5601. - accountid
  5602. - buyorsell
  5603. - goodscode
  5604. - goodsid
  5605. - goodsname
  5606. - marketid
  5607. - orderid
  5608. - orderqty
  5609. - trademode
  5610. type: object
  5611. models.HsbyMarketInfo:
  5612. properties:
  5613. marketid:
  5614. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5615. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5616. type: integer
  5617. marketname:
  5618. description: 市场名称
  5619. type: string
  5620. marketstatus:
  5621. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5622. type: integer
  5623. trademode:
  5624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5625. 21:竞拍-大宗式 22:受托竞价
  5626. type: integer
  5627. required:
  5628. - marketid
  5629. - marketstatus
  5630. - trademode
  5631. type: object
  5632. models.HsbyMyGoods:
  5633. properties:
  5634. accountid:
  5635. description: 账号Id
  5636. type: integer
  5637. agreeunit:
  5638. description: 合约单位
  5639. type: number
  5640. buyaverageprice:
  5641. description: 持仓均价
  5642. type: number
  5643. buycurholderamount:
  5644. description: 买当前持仓总金额[商品币种]
  5645. type: number
  5646. buycurpositionqty:
  5647. description: 买当前持仓总数量
  5648. type: integer
  5649. buymaxqty:
  5650. description: 购买上限 [71] - 0为不限
  5651. type: integer
  5652. currencysign:
  5653. description: 货币符号
  5654. type: string
  5655. decimalplace:
  5656. description: 报价小数位
  5657. type: integer
  5658. enableqty:
  5659. description: 可用数量
  5660. type: integer
  5661. goodscode:
  5662. description: 商品代码(内部)
  5663. type: string
  5664. goodsid:
  5665. description: 商品Id
  5666. type: integer
  5667. goodsname:
  5668. description: 商品名称
  5669. type: string
  5670. goodsprice:
  5671. description: 商品价格
  5672. type: number
  5673. goodsstatus:
  5674. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5675. type: integer
  5676. last:
  5677. description: 现价(仅使用于挂牌点选)
  5678. type: number
  5679. limitdown:
  5680. description: 跌停价(仅使用于挂牌点选)
  5681. type: number
  5682. limitup:
  5683. description: 涨停价(仅使用于挂牌点选)
  5684. type: number
  5685. lotsize:
  5686. description: 手数最小变动单位
  5687. type: integer
  5688. marketid:
  5689. description: 所属市场ID
  5690. type: integer
  5691. picurls:
  5692. description: 介绍图片[多张用逗号分隔]
  5693. type: string
  5694. quoteminunit:
  5695. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5696. type: integer
  5697. stepvalue:
  5698. description: 价格最小变动单位
  5699. type: number
  5700. trademode:
  5701. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5702. 21:竞拍-大宗式 22:受托竞价
  5703. type: integer
  5704. required:
  5705. - accountid
  5706. - goodscode
  5707. - goodsid
  5708. - goodsname
  5709. - marketid
  5710. - trademode
  5711. type: object
  5712. models.HsbyMyPackage:
  5713. properties:
  5714. accountid:
  5715. description: 账户ID
  5716. type: integer
  5717. address:
  5718. description: 提货人详细地址
  5719. type: string
  5720. agreeunit:
  5721. description: 合约单位
  5722. type: number
  5723. amount:
  5724. description: 提货金额
  5725. type: number
  5726. auditer:
  5727. description: 审核人
  5728. type: integer
  5729. audittime:
  5730. description: 审核时间
  5731. type: string
  5732. averageprice:
  5733. description: 均价
  5734. type: number
  5735. cardnum:
  5736. description: 提货人证件号码
  5737. type: string
  5738. cardtypeid:
  5739. description: 提货人证件类型
  5740. type: integer
  5741. checkremark:
  5742. description: 审核备注
  5743. type: string
  5744. currencysign:
  5745. description: 货币符号
  5746. type: string
  5747. decimalplace:
  5748. description: 报价小数位
  5749. type: integer
  5750. goodscode:
  5751. description: 商品代码(内部)
  5752. type: string
  5753. goodsid:
  5754. description: 商品ID
  5755. type: integer
  5756. goodsname:
  5757. description: 商品名称
  5758. type: string
  5759. handlestatus:
  5760. description: 处理状态
  5761. type: integer
  5762. marketid:
  5763. description: 市场ID
  5764. type: integer
  5765. phonenum:
  5766. description: 提货人联系方式
  5767. type: string
  5768. picurls:
  5769. description: 介绍图片[多张用逗号分隔]
  5770. type: string
  5771. qty:
  5772. description: 提货数量
  5773. type: number
  5774. recivername:
  5775. description: 提货人姓名
  5776. type: string
  5777. reqtime:
  5778. description: 更新时间
  5779. type: string
  5780. takemode:
  5781. description: 提货方式 - 2:自提 3:配送
  5782. type: integer
  5783. takeorderid:
  5784. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5785. type: string
  5786. takeorderstatus:
  5787. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5788. type: integer
  5789. takeremark:
  5790. description: 提货备注
  5791. type: string
  5792. tradedate:
  5793. description: 交易日(yyyyMMdd)
  5794. type: string
  5795. trademode:
  5796. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5797. 21:竞拍-大宗式 22:受托竞价
  5798. type: integer
  5799. userid:
  5800. description: 用户ID
  5801. type: integer
  5802. vendorname:
  5803. description: 供应商名称
  5804. type: string
  5805. required:
  5806. - goodscode
  5807. - goodsname
  5808. - takeorderid
  5809. - trademode
  5810. type: object
  5811. models.HsbyPreGoods:
  5812. properties:
  5813. agreeunit:
  5814. description: 合约单位
  5815. type: number
  5816. currency:
  5817. description: 货币
  5818. type: string
  5819. currencysign:
  5820. description: 货币符号
  5821. type: string
  5822. decimalplace:
  5823. description: 报价小数位
  5824. type: integer
  5825. desccityid:
  5826. description: 目的地(市)
  5827. type: integer
  5828. descprovinceid:
  5829. description: 目的地(省)
  5830. type: integer
  5831. enableqty:
  5832. description: 剩余数量
  5833. type: integer
  5834. goodscode:
  5835. description: 商品代码(内部)
  5836. type: string
  5837. goodsid:
  5838. description: 商品ID(自增ID SEQ_GOODS)
  5839. type: integer
  5840. goodsname:
  5841. description: 商品名称
  5842. type: string
  5843. goodsstatus:
  5844. description: 商品状态- 2:未上市 3:上市
  5845. type: integer
  5846. lasttradedate:
  5847. description: 最后交易日期(状态:待退市)
  5848. type: string
  5849. listingdate:
  5850. description: 交易开始日期
  5851. type: string
  5852. marketid:
  5853. description: 所属市场ID
  5854. type: integer
  5855. picurls:
  5856. description: 介绍图片[多张用逗号分隔]
  5857. type: string
  5858. presaledqty:
  5859. description: 已预售量(预售结束时更新)
  5860. type: integer
  5861. presaleqty:
  5862. description: 预售数量
  5863. type: integer
  5864. quoteminunit:
  5865. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5866. type: integer
  5867. refprice:
  5868. description: 参考价格[一口价]
  5869. type: number
  5870. relatedgoodsid:
  5871. description: 关联交易合约ID
  5872. type: integer
  5873. trademode:
  5874. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5875. 21:竞拍-大宗式 22:受托竞价
  5876. type: integer
  5877. videourls:
  5878. description: 介绍视频[多张用逗号分隔]
  5879. type: string
  5880. required:
  5881. - goodscode
  5882. - goodsid
  5883. - goodsname
  5884. - marketid
  5885. - trademode
  5886. type: object
  5887. models.HsbyPreGoodsDetail:
  5888. properties:
  5889. agreeunit:
  5890. description: 合约单位
  5891. type: number
  5892. buymaxqty:
  5893. description: 购买上限 [71] - 0为不限
  5894. type: integer
  5895. currency:
  5896. description: 货币
  5897. type: string
  5898. currencysign:
  5899. description: 货币符号
  5900. type: string
  5901. customername:
  5902. description: 发行单位
  5903. type: string
  5904. decimalplace:
  5905. description: 报价小数位
  5906. type: integer
  5907. desccityid:
  5908. description: 目的地(市)ID
  5909. type: integer
  5910. descprovinceid:
  5911. description: 目的地(省)ID
  5912. type: integer
  5913. enableqty:
  5914. description: 剩余数量
  5915. type: integer
  5916. goodscode:
  5917. description: 商品代码(内部)
  5918. type: string
  5919. goodsdesc:
  5920. description: 商品详情
  5921. type: string
  5922. goodsid:
  5923. description: 商品ID(自增ID SEQ_GOODS)
  5924. type: integer
  5925. goodsname:
  5926. description: 商品名称
  5927. type: string
  5928. goodsstatus:
  5929. description: 商品状态- 2:未上市 3:上市
  5930. type: integer
  5931. goodunit:
  5932. description: 报价单位
  5933. type: string
  5934. lasttradedate:
  5935. description: 最后交易日期(状态:待退市)
  5936. type: string
  5937. listingdate:
  5938. description: 交易开始日期
  5939. type: string
  5940. lotsize:
  5941. description: 手数最小变动单位
  5942. type: integer
  5943. marketid:
  5944. description: 所属市场ID
  5945. type: integer
  5946. picurls:
  5947. description: 介绍图片[多张用逗号分隔]
  5948. type: string
  5949. presaledqty:
  5950. description: 已预售量(预售结束时更新)
  5951. type: integer
  5952. presaleqty:
  5953. description: 预售数量
  5954. type: integer
  5955. quoteminunit:
  5956. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5957. type: integer
  5958. refprice:
  5959. description: 参考价格[一口价]
  5960. type: number
  5961. relatedgoodsid:
  5962. description: 关联交易合约ID
  5963. type: integer
  5964. stepvalue:
  5965. description: 价格最小变动单位
  5966. type: number
  5967. trademode:
  5968. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5969. 21:竞拍-大宗式 22:受托竞价
  5970. type: integer
  5971. vendorattr:
  5972. description: 供应商附件(多张,逗号分隔)
  5973. type: string
  5974. vendorname:
  5975. description: 供应商名称
  5976. type: string
  5977. vendorphone:
  5978. description: 供应商客服电话
  5979. type: string
  5980. videourls:
  5981. description: 介绍视频[多张用逗号分隔]
  5982. type: string
  5983. required:
  5984. - goodscode
  5985. - goodsid
  5986. - goodsname
  5987. - marketid
  5988. - trademode
  5989. type: object
  5990. models.HsbySellCollectionOrder:
  5991. properties:
  5992. agreeunit:
  5993. description: 合约单位
  5994. type: number
  5995. buyaccountid:
  5996. description: 买方账号ID[报价币种]
  5997. type: integer
  5998. buyorderid:
  5999. description: 买方委托单号
  6000. type: string
  6001. createtime:
  6002. description: 创建时间
  6003. type: string
  6004. currencysign:
  6005. description: 货币符号
  6006. type: string
  6007. decimalplace:
  6008. description: 报价小数位
  6009. type: integer
  6010. goodscode:
  6011. description: 商品代码(内部)
  6012. type: string
  6013. goodsid:
  6014. description: 商品ID
  6015. type: integer
  6016. goodsname:
  6017. description: 商品名称
  6018. type: string
  6019. marketid:
  6020. description: 市场ID
  6021. type: integer
  6022. offamount:
  6023. description: 优惠金额
  6024. type: number
  6025. payamount:
  6026. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6027. type: number
  6028. payflag:
  6029. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6030. type: integer
  6031. paylimitedtime:
  6032. description: 支付期限
  6033. type: string
  6034. paytime:
  6035. description: 付款时间
  6036. type: string
  6037. picurls:
  6038. description: 商品介绍图片[多张用逗号分隔]
  6039. type: string
  6040. sellaccountid:
  6041. description: 卖方账号ID[报价币种]
  6042. type: integer
  6043. sellorderid:
  6044. description: 卖方委托单号
  6045. type: string
  6046. tradeamount:
  6047. description: 成交金额
  6048. type: number
  6049. tradecharge:
  6050. description: 成交手续费(买方)
  6051. type: number
  6052. tradedate:
  6053. description: 交易日(yyyyMMdd)
  6054. type: string
  6055. tradeid:
  6056. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6057. type: string
  6058. trademode:
  6059. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6060. 21:竞拍-大宗式 22:受托竞价
  6061. type: integer
  6062. tradeprice:
  6063. description: 成交价格
  6064. type: number
  6065. tradeqty:
  6066. description: 成交数量
  6067. type: integer
  6068. required:
  6069. - goodscode
  6070. - goodsname
  6071. - tradeid
  6072. - trademode
  6073. type: object
  6074. models.HsbySellMyDetail:
  6075. properties:
  6076. accountid:
  6077. description: 账户ID[报价币种]
  6078. type: integer
  6079. agreeunit:
  6080. description: 合约单位
  6081. type: number
  6082. buyorsell:
  6083. description: 买卖 - 0:买 1:卖
  6084. type: integer
  6085. currencysign:
  6086. description: 货币符号
  6087. type: string
  6088. decimalplace:
  6089. description: 报价小数位
  6090. type: integer
  6091. goodscode:
  6092. description: 商品代码(内部)
  6093. type: string
  6094. goodsid:
  6095. description: 商品ID
  6096. type: integer
  6097. goodsname:
  6098. description: 商品名称
  6099. type: string
  6100. marketid:
  6101. description: 市场ID
  6102. type: integer
  6103. orderid:
  6104. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6105. type: string
  6106. ordertype:
  6107. description: 单据类型:0 - 发布中, 1 - 已完成
  6108. type: integer
  6109. picurls:
  6110. description: 介绍图片[多张用逗号分隔]
  6111. type: string
  6112. price:
  6113. description: 价格
  6114. type: number
  6115. qty:
  6116. description: 数量
  6117. type: integer
  6118. time:
  6119. description: 时间
  6120. type: string
  6121. trademode:
  6122. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6123. 21:竞拍-大宗式 22:受托竞价
  6124. type: integer
  6125. vendorname:
  6126. description: 供应商名称
  6127. type: string
  6128. required:
  6129. - accountid
  6130. - buyorsell
  6131. - goodscode
  6132. - goodsid
  6133. - goodsname
  6134. - marketid
  6135. - orderid
  6136. - time
  6137. - trademode
  6138. type: object
  6139. models.HsbyTopGoods:
  6140. properties:
  6141. agreeunit:
  6142. description: 合约单位
  6143. type: number
  6144. currency:
  6145. description: 货币
  6146. type: string
  6147. currencysign:
  6148. description: 货币符号
  6149. type: string
  6150. decimalplace:
  6151. description: 报价小数位
  6152. type: integer
  6153. desccityid:
  6154. description: 目的地(市)
  6155. type: integer
  6156. descprovinceid:
  6157. description: 目的地(省)
  6158. type: integer
  6159. goodscode:
  6160. description: 商品代码(内部)
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID(自增ID SEQ_GOODS)
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. hotindex:
  6169. description: 景点热度
  6170. type: integer
  6171. last:
  6172. description: 现价
  6173. type: number
  6174. marketid:
  6175. description: 所属市场ID
  6176. type: integer
  6177. picurls:
  6178. description: 介绍图片[多张用逗号分隔]
  6179. type: string
  6180. quoteminunit:
  6181. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6182. type: integer
  6183. trademode:
  6184. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6185. 21:竞拍-大宗式 22:受托竞价
  6186. type: integer
  6187. videourls:
  6188. description: 介绍视频[多张用逗号分隔]
  6189. type: string
  6190. required:
  6191. - goodscode
  6192. - goodsid
  6193. - goodsname
  6194. - marketid
  6195. - trademode
  6196. type: object
  6197. models.HybsMyBuyOrderDetail:
  6198. properties:
  6199. accountid:
  6200. description: 账户ID[报价币种]
  6201. type: integer
  6202. agreeunit:
  6203. description: 合约单位
  6204. type: number
  6205. buyorsell:
  6206. description: 买卖 - 0:买 1:卖
  6207. type: integer
  6208. cancelqty:
  6209. description: 撤单数量
  6210. type: integer
  6211. currencysign:
  6212. description: 货币符号
  6213. type: string
  6214. decimalplace:
  6215. description: 报价小数位
  6216. type: integer
  6217. goodscode:
  6218. description: 商品代码(内部)
  6219. type: string
  6220. goodsid:
  6221. description: 商品ID
  6222. type: integer
  6223. goodsname:
  6224. description: 商品名称
  6225. type: string
  6226. listingselecttype:
  6227. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6228. type: integer
  6229. marketid:
  6230. description: 市场ID
  6231. type: integer
  6232. mybuystatus:
  6233. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6234. type: integer
  6235. orderamount:
  6236. description: 委托金额
  6237. type: number
  6238. orderid:
  6239. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6240. type: string
  6241. orderprice:
  6242. description: 委托价格
  6243. type: number
  6244. orderqty:
  6245. description: 委托数量
  6246. type: integer
  6247. orderstatus:
  6248. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6249. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6250. 16:成交失败违约(荷兰式竞拍专用)
  6251. type: integer
  6252. ordertime:
  6253. description: 委托时间
  6254. type: string
  6255. picurls1:
  6256. description: 预售商品介绍图片[多张用逗号分隔]
  6257. type: string
  6258. picurls2:
  6259. description: 挂牌商品介绍图片[多张用逗号分隔]
  6260. type: string
  6261. trademode:
  6262. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6263. 21:竞拍-大宗式 22:受托竞价
  6264. type: integer
  6265. tradeqty:
  6266. description: 成交数量
  6267. type: integer
  6268. vendorname1:
  6269. description: 预售商品供应商名称
  6270. type: string
  6271. vendorname2:
  6272. description: 挂牌商品供应商名称
  6273. type: string
  6274. required:
  6275. - accountid
  6276. - buyorsell
  6277. - goodscode
  6278. - goodsid
  6279. - goodsname
  6280. - marketid
  6281. - orderid
  6282. - orderqty
  6283. - ordertime
  6284. - trademode
  6285. type: object
  6286. models.Loginaccount:
  6287. properties:
  6288. canoutin:
  6289. description: 是否可出入金 - 0:不可 1:可
  6290. type: integer
  6291. clientroleid:
  6292. description: 终端角色ID
  6293. type: integer
  6294. haslogined:
  6295. description: 是否已登录 - 0:未登录 1:已登录
  6296. type: integer
  6297. hasupdatedpwd:
  6298. description: 是否已更改密码 - 0:未修改 1:已修改
  6299. type: integer
  6300. lastloginip:
  6301. description: 最新登录地址
  6302. type: string
  6303. lastloginmode:
  6304. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6305. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6306. type: integer
  6307. lastloginremark:
  6308. description: 最新登录描述
  6309. type: string
  6310. lastlogintime:
  6311. description: 最新登录时间
  6312. type: string
  6313. logincode:
  6314. description: 登录代码
  6315. type: string
  6316. loginfailnum:
  6317. description: 连续登录失败次数(登录成功时清零)
  6318. type: integer
  6319. loginid:
  6320. description: 登陆账号
  6321. type: integer
  6322. loginport:
  6323. description: 最新登录端口
  6324. type: integer
  6325. loginstatus:
  6326. description: 登录账号状态 1:正常 2:冻结 3:无效
  6327. type: integer
  6328. loginusertype:
  6329. description: 登录账号类型 - 1:投资者 2:机构交易员
  6330. type: integer
  6331. modifierid:
  6332. description: 修改人
  6333. type: integer
  6334. modifytime:
  6335. description: 修改时间
  6336. type: string
  6337. pwdwrongcount:
  6338. description: 密码错误次数
  6339. type: integer
  6340. taaccountrighttype:
  6341. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6342. type: integer
  6343. unfreezetime:
  6344. description: 账户解冻时间
  6345. type: string
  6346. userid:
  6347. description: 用户ID
  6348. type: integer
  6349. required:
  6350. - loginid
  6351. type: object
  6352. models.Market:
  6353. properties:
  6354. auctionwrtype:
  6355. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6356. type: integer
  6357. canacceptquote:
  6358. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6359. type: integer
  6360. cangoodsexercise:
  6361. description: '[期权]是否可现货行权- 0:否 1:是'
  6362. type: integer
  6363. cangoodsexercisetype:
  6364. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6365. type: integer
  6366. canmanualquotestrike:
  6367. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6368. type: integer
  6369. canmutistage:
  6370. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6371. type: integer
  6372. canpreexercise:
  6373. description: '[期权]是否可预申报- 0:否 1:是'
  6374. type: integer
  6375. clearinterval:
  6376. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6377. type: integer
  6378. contracttmp:
  6379. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6380. type: string
  6381. exchareaid:
  6382. description: 所属交易所,可以没有
  6383. type: integer
  6384. goodstype:
  6385. description: 商品类型 - 1:交易商品 2:仓单商品
  6386. type: integer
  6387. hasrebate:
  6388. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6389. type: integer
  6390. hastradecredit:
  6391. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6392. type: integer
  6393. haswr:
  6394. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6395. type: integer
  6396. isdeductmargin:
  6397. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6398. type: integer
  6399. isrecordsource:
  6400. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6401. type: integer
  6402. isreleasemargin:
  6403. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6404. type: integer
  6405. marginformula:
  6406. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6407. type: integer
  6408. marginformula2:
  6409. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6410. type: integer
  6411. marketid:
  6412. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6413. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6414. type: integer
  6415. marketname:
  6416. description: 市场名称
  6417. type: string
  6418. marketserviceid:
  6419. description: 市场服务ID
  6420. type: integer
  6421. marketstatus:
  6422. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6423. type: integer
  6424. markettype:
  6425. description: 市场类型- 1:非交易服务 2:交易服务
  6426. type: integer
  6427. matchermode:
  6428. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6429. type: integer
  6430. openmethod:
  6431. description: 开盘模式 - 0 自动 1手动
  6432. type: integer
  6433. otcuserid:
  6434. description: 场外期权做市商[场外期权]
  6435. type: integer
  6436. outersynctime:
  6437. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6438. type: string
  6439. pendingflag:
  6440. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6441. type: integer
  6442. pendingtime:
  6443. description: 待开市时间[通道交易-对冲](HH:mm)
  6444. type: string
  6445. performancetempid:
  6446. description: 履约计划模板ID - 作废
  6447. type: integer
  6448. premiumquotemode:
  6449. description: 权利金报价方式 - 1:自动 2:手动
  6450. type: integer
  6451. rebateratio:
  6452. description: 返利比率[竞价式]
  6453. type: number
  6454. reckonorder:
  6455. description: 结算顺序
  6456. type: integer
  6457. reckonpricealgorithm:
  6458. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6459. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6460. type: integer
  6461. reckonpriceparam:
  6462. description: 结算价参数
  6463. type: integer
  6464. reckontime:
  6465. description: 结算时间[通道交易-对冲](HH:mm)
  6466. type: string
  6467. roleprioritytype:
  6468. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6469. type: integer
  6470. selllistingauditflag:
  6471. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6472. type: integer
  6473. trademarkettype:
  6474. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6475. type: integer
  6476. trademode:
  6477. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6478. 21:竞拍-大宗式 22:受托竞价
  6479. type: integer
  6480. tradeproperty:
  6481. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6482. 8:场外期权
  6483. type: integer
  6484. tradetype:
  6485. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6486. type: integer
  6487. required:
  6488. - marketid
  6489. - marketstatus
  6490. - openmethod
  6491. - reckonpricealgorithm
  6492. - trademode
  6493. - tradeproperty
  6494. type: object
  6495. models.Marketrun:
  6496. properties:
  6497. afternexttradedate:
  6498. description: 下下交易日
  6499. type: string
  6500. clearquoteflag:
  6501. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6502. type: integer
  6503. lastreckondate:
  6504. description: 最新交易日(结算成功)
  6505. type: string
  6506. machinedate:
  6507. description: 机器时间
  6508. type: string
  6509. manualflag:
  6510. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6511. type: integer
  6512. marketid:
  6513. description: 市场ID
  6514. type: integer
  6515. nexttradedate:
  6516. description: 下一交易日
  6517. type: string
  6518. pretradedate:
  6519. description: 上一交易日
  6520. type: string
  6521. reckonflag:
  6522. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6523. type: integer
  6524. runstatus:
  6525. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6526. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6527. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6528. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6529. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6530. 62.今日免清算
  6531. type: integer
  6532. sectionid:
  6533. description: 时间段号[多时段时用]
  6534. type: integer
  6535. tradedate:
  6536. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6537. type: string
  6538. tradedate2:
  6539. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6540. type: string
  6541. updatetime:
  6542. description: 更新时间
  6543. type: string
  6544. required:
  6545. - marketid
  6546. - nexttradedate
  6547. - reckonflag
  6548. - runstatus
  6549. - tradedate
  6550. - tradedate2
  6551. type: object
  6552. models.Messageboard:
  6553. properties:
  6554. contactnum:
  6555. description: 联系电话
  6556. type: string
  6557. createtime:
  6558. description: 创建时间
  6559. type: string
  6560. message:
  6561. description: 留言信息
  6562. type: string
  6563. messageboardid:
  6564. description: 留言簿ID(SEQ_MessageBoard)
  6565. type: integer
  6566. userid:
  6567. description: 用户ID
  6568. type: integer
  6569. required:
  6570. - messageboardid
  6571. type: object
  6572. models.MyCoupon:
  6573. properties:
  6574. accountid:
  6575. description: 资金账户ID
  6576. type: integer
  6577. areauserid:
  6578. description: 所属机构
  6579. type: integer
  6580. conditionvalue:
  6581. description: 条件阈值(可为0)
  6582. type: number
  6583. couponcategroy:
  6584. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6585. type: integer
  6586. couponname:
  6587. description: 优惠券名称
  6588. type: string
  6589. coupontypeid:
  6590. description: 优惠券类型ID
  6591. type: string
  6592. couponvalue:
  6593. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6594. type: number
  6595. curfreezeqty:
  6596. description: 期末冻结数量
  6597. type: integer
  6598. curqty:
  6599. description: 期末数量
  6600. type: integer
  6601. isgeneral:
  6602. description: 是否通用券 - 0:否 1:是
  6603. type: integer
  6604. isunusable:
  6605. description: 是否不可用
  6606. type: boolean
  6607. limitedflag:
  6608. description: 是否指定商品 - 0:不限 1:限制
  6609. type: integer
  6610. limitedgoodsids:
  6611. description: 指定商品IDs[逗号分隔,前后加逗号]
  6612. type: string
  6613. orifreezeqty:
  6614. description: 期初冻结数量
  6615. type: integer
  6616. oriqty:
  6617. description: 期初数量
  6618. type: integer
  6619. reasontype:
  6620. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6621. type: integer
  6622. todaydecrease:
  6623. description: 今日减少
  6624. type: integer
  6625. todayincrease:
  6626. description: 今日增加
  6627. type: integer
  6628. userid:
  6629. description: 用户ID
  6630. type: integer
  6631. userscope:
  6632. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6633. type: string
  6634. required:
  6635. - accountid
  6636. - coupontypeid
  6637. type: object
  6638. models.MyCouponHold:
  6639. properties:
  6640. accountid:
  6641. description: 资金账户ID
  6642. type: integer
  6643. conditionvalue:
  6644. description: 条件阈值(可为0)
  6645. type: number
  6646. couponcategroy:
  6647. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6648. type: integer
  6649. couponholdid:
  6650. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6651. type: string
  6652. couponname:
  6653. description: 优惠券名称
  6654. type: string
  6655. coupontypeid:
  6656. description: 优惠券类型ID - SEQ_COUPONTYPE
  6657. type: string
  6658. couponvalue:
  6659. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6660. type: number
  6661. createtime:
  6662. description: 创建时间
  6663. type: string
  6664. enddate:
  6665. description: 结束日期
  6666. type: string
  6667. giveapplyid:
  6668. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6669. type: integer
  6670. holdstatus:
  6671. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6672. type: integer
  6673. isgeneral:
  6674. description: 是否通用券 - 0:否 1:是
  6675. type: integer
  6676. limitedflag:
  6677. description: 是否指定商品 - 0:不限 1:限制
  6678. type: integer
  6679. limitedgoodsids:
  6680. description: 指定商品IDs[逗号分隔]
  6681. type: string
  6682. qty:
  6683. description: 数量(按1平铺)
  6684. type: integer
  6685. startdate:
  6686. description: 开始日期
  6687. type: string
  6688. userid:
  6689. description: 用户ID
  6690. type: integer
  6691. userscope:
  6692. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6693. type: string
  6694. required:
  6695. - couponholdid
  6696. type: object
  6697. models.MyUsedCoupon:
  6698. properties:
  6699. accountid:
  6700. description: 资金账户ID(买方)
  6701. type: integer
  6702. conditionvalue:
  6703. description: 条件阈值(可为0)
  6704. type: number
  6705. couponcategroy:
  6706. description: 种类 - 1:现金券 2:折扣券
  6707. type: integer
  6708. couponname:
  6709. description: 优惠券名称
  6710. type: string
  6711. coupontypeid:
  6712. description: 优惠券类型ID(买方)
  6713. type: string
  6714. couponvalue:
  6715. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6716. type: number
  6717. createtime:
  6718. description: 创建时间
  6719. type: string
  6720. goodsid:
  6721. description: 商品ID
  6722. type: integer
  6723. handlestatus:
  6724. description: 处理状态
  6725. type: integer
  6726. marketid:
  6727. description: 市场ID
  6728. type: integer
  6729. offamount:
  6730. description: 优惠金额
  6731. type: number
  6732. orderid:
  6733. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6734. type: string
  6735. sellaccountid:
  6736. description: 资金账户ID(卖方)
  6737. type: integer
  6738. tradeamount:
  6739. description: 成交金额
  6740. type: number
  6741. tradeid:
  6742. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6743. type: string
  6744. usedqty:
  6745. description: 使用数量
  6746. type: integer
  6747. required:
  6748. - coupontypeid
  6749. - orderid
  6750. type: object
  6751. models.OperationPrimaryMenu:
  6752. properties:
  6753. Children:
  6754. description: 二级功能菜单
  6755. items:
  6756. $ref: '#/definitions/models.OperationSecondaryMenu'
  6757. type: array
  6758. Key:
  6759. description: 菜单KEY
  6760. type: string
  6761. Label:
  6762. description: 菜单标题
  6763. type: string
  6764. type: object
  6765. models.OperationSecondaryMenu:
  6766. properties:
  6767. Key:
  6768. description: 菜单KEY
  6769. type: string
  6770. Label:
  6771. description: 菜单标题
  6772. type: string
  6773. TabList:
  6774. description: 三级功能菜单
  6775. items:
  6776. $ref: '#/definitions/models.OperationTabMenu'
  6777. type: array
  6778. type: object
  6779. models.OperationTabMenu:
  6780. properties:
  6781. Key:
  6782. description: 菜单KEY
  6783. type: string
  6784. Label:
  6785. description: 菜单标题
  6786. type: string
  6787. type: object
  6788. models.QueryErrorInfosRsp:
  6789. properties:
  6790. description:
  6791. description: 异常描述
  6792. type: string
  6793. errorcode:
  6794. description: 异常代码
  6795. type: string
  6796. errorid:
  6797. description: 异常ID
  6798. type: integer
  6799. modulecode:
  6800. description: 所属模块
  6801. type: string
  6802. operatecode:
  6803. description: 所属操作
  6804. type: string
  6805. rownumber:
  6806. description: 行号
  6807. type: string
  6808. required:
  6809. - errorid
  6810. type: object
  6811. models.QueryHedgeOrderDetailRsp:
  6812. properties:
  6813. accountid:
  6814. description: 账户ID
  6815. type: integer
  6816. buyorsell:
  6817. description: 买卖 - 0:买 1:卖
  6818. type: integer
  6819. channelbuildtype:
  6820. description: 开平标志 - 0:无 1:建仓 2:平仓
  6821. type: integer
  6822. channelinnerorderstatus:
  6823. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6824. 9:全部成交
  6825. type: integer
  6826. channeloperatetype:
  6827. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6828. type: integer
  6829. closetype:
  6830. description: 平仓方式 - 0:无 1:平今 2:平昨
  6831. type: integer
  6832. curexchangerate:
  6833. description: 当前汇率
  6834. type: number
  6835. exchangefullname:
  6836. description: 外部交易所全称
  6837. type: string
  6838. goodscode:
  6839. description: 商品代码(内部)
  6840. type: string
  6841. goodsid:
  6842. description: 商品ID
  6843. type: integer
  6844. goodsname:
  6845. description: 商品名称
  6846. type: string
  6847. marketid:
  6848. description: 市场ID
  6849. type: integer
  6850. openfreezemargin:
  6851. description: 冻结保证金(冻结交易金额)
  6852. type: number
  6853. orderid:
  6854. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6855. type: string
  6856. orderprice:
  6857. description: 委托价格(账户)
  6858. type: number
  6859. orderqty:
  6860. description: 委托数量
  6861. type: integer
  6862. ordertime:
  6863. description: 委托时间
  6864. type: string
  6865. pricemode:
  6866. description: '取价方式 - 1:市价 2: 限价'
  6867. type: integer
  6868. tradedate:
  6869. description: 交易日(yyyyMMdd)
  6870. type: string
  6871. tradeqty:
  6872. description: 成交数量
  6873. type: integer
  6874. type: object
  6875. models.QueryHedgeTradeDetailRsp:
  6876. properties:
  6877. accountid:
  6878. description: 账号ID
  6879. type: integer
  6880. buyorsell:
  6881. description: 方向 - 0:买 1:卖
  6882. type: integer
  6883. channelbuildtype:
  6884. description: 委托单据类型 0:无 1:建仓 2:平仓
  6885. type: integer
  6886. closecharge:
  6887. description: 平仓手续费(账户)
  6888. type: number
  6889. closecharge2:
  6890. description: 平仓手续费(商品)
  6891. type: number
  6892. closetype:
  6893. description: 平仓方式 - 0:无 1:平今 2:平昨
  6894. type: integer
  6895. curexchangerate:
  6896. description: 当前汇率
  6897. type: number
  6898. exchangefullname:
  6899. description: 外部交易所全称
  6900. type: string
  6901. goodscode:
  6902. description: 商品代码(内部)
  6903. type: string
  6904. goodsid:
  6905. description: 商品ID
  6906. type: integer
  6907. goodsname:
  6908. description: 商品名称
  6909. type: string
  6910. marketid:
  6911. description: 市场ID
  6912. type: integer
  6913. opencharge:
  6914. description: 建仓手续费(账户)
  6915. type: number
  6916. opencharge2:
  6917. description: 建仓手续费(商品)
  6918. type: number
  6919. orderid:
  6920. description: 委托单号
  6921. type: string
  6922. tradeamount:
  6923. description: 成交金额(账户)
  6924. type: number
  6925. tradedate:
  6926. description: 交易日(yyyyMMdd)
  6927. type: string
  6928. tradeid:
  6929. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6930. type: string
  6931. tradeprice:
  6932. description: 成交价格
  6933. type: number
  6934. tradeqty:
  6935. description: 成交数量
  6936. type: integer
  6937. tradetime:
  6938. description: 成交时间
  6939. type: string
  6940. tradetype:
  6941. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6942. type: integer
  6943. type: object
  6944. models.QuotePrimaryMenu:
  6945. properties:
  6946. Index:
  6947. description: 序号
  6948. type: integer
  6949. Key:
  6950. description: 键名
  6951. type: string
  6952. Name:
  6953. description: 菜单名称
  6954. type: string
  6955. SubMenus:
  6956. description: 子菜单
  6957. items:
  6958. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6959. type: array
  6960. SubTitleType:
  6961. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6962. type: integer
  6963. TradeModes:
  6964. description: 包含市场交易类型
  6965. type: string
  6966. type: object
  6967. models.QuoteSecondaryMenu:
  6968. properties:
  6969. ExExchangeCode:
  6970. description: 外部交易所代码
  6971. type: string
  6972. ExExchangeID:
  6973. description: 外部交易所ID
  6974. type: integer
  6975. GoodsGroupIDs:
  6976. description: 商品组ID列表
  6977. items:
  6978. type: integer
  6979. type: array
  6980. Index:
  6981. description: 序号
  6982. type: integer
  6983. MarketID:
  6984. description: 市场ID
  6985. type: integer
  6986. MenuTitle:
  6987. description: 菜单标题(市场名称或外部交易所名称)
  6988. type: string
  6989. TradeMode:
  6990. description: 交易模式
  6991. type: integer
  6992. type: object
  6993. models.RelatedGoodsEx:
  6994. properties:
  6995. goodscode:
  6996. description: 商品代码
  6997. type: string
  6998. goodsid:
  6999. description: 商品id
  7000. type: integer
  7001. goodsname:
  7002. description: 商品名称
  7003. type: string
  7004. type: object
  7005. models.SearchGoods:
  7006. properties:
  7007. goodscode:
  7008. description: 商品代码(内部)
  7009. type: string
  7010. goodsid:
  7011. description: 商品ID(自增ID SEQ_GOODS)
  7012. type: integer
  7013. goodsname:
  7014. description: 商品名称
  7015. type: string
  7016. marketid:
  7017. description: 所属市场ID
  7018. type: integer
  7019. marketname:
  7020. description: 市场名称
  7021. type: string
  7022. trademode:
  7023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7024. 21:竞拍-大宗式 22:受托竞价
  7025. type: integer
  7026. required:
  7027. - goodscode
  7028. - goodsid
  7029. - goodsname
  7030. - marketid
  7031. - trademode
  7032. type: object
  7033. models.Systemparam:
  7034. properties:
  7035. loginid:
  7036. description: 更新用户账号,登录账号
  7037. type: string
  7038. modifyflag:
  7039. description: 修改标志0 不允许修改 1 允许修改
  7040. type: integer
  7041. paramcode:
  7042. description: 参数代码
  7043. type: string
  7044. paramname:
  7045. description: 参数名
  7046. type: string
  7047. paramtype:
  7048. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7049. type: integer
  7050. paramvalue:
  7051. description: 参数值
  7052. type: string
  7053. paramvalue2:
  7054. description: 参数值(CLOB)
  7055. type: string
  7056. regexpress:
  7057. description: 正则表达式
  7058. type: string
  7059. remark:
  7060. description: 备注
  7061. type: string
  7062. serverip:
  7063. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7064. type: string
  7065. showflag:
  7066. description: 是否显示0 不显示 1 显示
  7067. type: integer
  7068. updatetime:
  7069. description: 更新时间
  7070. type: string
  7071. userid:
  7072. description: 更新用户ID
  7073. type: integer
  7074. required:
  7075. - paramcode
  7076. type: object
  7077. models.Szdz3convertconfig:
  7078. properties:
  7079. canin:
  7080. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7081. type: integer
  7082. canout:
  7083. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7084. type: integer
  7085. converttype:
  7086. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7087. 6:交易转花生米(不设置)
  7088. type: integer
  7089. createtime:
  7090. description: 创建时间
  7091. type: string
  7092. creatorid:
  7093. description: 创建人
  7094. type: integer
  7095. daymaxvalue:
  7096. description: 当日最大转入限制
  7097. type: number
  7098. freezedays:
  7099. description: 冻结天数 [5:花生米转交易]
  7100. type: integer
  7101. innergoodsid:
  7102. description: 内部商品ID[交易]
  7103. type: integer
  7104. inratio:
  7105. description: 目标值
  7106. type: integer
  7107. modifierid:
  7108. description: 修改人
  7109. type: integer
  7110. modifytime:
  7111. description: 修改时间
  7112. type: string
  7113. outergoodscode:
  7114. description: 外部商品代码[JD\PD]
  7115. type: string
  7116. outratio:
  7117. description: 源值
  7118. type: integer
  7119. pddecimalplace:
  7120. description: PD小数位
  7121. type: integer
  7122. timemaxvalue:
  7123. description: 单次最大转入限制
  7124. type: number
  7125. timeminvalue:
  7126. description: 单次最小转入限制
  7127. type: number
  7128. required:
  7129. - converttype
  7130. - innergoodsid
  7131. - outergoodscode
  7132. type: object
  7133. models.Szdz3searchwhitelist:
  7134. properties:
  7135. createtime:
  7136. description: 创建时间
  7137. type: string
  7138. creatorid:
  7139. description: 创建人
  7140. type: integer
  7141. modifierid:
  7142. description: 修改人
  7143. type: integer
  7144. modifytime:
  7145. description: 修改时间
  7146. type: string
  7147. userid:
  7148. description: 用户ID
  7149. type: integer
  7150. required:
  7151. - userid
  7152. type: object
  7153. models.Taaccount:
  7154. properties:
  7155. accountflag:
  7156. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7157. type: integer
  7158. accountid:
  7159. description: 资金账户ID
  7160. type: integer
  7161. accountname:
  7162. description: 账户名称
  7163. type: string
  7164. balance:
  7165. description: 期初余额
  7166. type: number
  7167. capitalbalance:
  7168. description: 本金余额[外部子账户实际出入金余额]
  7169. type: number
  7170. changeflag:
  7171. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7172. type: integer
  7173. changetime:
  7174. description: 账户状态变更时间
  7175. type: string
  7176. closepl:
  7177. description: 今日平仓盈亏
  7178. type: number
  7179. creditdecrease:
  7180. description: 今日授信减少
  7181. type: number
  7182. creditincrease:
  7183. description: 今日授信增加
  7184. type: number
  7185. currencyid:
  7186. description: 货币ID
  7187. type: integer
  7188. currentbalance:
  7189. description: 期末余额
  7190. type: number
  7191. freezecharge:
  7192. description: 手续费冻结
  7193. type: number
  7194. freezemargin:
  7195. description: 冻结保证金
  7196. type: number
  7197. fromaccountid:
  7198. description: 所属上级账户
  7199. type: integer
  7200. inamount:
  7201. description: 今日入金金额(包括三方入金)
  7202. type: number
  7203. ismain:
  7204. description: 是否母账号 0:不是母账户 1:是母账户
  7205. type: integer
  7206. ismarketaccount:
  7207. description: 是否机构接单账号 0:不是 1:是
  7208. type: integer
  7209. isreckonaccount:
  7210. description: 是否机构分润账号 0:不是 1:是
  7211. type: integer
  7212. mortgagecredit:
  7213. description: 授信金额
  7214. type: number
  7215. orifreezecharge:
  7216. description: 期初手续费冻结
  7217. type: number
  7218. orifreezemargin:
  7219. description: 期初冻结保证金
  7220. type: number
  7221. orimortgagecredit:
  7222. description: 期初授信金额
  7223. type: number
  7224. oriothercredit:
  7225. description: 期初其它授信金额
  7226. type: number
  7227. oriotherfreezemargin:
  7228. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7229. type: number
  7230. orioutamountfreeze:
  7231. description: 期初出金冻结
  7232. type: number
  7233. oriusedmargin:
  7234. description: 期初占用保证金
  7235. type: number
  7236. othercredit:
  7237. description: 其它授信金额
  7238. type: number
  7239. othercreditdecrease:
  7240. description: 今日其它授信减少
  7241. type: number
  7242. othercreditincrease:
  7243. description: 今日其它授信增加
  7244. type: number
  7245. otherfreezemargin:
  7246. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7247. type: number
  7248. otherincome:
  7249. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7250. type: number
  7251. otherpay:
  7252. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7253. type: number
  7254. outamount:
  7255. description: 今日出金金额(包括三方出金)
  7256. type: number
  7257. outamountfreeze:
  7258. description: 出金冻结
  7259. type: number
  7260. outthreshold:
  7261. description: 出金阈值
  7262. type: number
  7263. parentaccountid:
  7264. description: 所属根账号
  7265. type: integer
  7266. paycharge:
  7267. description: 今日手续费支出
  7268. type: number
  7269. relatedaccountstatus:
  7270. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7271. type: integer
  7272. relateduserid:
  7273. description: 关联用户
  7274. type: integer
  7275. serivcegroup:
  7276. description: 服务分组
  7277. type: integer
  7278. signstatus:
  7279. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7280. type: integer
  7281. sublevelpath:
  7282. description: 账号层级路径(逗号分隔,首尾加逗号)
  7283. type: string
  7284. taaccounttype:
  7285. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7286. type: integer
  7287. thirdinamount:
  7288. description: 今日三方入金
  7289. type: number
  7290. thirdoutamount:
  7291. description: 今日三方出金
  7292. type: number
  7293. tradestatus:
  7294. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7295. type: integer
  7296. tradestatuschangetime:
  7297. description: 激活时间
  7298. type: string
  7299. transferamount:
  7300. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7301. type: number
  7302. usedmargin:
  7303. description: 占用保证金
  7304. type: number
  7305. userid:
  7306. description: 用户ID
  7307. type: integer
  7308. required:
  7309. - accountid
  7310. - userid
  7311. type: object
  7312. models.Tablecolumnconfig:
  7313. properties:
  7314. aligntype:
  7315. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7316. type: integer
  7317. autoid:
  7318. description: AutoID
  7319. type: integer
  7320. columnfield:
  7321. description: 列字段
  7322. type: string
  7323. columntitle:
  7324. description: 列Title
  7325. type: string
  7326. columnwidth:
  7327. description: 列宽
  7328. type: string
  7329. formatterstring:
  7330. description: 格式化字符
  7331. type: string
  7332. formattertype:
  7333. description: 格式化类型
  7334. type: string
  7335. groupname:
  7336. description: 表头分组名称
  7337. type: string
  7338. isshow:
  7339. description: 是否显示 - 0:不显示 1:显示
  7340. type: integer
  7341. needsummary:
  7342. description: 是否需要汇总 - 0:不需要 1:需要
  7343. type: integer
  7344. orderindex:
  7345. description: 顺序
  7346. type: integer
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. summarytype:
  7351. description: 汇总类型 - 1:加总 2:最后一个
  7352. type: integer
  7353. tablekey:
  7354. description: 列表Key
  7355. type: string
  7356. required:
  7357. - autoid
  7358. type: object
  7359. models.Useraccount:
  7360. properties:
  7361. accountname:
  7362. description: 账户名称(机构名称)
  7363. type: string
  7364. accountstatus:
  7365. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7366. type: integer
  7367. auditremark:
  7368. description: 审核备注
  7369. type: string
  7370. audittime:
  7371. description: 审核时间
  7372. type: string
  7373. audituserid:
  7374. description: 审核人
  7375. type: integer
  7376. broker:
  7377. description: 所属经纪人ID
  7378. type: integer
  7379. canceltime:
  7380. description: 销户时间
  7381. type: string
  7382. canceluserid:
  7383. description: 销户人
  7384. type: integer
  7385. createtime:
  7386. description: 创建时间
  7387. type: string
  7388. creatorid:
  7389. description: 创建人
  7390. type: integer
  7391. hasauth:
  7392. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7393. type: integer
  7394. isanonymous:
  7395. description: 是否匿名下单 - 0:否 1:是
  7396. type: integer
  7397. maxinvestornum:
  7398. description: 最大用户数(经纪会员下投资者个数)
  7399. type: integer
  7400. memberuserid:
  7401. description: 所属会员ID
  7402. type: integer
  7403. modifierid:
  7404. description: 修改人
  7405. type: integer
  7406. modifyremark:
  7407. description: 变更备注
  7408. type: string
  7409. modifystatus:
  7410. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7411. type: integer
  7412. modifytime:
  7413. description: 修改时间
  7414. type: string
  7415. parentuserid:
  7416. description: 所属机构ID
  7417. type: integer
  7418. reckonaccountid:
  7419. description: 默认结算资金账号ID(机构分润使用) 作废
  7420. type: integer
  7421. refercount:
  7422. description: 推荐总人数
  7423. type: integer
  7424. refereeuserid:
  7425. description: 推荐人ID
  7426. type: integer
  7427. refernum:
  7428. description: 推荐码
  7429. type: string
  7430. subarealevelpath:
  7431. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7432. type: string
  7433. userid:
  7434. description: 用户ID
  7435. type: integer
  7436. usertype:
  7437. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7438. type: integer
  7439. required:
  7440. - userid
  7441. type: object
  7442. models.Userfavoritegoods:
  7443. properties:
  7444. goodsid:
  7445. description: 商品ID
  7446. type: integer
  7447. required:
  7448. - goodsid
  7449. type: object
  7450. models.Userinfo:
  7451. properties:
  7452. address:
  7453. description: 地址
  7454. type: string
  7455. attachment1:
  7456. description: 附件1
  7457. type: string
  7458. attachment2:
  7459. description: 附件2
  7460. type: string
  7461. bankaccount:
  7462. description: 银行帐号 (加密存储)
  7463. type: string
  7464. bankaccountname:
  7465. description: 收款人名称
  7466. type: string
  7467. bankcardfrontphotourl:
  7468. description: 银行卡正面照地址
  7469. type: string
  7470. bankid:
  7471. description: 银行编码
  7472. type: string
  7473. bankname:
  7474. description: 银行名称
  7475. type: string
  7476. biznature:
  7477. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7478. type: integer
  7479. bizscope:
  7480. description: 企业经营范围(企业)
  7481. type: string
  7482. cardbackphotourl:
  7483. description: 证件背面图片地址
  7484. type: string
  7485. cardfrontphotourl:
  7486. description: 证件正面图片地址
  7487. type: string
  7488. cardnum:
  7489. description: 证件号码(加密存储)
  7490. type: string
  7491. cardtypeid:
  7492. description: 证件类型ID
  7493. type: integer
  7494. cityid:
  7495. description: 市
  7496. type: integer
  7497. company:
  7498. description: 公司(个人)
  7499. type: string
  7500. contactname:
  7501. description: 联系人
  7502. type: string
  7503. countryid:
  7504. description: 国家
  7505. type: integer
  7506. createtime:
  7507. description: 创建时间
  7508. type: string
  7509. creatorid:
  7510. description: 创建人
  7511. type: integer
  7512. customername:
  7513. description: 客户名称(企业名称)
  7514. type: string
  7515. districtid:
  7516. description: 地区
  7517. type: integer
  7518. email:
  7519. description: 邮件(加密存储)
  7520. type: string
  7521. fax:
  7522. description: 传真(加密存储)
  7523. type: string
  7524. halfbodyphotourl:
  7525. description: 半身照地址
  7526. type: string
  7527. hasencrypt:
  7528. description: 数据是否已加密 - 0:未加密 1:已加密
  7529. type: integer
  7530. headurl:
  7531. description: 头像地址
  7532. type: string
  7533. legalcardbackphotourl:
  7534. description: 法人身份证背面照地址
  7535. type: string
  7536. legalcardfrontphotourl:
  7537. description: 法人身份证正面照地址
  7538. type: string
  7539. legalpersonname:
  7540. description: 法人姓名(企业)
  7541. type: string
  7542. mobile:
  7543. description: 手机号码(加密存储)
  7544. type: string
  7545. mobile2:
  7546. description: 手机号码[明文-尚志]
  7547. type: string
  7548. modifierid:
  7549. description: 修改人
  7550. type: integer
  7551. modifiertime:
  7552. description: 修改时间
  7553. type: string
  7554. needinvoice:
  7555. description: 是否需要发票 - 0:不需要 1:需要
  7556. type: integer
  7557. nickname:
  7558. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7559. type: string
  7560. openmode:
  7561. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7562. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7563. type: integer
  7564. otherurl:
  7565. description: 其它图片地址[使用分号分隔]
  7566. type: string
  7567. postalcode:
  7568. description: 邮政编码
  7569. type: string
  7570. provinceid:
  7571. description: 省
  7572. type: integer
  7573. qq:
  7574. description: QQ(加密存储
  7575. type: string
  7576. remark:
  7577. description: 备注
  7578. type: string
  7579. sex:
  7580. description: '用户性别 0: 女 1: 男'
  7581. type: integer
  7582. signpdfurl:
  7583. description: 签约pdf文件
  7584. type: string
  7585. telphone:
  7586. description: 联系电话(加密存储)
  7587. type: string
  7588. userid:
  7589. description: 用户ID
  7590. type: integer
  7591. userinfotype:
  7592. description: 用户信息类型 - 1:个人 2:企业
  7593. type: integer
  7594. userstatus:
  7595. description: 用户状态 - 1:正常 2:注销
  7596. type: integer
  7597. usertype:
  7598. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7599. type: integer
  7600. wechat:
  7601. description: 微信(加密存储)
  7602. type: string
  7603. wskhinfo:
  7604. description: 开户申请信息(JSON)
  7605. type: string
  7606. required:
  7607. - userid
  7608. type: object
  7609. models.WRCategoryTree:
  7610. properties:
  7611. areauserid:
  7612. description: 所属机构
  7613. type: integer
  7614. categorydesc:
  7615. description: 类别描述
  7616. type: string
  7617. categoryid:
  7618. description: 类别ID(SEQ_WRCATEGORY)
  7619. type: integer
  7620. categoryname:
  7621. description: 类别名称
  7622. type: string
  7623. iconurl:
  7624. description: 图标地址
  7625. type: string
  7626. orderindex:
  7627. description: 顺序
  7628. type: integer
  7629. parentcategoryid:
  7630. description: 父类别ID
  7631. type: integer
  7632. subcategory:
  7633. description: 子分类
  7634. items:
  7635. $ref: '#/definitions/models.WRCategoryTree'
  7636. type: array
  7637. required:
  7638. - categoryid
  7639. type: object
  7640. models.WRSConverTDetail:
  7641. properties:
  7642. convertratio:
  7643. description: 套保系数
  7644. type: number
  7645. deliverygoodsid:
  7646. description: 现货品种ID
  7647. type: integer
  7648. middlegoodscode:
  7649. description: 套保品种代码
  7650. type: string
  7651. middlegoodsid:
  7652. description: 套保品种ID
  7653. type: integer
  7654. middlegoodsname:
  7655. description: 套保品种名称
  7656. type: string
  7657. modifytime:
  7658. description: 修改时间
  7659. type: string
  7660. wrstandardid:
  7661. description: 现货商品ID
  7662. type: integer
  7663. type: object
  7664. models.WRStandardInfo:
  7665. properties:
  7666. createtime:
  7667. description: 创建时间
  7668. type: string
  7669. creatorid:
  7670. description: 创建人
  7671. type: integer
  7672. deliverygoodsid:
  7673. description: 品种ID
  7674. type: integer
  7675. deliverygoodsname:
  7676. description: 交割商品名称
  7677. type: string
  7678. factoryitemjson:
  7679. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7680. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7681. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7682. 逗号分隔'
  7683. type: string
  7684. isvalid:
  7685. description: 是否有效 - 0:无效 1:有效
  7686. type: integer
  7687. minivalue:
  7688. description: 最小变动值
  7689. type: integer
  7690. minivaluedp:
  7691. description: 最小变动值小数位
  7692. type: integer
  7693. realminivalue:
  7694. description: 实际最小变动值
  7695. type: integer
  7696. realminivaluedp:
  7697. description: 实际最小变动值小数位
  7698. type: integer
  7699. unitid:
  7700. description: 单位ID
  7701. type: integer
  7702. unitname:
  7703. description: 单位
  7704. type: string
  7705. updatetime:
  7706. description: 更新时间
  7707. type: string
  7708. updatorid:
  7709. description: 更新人
  7710. type: integer
  7711. wrsstatus:
  7712. description: 状态 - 作废 - 0:未激活 1:正常
  7713. type: integer
  7714. wrstandardcode:
  7715. description: 仓单标准代码
  7716. type: string
  7717. wrstandardid:
  7718. description: 仓单标准ID(SEQ_WRSTANDARD)
  7719. type: integer
  7720. wrstandardname:
  7721. description: 仓单标准名称
  7722. type: string
  7723. required:
  7724. - wrstandardid
  7725. type: object
  7726. models.Warehouseinfo:
  7727. properties:
  7728. address:
  7729. description: 详细地址
  7730. type: string
  7731. areauserid:
  7732. description: 所属机构
  7733. type: integer
  7734. autoid:
  7735. description: 自增ID
  7736. type: integer
  7737. cityid:
  7738. description: 市
  7739. type: integer
  7740. contactname:
  7741. description: 联系人
  7742. type: string
  7743. contactnum:
  7744. description: 联系电话
  7745. type: string
  7746. countryid:
  7747. description: 国家
  7748. type: integer
  7749. createtime:
  7750. description: 创建时间
  7751. type: string
  7752. districtid:
  7753. description: 区
  7754. type: integer
  7755. hasvideo:
  7756. description: 是否有视频 - 0:无 1:有
  7757. type: integer
  7758. provinceid:
  7759. description: 省
  7760. type: integer
  7761. remark:
  7762. description: 审核备注
  7763. type: string
  7764. videourl:
  7765. description: 视频地址
  7766. type: string
  7767. warehousecode:
  7768. description: 仓库代码
  7769. type: string
  7770. warehousename:
  7771. description: 仓库名称
  7772. type: string
  7773. warehousestatus:
  7774. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7775. type: integer
  7776. warehousetype:
  7777. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7778. type: integer
  7779. required:
  7780. - autoid
  7781. - warehousecode
  7782. type: object
  7783. order.QueryHisTradeDetailRsp:
  7784. properties:
  7785. accountid:
  7786. description: 账户ID[报价币种]
  7787. type: integer
  7788. buildtype:
  7789. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7790. type: integer
  7791. buyorsell:
  7792. description: 方向 - 0:买 1:卖
  7793. type: integer
  7794. charge:
  7795. description: 手续费
  7796. type: number
  7797. closecharge:
  7798. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7799. type: number
  7800. closeexchagechargevalue:
  7801. description: 平仓交易所手续费设置值
  7802. type: number
  7803. closefeealgorithm:
  7804. description: 平仓手续费收取方式 1:比率 2:固定
  7805. type: integer
  7806. closememberchargevalue:
  7807. description: 平仓会员手续费设置值
  7808. type: number
  7809. closepl:
  7810. description: 平仓盈亏
  7811. type: number
  7812. closepl2:
  7813. description: 平仓盈亏[逐笔]
  7814. type: number
  7815. closeqty:
  7816. description: 平仓数量(先建后平操作 需要记录)
  7817. type: integer
  7818. creditamount:
  7819. description: 授信金额
  7820. type: number
  7821. gcaccountid:
  7822. description: 账户ID[合约币种]
  7823. type: integer
  7824. goodscode:
  7825. description: 商品代码
  7826. type: string
  7827. goodsid:
  7828. description: 商品ID
  7829. type: integer
  7830. goodsname:
  7831. description: 商品名称
  7832. type: string
  7833. histradedate:
  7834. description: 历史交易日
  7835. type: string
  7836. intclosepl:
  7837. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7838. type: integer
  7839. isconfirmexercise:
  7840. description: 是否确认行权- 0:否 1:是
  7841. type: integer
  7842. ismain:
  7843. description: 是否主单 - 0:不是 1:是
  7844. type: integer
  7845. ispreexercise:
  7846. description: 是否预申报- 0:否 1:是
  7847. type: integer
  7848. isreckoned:
  7849. description: 是否结算 - 0:未结算 1:已结算
  7850. type: integer
  7851. isvaliddata:
  7852. description: 是否有效 - 0:无效 1:有效
  7853. type: integer
  7854. listingselecttype:
  7855. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7856. type: integer
  7857. marketid:
  7858. description: 市场ID
  7859. type: integer
  7860. marketname:
  7861. description: 市场名称
  7862. type: string
  7863. matchaccountid:
  7864. description: 对手账号id
  7865. type: integer
  7866. memberuserid:
  7867. description: 会员id 个人投资者 需要填写
  7868. type: integer
  7869. opencharge:
  7870. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7871. type: number
  7872. openexchagechargevalue:
  7873. description: 建仓交易所手续费设置值
  7874. type: number
  7875. openfeealgorithm:
  7876. description: 建仓手续费收取方式 1:比率 2:固定
  7877. type: integer
  7878. openmemberchargevalue:
  7879. description: 建仓会员手续费设置值
  7880. type: number
  7881. openqty:
  7882. description: 开仓数量(先建后平操作 需要记录)
  7883. type: integer
  7884. optiontype:
  7885. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7886. type: integer
  7887. orderid:
  7888. description: 委托单号
  7889. type: string
  7890. performanceplanid:
  7891. description: 履约计划ID[期权]
  7892. type: integer
  7893. performancestatus:
  7894. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7895. type: integer
  7896. preexerciseprice:
  7897. description: 预申报价格
  7898. type: number
  7899. premium:
  7900. description: 权利金 - [持仓单的权利金]
  7901. type: number
  7902. relatedouttradeid:
  7903. description: 关联外部成交单ID
  7904. type: integer
  7905. status:
  7906. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7907. type: integer
  7908. tradeamount:
  7909. description: 成交金额[账户币种,用于所有权]
  7910. type: number
  7911. tradedate:
  7912. description: 交易日(yyyyMMdd)
  7913. type: string
  7914. tradeid:
  7915. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7916. type: string
  7917. trademode:
  7918. description: 交易模式
  7919. type: integer
  7920. tradeprice:
  7921. description: 成交价格
  7922. type: number
  7923. tradeproperty:
  7924. description: 交易属性
  7925. type: integer
  7926. tradeqty:
  7927. description: 成交数量
  7928. type: integer
  7929. tradetime:
  7930. description: 成交时间
  7931. type: string
  7932. tradetype:
  7933. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7934. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7935. type: integer
  7936. required:
  7937. - accountid
  7938. - buyorsell
  7939. - goodsid
  7940. - histradedate
  7941. - marketid
  7942. - memberuserid
  7943. - orderid
  7944. - tradeamount
  7945. - tradedate
  7946. - tradeid
  7947. - tradeprice
  7948. - tradeqty
  7949. - tradetime
  7950. type: object
  7951. order.QueryHisTradeOrderDetailRsp:
  7952. properties:
  7953. accountid:
  7954. description: 账户ID[报价币种]
  7955. type: integer
  7956. buildtype:
  7957. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7958. type: integer
  7959. buyorsell:
  7960. description: 买卖 - 0:买 1:卖
  7961. type: integer
  7962. cancelorderid:
  7963. description: 撤单单号(撤单时填写)
  7964. type: string
  7965. cancelqty:
  7966. description: 撤单数量
  7967. type: integer
  7968. clientordertime:
  7969. description: 客户端委托时间
  7970. type: string
  7971. clientticket:
  7972. description: 客户端流水号
  7973. type: string
  7974. clienttype:
  7975. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7976. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7977. type: integer
  7978. closeexchagechargevalue:
  7979. description: 平仓交易所手续费设置值
  7980. type: number
  7981. closefeealgorithm:
  7982. description: 平仓手续费收取方式 1:比率 2:固定
  7983. type: integer
  7984. closefreezecharge:
  7985. description: 平仓冻结手续费(先建后平操作,需要记录)
  7986. type: number
  7987. closememberchargevalue:
  7988. description: 平仓会员手续费设置值
  7989. type: number
  7990. closeqty:
  7991. description: 平仓数量(先建后平操作 需要记录)
  7992. type: integer
  7993. closetradeqty:
  7994. description: 平仓成交数量(先建后平操作,需要记录)
  7995. type: integer
  7996. closeunfreezecharge:
  7997. description: 平仓解冻手续费(先建后平操作,需要记录)
  7998. type: number
  7999. delistingtype:
  8000. description: 摘牌类型 - 1:价格最优 2:点选成交
  8001. type: integer
  8002. freezecharge:
  8003. description: 冻结手续费
  8004. type: number
  8005. freezemargin:
  8006. description: 冻结保证金(冻结交易金额)
  8007. type: number
  8008. gcaccountid:
  8009. description: 账户ID[合约币种]
  8010. type: integer
  8011. goodscode:
  8012. description: 商品代码
  8013. type: string
  8014. goodsid:
  8015. description: 商品ID
  8016. type: integer
  8017. goodsname:
  8018. description: 商品名称
  8019. type: string
  8020. histradedate:
  8021. description: 历史交易日
  8022. type: string
  8023. isconfirmexercise:
  8024. description: 是否确认行权- 0:否 1:是
  8025. type: integer
  8026. ispreexercise:
  8027. description: 是否预申报- 0:否 1:是
  8028. type: integer
  8029. isvaliddata:
  8030. description: 是否有效 - 0:无效 1:有效
  8031. type: integer
  8032. listingselecttype:
  8033. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8034. type: integer
  8035. marginalgorithm:
  8036. description: 保证金收取方式 1:比率 2:固定
  8037. type: integer
  8038. marginvalue:
  8039. description: 即市保证金设置值
  8040. type: number
  8041. marketid:
  8042. description: 市场ID
  8043. type: integer
  8044. marketmaxsub:
  8045. description: 市价最大偏移范围
  8046. type: number
  8047. marketname:
  8048. description: 市场名称
  8049. type: string
  8050. memberuserid:
  8051. description: 所属会员UserID
  8052. type: integer
  8053. openexchagechargevalue:
  8054. description: 建仓交易所手续费设置值
  8055. type: number
  8056. openfeealgorithm:
  8057. description: 建仓手续费收取方式 1:比率 2:固定
  8058. type: integer
  8059. openfreezecharge:
  8060. description: 开仓冻结手续费(先建后平操作,需要记录)
  8061. type: number
  8062. openmemberchargevalue:
  8063. description: 建仓会员手续费设置值
  8064. type: number
  8065. openqty:
  8066. description: 开仓数量(先建后平操作,需要记录)
  8067. type: integer
  8068. opentradeqty:
  8069. description: 开仓成交数量(先建后平操作,需要记录)
  8070. type: integer
  8071. openunfreezecharge:
  8072. description: 开仓解冻手续费(先建后平操作,需要记录)
  8073. type: number
  8074. operatetype:
  8075. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8076. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8077. 15:管理端协议转让
  8078. type: integer
  8079. operatorid:
  8080. description: 登录账号(LoginID)
  8081. type: integer
  8082. optiontype:
  8083. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8084. type: integer
  8085. orderid:
  8086. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8087. type: string
  8088. orderprice:
  8089. description: 委托价格
  8090. type: number
  8091. orderqty:
  8092. description: 委托数量
  8093. type: integer
  8094. ordersrc:
  8095. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8096. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8097. type: integer
  8098. orderstatus:
  8099. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8100. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8101. 16:成交失败违约(荷兰式竞拍专用)
  8102. type: integer
  8103. ordertime:
  8104. description: 委托时间
  8105. type: string
  8106. preexerciseprice:
  8107. description: 预申报价格
  8108. type: number
  8109. premium:
  8110. description: 权利金
  8111. type: number
  8112. preorderid:
  8113. description: 关联预埋单号(止盈止损单时填写)
  8114. type: string
  8115. pricemode:
  8116. description: '取价方式 - 1:市价 2: 限价'
  8117. type: integer
  8118. quoteid:
  8119. description: 报价单ID
  8120. type: integer
  8121. relatedid:
  8122. description: 关联单号(交割单)
  8123. type: string
  8124. retcode:
  8125. description: 错误代码
  8126. type: integer
  8127. sessionid:
  8128. description: 会话ID
  8129. type: integer
  8130. tradedate:
  8131. description: 交易日(yyyyMMdd)
  8132. type: string
  8133. trademode:
  8134. description: 交易模式
  8135. type: integer
  8136. tradeproperty:
  8137. description: 交易属性
  8138. type: integer
  8139. tradeqty:
  8140. description: 成交数量
  8141. type: integer
  8142. unfreezecharge:
  8143. description: 解冻手续费
  8144. type: number
  8145. unfreezemargin:
  8146. description: 解冻保证金
  8147. type: number
  8148. updatetime:
  8149. description: 更新时间
  8150. type: string
  8151. uuid:
  8152. description: 发起端唯一id
  8153. type: string
  8154. validtime:
  8155. description: 有效期限
  8156. type: string
  8157. validtype:
  8158. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8159. type: integer
  8160. volumetype:
  8161. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8162. type: integer
  8163. required:
  8164. - accountid
  8165. - buildtype
  8166. - buyorsell
  8167. - goodsid
  8168. - histradedate
  8169. - marketid
  8170. - memberuserid
  8171. - operatetype
  8172. - orderid
  8173. - orderqty
  8174. - ordertime
  8175. - pricemode
  8176. - tradedate
  8177. - validtype
  8178. type: object
  8179. order.QueryTradeDetailRsp:
  8180. properties:
  8181. accountid:
  8182. description: 账户ID[报价币种]
  8183. type: integer
  8184. buildtype:
  8185. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8186. type: integer
  8187. buyorsell:
  8188. description: 方向 - 0:买 1:卖
  8189. type: integer
  8190. charge:
  8191. description: 手续费
  8192. type: number
  8193. closecharge:
  8194. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8195. type: number
  8196. closeexchagechargevalue:
  8197. description: 平仓交易所手续费设置值
  8198. type: number
  8199. closefeealgorithm:
  8200. description: 平仓手续费收取方式 1:比率 2:固定
  8201. type: integer
  8202. closememberchargevalue:
  8203. description: 平仓会员手续费设置值
  8204. type: number
  8205. closepl:
  8206. description: 平仓盈亏
  8207. type: number
  8208. closepl2:
  8209. description: 平仓盈亏[逐笔]
  8210. type: number
  8211. closeqty:
  8212. description: 平仓数量(先建后平操作 需要记录)
  8213. type: integer
  8214. creditamount:
  8215. description: 授信金额
  8216. type: number
  8217. gcaccountid:
  8218. description: 账户ID[合约币种]
  8219. type: integer
  8220. goodscode:
  8221. description: 商品代码
  8222. type: string
  8223. goodsid:
  8224. description: 商品ID
  8225. type: integer
  8226. goodsname:
  8227. description: 商品名称
  8228. type: string
  8229. intclosepl:
  8230. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8231. type: integer
  8232. isconfirmexercise:
  8233. description: 是否确认行权- 0:否 1:是
  8234. type: integer
  8235. ismain:
  8236. description: 是否主单 - 0:不是 1:是
  8237. type: integer
  8238. ispreexercise:
  8239. description: 是否预申报- 0:否 1:是
  8240. type: integer
  8241. isreckoned:
  8242. description: 是否结算 - 0:未结算 1:已结算
  8243. type: integer
  8244. listingselecttype:
  8245. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8246. type: integer
  8247. marketid:
  8248. description: 市场ID
  8249. type: integer
  8250. marketname:
  8251. description: 市场名称
  8252. type: string
  8253. matchaccountid:
  8254. description: 对手账号id
  8255. type: integer
  8256. memberuserid:
  8257. description: 会员id 个人投资者 需要填写
  8258. type: integer
  8259. opencharge:
  8260. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8261. type: number
  8262. openexchagechargevalue:
  8263. description: 建仓交易所手续费设置值
  8264. type: number
  8265. openfeealgorithm:
  8266. description: 建仓手续费收取方式 1:比率 2:固定
  8267. type: integer
  8268. openmemberchargevalue:
  8269. description: 建仓会员手续费设置值
  8270. type: number
  8271. openqty:
  8272. description: 开仓数量(先建后平操作 需要记录)
  8273. type: integer
  8274. optiontype:
  8275. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8276. type: integer
  8277. orderid:
  8278. description: 委托单号
  8279. type: string
  8280. performanceplanid:
  8281. description: 履约计划ID[期权]
  8282. type: integer
  8283. performancestatus:
  8284. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8285. type: integer
  8286. preexerciseprice:
  8287. description: 预申报价格
  8288. type: number
  8289. premium:
  8290. description: 权利金 - [持仓单的权利金]
  8291. type: number
  8292. relatedouttradeid:
  8293. description: 关联外部成交单ID
  8294. type: integer
  8295. status:
  8296. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8297. type: integer
  8298. tradeamount:
  8299. description: 成交金额[账户币种,用于所有权]
  8300. type: number
  8301. tradedate:
  8302. description: 交易日(yyyyMMdd)
  8303. type: string
  8304. tradeid:
  8305. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8306. type: string
  8307. trademode:
  8308. description: 交易模式
  8309. type: integer
  8310. tradeprice:
  8311. description: 成交价格
  8312. type: number
  8313. tradeproperty:
  8314. description: 交易属性
  8315. type: integer
  8316. tradeqty:
  8317. description: 成交数量
  8318. type: integer
  8319. tradetime:
  8320. description: 成交时间
  8321. type: string
  8322. tradetype:
  8323. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8324. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8325. type: integer
  8326. required:
  8327. - accountid
  8328. - buyorsell
  8329. - goodsid
  8330. - marketid
  8331. - memberuserid
  8332. - orderid
  8333. - tradeamount
  8334. - tradedate
  8335. - tradeid
  8336. - tradeprice
  8337. - tradeqty
  8338. - tradetime
  8339. type: object
  8340. order.QueryTradeOrderDetailRsp:
  8341. properties:
  8342. accountid:
  8343. description: 账户ID[报价币种]
  8344. type: integer
  8345. buildtype:
  8346. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8347. type: integer
  8348. buyorsell:
  8349. description: 买卖 - 0:买 1:卖
  8350. type: integer
  8351. cancelorderid:
  8352. description: 撤单单号(撤单时填写)
  8353. type: string
  8354. cancelqty:
  8355. description: 撤单数量
  8356. type: integer
  8357. clienttype:
  8358. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8359. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8360. type: integer
  8361. closefreezecharge:
  8362. description: 平仓冻结手续费(先建后平操作,需要记录)
  8363. type: number
  8364. closeqty:
  8365. description: 平仓数量(先建后平操作 需要记录)
  8366. type: integer
  8367. closetradeqty:
  8368. description: 平仓成交数量(先建后平操作,需要记录)
  8369. type: integer
  8370. closeunfreezecharge:
  8371. description: 平仓解冻手续费(先建后平操作,需要记录)
  8372. type: number
  8373. delistingtype:
  8374. description: 摘牌类型 - 1:价格最优 2:点选成交
  8375. type: integer
  8376. enableqty:
  8377. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8378. type: integer
  8379. freezecharge:
  8380. description: 冻结手续费
  8381. type: number
  8382. freezemargin:
  8383. description: 冻结保证金(冻结交易金额)
  8384. type: number
  8385. goodscode:
  8386. description: 商品代码
  8387. type: string
  8388. goodsid:
  8389. description: 商品ID
  8390. type: integer
  8391. goodsname:
  8392. description: 商品名称
  8393. type: string
  8394. listingselecttype:
  8395. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8396. type: integer
  8397. marketid:
  8398. description: 市场ID
  8399. type: integer
  8400. marketname:
  8401. description: 市场名称
  8402. type: string
  8403. openfreezecharge:
  8404. description: 开仓冻结手续费(先建后平操作,需要记录)
  8405. type: number
  8406. openqty:
  8407. description: 开仓数量(先建后平操作,需要记录)
  8408. type: integer
  8409. opentradeqty:
  8410. description: 开仓成交数量(先建后平操作,需要记录)
  8411. type: integer
  8412. openunfreezecharge:
  8413. description: 开仓解冻手续费(先建后平操作,需要记录)
  8414. type: number
  8415. operatetype:
  8416. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8417. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8418. 15:管理端协议转让
  8419. type: integer
  8420. operatorid:
  8421. description: 登录账号(LoginID)
  8422. type: integer
  8423. orderid:
  8424. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8425. type: string
  8426. orderprice:
  8427. description: 委托价格
  8428. type: number
  8429. orderqty:
  8430. description: 委托数量
  8431. type: integer
  8432. ordersrc:
  8433. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8434. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8435. type: integer
  8436. orderstatus:
  8437. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8438. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8439. 16:成交失败违约(荷兰式竞拍专用)
  8440. type: integer
  8441. ordertime:
  8442. description: 委托时间
  8443. type: string
  8444. preorderid:
  8445. description: 关联预埋单号(止盈止损单时填写)
  8446. type: string
  8447. pricemode:
  8448. description: '取价方式 - 1:市价 2: 限价'
  8449. type: integer
  8450. relatedid:
  8451. description: 关联单号(交割单)
  8452. type: string
  8453. tradedate:
  8454. description: 交易日(yyyyMMdd)
  8455. type: string
  8456. trademode:
  8457. description: 交易模式
  8458. type: integer
  8459. tradeqty:
  8460. description: 成交数量
  8461. type: integer
  8462. unfreezecharge:
  8463. description: 解冻手续费
  8464. type: number
  8465. unfreezemargin:
  8466. description: 解冻保证金
  8467. type: number
  8468. validtime:
  8469. description: 有效期限
  8470. type: string
  8471. validtype:
  8472. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8473. type: integer
  8474. volumetype:
  8475. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8476. type: integer
  8477. required:
  8478. - accountid
  8479. - buildtype
  8480. - buyorsell
  8481. - goodsid
  8482. - marketid
  8483. - operatetype
  8484. - orderqty
  8485. - ordertime
  8486. - pricemode
  8487. - tradedate
  8488. - validtype
  8489. type: object
  8490. order.QueryTradePositionRsp:
  8491. properties:
  8492. accountid:
  8493. description: 资金账户
  8494. type: integer
  8495. agreeunit:
  8496. description: 合约单位
  8497. type: number
  8498. averageprice:
  8499. description: 持仓均价
  8500. type: number
  8501. buyorsell:
  8502. description: 方向 - 0:买 1:卖
  8503. type: integer
  8504. closetotalqty:
  8505. description: 平仓总数量
  8506. type: integer
  8507. curholderamount:
  8508. description: 当前持仓总金额[商品币种]
  8509. type: number
  8510. curpositionqty:
  8511. description: 当前持仓总数量
  8512. type: integer
  8513. currencyid:
  8514. description: 报价货币ID
  8515. type: integer
  8516. curtdposition:
  8517. description: 期末今日头寸
  8518. type: integer
  8519. decimalplace:
  8520. description: 报价小数位
  8521. type: integer
  8522. enableqty:
  8523. description: 可用量
  8524. type: integer
  8525. fretdposition:
  8526. description: 冻结今日头寸
  8527. type: integer
  8528. frozenqty:
  8529. description: 持仓冻结数量
  8530. type: integer
  8531. goodscode:
  8532. description: 商品代码
  8533. type: string
  8534. goodsid:
  8535. description: 商品Id
  8536. type: integer
  8537. goodsname:
  8538. description: 商品名称
  8539. type: string
  8540. goodunit:
  8541. description: 报价单位
  8542. type: string
  8543. goodunitid:
  8544. description: 报价单位ID
  8545. type: integer
  8546. holderamount:
  8547. description: 期初持仓总金额[商品币种]
  8548. type: number
  8549. marketid:
  8550. description: 所属市场ID
  8551. type: integer
  8552. openreqqty:
  8553. description: 开仓申请数量(用于比较最大持仓数量)
  8554. type: integer
  8555. opentotalqty:
  8556. description: 开仓总数量
  8557. type: integer
  8558. otherfrozenqty:
  8559. description: 持仓其他冻结数量(交割冻结)
  8560. type: integer
  8561. positionqty:
  8562. description: 期初持仓数量
  8563. type: integer
  8564. tnqty:
  8565. description: T+N冻结总量
  8566. type: integer
  8567. tnusedqty:
  8568. description: T+N使用量(可以使用T+N的冻结数量)
  8569. type: integer
  8570. trademode:
  8571. description: 交易模式
  8572. type: integer
  8573. usedmargin:
  8574. description: 占用保证金[商品币种]
  8575. type: number
  8576. required:
  8577. - goodsid
  8578. type: object
  8579. quote.HistoryData:
  8580. properties:
  8581. c:
  8582. description: 收盘价
  8583. type: number
  8584. f:
  8585. description: 是否补充数据
  8586. type: boolean
  8587. h:
  8588. description: 最高价
  8589. type: number
  8590. hv:
  8591. description: 持仓量
  8592. type: integer
  8593. l:
  8594. description: 最低价
  8595. type: number
  8596. o:
  8597. description: 开盘价
  8598. type: number
  8599. s:
  8600. description: 结算价,日线周期(包括)以上才有
  8601. type: number
  8602. ts:
  8603. description: 时间
  8604. type: string
  8605. tt:
  8606. description: 总金额
  8607. type: number
  8608. tv:
  8609. description: 总量
  8610. type: integer
  8611. type: object
  8612. quote.HistoryTikData:
  8613. properties:
  8614. AV:
  8615. description: 卖量
  8616. type: integer
  8617. Ask:
  8618. description: 卖价
  8619. type: number
  8620. BV:
  8621. description: 买量
  8622. type: integer
  8623. Bid:
  8624. description: 买价
  8625. type: number
  8626. HI:
  8627. description: 单笔持仓
  8628. type: integer
  8629. HV:
  8630. description: 持仓量
  8631. type: integer
  8632. PE:
  8633. description: 现价
  8634. type: number
  8635. TDR:
  8636. description: 交易方向,0:买 1:卖
  8637. type: integer
  8638. TK:
  8639. description: 交易类型
  8640. type: integer
  8641. TS:
  8642. description: 行情时间文本
  8643. type: string
  8644. TT:
  8645. description: 现金额
  8646. type: number
  8647. Vol:
  8648. description: 现量
  8649. type: integer
  8650. type: object
  8651. quote.QueryQuoteDayRsp:
  8652. properties:
  8653. ask:
  8654. description: 卖1
  8655. type: number
  8656. ask2:
  8657. description: 卖2
  8658. type: number
  8659. ask3:
  8660. description: 卖3
  8661. type: number
  8662. ask4:
  8663. description: 卖4
  8664. type: number
  8665. ask5:
  8666. description: 卖5
  8667. type: number
  8668. ask6:
  8669. description: 卖6
  8670. type: number
  8671. ask7:
  8672. description: 卖7
  8673. type: number
  8674. ask8:
  8675. description: 卖8
  8676. type: number
  8677. ask9:
  8678. description: 卖9
  8679. type: number
  8680. ask10:
  8681. description: 卖10
  8682. type: number
  8683. askorderid:
  8684. description: 卖单号1
  8685. type: integer
  8686. askorderid2:
  8687. description: 卖单号2
  8688. type: integer
  8689. askorderid3:
  8690. description: 卖单号3
  8691. type: integer
  8692. askorderid4:
  8693. description: 卖单号4
  8694. type: integer
  8695. askorderid5:
  8696. description: 卖单号5
  8697. type: integer
  8698. askordervolume:
  8699. description: 卖单量1
  8700. type: integer
  8701. askordervolume2:
  8702. description: 卖单量2
  8703. type: integer
  8704. askordervolume3:
  8705. description: 卖单量3
  8706. type: integer
  8707. askordervolume4:
  8708. description: 卖单量4
  8709. type: integer
  8710. askordervolume5:
  8711. description: 卖单量5
  8712. type: integer
  8713. askordervolume6:
  8714. description: 卖单量6
  8715. type: integer
  8716. askordervolume7:
  8717. description: 卖单量7
  8718. type: integer
  8719. askordervolume8:
  8720. description: 卖单量8
  8721. type: integer
  8722. askordervolume9:
  8723. description: 卖单量9
  8724. type: integer
  8725. askordervolume10:
  8726. description: 卖单量10
  8727. type: integer
  8728. askqueueinfo:
  8729. description: 大利市卖港股用
  8730. type: string
  8731. askvolume:
  8732. description: 卖量1
  8733. type: integer
  8734. askvolume2:
  8735. description: 卖量2
  8736. type: integer
  8737. askvolume3:
  8738. description: 卖量3
  8739. type: integer
  8740. askvolume4:
  8741. description: 卖量4
  8742. type: integer
  8743. askvolume5:
  8744. description: 卖量5
  8745. type: integer
  8746. askvolume6:
  8747. description: 卖量6
  8748. type: integer
  8749. askvolume7:
  8750. description: 卖量7
  8751. type: integer
  8752. askvolume8:
  8753. description: 卖量8
  8754. type: integer
  8755. askvolume9:
  8756. description: 卖量9
  8757. type: integer
  8758. askvolume10:
  8759. description: 卖量10
  8760. type: integer
  8761. averageprice:
  8762. description: 均价
  8763. type: number
  8764. bid:
  8765. description: 买1
  8766. type: number
  8767. bid2:
  8768. description: 买2
  8769. type: number
  8770. bid3:
  8771. description: 买3
  8772. type: number
  8773. bid4:
  8774. description: 买4
  8775. type: number
  8776. bid5:
  8777. description: 买5
  8778. type: number
  8779. bid6:
  8780. description: 买6
  8781. type: number
  8782. bid7:
  8783. description: 买7
  8784. type: number
  8785. bid8:
  8786. description: 买8
  8787. type: number
  8788. bid9:
  8789. description: 买9
  8790. type: number
  8791. bid10:
  8792. description: 买10
  8793. type: number
  8794. bidorderid:
  8795. description: 买单号1
  8796. type: integer
  8797. bidorderid2:
  8798. description: 买单号2
  8799. type: integer
  8800. bidorderid3:
  8801. description: 买单号3
  8802. type: integer
  8803. bidorderid4:
  8804. description: 买单号4
  8805. type: integer
  8806. bidorderid5:
  8807. description: 买单号5
  8808. type: integer
  8809. bidordervolume:
  8810. description: 买单量1
  8811. type: integer
  8812. bidordervolume2:
  8813. description: 买单量2
  8814. type: integer
  8815. bidordervolume3:
  8816. description: 买单量3
  8817. type: integer
  8818. bidordervolume4:
  8819. description: 买单量4
  8820. type: integer
  8821. bidordervolume5:
  8822. description: 买单量5
  8823. type: integer
  8824. bidordervolume6:
  8825. description: 买单量6
  8826. type: integer
  8827. bidordervolume7:
  8828. description: 买单量7
  8829. type: integer
  8830. bidordervolume8:
  8831. description: 买单量8
  8832. type: integer
  8833. bidordervolume9:
  8834. description: 买单量9
  8835. type: integer
  8836. bidordervolume10:
  8837. description: 买单量10
  8838. type: integer
  8839. bidqueueinfo:
  8840. description: 大利市买港股用
  8841. type: string
  8842. bidvolume:
  8843. description: 买量1
  8844. type: integer
  8845. bidvolume2:
  8846. description: 买量2
  8847. type: integer
  8848. bidvolume3:
  8849. description: 买量3
  8850. type: integer
  8851. bidvolume4:
  8852. description: 买量4
  8853. type: integer
  8854. bidvolume5:
  8855. description: 买量5
  8856. type: integer
  8857. bidvolume6:
  8858. description: 买量6
  8859. type: integer
  8860. bidvolume7:
  8861. description: 买量7
  8862. type: integer
  8863. bidvolume8:
  8864. description: 买量8
  8865. type: integer
  8866. bidvolume9:
  8867. description: 买量9
  8868. type: integer
  8869. bidvolume10:
  8870. description: 买量10
  8871. type: integer
  8872. calloptionpremiums:
  8873. description: 认购期权1
  8874. type: integer
  8875. calloptionpremiums2:
  8876. description: 认购期权2
  8877. type: integer
  8878. calloptionpremiums3:
  8879. description: 认购期权3
  8880. type: integer
  8881. calloptionpremiums4:
  8882. description: 认购期权4
  8883. type: integer
  8884. calloptionpremiums5:
  8885. description: 认购期权5
  8886. type: integer
  8887. cleartime:
  8888. description: 清盘时间
  8889. type: integer
  8890. exchangecode:
  8891. description: 交易所代码
  8892. type: integer
  8893. exchangedate:
  8894. description: 交易日
  8895. type: integer
  8896. goodscode:
  8897. description: 商品代码
  8898. type: string
  8899. grepmarketprice:
  8900. description: 暗盘价 港股专用
  8901. type: number
  8902. highest:
  8903. description: 最高价
  8904. type: number
  8905. holdincrement:
  8906. description: 单笔持仓
  8907. type: integer
  8908. holdvolume:
  8909. description: 持仓
  8910. type: integer
  8911. iep:
  8912. description: 平衡价 港股专用
  8913. type: number
  8914. iev:
  8915. description: 平衡量 港股专用
  8916. type: number
  8917. inventory:
  8918. description: 库存
  8919. type: integer
  8920. iscleared:
  8921. description: 是否清盘标志
  8922. type: integer
  8923. issettled:
  8924. description: 是否结算标志
  8925. type: integer
  8926. last:
  8927. description: 最新价
  8928. type: number
  8929. lastlot:
  8930. description: 最新成交手数
  8931. type: integer
  8932. lasttime:
  8933. description: 行情时间(只有现价变化行情时间才变化)
  8934. type: string
  8935. lastturnover:
  8936. description: 最新成交金额
  8937. type: number
  8938. lastvolume:
  8939. description: 最新成交量
  8940. type: integer
  8941. limitdown:
  8942. description: 跌停价
  8943. type: number
  8944. limitup:
  8945. description: 涨停价
  8946. type: number
  8947. lowest:
  8948. description: 最低价
  8949. type: number
  8950. nontotalholdervolume:
  8951. description: 非交易持仓量
  8952. type: integer
  8953. nontotallot:
  8954. description: 非交易总手数
  8955. type: integer
  8956. nontotalturnover:
  8957. description: 非交易总金额
  8958. type: integer
  8959. nontotalvolume:
  8960. description: 非交易总量
  8961. type: integer
  8962. opened:
  8963. description: 开盘价
  8964. type: number
  8965. opentime:
  8966. description: 开盘时间
  8967. type: string
  8968. orderid:
  8969. description: 序号
  8970. type: integer
  8971. preclose:
  8972. description: 昨收
  8973. type: number
  8974. preholdvolume:
  8975. description: 昨持仓
  8976. type: integer
  8977. presettle:
  8978. description: 昨结价
  8979. type: number
  8980. publictradetype:
  8981. description: 公共交易标志类型 港股专用
  8982. type: string
  8983. putoptionpremiums:
  8984. description: 认沽期权1
  8985. type: integer
  8986. putoptionpremiums2:
  8987. description: 认沽期权2
  8988. type: integer
  8989. putoptionpremiums3:
  8990. description: 认沽期权3
  8991. type: integer
  8992. putoptionpremiums4:
  8993. description: 认沽期权4
  8994. type: integer
  8995. putoptionpremiums5:
  8996. description: 认沽期权5
  8997. type: integer
  8998. settle:
  8999. description: 结算价
  9000. type: number
  9001. strikeprice:
  9002. description: 发行价
  9003. type: number
  9004. totalaskvolume:
  9005. description: 内盘
  9006. type: integer
  9007. totalbidvolume:
  9008. description: 外盘
  9009. type: integer
  9010. totallot:
  9011. description: 总手数
  9012. type: integer
  9013. totalturnover:
  9014. description: 总金额
  9015. type: number
  9016. totalvolume:
  9017. description: 总量
  9018. type: integer
  9019. utclasttime:
  9020. description: utc的行情时间
  9021. type: string
  9022. type: object
  9023. quote.QueryTSDataRsp:
  9024. properties:
  9025. decimalPlace:
  9026. description: 小数位
  9027. type: integer
  9028. endTime:
  9029. description: 结束时间
  9030. type: string
  9031. goodsCode:
  9032. description: 商品代码
  9033. type: string
  9034. historyDatas:
  9035. description: 历史数据
  9036. items:
  9037. $ref: '#/definitions/quote.HistoryData'
  9038. type: array
  9039. outGoodsCode:
  9040. description: 外部商品代码
  9041. type: string
  9042. preSettle:
  9043. description: 昨结
  9044. type: number
  9045. startTime:
  9046. description: 开始时间
  9047. type: string
  9048. tradeDate:
  9049. description: 交易日
  9050. type: string
  9051. type: object
  9052. szdz.QueryConvertLogRsp:
  9053. properties:
  9054. accountid:
  9055. description: 资金账户ID
  9056. type: integer
  9057. clientticket:
  9058. description: 客户端流水号
  9059. type: string
  9060. converttype:
  9061. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  9062. type: integer
  9063. createtime:
  9064. description: 记账时间
  9065. type: string
  9066. daymaxvalue:
  9067. description: 配置当日最大转入限制
  9068. type: number
  9069. daymaxvalue2:
  9070. description: 配置当日最大转入限制(转入)
  9071. type: number
  9072. goodscode:
  9073. description: 商品代码
  9074. type: string
  9075. goodsname:
  9076. description: 商品名称
  9077. type: string
  9078. handlestatus:
  9079. description: 处理状态
  9080. type: integer
  9081. innergoodsid:
  9082. description: 内部商品ID
  9083. type: integer
  9084. inratio:
  9085. description: 配置转入比值
  9086. type: integer
  9087. invalue:
  9088. description: 目标值
  9089. type: number
  9090. logid:
  9091. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9092. type: integer
  9093. mobile:
  9094. description: 手机号码(加密存储)
  9095. type: string
  9096. outergoodscode:
  9097. description: 外部商品代码[JD\PD]
  9098. type: string
  9099. outratio:
  9100. description: 配置转出比值
  9101. type: integer
  9102. outvalue:
  9103. description: 源值
  9104. type: number
  9105. pddecimalplace:
  9106. description: PD小数位
  9107. type: integer
  9108. qty:
  9109. description: 数量
  9110. type: string
  9111. remark:
  9112. description: 备注
  9113. type: string
  9114. sessionid:
  9115. description: 会话ID
  9116. type: integer
  9117. timemaxvalue:
  9118. description: 配置单次最大转入限制
  9119. type: number
  9120. timemaxvalue2:
  9121. description: 配置单次最大转入限制(转入)
  9122. type: number
  9123. timeminvalue:
  9124. description: 配置单次最小数量限制
  9125. type: number
  9126. timeminvalue2:
  9127. description: 配置单次最小数量限制(转入)
  9128. type: number
  9129. tradedate:
  9130. description: 交易日(yyyyMMdd)
  9131. type: string
  9132. userid:
  9133. description: 用户ID
  9134. type: integer
  9135. required:
  9136. - logid
  9137. type: object
  9138. szdz.QueryGoodsPickupRsp:
  9139. properties:
  9140. accountid:
  9141. description: 账户ID
  9142. type: integer
  9143. address:
  9144. description: 提货人详细地址
  9145. type: string
  9146. auditer:
  9147. description: 审核人
  9148. type: integer
  9149. audittime:
  9150. description: 审核时间
  9151. type: string
  9152. cardnum:
  9153. description: 提货人证件号码
  9154. type: string
  9155. cardtypeid:
  9156. description: 提货人证件类型
  9157. type: integer
  9158. checkremark:
  9159. description: 审核备注
  9160. type: string
  9161. goodscode:
  9162. description: 商品代码
  9163. type: string
  9164. goodsid:
  9165. description: 商品ID
  9166. type: integer
  9167. goodsname:
  9168. description: 商品名称
  9169. type: string
  9170. handlestatus:
  9171. description: 处理状态
  9172. type: integer
  9173. marketid:
  9174. description: 市场ID
  9175. type: integer
  9176. phonenum:
  9177. description: 提货人联系方式
  9178. type: string
  9179. qty:
  9180. description: 提货数量
  9181. type: number
  9182. recivername:
  9183. description: 提货人姓名
  9184. type: string
  9185. reqtime:
  9186. description: 更新时间
  9187. type: string
  9188. takemode:
  9189. description: 提货方式 - 2:自提 3:配送
  9190. type: integer
  9191. takeorderid:
  9192. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9193. type: string
  9194. takeorderstatus:
  9195. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9196. type: integer
  9197. takeremark:
  9198. description: 提货备注
  9199. type: string
  9200. tradedate:
  9201. description: 交易日(yyyyMMdd)
  9202. type: string
  9203. userid:
  9204. description: 用户ID
  9205. type: integer
  9206. required:
  9207. - takeorderid
  9208. type: object
  9209. szdz.QueryRecieptOrderRsp:
  9210. properties:
  9211. accountName:
  9212. description: 所属账号名称(已脱敏)
  9213. type: string
  9214. accountid:
  9215. description: 资金账号
  9216. type: integer
  9217. buyorsell:
  9218. description: 方向 - 0:买 1:卖
  9219. type: integer
  9220. enableqty:
  9221. description: 可摘数量
  9222. type: integer
  9223. goodscode:
  9224. description: 商品代码
  9225. type: string
  9226. goodsid:
  9227. description: 商品ID
  9228. type: integer
  9229. goodsname:
  9230. description: 商品名称
  9231. type: string
  9232. orderid:
  9233. description: 委托单号
  9234. type: string
  9235. orderprice:
  9236. description: 委托价格
  9237. type: number
  9238. ordertime:
  9239. description: 委托时间
  9240. type: string
  9241. tradedate:
  9242. description: 交易日(yyyyMMdd)
  9243. type: string
  9244. required:
  9245. - ordertime
  9246. type: object
  9247. szdz.QuerySZDZTradePositionRsp:
  9248. properties:
  9249. accountid:
  9250. description: 账号Id
  9251. type: integer
  9252. agreeunit:
  9253. description: 合约单位
  9254. type: number
  9255. averageprice:
  9256. description: 持仓均价
  9257. type: number
  9258. buyorsell:
  9259. description: 方向 - 0:买 1:卖
  9260. type: integer
  9261. closetotalqty:
  9262. description: 平仓总数量
  9263. type: integer
  9264. curholderamount:
  9265. description: 当前持仓总金额
  9266. type: number
  9267. curpositionqty:
  9268. description: 当前持仓总数量
  9269. type: integer
  9270. currencyid:
  9271. description: 报价货币ID
  9272. type: integer
  9273. curtdposition:
  9274. description: 期末今日头寸
  9275. type: integer
  9276. decimalplace:
  9277. description: 报价小数位
  9278. type: integer
  9279. enableqty:
  9280. description: 可用量
  9281. type: integer
  9282. fretdposition:
  9283. description: 冻结今日头寸
  9284. type: integer
  9285. frozenqty:
  9286. description: 持仓冻结数量
  9287. type: integer
  9288. goodscode:
  9289. description: 商品代码(内部)
  9290. type: string
  9291. goodsid:
  9292. description: 商品Id
  9293. type: integer
  9294. goodsname:
  9295. description: 商品名称
  9296. type: string
  9297. goodunit:
  9298. description: 报价单位
  9299. type: string
  9300. goodunitid:
  9301. description: 报价单位ID
  9302. type: integer
  9303. holderamount:
  9304. description: 期初持仓总金额
  9305. type: number
  9306. marketid:
  9307. description: 市场ID
  9308. type: integer
  9309. openreqqty:
  9310. description: 开仓申请数量
  9311. type: integer
  9312. opentotalqty:
  9313. description: 开仓总数量
  9314. type: integer
  9315. otherfrozenqty:
  9316. description: 持仓其他冻结数量(交割冻结)
  9317. type: integer
  9318. positionqty:
  9319. description: 期初持仓数量
  9320. type: integer
  9321. szdz3freezqty:
  9322. description: 尚志大宗转换冻结总数量
  9323. type: integer
  9324. tnqty:
  9325. description: T+N冻结总量
  9326. type: integer
  9327. tnusedqty:
  9328. description: T+N使用量
  9329. type: integer
  9330. trademode:
  9331. description: 交易模式
  9332. type: integer
  9333. usedmargin:
  9334. description: 占用保证金
  9335. type: number
  9336. type: object
  9337. taaccount.QueryAmountLogRsp:
  9338. properties:
  9339. OPERATETYPENAME:
  9340. description: 资金操作类型名称
  9341. type: string
  9342. accountid:
  9343. description: 资金账户ID
  9344. type: integer
  9345. agoodscode:
  9346. description: 竞拍商品代码
  9347. type: string
  9348. agoodsname:
  9349. description: 竞拍商品名称
  9350. type: string
  9351. amount:
  9352. description: 资金金额
  9353. type: number
  9354. amountadjusttype:
  9355. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9356. type: integer
  9357. autoid:
  9358. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9359. type: integer
  9360. balance:
  9361. description: 期初余额
  9362. type: number
  9363. businesscode:
  9364. description: 业务编号
  9365. type: integer
  9366. createtime:
  9367. description: 发生时间
  9368. type: string
  9369. currencyid:
  9370. description: 币种ID
  9371. type: integer
  9372. currentbalance:
  9373. description: 期末余额(变动后金额)
  9374. type: number
  9375. dgoodscode:
  9376. description: 交割商品代码
  9377. type: string
  9378. dgoodsname:
  9379. description: 交割商品名称
  9380. type: string
  9381. goodscode:
  9382. description: 商品代码
  9383. type: string
  9384. goodsid:
  9385. description: 商品ID
  9386. type: integer
  9387. goodsname:
  9388. description: 商品名称
  9389. type: string
  9390. marketid:
  9391. description: 市场ID
  9392. type: integer
  9393. marketname:
  9394. description: 市场名称
  9395. type: string
  9396. moneyticket:
  9397. description: 资金流水号:银行端流水号
  9398. type: integer
  9399. operatetype:
  9400. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9401. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9402. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9403. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9404. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9405. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9406. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9407. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9408. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9409. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9410. type: integer
  9411. relationorderid:
  9412. description: 关联单号
  9413. type: string
  9414. remark:
  9415. description: 备注
  9416. type: string
  9417. trademode:
  9418. description: 交易模式
  9419. type: integer
  9420. required:
  9421. - accountid
  9422. - amount
  9423. - amountadjusttype
  9424. - autoid
  9425. - balance
  9426. - createtime
  9427. - currentbalance
  9428. - operatetype
  9429. type: object
  9430. taaccount.QueryHisAmountLogRsp:
  9431. properties:
  9432. OPERATETYPENAME:
  9433. description: 资金操作类型名称
  9434. type: string
  9435. accountid:
  9436. description: 资金账户ID
  9437. type: integer
  9438. agoodscode:
  9439. description: 竞拍商品代码
  9440. type: string
  9441. agoodsname:
  9442. description: 竞拍商品名称
  9443. type: string
  9444. amount:
  9445. description: 资金金额
  9446. type: number
  9447. amountadjusttype:
  9448. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9449. type: integer
  9450. autoid:
  9451. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9452. type: integer
  9453. balance:
  9454. description: 期初余额
  9455. type: number
  9456. businesscode:
  9457. description: 业务编号
  9458. type: integer
  9459. createtime:
  9460. description: 发生时间
  9461. type: string
  9462. currencyid:
  9463. description: 币种ID
  9464. type: integer
  9465. currentbalance:
  9466. description: 期末余额(变动后金额)
  9467. type: number
  9468. dgoodscode:
  9469. description: 交割商品代码
  9470. type: string
  9471. dgoodsname:
  9472. description: 交割商品名称
  9473. type: string
  9474. goodscode:
  9475. description: 商品代码
  9476. type: string
  9477. goodsid:
  9478. description: 商品ID
  9479. type: integer
  9480. goodsname:
  9481. description: 商品名称
  9482. type: string
  9483. histradedate:
  9484. description: 历史交易日
  9485. type: string
  9486. isvaliddata:
  9487. description: 是否有效 - 0:无效 1:有效
  9488. type: integer
  9489. marketid:
  9490. description: 市场ID
  9491. type: integer
  9492. marketname:
  9493. description: 市场名称
  9494. type: string
  9495. moneyticket:
  9496. description: 资金流水号:银行端流水号
  9497. type: integer
  9498. operatetype:
  9499. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9500. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9501. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9502. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9503. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9504. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9505. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9506. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9507. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9508. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9509. type: integer
  9510. relationorderid:
  9511. description: 关联单号
  9512. type: string
  9513. remark:
  9514. description: 备注
  9515. type: string
  9516. trademode:
  9517. description: 交易模式
  9518. type: integer
  9519. required:
  9520. - accountid
  9521. - amount
  9522. - amountadjusttype
  9523. - autoid
  9524. - balance
  9525. - createtime
  9526. - currentbalance
  9527. - histradedate
  9528. - operatetype
  9529. type: object
  9530. trade.QueryRecieptOrderRsp:
  9531. properties:
  9532. accountName:
  9533. description: 所属账号名称(已脱敏)
  9534. type: string
  9535. accountid:
  9536. description: 资金账号
  9537. type: integer
  9538. buyorsell:
  9539. description: 方向 - 0:买 1:卖
  9540. type: integer
  9541. enableqty:
  9542. description: 可摘数量
  9543. type: integer
  9544. goodscode:
  9545. description: 商品代码
  9546. type: string
  9547. goodsid:
  9548. description: 商品ID
  9549. type: integer
  9550. goodsname:
  9551. description: 商品名称
  9552. type: string
  9553. orderid:
  9554. description: 委托单号
  9555. type: string
  9556. orderprice:
  9557. description: 委托价格
  9558. type: number
  9559. ordertime:
  9560. description: 委托时间
  9561. type: string
  9562. tradedate:
  9563. description: 交易日(yyyyMMdd)
  9564. type: string
  9565. required:
  9566. - ordertime
  9567. type: object
  9568. user.LoginQueryRsp:
  9569. properties:
  9570. externalExchanges:
  9571. description: 外部交易所
  9572. items:
  9573. $ref: '#/definitions/models.Externalexchange'
  9574. type: array
  9575. goodsgroups:
  9576. description: 商品组
  9577. items:
  9578. $ref: '#/definitions/models.Goodsgroup'
  9579. type: array
  9580. loginAccount:
  9581. $ref: '#/definitions/models.Loginaccount'
  9582. description: 登录账号
  9583. markets:
  9584. description: 市场
  9585. items:
  9586. $ref: '#/definitions/models.Market'
  9587. type: array
  9588. systemParams:
  9589. description: 系统参数
  9590. items:
  9591. $ref: '#/definitions/models.Systemparam'
  9592. type: array
  9593. userAccount:
  9594. $ref: '#/definitions/models.Useraccount'
  9595. description: 用户账号
  9596. userInfo:
  9597. $ref: '#/definitions/models.Userinfo'
  9598. description: 用户信息
  9599. username:
  9600. description: 用户姓名
  9601. type: string
  9602. type: object
  9603. info:
  9604. contact: {}
  9605. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9606. termsOfService: http://muchinfo.cn
  9607. title: MTP2.0 查询服务 API
  9608. version: "1.0"
  9609. paths:
  9610. /CPTrade/QueryCPTradeMyBidInfos:
  9611. get:
  9612. parameters:
  9613. - description: 资金账户
  9614. in: query
  9615. name: accountid
  9616. required: true
  9617. type: integer
  9618. - description: 预售市场ID
  9619. in: query
  9620. name: marketid
  9621. type: integer
  9622. - description: 预售商品ID
  9623. in: query
  9624. name: goodsid
  9625. type: integer
  9626. produces:
  9627. - application/json
  9628. responses:
  9629. "200":
  9630. description: OK
  9631. schema:
  9632. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9633. "500":
  9634. description: Internal Server Error
  9635. schema:
  9636. $ref: '#/definitions/app.Response'
  9637. security:
  9638. - ApiKeyAuth: []
  9639. summary: 查询产能预售我的出价信息
  9640. tags:
  9641. - 产能预售
  9642. /CPTrade/QueryCPTradeOrderDetail:
  9643. get:
  9644. parameters:
  9645. - description: 预售商品ID
  9646. in: query
  9647. name: goodsid
  9648. type: integer
  9649. - description: 预售市场ID
  9650. in: query
  9651. name: marketid
  9652. type: integer
  9653. - description: 预售商品ID列表 - 格式:1,2,3
  9654. in: query
  9655. name: goodsids
  9656. type: string
  9657. produces:
  9658. - application/json
  9659. responses:
  9660. "200":
  9661. description: OK
  9662. schema:
  9663. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9664. "500":
  9665. description: Internal Server Error
  9666. schema:
  9667. $ref: '#/definitions/app.Response'
  9668. security:
  9669. - ApiKeyAuth: []
  9670. summary: 查询产能预售委托单信息
  9671. tags:
  9672. - 产能预售
  9673. /CPTrade/QueryMyCPTradeGoods:
  9674. get:
  9675. parameters:
  9676. - description: 资金账户
  9677. in: query
  9678. name: accountid
  9679. required: true
  9680. type: integer
  9681. produces:
  9682. - application/json
  9683. responses:
  9684. "200":
  9685. description: OK
  9686. schema:
  9687. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9688. "500":
  9689. description: Internal Server Error
  9690. schema:
  9691. $ref: '#/definitions/app.Response'
  9692. security:
  9693. - ApiKeyAuth: []
  9694. summary: 查询我的预售信息
  9695. tags:
  9696. - 产能预售
  9697. /CPTrade/QueryPositionCancel:
  9698. get:
  9699. parameters:
  9700. - description: 账户ID
  9701. in: query
  9702. name: userid
  9703. required: true
  9704. type: integer
  9705. - description: 注销ID
  9706. in: query
  9707. name: cancelid
  9708. type: integer
  9709. - description: 资金账户ID
  9710. in: query
  9711. name: accountid
  9712. type: integer
  9713. produces:
  9714. - application/json
  9715. responses:
  9716. "200":
  9717. description: OK
  9718. schema:
  9719. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9720. "500":
  9721. description: Internal Server Error
  9722. schema:
  9723. $ref: '#/definitions/app.Response'
  9724. security:
  9725. - ApiKeyAuth: []
  9726. summary: 查询远期订单注销申请信息
  9727. tags:
  9728. - 产能预售
  9729. /CPTrade/QueryPreasleApply:
  9730. get:
  9731. parameters:
  9732. - description: 账户ID
  9733. in: query
  9734. name: userid
  9735. required: true
  9736. type: integer
  9737. - description: 申请ID
  9738. in: query
  9739. name: applyid
  9740. type: integer
  9741. - description: 资金账户ID
  9742. in: query
  9743. name: accountid
  9744. type: integer
  9745. produces:
  9746. - application/json
  9747. responses:
  9748. "200":
  9749. description: OK
  9750. schema:
  9751. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9752. "500":
  9753. description: Internal Server Error
  9754. schema:
  9755. $ref: '#/definitions/app.Response'
  9756. security:
  9757. - ApiKeyAuth: []
  9758. summary: 查询产能预售申请信息
  9759. tags:
  9760. - 产能预售
  9761. /CPTrade/QueryPresaleGoodsEx:
  9762. get:
  9763. parameters:
  9764. - description: 预售商品ID
  9765. in: query
  9766. name: goodsid
  9767. type: integer
  9768. - description: 预售市场ID
  9769. in: query
  9770. name: marketid
  9771. type: integer
  9772. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9773. in: query
  9774. name: presalemode
  9775. type: integer
  9776. - description: 预售商品ID列表 - 格式:1,2,3
  9777. in: query
  9778. name: goodsids
  9779. type: string
  9780. - description: 预售商品代码
  9781. in: query
  9782. name: goodscode
  9783. type: string
  9784. produces:
  9785. - application/json
  9786. responses:
  9787. "200":
  9788. description: OK
  9789. schema:
  9790. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9791. "500":
  9792. description: Internal Server Error
  9793. schema:
  9794. $ref: '#/definitions/app.Response'
  9795. security:
  9796. - ApiKeyAuth: []
  9797. summary: 查询产能预售商品扩展信息
  9798. tags:
  9799. - 产能预售
  9800. /CPTrade/QueryUserGoodsData:
  9801. get:
  9802. parameters:
  9803. - description: 资金账户ID
  9804. in: query
  9805. name: accountid
  9806. required: true
  9807. type: integer
  9808. produces:
  9809. - application/json
  9810. responses:
  9811. "200":
  9812. description: OK
  9813. schema:
  9814. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9815. "500":
  9816. description: Internal Server Error
  9817. schema:
  9818. $ref: '#/definitions/app.Response'
  9819. security:
  9820. - ApiKeyAuth: []
  9821. summary: 查询远期订单信息
  9822. tags:
  9823. - 产能预售
  9824. /Common/GetAllEnums:
  9825. get:
  9826. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9827. parameters:
  9828. - description: 起始自增ID
  9829. in: query
  9830. name: autoid
  9831. type: integer
  9832. produces:
  9833. - application/json
  9834. responses:
  9835. "200":
  9836. description: OK
  9837. schema:
  9838. $ref: '#/definitions/models.Enumdicitem'
  9839. "500":
  9840. description: Internal Server Error
  9841. schema:
  9842. $ref: '#/definitions/app.Response'
  9843. summary: 获取所有枚举信息
  9844. tags:
  9845. - 通用服务
  9846. /Common/GetDivisions:
  9847. get:
  9848. produces:
  9849. - application/json
  9850. responses:
  9851. "200":
  9852. description: OK
  9853. schema:
  9854. $ref: '#/definitions/models.Division'
  9855. "500":
  9856. description: Internal Server Error
  9857. schema:
  9858. $ref: '#/definitions/app.Response'
  9859. summary: 查询区域信息
  9860. tags:
  9861. - 通用服务
  9862. /Common/GetServerTime:
  9863. get:
  9864. produces:
  9865. - application/json
  9866. responses:
  9867. "200":
  9868. description: OK
  9869. schema:
  9870. $ref: '#/definitions/app.Response'
  9871. "500":
  9872. description: Internal Server Error
  9873. schema:
  9874. $ref: '#/definitions/app.Response'
  9875. summary: 获取服务器时间
  9876. tags:
  9877. - 通用服务
  9878. /Common/NoticeReaded:
  9879. post:
  9880. parameters:
  9881. - description: 登录账号
  9882. in: query
  9883. name: loginID
  9884. required: true
  9885. type: integer
  9886. - description: 通知公告ID
  9887. in: query
  9888. name: noticeID
  9889. required: true
  9890. type: integer
  9891. produces:
  9892. - application/json
  9893. responses:
  9894. "200":
  9895. description: OK
  9896. schema:
  9897. $ref: '#/definitions/app.Response'
  9898. "500":
  9899. description: Internal Server Error
  9900. schema:
  9901. $ref: '#/definitions/app.Response'
  9902. security:
  9903. - ApiKeyAuth: []
  9904. summary: 通知公告设置已读请求
  9905. tags:
  9906. - 通用服务
  9907. /Common/QueryErrorInfos:
  9908. get:
  9909. description: 如果传入rowNumber,则返回此rowNumber后的数据
  9910. parameters:
  9911. - description: 起始行号前索引
  9912. in: query
  9913. name: rowNumber
  9914. type: string
  9915. produces:
  9916. - application/json
  9917. responses:
  9918. "200":
  9919. description: OK
  9920. schema:
  9921. $ref: '#/definitions/models.QueryErrorInfosRsp'
  9922. "500":
  9923. description: Internal Server Error
  9924. schema:
  9925. $ref: '#/definitions/app.Response'
  9926. summary: 获取数据库错误信息
  9927. tags:
  9928. - 通用服务
  9929. /Common/QueryImageConfigs:
  9930. get:
  9931. parameters:
  9932. - description: 类型 - 1:App首页轮播 2:我的
  9933. in: query
  9934. name: imageType
  9935. type: integer
  9936. produces:
  9937. - application/json
  9938. responses:
  9939. "200":
  9940. description: OK
  9941. schema:
  9942. $ref: '#/definitions/common.QueryImageConfigsRsp'
  9943. "500":
  9944. description: Internal Server Error
  9945. schema:
  9946. $ref: '#/definitions/app.Response'
  9947. summary: 查询轮播图配置信息
  9948. tags:
  9949. - 通用服务
  9950. /Common/QueryNotice:
  9951. get:
  9952. parameters:
  9953. - description: 页码
  9954. in: query
  9955. name: page
  9956. type: integer
  9957. - description: 每页条数
  9958. in: query
  9959. name: pagesize
  9960. type: integer
  9961. - description: 登录账号
  9962. in: query
  9963. name: loginID
  9964. required: true
  9965. type: integer
  9966. - description: 消息类型 - 1:公告通知 2:系统消息
  9967. in: query
  9968. name: msgType
  9969. type: integer
  9970. - description: 是否只获取未读信息
  9971. in: query
  9972. name: onlyUnRead
  9973. type: boolean
  9974. - description: 自增ID,传入后会返回这个ID后面的记录
  9975. in: query
  9976. name: lastID
  9977. type: integer
  9978. produces:
  9979. - application/json
  9980. responses:
  9981. "200":
  9982. description: OK
  9983. schema:
  9984. $ref: '#/definitions/common.QueryNoticeRsp'
  9985. "500":
  9986. description: Internal Server Error
  9987. schema:
  9988. $ref: '#/definitions/app.Response'
  9989. security:
  9990. - ApiKeyAuth: []
  9991. summary: 通知公告系统消息查询
  9992. tags:
  9993. - 通用服务
  9994. /Common/QueryProvincesAndCities:
  9995. get:
  9996. parameters:
  9997. - description: 省ID
  9998. in: query
  9999. name: provinceID
  10000. type: integer
  10001. produces:
  10002. - application/json
  10003. responses:
  10004. "200":
  10005. description: OK
  10006. schema:
  10007. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  10008. "500":
  10009. description: Internal Server Error
  10010. schema:
  10011. $ref: '#/definitions/app.Response'
  10012. summary: 查询省市信息(不包括区)
  10013. tags:
  10014. - 通用服务
  10015. /Common/QueryTableDefine:
  10016. get:
  10017. parameters:
  10018. - description: 表key
  10019. in: query
  10020. name: tableKey
  10021. type: string
  10022. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  10023. in: query
  10024. name: tableType
  10025. type: integer
  10026. produces:
  10027. - application/json
  10028. responses:
  10029. "200":
  10030. description: OK
  10031. schema:
  10032. $ref: '#/definitions/common.QueryTableDefineRsp'
  10033. "500":
  10034. description: Internal Server Error
  10035. schema:
  10036. $ref: '#/definitions/app.Response'
  10037. summary: 查询交易端列表头信息
  10038. tags:
  10039. - 通用服务
  10040. /Common/QueryTraderMenu:
  10041. get:
  10042. parameters:
  10043. - description: 登录账号
  10044. in: query
  10045. name: loginid
  10046. required: true
  10047. type: integer
  10048. produces:
  10049. - application/json
  10050. responses:
  10051. "200":
  10052. description: OK
  10053. schema:
  10054. $ref: '#/definitions/common.QueryTraderMenuRsp'
  10055. "500":
  10056. description: Internal Server Error
  10057. schema:
  10058. $ref: '#/definitions/app.Response'
  10059. summary: 查询交易端菜单
  10060. tags:
  10061. - 通用服务
  10062. /Delivery/QueryDeliveryRelation:
  10063. get:
  10064. parameters:
  10065. - description: 商品ID
  10066. in: query
  10067. name: goodsid
  10068. type: integer
  10069. - description: 品种ID
  10070. in: query
  10071. name: deliverygoodsid
  10072. type: integer
  10073. - description: 市场ID
  10074. in: query
  10075. name: marketid
  10076. type: integer
  10077. produces:
  10078. - application/json
  10079. responses:
  10080. "200":
  10081. description: OK
  10082. schema:
  10083. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  10084. "500":
  10085. description: Internal Server Error
  10086. schema:
  10087. $ref: '#/definitions/app.Response'
  10088. security:
  10089. - ApiKeyAuth: []
  10090. summary: 查询商品交割关系表
  10091. tags:
  10092. - 交割服务
  10093. /Ermcp/GetErmcpGoods:
  10094. get:
  10095. parameters:
  10096. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10097. in: query
  10098. name: lastUpdateTime
  10099. type: string
  10100. produces:
  10101. - application/json
  10102. responses:
  10103. "200":
  10104. description: OK
  10105. schema:
  10106. $ref: '#/definitions/models.Goods'
  10107. "500":
  10108. description: Internal Server Error
  10109. schema:
  10110. $ref: '#/definitions/app.Response'
  10111. security:
  10112. - ApiKeyAuth: []
  10113. summary: 查询企业风管期货商品信息
  10114. tags:
  10115. - 企业风险管理(app)
  10116. /Ermcp/GetErmcpRoleFuncMenuLists:
  10117. get:
  10118. parameters:
  10119. - description: 登录账号
  10120. in: query
  10121. name: loginID
  10122. required: true
  10123. type: integer
  10124. produces:
  10125. - application/json
  10126. responses:
  10127. "200":
  10128. description: OK
  10129. schema:
  10130. $ref: '#/definitions/models.Funcmenulist'
  10131. "500":
  10132. description: Internal Server Error
  10133. schema:
  10134. $ref: '#/definitions/app.Response'
  10135. security:
  10136. - ApiKeyAuth: []
  10137. summary: 获取企业风管终端权限
  10138. tags:
  10139. - 企业风险管理(app)
  10140. /Ermcp/QryReportDayExposure:
  10141. get:
  10142. parameters:
  10143. - description: 用户ID
  10144. in: query
  10145. name: userid
  10146. required: true
  10147. type: integer
  10148. - description: 交易日(格式:yyyyMMdd)
  10149. in: query
  10150. name: tradedate
  10151. required: true
  10152. type: string
  10153. produces:
  10154. - application/json
  10155. responses:
  10156. "200":
  10157. description: OK
  10158. schema:
  10159. items:
  10160. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10161. type: array
  10162. "500":
  10163. description: Internal Server Error
  10164. schema:
  10165. $ref: '#/definitions/app.Response'
  10166. security:
  10167. - ApiKeyAuth: []
  10168. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10169. tags:
  10170. - 企业风险管理(app)
  10171. /Ermcp/QryReportDayFinance:
  10172. get:
  10173. parameters:
  10174. - description: 用户ID
  10175. in: query
  10176. name: userid
  10177. required: true
  10178. type: integer
  10179. - description: 交易日(格式:yyyyMMdd)
  10180. in: query
  10181. name: tradedate
  10182. required: true
  10183. type: string
  10184. produces:
  10185. - application/json
  10186. responses:
  10187. "200":
  10188. description: OK
  10189. schema:
  10190. items:
  10191. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10192. type: array
  10193. "500":
  10194. description: Internal Server Error
  10195. schema:
  10196. $ref: '#/definitions/app.Response'
  10197. security:
  10198. - ApiKeyAuth: []
  10199. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10200. tags:
  10201. - 企业风险管理(app)
  10202. /Ermcp/QryReportDayFinanceFp:
  10203. get:
  10204. parameters:
  10205. - description: 用户ID
  10206. in: query
  10207. name: userid
  10208. required: true
  10209. type: integer
  10210. - description: 交易日(格式:yyyyMMdd)
  10211. in: query
  10212. name: tradedate
  10213. required: true
  10214. type: string
  10215. produces:
  10216. - application/json
  10217. responses:
  10218. "200":
  10219. description: OK
  10220. schema:
  10221. items:
  10222. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10223. type: array
  10224. "500":
  10225. description: Internal Server Error
  10226. schema:
  10227. $ref: '#/definitions/app.Response'
  10228. security:
  10229. - ApiKeyAuth: []
  10230. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10231. tags:
  10232. - 企业风险管理(app)
  10233. /Ermcp/QryReportDayFinanceKx:
  10234. get:
  10235. parameters:
  10236. - description: 用户ID
  10237. in: query
  10238. name: userid
  10239. required: true
  10240. type: integer
  10241. - description: 交易日(格式:yyyyMMdd)
  10242. in: query
  10243. name: tradedate
  10244. required: true
  10245. type: string
  10246. produces:
  10247. - application/json
  10248. responses:
  10249. "200":
  10250. description: OK
  10251. schema:
  10252. items:
  10253. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10254. type: array
  10255. "500":
  10256. description: Internal Server Error
  10257. schema:
  10258. $ref: '#/definitions/app.Response'
  10259. security:
  10260. - ApiKeyAuth: []
  10261. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10262. tags:
  10263. - 企业风险管理(app)
  10264. /Ermcp/QryReportDaySpot:
  10265. get:
  10266. parameters:
  10267. - description: 用户ID
  10268. in: query
  10269. name: userid
  10270. required: true
  10271. type: integer
  10272. - description: 交易日(格式:yyyyMMdd)
  10273. in: query
  10274. name: tradedate
  10275. required: true
  10276. type: string
  10277. produces:
  10278. - application/json
  10279. responses:
  10280. "200":
  10281. description: OK
  10282. schema:
  10283. items:
  10284. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10285. type: array
  10286. "500":
  10287. description: Internal Server Error
  10288. schema:
  10289. $ref: '#/definitions/app.Response'
  10290. security:
  10291. - ApiKeyAuth: []
  10292. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10293. tags:
  10294. - 企业风险管理(app)
  10295. /Ermcp/QryReportDaySpotDetail:
  10296. get:
  10297. parameters:
  10298. - description: 用户ID
  10299. in: query
  10300. name: userid
  10301. required: true
  10302. type: integer
  10303. - description: 现货商品id
  10304. in: query
  10305. name: wrstandardid
  10306. required: true
  10307. type: integer
  10308. - description: 交易日(格式:yyyyMMdd)
  10309. in: query
  10310. name: tradedate
  10311. required: true
  10312. type: string
  10313. produces:
  10314. - application/json
  10315. responses:
  10316. "200":
  10317. description: OK
  10318. schema:
  10319. items:
  10320. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10321. type: array
  10322. "500":
  10323. description: Internal Server Error
  10324. schema:
  10325. $ref: '#/definitions/app.Response'
  10326. security:
  10327. - ApiKeyAuth: []
  10328. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10329. tags:
  10330. - 企业风险管理(app)
  10331. /Ermcp/QryReportMonthFinance:
  10332. get:
  10333. parameters:
  10334. - description: 用户ID
  10335. in: query
  10336. name: userid
  10337. required: true
  10338. type: integer
  10339. - description: 周期时间:月(格式:yyyyMM)
  10340. in: query
  10341. name: cycletime
  10342. required: true
  10343. type: string
  10344. produces:
  10345. - application/json
  10346. responses:
  10347. "200":
  10348. description: OK
  10349. schema:
  10350. items:
  10351. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10352. type: array
  10353. "500":
  10354. description: Internal Server Error
  10355. schema:
  10356. $ref: '#/definitions/app.Response'
  10357. security:
  10358. - ApiKeyAuth: []
  10359. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10360. tags:
  10361. - 企业风险管理(app)
  10362. /Ermcp/QryReportMonthSpot:
  10363. get:
  10364. parameters:
  10365. - description: 用户ID
  10366. in: query
  10367. name: userid
  10368. required: true
  10369. type: integer
  10370. - description: 周期时间:月(格式:yyyyMM)
  10371. in: query
  10372. name: cycletime
  10373. required: true
  10374. type: string
  10375. produces:
  10376. - application/json
  10377. responses:
  10378. "200":
  10379. description: OK
  10380. schema:
  10381. items:
  10382. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  10383. type: array
  10384. "500":
  10385. description: Internal Server Error
  10386. schema:
  10387. $ref: '#/definitions/app.Response'
  10388. security:
  10389. - ApiKeyAuth: []
  10390. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  10391. tags:
  10392. - 企业风险管理(app)
  10393. /Ermcp/QryReportMonthSpotDetail:
  10394. get:
  10395. parameters:
  10396. - description: 用户ID
  10397. in: query
  10398. name: userid
  10399. required: true
  10400. type: integer
  10401. - description: 现货商品id
  10402. in: query
  10403. name: wrstandardid
  10404. required: true
  10405. type: integer
  10406. - description: 周期时间:月(格式:yyyyMM)
  10407. in: query
  10408. name: cycletime
  10409. required: true
  10410. type: string
  10411. produces:
  10412. - application/json
  10413. responses:
  10414. "200":
  10415. description: OK
  10416. schema:
  10417. items:
  10418. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10419. type: array
  10420. "500":
  10421. description: Internal Server Error
  10422. schema:
  10423. $ref: '#/definitions/app.Response'
  10424. security:
  10425. - ApiKeyAuth: []
  10426. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10427. tags:
  10428. - 企业风险管理(app)
  10429. /Ermcp/QueryAreaStock:
  10430. get:
  10431. parameters:
  10432. - description: 用户ID
  10433. in: query
  10434. name: userid
  10435. required: true
  10436. type: integer
  10437. produces:
  10438. - application/json
  10439. responses:
  10440. "200":
  10441. description: OK
  10442. schema:
  10443. items:
  10444. $ref: '#/definitions/models.ErmcpAreaStock'
  10445. type: array
  10446. "500":
  10447. description: Internal Server Error
  10448. schema:
  10449. $ref: '#/definitions/app.Response'
  10450. security:
  10451. - ApiKeyAuth: []
  10452. summary: 查询机构库存(库存管理/当前库存)
  10453. tags:
  10454. - 企业风险管理(app)
  10455. /Ermcp/QueryAreaStockApply:
  10456. get:
  10457. parameters:
  10458. - description: 用户ID
  10459. in: query
  10460. name: userid
  10461. required: true
  10462. type: integer
  10463. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  10464. in: query
  10465. name: inouttype
  10466. type: string
  10467. - description: 合同ID
  10468. in: query
  10469. name: spotcontractid
  10470. type: integer
  10471. - description: 现货商品ID
  10472. in: query
  10473. name: wrstandardid
  10474. type: integer
  10475. - description: 品牌ID
  10476. in: query
  10477. name: spotgoodsbrandid
  10478. type: integer
  10479. - description: 型号ID
  10480. in: query
  10481. name: spotgoodsmodelid
  10482. type: integer
  10483. - description: 仓库ID
  10484. in: query
  10485. name: warehouseinfoid
  10486. type: integer
  10487. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10488. in: query
  10489. name: applystatus
  10490. type: string
  10491. produces:
  10492. - application/json
  10493. responses:
  10494. "200":
  10495. description: OK
  10496. schema:
  10497. items:
  10498. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  10499. type: array
  10500. "500":
  10501. description: Internal Server Error
  10502. schema:
  10503. $ref: '#/definitions/app.Response'
  10504. security:
  10505. - ApiKeyAuth: []
  10506. summary: 查询库存申请(出入库记录|库存审核)
  10507. tags:
  10508. - 企业风险管理(app)
  10509. /Ermcp/QueryAreaStockApplySum:
  10510. get:
  10511. parameters:
  10512. - description: 合同ID
  10513. in: query
  10514. name: spotcontractid
  10515. type: integer
  10516. produces:
  10517. - application/json
  10518. responses:
  10519. "200":
  10520. description: OK
  10521. schema:
  10522. items:
  10523. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  10524. type: array
  10525. "500":
  10526. description: Internal Server Error
  10527. schema:
  10528. $ref: '#/definitions/app.Response'
  10529. security:
  10530. - ApiKeyAuth: []
  10531. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  10532. tags:
  10533. - 企业风险管理(app)
  10534. /Ermcp/QueryAvaildGoodsGroup:
  10535. get:
  10536. parameters:
  10537. - description: 所属机构ID
  10538. in: query
  10539. name: userid
  10540. required: true
  10541. type: integer
  10542. produces:
  10543. - application/json
  10544. responses:
  10545. "200":
  10546. description: OK
  10547. schema:
  10548. items:
  10549. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  10550. type: array
  10551. "500":
  10552. description: Internal Server Error
  10553. schema:
  10554. $ref: '#/definitions/app.Response'
  10555. security:
  10556. - ApiKeyAuth: []
  10557. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  10558. tags:
  10559. - 企业风险管理(app)
  10560. /Ermcp/QueryBusinessDj:
  10561. get:
  10562. parameters:
  10563. - description: 用户ID
  10564. in: query
  10565. name: UserId
  10566. required: true
  10567. type: integer
  10568. - description: 现货合同ID, 不填则查所有
  10569. in: query
  10570. name: relatedid
  10571. type: string
  10572. produces:
  10573. - application/json
  10574. responses:
  10575. "200":
  10576. description: OK
  10577. schema:
  10578. items:
  10579. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  10580. type: array
  10581. "500":
  10582. description: Internal Server Error
  10583. schema:
  10584. $ref: '#/definitions/app.Response'
  10585. security:
  10586. - ApiKeyAuth: []
  10587. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  10588. tags:
  10589. - 企业风险管理(app)
  10590. /Ermcp/QueryBusinessFp:
  10591. get:
  10592. parameters:
  10593. - description: 用户ID
  10594. in: query
  10595. name: UserId
  10596. required: true
  10597. type: integer
  10598. - description: 现货合同ID, 不填则查所有
  10599. in: query
  10600. name: relatedid
  10601. type: string
  10602. produces:
  10603. - application/json
  10604. responses:
  10605. "200":
  10606. description: OK
  10607. schema:
  10608. items:
  10609. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  10610. type: array
  10611. "500":
  10612. description: Internal Server Error
  10613. schema:
  10614. $ref: '#/definitions/app.Response'
  10615. security:
  10616. - ApiKeyAuth: []
  10617. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  10618. tags:
  10619. - 企业风险管理(app)
  10620. /Ermcp/QueryBusinessJs:
  10621. get:
  10622. parameters:
  10623. - description: 用户ID
  10624. in: query
  10625. name: UserId
  10626. required: true
  10627. type: integer
  10628. - description: 现货合同ID, 不填则查所有
  10629. in: query
  10630. name: relatedid
  10631. type: string
  10632. produces:
  10633. - application/json
  10634. responses:
  10635. "200":
  10636. description: OK
  10637. schema:
  10638. items:
  10639. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  10640. type: array
  10641. "500":
  10642. description: Internal Server Error
  10643. schema:
  10644. $ref: '#/definitions/app.Response'
  10645. security:
  10646. - ApiKeyAuth: []
  10647. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  10648. tags:
  10649. - 企业风险管理(app)
  10650. /Ermcp/QueryBusinessJsEx:
  10651. get:
  10652. parameters:
  10653. - description: 用户ID
  10654. in: query
  10655. name: UserId
  10656. required: true
  10657. type: integer
  10658. - description: 现货合同ID, 不填则查所有
  10659. in: query
  10660. name: relatedid
  10661. type: string
  10662. produces:
  10663. - application/json
  10664. responses:
  10665. "200":
  10666. description: OK
  10667. schema:
  10668. items:
  10669. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  10670. type: array
  10671. "500":
  10672. description: Internal Server Error
  10673. schema:
  10674. $ref: '#/definitions/app.Response'
  10675. security:
  10676. - ApiKeyAuth: []
  10677. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  10678. tags:
  10679. - 企业风险管理(app)
  10680. /Ermcp/QueryBusinessKx:
  10681. get:
  10682. parameters:
  10683. - description: 用户ID
  10684. in: query
  10685. name: UserId
  10686. required: true
  10687. type: integer
  10688. - description: 现货合同ID, 不填则查所有
  10689. in: query
  10690. name: relatedid
  10691. type: string
  10692. produces:
  10693. - application/json
  10694. responses:
  10695. "200":
  10696. description: OK
  10697. schema:
  10698. items:
  10699. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  10700. type: array
  10701. "500":
  10702. description: Internal Server Error
  10703. schema:
  10704. $ref: '#/definitions/app.Response'
  10705. security:
  10706. - ApiKeyAuth: []
  10707. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  10708. tags:
  10709. - 企业风险管理(app)
  10710. /Ermcp/QueryChangeLog:
  10711. get:
  10712. parameters:
  10713. - description: 合同ID
  10714. in: query
  10715. name: RelatedId
  10716. required: true
  10717. type: string
  10718. produces:
  10719. - application/json
  10720. responses:
  10721. "200":
  10722. description: OK
  10723. schema:
  10724. items:
  10725. $ref: '#/definitions/ermcp.QryOPLogRsp'
  10726. type: array
  10727. "500":
  10728. description: Internal Server Error
  10729. schema:
  10730. $ref: '#/definitions/app.Response'
  10731. security:
  10732. - ApiKeyAuth: []
  10733. summary: 查询变更记录
  10734. tags:
  10735. - 企业风险管理(app)
  10736. /Ermcp/QueryContract:
  10737. get:
  10738. parameters:
  10739. - description: 用户ID
  10740. in: query
  10741. name: userId
  10742. required: true
  10743. type: integer
  10744. - description: 合同类型 1-采购, -1-销售
  10745. in: query
  10746. name: contracttype
  10747. required: true
  10748. type: integer
  10749. - description: 查询类型 1-全部 2-待点价 3-履约结算
  10750. in: query
  10751. name: querytype
  10752. required: true
  10753. type: integer
  10754. produces:
  10755. - application/json
  10756. responses:
  10757. "200":
  10758. description: OK
  10759. schema:
  10760. items:
  10761. $ref: '#/definitions/ermcp.QryErmcpRsp'
  10762. type: array
  10763. "500":
  10764. description: Internal Server Error
  10765. schema:
  10766. $ref: '#/definitions/app.Response'
  10767. security:
  10768. - ApiKeyAuth: []
  10769. summary: 查询合同(采购和销售)
  10770. tags:
  10771. - 企业风险管理(app)
  10772. /Ermcp/QueryErmcpHisOrderDetails:
  10773. get:
  10774. parameters:
  10775. - description: 资金账户ID
  10776. in: query
  10777. name: accountID
  10778. required: true
  10779. type: integer
  10780. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10781. in: query
  10782. name: startDate
  10783. type: string
  10784. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10785. in: query
  10786. name: endDate
  10787. type: string
  10788. produces:
  10789. - application/json
  10790. responses:
  10791. "200":
  10792. description: OK
  10793. schema:
  10794. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10795. "500":
  10796. description: Internal Server Error
  10797. schema:
  10798. $ref: '#/definitions/app.Response'
  10799. security:
  10800. - ApiKeyAuth: []
  10801. summary: 获取企业风管期货历史委托单信息
  10802. tags:
  10803. - 企业风险管理(app)
  10804. /Ermcp/QueryErmcpHisTradeDetails:
  10805. get:
  10806. parameters:
  10807. - description: 资金账户ID
  10808. in: query
  10809. name: accountID
  10810. required: true
  10811. type: integer
  10812. - description: 商品ID
  10813. in: query
  10814. name: goodsID
  10815. type: integer
  10816. - description: 买卖方向,0:买 1:卖
  10817. in: query
  10818. name: buyOrSell
  10819. type: integer
  10820. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10821. in: query
  10822. name: startDate
  10823. type: string
  10824. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10825. in: query
  10826. name: endDate
  10827. type: string
  10828. produces:
  10829. - application/json
  10830. responses:
  10831. "200":
  10832. description: OK
  10833. schema:
  10834. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  10835. "500":
  10836. description: Internal Server Error
  10837. schema:
  10838. $ref: '#/definitions/app.Response'
  10839. security:
  10840. - ApiKeyAuth: []
  10841. summary: 获取企业风管期货历史成交单信息
  10842. tags:
  10843. - 企业风险管理(app)
  10844. /Ermcp/QueryErmcpOrderDetails:
  10845. get:
  10846. parameters:
  10847. - description: 资金账户ID
  10848. in: query
  10849. name: accountID
  10850. required: true
  10851. type: integer
  10852. produces:
  10853. - application/json
  10854. responses:
  10855. "200":
  10856. description: OK
  10857. schema:
  10858. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10859. "500":
  10860. description: Internal Server Error
  10861. schema:
  10862. $ref: '#/definitions/app.Response'
  10863. security:
  10864. - ApiKeyAuth: []
  10865. summary: 获取企业风管期货委托单信息
  10866. tags:
  10867. - 企业风险管理(app)
  10868. /Ermcp/QueryErmcpTradeDetails:
  10869. get:
  10870. parameters:
  10871. - description: 资金账户ID
  10872. in: query
  10873. name: accountID
  10874. required: true
  10875. type: integer
  10876. - description: 商品ID
  10877. in: query
  10878. name: goodsID
  10879. type: integer
  10880. - description: 买卖方向,0:买 1:卖
  10881. in: query
  10882. name: buyOrSell
  10883. type: integer
  10884. produces:
  10885. - application/json
  10886. responses:
  10887. "200":
  10888. description: OK
  10889. schema:
  10890. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  10891. "500":
  10892. description: Internal Server Error
  10893. schema:
  10894. $ref: '#/definitions/app.Response'
  10895. security:
  10896. - ApiKeyAuth: []
  10897. summary: 获取企业风管期货成交单信息
  10898. tags:
  10899. - 企业风险管理(app)
  10900. /Ermcp/QueryErmcpTradePosition:
  10901. get:
  10902. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  10903. parameters:
  10904. - description: 资金账户ID
  10905. in: query
  10906. name: accountID
  10907. required: true
  10908. type: integer
  10909. - description: 所属市场ID
  10910. in: query
  10911. name: marketID
  10912. type: integer
  10913. produces:
  10914. - application/json
  10915. responses:
  10916. "200":
  10917. description: OK
  10918. schema:
  10919. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  10920. "500":
  10921. description: Internal Server Error
  10922. schema:
  10923. $ref: '#/definitions/app.Response'
  10924. security:
  10925. - ApiKeyAuth: []
  10926. summary: 获取企业风管期货持仓头寸信息
  10927. tags:
  10928. - 企业风险管理(app)
  10929. /Ermcp/QueryExposureDetail:
  10930. get:
  10931. parameters:
  10932. - description: 所属机构ID
  10933. in: query
  10934. name: areaUserId
  10935. required: true
  10936. type: integer
  10937. - description: 套保商品
  10938. in: query
  10939. name: middleGoodsId
  10940. required: true
  10941. type: integer
  10942. produces:
  10943. - application/json
  10944. responses:
  10945. "200":
  10946. description: OK
  10947. schema:
  10948. items:
  10949. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  10950. type: array
  10951. "500":
  10952. description: Internal Server Error
  10953. schema:
  10954. $ref: '#/definitions/app.Response'
  10955. security:
  10956. - ApiKeyAuth: []
  10957. summary: 查询敞口现货明细
  10958. tags:
  10959. - 企业风险管理(app)
  10960. /Ermcp/QueryExposureHedgePosition:
  10961. get:
  10962. parameters:
  10963. - description: 所属机构ID
  10964. in: query
  10965. name: areaUserId
  10966. required: true
  10967. type: integer
  10968. produces:
  10969. - application/json
  10970. responses:
  10971. "200":
  10972. description: OK
  10973. schema:
  10974. items:
  10975. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  10976. type: array
  10977. "500":
  10978. description: Internal Server Error
  10979. schema:
  10980. $ref: '#/definitions/app.Response'
  10981. security:
  10982. - ApiKeyAuth: []
  10983. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  10984. tags:
  10985. - 企业风险管理(app)
  10986. /Ermcp/QueryExposureHedgePositionDetail:
  10987. get:
  10988. parameters:
  10989. - description: 所属机构ID
  10990. in: query
  10991. name: areaUserId
  10992. required: true
  10993. type: integer
  10994. - description: 商品id
  10995. in: query
  10996. name: goodsId
  10997. required: true
  10998. type: integer
  10999. produces:
  11000. - application/json
  11001. responses:
  11002. "200":
  11003. description: OK
  11004. schema:
  11005. items:
  11006. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  11007. type: array
  11008. "500":
  11009. description: Internal Server Error
  11010. schema:
  11011. $ref: '#/definitions/app.Response'
  11012. security:
  11013. - ApiKeyAuth: []
  11014. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  11015. tags:
  11016. - 企业风险管理(app)
  11017. /Ermcp/QueryExposureSpot:
  11018. get:
  11019. parameters:
  11020. - description: 所属机构ID
  11021. in: query
  11022. name: areaUserId
  11023. required: true
  11024. type: integer
  11025. produces:
  11026. - application/json
  11027. responses:
  11028. "200":
  11029. description: OK
  11030. schema:
  11031. items:
  11032. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  11033. type: array
  11034. "500":
  11035. description: Internal Server Error
  11036. schema:
  11037. $ref: '#/definitions/app.Response'
  11038. security:
  11039. - ApiKeyAuth: []
  11040. summary: 查询敞口现货头寸(敞口/现货头寸)
  11041. tags:
  11042. - 企业风险管理(app)
  11043. /Ermcp/QueryExposureSpotDetail:
  11044. get:
  11045. parameters:
  11046. - description: 所属机构ID
  11047. in: query
  11048. name: areaUserId
  11049. required: true
  11050. type: integer
  11051. - description: 现货品种ID
  11052. in: query
  11053. name: wrstandardId
  11054. required: true
  11055. type: integer
  11056. produces:
  11057. - application/json
  11058. responses:
  11059. "200":
  11060. description: OK
  11061. schema:
  11062. items:
  11063. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  11064. type: array
  11065. "500":
  11066. description: Internal Server Error
  11067. schema:
  11068. $ref: '#/definitions/app.Response'
  11069. security:
  11070. - ApiKeyAuth: []
  11071. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  11072. tags:
  11073. - 企业风险管理(app)
  11074. /Ermcp/QueryGGConvertConfig:
  11075. get:
  11076. parameters:
  11077. - description: 品种id(不填则查所有)
  11078. in: query
  11079. name: goodsgroupid
  11080. type: integer
  11081. produces:
  11082. - application/json
  11083. responses:
  11084. "200":
  11085. description: OK
  11086. schema:
  11087. items:
  11088. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  11089. type: array
  11090. "500":
  11091. description: Internal Server Error
  11092. schema:
  11093. $ref: '#/definitions/app.Response'
  11094. security:
  11095. - ApiKeyAuth: []
  11096. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  11097. tags:
  11098. - 企业风险管理(app)
  11099. /Ermcp/QueryHedgePlan:
  11100. get:
  11101. parameters:
  11102. - description: 用户ID
  11103. in: query
  11104. name: userId
  11105. required: true
  11106. type: integer
  11107. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  11108. in: query
  11109. name: HedgePlanStatus
  11110. required: true
  11111. type: string
  11112. produces:
  11113. - application/json
  11114. responses:
  11115. "200":
  11116. description: OK
  11117. schema:
  11118. items:
  11119. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  11120. type: array
  11121. "500":
  11122. description: Internal Server Error
  11123. schema:
  11124. $ref: '#/definitions/app.Response'
  11125. security:
  11126. - ApiKeyAuth: []
  11127. summary: 查询套保计划
  11128. tags:
  11129. - 企业风险管理(app)
  11130. /Ermcp/QueryHisExposure:
  11131. get:
  11132. parameters:
  11133. - description: 所属机构ID
  11134. in: query
  11135. name: areaUserId
  11136. required: true
  11137. type: integer
  11138. - description: 每个品种记录数
  11139. in: query
  11140. name: lastNum
  11141. required: true
  11142. type: integer
  11143. produces:
  11144. - application/json
  11145. responses:
  11146. "200":
  11147. description: OK
  11148. schema:
  11149. items:
  11150. $ref: '#/definitions/ermcp.HisExposureRsp'
  11151. type: array
  11152. "500":
  11153. description: Internal Server Error
  11154. schema:
  11155. $ref: '#/definitions/app.Response'
  11156. security:
  11157. - ApiKeyAuth: []
  11158. summary: 查询历史敞口(菜单:敞口/历史敞口)
  11159. tags:
  11160. - 企业风险管理(app)
  11161. /Ermcp/QueryMiddleGoods:
  11162. get:
  11163. parameters:
  11164. - description: 所属机构ID
  11165. in: query
  11166. name: userid
  11167. required: true
  11168. type: integer
  11169. - description: 状态 0-停用 1-正常
  11170. in: query
  11171. name: status
  11172. required: true
  11173. type: integer
  11174. produces:
  11175. - application/json
  11176. responses:
  11177. "200":
  11178. description: OK
  11179. schema:
  11180. items:
  11181. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  11182. type: array
  11183. "500":
  11184. description: Internal Server Error
  11185. schema:
  11186. $ref: '#/definitions/app.Response'
  11187. security:
  11188. - ApiKeyAuth: []
  11189. summary: 查询套保品种(菜单:套保品种)
  11190. tags:
  11191. - 企业风险管理(app)
  11192. /Ermcp/QueryMiddleGoodsChangeLog:
  11193. get:
  11194. parameters:
  11195. - description: 所属机构ID
  11196. in: query
  11197. name: userid
  11198. required: true
  11199. type: integer
  11200. - description: 套保品种id
  11201. in: query
  11202. name: middlegoodsid
  11203. required: true
  11204. type: integer
  11205. produces:
  11206. - application/json
  11207. responses:
  11208. "200":
  11209. description: OK
  11210. schema:
  11211. items:
  11212. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  11213. type: array
  11214. "500":
  11215. description: Internal Server Error
  11216. schema:
  11217. $ref: '#/definitions/app.Response'
  11218. security:
  11219. - ApiKeyAuth: []
  11220. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  11221. tags:
  11222. - 企业风险管理(app)
  11223. /Ermcp/QueryMiddleGoodsDetail:
  11224. get:
  11225. parameters:
  11226. - description: 所属机构ID
  11227. in: query
  11228. name: userid
  11229. required: true
  11230. type: integer
  11231. - description: 套保品种id
  11232. in: query
  11233. name: middlegoodsid
  11234. required: true
  11235. type: integer
  11236. produces:
  11237. - application/json
  11238. responses:
  11239. "200":
  11240. description: OK
  11241. schema:
  11242. items:
  11243. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  11244. type: array
  11245. "500":
  11246. description: Internal Server Error
  11247. schema:
  11248. $ref: '#/definitions/app.Response'
  11249. security:
  11250. - ApiKeyAuth: []
  11251. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  11252. tags:
  11253. - 企业风险管理(app)
  11254. /Ermcp/QueryPendingAuditInfo:
  11255. get:
  11256. parameters:
  11257. - description: 用户ID
  11258. in: query
  11259. name: UserId
  11260. required: true
  11261. type: integer
  11262. produces:
  11263. - application/json
  11264. responses:
  11265. "200":
  11266. description: OK
  11267. schema:
  11268. items:
  11269. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  11270. type: array
  11271. "500":
  11272. description: Internal Server Error
  11273. schema:
  11274. $ref: '#/definitions/app.Response'
  11275. security:
  11276. - ApiKeyAuth: []
  11277. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  11278. tags:
  11279. - 企业风险管理(app)
  11280. /Ermcp/QueryRealtimeExposure:
  11281. get:
  11282. parameters:
  11283. - description: 所属机构ID
  11284. in: query
  11285. name: AreaUserID
  11286. required: true
  11287. type: integer
  11288. produces:
  11289. - application/json
  11290. responses:
  11291. "200":
  11292. description: OK
  11293. schema:
  11294. items:
  11295. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  11296. type: array
  11297. "500":
  11298. description: Internal Server Error
  11299. schema:
  11300. $ref: '#/definitions/app.Response'
  11301. security:
  11302. - ApiKeyAuth: []
  11303. summary: 查询实时敞口
  11304. tags:
  11305. - 企业风险管理(app)
  11306. /Ermcp/QueryRealtimeExposurePosition:
  11307. get:
  11308. parameters:
  11309. - description: 所属机构ID
  11310. in: query
  11311. name: areaUserId
  11312. required: true
  11313. type: integer
  11314. - description: 套保商品ID
  11315. in: query
  11316. name: middleGoodsId
  11317. required: true
  11318. type: integer
  11319. produces:
  11320. - application/json
  11321. responses:
  11322. "200":
  11323. description: OK
  11324. schema:
  11325. items:
  11326. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  11327. type: array
  11328. "500":
  11329. description: Internal Server Error
  11330. schema:
  11331. $ref: '#/definitions/app.Response'
  11332. security:
  11333. - ApiKeyAuth: []
  11334. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  11335. tags:
  11336. - 企业风险管理(app)
  11337. /Ermcp/QuerySpotContract:
  11338. get:
  11339. parameters:
  11340. - description: 用户ID
  11341. in: query
  11342. name: userId
  11343. required: true
  11344. type: integer
  11345. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  11346. in: query
  11347. name: QueryType
  11348. required: true
  11349. type: integer
  11350. produces:
  11351. - application/json
  11352. responses:
  11353. "200":
  11354. description: OK
  11355. schema:
  11356. items:
  11357. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  11358. type: array
  11359. "500":
  11360. description: Internal Server Error
  11361. schema:
  11362. $ref: '#/definitions/app.Response'
  11363. security:
  11364. - ApiKeyAuth: []
  11365. summary: 查询现货合同(对应现货合同菜单)
  11366. tags:
  11367. - 企业风险管理(app)
  11368. /Ermcp/QueryUserInfo:
  11369. get:
  11370. parameters:
  11371. - description: 所属机构用户ID
  11372. in: query
  11373. name: MemberUserID
  11374. required: true
  11375. type: integer
  11376. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  11377. in: query
  11378. name: queryType
  11379. required: true
  11380. type: integer
  11381. produces:
  11382. - application/json
  11383. responses:
  11384. "200":
  11385. description: OK
  11386. schema:
  11387. items:
  11388. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  11389. type: array
  11390. "500":
  11391. description: Internal Server Error
  11392. schema:
  11393. $ref: '#/definitions/app.Response'
  11394. security:
  11395. - ApiKeyAuth: []
  11396. summary: 查询客户资料
  11397. tags:
  11398. - 企业风险管理(app)
  11399. /Ermcp/QueryWarehouseInfo:
  11400. get:
  11401. parameters:
  11402. - description: 用户ID
  11403. in: query
  11404. name: userid
  11405. required: true
  11406. type: integer
  11407. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  11408. in: query
  11409. name: status
  11410. type: string
  11411. produces:
  11412. - application/json
  11413. responses:
  11414. "200":
  11415. description: OK
  11416. schema:
  11417. items:
  11418. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  11419. type: array
  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/QueryWrStandard:
  11430. get:
  11431. parameters:
  11432. - description: 所属机构ID
  11433. in: query
  11434. name: userid
  11435. required: true
  11436. type: integer
  11437. - description: 状态 0-停用 1-正常
  11438. in: query
  11439. name: status
  11440. required: true
  11441. type: integer
  11442. produces:
  11443. - application/json
  11444. responses:
  11445. "200":
  11446. description: OK
  11447. schema:
  11448. items:
  11449. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  11450. type: array
  11451. "500":
  11452. description: Internal Server Error
  11453. schema:
  11454. $ref: '#/definitions/app.Response'
  11455. security:
  11456. - ApiKeyAuth: []
  11457. summary: 查询现货商品
  11458. tags:
  11459. - 企业风险管理(app)
  11460. /Ermcp/QueryWrStandardDetail:
  11461. get:
  11462. parameters:
  11463. - description: 所属机构ID
  11464. in: query
  11465. name: userid
  11466. required: true
  11467. type: integer
  11468. - description: 现货商品ID
  11469. in: query
  11470. name: wrstandardid
  11471. required: true
  11472. type: integer
  11473. - description: 可不填, 1-查询关联交易商品
  11474. in: query
  11475. name: goods
  11476. type: integer
  11477. produces:
  11478. - application/json
  11479. responses:
  11480. "200":
  11481. description: OK
  11482. schema:
  11483. items:
  11484. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  11485. type: array
  11486. "500":
  11487. description: Internal Server Error
  11488. schema:
  11489. $ref: '#/definitions/app.Response'
  11490. security:
  11491. - ApiKeyAuth: []
  11492. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  11493. tags:
  11494. - 企业风险管理(app)
  11495. /Erms2/QueryArbitrageStrategy:
  11496. get:
  11497. parameters:
  11498. - description: 账户ID
  11499. in: query
  11500. name: userid
  11501. required: true
  11502. type: integer
  11503. - description: 商品组ID(品种ID)
  11504. in: query
  11505. name: goodsgroupid
  11506. type: string
  11507. produces:
  11508. - application/json
  11509. responses:
  11510. "200":
  11511. description: OK
  11512. schema:
  11513. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  11514. "500":
  11515. description: Internal Server Error
  11516. schema:
  11517. $ref: '#/definitions/app.Response'
  11518. security:
  11519. - ApiKeyAuth: []
  11520. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  11521. tags:
  11522. - 风险管理
  11523. /Erms2/QueryInnerTradeDetail:
  11524. get:
  11525. parameters:
  11526. - description: 资金账户
  11527. in: query
  11528. name: accountid
  11529. required: true
  11530. type: integer
  11531. produces:
  11532. - application/json
  11533. responses:
  11534. "200":
  11535. description: OK
  11536. schema:
  11537. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  11538. "500":
  11539. description: Internal Server Error
  11540. schema:
  11541. $ref: '#/definitions/app.Response'
  11542. security:
  11543. - ApiKeyAuth: []
  11544. summary: 查询内部成交单信息
  11545. tags:
  11546. - 风险管理
  11547. /Erms2/QuerySpotContract:
  11548. get:
  11549. parameters:
  11550. - description: 策略申请ID
  11551. in: query
  11552. name: asapplyid
  11553. required: true
  11554. type: integer
  11555. - description: 现货合同ID
  11556. in: query
  11557. name: spotcontractid
  11558. type: integer
  11559. produces:
  11560. - application/json
  11561. responses:
  11562. "200":
  11563. description: OK
  11564. schema:
  11565. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  11566. "500":
  11567. description: Internal Server Error
  11568. schema:
  11569. $ref: '#/definitions/app.Response'
  11570. security:
  11571. - ApiKeyAuth: []
  11572. summary: 查询现货合同表信息(指定策略ID、未结束的)
  11573. tags:
  11574. - 风险管理
  11575. /Erms3/AddErms2ASApply:
  11576. post:
  11577. parameters:
  11578. - description: 申请参数
  11579. in: body
  11580. name: jsonBody
  11581. required: true
  11582. schema:
  11583. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  11584. produces:
  11585. - application/json
  11586. responses:
  11587. "200":
  11588. description: OK
  11589. schema:
  11590. $ref: '#/definitions/app.Response'
  11591. "500":
  11592. description: Internal Server Error
  11593. schema:
  11594. $ref: '#/definitions/app.Response'
  11595. security:
  11596. - ApiKeyAuth: []
  11597. summary: 新增期现套利业务申请
  11598. tags:
  11599. - 风险管理v3
  11600. /Erms3/AddErms2SpotTradeApply:
  11601. post:
  11602. parameters:
  11603. - description: 申请参数
  11604. in: body
  11605. name: jsonBody
  11606. required: true
  11607. schema:
  11608. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  11609. produces:
  11610. - application/json
  11611. responses:
  11612. "200":
  11613. description: OK
  11614. schema:
  11615. $ref: '#/definitions/app.Response'
  11616. "500":
  11617. description: Internal Server Error
  11618. schema:
  11619. $ref: '#/definitions/app.Response'
  11620. security:
  11621. - ApiKeyAuth: []
  11622. summary: 新增现货贸易业务申请
  11623. tags:
  11624. - 风险管理v3
  11625. /Erms3/AddSpotContractApply:
  11626. post:
  11627. parameters:
  11628. - description: 申请参数
  11629. in: body
  11630. name: jsonBody
  11631. required: true
  11632. schema:
  11633. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  11634. produces:
  11635. - application/json
  11636. responses:
  11637. "200":
  11638. description: OK
  11639. schema:
  11640. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  11641. "500":
  11642. description: Internal Server Error
  11643. schema:
  11644. $ref: '#/definitions/app.Response'
  11645. security:
  11646. - ApiKeyAuth: []
  11647. summary: 新增现货合同申请
  11648. tags:
  11649. - 风险管理v3
  11650. /Erms3/AddUserInfoApply:
  11651. post:
  11652. parameters:
  11653. - description: 用户信息
  11654. in: body
  11655. name: jsonBody
  11656. required: true
  11657. schema:
  11658. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  11659. produces:
  11660. - application/json
  11661. responses:
  11662. "200":
  11663. description: OK
  11664. schema:
  11665. $ref: '#/definitions/app.Response'
  11666. "500":
  11667. description: Internal Server Error
  11668. schema:
  11669. $ref: '#/definitions/app.Response'
  11670. security:
  11671. - ApiKeyAuth: []
  11672. summary: 新增客户申请
  11673. tags:
  11674. - 风险管理v3
  11675. /Erms3/ModifyUserInfoApply:
  11676. post:
  11677. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  11678. int, "userstate": 2 }'
  11679. parameters:
  11680. - description: 用户信息
  11681. in: body
  11682. name: jsonBody
  11683. required: true
  11684. schema:
  11685. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  11686. produces:
  11687. - application/json
  11688. responses:
  11689. "200":
  11690. description: OK
  11691. schema:
  11692. $ref: '#/definitions/app.Response'
  11693. "500":
  11694. description: Internal Server Error
  11695. schema:
  11696. $ref: '#/definitions/app.Response'
  11697. security:
  11698. - ApiKeyAuth: []
  11699. summary: 修改客户申请
  11700. tags:
  11701. - 风险管理v3
  11702. /Erms3/QueryBusinessInfo:
  11703. get:
  11704. parameters:
  11705. - description: 资金账号ID列表,用逗号分隔
  11706. in: query
  11707. name: accountids
  11708. required: true
  11709. type: string
  11710. - description: 状态,0为未结束 1为已结束
  11711. in: query
  11712. name: status
  11713. required: true
  11714. type: integer
  11715. produces:
  11716. - application/json
  11717. responses:
  11718. "200":
  11719. description: OK
  11720. schema:
  11721. items:
  11722. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  11723. type: array
  11724. "500":
  11725. description: Internal Server Error
  11726. schema:
  11727. $ref: '#/definitions/app.Response'
  11728. security:
  11729. - ApiKeyAuth: []
  11730. summary: 查询业务表单数据
  11731. tags:
  11732. - 风险管理v3
  11733. /Erms3/QueryPendingAuditContract:
  11734. get:
  11735. parameters:
  11736. - description: 资金账号ID列表,逗号隔开
  11737. in: query
  11738. name: accountids
  11739. required: true
  11740. type: string
  11741. - description: 合同类型 1-采购 -1-销售
  11742. in: query
  11743. name: contracttype
  11744. required: true
  11745. type: integer
  11746. - description: 合同模式 1-普通 2-回购
  11747. in: query
  11748. name: contractmode
  11749. required: true
  11750. type: integer
  11751. produces:
  11752. - application/json
  11753. responses:
  11754. "200":
  11755. description: OK
  11756. schema:
  11757. items:
  11758. $ref: '#/definitions/erms3.QryAuditContractRsp'
  11759. type: array
  11760. "500":
  11761. description: Internal Server Error
  11762. schema:
  11763. $ref: '#/definitions/app.Response'
  11764. security:
  11765. - ApiKeyAuth: []
  11766. summary: 查询待审核合同
  11767. tags:
  11768. - 风险管理v3
  11769. /Erms3/QueryPendingBusiness:
  11770. get:
  11771. parameters:
  11772. - description: 资金账号ID列表,逗号隔开
  11773. in: query
  11774. name: accountids
  11775. required: true
  11776. type: string
  11777. produces:
  11778. - application/json
  11779. responses:
  11780. "200":
  11781. description: OK
  11782. schema:
  11783. items:
  11784. $ref: '#/definitions/erms3.QryPendingBizRsp'
  11785. type: array
  11786. "500":
  11787. description: Internal Server Error
  11788. schema:
  11789. $ref: '#/definitions/app.Response'
  11790. security:
  11791. - ApiKeyAuth: []
  11792. summary: 查询待审核基差贸易业务
  11793. tags:
  11794. - 风险管理v3
  11795. /Erms3/QuerySpotContractAppleForm:
  11796. get:
  11797. parameters:
  11798. - description: 登录账号
  11799. in: query
  11800. name: loginID
  11801. required: true
  11802. type: integer
  11803. produces:
  11804. - application/json
  11805. responses:
  11806. "200":
  11807. description: OK
  11808. schema:
  11809. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  11810. "500":
  11811. description: Internal Server Error
  11812. schema:
  11813. $ref: '#/definitions/app.Response'
  11814. security:
  11815. - ApiKeyAuth: []
  11816. summary: 查询合同申请表单数据
  11817. tags:
  11818. - 风险管理v3
  11819. /Erms3/QuerySpotContractDetail:
  11820. get:
  11821. parameters:
  11822. - description: 资金账号ID列表,用逗号分隔
  11823. in: query
  11824. name: accountids
  11825. required: true
  11826. type: string
  11827. - description: 合同类型,1为采购合同 -1为销售合同
  11828. in: query
  11829. name: contracttype
  11830. required: true
  11831. type: integer
  11832. - description: 合同模式,1为普通合同 2为回购销售合同
  11833. in: query
  11834. name: contractmode
  11835. required: true
  11836. type: integer
  11837. - description: 状态,0为履约中 1为已完成
  11838. in: query
  11839. name: status
  11840. required: true
  11841. type: integer
  11842. produces:
  11843. - application/json
  11844. responses:
  11845. "200":
  11846. description: OK
  11847. schema:
  11848. items:
  11849. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  11850. type: array
  11851. "500":
  11852. description: Internal Server Error
  11853. schema:
  11854. $ref: '#/definitions/app.Response'
  11855. security:
  11856. - ApiKeyAuth: []
  11857. summary: 查询合同详细信息
  11858. tags:
  11859. - 风险管理v3
  11860. /Erms3/QueryUserInfoApplies:
  11861. get:
  11862. parameters:
  11863. - description: 页码
  11864. in: query
  11865. name: page
  11866. type: integer
  11867. - description: 每页条数
  11868. in: query
  11869. name: pagesize
  11870. type: integer
  11871. - description: 客户名称,支持模糊查询
  11872. in: query
  11873. name: userName
  11874. type: string
  11875. produces:
  11876. - application/json
  11877. responses:
  11878. "200":
  11879. description: OK
  11880. schema:
  11881. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  11882. "500":
  11883. description: Internal Server Error
  11884. schema:
  11885. $ref: '#/definitions/app.Response'
  11886. security:
  11887. - ApiKeyAuth: []
  11888. summary: 客户申请信息查询
  11889. tags:
  11890. - 风险管理v3
  11891. /Erms3/QueryUserInfos:
  11892. get:
  11893. parameters:
  11894. - description: 页码
  11895. in: query
  11896. name: page
  11897. type: integer
  11898. - description: 每页条数
  11899. in: query
  11900. name: pagesize
  11901. type: integer
  11902. - description: 客户名称,支持模糊查询
  11903. in: query
  11904. name: userName
  11905. type: string
  11906. produces:
  11907. - application/json
  11908. responses:
  11909. "200":
  11910. description: OK
  11911. schema:
  11912. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  11913. "500":
  11914. description: Internal Server Error
  11915. schema:
  11916. $ref: '#/definitions/app.Response'
  11917. security:
  11918. - ApiKeyAuth: []
  11919. summary: 客户信息查询
  11920. tags:
  11921. - 风险管理v3
  11922. /HSBY/GetHsbyMyCount:
  11923. get:
  11924. description: 说明: 不包括已完成的数量。
  11925. parameters:
  11926. - description: 资金账户列表,格式:1,2,3
  11927. in: query
  11928. name: accountIDs
  11929. required: true
  11930. type: string
  11931. produces:
  11932. - application/json
  11933. responses:
  11934. "200":
  11935. description: OK
  11936. schema:
  11937. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  11938. "500":
  11939. description: Internal Server Error
  11940. schema:
  11941. $ref: '#/definitions/app.Response'
  11942. security:
  11943. - ApiKeyAuth: []
  11944. summary: 获取我的订单与包裹数量
  11945. tags:
  11946. - 定制【海商报业】
  11947. /HSBY/QueryClientFixedADConfigs:
  11948. get:
  11949. produces:
  11950. - application/json
  11951. responses:
  11952. "200":
  11953. description: OK
  11954. schema:
  11955. $ref: '#/definitions/models.Clientfixedadconfig'
  11956. "500":
  11957. description: Internal Server Error
  11958. schema:
  11959. $ref: '#/definitions/app.Response'
  11960. security:
  11961. - ApiKeyAuth: []
  11962. summary: 获取终端固定广告配置
  11963. tags:
  11964. - 定制【海商报业】
  11965. /HSBY/QueryHsbyBuyMyTradeDetail:
  11966. get:
  11967. parameters:
  11968. - description: 页码
  11969. in: query
  11970. name: page
  11971. type: integer
  11972. - description: 每页条数
  11973. in: query
  11974. name: pagesize
  11975. type: integer
  11976. - description: 资金账户列表,格式:1,2,3
  11977. in: query
  11978. name: accountIDs
  11979. required: true
  11980. type: string
  11981. produces:
  11982. - application/json
  11983. responses:
  11984. "200":
  11985. description: OK
  11986. schema:
  11987. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  11988. "500":
  11989. description: Internal Server Error
  11990. schema:
  11991. $ref: '#/definitions/app.Response'
  11992. security:
  11993. - ApiKeyAuth: []
  11994. summary: 查询"我的订单 - 已完成"单据信息
  11995. tags:
  11996. - 定制【海商报业】
  11997. /HSBY/QueryHsbyGoodsOrderDetails:
  11998. get:
  11999. description: 说明:查询结果已按委托价格和委托时间排序
  12000. parameters:
  12001. - description: 商品ID
  12002. in: query
  12003. name: goodsID
  12004. required: true
  12005. type: integer
  12006. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  12007. in: query
  12008. name: accountIDs
  12009. type: string
  12010. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  12011. in: query
  12012. name: buyOrSell
  12013. type: integer
  12014. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  12015. in: query
  12016. name: price
  12017. type: number
  12018. - description: 档位,不传则默认为3档
  12019. in: query
  12020. name: speed
  12021. type: integer
  12022. produces:
  12023. - application/json
  12024. responses:
  12025. "200":
  12026. description: OK
  12027. schema:
  12028. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  12029. "500":
  12030. description: Internal Server Error
  12031. schema:
  12032. $ref: '#/definitions/app.Response'
  12033. security:
  12034. - ApiKeyAuth: []
  12035. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  12036. tags:
  12037. - 定制【海商报业】
  12038. /HSBY/QueryHsbyListingGoodsDetail:
  12039. get:
  12040. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  12041. parameters:
  12042. - description: 商品ID
  12043. in: query
  12044. name: goodsID
  12045. required: true
  12046. type: integer
  12047. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  12048. in: query
  12049. name: accountID
  12050. type: integer
  12051. produces:
  12052. - application/json
  12053. responses:
  12054. "200":
  12055. description: OK
  12056. schema:
  12057. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  12058. "500":
  12059. description: Internal Server Error
  12060. schema:
  12061. $ref: '#/definitions/app.Response'
  12062. security:
  12063. - ApiKeyAuth: []
  12064. summary: 查询二级市场(挂牌点选)商品信息详情
  12065. tags:
  12066. - 定制【海商报业】
  12067. /HSBY/QueryHsbyMarketGoodsDetail:
  12068. get:
  12069. parameters:
  12070. - description: 委托单号
  12071. in: query
  12072. name: orderID
  12073. required: true
  12074. type: integer
  12075. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  12076. in: query
  12077. name: accountID
  12078. type: integer
  12079. produces:
  12080. - application/json
  12081. responses:
  12082. "200":
  12083. description: OK
  12084. schema:
  12085. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12086. "500":
  12087. description: Internal Server Error
  12088. schema:
  12089. $ref: '#/definitions/app.Response'
  12090. security:
  12091. - ApiKeyAuth: []
  12092. summary: 查询三级市场(商城)商品信息详情
  12093. tags:
  12094. - 定制【海商报业】
  12095. /HSBY/QueryHsbyMarketGoodses:
  12096. get:
  12097. parameters:
  12098. - description: 页码
  12099. in: query
  12100. name: page
  12101. type: integer
  12102. - description: 每页条数
  12103. in: query
  12104. name: pagesize
  12105. type: integer
  12106. - description: 市场ID列表,格式:1,2,3
  12107. in: query
  12108. name: marketIDs
  12109. required: true
  12110. type: string
  12111. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  12112. in: query
  12113. name: accountID
  12114. required: true
  12115. type: integer
  12116. - description: 类别ID
  12117. in: query
  12118. name: categoryID
  12119. type: integer
  12120. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12121. in: query
  12122. name: goodsIDs
  12123. type: string
  12124. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  12125. in: query
  12126. name: couponTypeID
  12127. type: integer
  12128. produces:
  12129. - application/json
  12130. responses:
  12131. "200":
  12132. description: OK
  12133. schema:
  12134. $ref: '#/definitions/models.HsbyMarketGoods'
  12135. "500":
  12136. description: Internal Server Error
  12137. schema:
  12138. $ref: '#/definitions/app.Response'
  12139. security:
  12140. - ApiKeyAuth: []
  12141. summary: 查询特卖商品列表(三级商城)
  12142. tags:
  12143. - 定制【海商报业】
  12144. /HSBY/QueryHsbyMarkets:
  12145. get:
  12146. produces:
  12147. - application/json
  12148. responses:
  12149. "200":
  12150. description: OK
  12151. schema:
  12152. $ref: '#/definitions/models.HsbyMarketInfo'
  12153. "500":
  12154. description: Internal Server Error
  12155. schema:
  12156. $ref: '#/definitions/app.Response'
  12157. security:
  12158. - ApiKeyAuth: []
  12159. summary: 查询海商报业相关市场信息
  12160. tags:
  12161. - 定制【海商报业】
  12162. /HSBY/QueryHsbyMyBuyOrderDetails:
  12163. get:
  12164. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  12165. parameters:
  12166. - description: 资金账户列表,格式:1,2,3
  12167. in: query
  12168. name: accountIDs
  12169. required: true
  12170. type: string
  12171. produces:
  12172. - application/json
  12173. responses:
  12174. "200":
  12175. description: OK
  12176. schema:
  12177. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  12178. "500":
  12179. description: Internal Server Error
  12180. schema:
  12181. $ref: '#/definitions/app.Response'
  12182. security:
  12183. - ApiKeyAuth: []
  12184. summary: 查询“我的订单”信息
  12185. tags:
  12186. - 定制【海商报业】
  12187. /HSBY/QueryHsbyMyGoods:
  12188. get:
  12189. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  12190. parameters:
  12191. - description: 资金账户列表,格式:1,2,3
  12192. in: query
  12193. name: accountIDs
  12194. required: true
  12195. type: string
  12196. produces:
  12197. - application/json
  12198. responses:
  12199. "200":
  12200. description: OK
  12201. schema:
  12202. $ref: '#/definitions/models.HsbyMyGoods'
  12203. "500":
  12204. description: Internal Server Error
  12205. schema:
  12206. $ref: '#/definitions/app.Response'
  12207. security:
  12208. - ApiKeyAuth: []
  12209. summary: 查询“我的商品”信息
  12210. tags:
  12211. - 定制【海商报业】
  12212. /HSBY/QueryHsbyMyPackages:
  12213. get:
  12214. parameters:
  12215. - description: 资金账户列表,格式:1,2,3
  12216. in: query
  12217. name: accountIDs
  12218. required: true
  12219. type: string
  12220. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12221. in: query
  12222. name: takeOrderStatus
  12223. type: integer
  12224. produces:
  12225. - application/json
  12226. responses:
  12227. "200":
  12228. description: OK
  12229. schema:
  12230. $ref: '#/definitions/models.HsbyMyPackage'
  12231. "500":
  12232. description: Internal Server Error
  12233. schema:
  12234. $ref: '#/definitions/app.Response'
  12235. security:
  12236. - ApiKeyAuth: []
  12237. summary: 查询我的包裹信息
  12238. tags:
  12239. - 定制【海商报业】
  12240. /HSBY/QueryHsbyPreGoodsDetail:
  12241. get:
  12242. parameters:
  12243. - description: 商品ID
  12244. in: query
  12245. name: goodsID
  12246. required: true
  12247. type: integer
  12248. - description: 资金账户,主要用于获取预售商品购买上限
  12249. in: query
  12250. name: accountID
  12251. type: integer
  12252. produces:
  12253. - application/json
  12254. responses:
  12255. "200":
  12256. description: OK
  12257. schema:
  12258. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  12259. "500":
  12260. description: Internal Server Error
  12261. schema:
  12262. $ref: '#/definitions/app.Response'
  12263. security:
  12264. - ApiKeyAuth: []
  12265. summary: 查询一级市场(预售)商品信息详情
  12266. tags:
  12267. - 定制【海商报业】
  12268. /HSBY/QueryHsbyPreGoodses:
  12269. get:
  12270. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  12271. parameters:
  12272. - description: 页码
  12273. in: query
  12274. name: page
  12275. type: integer
  12276. - description: 每页条数
  12277. in: query
  12278. name: pagesize
  12279. type: integer
  12280. - description: 市场ID列表,格式:1,2,3
  12281. in: query
  12282. name: marketIDs
  12283. required: true
  12284. type: string
  12285. - description: 目的地(省)ID
  12286. in: query
  12287. name: descProvinceID
  12288. type: integer
  12289. - description: 目的地(市)ID
  12290. in: query
  12291. name: descCityID
  12292. type: integer
  12293. produces:
  12294. - application/json
  12295. responses:
  12296. "200":
  12297. description: OK
  12298. schema:
  12299. $ref: '#/definitions/models.HsbyPreGoods'
  12300. "500":
  12301. description: Internal Server Error
  12302. schema:
  12303. $ref: '#/definitions/app.Response'
  12304. security:
  12305. - ApiKeyAuth: []
  12306. summary: 查询新品上市商品列表(一级市场预售)
  12307. tags:
  12308. - 定制【海商报业】
  12309. /HSBY/QueryHsbySellMyDetails:
  12310. get:
  12311. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  12312. parameters:
  12313. - description: 页码
  12314. in: query
  12315. name: page
  12316. type: integer
  12317. - description: 每页条数
  12318. in: query
  12319. name: pagesize
  12320. type: integer
  12321. - description: 资金账户列表,格式:1,2,3
  12322. in: query
  12323. name: accountIDs
  12324. required: true
  12325. type: string
  12326. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  12327. in: query
  12328. name: orderType
  12329. type: integer
  12330. produces:
  12331. - application/json
  12332. responses:
  12333. "200":
  12334. description: OK
  12335. schema:
  12336. $ref: '#/definitions/models.HsbySellMyDetail'
  12337. "500":
  12338. description: Internal Server Error
  12339. schema:
  12340. $ref: '#/definitions/app.Response'
  12341. security:
  12342. - ApiKeyAuth: []
  12343. summary: 查询"我的闲置"单据信息
  12344. tags:
  12345. - 定制【海商报业】
  12346. /HSBY/QueryHsbyTopGoodses:
  12347. get:
  12348. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  12349. parameters:
  12350. - description: 页码
  12351. in: query
  12352. name: page
  12353. type: integer
  12354. - description: 每页条数
  12355. in: query
  12356. name: pagesize
  12357. type: integer
  12358. - description: 市场ID列表,格式:1,2,3
  12359. in: query
  12360. name: marketIDs
  12361. required: true
  12362. type: string
  12363. - description: 目的地(省)ID
  12364. in: query
  12365. name: descProvinceID
  12366. type: integer
  12367. - description: 目的地(市)ID
  12368. in: query
  12369. name: descCityID
  12370. type: integer
  12371. produces:
  12372. - application/json
  12373. responses:
  12374. "200":
  12375. description: OK
  12376. schema:
  12377. $ref: '#/definitions/models.HsbyTopGoods'
  12378. "500":
  12379. description: Internal Server Error
  12380. schema:
  12381. $ref: '#/definitions/app.Response'
  12382. security:
  12383. - ApiKeyAuth: []
  12384. summary: 查询热卖商品列表(二级市场挂牌点选)
  12385. tags:
  12386. - 定制【海商报业】
  12387. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  12388. get:
  12389. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  12390. parameters:
  12391. - description: 商品ID
  12392. in: query
  12393. name: goodsID
  12394. required: true
  12395. type: integer
  12396. produces:
  12397. - application/json
  12398. responses:
  12399. "200":
  12400. description: OK
  12401. schema:
  12402. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12403. "500":
  12404. description: Internal Server Error
  12405. schema:
  12406. $ref: '#/definitions/app.Response'
  12407. security:
  12408. - ApiKeyAuth: []
  12409. summary: 查询游客三级市场(商城)商品信息详情
  12410. tags:
  12411. - 定制【海商报业】
  12412. /HSBY/QueryHsbyVisitorMarketGoodses:
  12413. get:
  12414. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  12415. parameters:
  12416. - description: 页码
  12417. in: query
  12418. name: page
  12419. type: integer
  12420. - description: 每页条数
  12421. in: query
  12422. name: pagesize
  12423. type: integer
  12424. - description: 市场ID列表,格式:1,2,3
  12425. in: query
  12426. name: marketIDs
  12427. required: true
  12428. type: string
  12429. - description: 类别ID
  12430. in: query
  12431. name: categoryID
  12432. type: integer
  12433. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12434. in: query
  12435. name: goodsIDs
  12436. type: string
  12437. produces:
  12438. - application/json
  12439. responses:
  12440. "200":
  12441. description: OK
  12442. schema:
  12443. $ref: '#/definitions/models.HsbyMarketGoods'
  12444. "500":
  12445. description: Internal Server Error
  12446. schema:
  12447. $ref: '#/definitions/app.Response'
  12448. security:
  12449. - ApiKeyAuth: []
  12450. summary: 查询游客特卖商品列表(三级商城)
  12451. tags:
  12452. - 定制【海商报业】
  12453. /HSBY/QueryMyCollectionOrders:
  12454. get:
  12455. parameters:
  12456. - description: 页码
  12457. in: query
  12458. name: page
  12459. type: integer
  12460. - description: 每页条数
  12461. in: query
  12462. name: pagesize
  12463. type: integer
  12464. - description: 资金账户,格式:1,2,3
  12465. in: query
  12466. name: accountIDs
  12467. required: true
  12468. type: string
  12469. produces:
  12470. - application/json
  12471. responses:
  12472. "200":
  12473. description: OK
  12474. schema:
  12475. $ref: '#/definitions/models.HsbySellCollectionOrder'
  12476. "500":
  12477. description: Internal Server Error
  12478. schema:
  12479. $ref: '#/definitions/app.Response'
  12480. security:
  12481. - ApiKeyAuth: []
  12482. summary: 我的闲置中收款信息查询
  12483. tags:
  12484. - 定制【海商报业】
  12485. /HSBY/QueryMyCouponHolds:
  12486. get:
  12487. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  12488. parameters:
  12489. - description: 资金账户列表,格式:1,2,3
  12490. in: query
  12491. name: accountIDs
  12492. required: true
  12493. type: string
  12494. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  12495. in: query
  12496. name: holdStatus
  12497. type: string
  12498. produces:
  12499. - application/json
  12500. responses:
  12501. "200":
  12502. description: OK
  12503. schema:
  12504. $ref: '#/definitions/models.MyCouponHold'
  12505. "500":
  12506. description: Internal Server Error
  12507. schema:
  12508. $ref: '#/definitions/app.Response'
  12509. security:
  12510. - ApiKeyAuth: []
  12511. summary: 我的优惠卷持仓查询
  12512. tags:
  12513. - 定制【海商报业】
  12514. /HSBY/QueryMyCoupons:
  12515. get:
  12516. parameters:
  12517. - description: 资金账户列表,格式:1,2,3
  12518. in: query
  12519. name: accountIDs
  12520. required: true
  12521. type: string
  12522. - description: 商品ID, 一般与sellUserID配套传入
  12523. in: query
  12524. name: goodsID
  12525. type: integer
  12526. - description: 卖方UserID
  12527. in: query
  12528. name: sellUserID
  12529. type: integer
  12530. produces:
  12531. - application/json
  12532. responses:
  12533. "200":
  12534. description: OK
  12535. schema:
  12536. $ref: '#/definitions/models.MyCoupon'
  12537. "500":
  12538. description: Internal Server Error
  12539. schema:
  12540. $ref: '#/definitions/app.Response'
  12541. security:
  12542. - ApiKeyAuth: []
  12543. summary: 我的优惠卷查询
  12544. tags:
  12545. - 定制【海商报业】
  12546. /HSBY/QueryMyPayOrders:
  12547. get:
  12548. parameters:
  12549. - description: 页码
  12550. in: query
  12551. name: page
  12552. type: integer
  12553. - description: 每页条数
  12554. in: query
  12555. name: pagesize
  12556. type: integer
  12557. - description: 资金账户列表,格式:1,2,3
  12558. in: query
  12559. name: accountIDs
  12560. required: true
  12561. type: string
  12562. - description: 买方委托单号
  12563. in: query
  12564. name: buyOrderID
  12565. type: integer
  12566. - description: 卖方委托单号
  12567. in: query
  12568. name: sellOrderID
  12569. type: integer
  12570. produces:
  12571. - application/json
  12572. responses:
  12573. "200":
  12574. description: OK
  12575. schema:
  12576. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  12577. "500":
  12578. description: Internal Server Error
  12579. schema:
  12580. $ref: '#/definitions/app.Response'
  12581. security:
  12582. - ApiKeyAuth: []
  12583. summary: 获取我的订单中待付款信息
  12584. tags:
  12585. - 定制【海商报业】
  12586. /HSBY/QueryMyUsedCoupon:
  12587. get:
  12588. parameters:
  12589. - description: 资金账户列表,格式:1,2,3
  12590. in: query
  12591. name: accountIDs
  12592. required: true
  12593. type: string
  12594. produces:
  12595. - application/json
  12596. responses:
  12597. "200":
  12598. description: OK
  12599. schema:
  12600. $ref: '#/definitions/models.MyUsedCoupon'
  12601. "500":
  12602. description: Internal Server Error
  12603. schema:
  12604. $ref: '#/definitions/app.Response'
  12605. security:
  12606. - ApiKeyAuth: []
  12607. summary: 已使用优惠卷查询
  12608. tags:
  12609. - 定制【海商报业】
  12610. /HSBY/QueryProvincesAndCities:
  12611. get:
  12612. description: 查询结果只包括二级市场商品已关连的省市信息。
  12613. parameters:
  12614. - description: 省ID
  12615. in: query
  12616. name: provinceID
  12617. type: integer
  12618. produces:
  12619. - application/json
  12620. responses:
  12621. "200":
  12622. description: OK
  12623. schema:
  12624. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  12625. "500":
  12626. description: Internal Server Error
  12627. schema:
  12628. $ref: '#/definitions/app.Response'
  12629. security:
  12630. - ApiKeyAuth: []
  12631. summary: 查询省市信息(不包括区)
  12632. tags:
  12633. - 定制【海商报业】
  12634. /HSBY/SetHsbyMyPackagesStatus:
  12635. post:
  12636. parameters:
  12637. - description: 提货单号
  12638. in: query
  12639. name: takeOrderID
  12640. required: true
  12641. type: string
  12642. - description: 资金账号
  12643. in: query
  12644. name: accountID
  12645. required: true
  12646. type: integer
  12647. produces:
  12648. - application/json
  12649. responses:
  12650. "200":
  12651. description: OK
  12652. schema:
  12653. $ref: '#/definitions/app.Response'
  12654. "500":
  12655. description: Internal Server Error
  12656. schema:
  12657. $ref: '#/definitions/app.Response'
  12658. security:
  12659. - ApiKeyAuth: []
  12660. summary: 设置我的包裹已收货状态
  12661. tags:
  12662. - 定制【海商报业】
  12663. /Market/QueryGoodsesByLoginID:
  12664. get:
  12665. parameters:
  12666. - description: 登录账号
  12667. in: query
  12668. name: loginID
  12669. required: true
  12670. type: integer
  12671. - description: 市场ID列表,格式:1,2,3
  12672. in: query
  12673. name: marketIDs
  12674. type: string
  12675. produces:
  12676. - application/json
  12677. responses:
  12678. "200":
  12679. description: OK
  12680. schema:
  12681. $ref: '#/definitions/models.Goods'
  12682. "500":
  12683. description: Internal Server Error
  12684. schema:
  12685. $ref: '#/definitions/app.Response'
  12686. security:
  12687. - ApiKeyAuth: []
  12688. summary: 获取登录账号有权限的商品信息
  12689. tags:
  12690. - 通用市场
  12691. /Market/QueryMarketRun:
  12692. get:
  12693. parameters:
  12694. - description: 市场ID,不传返回所有
  12695. in: query
  12696. name: marketID
  12697. type: integer
  12698. produces:
  12699. - application/json
  12700. responses:
  12701. "200":
  12702. description: OK
  12703. schema:
  12704. $ref: '#/definitions/models.Marketrun'
  12705. "500":
  12706. description: Internal Server Error
  12707. schema:
  12708. $ref: '#/definitions/app.Response'
  12709. security:
  12710. - ApiKeyAuth: []
  12711. summary: 查询市场运行信息
  12712. tags:
  12713. - 通用市场
  12714. /Market/QueryMarketsByLoginID:
  12715. get:
  12716. parameters:
  12717. - description: 登录账号
  12718. in: query
  12719. name: loginID
  12720. required: true
  12721. type: integer
  12722. produces:
  12723. - application/json
  12724. responses:
  12725. "200":
  12726. description: OK
  12727. schema:
  12728. $ref: '#/definitions/models.Market'
  12729. "500":
  12730. description: Internal Server Error
  12731. schema:
  12732. $ref: '#/definitions/app.Response'
  12733. security:
  12734. - ApiKeyAuth: []
  12735. summary: 获取登录账号有权限的市场信息
  12736. tags:
  12737. - 通用市场
  12738. /Order/QueryHisTradeDetail:
  12739. get:
  12740. parameters:
  12741. - description: 资金账户 - 格式:1,2,3
  12742. in: query
  12743. name: accountID
  12744. required: true
  12745. type: string
  12746. - description: 成交单号
  12747. in: query
  12748. name: tradeID
  12749. type: integer
  12750. - description: 委托单号
  12751. in: query
  12752. name: orderID
  12753. type: integer
  12754. - description: 交易模式 - 格式:1,2,3
  12755. in: query
  12756. name: tradeMode
  12757. type: string
  12758. - description: 委托单据类型
  12759. in: query
  12760. name: buildType
  12761. type: integer
  12762. - description: 成交类别 - 格式:1,2,3
  12763. in: query
  12764. name: tradeType
  12765. type: string
  12766. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12767. in: query
  12768. name: startDate
  12769. type: string
  12770. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12771. in: query
  12772. name: endDate
  12773. type: string
  12774. produces:
  12775. - application/json
  12776. responses:
  12777. "200":
  12778. description: OK
  12779. schema:
  12780. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  12781. "500":
  12782. description: Internal Server Error
  12783. schema:
  12784. $ref: '#/definitions/app.Response'
  12785. security:
  12786. - ApiKeyAuth: []
  12787. summary: 历史成交单查询(合约市场)
  12788. tags:
  12789. - 通用单据
  12790. /Order/QueryHisTradeOrderDetail:
  12791. get:
  12792. parameters:
  12793. - description: 资金账户 - 格式:1,2,3
  12794. in: query
  12795. name: accountID
  12796. required: true
  12797. type: string
  12798. - description: 交易模式 - 格式:1,2,3
  12799. in: query
  12800. name: tradeMode
  12801. type: string
  12802. - description: 委托状态 - 格式:1,2,3
  12803. in: query
  12804. name: orderStatus
  12805. type: string
  12806. - description: 委托单号
  12807. in: query
  12808. name: orderID
  12809. type: integer
  12810. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12811. in: query
  12812. name: startDate
  12813. type: string
  12814. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12815. in: query
  12816. name: endDate
  12817. type: string
  12818. produces:
  12819. - application/json
  12820. responses:
  12821. "200":
  12822. description: OK
  12823. schema:
  12824. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  12825. "500":
  12826. description: Internal Server Error
  12827. schema:
  12828. $ref: '#/definitions/app.Response'
  12829. security:
  12830. - ApiKeyAuth: []
  12831. summary: 历史委托单查询请求(合约市场)
  12832. tags:
  12833. - 通用单据
  12834. /Order/QueryTradeDetail:
  12835. get:
  12836. parameters:
  12837. - description: 资金账户 - 格式:1,2,3
  12838. in: query
  12839. name: accountID
  12840. required: true
  12841. type: string
  12842. - description: 成交单号
  12843. in: query
  12844. name: tradeID
  12845. type: integer
  12846. - description: 委托单号
  12847. in: query
  12848. name: orderID
  12849. type: integer
  12850. - description: 交易模式 - 格式:1,2,3
  12851. in: query
  12852. name: tradeMode
  12853. type: string
  12854. - description: 委托单据类型
  12855. in: query
  12856. name: buildType
  12857. type: integer
  12858. - description: 成交类别 - 格式:1,2,3
  12859. in: query
  12860. name: tradeType
  12861. type: string
  12862. produces:
  12863. - application/json
  12864. responses:
  12865. "200":
  12866. description: OK
  12867. schema:
  12868. $ref: '#/definitions/order.QueryTradeDetailRsp'
  12869. "500":
  12870. description: Internal Server Error
  12871. schema:
  12872. $ref: '#/definitions/app.Response'
  12873. security:
  12874. - ApiKeyAuth: []
  12875. summary: 成交单查询(合约市场)
  12876. tags:
  12877. - 通用单据
  12878. /Order/QueryTradeOrderDetail:
  12879. get:
  12880. parameters:
  12881. - description: 资金账户 - 格式:1,2,3
  12882. in: query
  12883. name: accountID
  12884. required: true
  12885. type: string
  12886. - description: 交易模式 - 格式:1,2,3
  12887. in: query
  12888. name: tradeMode
  12889. type: string
  12890. - description: 委托状态 - 格式:1,2,3
  12891. in: query
  12892. name: orderStatus
  12893. type: string
  12894. - description: 委托单号
  12895. in: query
  12896. name: orderID
  12897. type: integer
  12898. produces:
  12899. - application/json
  12900. responses:
  12901. "200":
  12902. description: OK
  12903. schema:
  12904. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  12905. "500":
  12906. description: Internal Server Error
  12907. schema:
  12908. $ref: '#/definitions/app.Response'
  12909. security:
  12910. - ApiKeyAuth: []
  12911. summary: 委托单查询请求(合约市场)
  12912. tags:
  12913. - 通用单据
  12914. /Order/QueryTradePosition:
  12915. get:
  12916. parameters:
  12917. - description: 资金账户 - 格式:1,2,3
  12918. in: query
  12919. name: accountID
  12920. required: true
  12921. type: string
  12922. - description: 交易模式 - 格式:1,2,3
  12923. in: query
  12924. name: tradeMode
  12925. type: string
  12926. produces:
  12927. - application/json
  12928. responses:
  12929. "200":
  12930. description: OK
  12931. schema:
  12932. $ref: '#/definitions/order.QueryTradePositionRsp'
  12933. "500":
  12934. description: Internal Server Error
  12935. schema:
  12936. $ref: '#/definitions/app.Response'
  12937. security:
  12938. - ApiKeyAuth: []
  12939. summary: 持仓汇总查询(合约市场)
  12940. tags:
  12941. - 通用单据
  12942. /Quote/QueryHistoryDatas:
  12943. get:
  12944. parameters:
  12945. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  12946. 日线'
  12947. in: query
  12948. name: cycleType
  12949. required: true
  12950. type: integer
  12951. - description: 商品代码
  12952. in: query
  12953. name: goodsCode
  12954. required: true
  12955. type: string
  12956. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12957. in: query
  12958. name: startTime
  12959. type: string
  12960. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  12961. in: query
  12962. name: endTime
  12963. type: string
  12964. - description: 条数
  12965. in: query
  12966. name: count
  12967. type: integer
  12968. - description: 是否按时间顺序排序(默认为时间倒序排序)
  12969. in: query
  12970. name: isAsc
  12971. type: boolean
  12972. produces:
  12973. - application/json
  12974. responses:
  12975. "200":
  12976. description: OK
  12977. schema:
  12978. $ref: '#/definitions/quote.HistoryData'
  12979. "500":
  12980. description: Internal Server Error
  12981. schema:
  12982. $ref: '#/definitions/app.Response'
  12983. security:
  12984. - ApiKeyAuth: []
  12985. summary: 查询行情历史数据
  12986. tags:
  12987. - 行情服务
  12988. /Quote/QueryHistoryTikDatas:
  12989. get:
  12990. parameters:
  12991. - description: 商品代码
  12992. in: query
  12993. name: goodsCode
  12994. required: true
  12995. type: string
  12996. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12997. in: query
  12998. name: startTime
  12999. type: string
  13000. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13001. in: query
  13002. name: endTime
  13003. type: string
  13004. - description: 条数
  13005. in: query
  13006. name: count
  13007. type: integer
  13008. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13009. in: query
  13010. name: isAsc
  13011. type: boolean
  13012. produces:
  13013. - application/json
  13014. responses:
  13015. "200":
  13016. description: OK
  13017. schema:
  13018. $ref: '#/definitions/quote.HistoryTikData'
  13019. "500":
  13020. description: Internal Server Error
  13021. schema:
  13022. $ref: '#/definitions/app.Response'
  13023. security:
  13024. - ApiKeyAuth: []
  13025. summary: 查询行情Tik数据
  13026. tags:
  13027. - 行情服务
  13028. /Quote/QueryQuoteDay:
  13029. get:
  13030. parameters:
  13031. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  13032. in: query
  13033. name: goodsCodes
  13034. required: true
  13035. type: string
  13036. produces:
  13037. - application/json
  13038. responses:
  13039. "200":
  13040. description: OK
  13041. schema:
  13042. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  13043. "500":
  13044. description: Internal Server Error
  13045. schema:
  13046. $ref: '#/definitions/app.Response'
  13047. security:
  13048. - ApiKeyAuth: []
  13049. summary: 获取商品盘面信息
  13050. tags:
  13051. - 行情服务
  13052. /Quote/QueryTSData:
  13053. get:
  13054. parameters:
  13055. - description: 商品代码
  13056. in: query
  13057. name: goodsCode
  13058. required: true
  13059. type: string
  13060. produces:
  13061. - application/json
  13062. responses:
  13063. "200":
  13064. description: OK
  13065. schema:
  13066. $ref: '#/definitions/quote.QueryTSDataRsp'
  13067. "500":
  13068. description: Internal Server Error
  13069. schema:
  13070. $ref: '#/definitions/app.Response'
  13071. security:
  13072. - ApiKeyAuth: []
  13073. summary: 分时图数据查询
  13074. tags:
  13075. - 行情服务
  13076. /SZDZ/QueryConvertConfig:
  13077. get:
  13078. parameters:
  13079. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13080. 6:交易转花生米(不设置)
  13081. in: query
  13082. name: convertType
  13083. type: integer
  13084. - description: 外部商品代码[JD\PD]
  13085. in: query
  13086. name: outerGoodsCode
  13087. type: string
  13088. - description: 内部商品ID列表[交易],格式:1,2,3
  13089. in: query
  13090. name: innerGoodsIDs
  13091. type: string
  13092. produces:
  13093. - application/json
  13094. responses:
  13095. "200":
  13096. description: OK
  13097. schema:
  13098. $ref: '#/definitions/models.Szdz3convertconfig'
  13099. "500":
  13100. description: Internal Server Error
  13101. schema:
  13102. $ref: '#/definitions/app.Response'
  13103. security:
  13104. - ApiKeyAuth: []
  13105. summary: 查询交易系统转换设置
  13106. tags:
  13107. - 定制【尚志大宗】
  13108. /SZDZ/QueryConvertLog:
  13109. get:
  13110. parameters:
  13111. - description: 资金账户 - 格式:1,2,3
  13112. in: query
  13113. name: accountID
  13114. required: true
  13115. type: string
  13116. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13117. in: query
  13118. name: startDate
  13119. type: string
  13120. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13121. in: query
  13122. name: endDate
  13123. type: string
  13124. produces:
  13125. - application/json
  13126. responses:
  13127. "200":
  13128. description: OK
  13129. schema:
  13130. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  13131. "500":
  13132. description: Internal Server Error
  13133. schema:
  13134. $ref: '#/definitions/app.Response'
  13135. security:
  13136. - ApiKeyAuth: []
  13137. summary: 交易系统转换流水查询
  13138. tags:
  13139. - 定制【尚志大宗】
  13140. /SZDZ/QueryGoodsPickup:
  13141. get:
  13142. parameters:
  13143. - description: 资金账户 - 格式:1,2,3
  13144. in: query
  13145. name: accountID
  13146. required: true
  13147. type: string
  13148. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13149. in: query
  13150. name: takeOrderStatus
  13151. type: integer
  13152. produces:
  13153. - application/json
  13154. responses:
  13155. "200":
  13156. description: OK
  13157. schema:
  13158. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  13159. "500":
  13160. description: Internal Server Error
  13161. schema:
  13162. $ref: '#/definitions/app.Response'
  13163. security:
  13164. - ApiKeyAuth: []
  13165. summary: 商品提货单查询
  13166. tags:
  13167. - 定制【尚志大宗】
  13168. /SZDZ/QueryRecieptOrder:
  13169. get:
  13170. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13171. parameters:
  13172. - description: 页码
  13173. in: query
  13174. name: page
  13175. type: integer
  13176. - description: 每页条数
  13177. in: query
  13178. name: pagesize
  13179. type: integer
  13180. - description: 商品ID
  13181. in: query
  13182. name: goodsID
  13183. required: true
  13184. type: integer
  13185. - description: 所属账户名称
  13186. in: query
  13187. name: accountName
  13188. type: string
  13189. - description: 市场ID
  13190. in: query
  13191. name: marketID
  13192. type: integer
  13193. - description: 方向 - 0:买 1:卖
  13194. in: query
  13195. name: buyorsell
  13196. required: true
  13197. type: integer
  13198. produces:
  13199. - application/json
  13200. responses:
  13201. "200":
  13202. description: OK
  13203. schema:
  13204. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  13205. "500":
  13206. description: Internal Server Error
  13207. schema:
  13208. $ref: '#/definitions/app.Response'
  13209. security:
  13210. - ApiKeyAuth: []
  13211. summary: 点选挂牌委托单据查询(摘牌大厅)
  13212. tags:
  13213. - 定制【尚志大宗】
  13214. /SZDZ/QuerySZDZTradePosition:
  13215. get:
  13216. parameters:
  13217. - description: 资金账户
  13218. in: query
  13219. name: accountID
  13220. required: true
  13221. type: integer
  13222. produces:
  13223. - application/json
  13224. responses:
  13225. "200":
  13226. description: OK
  13227. schema:
  13228. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  13229. "500":
  13230. description: Internal Server Error
  13231. schema:
  13232. $ref: '#/definitions/app.Response'
  13233. security:
  13234. - ApiKeyAuth: []
  13235. summary: 持仓汇总查询(尚志大宗)
  13236. tags:
  13237. - 定制【尚志大宗】
  13238. /SZDZ/SearchWhite:
  13239. get:
  13240. parameters:
  13241. - description: 用户ID
  13242. in: query
  13243. name: userID
  13244. required: true
  13245. type: integer
  13246. produces:
  13247. - application/json
  13248. responses:
  13249. "200":
  13250. description: OK
  13251. schema:
  13252. $ref: '#/definitions/models.Szdz3searchwhitelist'
  13253. "500":
  13254. description: Internal Server Error
  13255. schema:
  13256. $ref: '#/definitions/app.Response'
  13257. security:
  13258. - ApiKeyAuth: []
  13259. summary: 搜索白名单
  13260. tags:
  13261. - 定制【尚志大宗】
  13262. /Search/SearchGoodses:
  13263. get:
  13264. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  13265. parameters:
  13266. - description: 检索内容
  13267. in: query
  13268. name: content
  13269. required: true
  13270. type: string
  13271. - description: 交易模式,格式:1,2,3
  13272. in: query
  13273. name: tradeModes
  13274. type: string
  13275. produces:
  13276. - application/json
  13277. responses:
  13278. "200":
  13279. description: OK
  13280. schema:
  13281. $ref: '#/definitions/models.SearchGoods'
  13282. "500":
  13283. description: Internal Server Error
  13284. schema:
  13285. $ref: '#/definitions/app.Response'
  13286. summary: 检索商品信息
  13287. tags:
  13288. - 检索服务
  13289. /TaAccount/GetTaAccounts:
  13290. get:
  13291. parameters:
  13292. - description: 登录账户
  13293. in: query
  13294. name: loginID
  13295. required: true
  13296. type: integer
  13297. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13298. in: query
  13299. name: taAccountType
  13300. type: integer
  13301. produces:
  13302. - application/json
  13303. responses:
  13304. "200":
  13305. description: OK
  13306. schema:
  13307. $ref: '#/definitions/models.Taaccount'
  13308. "500":
  13309. description: Internal Server Error
  13310. schema:
  13311. $ref: '#/definitions/app.Response'
  13312. security:
  13313. - ApiKeyAuth: []
  13314. summary: 获取资金账户信息
  13315. tags:
  13316. - 资金账户
  13317. /TaAccount/QueryAmountLog:
  13318. get:
  13319. parameters:
  13320. - description: 页码
  13321. in: query
  13322. name: page
  13323. type: integer
  13324. - description: 每页条数
  13325. in: query
  13326. name: pagesize
  13327. type: integer
  13328. - description: 资金账户 - 格式:1,2,3
  13329. in: query
  13330. name: accountID
  13331. required: true
  13332. type: string
  13333. - description: 资金操作类型 - 格式:1,2,3
  13334. in: query
  13335. name: OperateType
  13336. type: string
  13337. produces:
  13338. - application/json
  13339. responses:
  13340. "200":
  13341. description: OK
  13342. schema:
  13343. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  13344. "500":
  13345. description: Internal Server Error
  13346. schema:
  13347. $ref: '#/definitions/app.Response'
  13348. security:
  13349. - ApiKeyAuth: []
  13350. summary: 资金流水查询(当前)
  13351. tags:
  13352. - 资金账户
  13353. /TaAccount/QueryHisAmountLog:
  13354. get:
  13355. parameters:
  13356. - description: 页码
  13357. in: query
  13358. name: page
  13359. type: integer
  13360. - description: 每页条数
  13361. in: query
  13362. name: pagesize
  13363. type: integer
  13364. - description: 资金账户 - 格式:1,2,3
  13365. in: query
  13366. name: accountID
  13367. required: true
  13368. type: string
  13369. - description: 资金操作类型 - 格式:1,2,3
  13370. in: query
  13371. name: OperateType
  13372. type: string
  13373. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13374. in: query
  13375. name: startDate
  13376. type: string
  13377. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13378. in: query
  13379. name: endDate
  13380. type: string
  13381. produces:
  13382. - application/json
  13383. responses:
  13384. "200":
  13385. description: OK
  13386. schema:
  13387. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  13388. "500":
  13389. description: Internal Server Error
  13390. schema:
  13391. $ref: '#/definitions/app.Response'
  13392. security:
  13393. - ApiKeyAuth: []
  13394. summary: 资金流水查询(历史)
  13395. tags:
  13396. - 资金账户
  13397. /Trade/QueryRecieptOrder:
  13398. get:
  13399. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13400. parameters:
  13401. - description: 页码
  13402. in: query
  13403. name: page
  13404. type: integer
  13405. - description: 每页条数
  13406. in: query
  13407. name: pagesize
  13408. type: integer
  13409. - description: 商品ID
  13410. in: query
  13411. name: goodsID
  13412. required: true
  13413. type: integer
  13414. - description: 所属账户名称
  13415. in: query
  13416. name: accountName
  13417. type: string
  13418. - description: 市场ID
  13419. in: query
  13420. name: marketID
  13421. type: integer
  13422. - description: 方向 - 0:买 1:卖
  13423. in: query
  13424. name: buyorsell
  13425. required: true
  13426. type: integer
  13427. produces:
  13428. - application/json
  13429. responses:
  13430. "200":
  13431. description: OK
  13432. schema:
  13433. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  13434. "500":
  13435. description: Internal Server Error
  13436. schema:
  13437. $ref: '#/definitions/app.Response'
  13438. security:
  13439. - ApiKeyAuth: []
  13440. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  13441. tags:
  13442. - 通用交易
  13443. /User/AddMessageBoard:
  13444. post:
  13445. parameters:
  13446. - description: 用户ID
  13447. in: query
  13448. name: userID
  13449. required: true
  13450. type: integer
  13451. - description: 留言信息
  13452. in: query
  13453. name: message
  13454. required: true
  13455. type: string
  13456. - description: 联系电话
  13457. in: query
  13458. name: contactNum
  13459. required: true
  13460. type: string
  13461. produces:
  13462. - application/json
  13463. responses:
  13464. "200":
  13465. description: OK
  13466. schema:
  13467. $ref: '#/definitions/app.Response'
  13468. "500":
  13469. description: Internal Server Error
  13470. schema:
  13471. $ref: '#/definitions/app.Response'
  13472. security:
  13473. - ApiKeyAuth: []
  13474. summary: 添加用户留言板信息
  13475. tags:
  13476. - 用户信息
  13477. /User/AddUserFavoriteGoods:
  13478. post:
  13479. parameters:
  13480. - description: 用户ID
  13481. in: query
  13482. name: userID
  13483. required: true
  13484. type: integer
  13485. - description: 商品ID
  13486. in: query
  13487. name: goodsID
  13488. required: true
  13489. type: integer
  13490. produces:
  13491. - application/json
  13492. responses:
  13493. "200":
  13494. description: OK
  13495. schema:
  13496. $ref: '#/definitions/app.Response'
  13497. "500":
  13498. description: Internal Server Error
  13499. schema:
  13500. $ref: '#/definitions/app.Response'
  13501. security:
  13502. - ApiKeyAuth: []
  13503. summary: 添加用户商品收藏信息
  13504. tags:
  13505. - 用户信息
  13506. /User/GetLoginID:
  13507. get:
  13508. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  13509. parameters:
  13510. - description: 登录代码
  13511. in: query
  13512. name: username
  13513. required: true
  13514. type: string
  13515. produces:
  13516. - application/json
  13517. responses:
  13518. "200":
  13519. description: OK
  13520. schema:
  13521. $ref: '#/definitions/app.Response'
  13522. "500":
  13523. description: Internal Server Error
  13524. schema:
  13525. $ref: '#/definitions/app.Response'
  13526. summary: 获取登录ID
  13527. tags:
  13528. - 用户信息
  13529. /User/GetUserAccount:
  13530. get:
  13531. parameters:
  13532. - description: 用户ID
  13533. in: query
  13534. name: userID
  13535. required: true
  13536. type: integer
  13537. produces:
  13538. - application/json
  13539. responses:
  13540. "200":
  13541. description: OK
  13542. schema:
  13543. $ref: '#/definitions/models.Useraccount'
  13544. "500":
  13545. description: Internal Server Error
  13546. schema:
  13547. $ref: '#/definitions/app.Response'
  13548. security:
  13549. - ApiKeyAuth: []
  13550. summary: 获取用户账号信息
  13551. tags:
  13552. - 用户信息
  13553. /User/GetUserAuthStatus:
  13554. get:
  13555. parameters:
  13556. - description: 用户ID
  13557. in: query
  13558. name: userID
  13559. required: true
  13560. type: integer
  13561. produces:
  13562. - application/json
  13563. responses:
  13564. "200":
  13565. description: OK
  13566. schema:
  13567. $ref: '#/definitions/app.Response'
  13568. "500":
  13569. description: Internal Server Error
  13570. schema:
  13571. $ref: '#/definitions/app.Response'
  13572. security:
  13573. - ApiKeyAuth: []
  13574. summary: 获取用户实名认证状态
  13575. tags:
  13576. - 用户信息
  13577. /User/LoginQuery:
  13578. get:
  13579. parameters:
  13580. - description: 登录账号
  13581. in: query
  13582. name: loginID
  13583. required: true
  13584. type: integer
  13585. produces:
  13586. - application/json
  13587. responses:
  13588. "200":
  13589. description: OK
  13590. schema:
  13591. $ref: '#/definitions/user.LoginQueryRsp'
  13592. "500":
  13593. description: Internal Server Error
  13594. schema:
  13595. $ref: '#/definitions/app.Response'
  13596. security:
  13597. - ApiKeyAuth: []
  13598. summary: 账户登录后信息查询
  13599. tags:
  13600. - 用户信息
  13601. /User/QueryMessageBoard:
  13602. get:
  13603. parameters:
  13604. - description: 用户ID
  13605. in: query
  13606. name: userID
  13607. required: true
  13608. type: integer
  13609. produces:
  13610. - application/json
  13611. responses:
  13612. "200":
  13613. description: OK
  13614. schema:
  13615. $ref: '#/definitions/models.Messageboard'
  13616. "500":
  13617. description: Internal Server Error
  13618. schema:
  13619. $ref: '#/definitions/app.Response'
  13620. security:
  13621. - ApiKeyAuth: []
  13622. summary: 获取用户留言板信息
  13623. tags:
  13624. - 用户信息
  13625. /User/QueryUserFavoriteGoodses:
  13626. get:
  13627. parameters:
  13628. - description: 用户ID
  13629. in: query
  13630. name: userID
  13631. required: true
  13632. type: integer
  13633. produces:
  13634. - application/json
  13635. responses:
  13636. "200":
  13637. description: OK
  13638. schema:
  13639. $ref: '#/definitions/models.Userfavoritegoods'
  13640. "500":
  13641. description: Internal Server Error
  13642. schema:
  13643. $ref: '#/definitions/app.Response'
  13644. security:
  13645. - ApiKeyAuth: []
  13646. summary: 获取用户商品收藏信息
  13647. tags:
  13648. - 用户信息
  13649. /User/QueryUserInfo:
  13650. get:
  13651. parameters:
  13652. - description: 用户ID
  13653. in: query
  13654. name: userID
  13655. required: true
  13656. type: integer
  13657. produces:
  13658. - application/json
  13659. responses:
  13660. "200":
  13661. description: OK
  13662. schema:
  13663. $ref: '#/definitions/models.Userinfo'
  13664. "500":
  13665. description: Internal Server Error
  13666. schema:
  13667. $ref: '#/definitions/app.Response'
  13668. security:
  13669. - ApiKeyAuth: []
  13670. summary: 获取用户信息
  13671. tags:
  13672. - 用户信息
  13673. /User/QueryUserReferNum:
  13674. get:
  13675. parameters:
  13676. - description: 用户ID
  13677. in: query
  13678. name: userID
  13679. required: true
  13680. type: integer
  13681. produces:
  13682. - application/json
  13683. responses:
  13684. "200":
  13685. description: OK
  13686. schema:
  13687. $ref: '#/definitions/app.Response'
  13688. "500":
  13689. description: Internal Server Error
  13690. schema:
  13691. $ref: '#/definitions/app.Response'
  13692. summary: 获取用户邀请码
  13693. tags:
  13694. - 用户信息
  13695. /User/RemoveUserFavoriteGoods:
  13696. post:
  13697. parameters:
  13698. - description: 用户ID
  13699. in: query
  13700. name: userID
  13701. required: true
  13702. type: integer
  13703. - description: 商品ID
  13704. in: query
  13705. name: goodsID
  13706. required: true
  13707. type: integer
  13708. produces:
  13709. - application/json
  13710. responses:
  13711. "200":
  13712. description: OK
  13713. schema:
  13714. $ref: '#/definitions/app.Response'
  13715. "500":
  13716. description: Internal Server Error
  13717. schema:
  13718. $ref: '#/definitions/app.Response'
  13719. security:
  13720. - ApiKeyAuth: []
  13721. summary: 移除用户商品收藏信息
  13722. tags:
  13723. - 用户信息
  13724. /User/UpdateUserAccountStatus:
  13725. post:
  13726. parameters:
  13727. - description: 用户ID
  13728. in: query
  13729. name: userID
  13730. required: true
  13731. type: integer
  13732. - description: 账户状态 - 4:正常 6:注销(停用)
  13733. in: query
  13734. name: accountStatus
  13735. required: true
  13736. type: integer
  13737. produces:
  13738. - application/json
  13739. responses:
  13740. "200":
  13741. description: OK
  13742. schema:
  13743. $ref: '#/definitions/app.Response'
  13744. "500":
  13745. description: Internal Server Error
  13746. schema:
  13747. $ref: '#/definitions/app.Response'
  13748. security:
  13749. - ApiKeyAuth: []
  13750. summary: 更新用户状态
  13751. tags:
  13752. - 用户信息
  13753. /WR/GetWRCategoryInfo:
  13754. get:
  13755. produces:
  13756. - application/json
  13757. responses:
  13758. "200":
  13759. description: OK
  13760. schema:
  13761. $ref: '#/definitions/models.WRCategoryTree'
  13762. "500":
  13763. description: Internal Server Error
  13764. schema:
  13765. $ref: '#/definitions/app.Response'
  13766. summary: 获取现货分类信息
  13767. tags:
  13768. - 仓单服务
  13769. /WRTrade/GetAllDeliveryGoods:
  13770. get:
  13771. produces:
  13772. - application/json
  13773. - application/json
  13774. responses:
  13775. "200":
  13776. description: OK
  13777. schema:
  13778. $ref: '#/definitions/app.Response'
  13779. "500":
  13780. description: Internal Server Error
  13781. schema:
  13782. $ref: '#/definitions/app.Response'
  13783. security:
  13784. - ApiKeyAuth: []
  13785. - ApiKeyAuth: []
  13786. summary: 获取带仓单分类的种类信息
  13787. tags:
  13788. - 仓单贸易
  13789. - 仓单贸易
  13790. securityDefinitions:
  13791. ApiKeyAuth:
  13792. in: header
  13793. name: Authorization
  13794. type: apiKey
  13795. swagger: "2.0"