swagger.yaml 386 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryImageConfigsRsp:
  22. properties:
  23. areauserid:
  24. description: 所属机构ID
  25. type: integer
  26. configid:
  27. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  28. type: integer
  29. createdate:
  30. description: 创建时间
  31. type: string
  32. creatorid:
  33. description: 创建人
  34. type: integer
  35. imagepath:
  36. description: 图片
  37. type: string
  38. imagetype:
  39. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  40. type: integer
  41. isshow:
  42. description: 是否展示 - 0:不展示 1:展示
  43. type: integer
  44. marketid:
  45. description: 市场ID
  46. type: integer
  47. modifierid:
  48. description: 操作人
  49. type: integer
  50. sort:
  51. description: 排序
  52. type: integer
  53. title:
  54. description: 标题
  55. type: string
  56. trademode:
  57. description: 交易模式
  58. type: integer
  59. updatedate:
  60. description: 修改时间
  61. type: string
  62. url:
  63. description: 链接(地址或商品ID)
  64. type: string
  65. urltype:
  66. description: 链接类型 - 1:直接地址 2:商品ID
  67. type: integer
  68. required:
  69. - configid
  70. type: object
  71. common.QueryNoticeRsp:
  72. properties:
  73. auditoruserid:
  74. description: 审核人
  75. type: integer
  76. auditremark:
  77. description: 审核备注
  78. type: string
  79. audittime:
  80. description: 审核日期
  81. type: string
  82. autoid:
  83. description: 自增ID
  84. type: integer
  85. content:
  86. description: 内容
  87. type: string
  88. createtime:
  89. description: 创建时间
  90. type: string
  91. creatorid:
  92. description: 建仓人
  93. type: integer
  94. endtime:
  95. description: 结束时间
  96. type: string
  97. istop:
  98. description: 是否置顶 - 0:不置顶 1:置顶
  99. type: integer
  100. msgiconurl:
  101. description: 消息图标Url
  102. type: string
  103. msgtype:
  104. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  105. type: integer
  106. publisher:
  107. description: 消息发布者
  108. type: string
  109. readed:
  110. description: 是否已读
  111. type: boolean
  112. scheduletime:
  113. description: 计划发送时间
  114. type: string
  115. sendtype:
  116. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  117. type: integer
  118. sentstatus:
  119. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  120. type: integer
  121. title:
  122. description: 标题
  123. type: string
  124. userid:
  125. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  126. type: integer
  127. required:
  128. - autoid
  129. type: object
  130. common.QueryProvincesAndCitiesRsp:
  131. properties:
  132. cities:
  133. description: 市
  134. items:
  135. $ref: '#/definitions/models.Division'
  136. type: array
  137. province:
  138. $ref: '#/definitions/models.Division'
  139. description: 省
  140. type: object
  141. type: object
  142. common.QueryTableDefineRsp:
  143. properties:
  144. columns:
  145. description: 列头信息数组
  146. items:
  147. $ref: '#/definitions/models.Tablecolumnconfig'
  148. type: array
  149. remark:
  150. description: Remark
  151. type: string
  152. tabelmenu:
  153. description: 列表菜单
  154. type: string
  155. tablekey:
  156. description: 列表Key
  157. type: string
  158. tablename:
  159. description: 列表名称
  160. type: string
  161. tabletype:
  162. description: 列表类型 - 1:管理端 2:终端
  163. type: integer
  164. required:
  165. - tablekey
  166. type: object
  167. common.QueryTraderMenuRsp:
  168. properties:
  169. OperationMenu:
  170. description: 功能菜单
  171. items:
  172. $ref: '#/definitions/models.OperationPrimaryMenu'
  173. type: array
  174. QuoteMenu:
  175. description: 报价牌分类菜单
  176. items:
  177. $ref: '#/definitions/models.QuotePrimaryMenu'
  178. type: array
  179. type: object
  180. cptrade.Cptradepositioncancel:
  181. properties:
  182. accountid:
  183. description: 申请人账户ID
  184. type: integer
  185. applystatus:
  186. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  187. type: integer
  188. applytime:
  189. description: 申请时间
  190. type: string
  191. cancelid:
  192. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  193. type: integer
  194. cancelqty:
  195. description: 注销数量
  196. type: integer
  197. createtime:
  198. description: 创建时间
  199. type: string
  200. creatorid:
  201. description: 创建人ID
  202. type: integer
  203. creatorname:
  204. description: 创建人
  205. type: string
  206. goodscode:
  207. description: 订单商品代码
  208. type: string
  209. goodsid:
  210. description: 商品ID
  211. type: integer
  212. goodsname:
  213. description: 订单商品名称
  214. type: string
  215. goodunit:
  216. description: 报价单位
  217. type: string
  218. handlestatus:
  219. description: 处理状态
  220. type: integer
  221. marketid:
  222. description: 市场ID
  223. type: integer
  224. marketname:
  225. description: 市场名称
  226. type: string
  227. tradedate:
  228. description: 交易日(yyyyMMdd)
  229. type: string
  230. userid:
  231. description: 申请人ID
  232. type: integer
  233. required:
  234. - cancelid
  235. type: object
  236. cptrade.Cptradepresaleapply:
  237. properties:
  238. accountid:
  239. description: 申请人账户ID
  240. type: integer
  241. applyid:
  242. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  243. type: integer
  244. applyremark:
  245. description: 申请备注
  246. type: string
  247. applystatus:
  248. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  249. type: integer
  250. applytime:
  251. description: 申请时间
  252. type: string
  253. attachmenturl:
  254. description: 附件地址
  255. type: string
  256. endtime:
  257. description: 预售结束时间
  258. type: string
  259. goodscode:
  260. description: 商品代码
  261. type: string
  262. goodsid:
  263. description: 商品ID
  264. type: integer
  265. goodsname:
  266. description: 商品名称
  267. type: string
  268. goodunit:
  269. description: 报价单位
  270. type: string
  271. handlestatus:
  272. description: 处理状态
  273. type: integer
  274. marketid:
  275. description: 预售市场ID
  276. type: integer
  277. marketname:
  278. description: 预售市场名称
  279. type: string
  280. presaleqty:
  281. description: 预售数量
  282. type: integer
  283. relatedgoodscode:
  284. description: 关联交易合约代码
  285. type: string
  286. relatedgoodsid:
  287. description: 关联交易合约ID
  288. type: integer
  289. relatedgoodsname:
  290. description: 关联交易合约名称
  291. type: string
  292. starttime:
  293. description: 预售开始时间
  294. type: string
  295. tradedate:
  296. description: 交易日(yyyyMMdd)
  297. type: string
  298. trademode:
  299. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  300. type: integer
  301. userid:
  302. description: 申请人ID
  303. type: integer
  304. required:
  305. - applyid
  306. type: object
  307. cptrade.Cptradeusergoodsdata:
  308. properties:
  309. EnabledQty:
  310. description: 可用量
  311. type: integer
  312. GoodsCode:
  313. description: 订单商品代码
  314. type: string
  315. GoodsName:
  316. description: 订单商品名称
  317. type: string
  318. WRStandardCode:
  319. description: 仓单标准代码
  320. type: string
  321. WRStandardName:
  322. description: 仓单标准名称
  323. type: string
  324. accountid:
  325. description: 账户ID
  326. type: integer
  327. cancelqty:
  328. description: 注销量
  329. type: integer
  330. curpresaleqty:
  331. description: 当前预售量
  332. type: integer
  333. deliveryqty:
  334. description: 交割量
  335. type: integer
  336. freezeamount:
  337. description: 冻结金额
  338. type: number
  339. goodsid:
  340. description: 商品ID
  341. type: integer
  342. goodunit:
  343. description: 报价单位
  344. type: string
  345. hasspotfreeze:
  346. description: 是否有现货冻结 - 0:否 1:有
  347. type: integer
  348. inqty:
  349. description: 转入量(总数量)
  350. type: integer
  351. marketid:
  352. description: 市场ID
  353. type: integer
  354. presaledamount:
  355. description: 已预售总金额
  356. type: integer
  357. presaledqty:
  358. description: 已预售量
  359. type: integer
  360. userid:
  361. description: 用户ID
  362. type: integer
  363. wrstandardid:
  364. description: 仓单标准ID
  365. type: integer
  366. required:
  367. - accountid
  368. - goodsid
  369. type: object
  370. cptrade.QueryCPTradeMyBidRsp:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. goodsid:
  376. description: 商品ID
  377. type: integer
  378. goodunit:
  379. description: 报价单位
  380. type: string
  381. marketid:
  382. description: 市场ID
  383. type: integer
  384. orderid:
  385. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  386. type: integer
  387. orderprice:
  388. description: 委托价格
  389. type: number
  390. orderqty:
  391. description: 委托数量
  392. type: integer
  393. ordertime:
  394. description: 委托时间
  395. type: string
  396. ordertotalprice:
  397. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  398. type: number
  399. ordertotalweight:
  400. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  401. type: integer
  402. totaltotalprice:
  403. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  404. type: number
  405. tradeprice:
  406. description: 成交价格
  407. type: number
  408. tradeqty:
  409. description: 成交数量
  410. type: integer
  411. required:
  412. - accountid
  413. - goodsid
  414. - marketid
  415. - orderid
  416. - orderqty
  417. - ordertime
  418. - tradeprice
  419. - tradeqty
  420. type: object
  421. cptrade.QueryCPTradeOrderDetailRsq:
  422. properties:
  423. accountid:
  424. description: 账户ID[报价币种]
  425. type: integer
  426. buildtype:
  427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  428. type: integer
  429. buyorsell:
  430. description: 买卖 - 0:买 1:卖
  431. type: integer
  432. cancelorderid:
  433. description: 撤单单号(撤单时填写)
  434. type: integer
  435. cancelqty:
  436. description: 撤单数量
  437. type: integer
  438. clientordertime:
  439. description: 客户端委托时间
  440. type: string
  441. clientticket:
  442. description: 客户端流水号
  443. type: string
  444. clienttype:
  445. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  446. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  447. type: integer
  448. closeexchagechargevalue:
  449. description: 平仓交易所手续费设置值
  450. type: number
  451. closefeealgorithm:
  452. description: 平仓手续费收取方式 1:比率 2:固定
  453. type: integer
  454. closefreezecharge:
  455. description: 平仓冻结手续费(先建后平操作,需要记录)
  456. type: number
  457. closememberchargevalue:
  458. description: 平仓会员手续费设置值
  459. type: number
  460. closeqty:
  461. description: 平仓数量(先建后平操作 需要记录)
  462. type: integer
  463. closetradeqty:
  464. description: 平仓成交数量(先建后平操作,需要记录)
  465. type: integer
  466. closeunfreezecharge:
  467. description: 平仓解冻手续费(先建后平操作,需要记录)
  468. type: number
  469. delistingtype:
  470. description: 摘牌类型 - 1:价格最优 2:点选成交
  471. type: integer
  472. freezecharge:
  473. description: 冻结手续费
  474. type: number
  475. freezemargin:
  476. description: 冻结保证金(冻结交易金额)
  477. type: number
  478. gcaccountid:
  479. description: 账户ID[合约币种]
  480. type: integer
  481. goodsid:
  482. description: 商品ID
  483. type: integer
  484. isconfirmexercise:
  485. description: 是否确认行权- 0:否 1:是
  486. type: integer
  487. ispreexercise:
  488. description: 是否预申报- 0:否 1:是
  489. type: integer
  490. listingselecttype:
  491. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  492. type: integer
  493. marginalgorithm:
  494. description: 保证金收取方式 1:比率 2:固定
  495. type: integer
  496. marginvalue:
  497. description: 即市保证金设置值
  498. type: number
  499. marketid:
  500. description: 市场ID
  501. type: integer
  502. marketmaxsub:
  503. description: 市价最大偏移范围
  504. type: number
  505. memberuserid:
  506. description: 所属会员UserID
  507. type: integer
  508. openexchagechargevalue:
  509. description: 建仓交易所手续费设置值
  510. type: number
  511. openfeealgorithm:
  512. description: 建仓手续费收取方式 1:比率 2:固定
  513. type: integer
  514. openfreezecharge:
  515. description: 开仓冻结手续费(先建后平操作,需要记录)
  516. type: number
  517. openmemberchargevalue:
  518. description: 建仓会员手续费设置值
  519. type: number
  520. openqty:
  521. description: 开仓数量(先建后平操作,需要记录)
  522. type: integer
  523. opentradeqty:
  524. description: 开仓成交数量(先建后平操作,需要记录)
  525. type: integer
  526. openunfreezecharge:
  527. description: 开仓解冻手续费(先建后平操作,需要记录)
  528. type: number
  529. operatetype:
  530. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  531. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  532. 15:管理端协议转让
  533. type: integer
  534. operatorid:
  535. description: 登录账号(LoginID)
  536. type: integer
  537. optiontype:
  538. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  539. type: integer
  540. orderprice:
  541. description: 委托价格
  542. type: number
  543. orderqty:
  544. description: 委托数量
  545. type: integer
  546. ordersrc:
  547. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  548. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  549. type: integer
  550. orderstatus:
  551. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  552. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  553. 16:成交失败违约(荷兰式竞拍专用)
  554. type: integer
  555. ordertime:
  556. description: 委托时间
  557. type: string
  558. preexerciseprice:
  559. description: 预申报价格
  560. type: number
  561. premium:
  562. description: 权利金
  563. type: number
  564. preorderid:
  565. description: 关联预埋单号(止盈止损单时填写)
  566. type: integer
  567. pricemode:
  568. description: '取价方式 - 1:市价 2: 限价'
  569. type: integer
  570. quoteid:
  571. description: 报价单ID
  572. type: integer
  573. relatedid:
  574. description: 关联单号(交割单)
  575. type: integer
  576. retcode:
  577. description: 错误代码
  578. type: integer
  579. sessionid:
  580. description: 会话ID
  581. type: integer
  582. strorderid:
  583. description: 委托单号
  584. type: string
  585. tradedate:
  586. description: 交易日(yyyyMMdd)
  587. type: string
  588. tradeproperty:
  589. description: 交易属性
  590. type: integer
  591. tradeqty:
  592. description: 成交数量
  593. type: integer
  594. unfreezecharge:
  595. description: 解冻手续费
  596. type: number
  597. unfreezemargin:
  598. description: 解冻保证金
  599. type: number
  600. updatetime:
  601. description: 更新时间
  602. type: string
  603. uuid:
  604. description: 发起端唯一id
  605. type: string
  606. validtime:
  607. description: 有效期限
  608. type: string
  609. validtype:
  610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  611. type: integer
  612. volumetype:
  613. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  614. type: integer
  615. required:
  616. - accountid
  617. - buildtype
  618. - buyorsell
  619. - goodsid
  620. - marketid
  621. - memberuserid
  622. - operatetype
  623. - orderqty
  624. - ordertime
  625. - pricemode
  626. - strorderid
  627. - tradedate
  628. - validtype
  629. type: object
  630. cptrade.QueryMyCPTradeGoodsRsp:
  631. properties:
  632. accountid:
  633. description: 卖方账户ID
  634. type: integer
  635. agreeunit:
  636. description: 合约单位
  637. type: number
  638. applyid:
  639. description: 关联申请ID
  640. type: integer
  641. attachmenturl:
  642. description: 附件地址
  643. type: string
  644. createtime:
  645. description: 创建时间
  646. type: string
  647. currencyid:
  648. description: 报价货币ID
  649. type: integer
  650. decimalplace:
  651. description: 报价小数位
  652. type: integer
  653. endtime:
  654. description: 预售结束时间
  655. type: string
  656. floorprice:
  657. description: 底价[大宗式竞拍]
  658. type: number
  659. goodscode:
  660. description: 商品代码(预售)
  661. type: string
  662. goodsdetail:
  663. description: 详情[大宗]
  664. type: string
  665. goodsid:
  666. description: 商品ID(自增ID SEQ_GOODS)
  667. type: integer
  668. goodsname:
  669. description: 商品名称(预售)
  670. type: string
  671. goodunit:
  672. description: 报价单位
  673. type: string
  674. goodunitid:
  675. description: 报价单位ID
  676. type: integer
  677. marketid:
  678. description: 所属市场ID
  679. type: integer
  680. marketname:
  681. description: 预售市场名称
  682. type: string
  683. presaledamount:
  684. description: 已预售总金额(预售结束时更新)
  685. type: number
  686. presaledqty:
  687. description: 已预售量(预售结束时更新)
  688. type: integer
  689. presalemode:
  690. description: 预售模式 - 1:一口价 2:大宗式竞拍
  691. type: integer
  692. presaleqty:
  693. description: 预售数量
  694. type: integer
  695. refprice:
  696. description: 参考价格[一口价]
  697. type: number
  698. relatedgoodscode:
  699. description: 商品代码(订单)
  700. type: string
  701. relatedgoodsid:
  702. description: 关联交易合约ID
  703. type: integer
  704. relatedgoodsname:
  705. description: 商品名称(订单)
  706. type: string
  707. relatedmarketid:
  708. description: 关联交易合约市场ID
  709. type: integer
  710. sellstatus:
  711. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  712. type: integer
  713. startprice:
  714. description: 起拍价[大宗式竞拍]
  715. type: number
  716. starttime:
  717. description: 预售开始时间
  718. type: string
  719. tradedate:
  720. description: 交易日(yyyyMMdd)
  721. type: string
  722. tradeprice:
  723. description: 成交价[大宗]
  724. type: number
  725. userid:
  726. description: 卖方用户ID
  727. type: integer
  728. required:
  729. - goodscode
  730. - goodsid
  731. - goodsname
  732. - marketid
  733. - relatedgoodscode
  734. - relatedgoodsname
  735. type: object
  736. cptrade.QueryPresaleGoodsExRsp:
  737. properties:
  738. attachmenturl:
  739. description: 附件地址
  740. type: string
  741. createtime:
  742. description: 创建时间
  743. type: string
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodsdetail:
  751. description: 详情[大宗]
  752. type: string
  753. goodsid:
  754. description: 商品ID(预售)
  755. type: integer
  756. goodunit:
  757. description: 报价单位
  758. type: string
  759. marketid:
  760. description: 预售市场ID - 根据预售模式选择市场
  761. type: integer
  762. presaledamount:
  763. description: 已预售总金额(预售结束时更新)
  764. type: number
  765. presaledqty:
  766. description: 已预售量(预售结束时更新)
  767. type: integer
  768. presalemode:
  769. description: 预售模式 - 1:一口价 2:大宗式竞拍
  770. type: integer
  771. presaleqty:
  772. description: 预售数量
  773. type: integer
  774. refprice:
  775. description: 参考价格[一口价]
  776. type: number
  777. relatedgoodsid:
  778. description: 关联交易合约ID
  779. type: integer
  780. relatedmarketid:
  781. description: 关联交易合约市场ID
  782. type: integer
  783. sellstatus:
  784. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  785. type: integer
  786. startprice:
  787. description: 起拍价[大宗式竞拍]
  788. type: number
  789. starttime:
  790. description: 预售开始时间
  791. type: string
  792. tradedate:
  793. description: 交易日(yyyyMMdd)
  794. type: string
  795. tradeprice:
  796. description: 成交价[大宗]
  797. type: number
  798. required:
  799. - goodsid
  800. type: object
  801. delivery.QueryDeliveryRelationRsp:
  802. properties:
  803. begindate:
  804. description: 起始日期(yyyyMMdd)
  805. type: string
  806. buytemplateid:
  807. description: 买履约计划模板ID
  808. type: integer
  809. deliverygoodscode:
  810. description: 品种代码
  811. type: string
  812. deliverygoodsid:
  813. description: 交割商品
  814. type: integer
  815. deliverygoodsname:
  816. description: 品种名称
  817. type: string
  818. deliverymode:
  819. description: 交割方式 - 1:点选式 2:申报式
  820. type: integer
  821. deliverypricerule:
  822. description: 交割价规则- 1:行情价 2:建仓价
  823. type: integer
  824. deliverytype:
  825. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  826. type: integer
  827. enddate:
  828. description: 结束日期(yyyyMMdd)
  829. type: string
  830. goodscode:
  831. description: 商品代码
  832. type: string
  833. goodsid:
  834. description: 交易合约ID
  835. type: integer
  836. goodsname:
  837. description: 商品名称
  838. type: string
  839. marketid:
  840. description: 市场ID
  841. type: integer
  842. mindeliveryqty:
  843. description: 最小交割系数(K)
  844. type: integer
  845. p2deliveryprice:
  846. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  847. type: number
  848. p2deliveryratio:
  849. description: P2合约系数(p)
  850. type: integer
  851. p2goodsid:
  852. description: P2合约ID
  853. type: integer
  854. p2pricemode:
  855. description: P2合约价格方式 - 1:商品价 2:固定值
  856. type: integer
  857. pdeliveryprice:
  858. description: P合约价格(商品价时填写0,固定值时填写固定值)
  859. type: number
  860. pdeliveryratio:
  861. description: P合约系数(n)
  862. type: integer
  863. pgoodsid:
  864. description: P合约ID
  865. type: integer
  866. ppricemode:
  867. description: P合约价格方式 - 1:商品价 2:固定值
  868. type: integer
  869. rratio:
  870. description: 兑换系数(R)
  871. type: integer
  872. rratio1:
  873. description: 兑换系数(交易合约)(R1)
  874. type: integer
  875. rratio2:
  876. description: 兑换系数(仓单标准)(R2)
  877. type: integer
  878. selltemplateid:
  879. description: 卖履约计划模板ID
  880. type: integer
  881. wrstandardid:
  882. description: 仓单标准ID
  883. type: integer
  884. xdeliveryratio:
  885. description: 交易合约系数(m)
  886. type: integer
  887. required:
  888. - begindate
  889. - enddate
  890. - goodsid
  891. - mindeliveryqty
  892. - xdeliveryratio
  893. type: object
  894. ermcp.ExposureDetailRsp:
  895. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  896. ermcp.ExposureHedgePosDetailRsp:
  897. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  898. ermcp.ExposureHedgePositionRsp:
  899. $ref: '#/definitions/models.ErmcpHedgePosition'
  900. ermcp.ExposureSpotDetailRsp:
  901. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  902. ermcp.ExposureSpotRsp:
  903. $ref: '#/definitions/models.AreaSpotModel'
  904. ermcp.HisExposureRsp:
  905. $ref: '#/definitions/models.ErmcpHisExposureS'
  906. ermcp.PendingAuditCntRsp:
  907. $ref: '#/definitions/models.ErmcpPendingAudit'
  908. ermcp.QryAreaStockApplyRsp:
  909. $ref: '#/definitions/models.ErmcpAreaStockApply'
  910. ermcp.QryAvalidGPRsp:
  911. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  912. ermcp.QryBusinessDjRsp:
  913. properties:
  914. amount:
  915. description: 点价金额=(点价价格+升贴水)*点价数量
  916. type: number
  917. applyid:
  918. description: 申请人
  919. type: string
  920. applyname:
  921. description: 申请人名称
  922. type: string
  923. applystatus:
  924. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  925. type: integer
  926. applytime:
  927. description: 申请时间
  928. type: string
  929. attachurl:
  930. description: 附件
  931. type: string
  932. auditname:
  933. description: 审核人名称
  934. type: string
  935. audittime:
  936. description: 审核时间
  937. type: string
  938. buyusername:
  939. description: 采购方名称
  940. type: string
  941. contractno:
  942. description: 合同编号
  943. type: string
  944. contractstatus:
  945. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  946. type: integer
  947. contracttype:
  948. description: 现货合同类型 - 1:采购 -1:销售
  949. type: integer
  950. enumdicname:
  951. description: 单位名称
  952. type: string
  953. goodscode:
  954. description: 点价合约
  955. type: string
  956. goodsname:
  957. description: 商品名称
  958. type: string
  959. operateapplyid:
  960. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  961. type: string
  962. operateapplytype:
  963. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  964. type: integer
  965. pricedPrice:
  966. description: 点价价格(非必填)
  967. type: number
  968. pricedQty:
  969. description: 点价数量(非必填)
  970. type: number
  971. pricemove:
  972. description: 升贴水
  973. type: number
  974. pricetype:
  975. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  976. type: integer
  977. relatedid:
  978. description: 现货合同ID
  979. type: string
  980. sellusername:
  981. description: 销售方名字
  982. type: string
  983. userid:
  984. description: 用户ID
  985. type: integer
  986. wrstandardcode:
  987. description: 现货商品代码
  988. type: string
  989. wrstandardid:
  990. description: 现货商品id
  991. type: integer
  992. wrstandardname:
  993. description: 现货商品名称
  994. type: string
  995. type: object
  996. ermcp.QryBussinessFpRsp:
  997. properties:
  998. applyid:
  999. description: 申请人
  1000. type: string
  1001. applyname:
  1002. description: 申请人名称
  1003. type: string
  1004. applystatus:
  1005. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1006. type: integer
  1007. applytime:
  1008. description: 申请时间
  1009. type: string
  1010. attachurl:
  1011. description: 附件
  1012. type: string
  1013. auditname:
  1014. description: 审核人名称
  1015. type: string
  1016. audittime:
  1017. description: 审核时间
  1018. type: string
  1019. buyusername:
  1020. description: 采购方名称
  1021. type: string
  1022. contractno:
  1023. description: 合同编号
  1024. type: string
  1025. contractstatus:
  1026. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1027. type: integer
  1028. contracttype:
  1029. description: 现货合同类型 - 1:采购 -1:销售
  1030. type: integer
  1031. enumdicname:
  1032. description: 单位名称
  1033. type: string
  1034. goodscode:
  1035. description: 点价合约
  1036. type: string
  1037. goodsname:
  1038. description: 商品名称
  1039. type: string
  1040. invoiceAmount:
  1041. description: 已开收票金额(销售为开票,采购为收票)
  1042. type: number
  1043. operateapplyid:
  1044. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1045. type: string
  1046. operateapplytype:
  1047. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1048. type: integer
  1049. pricemove:
  1050. description: 升贴水
  1051. type: number
  1052. pricetype:
  1053. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1054. type: integer
  1055. relatedid:
  1056. description: 现货合同ID
  1057. type: string
  1058. sellusername:
  1059. description: 销售方名字
  1060. type: string
  1061. userid:
  1062. description: 用户ID
  1063. type: integer
  1064. wrstandardcode:
  1065. description: 现货商品代码
  1066. type: string
  1067. wrstandardid:
  1068. description: 现货商品id
  1069. type: integer
  1070. wrstandardname:
  1071. description: 现货商品名称
  1072. type: string
  1073. type: object
  1074. ermcp.QryBussinessJsExRsp:
  1075. properties:
  1076. applyid:
  1077. description: 申请人
  1078. type: string
  1079. applyname:
  1080. description: 申请人名称
  1081. type: string
  1082. applystatus:
  1083. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1084. type: integer
  1085. applytime:
  1086. description: 申请时间
  1087. type: string
  1088. attachurl:
  1089. description: 附件
  1090. type: string
  1091. auditname:
  1092. description: 审核人名称
  1093. type: string
  1094. audittime:
  1095. description: 审核时间
  1096. type: string
  1097. buyusername:
  1098. description: 采购方名称
  1099. type: string
  1100. contractno:
  1101. description: 合同编号
  1102. type: string
  1103. contractstatus:
  1104. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1105. type: integer
  1106. contracttype:
  1107. description: 现货合同类型 - 1:采购 -1:销售
  1108. type: integer
  1109. enumdicname:
  1110. description: 单位名称
  1111. type: string
  1112. goodscode:
  1113. description: 点价合约
  1114. type: string
  1115. goodsname:
  1116. description: 商品名称
  1117. type: string
  1118. operateapplyid:
  1119. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1120. type: string
  1121. operateapplytype:
  1122. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1123. type: integer
  1124. pricemove:
  1125. description: 升贴水
  1126. type: number
  1127. pricetype:
  1128. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1129. type: integer
  1130. reckontype:
  1131. description: 结算类型
  1132. type: string
  1133. reckonvalue:
  1134. description: 值
  1135. type: number
  1136. relatedid:
  1137. description: 现货合同ID
  1138. type: string
  1139. sellusername:
  1140. description: 销售方名字
  1141. type: string
  1142. userid:
  1143. description: 用户ID
  1144. type: integer
  1145. wrstandardcode:
  1146. description: 现货商品代码
  1147. type: string
  1148. wrstandardid:
  1149. description: 现货商品id
  1150. type: integer
  1151. wrstandardname:
  1152. description: 现货商品名称
  1153. type: string
  1154. type: object
  1155. ermcp.QryBussinessJsRsp:
  1156. properties:
  1157. addmargin:
  1158. description: 追加保证金(非必填)
  1159. type: number
  1160. applyid:
  1161. description: 申请人
  1162. type: string
  1163. applyname:
  1164. description: 申请人名称
  1165. type: string
  1166. applystatus:
  1167. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1168. type: integer
  1169. applytime:
  1170. description: 申请时间
  1171. type: string
  1172. attachurl:
  1173. description: 附件
  1174. type: string
  1175. auditname:
  1176. description: 审核人名称
  1177. type: string
  1178. audittime:
  1179. description: 审核时间
  1180. type: string
  1181. buyusername:
  1182. description: 采购方名称
  1183. type: string
  1184. contractno:
  1185. description: 合同编号
  1186. type: string
  1187. contractstatus:
  1188. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1189. type: integer
  1190. contracttype:
  1191. description: 现货合同类型 - 1:采购 -1:销售
  1192. type: integer
  1193. decmargin:
  1194. description: 减少保证金(非必填)
  1195. type: number
  1196. enumdicname:
  1197. description: 单位名称
  1198. type: string
  1199. goodscode:
  1200. description: 点价合约
  1201. type: string
  1202. goodsname:
  1203. description: 商品名称
  1204. type: string
  1205. operateapplyid:
  1206. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1207. type: string
  1208. operateapplytype:
  1209. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1210. type: integer
  1211. pricemove:
  1212. description: 升贴水
  1213. type: number
  1214. pricetype:
  1215. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1216. type: integer
  1217. reckonadjustamount:
  1218. description: 结算调整金额(非必填)
  1219. type: number
  1220. reckonosamount:
  1221. description: 结算溢短金额(非必填)
  1222. type: number
  1223. reckonotheramount:
  1224. description: 结算其他费用(非必填)
  1225. type: number
  1226. reckonrealqty:
  1227. description: 结算实际数量(非必填)
  1228. type: number
  1229. relatedid:
  1230. description: 现货合同ID
  1231. type: string
  1232. sellusername:
  1233. description: 销售方名字
  1234. type: string
  1235. userid:
  1236. description: 用户ID
  1237. type: integer
  1238. wrstandardcode:
  1239. description: 现货商品代码
  1240. type: string
  1241. wrstandardid:
  1242. description: 现货商品id
  1243. type: integer
  1244. wrstandardname:
  1245. description: 现货商品名称
  1246. type: string
  1247. type: object
  1248. ermcp.QryBussinessKxRsp:
  1249. properties:
  1250. applyid:
  1251. description: 申请人
  1252. type: string
  1253. applyname:
  1254. description: 申请人名称
  1255. type: string
  1256. applystatus:
  1257. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1258. type: integer
  1259. applytime:
  1260. description: 申请时间
  1261. type: string
  1262. attachurl:
  1263. description: 附件
  1264. type: string
  1265. auditname:
  1266. description: 审核人名称
  1267. type: string
  1268. audittime:
  1269. description: 审核时间
  1270. type: string
  1271. buyusername:
  1272. description: 采购方名称
  1273. type: string
  1274. contractno:
  1275. description: 合同编号
  1276. type: string
  1277. contractstatus:
  1278. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1279. type: integer
  1280. contracttype:
  1281. description: 现货合同类型 - 1:采购 -1:销售
  1282. type: integer
  1283. deductamount:
  1284. description: 退款(非必填)
  1285. type: number
  1286. enumdicname:
  1287. description: 单位名称
  1288. type: string
  1289. goodscode:
  1290. description: 点价合约
  1291. type: string
  1292. goodsname:
  1293. description: 商品名称
  1294. type: string
  1295. kxtype:
  1296. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1297. type: integer
  1298. operateapplyid:
  1299. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1300. type: string
  1301. operateapplytype:
  1302. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1303. type: integer
  1304. payamount:
  1305. description: 收付款(非必填)
  1306. type: number
  1307. pricemove:
  1308. description: 升贴水
  1309. type: number
  1310. pricetype:
  1311. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1312. type: integer
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 现货商品代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 现货商品id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 现货商品名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryErmcpRsp:
  1333. $ref: '#/definitions/models.ErmcpModel'
  1334. ermcp.QryGGCovertCfgRsp:
  1335. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1336. ermcp.QryHedgePlanRsp:
  1337. $ref: '#/definitions/models.ErmcpHedgePlan'
  1338. ermcp.QryMGChangeLogRsp:
  1339. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1340. ermcp.QryMiddleGoodsDetailRsp:
  1341. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1342. ermcp.QryMiddleGoodsRsp:
  1343. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1344. ermcp.QryOPLogRsp:
  1345. $ref: '#/definitions/models.ErmcpOPLogModel'
  1346. ermcp.QryReportDaySpotDetailRsp:
  1347. $ref: '#/definitions/models.ErmcpReportOPLog'
  1348. ermcp.QryReportExposureDayRsp:
  1349. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1350. ermcp.QryReportFinanceDayRsp:
  1351. $ref: '#/definitions/models.ErmcpReportDayFR'
  1352. ermcp.QryReportFinanceKxRsp:
  1353. $ref: '#/definitions/models.ErmcpReportOPLog'
  1354. ermcp.QryReportFinanceMonRsp:
  1355. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1356. ermcp.QryReportSpotDayRsp:
  1357. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1358. ermcp.QryReportSpotMonRsp:
  1359. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1360. ermcp.QryReportSpotMonthDetailRsp:
  1361. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1362. ermcp.QrySpotContractRsp:
  1363. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1364. ermcp.QryUserInfoRsp:
  1365. $ref: '#/definitions/models.ErmcpUserModel'
  1366. ermcp.QryWarehouseRsp:
  1367. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1368. ermcp.QryWrStandardDetailRsp:
  1369. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1370. ermcp.QryWrStandardRsp:
  1371. $ref: '#/definitions/models.ErmcpWrstandard'
  1372. ermcp.QueryAreaStockApplySumRsp:
  1373. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1374. ermcp.QueryErmcpTradePositionRsp:
  1375. properties:
  1376. agreeunit:
  1377. description: 合约单位
  1378. type: number
  1379. buyorsell:
  1380. description: 方向 - 0:买 1:卖
  1381. type: integer
  1382. curpositionqty:
  1383. description: 持仓(总仓数量, 期末头寸)
  1384. type: integer
  1385. curtdposition:
  1386. description: 今仓数量(期末今日头寸)
  1387. type: integer
  1388. curtdpositionenabled:
  1389. description: 今仓可用
  1390. type: integer
  1391. decimalplace:
  1392. description: 报价小数位
  1393. type: integer
  1394. enableqty:
  1395. description: 可用(总仓可用)
  1396. type: integer
  1397. exexchangename:
  1398. description: 外部交易所名称
  1399. type: string
  1400. goodscode:
  1401. description: 商品代码(内部)
  1402. type: string
  1403. goodsid:
  1404. description: 商品ID(自增ID SEQ_GOODS)
  1405. type: integer
  1406. goodsname:
  1407. description: 商品名称
  1408. type: string
  1409. last:
  1410. description: 现价
  1411. type: number
  1412. marketid:
  1413. description: 所属市场ID
  1414. type: integer
  1415. openaverageprice:
  1416. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1417. type: number
  1418. opencost:
  1419. description: 开仓成本
  1420. type: number
  1421. openpl:
  1422. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1423. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1424. type: number
  1425. outgoodscode:
  1426. description: 商品代码(外部)
  1427. type: string
  1428. positionaverageprice:
  1429. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1430. type: number
  1431. positioncost:
  1432. description: 持仓成本
  1433. type: number
  1434. positionpl:
  1435. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1436. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1437. type: number
  1438. positionplrate:
  1439. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1440. type: number
  1441. usedmargin:
  1442. description: 占用保证金
  1443. type: number
  1444. type: object
  1445. ermcp.RealtimeExposurePositionRsp:
  1446. $ref: '#/definitions/models.ErmcpExposurePostion'
  1447. ermcp.RealtimeExposureRsp:
  1448. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1449. erms2.QueryArbitrageStrategyRsp:
  1450. properties:
  1451. applybasis:
  1452. description: 申请基差
  1453. type: number
  1454. asapplyid:
  1455. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1456. type: string
  1457. asname:
  1458. description: 策略名称
  1459. type: string
  1460. asno:
  1461. description: 策略编号
  1462. type: string
  1463. basischangepl:
  1464. description: 基差变动损益[结算更新]
  1465. type: number
  1466. biztype:
  1467. description: 业务类型 - 1:正向套利 -1:反向套利
  1468. type: integer
  1469. closetradedate:
  1470. description: 完结交易日(yyyyMMdd)
  1471. type: string
  1472. curbasis:
  1473. description: 当前基差[结算更新]
  1474. type: number
  1475. deliverygoodsid:
  1476. description: 现货品种ID
  1477. type: integer
  1478. futureavgprice:
  1479. description: 期货建仓均价
  1480. type: number
  1481. futurecloseamount:
  1482. description: 期货平仓金额
  1483. type: number
  1484. futurecloseqty:
  1485. description: 期货平仓数量
  1486. type: number
  1487. futureopenamount:
  1488. description: 期货开仓金额
  1489. type: number
  1490. futureopenqty:
  1491. description: 期货开仓数量
  1492. type: number
  1493. futurepl:
  1494. description: 期货总盈亏[结算更新]
  1495. type: number
  1496. futureqty:
  1497. description: 期货持仓数量
  1498. type: number
  1499. futurequote:
  1500. description: 期货额度
  1501. type: number
  1502. goodsgroupid:
  1503. description: 期货品种ID
  1504. type: integer
  1505. marketid:
  1506. description: 市场ID
  1507. type: integer
  1508. netexposure:
  1509. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1510. type: number
  1511. netexposurepl:
  1512. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1513. type: number
  1514. netexposurerate:
  1515. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1516. type: number
  1517. openbasis:
  1518. description: 建仓基差
  1519. type: number
  1520. pricedspotqty:
  1521. description: 已定价现货数量
  1522. type: number
  1523. pricedspotqtynotax:
  1524. description: 已定价现货不含税数量
  1525. type: number
  1526. remark:
  1527. description: 备注
  1528. type: string
  1529. spotavgprice:
  1530. description: 现货均价
  1531. type: number
  1532. spotbuyamount:
  1533. description: 现货采购金额
  1534. type: number
  1535. spotbuyqty:
  1536. description: 现货采购数量
  1537. type: number
  1538. spotpl:
  1539. description: 现货总盈亏[结算更新]
  1540. type: number
  1541. spotquota:
  1542. description: 现货额度
  1543. type: number
  1544. spotsellamount:
  1545. description: 现货销售金额
  1546. type: number
  1547. spotsellqty:
  1548. description: 现货销售数量
  1549. type: number
  1550. spotusedquota:
  1551. description: 现货占用资金
  1552. type: number
  1553. strategystatus:
  1554. description: 策略状态 - 0:未结束 1:已结束
  1555. type: integer
  1556. totalpl:
  1557. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1558. type: number
  1559. tradedate:
  1560. description: 交易日(yyyyMMdd)
  1561. type: string
  1562. updatetime:
  1563. description: 更新时间
  1564. type: string
  1565. usedquota:
  1566. description: 已占用资金
  1567. type: number
  1568. userid:
  1569. description: 所属机构
  1570. type: integer
  1571. required:
  1572. - asapplyid
  1573. type: object
  1574. erms2.QueryInnerTradeDetailRsp:
  1575. properties:
  1576. accountid:
  1577. description: 账号ID
  1578. type: integer
  1579. agreeunit:
  1580. description: 合约单位
  1581. type: number
  1582. asapplyid:
  1583. description: 策略申请ID
  1584. type: integer
  1585. asname:
  1586. description: 策略名称
  1587. type: string
  1588. asno:
  1589. description: 策略编号
  1590. type: string
  1591. buyorsell:
  1592. description: 方向 - 0:买 1:卖
  1593. type: integer
  1594. channelbuildtype:
  1595. description: 委托单据类型 0:无 1:建仓 2:平仓
  1596. type: integer
  1597. closetype:
  1598. description: 平仓方式 - 0:无 1:平今 2:平昨
  1599. type: integer
  1600. decimalplace:
  1601. description: 报价小数位
  1602. type: integer
  1603. detailtype:
  1604. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1605. type: integer
  1606. exexchangecode:
  1607. description: 外部交易所代码
  1608. type: string
  1609. exexchangename:
  1610. description: 外部交易所名称
  1611. type: string
  1612. goodscode:
  1613. description: 商品代码(合约)
  1614. type: string
  1615. goodsgroupid:
  1616. description: 商品组ID(品种ID)
  1617. type: integer
  1618. goodsgroupname:
  1619. description: 商品组名称(品种)
  1620. type: string
  1621. goodsid:
  1622. description: 商品ID
  1623. type: integer
  1624. goodsname:
  1625. description: 商品名称(合约)
  1626. type: string
  1627. goodunit:
  1628. description: 报价单位
  1629. type: string
  1630. marketid:
  1631. description: 市场ID
  1632. type: integer
  1633. orderid:
  1634. description: 委托单号
  1635. type: string
  1636. outgoodscode:
  1637. description: 商品代码(外部)
  1638. type: string
  1639. relatedouttradeid:
  1640. description: 关联外部成交单ID
  1641. type: string
  1642. remark:
  1643. description: 备注
  1644. type: string
  1645. spotcontractid:
  1646. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1647. type: integer
  1648. spotcontractno:
  1649. description: 现货合同编号
  1650. type: string
  1651. tradeid:
  1652. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1653. type: string
  1654. tradeprice:
  1655. description: 成交价格
  1656. type: number
  1657. tradeqty:
  1658. description: 成交数量
  1659. type: integer
  1660. tradetime:
  1661. description: 成交时间
  1662. type: string
  1663. updatetime:
  1664. description: 更新时间
  1665. type: string
  1666. required:
  1667. - asapplyid
  1668. - buyorsell
  1669. - goodscode
  1670. - goodsgroupid
  1671. - goodsgroupname
  1672. - goodsname
  1673. - tradeid
  1674. type: object
  1675. erms2.QuerySpotContractRsp:
  1676. properties:
  1677. accountid:
  1678. description: 资金账户ID
  1679. type: integer
  1680. areauserid:
  1681. description: 所属机构
  1682. type: integer
  1683. closedate:
  1684. description: 终止日期
  1685. type: string
  1686. closeremark:
  1687. description: 结束备注
  1688. type: string
  1689. closetradedate:
  1690. description: 完结交易日(yyyyMMdd)
  1691. type: string
  1692. closetype:
  1693. description: 终止类型 - 1:违约 2:提前终止
  1694. type: integer
  1695. contractamount:
  1696. description: 合同金额
  1697. type: number
  1698. contractattachment:
  1699. description: 合同附件
  1700. type: string
  1701. contractno:
  1702. description: 现货合同编号
  1703. type: string
  1704. contractqty:
  1705. description: 合同数量(数值) (用于计算)
  1706. type: number
  1707. contractqtychar:
  1708. description: 合同数量\已订价数量 (用于显示)
  1709. type: string
  1710. contractstatus:
  1711. description: 合同状态 - 0:未结束 1:已结束
  1712. type: integer
  1713. contracttype:
  1714. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1715. type: integer
  1716. customeraccountid:
  1717. description: 客户资金账户ID
  1718. type: integer
  1719. customeruserid:
  1720. description: 客户ID
  1721. type: integer
  1722. deliverygoodsdesc:
  1723. description: 品种说明
  1724. type: string
  1725. deliverygoodsid:
  1726. description: 现货品种ID
  1727. type: integer
  1728. handlestatus:
  1729. description: 处理状态
  1730. type: integer
  1731. invoiceatt:
  1732. description: 发票附件
  1733. type: string
  1734. invoicedatetime:
  1735. description: 开收票更新时间
  1736. type: string
  1737. invoiceopentime:
  1738. description: 开票时间
  1739. type: string
  1740. invoiceremark:
  1741. description: 发票备注
  1742. type: string
  1743. invoicestatus:
  1744. description: 开收票状态 - 0:未开票 1:已开票
  1745. type: integer
  1746. lastdate:
  1747. description: 交货时间
  1748. type: string
  1749. marketid:
  1750. description: 市场ID
  1751. type: integer
  1752. paydatetime:
  1753. description: 收付款更新时间
  1754. type: string
  1755. payremark:
  1756. description: 收付款备注
  1757. type: string
  1758. paystatus:
  1759. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1760. type: integer
  1761. positionqty:
  1762. description: 头寸数量 - 合同数量去小数部分
  1763. type: integer
  1764. producttype:
  1765. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1766. type: integer
  1767. relatedqty:
  1768. description: 已关联数量
  1769. type: number
  1770. relatedstatus:
  1771. description: 关联完结状态 - 0:未结束 1:已结束
  1772. type: integer
  1773. remark:
  1774. description: 备注
  1775. type: string
  1776. signdate:
  1777. description: 签订日期
  1778. type: string
  1779. spotcontractid:
  1780. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1781. type: string
  1782. spotdatetime:
  1783. description: 收发货更新时间
  1784. type: string
  1785. spotprice:
  1786. description: 价格
  1787. type: number
  1788. spotremark:
  1789. description: 收发货备注
  1790. type: string
  1791. spotstatus:
  1792. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1793. type: integer
  1794. tradedate:
  1795. description: 交易日(yyyyMMdd)
  1796. type: string
  1797. userid:
  1798. description: 业务员用户ID
  1799. type: integer
  1800. warehouseid:
  1801. description: 仓库ID
  1802. type: integer
  1803. wrfactortypeid:
  1804. description: 仓单要素类型ID
  1805. type: integer
  1806. wrstandardid:
  1807. description: 仓单标准ID(SEQ_WRSTANDARD)
  1808. type: integer
  1809. required:
  1810. - spotcontractid
  1811. type: object
  1812. erms3.AddErms2ASApplyReq:
  1813. properties:
  1814. applybasis:
  1815. description: 申请基差
  1816. type: number
  1817. applystatus:
  1818. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1819. type: integer
  1820. asapplyid:
  1821. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1822. type: integer
  1823. asname:
  1824. description: 策略名称
  1825. type: string
  1826. asno:
  1827. description: 策略编号
  1828. type: string
  1829. auditid:
  1830. description: 审核人
  1831. type: integer
  1832. auditremark:
  1833. description: 审核备注
  1834. type: string
  1835. audittime:
  1836. description: 审核时间
  1837. type: string
  1838. biztype:
  1839. description: 业务类型 - 1:正向套利 2:反向套利
  1840. type: integer
  1841. createtime:
  1842. description: 创建时间
  1843. type: string
  1844. creatorid:
  1845. description: 创建人
  1846. type: integer
  1847. deliverygoodsid:
  1848. description: 现货品种ID
  1849. type: integer
  1850. futurequote:
  1851. description: 期货额度
  1852. type: number
  1853. goodsgroupid:
  1854. description: 期货品种ID
  1855. type: integer
  1856. marketid:
  1857. description: 市场ID
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. spotquota:
  1863. description: 现货额度
  1864. type: number
  1865. tradedate:
  1866. description: 交易日(yyyyMMdd)
  1867. type: string
  1868. userid:
  1869. description: 所属机构
  1870. type: integer
  1871. required:
  1872. - asapplyid
  1873. type: object
  1874. erms3.AddErms2SpotTradeApplyReq:
  1875. properties:
  1876. applyjsondetail:
  1877. description: 申请明细(JSON)
  1878. type: string
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. areauserid:
  1883. description: 所属机构
  1884. type: integer
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. createtime:
  1895. description: 创建时间
  1896. type: string
  1897. creatorid:
  1898. description: 创建人
  1899. type: integer
  1900. deliverygoodsid:
  1901. description: 现货品种ID
  1902. type: integer
  1903. futureaccountid:
  1904. description: 期货资金账户
  1905. type: integer
  1906. goodsgroupid:
  1907. description: 期货品种
  1908. type: integer
  1909. marketid:
  1910. description: 市场ID
  1911. type: integer
  1912. remark:
  1913. description: 备注
  1914. type: string
  1915. spotaccountid:
  1916. description: 现货资金账户
  1917. type: integer
  1918. spottradeid:
  1919. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1920. type: integer
  1921. spottradename:
  1922. description: 业务名称
  1923. type: string
  1924. spottradeno:
  1925. description: 业务编号
  1926. type: string
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. wrstandardid:
  1931. description: 仓单标准ID
  1932. type: integer
  1933. required:
  1934. - spottradeid
  1935. type: object
  1936. erms3.AddSpotContractApplyReq:
  1937. properties:
  1938. accountid:
  1939. description: 资金账户ID
  1940. type: integer
  1941. areauserid:
  1942. description: 所属机构
  1943. type: integer
  1944. contractattachment:
  1945. description: 合同附件
  1946. type: string
  1947. contractno:
  1948. description: 现货合同编号
  1949. type: string
  1950. contracttype:
  1951. description: 现货合同类型 - 1:采购 -1:销售
  1952. type: integer
  1953. creatorid:
  1954. description: 申请人
  1955. type: integer
  1956. customeraccountid:
  1957. description: 客户资金账户ID
  1958. type: integer
  1959. customeruserid:
  1960. description: 客户ID
  1961. type: integer
  1962. details:
  1963. description: 明细
  1964. items:
  1965. $ref: '#/definitions/erms3.SoptContractDetail'
  1966. type: array
  1967. orimargin:
  1968. description: 初始保证金
  1969. type: number
  1970. remark:
  1971. description: 备注
  1972. type: string
  1973. signdate:
  1974. description: 签订日期
  1975. type: string
  1976. required:
  1977. - accountid
  1978. - areauserid
  1979. - contractno
  1980. - contracttype
  1981. - customeraccountid
  1982. - customeruserid
  1983. - details
  1984. - orimargin
  1985. - signdate
  1986. type: object
  1987. erms3.AddSpotContractApplyRsp:
  1988. properties:
  1989. contractno:
  1990. description: 现货合同编号
  1991. type: string
  1992. spotcontractid:
  1993. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1994. type: integer
  1995. required:
  1996. - contractno
  1997. type: object
  1998. erms3.AddUserInfoApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 交易系统帐号Id (加密存储)
  2002. type: integer
  2003. areacode:
  2004. description: 机构代码
  2005. type: string
  2006. areaid:
  2007. description: 机构Id
  2008. type: integer
  2009. attachment1:
  2010. description: 附件1
  2011. type: string
  2012. attachment2:
  2013. description: 附件2
  2014. type: string
  2015. attachment3:
  2016. description: 附件3
  2017. type: string
  2018. attachment4:
  2019. description: 附件4
  2020. type: string
  2021. attachment5:
  2022. description: 附件5
  2023. type: string
  2024. auditedby:
  2025. description: 审核人
  2026. type: string
  2027. auditime:
  2028. description: 审核时间
  2029. type: string
  2030. bankaccount:
  2031. description: 银行帐号 (加密存储)
  2032. type: string
  2033. bankaccountname:
  2034. description: 收款人名称
  2035. type: string
  2036. bankcardbackphotourl:
  2037. description: 银行卡背面照地址
  2038. type: string
  2039. bankcardfrontphotourl:
  2040. description: 银行卡正面照地址
  2041. type: string
  2042. bankid:
  2043. description: 银行编码
  2044. type: string
  2045. bankname:
  2046. description: 银行名称
  2047. type: string
  2048. bankpictureurl:
  2049. description: 银行卡正面地址
  2050. type: string
  2051. biznature:
  2052. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2053. type: integer
  2054. bizscope:
  2055. description: 企业经营范围(企业)
  2056. type: string
  2057. biztype:
  2058. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2059. type: integer
  2060. brokerid:
  2061. description: 经纪人ID(加密存储)
  2062. type: string
  2063. cardaddress:
  2064. description: 证件地址 (加密存储)
  2065. type: string
  2066. cardbackphotourl:
  2067. description: 背面证件照地址
  2068. type: string
  2069. cardfrontphotourl:
  2070. description: 正面证件照地址
  2071. type: string
  2072. cardnum:
  2073. description: 证件号码 (加密存储)
  2074. type: string
  2075. cardtype:
  2076. description: 证件类型
  2077. type: integer
  2078. cityid:
  2079. description: 市
  2080. type: integer
  2081. company:
  2082. description: 公司(个人)
  2083. type: string
  2084. contactcardbackphotourl:
  2085. description: 联系人证件背面图片地址
  2086. type: string
  2087. contactcardfrontphotourl:
  2088. description: 联系人证件正面图片地址
  2089. type: string
  2090. contactname:
  2091. description: 联系人
  2092. type: string
  2093. countryid:
  2094. description: 国家
  2095. type: integer
  2096. createtime:
  2097. description: 开户申请时间
  2098. type: string
  2099. cusbankid:
  2100. description: 签约类型
  2101. type: string
  2102. cusbankname:
  2103. description: 签约类型名称
  2104. type: string
  2105. customername:
  2106. description: 客户名称(企业名称)
  2107. type: string
  2108. districtid:
  2109. description: 地区
  2110. type: integer
  2111. email:
  2112. description: Email地址(加密存储)
  2113. type: string
  2114. halfbodyphotourl:
  2115. description: 半身照地址
  2116. type: string
  2117. headurl:
  2118. description: 头像地址
  2119. type: string
  2120. ipaddress:
  2121. description: IP地址
  2122. type: string
  2123. isvalidate:
  2124. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2125. type: string
  2126. legalcardbackphotourl:
  2127. description: 法人身份证背面照地址
  2128. type: string
  2129. legalcardfrontphotourl:
  2130. description: 法人身份证正面照地址
  2131. type: string
  2132. legalpersonname:
  2133. description: 法人姓名(企业)
  2134. type: string
  2135. logincode:
  2136. description: 登录帐号 (加密存储)
  2137. type: string
  2138. memberareaid:
  2139. description: 所属会员ID
  2140. type: integer
  2141. mobile2:
  2142. description: 手机号码[明文-尚志]
  2143. type: string
  2144. mobilephone:
  2145. description: 手机号码 (加密存储)
  2146. type: string
  2147. modifiedby:
  2148. description: 修改人帐号
  2149. type: integer
  2150. modifiedtime:
  2151. description: 修改时间
  2152. type: string
  2153. nickname:
  2154. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2155. type: string
  2156. openmode:
  2157. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2158. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2159. type: integer
  2160. otherurl:
  2161. description: 其它图片地址[使用分号分隔]
  2162. type: string
  2163. postalcode:
  2164. description: 邮政编码
  2165. type: string
  2166. provinceid:
  2167. description: 省
  2168. type: integer
  2169. proxystatementurl:
  2170. description: 授权委托书
  2171. type: string
  2172. qq:
  2173. description: QQ(加密存储
  2174. type: string
  2175. referral:
  2176. description: 推荐人编码
  2177. type: string
  2178. remark:
  2179. description: 备注
  2180. type: string
  2181. removebeforestatus:
  2182. description: REMOVEBEFORESTATUS
  2183. type: integer
  2184. sex:
  2185. description: 性别 - 0:女 1:男
  2186. type: integer
  2187. signedstatus:
  2188. description: 账户一号签签约状态
  2189. type: integer
  2190. signpdfurl:
  2191. description: 签约pdf文件
  2192. type: string
  2193. subbranch:
  2194. description: 开户支行
  2195. type: string
  2196. telphone:
  2197. description: 联系电话(加密存储)
  2198. type: string
  2199. userid:
  2200. description: 用户ID(自增ID)
  2201. type: integer
  2202. userinfotype:
  2203. description: 用户信息类型 - 1:个人 2:企业
  2204. type: integer
  2205. username:
  2206. description: 用户姓名
  2207. type: string
  2208. userstate:
  2209. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2210. type: integer
  2211. usertype:
  2212. description: 用户类型 - 1:投资者 2:机构
  2213. type: integer
  2214. videourl:
  2215. description: 视频地址
  2216. type: string
  2217. wechat:
  2218. description: 微信号 (加密存储)
  2219. type: string
  2220. required:
  2221. - userid
  2222. type: object
  2223. erms3.CustomerInfo:
  2224. properties:
  2225. accountids:
  2226. description: 资金账户ID列表
  2227. items:
  2228. type: integer
  2229. type: array
  2230. customername:
  2231. description: 名称(企业名称)
  2232. type: string
  2233. mobile:
  2234. description: 手机号码
  2235. type: string
  2236. userid:
  2237. description: 用户ID
  2238. type: integer
  2239. required:
  2240. - userid
  2241. type: object
  2242. erms3.ModifyUserInfoApplyReq:
  2243. properties:
  2244. accountid:
  2245. description: 交易系统帐号Id (加密存储)
  2246. type: integer
  2247. areacode:
  2248. description: 机构代码
  2249. type: string
  2250. areaid:
  2251. description: 机构Id
  2252. type: integer
  2253. attachment1:
  2254. description: 附件1
  2255. type: string
  2256. attachment2:
  2257. description: 附件2
  2258. type: string
  2259. attachment3:
  2260. description: 附件3
  2261. type: string
  2262. attachment4:
  2263. description: 附件4
  2264. type: string
  2265. attachment5:
  2266. description: 附件5
  2267. type: string
  2268. auditedby:
  2269. description: 审核人
  2270. type: string
  2271. auditime:
  2272. description: 审核时间
  2273. type: string
  2274. bankaccount:
  2275. description: 银行帐号 (加密存储)
  2276. type: string
  2277. bankaccountname:
  2278. description: 收款人名称
  2279. type: string
  2280. bankcardbackphotourl:
  2281. description: 银行卡背面照地址
  2282. type: string
  2283. bankcardfrontphotourl:
  2284. description: 银行卡正面照地址
  2285. type: string
  2286. bankid:
  2287. description: 银行编码
  2288. type: string
  2289. bankname:
  2290. description: 银行名称
  2291. type: string
  2292. bankpictureurl:
  2293. description: 银行卡正面地址
  2294. type: string
  2295. biznature:
  2296. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2297. type: integer
  2298. bizscope:
  2299. description: 企业经营范围(企业)
  2300. type: string
  2301. biztype:
  2302. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2303. type: integer
  2304. brokerid:
  2305. description: 经纪人ID(加密存储)
  2306. type: string
  2307. cardaddress:
  2308. description: 证件地址 (加密存储)
  2309. type: string
  2310. cardbackphotourl:
  2311. description: 背面证件照地址
  2312. type: string
  2313. cardfrontphotourl:
  2314. description: 正面证件照地址
  2315. type: string
  2316. cardnum:
  2317. description: 证件号码 (加密存储)
  2318. type: string
  2319. cardtype:
  2320. description: 证件类型
  2321. type: integer
  2322. cityid:
  2323. description: 市
  2324. type: integer
  2325. company:
  2326. description: 公司(个人)
  2327. type: string
  2328. contactcardbackphotourl:
  2329. description: 联系人证件背面图片地址
  2330. type: string
  2331. contactcardfrontphotourl:
  2332. description: 联系人证件正面图片地址
  2333. type: string
  2334. contactname:
  2335. description: 联系人
  2336. type: string
  2337. countryid:
  2338. description: 国家
  2339. type: integer
  2340. createtime:
  2341. description: 开户申请时间
  2342. type: string
  2343. cusbankid:
  2344. description: 签约类型
  2345. type: string
  2346. cusbankname:
  2347. description: 签约类型名称
  2348. type: string
  2349. customername:
  2350. description: 客户名称(企业名称)
  2351. type: string
  2352. districtid:
  2353. description: 地区
  2354. type: integer
  2355. email:
  2356. description: Email地址(加密存储)
  2357. type: string
  2358. halfbodyphotourl:
  2359. description: 半身照地址
  2360. type: string
  2361. headurl:
  2362. description: 头像地址
  2363. type: string
  2364. ipaddress:
  2365. description: IP地址
  2366. type: string
  2367. isvalidate:
  2368. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2369. type: string
  2370. legalcardbackphotourl:
  2371. description: 法人身份证背面照地址
  2372. type: string
  2373. legalcardfrontphotourl:
  2374. description: 法人身份证正面照地址
  2375. type: string
  2376. legalpersonname:
  2377. description: 法人姓名(企业)
  2378. type: string
  2379. logincode:
  2380. description: 登录帐号 (加密存储)
  2381. type: string
  2382. memberareaid:
  2383. description: 所属会员ID
  2384. type: integer
  2385. mobile2:
  2386. description: 手机号码[明文-尚志]
  2387. type: string
  2388. mobilephone:
  2389. description: 手机号码 (加密存储)
  2390. type: string
  2391. modifiedby:
  2392. description: 修改人帐号
  2393. type: integer
  2394. modifiedtime:
  2395. description: 修改时间
  2396. type: string
  2397. nickname:
  2398. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2399. type: string
  2400. openmode:
  2401. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2402. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2403. type: integer
  2404. otherurl:
  2405. description: 其它图片地址[使用分号分隔]
  2406. type: string
  2407. postalcode:
  2408. description: 邮政编码
  2409. type: string
  2410. provinceid:
  2411. description: 省
  2412. type: integer
  2413. proxystatementurl:
  2414. description: 授权委托书
  2415. type: string
  2416. qq:
  2417. description: QQ(加密存储
  2418. type: string
  2419. referral:
  2420. description: 推荐人编码
  2421. type: string
  2422. remark:
  2423. description: 备注
  2424. type: string
  2425. removebeforestatus:
  2426. description: REMOVEBEFORESTATUS
  2427. type: integer
  2428. sex:
  2429. description: 性别 - 0:女 1:男
  2430. type: integer
  2431. signedstatus:
  2432. description: 账户一号签签约状态
  2433. type: integer
  2434. signpdfurl:
  2435. description: 签约pdf文件
  2436. type: string
  2437. subbranch:
  2438. description: 开户支行
  2439. type: string
  2440. telphone:
  2441. description: 联系电话(加密存储)
  2442. type: string
  2443. userid:
  2444. description: 用户ID(自增ID)
  2445. type: integer
  2446. userinfotype:
  2447. description: 用户信息类型 - 1:个人 2:企业
  2448. type: integer
  2449. username:
  2450. description: 用户姓名
  2451. type: string
  2452. userstate:
  2453. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2454. type: integer
  2455. usertype:
  2456. description: 用户类型 - 1:投资者 2:机构
  2457. type: integer
  2458. videourl:
  2459. description: 视频地址
  2460. type: string
  2461. wechat:
  2462. description: 微信号 (加密存储)
  2463. type: string
  2464. required:
  2465. - userid
  2466. type: object
  2467. erms3.QryAuditContractRsp:
  2468. properties:
  2469. accountid:
  2470. description: 交易员ID
  2471. type: string
  2472. applystatus:
  2473. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2474. type: integer
  2475. curdeliveryqty:
  2476. description: 未交收量
  2477. type: integer
  2478. customername:
  2479. description: 采购方ID
  2480. type: string
  2481. deliverygoodsid:
  2482. description: 品种ID
  2483. type: string
  2484. deliveryqty:
  2485. description: 交收量
  2486. type: integer
  2487. enumdicname:
  2488. description: 单位名称
  2489. type: string
  2490. matchaccountid:
  2491. description: 业务员ID
  2492. type: string
  2493. matchcustomername:
  2494. description: 销售方ID
  2495. type: string
  2496. pricedqty:
  2497. description: 定价量
  2498. type: number
  2499. signdate:
  2500. description: 签订日期
  2501. type: string
  2502. spotcontractid:
  2503. description: 合同ID
  2504. type: string
  2505. totaldqty:
  2506. description: 合同量
  2507. type: number
  2508. unpricedqty:
  2509. description: 未定价量
  2510. type: number
  2511. wrstandardname:
  2512. description: 商品名称
  2513. type: string
  2514. required:
  2515. - matchcustomername
  2516. - spotcontractid
  2517. type: object
  2518. erms3.QryPendingBizRsp:
  2519. $ref: '#/definitions/models.PendingAuditBizModel'
  2520. erms3.QueryBusinessInfoRsp:
  2521. properties:
  2522. businessid:
  2523. description: 业务ID.
  2524. type: integer
  2525. buyamount:
  2526. description: 采购额.
  2527. type: number
  2528. buyqty:
  2529. description: 采购量.
  2530. type: string
  2531. futurepl:
  2532. description: 期货盈亏.
  2533. type: number
  2534. futureqty:
  2535. description: 期货敞口.
  2536. type: string
  2537. goodsid:
  2538. description: 商品名称/商品代码.
  2539. type: string
  2540. hedgingqty:
  2541. description: 套保量.
  2542. type: string
  2543. sellamount:
  2544. description: 销售额.
  2545. type: number
  2546. sellqty:
  2547. description: 销售量.
  2548. type: string
  2549. spotmarketvalue:
  2550. description: 现货市值.
  2551. type: number
  2552. spotpl:
  2553. description: 浮动权益.
  2554. type: number
  2555. spotqty:
  2556. description: 现货量.
  2557. type: string
  2558. statu:
  2559. description: 状态,0-未结束 1-已结束.
  2560. type: integer
  2561. totalpl:
  2562. description: 总盈亏.
  2563. type: number
  2564. totalqty:
  2565. description: 总敞口.
  2566. type: string
  2567. type:
  2568. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2569. type: integer
  2570. type: object
  2571. erms3.QuerySpotContractAppleFormRsp:
  2572. properties:
  2573. goodses:
  2574. description: 合约列表
  2575. items:
  2576. $ref: '#/definitions/models.GoodsIDAndName'
  2577. type: array
  2578. oppositeusers:
  2579. description: 对方账号列表
  2580. items:
  2581. $ref: '#/definitions/erms3.CustomerInfo'
  2582. type: array
  2583. ouruser:
  2584. $ref: '#/definitions/erms3.CustomerInfo'
  2585. description: 我方账号
  2586. type: object
  2587. warehouseinfos:
  2588. description: 仓库信息列表
  2589. items:
  2590. $ref: '#/definitions/models.Warehouseinfo'
  2591. type: array
  2592. wrstandards:
  2593. description: 仓单标准列表
  2594. items:
  2595. $ref: '#/definitions/models.WRStandardInfo'
  2596. type: array
  2597. type: object
  2598. erms3.QuerySpotContractInfoRsp:
  2599. properties:
  2600. accountid:
  2601. description: 表示交易员ID.
  2602. type: integer
  2603. curdeliveryqty:
  2604. description: 表示未交收量.
  2605. type: number
  2606. customername:
  2607. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2608. type: string
  2609. deliverygoodsid:
  2610. description: 表示品种ID.
  2611. type: string
  2612. deliveryqty:
  2613. description: 表示交收量.
  2614. type: number
  2615. matchaccountid:
  2616. description: 表示业务员ID.
  2617. type: integer
  2618. matchcustomername:
  2619. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2620. type: string
  2621. priceqty:
  2622. description: 表示定价量.
  2623. type: number
  2624. relatedbizid:
  2625. description: 表示业务ID.
  2626. type: string
  2627. signdate:
  2628. description: 表示签订日期.
  2629. type: string
  2630. spotcontractid:
  2631. description: 合同ID
  2632. type: string
  2633. status:
  2634. description: 表示状态,0-履约中 1-已完成.
  2635. type: integer
  2636. totalqty:
  2637. description: 表示合同量.
  2638. type: number
  2639. unpricedqty:
  2640. description: 表示未定价量.
  2641. type: number
  2642. wrstandardname:
  2643. description: 表示商品ID.
  2644. type: string
  2645. type: object
  2646. erms3.QueryUserInfoAppliesRsp:
  2647. properties:
  2648. biznature:
  2649. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2650. type: integer
  2651. contactname:
  2652. description: 联系人
  2653. type: string
  2654. createtime:
  2655. description: 开户申请时间
  2656. type: string
  2657. userid:
  2658. description: 用户ID(自增ID)
  2659. type: integer
  2660. userinfotype:
  2661. description: 用户信息类型 - 1:个人 2:企业
  2662. type: integer
  2663. username:
  2664. description: 用户姓名
  2665. type: string
  2666. userstate:
  2667. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2668. type: integer
  2669. required:
  2670. - userid
  2671. type: object
  2672. erms3.QueryUserInfosRsp:
  2673. properties:
  2674. biznature:
  2675. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2676. type: integer
  2677. contactname:
  2678. description: 联系人
  2679. type: string
  2680. customername:
  2681. description: 客户名称(企业名称)
  2682. type: string
  2683. userid:
  2684. description: 用户ID
  2685. type: integer
  2686. userinfotype:
  2687. description: 用户信息类型 - 1:个人 2:企业
  2688. type: integer
  2689. userstatus:
  2690. description: 用户状态 - 1:正常 2:注销
  2691. type: integer
  2692. required:
  2693. - userid
  2694. type: object
  2695. erms3.SoptContractDetail:
  2696. properties:
  2697. deliverygoodsdesc:
  2698. description: 现货品种说明
  2699. type: string
  2700. deliverygoodsid:
  2701. description: 现货品种ID
  2702. type: integer
  2703. deliverygoodsname:
  2704. description: 现货品种名称
  2705. type: string
  2706. pointdesc:
  2707. description: 点价描述
  2708. type: string
  2709. producttype:
  2710. description: 产品类型 1:标准仓单 2:等标 3:非标
  2711. type: integer
  2712. producttypename:
  2713. description: 产品类型名称
  2714. type: string
  2715. spotPointOrderVoList:
  2716. description: 点价列表
  2717. items:
  2718. $ref: '#/definitions/erms3.SpotPointOrder'
  2719. type: array
  2720. spotPriceOrderList:
  2721. description: 定价列表
  2722. items:
  2723. $ref: '#/definitions/erms3.SpotPriceOrder'
  2724. type: array
  2725. unitname:
  2726. description: 单位名称
  2727. type: string
  2728. warehouseid:
  2729. description: 仓库ID
  2730. type: integer
  2731. warehousename:
  2732. description: 仓库名称
  2733. type: string
  2734. wrstandardid:
  2735. description: 交易标的ID
  2736. type: integer
  2737. wrstandardname:
  2738. description: 交易标的名称
  2739. type: string
  2740. required:
  2741. - deliverygoodsid
  2742. - producttype
  2743. - unitname
  2744. - warehouseid
  2745. - wrstandardid
  2746. - wrstandardname
  2747. type: object
  2748. erms3.SpotPointOrder:
  2749. properties:
  2750. basic:
  2751. description: 基差
  2752. type: number
  2753. deliveryenddate:
  2754. description: 交收结束日期
  2755. type: string
  2756. deliverystartdate:
  2757. description: 交收开始日期
  2758. type: string
  2759. enddate:
  2760. description: 点价结束日期
  2761. type: string
  2762. goodsid:
  2763. description: 商品ID
  2764. type: integer
  2765. goodsname:
  2766. description: 商品名称
  2767. type: string
  2768. qty:
  2769. description: 数量
  2770. type: number
  2771. startdate:
  2772. description: 点价开始日期
  2773. type: string
  2774. required:
  2775. - basic
  2776. - goodsid
  2777. - qty
  2778. type: object
  2779. erms3.SpotPriceOrder:
  2780. properties:
  2781. amount:
  2782. description: 金额
  2783. type: number
  2784. deliveryenddate:
  2785. description: 交收结束日期
  2786. type: string
  2787. deliverystartdate:
  2788. description: 交收开始日期
  2789. type: string
  2790. price:
  2791. description: 价格
  2792. type: number
  2793. qty:
  2794. description: 数量
  2795. type: number
  2796. required:
  2797. - amount
  2798. - price
  2799. - qty
  2800. type: object
  2801. hsby.GetHsbyMyCountRsp:
  2802. properties:
  2803. myCouponCount:
  2804. description: 我的优惠卷数量
  2805. type: integer
  2806. myOrderDetailListingCount:
  2807. description: 我的订单求购中数量
  2808. type: integer
  2809. myOrderDetailPreCount:
  2810. description: 我的订单抢购中数量
  2811. type: integer
  2812. myPackageUnReceiveCount:
  2813. description: 我的包裹待收货数量
  2814. type: integer
  2815. myPackageUnSendCount:
  2816. description: 我的包裹待发货数量
  2817. type: integer
  2818. myPayOrderCount:
  2819. description: 我的订单待付款数量
  2820. type: integer
  2821. type: object
  2822. hsby.QueryProvincesAndCitiesRsp:
  2823. properties:
  2824. cities:
  2825. description: 市
  2826. items:
  2827. $ref: '#/definitions/models.Division'
  2828. type: array
  2829. province:
  2830. $ref: '#/definitions/models.Division'
  2831. description: 省
  2832. type: object
  2833. type: object
  2834. models.AreaSpotModel:
  2835. properties:
  2836. areauserid:
  2837. description: 所属机构
  2838. type: integer
  2839. decreaseqty:
  2840. description: 减少数量=-(销售已定价数量+采购计划数量)
  2841. type: number
  2842. increaseqty:
  2843. description: 增加数量=销售计划数量+采购已定价数量
  2844. type: number
  2845. oritoalspotqty:
  2846. description: 昨日数量
  2847. type: number
  2848. totalspotqty:
  2849. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2850. type: number
  2851. updatetime:
  2852. description: 更新时间
  2853. type: string
  2854. wrstandardcode:
  2855. description: 现货品种代码
  2856. type: string
  2857. wrstandardid:
  2858. description: 现货商品ID
  2859. type: integer
  2860. wrstandardname:
  2861. description: 现货品种
  2862. type: string
  2863. type: object
  2864. models.Clientfixedadconfig:
  2865. properties:
  2866. adsort:
  2867. description: 排序
  2868. type: integer
  2869. adtype:
  2870. description: 广告位类型 - 1:新品抢购(HSBY)
  2871. type: integer
  2872. areauserid:
  2873. description: 所属机构ID
  2874. type: integer
  2875. createdate:
  2876. description: 创建时间
  2877. type: string
  2878. creatorid:
  2879. description: 创建人
  2880. type: integer
  2881. imagepath:
  2882. description: 图片
  2883. type: string
  2884. isshow:
  2885. description: 是否展示 - 0:不展示 1:展示
  2886. type: integer
  2887. modifierid:
  2888. description: 操作人
  2889. type: integer
  2890. recsize:
  2891. description: 推荐尺寸
  2892. type: string
  2893. title:
  2894. description: 标题
  2895. type: string
  2896. updatedate:
  2897. description: 更新时间
  2898. type: string
  2899. urlcontent:
  2900. description: 链接(地址或商品ID)
  2901. type: string
  2902. urltype:
  2903. description: 链接类型 - 1:直接地址 2:商品ID
  2904. type: integer
  2905. required:
  2906. - adsort
  2907. - adtype
  2908. type: object
  2909. models.Division:
  2910. properties:
  2911. autoid:
  2912. description: 自增ID
  2913. type: integer
  2914. divisioncode:
  2915. description: 行政代码
  2916. type: string
  2917. divisionlevel:
  2918. description: 行政级别
  2919. type: string
  2920. divisionname:
  2921. description: 行政名称
  2922. type: string
  2923. modifierid:
  2924. description: 修改人
  2925. type: integer
  2926. modifytime:
  2927. description: 修改时间
  2928. type: string
  2929. parentcode:
  2930. description: 上级行政代码
  2931. type: string
  2932. pathname:
  2933. description: 路径名称
  2934. type: string
  2935. postcode:
  2936. description: 邮政编码
  2937. type: string
  2938. separablename:
  2939. description: 可拆分的全称
  2940. type: string
  2941. shortcode:
  2942. description: 地区简码
  2943. type: string
  2944. required:
  2945. - autoid
  2946. - divisioncode
  2947. type: object
  2948. models.Enumdicitem:
  2949. properties:
  2950. autoid:
  2951. description: 自增ID
  2952. type: integer
  2953. bankmappedvalue:
  2954. description: 银行服务对应值
  2955. type: string
  2956. enumdiccode:
  2957. description: 所属枚举代码
  2958. type: string
  2959. enumdicid:
  2960. description: 所属枚举ID
  2961. type: integer
  2962. enumdicname:
  2963. description: 枚举项名称
  2964. type: string
  2965. enumitemname:
  2966. description: 枚举项值
  2967. type: integer
  2968. enumitemstatus:
  2969. description: 枚举项状态 - 1.启用 2.不启用
  2970. type: integer
  2971. enumitemvalue:
  2972. description: 通用值 - [币种通用简写]
  2973. type: string
  2974. param1:
  2975. description: 参数1[币种:币种小数位]
  2976. type: string
  2977. param2:
  2978. description: 参数1[币种:币种显示单位]
  2979. type: string
  2980. remark:
  2981. description: 备注
  2982. type: string
  2983. required:
  2984. - autoid
  2985. - enumdiccode
  2986. - enumdicid
  2987. - enumitemname
  2988. type: object
  2989. models.ErmcpAreaSpotDetailModel:
  2990. properties:
  2991. contracttype:
  2992. description: 合同类型 1-采购 -1-销售
  2993. type: integer
  2994. createtime:
  2995. description: 创建时间
  2996. type: string
  2997. enumdicname:
  2998. description: 现货商品单位名称
  2999. type: string
  3000. logtype:
  3001. description: 记录类型 1-套保 2-现货合同
  3002. type: integer
  3003. qty:
  3004. description: 数量
  3005. type: number
  3006. recordname:
  3007. description: 类型名称
  3008. type: string
  3009. relatedid:
  3010. description: 套保计划ID/现货合同ID
  3011. type: string
  3012. relatedno:
  3013. description: 编号
  3014. type: string
  3015. strtime:
  3016. description: 时间
  3017. type: string
  3018. wrstandardcode:
  3019. description: 现货商品代码
  3020. type: string
  3021. wrstandardname:
  3022. description: 现货商品名称
  3023. type: string
  3024. type: object
  3025. models.ErmcpAreaStock:
  3026. properties:
  3027. brandname:
  3028. description: 品牌名称
  3029. type: string
  3030. curstock:
  3031. description: 期末库存量(今日量)
  3032. type: number
  3033. deliverygoodsid:
  3034. description: 现货品种ID
  3035. type: integer
  3036. enumdicname:
  3037. description: 单位名称
  3038. type: string
  3039. modelname:
  3040. description: 型号名称
  3041. type: string
  3042. oristock:
  3043. description: 期初库存量(昨日量)
  3044. type: number
  3045. spotgoodsbrandid:
  3046. description: 现货品牌ID
  3047. type: integer
  3048. spotgoodsmodelid:
  3049. description: 现货型号ID
  3050. type: integer
  3051. todaybuyinqty:
  3052. description: 今日采购入库量
  3053. type: number
  3054. todayproduceinqty:
  3055. description: 今日生产入库量
  3056. type: number
  3057. todayproduceoutqty:
  3058. description: 今日生产出库量
  3059. type: number
  3060. todayselloutqty:
  3061. description: 今日销售出库量
  3062. type: number
  3063. unitid:
  3064. description: 单位id
  3065. type: integer
  3066. updatetime:
  3067. description: 更新时间
  3068. type: string
  3069. userid:
  3070. description: 机构ID
  3071. type: integer
  3072. username:
  3073. description: 机构名称
  3074. type: string
  3075. warehousecode:
  3076. description: 仓库代码
  3077. type: string
  3078. warehouseinfoid:
  3079. description: 仓库ID
  3080. type: string
  3081. warehousename:
  3082. description: 仓库名称
  3083. type: string
  3084. warehousetype:
  3085. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3086. type: integer
  3087. wrstandardcode:
  3088. description: 现货商品代码
  3089. type: string
  3090. wrstandardid:
  3091. description: 现货商品ID
  3092. type: string
  3093. wrstandardname:
  3094. description: 现货商品名称
  3095. type: string
  3096. type: object
  3097. models.ErmcpAreaStockApply:
  3098. properties:
  3099. applyid:
  3100. description: 申请人
  3101. type: integer
  3102. applyname:
  3103. description: 申请人名称
  3104. type: string
  3105. applyremark:
  3106. description: 申请备注
  3107. type: string
  3108. applysrc:
  3109. description: 申请来源 - 1:管理端 2:终端
  3110. type: integer
  3111. applystatus:
  3112. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3113. type: integer
  3114. applytime:
  3115. description: 申请时间
  3116. type: string
  3117. auditid:
  3118. description: 审核人
  3119. type: integer
  3120. auditname:
  3121. description: 审核人名称
  3122. type: string
  3123. auditremark:
  3124. description: 审核备注
  3125. type: string
  3126. auditsrc:
  3127. description: 审核来源 - 1:管理端 2:终端
  3128. type: integer
  3129. audittime:
  3130. description: 审核时间
  3131. type: string
  3132. audittradedate:
  3133. description: 审核交易日(yyyyMMdd)
  3134. type: string
  3135. brandname:
  3136. description: 品牌名称
  3137. type: string
  3138. buyuserid:
  3139. description: 采购方userid
  3140. type: integer
  3141. buyusername:
  3142. description: 采购方名称
  3143. type: string
  3144. contractno:
  3145. description: 合同编号
  3146. type: string
  3147. contractqty:
  3148. description: 合同量
  3149. type: number
  3150. contracttype:
  3151. description: 现货合同类型 - 1:采购 -1:销售
  3152. type: integer
  3153. deliverygoodsid:
  3154. description: 现货品种ID
  3155. type: integer
  3156. enumdicname:
  3157. description: 现货商品单位名称
  3158. type: string
  3159. inoutapplyid:
  3160. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3161. type: string
  3162. inouttype:
  3163. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3164. type: integer
  3165. modelname:
  3166. description: 型号名称
  3167. type: string
  3168. pricetype:
  3169. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3170. type: integer
  3171. qty:
  3172. description: 数量
  3173. type: number
  3174. selluserid:
  3175. description: 销售方userid
  3176. type: integer
  3177. sellusername:
  3178. description: 销售方名称
  3179. type: string
  3180. spotcontractid:
  3181. description: 关联现货合同ID
  3182. type: string
  3183. spotgoodsbrandid:
  3184. description: 现货品牌ID
  3185. type: integer
  3186. spotgoodsmodelid:
  3187. description: 现货型号ID
  3188. type: integer
  3189. unitid:
  3190. description: 单位id
  3191. type: integer
  3192. userid:
  3193. description: 机构ID
  3194. type: integer
  3195. warehousecode:
  3196. description: 仓库代码
  3197. type: string
  3198. warehouseinfoid:
  3199. description: 现货仓库ID
  3200. type: string
  3201. warehousename:
  3202. description: 仓库名称
  3203. type: string
  3204. warehousetype:
  3205. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3206. type: integer
  3207. wrstandardcode:
  3208. description: 现货商品代码
  3209. type: string
  3210. wrstandardid:
  3211. description: 现货商品ID
  3212. type: string
  3213. wrstandardname:
  3214. description: 现货商品名称
  3215. type: string
  3216. type: object
  3217. models.ErmcpAreaStockApplySum:
  3218. properties:
  3219. brandname:
  3220. description: 品牌名称
  3221. type: string
  3222. inouttype:
  3223. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3224. type: integer
  3225. modelname:
  3226. description: 型号名称
  3227. type: string
  3228. spotcontractid:
  3229. description: 关联现货合同ID
  3230. type: string
  3231. spotgoodsbrandid:
  3232. description: 品牌id
  3233. type: integer
  3234. spotgoodsmodelid:
  3235. description: 型号id
  3236. type: integer
  3237. totalqty:
  3238. description: 总数量
  3239. type: number
  3240. type: object
  3241. models.ErmcpAreaStockReport:
  3242. properties:
  3243. brandname:
  3244. description: 品牌名称
  3245. type: string
  3246. curstock:
  3247. description: 期末库存量
  3248. type: number
  3249. deliverygoodsid:
  3250. description: 现货品种ID
  3251. type: integer
  3252. enumdicname:
  3253. description: 单位名称
  3254. type: string
  3255. modelname:
  3256. description: 型号名称
  3257. type: string
  3258. oristock:
  3259. description: 期初库存量
  3260. type: number
  3261. spotgoodsbrandid:
  3262. description: 现货品牌ID
  3263. type: integer
  3264. spotgoodsmodelid:
  3265. description: 现货型号ID
  3266. type: integer
  3267. todaybuyinqty:
  3268. description: 今日采购入库量
  3269. type: number
  3270. todayproduceinqty:
  3271. description: 今日生产入库量
  3272. type: number
  3273. todayproduceoutqty:
  3274. description: 今日生产出库量
  3275. type: number
  3276. todayselloutqty:
  3277. description: 今日销售出库量
  3278. type: number
  3279. unitid:
  3280. description: 单位id
  3281. type: integer
  3282. updatetime:
  3283. description: 更新时间
  3284. type: string
  3285. userid:
  3286. description: 机构ID
  3287. type: integer
  3288. username:
  3289. description: 机构名称
  3290. type: string
  3291. warehousecode:
  3292. description: 仓库代码
  3293. type: string
  3294. warehouseinfoid:
  3295. description: 仓库ID
  3296. type: string
  3297. warehousename:
  3298. description: 仓库名称
  3299. type: string
  3300. warehousetype:
  3301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3302. type: integer
  3303. wrstandardcode:
  3304. description: 现货商品代码
  3305. type: string
  3306. wrstandardid:
  3307. description: 现货商品ID
  3308. type: string
  3309. wrstandardname:
  3310. description: 现货商品名称
  3311. type: string
  3312. type: object
  3313. models.ErmcpAvalidGoodsGroupModel:
  3314. properties:
  3315. goodsgroupid:
  3316. description: 期货品种id
  3317. type: integer
  3318. goodsgroupname:
  3319. description: 期货品种名称
  3320. type: string
  3321. goodunitid:
  3322. description: 品种单位id
  3323. type: integer
  3324. goodunitname:
  3325. description: 品种单位名称
  3326. type: string
  3327. outergroupcode:
  3328. description: 期货品种代码
  3329. type: string
  3330. type: object
  3331. models.ErmcpExposureDetailModel:
  3332. properties:
  3333. areauserid:
  3334. description: 机构ID
  3335. type: integer
  3336. changeQty:
  3337. description: 套保变动量
  3338. type: number
  3339. contracttype:
  3340. description: 现货合同类型 - 1:采购 -1:销售
  3341. type: integer
  3342. convertfactor:
  3343. description: 标仓系数
  3344. type: number
  3345. convertratio:
  3346. description: 套保系数
  3347. type: number
  3348. createtime:
  3349. description: 时间
  3350. type: string
  3351. enumdicname:
  3352. description: 现货商品单位名称
  3353. type: string
  3354. logtype:
  3355. description: 类型 - 1:套保计划 2:现货合同
  3356. type: integer
  3357. middlegoodsId:
  3358. description: 套保商品id
  3359. type: integer
  3360. middlegoodscode:
  3361. description: 套保商品代码
  3362. type: string
  3363. middlegoodsname:
  3364. description: 套保商品名称
  3365. type: string
  3366. qty:
  3367. description: 数量
  3368. type: number
  3369. relateNo:
  3370. description: 现货合同/套保计划编号
  3371. type: string
  3372. wrstandardcode:
  3373. description: 现货商品代码
  3374. type: string
  3375. wrstandardid:
  3376. description: 现货商品ID
  3377. type: integer
  3378. wrstandardname:
  3379. description: 现货商品名称
  3380. type: string
  3381. type: object
  3382. models.ErmcpExposurePostion:
  3383. properties:
  3384. agreeunit:
  3385. description: 合约单位
  3386. type: string
  3387. areauserid:
  3388. description: 所属机构id
  3389. type: integer
  3390. convertratio:
  3391. description: 期货品种系数(折算系数)
  3392. type: number
  3393. curqty:
  3394. description: 当前持仓
  3395. type: integer
  3396. diffhedgeqty:
  3397. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3398. type: number
  3399. diffqty:
  3400. description: 持仓变动量=当前持仓-昨日持仓
  3401. type: integer
  3402. goodscode:
  3403. description: 商品代码
  3404. type: string
  3405. goodsid:
  3406. description: 商品id
  3407. type: integer
  3408. goodsname:
  3409. description: 商品名称
  3410. type: string
  3411. middlegoodsid:
  3412. description: 套保商品id
  3413. type: integer
  3414. ydqty:
  3415. description: 昨日持仓
  3416. type: integer
  3417. type: object
  3418. models.ErmcpGGConvertCfg:
  3419. properties:
  3420. convertratio:
  3421. description: 折算系数
  3422. type: number
  3423. destgoodsgroupid:
  3424. description: 目标品种ID
  3425. type: integer
  3426. dstcode:
  3427. description: 目录品种代码
  3428. type: string
  3429. dstexchangecode:
  3430. description: 目标期货交易所
  3431. type: string
  3432. dstname:
  3433. description: 目标品种名称
  3434. type: string
  3435. dstunitid:
  3436. description: 目标品种单位ID
  3437. type: integer
  3438. dstunitidname:
  3439. description: 目标品种单位名称
  3440. type: string
  3441. modifytime:
  3442. description: 修改时间
  3443. type: string
  3444. srccode:
  3445. description: 源品种代码
  3446. type: string
  3447. srcexchangecode:
  3448. description: 源期货交易所
  3449. type: string
  3450. srcgoodsgroupid:
  3451. description: 源品种ID
  3452. type: integer
  3453. srcname:
  3454. description: 源品种名称
  3455. type: string
  3456. srcunitid:
  3457. description: 源品种单位ID
  3458. type: integer
  3459. srcunitidname:
  3460. description: 源品种单位名称
  3461. type: string
  3462. type: object
  3463. models.ErmcpGoodsBrand:
  3464. properties:
  3465. areauserid:
  3466. description: 所属机构
  3467. type: integer
  3468. brandid:
  3469. description: BrandID(SEQ_SPOTGOODSBRAND)
  3470. type: integer
  3471. brandname:
  3472. description: 品牌名称
  3473. type: string
  3474. createtime:
  3475. description: 创建时间
  3476. type: string
  3477. creatorid:
  3478. description: 创建人
  3479. type: integer
  3480. creatorsrc:
  3481. description: 创建人来源 - 1:管理端 2:终端
  3482. type: integer
  3483. deliverygoodsid:
  3484. description: 现货品种ID
  3485. type: integer
  3486. isvalid:
  3487. description: 是否有效 - 0:无效 1:有效
  3488. type: integer
  3489. updatetime:
  3490. description: 更新时间
  3491. type: string
  3492. updatorid:
  3493. description: 更新人
  3494. type: integer
  3495. updatorsrc:
  3496. description: 更新人来源 - 1:管理端 2:终端
  3497. type: integer
  3498. wrstandardid:
  3499. description: 现货商品ID
  3500. type: integer
  3501. type: object
  3502. models.ErmcpGoodsModel:
  3503. properties:
  3504. areauserid:
  3505. description: 所属机构
  3506. type: integer
  3507. createtime:
  3508. description: 创建时间
  3509. type: string
  3510. creatorid:
  3511. description: 创建人
  3512. type: integer
  3513. creatorsrc:
  3514. description: 创建人来源 - 1:管理端 2:终端
  3515. type: integer
  3516. deliverygoodsid:
  3517. description: 现货品种ID
  3518. type: integer
  3519. isvalid:
  3520. description: 是否有效 - 0:无效 1:有效
  3521. type: integer
  3522. modelid:
  3523. description: ModelID(SEQ_SPOTGOODSMODEL)
  3524. type: integer
  3525. modelname:
  3526. description: 型号名称
  3527. type: string
  3528. updatetime:
  3529. description: 更新时间
  3530. type: string
  3531. updatorid:
  3532. description: 更新人
  3533. type: integer
  3534. updatorsrc:
  3535. description: 更新人来源 - 1:管理端 2:终端
  3536. type: integer
  3537. wrstandardid:
  3538. description: 现货商品ID
  3539. type: integer
  3540. type: object
  3541. models.ErmcpHedgePlan:
  3542. properties:
  3543. areauserid:
  3544. description: 用户ID
  3545. type: integer
  3546. audittime:
  3547. description: 审核时间
  3548. type: string
  3549. contracttype:
  3550. description: 计划类型 - 1:采购 -1:销售
  3551. type: integer
  3552. convertfactor:
  3553. description: 标仓系数
  3554. type: number
  3555. createtime:
  3556. description: 创建时间
  3557. type: string
  3558. deliverygoodsid:
  3559. description: 现货品种ID
  3560. type: integer
  3561. deliverygoodsname:
  3562. description: 现货品种名称
  3563. type: string
  3564. enumdicname:
  3565. description: 单位名称
  3566. type: string
  3567. hedgeplanid:
  3568. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3569. type: string
  3570. hedgeplanno:
  3571. description: 套保计划编号(名称)
  3572. type: string
  3573. hedgeplanstatus:
  3574. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3575. type: integer
  3576. planqty:
  3577. description: 计划数量
  3578. type: number
  3579. plantime:
  3580. description: 计划时间
  3581. type: string
  3582. producttype:
  3583. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3584. type: integer
  3585. remark:
  3586. description: 备注
  3587. type: string
  3588. spotgoodsdesc:
  3589. description: 商品型号
  3590. type: string
  3591. unitid:
  3592. description: 单位id
  3593. type: integer
  3594. updatetime:
  3595. description: 更新时间
  3596. type: string
  3597. wrstandardid:
  3598. description: 现货商品ID
  3599. type: integer
  3600. wrstandardname:
  3601. description: 现货商品名称
  3602. type: string
  3603. type: object
  3604. models.ErmcpHedgePosition:
  3605. properties:
  3606. accountid:
  3607. description: 资金账号[外部母账户]
  3608. type: integer
  3609. curbuyposition:
  3610. description: 期末买头寸
  3611. type: integer
  3612. cursellposition:
  3613. description: 期末卖头寸
  3614. type: integer
  3615. curtdbuyposition:
  3616. description: 期末今日买头寸
  3617. type: integer
  3618. curtdsellposition:
  3619. description: 期末今日卖头寸
  3620. type: integer
  3621. curydbuyposition:
  3622. description: 期末上日买头寸
  3623. type: integer
  3624. curydsellposition:
  3625. description: 期末上日卖头寸
  3626. type: integer
  3627. decreaseqty:
  3628. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3629. type: integer
  3630. fretdbuyposition:
  3631. description: 冻结今日买头寸
  3632. type: integer
  3633. fretdsellposition:
  3634. description: 冻结今日卖头寸
  3635. type: integer
  3636. freydbuyposition:
  3637. description: 冻结上日买头寸
  3638. type: integer
  3639. freydsellposition:
  3640. description: 冻结上日卖头寸
  3641. type: integer
  3642. goodscode:
  3643. description: 商品代码
  3644. type: string
  3645. goodsid:
  3646. description: 商品id
  3647. type: integer
  3648. goodsname:
  3649. description: 商品名称
  3650. type: string
  3651. hedgeaccountcode:
  3652. description: 对冲账号
  3653. type: string
  3654. hedgegoodsid:
  3655. description: 对冲合约ID
  3656. type: integer
  3657. increaseqty:
  3658. description: 增加数量 = 期末买头寸 - 期初买头寸
  3659. type: integer
  3660. marketid:
  3661. description: 市场ID
  3662. type: integer
  3663. relateduserid:
  3664. description: 关联用户id
  3665. type: integer
  3666. totalcurqty:
  3667. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3668. type: integer
  3669. totalydqty:
  3670. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3671. type: integer
  3672. tradedate:
  3673. description: 交易日(yyyyMMdd)
  3674. type: string
  3675. ydbuyposition:
  3676. description: 期初买头寸
  3677. type: integer
  3678. ydsellposition:
  3679. description: 期初卖头寸
  3680. type: integer
  3681. type: object
  3682. models.ErmcpHedgePositionDetail:
  3683. properties:
  3684. buyorsell:
  3685. description: 买卖方向 0-买 1-卖
  3686. type: integer
  3687. channelbuildtype:
  3688. description: 开平方向 1-建仓 2-平仓
  3689. type: integer
  3690. goodscode:
  3691. description: 商品代码
  3692. type: string
  3693. goodsname:
  3694. description: 商品名称
  3695. type: string
  3696. hedgegoodsid:
  3697. description: 商品id
  3698. type: integer
  3699. tradeqty:
  3700. description: 数量(成交数量)
  3701. type: integer
  3702. tradetime:
  3703. description: 时间(成交时间)
  3704. type: string
  3705. type: object
  3706. models.ErmcpHisExposure:
  3707. properties:
  3708. needhedgeexposoure:
  3709. description: 应套保敞口
  3710. type: number
  3711. reckondate:
  3712. description: 日照时期(yyyyMMdd)
  3713. type: string
  3714. totalexposure:
  3715. description: 总敞口
  3716. type: number
  3717. type: object
  3718. models.ErmcpHisExposureS:
  3719. properties:
  3720. data:
  3721. description: 历史敞口
  3722. items:
  3723. $ref: '#/definitions/models.ErmcpHisExposure'
  3724. type: array
  3725. enumdicname:
  3726. description: 单位名称
  3727. type: string
  3728. middlegoodscode:
  3729. description: 套保品种代码
  3730. type: string
  3731. middlegoodsid:
  3732. description: 套保品种ID
  3733. type: integer
  3734. middlegoodsname:
  3735. description: 套保品种名称
  3736. type: string
  3737. type: object
  3738. models.ErmcpMiddleGoodsChangeLog:
  3739. properties:
  3740. aftervalue:
  3741. description: 变更后
  3742. type: number
  3743. applyid:
  3744. description: 操作人
  3745. type: integer
  3746. applyname:
  3747. description: 操作人名称
  3748. type: string
  3749. applysrc:
  3750. description: 操作来源 - 1:管理端 2:终端
  3751. type: integer
  3752. beforevalue:
  3753. description: 变更前
  3754. type: number
  3755. changelogtype:
  3756. description: 变更流水类型 - 1:套保比率变更
  3757. type: integer
  3758. handlestatus:
  3759. description: 处理状态
  3760. type: integer
  3761. logdatetime:
  3762. description: 流水日期
  3763. type: string
  3764. logid:
  3765. description: 流水ID
  3766. type: integer
  3767. logremark:
  3768. description: 流水备注
  3769. type: string
  3770. middlegoodsid:
  3771. description: 套保品种ID
  3772. type: integer
  3773. tradedate:
  3774. description: 交易日(yyyyMMdd)
  3775. type: string
  3776. updatetime:
  3777. description: 更新时间
  3778. type: string
  3779. type: object
  3780. models.ErmcpMiddleGoodsDetail:
  3781. properties:
  3782. cvList:
  3783. description: 期货品种折算列表
  3784. items:
  3785. $ref: '#/definitions/models.GoodsGroupConvert'
  3786. type: array
  3787. mg:
  3788. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3789. description: 套保品种基本信息
  3790. type: object
  3791. type: object
  3792. models.ErmcpMiddleGoodsModel:
  3793. properties:
  3794. areauserid:
  3795. description: 机构用户ID
  3796. type: integer
  3797. createtime:
  3798. description: 修改时间
  3799. type: string
  3800. enumdicname:
  3801. description: 单位名称
  3802. type: string
  3803. evaluateratio:
  3804. description: 估价系数
  3805. type: number
  3806. goodsgroupid:
  3807. description: 关联期货品种ID
  3808. type: integer
  3809. isvalid:
  3810. description: 状态 0-无效(停用) 1-有效(正常)
  3811. type: integer
  3812. middlegoodscode:
  3813. description: 套保品种代码
  3814. type: string
  3815. middlegoodsid:
  3816. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3817. type: integer
  3818. middlegoodsname:
  3819. description: 套保品种名称
  3820. type: string
  3821. modifytime:
  3822. description: 修改时间
  3823. type: string
  3824. needhedgeratio:
  3825. description: 套保比率
  3826. type: number
  3827. qtydecimalplace:
  3828. description: 数量小数位
  3829. type: integer
  3830. relatedgoodsid:
  3831. description: 关联交易商品ID
  3832. type: integer
  3833. relatedgoodstype:
  3834. description: 关联商品类型 - 1:期货合约 2:现货品种
  3835. type: integer
  3836. type: object
  3837. models.ErmcpModel:
  3838. properties:
  3839. accountname:
  3840. description: 账户名称
  3841. type: string
  3842. attachment:
  3843. description: 附件
  3844. type: string
  3845. audittime:
  3846. description: 审核时间
  3847. type: string
  3848. brandname:
  3849. description: 品牌名称
  3850. type: string
  3851. contracctstatus:
  3852. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3853. type: integer
  3854. contractmargin:
  3855. description: 合同保证金
  3856. type: number
  3857. contractno:
  3858. description: 合同编号
  3859. type: string
  3860. contracttype:
  3861. description: 合同类型 1-采购, -1-销售
  3862. type: integer
  3863. convertfactor:
  3864. description: 标仓系数
  3865. type: number
  3866. createtime:
  3867. description: 创建时间
  3868. type: string
  3869. daikaiamount:
  3870. description: 待开票额
  3871. type: number
  3872. deliveryenddate:
  3873. description: 交割结束日
  3874. type: string
  3875. deliverygoodscode:
  3876. description: 现货品种代码
  3877. type: string
  3878. deliverygoodsid:
  3879. description: 现货商品ID
  3880. type: integer
  3881. deliverygoodsname:
  3882. description: 现货品种名称
  3883. type: string
  3884. deliverystartdate:
  3885. description: 交割开始日
  3886. type: string
  3887. enddate:
  3888. description: 点价结束日
  3889. type: string
  3890. enumdicname:
  3891. description: 单位名称
  3892. type: string
  3893. goodscode:
  3894. description: 点价商品代码
  3895. type: string
  3896. goodsid:
  3897. description: 点价商品ID
  3898. type: integer
  3899. goodsname:
  3900. description: 点价商品名称
  3901. type: string
  3902. invoiceamount:
  3903. description: 已开票额
  3904. type: number
  3905. loanamount:
  3906. description: 贷款总额=已定价额+调整金额
  3907. type: number
  3908. margin:
  3909. description: 保证金
  3910. type: number
  3911. modelname:
  3912. description: 型号名称
  3913. type: string
  3914. payamount:
  3915. description: 已收付额(收款或付款)
  3916. type: number
  3917. price:
  3918. description: 价格
  3919. type: number
  3920. pricedamount:
  3921. description: 已定价额
  3922. type: number
  3923. pricedavg:
  3924. description: 已点均价
  3925. type: number
  3926. pricedqty:
  3927. description: 已定价量
  3928. type: number
  3929. pricemove:
  3930. description: 升贴水
  3931. type: number
  3932. pricetype:
  3933. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3934. type: integer
  3935. producttype:
  3936. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3937. type: integer
  3938. qty:
  3939. description: 合同量
  3940. type: number
  3941. reckonadjustamount:
  3942. description: 调整金额
  3943. type: number
  3944. reckonedamount:
  3945. description: 已收付额(已确定额)
  3946. type: number
  3947. reckonotheramount:
  3948. description: 其它费用
  3949. type: number
  3950. reckonrealqty:
  3951. description: 已确定量
  3952. type: number
  3953. remark:
  3954. description: 备注
  3955. type: string
  3956. spotcontractid:
  3957. description: 合同ID
  3958. type: string
  3959. spotgoodsbrandid:
  3960. description: 现货品牌ID
  3961. type: integer
  3962. spotgoodsdesc:
  3963. description: 商品型号(商品规格)
  3964. type: string
  3965. spotgoodsmodelid:
  3966. description: 现货型号ID
  3967. type: integer
  3968. startdate:
  3969. description: 点价开始日
  3970. type: string
  3971. totalamount:
  3972. description: 合计总额
  3973. type: number
  3974. unpayamount:
  3975. description: 待支收额(支付或收款)
  3976. type: number
  3977. unpricedqty:
  3978. description: 未定价量
  3979. type: number
  3980. unsureqty:
  3981. description: 未确定量
  3982. type: number
  3983. userid:
  3984. description: 用户ID
  3985. type: integer
  3986. wrstandardcode:
  3987. description: 现货商品代码
  3988. type: string
  3989. wrstandardid:
  3990. description: 现货商品ID
  3991. type: integer
  3992. wrstandardname:
  3993. description: 现货商品名称
  3994. type: string
  3995. type: object
  3996. models.ErmcpOPLogModel:
  3997. properties:
  3998. aftervalue:
  3999. description: 变更后
  4000. type: number
  4001. applyid:
  4002. description: 操作人ID
  4003. type: string
  4004. applyname:
  4005. description: 操作人名称
  4006. type: string
  4007. beforevalue:
  4008. description: 变更前
  4009. type: number
  4010. biztype:
  4011. description: 业务类型 - 1:套保计划 2:现货合同
  4012. type: integer
  4013. contracttype:
  4014. description: 现货合同类型 - 1:采购 -1:销售
  4015. type: integer
  4016. logvalue:
  4017. description: 数值
  4018. type: number
  4019. operatelogtype:
  4020. description: 操作流水类型
  4021. type: integer
  4022. operatelogtypedesc:
  4023. description: 操作流水类型名称
  4024. type: string
  4025. relatedid:
  4026. description: 现货合同ID\套保计划
  4027. type: string
  4028. updatetime:
  4029. description: 更新时间
  4030. type: string
  4031. type: object
  4032. models.ErmcpPendingAudit:
  4033. properties:
  4034. areastockqty:
  4035. description: '待审核数量: 库存申请'
  4036. type: integer
  4037. businessdjqty:
  4038. description: '待审核数量: 点价'
  4039. type: integer
  4040. businessfpqty:
  4041. description: '待审核数量: 发票'
  4042. type: integer
  4043. businessjsqty:
  4044. description: '待审核数量: 结算'
  4045. type: integer
  4046. businesskxqty:
  4047. description: '待审核数量: 款项'
  4048. type: integer
  4049. hedgeplanqty:
  4050. description: '待审核数量: 套保计划'
  4051. type: integer
  4052. spotcontractqty:
  4053. description: '待审核数量: 现货合同'
  4054. type: integer
  4055. userqty:
  4056. description: '待审核数量: 用户'
  4057. type: integer
  4058. type: object
  4059. models.ErmcpRealExposureModel:
  4060. properties:
  4061. areaUserID:
  4062. description: 所属机构
  4063. type: integer
  4064. buyFutureQty:
  4065. description: 买入期货数量
  4066. type: number
  4067. buyPlanQty:
  4068. description: 采购计划数量
  4069. type: number
  4070. buyPricedQty:
  4071. description: 采购合同已定价数量
  4072. type: number
  4073. diffFutuQty:
  4074. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4075. type: number
  4076. diffSpotQty:
  4077. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4078. type: number
  4079. enumdicname:
  4080. description: 单位名称
  4081. type: string
  4082. middleGoodsCode:
  4083. description: 套保品种代码
  4084. type: string
  4085. middleGoodsHedgeRatio:
  4086. description: 应套保比例
  4087. type: number
  4088. middleGoodsID:
  4089. description: 套保品种
  4090. type: integer
  4091. middleGoodsName:
  4092. description: 套保品种名称
  4093. type: string
  4094. needHedgeExposoure:
  4095. description: 应套保敞口
  4096. type: number
  4097. needHedgeRatio:
  4098. description: 应套保敞口比例
  4099. type: number
  4100. oriBuyFutureQty:
  4101. description: 期初买入期货数量
  4102. type: number
  4103. oriBuyPlanQty:
  4104. description: 期初采购计划数量
  4105. type: number
  4106. oriBuyPricedQty:
  4107. description: 期初采购合同已定价数量
  4108. type: number
  4109. oriSellFutureQty:
  4110. description: 期初卖出期货数量
  4111. type: number
  4112. oriSellPlanQty:
  4113. description: 期初销售计划数量
  4114. type: number
  4115. oriSellPricedQty:
  4116. description: 期初销售合同已定价数量
  4117. type: number
  4118. oriTotalFutuQty:
  4119. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4120. type: number
  4121. oriTotalSpotQty:
  4122. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4123. type: number
  4124. sellFutureQty:
  4125. description: 卖出期货数量
  4126. type: number
  4127. sellPlanQty:
  4128. description: 销售计划数量
  4129. type: number
  4130. sellPricedQty:
  4131. description: 销售合同已定价数量
  4132. type: number
  4133. totalExposure:
  4134. description: 总敞口
  4135. type: number
  4136. totalFutureQty:
  4137. description: 期货数量
  4138. type: number
  4139. totalHedgeRatio:
  4140. description: 敞口比例
  4141. type: number
  4142. totalNeedHedgeQty:
  4143. description: 期货应套保量
  4144. type: number
  4145. totalSpotQty:
  4146. description: 现货数量
  4147. type: number
  4148. type: object
  4149. models.ErmcpReportDayExposure:
  4150. properties:
  4151. areauserid:
  4152. description: 所属机构
  4153. type: integer
  4154. buyfutureqty:
  4155. description: 买入期货数量
  4156. type: number
  4157. buyplanqty:
  4158. description: 采购计划数量
  4159. type: number
  4160. buypricedqty:
  4161. description: 采购合同已定价数量
  4162. type: number
  4163. diffFutuQty:
  4164. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4165. type: number
  4166. diffSpotQty:
  4167. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4168. type: number
  4169. enumdicname:
  4170. description: 单位名称
  4171. type: string
  4172. middlegoodscode:
  4173. description: 套保品种代码
  4174. type: string
  4175. middlegoodshedgeratio:
  4176. description: 应套保比例
  4177. type: number
  4178. middlegoodsid:
  4179. description: 套保品种ID
  4180. type: integer
  4181. middlegoodsname:
  4182. description: 套保品种名称
  4183. type: string
  4184. needhedgeexposoure:
  4185. description: 应套保敞口
  4186. type: number
  4187. needhedgeratio:
  4188. description: 应套保敞口比例
  4189. type: number
  4190. oriTotalFutuQty:
  4191. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4192. type: number
  4193. oriTotalSpotQty:
  4194. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4195. type: number
  4196. oribuyfutureqty:
  4197. description: 期初买入期货数量
  4198. type: number
  4199. oribuyplanqty:
  4200. description: 期初采购计划数量
  4201. type: number
  4202. oribuypricedqty:
  4203. description: 期初采购合同已定价数量
  4204. type: number
  4205. orisellfutureqty:
  4206. description: 期初卖出期货数量
  4207. type: number
  4208. orisellplanqty:
  4209. description: 期初销售计划数量
  4210. type: number
  4211. orisellpricedqty:
  4212. description: 期初销售合同已定价数量
  4213. type: number
  4214. reckondate:
  4215. description: 日照时期(yyyyMMdd)
  4216. type: string
  4217. sellfutureqty:
  4218. description: 卖出期货数量
  4219. type: number
  4220. sellplanqty:
  4221. description: 销售计划数量
  4222. type: number
  4223. sellpricedqty:
  4224. description: 销售合同已定价数量
  4225. type: number
  4226. totalexposure:
  4227. description: 总敞口
  4228. type: number
  4229. totalfutureqty:
  4230. description: 期货数量
  4231. type: number
  4232. totalhedgeratio:
  4233. description: 敞口比例
  4234. type: number
  4235. totalneedhedgeqty:
  4236. description: 期货应套保量
  4237. type: number
  4238. totalspotqty:
  4239. description: 现货数量
  4240. type: number
  4241. type: object
  4242. models.ErmcpReportDayFR:
  4243. properties:
  4244. areauserid:
  4245. description: 所属机构
  4246. type: integer
  4247. collectinvoiceamount:
  4248. description: 今日开票金额
  4249. type: number
  4250. collectinvoicecount:
  4251. description: 今日开票笔数
  4252. type: integer
  4253. collectmoneyamount:
  4254. description: 今日收款金额
  4255. type: number
  4256. collectmoneycount:
  4257. description: 今日收款笔数
  4258. type: integer
  4259. payinvoiceamount:
  4260. description: 今日收票金额
  4261. type: number
  4262. payinvoicecount:
  4263. description: 今日收票笔数
  4264. type: integer
  4265. paymoneyamount:
  4266. description: 今日付款金额
  4267. type: number
  4268. paymoneycount:
  4269. description: 今日付款笔数
  4270. type: integer
  4271. reckondate:
  4272. description: 日照时期(yyyyMMdd)
  4273. type: string
  4274. updatetime:
  4275. description: 更新时间
  4276. type: string
  4277. type: object
  4278. models.ErmcpReportDaySpot:
  4279. properties:
  4280. areauserid:
  4281. description: 所属机构T
  4282. type: integer
  4283. enumdicname:
  4284. description: 现货商品单位名称
  4285. type: string
  4286. reckondate:
  4287. description: 日照时期(yyyyMMdd)
  4288. type: string
  4289. todaybuyreckonqty:
  4290. description: 采购确定量
  4291. type: number
  4292. todaysellreckonqty:
  4293. description: 销售确定量
  4294. type: number
  4295. totalbuypricedqty:
  4296. description: 采购定价量 = 期末 - 期初
  4297. type: number
  4298. totalsellpricedqty:
  4299. description: 销售定价量 = 期末 - 期初
  4300. type: number
  4301. wrstandardcode:
  4302. description: 现货商品代码
  4303. type: string
  4304. wrstandardid:
  4305. description: 现货商品ID
  4306. type: integer
  4307. wrstandardname:
  4308. description: 现货商品名称
  4309. type: string
  4310. type: object
  4311. models.ErmcpReportMonSpot:
  4312. properties:
  4313. areauserid:
  4314. description: 所属机构T
  4315. type: integer
  4316. cycletime:
  4317. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4318. type: string
  4319. cycletype:
  4320. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4321. type: integer
  4322. enumdicname:
  4323. description: 现货商品单位名称
  4324. type: string
  4325. todaybuyreckonqty:
  4326. description: 采购确定量
  4327. type: number
  4328. todaysellreckonqty:
  4329. description: 销售确定量
  4330. type: number
  4331. totalbuypricedqty:
  4332. description: 采购定价量 = 期末 - 期初
  4333. type: number
  4334. totalsellpricedqty:
  4335. description: 销售定价量 = 期末 - 期初
  4336. type: number
  4337. wrstandardcode:
  4338. description: 现货商品代码
  4339. type: string
  4340. wrstandardid:
  4341. description: 现货商品ID
  4342. type: integer
  4343. wrstandardname:
  4344. description: 现货商品名称
  4345. type: string
  4346. type: object
  4347. models.ErmcpReportMonthFR:
  4348. properties:
  4349. areauserid:
  4350. description: 所属机构【原值】
  4351. type: integer
  4352. collectinvoiceamount:
  4353. description: 今日开票金额【汇总】
  4354. type: number
  4355. collectinvoicecount:
  4356. description: 今日开票笔数【汇总】
  4357. type: integer
  4358. collectmoneyamount:
  4359. description: 今日收款金额【汇总】
  4360. type: number
  4361. collectmoneycount:
  4362. description: 今日收款笔数 【汇总】
  4363. type: integer
  4364. cycletime:
  4365. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4366. type: string
  4367. cycletype:
  4368. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4369. type: integer
  4370. dayFr:
  4371. description: 日报表明细
  4372. items:
  4373. $ref: '#/definitions/models.ErmcpReportDayFR'
  4374. type: array
  4375. payinvoiceamount:
  4376. description: 今日收票金额【汇总】
  4377. type: number
  4378. payinvoicecount:
  4379. description: 今日收票笔数【汇总】
  4380. type: integer
  4381. paymoneyamount:
  4382. description: 今日付款金额【汇总】
  4383. type: number
  4384. paymoneycount:
  4385. description: 今日付款笔数【汇总】
  4386. type: integer
  4387. updatetime:
  4388. description: 更新时间
  4389. type: string
  4390. type: object
  4391. models.ErmcpReportOPLog:
  4392. properties:
  4393. applyid:
  4394. description: 操作人
  4395. type: integer
  4396. applyname:
  4397. description: 操作人名称
  4398. type: string
  4399. biztype:
  4400. description: 业务类型 - 1:套保计划 2:现货合同
  4401. type: integer
  4402. contracttype:
  4403. description: 现货合同类型 - 1:采购 -1:销售
  4404. type: integer
  4405. enumdicName:
  4406. description: 单位名称
  4407. type: string
  4408. logdatetime:
  4409. description: 流水日期(时间)
  4410. type: string
  4411. logid:
  4412. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4413. type: string
  4414. logtypename:
  4415. description: 合同类型(名称)
  4416. type: string
  4417. logvalue:
  4418. description: 数值
  4419. type: string
  4420. operatelogtype:
  4421. description: 操作流水类型 -
  4422. type: integer
  4423. optypename:
  4424. description: 流水类型名称
  4425. type: string
  4426. relatedid:
  4427. description: 现货合同ID\套保计划
  4428. type: string
  4429. relatedno:
  4430. description: 合同编号
  4431. type: string
  4432. tradedate:
  4433. description: 交易日(yyyyMMdd)
  4434. type: string
  4435. userid:
  4436. description: 机构ID
  4437. type: integer
  4438. wrstandardcode:
  4439. description: 现货商品代码
  4440. type: string
  4441. wrstandardid:
  4442. description: 现货商品ID
  4443. type: integer
  4444. wrstandardname:
  4445. description: 现货商品名称
  4446. type: string
  4447. type: object
  4448. models.ErmcpSpotContractModel:
  4449. properties:
  4450. amount:
  4451. description: 金额 [1:一口价、3:暂定价]
  4452. type: number
  4453. attachment:
  4454. description: 附件
  4455. type: string
  4456. auditremark:
  4457. description: 审核意见
  4458. type: string
  4459. audittime:
  4460. description: 审核时间
  4461. type: string
  4462. brandname:
  4463. description: 品牌名称
  4464. type: string
  4465. buyuserid:
  4466. description: 采购方ID
  4467. type: integer
  4468. buyusername:
  4469. description: 采购方名称
  4470. type: string
  4471. contracctstatus:
  4472. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4473. type: integer
  4474. contractmargin:
  4475. description: 合同保证金
  4476. type: number
  4477. contractno:
  4478. description: 现货合同编号
  4479. type: string
  4480. contracttype:
  4481. description: 现货合同类型 - 1:采购 -1:销售
  4482. type: integer
  4483. convertfactor:
  4484. description: 标仓系数
  4485. type: number
  4486. createtime:
  4487. description: 创建时间
  4488. type: string
  4489. deliveryenddate:
  4490. description: 交收期(结束)
  4491. type: string
  4492. deliverygoodscode:
  4493. description: 现货品种代码
  4494. type: string
  4495. deliverygoodsid:
  4496. description: 现货品种ID
  4497. type: integer
  4498. deliverygoodsname:
  4499. description: 现货品种名称
  4500. type: string
  4501. deliverystartdate:
  4502. description: 交收期(开始)
  4503. type: string
  4504. enddate:
  4505. description: 点价结束日期 [2:点价 3:暂定价]
  4506. type: string
  4507. enumdicname:
  4508. description: 单位名称
  4509. type: string
  4510. goodscode:
  4511. description: 点价合约代码
  4512. type: string
  4513. goodsid:
  4514. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4515. type: integer
  4516. goodsname:
  4517. description: 点价商品名称
  4518. type: string
  4519. margin:
  4520. description: 当前保证金
  4521. type: number
  4522. modelname:
  4523. description: 型号名称
  4524. type: string
  4525. price:
  4526. description: 价格\暂定价 [1:一口价、3:暂定价]
  4527. type: number
  4528. pricemove:
  4529. description: 升贴水 [2:点价 3:暂定价]
  4530. type: number
  4531. pricetype:
  4532. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4533. type: integer
  4534. producttype:
  4535. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4536. type: integer
  4537. qty:
  4538. description: 数量
  4539. type: number
  4540. remark:
  4541. description: 备注
  4542. type: string
  4543. selluserid:
  4544. description: 销售方ID
  4545. type: integer
  4546. sellusername:
  4547. description: 销售方名称
  4548. type: string
  4549. spotcontractid:
  4550. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4551. type: string
  4552. spotgoodsbrandid:
  4553. description: 现货品牌ID
  4554. type: integer
  4555. spotgoodsdesc:
  4556. description: 商品型号
  4557. type: string
  4558. spotgoodsmodelid:
  4559. description: 现货型号ID
  4560. type: integer
  4561. startdate:
  4562. description: 点价开始日期 [2:点价 3:暂定价]
  4563. type: string
  4564. updatetime:
  4565. description: 更新时间
  4566. type: string
  4567. userid:
  4568. description: 机构ID
  4569. type: integer
  4570. wrstandardcode:
  4571. description: 现货商品代码
  4572. type: string
  4573. wrstandardid:
  4574. description: 现货商品ID
  4575. type: integer
  4576. wrstandardname:
  4577. description: 现货商品名称
  4578. type: string
  4579. type: object
  4580. models.ErmcpUserModel:
  4581. properties:
  4582. address:
  4583. description: 通讯地址
  4584. type: string
  4585. attachment1:
  4586. description: 附件1
  4587. type: string
  4588. audittime:
  4589. description: 审核时间
  4590. type: string
  4591. cardfrontphotourl:
  4592. description: 证件正面图片地址
  4593. type: string
  4594. cardnum:
  4595. description: 证件号码
  4596. type: string
  4597. cardtype:
  4598. description: 证件类型
  4599. type: integer
  4600. cardtypename:
  4601. description: 证件类型名称
  4602. type: string
  4603. cityid:
  4604. description: 市
  4605. type: integer
  4606. countryid:
  4607. description: 国家
  4608. type: integer
  4609. createtime:
  4610. description: 创建时间
  4611. type: string
  4612. customername:
  4613. description: 企业名称
  4614. type: string
  4615. memberuserid:
  4616. description: 所属机构ID
  4617. type: integer
  4618. mobile:
  4619. description: 手机号码
  4620. type: string
  4621. modifytime:
  4622. description: 修改时间
  4623. type: string
  4624. provinceid:
  4625. description: 省
  4626. type: integer
  4627. remark:
  4628. description: 备注
  4629. type: string
  4630. status:
  4631. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4632. type: integer
  4633. statusdesc:
  4634. description: 账户状态中文描述
  4635. type: string
  4636. telphone:
  4637. description: 联系电话
  4638. type: string
  4639. userid:
  4640. description: 用户ID
  4641. type: integer
  4642. userinfotype:
  4643. description: 客户类型
  4644. type: string
  4645. type: object
  4646. models.ErmcpWareHouseInfo:
  4647. properties:
  4648. address:
  4649. description: 详细地址
  4650. type: string
  4651. areauserid:
  4652. description: 所属机构
  4653. type: integer
  4654. autoid:
  4655. description: 自增ID(仓库ID)
  4656. type: integer
  4657. cityid:
  4658. description: 市
  4659. type: integer
  4660. contactname:
  4661. description: 联系人
  4662. type: string
  4663. contactnum:
  4664. description: 联系电话
  4665. type: string
  4666. countryid:
  4667. description: 国家
  4668. type: integer
  4669. createtime:
  4670. description: 创建时间
  4671. type: string
  4672. districtid:
  4673. description: 区
  4674. type: integer
  4675. hasvideo:
  4676. description: 是否有视频 - 0:无 1:有
  4677. type: integer
  4678. provinceid:
  4679. description: 省
  4680. type: integer
  4681. remark:
  4682. description: 审核备注
  4683. type: string
  4684. videourl:
  4685. description: 视频地址
  4686. type: string
  4687. warehousecode:
  4688. description: 仓库代码
  4689. type: string
  4690. warehousename:
  4691. description: 仓库名称
  4692. type: string
  4693. warehousestatus:
  4694. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4695. type: integer
  4696. warehousetype:
  4697. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4698. type: integer
  4699. type: object
  4700. models.ErmcpWrstandDetail:
  4701. properties:
  4702. gbList:
  4703. description: 品牌列表
  4704. items:
  4705. $ref: '#/definitions/models.GoodsBrand'
  4706. type: array
  4707. goodsList:
  4708. description: 关联交易商品列表
  4709. items:
  4710. $ref: '#/definitions/models.RelatedGoodsEx'
  4711. type: array
  4712. gtList:
  4713. description: 型号列表
  4714. items:
  4715. $ref: '#/definitions/models.GoodsTypeModel'
  4716. type: array
  4717. wrd:
  4718. $ref: '#/definitions/models.ErmcpWrstandard'
  4719. description: 基本信息
  4720. type: object
  4721. wrsList:
  4722. description: 套保信息列表
  4723. items:
  4724. $ref: '#/definitions/models.WRSConverTDetail'
  4725. type: array
  4726. type: object
  4727. models.ErmcpWrstandard:
  4728. properties:
  4729. areauserid:
  4730. description: 所属机构
  4731. type: integer
  4732. createtime:
  4733. description: 创建时间
  4734. type: string
  4735. creatorid:
  4736. description: 创建人
  4737. type: integer
  4738. deliverygoodsid:
  4739. description: 品种ID
  4740. type: integer
  4741. enumdicname:
  4742. description: 单位名称
  4743. type: string
  4744. isvalid:
  4745. description: 是否有效 0-无效(停用) 1-有效(正常)
  4746. type: integer
  4747. minivalue:
  4748. description: 最小变动值
  4749. type: integer
  4750. minivaluedp:
  4751. description: 最小变动值小数位
  4752. type: integer
  4753. realminivalue:
  4754. description: 实际最小变动值
  4755. type: integer
  4756. realminivaluedp:
  4757. description: 实际最小变动值小数位
  4758. type: integer
  4759. remark:
  4760. description: 备注
  4761. type: string
  4762. unitid:
  4763. description: 单位ID
  4764. type: integer
  4765. updatetime:
  4766. description: 更新时间
  4767. type: string
  4768. wrstandardcode:
  4769. description: 现货商品代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 现货商品ID(SEQ_WRSTANDARD)
  4773. type: integer
  4774. wrstandardname:
  4775. description: 现货商品名称
  4776. type: string
  4777. type: object
  4778. models.Externalexchange:
  4779. properties:
  4780. autoid:
  4781. description: AutoID - SEQ_EXTERNALEXCHANGE
  4782. type: integer
  4783. exchangefullname:
  4784. description: 外部交易所全称
  4785. type: string
  4786. exexchangecode:
  4787. description: 外部交易所代码
  4788. type: string
  4789. exexchangename:
  4790. description: 外部交易所名称(简称)
  4791. type: string
  4792. ismarketprice:
  4793. description: 是否支持市价 - 0:不支持 1:支持
  4794. type: integer
  4795. quotegear:
  4796. description: 行情档位(1-10)
  4797. type: integer
  4798. showbrokerflag:
  4799. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  4800. type: integer
  4801. updatetime:
  4802. description: 更新时间
  4803. type: string
  4804. required:
  4805. - autoid
  4806. type: object
  4807. models.Funcmenulist:
  4808. properties:
  4809. iconame:
  4810. description: 菜单图标
  4811. type: string
  4812. menutype:
  4813. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  4814. type: integer
  4815. parentcode:
  4816. description: 上级资源代码
  4817. type: string
  4818. remark:
  4819. description: 备注
  4820. type: string
  4821. resourcecode:
  4822. description: 资源代码
  4823. type: string
  4824. resourcelevel:
  4825. description: 级别 1-一级 2-二级 3-三级 4-四级
  4826. type: integer
  4827. resourcename:
  4828. description: 资源名
  4829. type: string
  4830. sort:
  4831. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  4832. type: integer
  4833. url:
  4834. description: URL
  4835. type: string
  4836. required:
  4837. - resourcecode
  4838. type: object
  4839. models.Goods:
  4840. properties:
  4841. agreeunit:
  4842. description: 合约单位
  4843. type: number
  4844. auditaccountid:
  4845. description: 审核操作员账号
  4846. type: integer
  4847. audittime:
  4848. description: 审核时间
  4849. type: string
  4850. cancelaccountid:
  4851. description: 注销操作员账号
  4852. type: integer
  4853. canceltime:
  4854. description: 注销时间
  4855. type: string
  4856. closepricemode:
  4857. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4858. type: integer
  4859. closepriceparam:
  4860. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4861. type: number
  4862. createtime:
  4863. description: 创建时间
  4864. type: string
  4865. creatorid:
  4866. description: 创建人
  4867. type: integer
  4868. currencyid:
  4869. description: 报价货币ID
  4870. type: integer
  4871. cutmode:
  4872. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4873. type: integer
  4874. decimalplace:
  4875. description: 报价小数位
  4876. type: integer
  4877. delistingdate:
  4878. description: 商品退市时间(状态:退市) -- 已作废
  4879. type: string
  4880. delistingmode:
  4881. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4882. type: integer
  4883. deliveryflag:
  4884. description: 交割标志 - 0:不可交割 1:可交割
  4885. type: integer
  4886. forceclosemode:
  4887. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4888. type: integer
  4889. forceclosevalue:
  4890. description: 定期强平参数 [收益权]
  4891. type: integer
  4892. goodscode:
  4893. description: 商品代码(内部)
  4894. type: string
  4895. goodscurrencyid:
  4896. description: 合约货币ID
  4897. type: integer
  4898. goodsgroupid:
  4899. description: 所属商品组ID
  4900. type: integer
  4901. goodsid:
  4902. description: 商品ID(自增ID SEQ_GOODS)
  4903. type: integer
  4904. goodsname:
  4905. description: 商品名称
  4906. type: string
  4907. goodsquotetype:
  4908. description: '合约报价类型: 1-直接报价 2-间接报价'
  4909. type: integer
  4910. goodsstatus:
  4911. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4912. type: integer
  4913. goodstradetype:
  4914. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4915. type: integer
  4916. goodunitid:
  4917. description: 报价单位ID
  4918. type: integer
  4919. hasquoter:
  4920. description: 是否有报价商 - 0:无报价商 1:有报价商
  4921. type: integer
  4922. hqprotecttime:
  4923. description: 行情保护时间(秒)
  4924. type: integer
  4925. innerdealmode:
  4926. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4927. type: integer
  4928. isbuylimited:
  4929. description: 是否限制建仓量 - 0:不限制 1:限制
  4930. type: integer
  4931. lasttradedate:
  4932. description: 最后交易日期(状态:待退市)
  4933. type: string
  4934. listingdate:
  4935. description: 交易开始日期
  4936. type: string
  4937. marketid:
  4938. description: 所属市场ID
  4939. type: integer
  4940. modifierid:
  4941. description: 修改人
  4942. type: integer
  4943. modifystatus:
  4944. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4945. type: integer
  4946. modifytime:
  4947. description: 修改时间
  4948. type: string
  4949. outerdealmode:
  4950. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4951. type: integer
  4952. outgoodscode:
  4953. description: 商品代码(外部)
  4954. type: string
  4955. qtydecimalplace:
  4956. description: 成交量小数位
  4957. type: integer
  4958. quotegear:
  4959. description: 行情档位(1-10)
  4960. type: integer
  4961. quoteminunit:
  4962. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4963. type: integer
  4964. quoteshowtype:
  4965. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4966. type: integer
  4967. quoteshowtypeinterval:
  4968. description: 行情报价间隔时间(秒)(成交价时为0)
  4969. type: integer
  4970. remark:
  4971. description: 备注
  4972. type: string
  4973. required:
  4974. - goodscode
  4975. - goodsid
  4976. - goodsname
  4977. - marketid
  4978. type: object
  4979. models.GoodsBrand:
  4980. properties:
  4981. brandid:
  4982. description: 品牌ID
  4983. type: integer
  4984. brandname:
  4985. description: 品牌名称
  4986. type: string
  4987. isvalid:
  4988. description: 是否有效 - 0:无效 1:有效
  4989. type: integer
  4990. type: object
  4991. models.GoodsGroupConvert:
  4992. properties:
  4993. convertratio:
  4994. description: 折算系数
  4995. type: number
  4996. dstgoodsgroupid:
  4997. description: 目标期货品种ID
  4998. type: integer
  4999. goodsgroupname:
  5000. description: 期货品种名称
  5001. type: string
  5002. outergroupcode:
  5003. description: 期货品种代码
  5004. type: string
  5005. srcgoodsgroupid:
  5006. description: 源期货品种ID
  5007. type: integer
  5008. type: object
  5009. models.GoodsIDAndName:
  5010. properties:
  5011. goodscode:
  5012. description: 商品代码(内部)
  5013. type: string
  5014. goodsid:
  5015. description: 商品ID(自增ID SEQ_GOODS)
  5016. type: integer
  5017. goodsname:
  5018. description: 商品名称
  5019. type: string
  5020. marketid:
  5021. description: 所属市场ID
  5022. type: integer
  5023. required:
  5024. - goodscode
  5025. - goodsid
  5026. - goodsname
  5027. - marketid
  5028. type: object
  5029. models.GoodsTypeModel:
  5030. properties:
  5031. modelid:
  5032. description: 型号ID
  5033. type: integer
  5034. modelname:
  5035. description: 型号名称
  5036. type: string
  5037. updatetime:
  5038. description: 更新时间
  5039. type: string
  5040. type: object
  5041. models.Goodsgroup:
  5042. properties:
  5043. agreeunit:
  5044. description: 合约单位
  5045. type: number
  5046. canshort:
  5047. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5048. type: integer
  5049. closepricemode:
  5050. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5051. type: integer
  5052. closepriceparam:
  5053. description: 强平最新价浮动比例 - 方式为2时使用
  5054. type: number
  5055. createtime:
  5056. description: 创建时间
  5057. type: string
  5058. creatorid:
  5059. description: 创建人
  5060. type: integer
  5061. currencyid:
  5062. description: 报价货币ID
  5063. type: integer
  5064. decimalplace:
  5065. description: 报价小数位
  5066. type: integer
  5067. exercisetype:
  5068. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5069. type: integer
  5070. exexchangeid:
  5071. description: 外部交易所ID[通道交易]
  5072. type: integer
  5073. goodsgroupid:
  5074. description: 商品组ID(自增ID)
  5075. type: integer
  5076. goodsgroupname:
  5077. description: 商品组名称
  5078. type: string
  5079. goodsgroupstatus:
  5080. description: 商品组状态 - 1:正常 2:注销
  5081. type: integer
  5082. goodunitid:
  5083. description: 报价单位ID
  5084. type: integer
  5085. innerdealmode:
  5086. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5087. type: integer
  5088. isbuylimited:
  5089. description: 是否限制建仓量 - 0:不限制 1:限制
  5090. type: integer
  5091. marketid:
  5092. description: 所属市场ID
  5093. type: integer
  5094. modifierid:
  5095. description: 修改人
  5096. type: integer
  5097. modifytime:
  5098. description: 修改时间
  5099. type: string
  5100. outerdealmode:
  5101. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5102. type: integer
  5103. outergroupcode:
  5104. description: 外部商品组代码[通道交易]
  5105. type: string
  5106. premiumdecimalplace:
  5107. description: 权利金小数位[场外期权]
  5108. type: integer
  5109. premiumspreadalgorithm:
  5110. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5111. type: integer
  5112. premiumspreadvalue:
  5113. description: 权利金点差值[场外期权]
  5114. type: number
  5115. qtydecimalplace:
  5116. description: 成交量小数位
  5117. type: integer
  5118. quotegear:
  5119. description: 行情档位(1-10)
  5120. type: integer
  5121. quoteminunit:
  5122. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5123. type: integer
  5124. quoterid:
  5125. description: 报价商ID[场外期权]
  5126. type: integer
  5127. quotesourcegroupid:
  5128. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5129. type: integer
  5130. syncgoodsqty:
  5131. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5132. type: integer
  5133. required:
  5134. - goodsgroupid
  5135. - goodsgroupname
  5136. - goodsgroupstatus
  5137. - marketid
  5138. type: object
  5139. models.HsbyBuyMyPayOrder:
  5140. properties:
  5141. agreeunit:
  5142. description: 合约单位
  5143. type: number
  5144. buyaccountid:
  5145. description: 买方账号ID[报价币种]
  5146. type: integer
  5147. buyorderid:
  5148. description: 买方委托单号
  5149. type: string
  5150. createtime:
  5151. description: 创建时间
  5152. type: string
  5153. currencysign:
  5154. description: 货币符号
  5155. type: string
  5156. decimalplace:
  5157. description: 报价小数位
  5158. type: integer
  5159. goodscode:
  5160. description: 商品代码(内部)
  5161. type: string
  5162. goodsid:
  5163. description: 商品ID
  5164. type: integer
  5165. goodsname:
  5166. description: 商品名称
  5167. type: string
  5168. marketid:
  5169. description: 市场ID
  5170. type: integer
  5171. offamount:
  5172. description: 优惠金额
  5173. type: number
  5174. originalamount:
  5175. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  5176. type: number
  5177. payamount:
  5178. description: 支付金额 = TradeAmount + TradeCharge
  5179. type: number
  5180. payflag:
  5181. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5182. type: integer
  5183. paylimitedtime:
  5184. description: 支付期限
  5185. type: string
  5186. paytime:
  5187. description: 付款时间
  5188. type: string
  5189. picurls1:
  5190. description: 预售商品介绍图片[多张用逗号分隔]
  5191. type: string
  5192. picurls2:
  5193. description: 挂牌商品介绍图片[多张用逗号分隔]
  5194. type: string
  5195. sellaccountid:
  5196. description: 卖方账号ID[报价币种]
  5197. type: integer
  5198. sellorderid:
  5199. description: 卖方委托单号
  5200. type: string
  5201. tradeamount:
  5202. description: 成交金额
  5203. type: number
  5204. tradecharge:
  5205. description: 成交手续费(买方)
  5206. type: number
  5207. tradedate:
  5208. description: 交易日(yyyyMMdd)
  5209. type: string
  5210. tradeid:
  5211. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5212. type: string
  5213. trademode:
  5214. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5215. 21:竞拍-大宗式 22:受托竞价
  5216. type: integer
  5217. tradeprice:
  5218. description: 成交价格
  5219. type: number
  5220. tradeqty:
  5221. description: 成交数量
  5222. type: integer
  5223. vendorname1:
  5224. description: 预售商品供应商名称
  5225. type: string
  5226. vendorname2:
  5227. description: 挂牌商品供应商名称
  5228. type: string
  5229. required:
  5230. - goodscode
  5231. - goodsname
  5232. - tradeid
  5233. - trademode
  5234. type: object
  5235. models.HsbyBuyMyTradeDetail:
  5236. properties:
  5237. accountid:
  5238. description: 账户ID[报价币种]
  5239. type: integer
  5240. agreeunit:
  5241. description: 合约单位
  5242. type: number
  5243. amount:
  5244. description: 金额 = 价格 * 数量 * 合约单位
  5245. type: number
  5246. buyorsell:
  5247. description: 买卖 - 0:买 1:卖
  5248. type: integer
  5249. currencysign:
  5250. description: 货币符号
  5251. type: string
  5252. decimalplace:
  5253. description: 报价小数位
  5254. type: integer
  5255. goodscode:
  5256. description: 商品代码(内部)
  5257. type: string
  5258. goodsid:
  5259. description: 商品ID
  5260. type: integer
  5261. goodsname:
  5262. description: 商品名称
  5263. type: string
  5264. marketid:
  5265. description: 市场ID
  5266. type: integer
  5267. orderid:
  5268. description: 单号(成交单号)
  5269. type: string
  5270. picurls1:
  5271. description: 预售商品介绍图片[多张用逗号分隔]
  5272. type: string
  5273. picurls2:
  5274. description: 挂牌商品介绍图片[多张用逗号分隔]
  5275. type: string
  5276. price:
  5277. description: 价格
  5278. type: number
  5279. qty:
  5280. description: 数量
  5281. type: integer
  5282. time:
  5283. description: 时间
  5284. type: string
  5285. trademode:
  5286. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5287. 21:竞拍-大宗式 22:受托竞价
  5288. type: integer
  5289. vendorname1:
  5290. description: 预售商品供应商名称
  5291. type: string
  5292. vendorname2:
  5293. description: 挂牌商品供应商名称
  5294. type: string
  5295. required:
  5296. - accountid
  5297. - buyorsell
  5298. - goodscode
  5299. - goodsid
  5300. - goodsname
  5301. - marketid
  5302. - orderid
  5303. - qty
  5304. - time
  5305. - trademode
  5306. type: object
  5307. models.HsbyGoodsOrderDetail:
  5308. properties:
  5309. buyorsell:
  5310. description: 买卖 - 0:买 1:卖
  5311. type: integer
  5312. currencysign:
  5313. description: 货币符号
  5314. type: string
  5315. customername:
  5316. description: 客户名称(企业名称),已脱敏
  5317. type: string
  5318. enableqty:
  5319. description: 可用数量
  5320. type: integer
  5321. goodunit:
  5322. description: 报价单位
  5323. type: string
  5324. orderid:
  5325. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5326. type: string
  5327. orderprice:
  5328. description: 委托价格
  5329. type: number
  5330. ordertime:
  5331. description: 委托时间
  5332. type: string
  5333. required:
  5334. - buyorsell
  5335. - orderid
  5336. - ordertime
  5337. type: object
  5338. models.HsbyListingGoodsDetail:
  5339. properties:
  5340. agreeunit:
  5341. description: 合约单位
  5342. type: number
  5343. buymaxqty:
  5344. description: 购买上限 [71] - 0为不限
  5345. type: integer
  5346. currency:
  5347. description: 货币
  5348. type: string
  5349. currencysign:
  5350. description: 货币符号
  5351. type: string
  5352. decimalplace:
  5353. description: 报价小数位
  5354. type: integer
  5355. desccityid:
  5356. description: 目的地(市)ID
  5357. type: integer
  5358. descprovinceid:
  5359. description: 目的地(省)ID
  5360. type: integer
  5361. goodscode:
  5362. description: 商品代码(内部)
  5363. type: string
  5364. goodsdesc:
  5365. description: 商品详情
  5366. type: string
  5367. goodsid:
  5368. description: 商品ID(自增ID SEQ_GOODS)
  5369. type: integer
  5370. goodsname:
  5371. description: 商品名称
  5372. type: string
  5373. goodsprice:
  5374. description: 商品价格
  5375. type: number
  5376. hotindex:
  5377. description: 景点热度
  5378. type: integer
  5379. last:
  5380. description: 现价
  5381. type: number
  5382. limitdown:
  5383. description: 跌停价
  5384. type: number
  5385. limitup:
  5386. description: 涨停价
  5387. type: number
  5388. lotsize:
  5389. description: 手数最小变动单位
  5390. type: integer
  5391. marketid:
  5392. description: 所属市场ID
  5393. type: integer
  5394. picurls:
  5395. description: 介绍图片[多张用逗号分隔]
  5396. type: string
  5397. quoteminunit:
  5398. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5399. type: integer
  5400. stepvalue:
  5401. description: 价格最小变动单位
  5402. type: number
  5403. trademode:
  5404. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5405. 21:竞拍-大宗式 22:受托竞价
  5406. type: integer
  5407. vendorattr:
  5408. description: 供应商附件(多张,逗号分隔)
  5409. type: string
  5410. vendorname:
  5411. description: 供应商名称
  5412. type: string
  5413. vendorphone:
  5414. description: 供应商客服电话
  5415. type: string
  5416. videourls:
  5417. description: 介绍视频[多张用逗号分隔]
  5418. type: string
  5419. required:
  5420. - goodscode
  5421. - goodsid
  5422. - goodsname
  5423. - marketid
  5424. - trademode
  5425. type: object
  5426. models.HsbyMarketGoods:
  5427. properties:
  5428. accountid:
  5429. description: 账户ID[报价币种]
  5430. type: integer
  5431. agreeunit:
  5432. description: 合约单位
  5433. type: number
  5434. buyorsell:
  5435. description: 买卖 - 0:买 1:卖
  5436. type: integer
  5437. categoryid:
  5438. description: 类别ID(WRCATEGORY)
  5439. type: integer
  5440. currency:
  5441. description: 货币
  5442. type: string
  5443. currencysign:
  5444. description: 货币符号
  5445. type: string
  5446. customername:
  5447. description: 卖家名称
  5448. type: string
  5449. decimalplace:
  5450. description: 报价小数位
  5451. type: integer
  5452. goodscode:
  5453. description: 商品代码(内部)
  5454. type: string
  5455. goodsid:
  5456. description: 商品ID
  5457. type: integer
  5458. goodsname:
  5459. description: 商品名称
  5460. type: string
  5461. goodsprice:
  5462. description: 商品价格
  5463. type: number
  5464. hascoupon:
  5465. description: 是否可用优惠卷
  5466. type: boolean
  5467. hotindex:
  5468. description: 景点热度
  5469. type: integer
  5470. marketid:
  5471. description: 市场ID
  5472. type: integer
  5473. orderid:
  5474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5475. type: string
  5476. orderprice:
  5477. description: 委托价格
  5478. type: number
  5479. orderstatus:
  5480. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5481. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5482. 16:成交失败违约(荷兰式竞拍专用)
  5483. type: integer
  5484. picurls:
  5485. description: 介绍图片[多张用逗号分隔]
  5486. type: string
  5487. quoteminunit:
  5488. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5489. type: integer
  5490. sellUserID:
  5491. description: 卖方UserID
  5492. type: integer
  5493. trademode:
  5494. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5495. 21:竞拍-大宗式 22:受托竞价
  5496. type: integer
  5497. videourls:
  5498. description: 介绍视频[多张用逗号分隔]
  5499. type: string
  5500. required:
  5501. - accountid
  5502. - buyorsell
  5503. - goodscode
  5504. - goodsid
  5505. - goodsname
  5506. - marketid
  5507. - orderid
  5508. - trademode
  5509. type: object
  5510. models.HsbyMarketGoodsDetail:
  5511. properties:
  5512. accountid:
  5513. description: 账户ID[报价币种]
  5514. type: integer
  5515. agreeunit:
  5516. description: 合约单位
  5517. type: number
  5518. buymaxqty:
  5519. description: 购买上限 [71] - 0为不限
  5520. type: integer
  5521. buyorsell:
  5522. description: 买卖 - 0:买 1:卖
  5523. type: integer
  5524. cancelqty:
  5525. description: 撤单数量
  5526. type: integer
  5527. categoryid:
  5528. description: 类别ID(WRCATEGORY)
  5529. type: integer
  5530. currency:
  5531. description: 货币
  5532. type: string
  5533. currencysign:
  5534. description: 货币符号
  5535. type: string
  5536. customername:
  5537. description: 卖家名称
  5538. type: string
  5539. decimalplace:
  5540. description: 报价小数位
  5541. type: integer
  5542. goodscode:
  5543. description: 商品代码(内部)
  5544. type: string
  5545. goodsdesc:
  5546. description: 商品详情
  5547. type: string
  5548. goodsid:
  5549. description: 商品ID
  5550. type: integer
  5551. goodsname:
  5552. description: 商品名称
  5553. type: string
  5554. goodsprice:
  5555. description: 商品价格
  5556. type: number
  5557. hotindex:
  5558. description: 景点热度
  5559. type: integer
  5560. lotsize:
  5561. description: 手数最小变动单位
  5562. type: integer
  5563. marketid:
  5564. description: 市场ID
  5565. type: integer
  5566. orderid:
  5567. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5568. type: string
  5569. orderprice:
  5570. description: 委托价格
  5571. type: number
  5572. orderqty:
  5573. description: 委托数量
  5574. type: integer
  5575. orderstatus:
  5576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5578. 16:成交失败违约(荷兰式竞拍专用)
  5579. type: integer
  5580. picurls:
  5581. description: 介绍图片[多张用逗号分隔]
  5582. type: string
  5583. quoteminunit:
  5584. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5585. type: integer
  5586. sellUserID:
  5587. description: 卖方UserID
  5588. type: integer
  5589. trademode:
  5590. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5591. 21:竞拍-大宗式 22:受托竞价
  5592. type: integer
  5593. tradeqty:
  5594. description: 成交数量
  5595. type: integer
  5596. vendorattr:
  5597. description: 供应商附件(多张,逗号分隔)
  5598. type: string
  5599. vendorname:
  5600. description: 供应商名称
  5601. type: string
  5602. vendorphone:
  5603. description: 供应商客服电话
  5604. type: string
  5605. videourls:
  5606. description: 介绍视频[多张用逗号分隔]
  5607. type: string
  5608. required:
  5609. - accountid
  5610. - buyorsell
  5611. - goodscode
  5612. - goodsid
  5613. - goodsname
  5614. - marketid
  5615. - orderid
  5616. - orderqty
  5617. - trademode
  5618. type: object
  5619. models.HsbyMarketInfo:
  5620. properties:
  5621. marketid:
  5622. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5623. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5624. type: integer
  5625. marketname:
  5626. description: 市场名称
  5627. type: string
  5628. marketstatus:
  5629. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5630. type: integer
  5631. trademode:
  5632. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5633. 21:竞拍-大宗式 22:受托竞价
  5634. type: integer
  5635. required:
  5636. - marketid
  5637. - marketstatus
  5638. - trademode
  5639. type: object
  5640. models.HsbyMyGoods:
  5641. properties:
  5642. accountid:
  5643. description: 账号Id
  5644. type: integer
  5645. agreeunit:
  5646. description: 合约单位
  5647. type: number
  5648. buyaverageprice:
  5649. description: 持仓均价
  5650. type: number
  5651. buycurholderamount:
  5652. description: 买当前持仓总金额[商品币种]
  5653. type: number
  5654. buycurpositionqty:
  5655. description: 买当前持仓总数量
  5656. type: integer
  5657. buymaxqty:
  5658. description: 购买上限 [71] - 0为不限
  5659. type: integer
  5660. currencysign:
  5661. description: 货币符号
  5662. type: string
  5663. decimalplace:
  5664. description: 报价小数位
  5665. type: integer
  5666. enableqty:
  5667. description: 可用数量
  5668. type: integer
  5669. goodscode:
  5670. description: 商品代码(内部)
  5671. type: string
  5672. goodsid:
  5673. description: 商品Id
  5674. type: integer
  5675. goodsname:
  5676. description: 商品名称
  5677. type: string
  5678. goodsprice:
  5679. description: 商品价格
  5680. type: number
  5681. goodsstatus:
  5682. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5683. type: integer
  5684. last:
  5685. description: 现价(仅使用于挂牌点选)
  5686. type: number
  5687. limitdown:
  5688. description: 跌停价(仅使用于挂牌点选)
  5689. type: number
  5690. limitup:
  5691. description: 涨停价(仅使用于挂牌点选)
  5692. type: number
  5693. lotsize:
  5694. description: 手数最小变动单位
  5695. type: integer
  5696. marketid:
  5697. description: 所属市场ID
  5698. type: integer
  5699. picurls:
  5700. description: 介绍图片[多张用逗号分隔]
  5701. type: string
  5702. quoteminunit:
  5703. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5704. type: integer
  5705. stepvalue:
  5706. description: 价格最小变动单位
  5707. type: number
  5708. trademode:
  5709. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5710. 21:竞拍-大宗式 22:受托竞价
  5711. type: integer
  5712. required:
  5713. - accountid
  5714. - goodscode
  5715. - goodsid
  5716. - goodsname
  5717. - marketid
  5718. - trademode
  5719. type: object
  5720. models.HsbyMyPackage:
  5721. properties:
  5722. accountid:
  5723. description: 账户ID
  5724. type: integer
  5725. address:
  5726. description: 提货人详细地址
  5727. type: string
  5728. agreeunit:
  5729. description: 合约单位
  5730. type: number
  5731. amount:
  5732. description: 提货金额
  5733. type: number
  5734. auditer:
  5735. description: 审核人
  5736. type: integer
  5737. audittime:
  5738. description: 审核时间
  5739. type: string
  5740. averageprice:
  5741. description: 均价
  5742. type: number
  5743. cardnum:
  5744. description: 提货人证件号码
  5745. type: string
  5746. cardtypeid:
  5747. description: 提货人证件类型
  5748. type: integer
  5749. checkremark:
  5750. description: 审核备注
  5751. type: string
  5752. currencysign:
  5753. description: 货币符号
  5754. type: string
  5755. decimalplace:
  5756. description: 报价小数位
  5757. type: integer
  5758. goodscode:
  5759. description: 商品代码(内部)
  5760. type: string
  5761. goodsid:
  5762. description: 商品ID
  5763. type: integer
  5764. goodsname:
  5765. description: 商品名称
  5766. type: string
  5767. handlestatus:
  5768. description: 处理状态
  5769. type: integer
  5770. marketid:
  5771. description: 市场ID
  5772. type: integer
  5773. phonenum:
  5774. description: 提货人联系方式
  5775. type: string
  5776. picurls:
  5777. description: 介绍图片[多张用逗号分隔]
  5778. type: string
  5779. qty:
  5780. description: 提货数量
  5781. type: number
  5782. recivername:
  5783. description: 提货人姓名
  5784. type: string
  5785. reqtime:
  5786. description: 更新时间
  5787. type: string
  5788. takemode:
  5789. description: 提货方式 - 2:自提 3:配送
  5790. type: integer
  5791. takeorderid:
  5792. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5793. type: string
  5794. takeorderstatus:
  5795. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5796. type: integer
  5797. takeremark:
  5798. description: 提货备注
  5799. type: string
  5800. tradedate:
  5801. description: 交易日(yyyyMMdd)
  5802. type: string
  5803. trademode:
  5804. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5805. 21:竞拍-大宗式 22:受托竞价
  5806. type: integer
  5807. userid:
  5808. description: 用户ID
  5809. type: integer
  5810. vendorname:
  5811. description: 供应商名称
  5812. type: string
  5813. required:
  5814. - goodscode
  5815. - goodsname
  5816. - takeorderid
  5817. - trademode
  5818. type: object
  5819. models.HsbyPreGoods:
  5820. properties:
  5821. agreeunit:
  5822. description: 合约单位
  5823. type: number
  5824. currency:
  5825. description: 货币
  5826. type: string
  5827. currencysign:
  5828. description: 货币符号
  5829. type: string
  5830. decimalplace:
  5831. description: 报价小数位
  5832. type: integer
  5833. desccityid:
  5834. description: 目的地(市)
  5835. type: integer
  5836. descprovinceid:
  5837. description: 目的地(省)
  5838. type: integer
  5839. enableqty:
  5840. description: 剩余数量
  5841. type: integer
  5842. goodscode:
  5843. description: 商品代码(内部)
  5844. type: string
  5845. goodsid:
  5846. description: 商品ID(自增ID SEQ_GOODS)
  5847. type: integer
  5848. goodsname:
  5849. description: 商品名称
  5850. type: string
  5851. goodsstatus:
  5852. description: 商品状态- 2:未上市 3:上市
  5853. type: integer
  5854. lasttradedate:
  5855. description: 最后交易日期(状态:待退市)
  5856. type: string
  5857. listingdate:
  5858. description: 交易开始日期
  5859. type: string
  5860. marketid:
  5861. description: 所属市场ID
  5862. type: integer
  5863. picurls:
  5864. description: 介绍图片[多张用逗号分隔]
  5865. type: string
  5866. presaledqty:
  5867. description: 已预售量(预售结束时更新)
  5868. type: integer
  5869. presaleqty:
  5870. description: 预售数量
  5871. type: integer
  5872. quoteminunit:
  5873. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5874. type: integer
  5875. refprice:
  5876. description: 参考价格[一口价]
  5877. type: number
  5878. relatedgoodsid:
  5879. description: 关联交易合约ID
  5880. type: integer
  5881. trademode:
  5882. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5883. 21:竞拍-大宗式 22:受托竞价
  5884. type: integer
  5885. videourls:
  5886. description: 介绍视频[多张用逗号分隔]
  5887. type: string
  5888. required:
  5889. - goodscode
  5890. - goodsid
  5891. - goodsname
  5892. - marketid
  5893. - trademode
  5894. type: object
  5895. models.HsbyPreGoodsDetail:
  5896. properties:
  5897. agreeunit:
  5898. description: 合约单位
  5899. type: number
  5900. buymaxqty:
  5901. description: 购买上限 [71] - 0为不限
  5902. type: integer
  5903. currency:
  5904. description: 货币
  5905. type: string
  5906. currencysign:
  5907. description: 货币符号
  5908. type: string
  5909. customername:
  5910. description: 发行单位
  5911. type: string
  5912. decimalplace:
  5913. description: 报价小数位
  5914. type: integer
  5915. desccityid:
  5916. description: 目的地(市)ID
  5917. type: integer
  5918. descprovinceid:
  5919. description: 目的地(省)ID
  5920. type: integer
  5921. enableqty:
  5922. description: 剩余数量
  5923. type: integer
  5924. goodscode:
  5925. description: 商品代码(内部)
  5926. type: string
  5927. goodsdesc:
  5928. description: 商品详情
  5929. type: string
  5930. goodsid:
  5931. description: 商品ID(自增ID SEQ_GOODS)
  5932. type: integer
  5933. goodsname:
  5934. description: 商品名称
  5935. type: string
  5936. goodsstatus:
  5937. description: 商品状态- 2:未上市 3:上市
  5938. type: integer
  5939. goodunit:
  5940. description: 报价单位
  5941. type: string
  5942. lasttradedate:
  5943. description: 最后交易日期(状态:待退市)
  5944. type: string
  5945. listingdate:
  5946. description: 交易开始日期
  5947. type: string
  5948. lotsize:
  5949. description: 手数最小变动单位
  5950. type: integer
  5951. marketid:
  5952. description: 所属市场ID
  5953. type: integer
  5954. picurls:
  5955. description: 介绍图片[多张用逗号分隔]
  5956. type: string
  5957. presaledqty:
  5958. description: 已预售量(预售结束时更新)
  5959. type: integer
  5960. presaleqty:
  5961. description: 预售数量
  5962. type: integer
  5963. quoteminunit:
  5964. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5965. type: integer
  5966. refprice:
  5967. description: 参考价格[一口价]
  5968. type: number
  5969. relatedgoodsid:
  5970. description: 关联交易合约ID
  5971. type: integer
  5972. stepvalue:
  5973. description: 价格最小变动单位
  5974. type: number
  5975. trademode:
  5976. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5977. 21:竞拍-大宗式 22:受托竞价
  5978. type: integer
  5979. vendorattr:
  5980. description: 供应商附件(多张,逗号分隔)
  5981. type: string
  5982. vendorname:
  5983. description: 供应商名称
  5984. type: string
  5985. vendorphone:
  5986. description: 供应商客服电话
  5987. type: string
  5988. videourls:
  5989. description: 介绍视频[多张用逗号分隔]
  5990. type: string
  5991. required:
  5992. - goodscode
  5993. - goodsid
  5994. - goodsname
  5995. - marketid
  5996. - trademode
  5997. type: object
  5998. models.HsbySellCollectionOrder:
  5999. properties:
  6000. agreeunit:
  6001. description: 合约单位
  6002. type: number
  6003. buyaccountid:
  6004. description: 买方账号ID[报价币种]
  6005. type: integer
  6006. buyorderid:
  6007. description: 买方委托单号
  6008. type: string
  6009. createtime:
  6010. description: 创建时间
  6011. type: string
  6012. currencysign:
  6013. description: 货币符号
  6014. type: string
  6015. decimalplace:
  6016. description: 报价小数位
  6017. type: integer
  6018. goodscode:
  6019. description: 商品代码(内部)
  6020. type: string
  6021. goodsid:
  6022. description: 商品ID
  6023. type: integer
  6024. goodsname:
  6025. description: 商品名称
  6026. type: string
  6027. marketid:
  6028. description: 市场ID
  6029. type: integer
  6030. offamount:
  6031. description: 优惠金额
  6032. type: number
  6033. payamount:
  6034. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6035. type: number
  6036. payflag:
  6037. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6038. type: integer
  6039. paylimitedtime:
  6040. description: 支付期限
  6041. type: string
  6042. paytime:
  6043. description: 付款时间
  6044. type: string
  6045. picurls:
  6046. description: 商品介绍图片[多张用逗号分隔]
  6047. type: string
  6048. sellaccountid:
  6049. description: 卖方账号ID[报价币种]
  6050. type: integer
  6051. sellorderid:
  6052. description: 卖方委托单号
  6053. type: string
  6054. tradeamount:
  6055. description: 成交金额
  6056. type: number
  6057. tradecharge:
  6058. description: 成交手续费(买方)
  6059. type: number
  6060. tradedate:
  6061. description: 交易日(yyyyMMdd)
  6062. type: string
  6063. tradeid:
  6064. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6065. type: string
  6066. trademode:
  6067. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6068. 21:竞拍-大宗式 22:受托竞价
  6069. type: integer
  6070. tradeprice:
  6071. description: 成交价格
  6072. type: number
  6073. tradeqty:
  6074. description: 成交数量
  6075. type: integer
  6076. required:
  6077. - goodscode
  6078. - goodsname
  6079. - tradeid
  6080. - trademode
  6081. type: object
  6082. models.HsbySellMyDetail:
  6083. properties:
  6084. accountid:
  6085. description: 账户ID[报价币种]
  6086. type: integer
  6087. agreeunit:
  6088. description: 合约单位
  6089. type: number
  6090. buyorsell:
  6091. description: 买卖 - 0:买 1:卖
  6092. type: integer
  6093. currencysign:
  6094. description: 货币符号
  6095. type: string
  6096. decimalplace:
  6097. description: 报价小数位
  6098. type: integer
  6099. goodscode:
  6100. description: 商品代码(内部)
  6101. type: string
  6102. goodsid:
  6103. description: 商品ID
  6104. type: integer
  6105. goodsname:
  6106. description: 商品名称
  6107. type: string
  6108. marketid:
  6109. description: 市场ID
  6110. type: integer
  6111. orderid:
  6112. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6113. type: string
  6114. ordertype:
  6115. description: 单据类型:0 - 发布中, 1 - 已完成
  6116. type: integer
  6117. picurls:
  6118. description: 介绍图片[多张用逗号分隔]
  6119. type: string
  6120. price:
  6121. description: 价格
  6122. type: number
  6123. qty:
  6124. description: 数量
  6125. type: integer
  6126. time:
  6127. description: 时间
  6128. type: string
  6129. trademode:
  6130. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6131. 21:竞拍-大宗式 22:受托竞价
  6132. type: integer
  6133. vendorname:
  6134. description: 供应商名称
  6135. type: string
  6136. required:
  6137. - accountid
  6138. - buyorsell
  6139. - goodscode
  6140. - goodsid
  6141. - goodsname
  6142. - marketid
  6143. - orderid
  6144. - time
  6145. - trademode
  6146. type: object
  6147. models.HsbyTopGoods:
  6148. properties:
  6149. agreeunit:
  6150. description: 合约单位
  6151. type: number
  6152. currency:
  6153. description: 货币
  6154. type: string
  6155. currencysign:
  6156. description: 货币符号
  6157. type: string
  6158. decimalplace:
  6159. description: 报价小数位
  6160. type: integer
  6161. desccityid:
  6162. description: 目的地(市)
  6163. type: integer
  6164. descprovinceid:
  6165. description: 目的地(省)
  6166. type: integer
  6167. goodscode:
  6168. description: 商品代码(内部)
  6169. type: string
  6170. goodsid:
  6171. description: 商品ID(自增ID SEQ_GOODS)
  6172. type: integer
  6173. goodsname:
  6174. description: 商品名称
  6175. type: string
  6176. hotindex:
  6177. description: 景点热度
  6178. type: integer
  6179. last:
  6180. description: 现价
  6181. type: number
  6182. marketid:
  6183. description: 所属市场ID
  6184. type: integer
  6185. picurls:
  6186. description: 介绍图片[多张用逗号分隔]
  6187. type: string
  6188. quoteminunit:
  6189. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6190. type: integer
  6191. trademode:
  6192. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6193. 21:竞拍-大宗式 22:受托竞价
  6194. type: integer
  6195. videourls:
  6196. description: 介绍视频[多张用逗号分隔]
  6197. type: string
  6198. required:
  6199. - goodscode
  6200. - goodsid
  6201. - goodsname
  6202. - marketid
  6203. - trademode
  6204. type: object
  6205. models.HybsMyBuyOrderDetail:
  6206. properties:
  6207. accountid:
  6208. description: 账户ID[报价币种]
  6209. type: integer
  6210. agreeunit:
  6211. description: 合约单位
  6212. type: number
  6213. buyorsell:
  6214. description: 买卖 - 0:买 1:卖
  6215. type: integer
  6216. cancelqty:
  6217. description: 撤单数量
  6218. type: integer
  6219. currencysign:
  6220. description: 货币符号
  6221. type: string
  6222. decimalplace:
  6223. description: 报价小数位
  6224. type: integer
  6225. goodscode:
  6226. description: 商品代码(内部)
  6227. type: string
  6228. goodsid:
  6229. description: 商品ID
  6230. type: integer
  6231. goodsname:
  6232. description: 商品名称
  6233. type: string
  6234. listingselecttype:
  6235. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6236. type: integer
  6237. marketid:
  6238. description: 市场ID
  6239. type: integer
  6240. mybuystatus:
  6241. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6242. type: integer
  6243. orderamount:
  6244. description: 委托金额
  6245. type: number
  6246. orderid:
  6247. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6248. type: string
  6249. orderprice:
  6250. description: 委托价格
  6251. type: number
  6252. orderqty:
  6253. description: 委托数量
  6254. type: integer
  6255. orderstatus:
  6256. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6257. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6258. 16:成交失败违约(荷兰式竞拍专用)
  6259. type: integer
  6260. ordertime:
  6261. description: 委托时间
  6262. type: string
  6263. picurls1:
  6264. description: 预售商品介绍图片[多张用逗号分隔]
  6265. type: string
  6266. picurls2:
  6267. description: 挂牌商品介绍图片[多张用逗号分隔]
  6268. type: string
  6269. trademode:
  6270. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6271. 21:竞拍-大宗式 22:受托竞价
  6272. type: integer
  6273. tradeqty:
  6274. description: 成交数量
  6275. type: integer
  6276. vendorname1:
  6277. description: 预售商品供应商名称
  6278. type: string
  6279. vendorname2:
  6280. description: 挂牌商品供应商名称
  6281. type: string
  6282. required:
  6283. - accountid
  6284. - buyorsell
  6285. - goodscode
  6286. - goodsid
  6287. - goodsname
  6288. - marketid
  6289. - orderid
  6290. - orderqty
  6291. - ordertime
  6292. - trademode
  6293. type: object
  6294. models.Loginaccount:
  6295. properties:
  6296. canoutin:
  6297. description: 是否可出入金 - 0:不可 1:可
  6298. type: integer
  6299. clientroleid:
  6300. description: 终端角色ID
  6301. type: integer
  6302. haslogined:
  6303. description: 是否已登录 - 0:未登录 1:已登录
  6304. type: integer
  6305. hasupdatedpwd:
  6306. description: 是否已更改密码 - 0:未修改 1:已修改
  6307. type: integer
  6308. lastloginip:
  6309. description: 最新登录地址
  6310. type: string
  6311. lastloginmode:
  6312. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6313. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6314. type: integer
  6315. lastloginremark:
  6316. description: 最新登录描述
  6317. type: string
  6318. lastlogintime:
  6319. description: 最新登录时间
  6320. type: string
  6321. logincode:
  6322. description: 登录代码
  6323. type: string
  6324. loginfailnum:
  6325. description: 连续登录失败次数(登录成功时清零)
  6326. type: integer
  6327. loginid:
  6328. description: 登陆账号
  6329. type: integer
  6330. loginport:
  6331. description: 最新登录端口
  6332. type: integer
  6333. loginstatus:
  6334. description: 登录账号状态 1:正常 2:冻结 3:无效
  6335. type: integer
  6336. loginusertype:
  6337. description: 登录账号类型 - 1:投资者 2:机构交易员
  6338. type: integer
  6339. modifierid:
  6340. description: 修改人
  6341. type: integer
  6342. modifytime:
  6343. description: 修改时间
  6344. type: string
  6345. pwdwrongcount:
  6346. description: 密码错误次数
  6347. type: integer
  6348. taaccountrighttype:
  6349. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6350. type: integer
  6351. unfreezetime:
  6352. description: 账户解冻时间
  6353. type: string
  6354. userid:
  6355. description: 用户ID
  6356. type: integer
  6357. required:
  6358. - loginid
  6359. type: object
  6360. models.Market:
  6361. properties:
  6362. auctionwrtype:
  6363. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6364. type: integer
  6365. canacceptquote:
  6366. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6367. type: integer
  6368. cangoodsexercise:
  6369. description: '[期权]是否可现货行权- 0:否 1:是'
  6370. type: integer
  6371. cangoodsexercisetype:
  6372. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6373. type: integer
  6374. canmanualquotestrike:
  6375. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6376. type: integer
  6377. canmutistage:
  6378. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6379. type: integer
  6380. canpreexercise:
  6381. description: '[期权]是否可预申报- 0:否 1:是'
  6382. type: integer
  6383. clearinterval:
  6384. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6385. type: integer
  6386. contracttmp:
  6387. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6388. type: string
  6389. exchareaid:
  6390. description: 所属交易所,可以没有
  6391. type: integer
  6392. goodstype:
  6393. description: 商品类型 - 1:交易商品 2:仓单商品
  6394. type: integer
  6395. hasrebate:
  6396. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6397. type: integer
  6398. hastradecredit:
  6399. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6400. type: integer
  6401. haswr:
  6402. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6403. type: integer
  6404. isdeductmargin:
  6405. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6406. type: integer
  6407. isrecordsource:
  6408. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6409. type: integer
  6410. isreleasemargin:
  6411. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6412. type: integer
  6413. marginformula:
  6414. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6415. type: integer
  6416. marginformula2:
  6417. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6418. type: integer
  6419. marketid:
  6420. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6421. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6422. type: integer
  6423. marketname:
  6424. description: 市场名称
  6425. type: string
  6426. marketserviceid:
  6427. description: 市场服务ID
  6428. type: integer
  6429. marketstatus:
  6430. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6431. type: integer
  6432. markettype:
  6433. description: 市场类型- 1:非交易服务 2:交易服务
  6434. type: integer
  6435. matchermode:
  6436. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6437. type: integer
  6438. openmethod:
  6439. description: 开盘模式 - 0 自动 1手动
  6440. type: integer
  6441. otcuserid:
  6442. description: 场外期权做市商[场外期权]
  6443. type: integer
  6444. outersynctime:
  6445. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6446. type: string
  6447. pendingflag:
  6448. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6449. type: integer
  6450. pendingtime:
  6451. description: 待开市时间[通道交易-对冲](HH:mm)
  6452. type: string
  6453. performancetempid:
  6454. description: 履约计划模板ID - 作废
  6455. type: integer
  6456. premiumquotemode:
  6457. description: 权利金报价方式 - 1:自动 2:手动
  6458. type: integer
  6459. rebateratio:
  6460. description: 返利比率[竞价式]
  6461. type: number
  6462. reckonorder:
  6463. description: 结算顺序
  6464. type: integer
  6465. reckonpricealgorithm:
  6466. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6467. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6468. type: integer
  6469. reckonpriceparam:
  6470. description: 结算价参数
  6471. type: integer
  6472. reckontime:
  6473. description: 结算时间[通道交易-对冲](HH:mm)
  6474. type: string
  6475. roleprioritytype:
  6476. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6477. type: integer
  6478. selllistingauditflag:
  6479. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6480. type: integer
  6481. trademarkettype:
  6482. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6483. type: integer
  6484. trademode:
  6485. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6486. 21:竞拍-大宗式 22:受托竞价
  6487. type: integer
  6488. tradeproperty:
  6489. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6490. 8:场外期权
  6491. type: integer
  6492. tradetype:
  6493. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6494. type: integer
  6495. required:
  6496. - marketid
  6497. - marketstatus
  6498. - openmethod
  6499. - reckonpricealgorithm
  6500. - trademode
  6501. - tradeproperty
  6502. type: object
  6503. models.Marketrun:
  6504. properties:
  6505. afternexttradedate:
  6506. description: 下下交易日
  6507. type: string
  6508. clearquoteflag:
  6509. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6510. type: integer
  6511. lastreckondate:
  6512. description: 最新交易日(结算成功)
  6513. type: string
  6514. machinedate:
  6515. description: 机器时间
  6516. type: string
  6517. manualflag:
  6518. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6519. type: integer
  6520. marketid:
  6521. description: 市场ID
  6522. type: integer
  6523. nexttradedate:
  6524. description: 下一交易日
  6525. type: string
  6526. pretradedate:
  6527. description: 上一交易日
  6528. type: string
  6529. reckonflag:
  6530. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6531. type: integer
  6532. runstatus:
  6533. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6534. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6535. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6536. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6537. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6538. 62.今日免清算
  6539. type: integer
  6540. sectionid:
  6541. description: 时间段号[多时段时用]
  6542. type: integer
  6543. tradedate:
  6544. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6545. type: string
  6546. tradedate2:
  6547. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6548. type: string
  6549. updatetime:
  6550. description: 更新时间
  6551. type: string
  6552. required:
  6553. - marketid
  6554. - nexttradedate
  6555. - reckonflag
  6556. - runstatus
  6557. - tradedate
  6558. - tradedate2
  6559. type: object
  6560. models.Messageboard:
  6561. properties:
  6562. contactnum:
  6563. description: 联系电话
  6564. type: string
  6565. createtime:
  6566. description: 创建时间
  6567. type: string
  6568. message:
  6569. description: 留言信息
  6570. type: string
  6571. messageboardid:
  6572. description: 留言簿ID(SEQ_MessageBoard)
  6573. type: integer
  6574. userid:
  6575. description: 用户ID
  6576. type: integer
  6577. required:
  6578. - messageboardid
  6579. type: object
  6580. models.MyCoupon:
  6581. properties:
  6582. accountid:
  6583. description: 资金账户ID
  6584. type: integer
  6585. areauserid:
  6586. description: 所属机构
  6587. type: integer
  6588. conditionvalue:
  6589. description: 条件阈值(可为0)
  6590. type: number
  6591. couponcategroy:
  6592. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6593. type: integer
  6594. couponname:
  6595. description: 优惠券名称
  6596. type: string
  6597. coupontypeid:
  6598. description: 优惠券类型ID
  6599. type: string
  6600. couponvalue:
  6601. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6602. type: number
  6603. curfreezeqty:
  6604. description: 期末冻结数量
  6605. type: integer
  6606. curqty:
  6607. description: 期末数量
  6608. type: integer
  6609. isgeneral:
  6610. description: 是否通用券 - 0:否 1:是
  6611. type: integer
  6612. isunusable:
  6613. description: 是否不可用
  6614. type: boolean
  6615. limitedflag:
  6616. description: 是否指定商品 - 0:不限 1:限制
  6617. type: integer
  6618. limitedgoodsids:
  6619. description: 指定商品IDs[逗号分隔,前后加逗号]
  6620. type: string
  6621. orifreezeqty:
  6622. description: 期初冻结数量
  6623. type: integer
  6624. oriqty:
  6625. description: 期初数量
  6626. type: integer
  6627. reasontype:
  6628. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6629. type: integer
  6630. todaydecrease:
  6631. description: 今日减少
  6632. type: integer
  6633. todayincrease:
  6634. description: 今日增加
  6635. type: integer
  6636. userid:
  6637. description: 用户ID
  6638. type: integer
  6639. userscope:
  6640. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6641. type: string
  6642. required:
  6643. - accountid
  6644. - coupontypeid
  6645. type: object
  6646. models.MyCouponHold:
  6647. properties:
  6648. accountid:
  6649. description: 资金账户ID
  6650. type: integer
  6651. conditionvalue:
  6652. description: 条件阈值(可为0)
  6653. type: number
  6654. couponcategroy:
  6655. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6656. type: integer
  6657. couponholdid:
  6658. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6659. type: string
  6660. couponname:
  6661. description: 优惠券名称
  6662. type: string
  6663. coupontypeid:
  6664. description: 优惠券类型ID - SEQ_COUPONTYPE
  6665. type: string
  6666. couponvalue:
  6667. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6668. type: number
  6669. createtime:
  6670. description: 创建时间
  6671. type: string
  6672. enddate:
  6673. description: 结束日期
  6674. type: string
  6675. giveapplyid:
  6676. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6677. type: integer
  6678. holdstatus:
  6679. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6680. type: integer
  6681. isgeneral:
  6682. description: 是否通用券 - 0:否 1:是
  6683. type: integer
  6684. limitedflag:
  6685. description: 是否指定商品 - 0:不限 1:限制
  6686. type: integer
  6687. limitedgoodsids:
  6688. description: 指定商品IDs[逗号分隔]
  6689. type: string
  6690. qty:
  6691. description: 数量(按1平铺)
  6692. type: integer
  6693. startdate:
  6694. description: 开始日期
  6695. type: string
  6696. userid:
  6697. description: 用户ID
  6698. type: integer
  6699. userscope:
  6700. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6701. type: string
  6702. required:
  6703. - couponholdid
  6704. type: object
  6705. models.MyUsedCoupon:
  6706. properties:
  6707. accountid:
  6708. description: 资金账户ID(买方)
  6709. type: integer
  6710. conditionvalue:
  6711. description: 条件阈值(可为0)
  6712. type: number
  6713. couponcategroy:
  6714. description: 种类 - 1:现金券 2:折扣券
  6715. type: integer
  6716. couponname:
  6717. description: 优惠券名称
  6718. type: string
  6719. coupontypeid:
  6720. description: 优惠券类型ID(买方)
  6721. type: string
  6722. couponvalue:
  6723. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6724. type: number
  6725. createtime:
  6726. description: 创建时间
  6727. type: string
  6728. goodsid:
  6729. description: 商品ID
  6730. type: integer
  6731. handlestatus:
  6732. description: 处理状态
  6733. type: integer
  6734. marketid:
  6735. description: 市场ID
  6736. type: integer
  6737. offamount:
  6738. description: 优惠金额
  6739. type: number
  6740. orderid:
  6741. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6742. type: string
  6743. sellaccountid:
  6744. description: 资金账户ID(卖方)
  6745. type: integer
  6746. tradeamount:
  6747. description: 成交金额
  6748. type: number
  6749. tradeid:
  6750. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6751. type: string
  6752. usedqty:
  6753. description: 使用数量
  6754. type: integer
  6755. required:
  6756. - coupontypeid
  6757. - orderid
  6758. type: object
  6759. models.OperationPrimaryMenu:
  6760. properties:
  6761. Children:
  6762. description: 二级功能菜单
  6763. items:
  6764. $ref: '#/definitions/models.OperationSecondaryMenu'
  6765. type: array
  6766. Key:
  6767. description: 菜单KEY
  6768. type: string
  6769. Label:
  6770. description: 菜单标题
  6771. type: string
  6772. type: object
  6773. models.OperationSecondaryMenu:
  6774. properties:
  6775. Key:
  6776. description: 菜单KEY
  6777. type: string
  6778. Label:
  6779. description: 菜单标题
  6780. type: string
  6781. TabList:
  6782. description: 三级功能菜单
  6783. items:
  6784. $ref: '#/definitions/models.OperationTabMenu'
  6785. type: array
  6786. type: object
  6787. models.OperationTabMenu:
  6788. properties:
  6789. Key:
  6790. description: 菜单KEY
  6791. type: string
  6792. Label:
  6793. description: 菜单标题
  6794. type: string
  6795. type: object
  6796. models.PendingAuditBizModel:
  6797. properties:
  6798. accountid:
  6799. description: 现货账户
  6800. type: string
  6801. areaname:
  6802. description: 所属部门
  6803. type: string
  6804. bizid:
  6805. description: 业务ID
  6806. type: string
  6807. bizname:
  6808. description: 业务名称
  6809. type: string
  6810. status:
  6811. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  6812. type: integer
  6813. type:
  6814. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  6815. type: integer
  6816. type: object
  6817. models.QueryErrorInfosRsp:
  6818. properties:
  6819. description:
  6820. description: 异常描述
  6821. type: string
  6822. errorcode:
  6823. description: 异常代码
  6824. type: string
  6825. errorid:
  6826. description: 异常ID
  6827. type: integer
  6828. modulecode:
  6829. description: 所属模块
  6830. type: string
  6831. operatecode:
  6832. description: 所属操作
  6833. type: string
  6834. rownumber:
  6835. description: 行号
  6836. type: string
  6837. required:
  6838. - errorid
  6839. type: object
  6840. models.QueryHedgeOrderDetailRsp:
  6841. properties:
  6842. accountid:
  6843. description: 账户ID
  6844. type: integer
  6845. buyorsell:
  6846. description: 买卖 - 0:买 1:卖
  6847. type: integer
  6848. channelbuildtype:
  6849. description: 开平标志 - 0:无 1:建仓 2:平仓
  6850. type: integer
  6851. channelinnerorderstatus:
  6852. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6853. 9:全部成交
  6854. type: integer
  6855. channeloperatetype:
  6856. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6857. type: integer
  6858. closetype:
  6859. description: 平仓方式 - 0:无 1:平今 2:平昨
  6860. type: integer
  6861. curexchangerate:
  6862. description: 当前汇率
  6863. type: number
  6864. exchangefullname:
  6865. description: 外部交易所全称
  6866. type: string
  6867. goodscode:
  6868. description: 商品代码(内部)
  6869. type: string
  6870. goodsid:
  6871. description: 商品ID
  6872. type: integer
  6873. goodsname:
  6874. description: 商品名称
  6875. type: string
  6876. marketid:
  6877. description: 市场ID
  6878. type: integer
  6879. openfreezemargin:
  6880. description: 冻结保证金(冻结交易金额)
  6881. type: number
  6882. orderid:
  6883. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6884. type: string
  6885. orderprice:
  6886. description: 委托价格(账户)
  6887. type: number
  6888. orderqty:
  6889. description: 委托数量
  6890. type: integer
  6891. ordertime:
  6892. description: 委托时间
  6893. type: string
  6894. pricemode:
  6895. description: '取价方式 - 1:市价 2: 限价'
  6896. type: integer
  6897. tradedate:
  6898. description: 交易日(yyyyMMdd)
  6899. type: string
  6900. tradeqty:
  6901. description: 成交数量
  6902. type: integer
  6903. type: object
  6904. models.QueryHedgeTradeDetailRsp:
  6905. properties:
  6906. accountid:
  6907. description: 账号ID
  6908. type: integer
  6909. buyorsell:
  6910. description: 方向 - 0:买 1:卖
  6911. type: integer
  6912. channelbuildtype:
  6913. description: 委托单据类型 0:无 1:建仓 2:平仓
  6914. type: integer
  6915. closecharge:
  6916. description: 平仓手续费(账户)
  6917. type: number
  6918. closecharge2:
  6919. description: 平仓手续费(商品)
  6920. type: number
  6921. closetype:
  6922. description: 平仓方式 - 0:无 1:平今 2:平昨
  6923. type: integer
  6924. curexchangerate:
  6925. description: 当前汇率
  6926. type: number
  6927. exchangefullname:
  6928. description: 外部交易所全称
  6929. type: string
  6930. goodscode:
  6931. description: 商品代码(内部)
  6932. type: string
  6933. goodsid:
  6934. description: 商品ID
  6935. type: integer
  6936. goodsname:
  6937. description: 商品名称
  6938. type: string
  6939. marketid:
  6940. description: 市场ID
  6941. type: integer
  6942. opencharge:
  6943. description: 建仓手续费(账户)
  6944. type: number
  6945. opencharge2:
  6946. description: 建仓手续费(商品)
  6947. type: number
  6948. orderid:
  6949. description: 委托单号
  6950. type: string
  6951. tradeamount:
  6952. description: 成交金额(账户)
  6953. type: number
  6954. tradedate:
  6955. description: 交易日(yyyyMMdd)
  6956. type: string
  6957. tradeid:
  6958. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6959. type: string
  6960. tradeprice:
  6961. description: 成交价格
  6962. type: number
  6963. tradeqty:
  6964. description: 成交数量
  6965. type: integer
  6966. tradetime:
  6967. description: 成交时间
  6968. type: string
  6969. tradetype:
  6970. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6971. type: integer
  6972. type: object
  6973. models.QuotePrimaryMenu:
  6974. properties:
  6975. Index:
  6976. description: 序号
  6977. type: integer
  6978. Key:
  6979. description: 键名
  6980. type: string
  6981. Name:
  6982. description: 菜单名称
  6983. type: string
  6984. SubMenus:
  6985. description: 子菜单
  6986. items:
  6987. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6988. type: array
  6989. SubTitleType:
  6990. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6991. type: integer
  6992. TradeModes:
  6993. description: 包含市场交易类型
  6994. type: string
  6995. type: object
  6996. models.QuoteSecondaryMenu:
  6997. properties:
  6998. ExExchangeCode:
  6999. description: 外部交易所代码
  7000. type: string
  7001. ExExchangeID:
  7002. description: 外部交易所ID
  7003. type: integer
  7004. GoodsGroupIDs:
  7005. description: 商品组ID列表
  7006. items:
  7007. type: integer
  7008. type: array
  7009. Index:
  7010. description: 序号
  7011. type: integer
  7012. MarketID:
  7013. description: 市场ID
  7014. type: integer
  7015. MenuTitle:
  7016. description: 菜单标题(市场名称或外部交易所名称)
  7017. type: string
  7018. TradeMode:
  7019. description: 交易模式
  7020. type: integer
  7021. type: object
  7022. models.RelatedGoodsEx:
  7023. properties:
  7024. goodscode:
  7025. description: 商品代码
  7026. type: string
  7027. goodsid:
  7028. description: 商品id
  7029. type: integer
  7030. goodsname:
  7031. description: 商品名称
  7032. type: string
  7033. type: object
  7034. models.SearchGoods:
  7035. properties:
  7036. goodscode:
  7037. description: 商品代码(内部)
  7038. type: string
  7039. goodsid:
  7040. description: 商品ID(自增ID SEQ_GOODS)
  7041. type: integer
  7042. goodsname:
  7043. description: 商品名称
  7044. type: string
  7045. marketid:
  7046. description: 所属市场ID
  7047. type: integer
  7048. marketname:
  7049. description: 市场名称
  7050. type: string
  7051. trademode:
  7052. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7053. 21:竞拍-大宗式 22:受托竞价
  7054. type: integer
  7055. required:
  7056. - goodscode
  7057. - goodsid
  7058. - goodsname
  7059. - marketid
  7060. - trademode
  7061. type: object
  7062. models.Systemparam:
  7063. properties:
  7064. loginid:
  7065. description: 更新用户账号,登录账号
  7066. type: string
  7067. modifyflag:
  7068. description: 修改标志0 不允许修改 1 允许修改
  7069. type: integer
  7070. paramcode:
  7071. description: 参数代码
  7072. type: string
  7073. paramname:
  7074. description: 参数名
  7075. type: string
  7076. paramtype:
  7077. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7078. type: integer
  7079. paramvalue:
  7080. description: 参数值
  7081. type: string
  7082. paramvalue2:
  7083. description: 参数值(CLOB)
  7084. type: string
  7085. regexpress:
  7086. description: 正则表达式
  7087. type: string
  7088. remark:
  7089. description: 备注
  7090. type: string
  7091. serverip:
  7092. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7093. type: string
  7094. showflag:
  7095. description: 是否显示0 不显示 1 显示
  7096. type: integer
  7097. updatetime:
  7098. description: 更新时间
  7099. type: string
  7100. userid:
  7101. description: 更新用户ID
  7102. type: integer
  7103. required:
  7104. - paramcode
  7105. type: object
  7106. models.Szdz3convertconfig:
  7107. properties:
  7108. canin:
  7109. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7110. type: integer
  7111. canout:
  7112. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7113. type: integer
  7114. converttype:
  7115. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7116. 6:交易转花生米(不设置)
  7117. type: integer
  7118. createtime:
  7119. description: 创建时间
  7120. type: string
  7121. creatorid:
  7122. description: 创建人
  7123. type: integer
  7124. daymaxvalue:
  7125. description: 当日最大转入限制
  7126. type: number
  7127. freezedays:
  7128. description: 冻结天数 [5:花生米转交易]
  7129. type: integer
  7130. innergoodsid:
  7131. description: 内部商品ID[交易]
  7132. type: integer
  7133. inratio:
  7134. description: 目标值
  7135. type: integer
  7136. modifierid:
  7137. description: 修改人
  7138. type: integer
  7139. modifytime:
  7140. description: 修改时间
  7141. type: string
  7142. outergoodscode:
  7143. description: 外部商品代码[JD\PD]
  7144. type: string
  7145. outratio:
  7146. description: 源值
  7147. type: integer
  7148. pddecimalplace:
  7149. description: PD小数位
  7150. type: integer
  7151. timemaxvalue:
  7152. description: 单次最大转入限制
  7153. type: number
  7154. timeminvalue:
  7155. description: 单次最小转入限制
  7156. type: number
  7157. required:
  7158. - converttype
  7159. - innergoodsid
  7160. - outergoodscode
  7161. type: object
  7162. models.Szdz3searchwhitelist:
  7163. properties:
  7164. createtime:
  7165. description: 创建时间
  7166. type: string
  7167. creatorid:
  7168. description: 创建人
  7169. type: integer
  7170. modifierid:
  7171. description: 修改人
  7172. type: integer
  7173. modifytime:
  7174. description: 修改时间
  7175. type: string
  7176. userid:
  7177. description: 用户ID
  7178. type: integer
  7179. required:
  7180. - userid
  7181. type: object
  7182. models.Taaccount:
  7183. properties:
  7184. accountflag:
  7185. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7186. type: integer
  7187. accountid:
  7188. description: 资金账户ID
  7189. type: integer
  7190. accountname:
  7191. description: 账户名称
  7192. type: string
  7193. balance:
  7194. description: 期初余额
  7195. type: number
  7196. capitalbalance:
  7197. description: 本金余额[外部子账户实际出入金余额]
  7198. type: number
  7199. changeflag:
  7200. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7201. type: integer
  7202. changetime:
  7203. description: 账户状态变更时间
  7204. type: string
  7205. closepl:
  7206. description: 今日平仓盈亏
  7207. type: number
  7208. creditdecrease:
  7209. description: 今日授信减少
  7210. type: number
  7211. creditincrease:
  7212. description: 今日授信增加
  7213. type: number
  7214. currencyid:
  7215. description: 货币ID
  7216. type: integer
  7217. currentbalance:
  7218. description: 期末余额
  7219. type: number
  7220. freezecharge:
  7221. description: 手续费冻结
  7222. type: number
  7223. freezemargin:
  7224. description: 冻结保证金
  7225. type: number
  7226. fromaccountid:
  7227. description: 所属上级账户
  7228. type: integer
  7229. inamount:
  7230. description: 今日入金金额(包括三方入金)
  7231. type: number
  7232. ismain:
  7233. description: 是否母账号 0:不是母账户 1:是母账户
  7234. type: integer
  7235. ismarketaccount:
  7236. description: 是否机构接单账号 0:不是 1:是
  7237. type: integer
  7238. isreckonaccount:
  7239. description: 是否机构分润账号 0:不是 1:是
  7240. type: integer
  7241. mortgagecredit:
  7242. description: 授信金额
  7243. type: number
  7244. orifreezecharge:
  7245. description: 期初手续费冻结
  7246. type: number
  7247. orifreezemargin:
  7248. description: 期初冻结保证金
  7249. type: number
  7250. orimortgagecredit:
  7251. description: 期初授信金额
  7252. type: number
  7253. oriothercredit:
  7254. description: 期初其它授信金额
  7255. type: number
  7256. oriotherfreezemargin:
  7257. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7258. type: number
  7259. orioutamountfreeze:
  7260. description: 期初出金冻结
  7261. type: number
  7262. oriusedmargin:
  7263. description: 期初占用保证金
  7264. type: number
  7265. othercredit:
  7266. description: 其它授信金额
  7267. type: number
  7268. othercreditdecrease:
  7269. description: 今日其它授信减少
  7270. type: number
  7271. othercreditincrease:
  7272. description: 今日其它授信增加
  7273. type: number
  7274. otherfreezemargin:
  7275. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7276. type: number
  7277. otherincome:
  7278. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7279. type: number
  7280. otherpay:
  7281. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7282. type: number
  7283. outamount:
  7284. description: 今日出金金额(包括三方出金)
  7285. type: number
  7286. outamountfreeze:
  7287. description: 出金冻结
  7288. type: number
  7289. outthreshold:
  7290. description: 出金阈值
  7291. type: number
  7292. parentaccountid:
  7293. description: 所属根账号
  7294. type: integer
  7295. paycharge:
  7296. description: 今日手续费支出
  7297. type: number
  7298. relatedaccountstatus:
  7299. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7300. type: integer
  7301. relateduserid:
  7302. description: 关联用户
  7303. type: integer
  7304. serivcegroup:
  7305. description: 服务分组
  7306. type: integer
  7307. signstatus:
  7308. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7309. type: integer
  7310. sublevelpath:
  7311. description: 账号层级路径(逗号分隔,首尾加逗号)
  7312. type: string
  7313. taaccounttype:
  7314. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7315. type: integer
  7316. thirdinamount:
  7317. description: 今日三方入金
  7318. type: number
  7319. thirdoutamount:
  7320. description: 今日三方出金
  7321. type: number
  7322. tradestatus:
  7323. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7324. type: integer
  7325. tradestatuschangetime:
  7326. description: 激活时间
  7327. type: string
  7328. transferamount:
  7329. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7330. type: number
  7331. usedmargin:
  7332. description: 占用保证金
  7333. type: number
  7334. userid:
  7335. description: 用户ID
  7336. type: integer
  7337. required:
  7338. - accountid
  7339. - userid
  7340. type: object
  7341. models.Tablecolumnconfig:
  7342. properties:
  7343. aligntype:
  7344. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7345. type: integer
  7346. autoid:
  7347. description: AutoID
  7348. type: integer
  7349. columnfield:
  7350. description: 列字段
  7351. type: string
  7352. columntitle:
  7353. description: 列Title
  7354. type: string
  7355. columnwidth:
  7356. description: 列宽
  7357. type: string
  7358. formatterstring:
  7359. description: 格式化字符
  7360. type: string
  7361. formattertype:
  7362. description: 格式化类型
  7363. type: string
  7364. groupname:
  7365. description: 表头分组名称
  7366. type: string
  7367. isshow:
  7368. description: 是否显示 - 0:不显示 1:显示
  7369. type: integer
  7370. needsummary:
  7371. description: 是否需要汇总 - 0:不需要 1:需要
  7372. type: integer
  7373. orderindex:
  7374. description: 顺序
  7375. type: integer
  7376. remark:
  7377. description: 备注
  7378. type: string
  7379. summarytype:
  7380. description: 汇总类型 - 1:加总 2:最后一个
  7381. type: integer
  7382. tablekey:
  7383. description: 列表Key
  7384. type: string
  7385. required:
  7386. - autoid
  7387. type: object
  7388. models.Useraccount:
  7389. properties:
  7390. accountname:
  7391. description: 账户名称(机构名称)
  7392. type: string
  7393. accountstatus:
  7394. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7395. type: integer
  7396. auditremark:
  7397. description: 审核备注
  7398. type: string
  7399. audittime:
  7400. description: 审核时间
  7401. type: string
  7402. audituserid:
  7403. description: 审核人
  7404. type: integer
  7405. broker:
  7406. description: 所属经纪人ID
  7407. type: integer
  7408. canceltime:
  7409. description: 销户时间
  7410. type: string
  7411. canceluserid:
  7412. description: 销户人
  7413. type: integer
  7414. createtime:
  7415. description: 创建时间
  7416. type: string
  7417. creatorid:
  7418. description: 创建人
  7419. type: integer
  7420. hasauth:
  7421. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7422. type: integer
  7423. isanonymous:
  7424. description: 是否匿名下单 - 0:否 1:是
  7425. type: integer
  7426. maxinvestornum:
  7427. description: 最大用户数(经纪会员下投资者个数)
  7428. type: integer
  7429. memberuserid:
  7430. description: 所属会员ID
  7431. type: integer
  7432. modifierid:
  7433. description: 修改人
  7434. type: integer
  7435. modifyremark:
  7436. description: 变更备注
  7437. type: string
  7438. modifystatus:
  7439. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7440. type: integer
  7441. modifytime:
  7442. description: 修改时间
  7443. type: string
  7444. parentuserid:
  7445. description: 所属机构ID
  7446. type: integer
  7447. reckonaccountid:
  7448. description: 默认结算资金账号ID(机构分润使用) 作废
  7449. type: integer
  7450. refercount:
  7451. description: 推荐总人数
  7452. type: integer
  7453. refereeuserid:
  7454. description: 推荐人ID
  7455. type: integer
  7456. refernum:
  7457. description: 推荐码
  7458. type: string
  7459. subarealevelpath:
  7460. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7461. type: string
  7462. userid:
  7463. description: 用户ID
  7464. type: integer
  7465. usertype:
  7466. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7467. type: integer
  7468. required:
  7469. - userid
  7470. type: object
  7471. models.Userfavoritegoods:
  7472. properties:
  7473. goodsid:
  7474. description: 商品ID
  7475. type: integer
  7476. required:
  7477. - goodsid
  7478. type: object
  7479. models.Userinfo:
  7480. properties:
  7481. address:
  7482. description: 地址
  7483. type: string
  7484. attachment1:
  7485. description: 附件1
  7486. type: string
  7487. attachment2:
  7488. description: 附件2
  7489. type: string
  7490. bankaccount:
  7491. description: 银行帐号 (加密存储)
  7492. type: string
  7493. bankaccountname:
  7494. description: 收款人名称
  7495. type: string
  7496. bankcardfrontphotourl:
  7497. description: 银行卡正面照地址
  7498. type: string
  7499. bankid:
  7500. description: 银行编码
  7501. type: string
  7502. bankname:
  7503. description: 银行名称
  7504. type: string
  7505. biznature:
  7506. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7507. type: integer
  7508. bizscope:
  7509. description: 企业经营范围(企业)
  7510. type: string
  7511. cardbackphotourl:
  7512. description: 证件背面图片地址
  7513. type: string
  7514. cardfrontphotourl:
  7515. description: 证件正面图片地址
  7516. type: string
  7517. cardnum:
  7518. description: 证件号码(加密存储)
  7519. type: string
  7520. cardtypeid:
  7521. description: 证件类型ID
  7522. type: integer
  7523. cityid:
  7524. description: 市
  7525. type: integer
  7526. company:
  7527. description: 公司(个人)
  7528. type: string
  7529. contactname:
  7530. description: 联系人
  7531. type: string
  7532. countryid:
  7533. description: 国家
  7534. type: integer
  7535. createtime:
  7536. description: 创建时间
  7537. type: string
  7538. creatorid:
  7539. description: 创建人
  7540. type: integer
  7541. customername:
  7542. description: 客户名称(企业名称)
  7543. type: string
  7544. districtid:
  7545. description: 地区
  7546. type: integer
  7547. email:
  7548. description: 邮件(加密存储)
  7549. type: string
  7550. fax:
  7551. description: 传真(加密存储)
  7552. type: string
  7553. halfbodyphotourl:
  7554. description: 半身照地址
  7555. type: string
  7556. hasencrypt:
  7557. description: 数据是否已加密 - 0:未加密 1:已加密
  7558. type: integer
  7559. headurl:
  7560. description: 头像地址
  7561. type: string
  7562. legalcardbackphotourl:
  7563. description: 法人身份证背面照地址
  7564. type: string
  7565. legalcardfrontphotourl:
  7566. description: 法人身份证正面照地址
  7567. type: string
  7568. legalpersonname:
  7569. description: 法人姓名(企业)
  7570. type: string
  7571. mobile:
  7572. description: 手机号码(加密存储)
  7573. type: string
  7574. mobile2:
  7575. description: 手机号码[明文-尚志]
  7576. type: string
  7577. modifierid:
  7578. description: 修改人
  7579. type: integer
  7580. modifiertime:
  7581. description: 修改时间
  7582. type: string
  7583. needinvoice:
  7584. description: 是否需要发票 - 0:不需要 1:需要
  7585. type: integer
  7586. nickname:
  7587. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7588. type: string
  7589. openmode:
  7590. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7591. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7592. type: integer
  7593. otherurl:
  7594. description: 其它图片地址[使用分号分隔]
  7595. type: string
  7596. postalcode:
  7597. description: 邮政编码
  7598. type: string
  7599. provinceid:
  7600. description: 省
  7601. type: integer
  7602. qq:
  7603. description: QQ(加密存储
  7604. type: string
  7605. remark:
  7606. description: 备注
  7607. type: string
  7608. sex:
  7609. description: '用户性别 0: 女 1: 男'
  7610. type: integer
  7611. signpdfurl:
  7612. description: 签约pdf文件
  7613. type: string
  7614. telphone:
  7615. description: 联系电话(加密存储)
  7616. type: string
  7617. userid:
  7618. description: 用户ID
  7619. type: integer
  7620. userinfotype:
  7621. description: 用户信息类型 - 1:个人 2:企业
  7622. type: integer
  7623. userstatus:
  7624. description: 用户状态 - 1:正常 2:注销
  7625. type: integer
  7626. usertype:
  7627. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7628. type: integer
  7629. wechat:
  7630. description: 微信(加密存储)
  7631. type: string
  7632. wskhinfo:
  7633. description: 开户申请信息(JSON)
  7634. type: string
  7635. required:
  7636. - userid
  7637. type: object
  7638. models.WRCategoryTree:
  7639. properties:
  7640. areauserid:
  7641. description: 所属机构
  7642. type: integer
  7643. categorydesc:
  7644. description: 类别描述
  7645. type: string
  7646. categoryid:
  7647. description: 类别ID(SEQ_WRCATEGORY)
  7648. type: integer
  7649. categoryname:
  7650. description: 类别名称
  7651. type: string
  7652. iconurl:
  7653. description: 图标地址
  7654. type: string
  7655. orderindex:
  7656. description: 顺序
  7657. type: integer
  7658. parentcategoryid:
  7659. description: 父类别ID
  7660. type: integer
  7661. subcategory:
  7662. description: 子分类
  7663. items:
  7664. $ref: '#/definitions/models.WRCategoryTree'
  7665. type: array
  7666. required:
  7667. - categoryid
  7668. type: object
  7669. models.WRSConverTDetail:
  7670. properties:
  7671. convertratio:
  7672. description: 套保系数
  7673. type: number
  7674. deliverygoodsid:
  7675. description: 现货品种ID
  7676. type: integer
  7677. middlegoodscode:
  7678. description: 套保品种代码
  7679. type: string
  7680. middlegoodsid:
  7681. description: 套保品种ID
  7682. type: integer
  7683. middlegoodsname:
  7684. description: 套保品种名称
  7685. type: string
  7686. modifytime:
  7687. description: 修改时间
  7688. type: string
  7689. wrstandardid:
  7690. description: 现货商品ID
  7691. type: integer
  7692. type: object
  7693. models.WRStandardInfo:
  7694. properties:
  7695. createtime:
  7696. description: 创建时间
  7697. type: string
  7698. creatorid:
  7699. description: 创建人
  7700. type: integer
  7701. deliverygoodsid:
  7702. description: 品种ID
  7703. type: integer
  7704. deliverygoodsname:
  7705. description: 交割商品名称
  7706. type: string
  7707. factoryitemjson:
  7708. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7709. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7710. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7711. 逗号分隔'
  7712. type: string
  7713. isvalid:
  7714. description: 是否有效 - 0:无效 1:有效
  7715. type: integer
  7716. minivalue:
  7717. description: 最小变动值
  7718. type: integer
  7719. minivaluedp:
  7720. description: 最小变动值小数位
  7721. type: integer
  7722. realminivalue:
  7723. description: 实际最小变动值
  7724. type: integer
  7725. realminivaluedp:
  7726. description: 实际最小变动值小数位
  7727. type: integer
  7728. unitid:
  7729. description: 单位ID
  7730. type: integer
  7731. unitname:
  7732. description: 单位
  7733. type: string
  7734. updatetime:
  7735. description: 更新时间
  7736. type: string
  7737. updatorid:
  7738. description: 更新人
  7739. type: integer
  7740. wrsstatus:
  7741. description: 状态 - 作废 - 0:未激活 1:正常
  7742. type: integer
  7743. wrstandardcode:
  7744. description: 仓单标准代码
  7745. type: string
  7746. wrstandardid:
  7747. description: 仓单标准ID(SEQ_WRSTANDARD)
  7748. type: integer
  7749. wrstandardname:
  7750. description: 仓单标准名称
  7751. type: string
  7752. required:
  7753. - wrstandardid
  7754. type: object
  7755. models.Warehouseinfo:
  7756. properties:
  7757. address:
  7758. description: 详细地址
  7759. type: string
  7760. areauserid:
  7761. description: 所属机构
  7762. type: integer
  7763. autoid:
  7764. description: 自增ID
  7765. type: integer
  7766. cityid:
  7767. description: 市
  7768. type: integer
  7769. contactname:
  7770. description: 联系人
  7771. type: string
  7772. contactnum:
  7773. description: 联系电话
  7774. type: string
  7775. countryid:
  7776. description: 国家
  7777. type: integer
  7778. createtime:
  7779. description: 创建时间
  7780. type: string
  7781. districtid:
  7782. description: 区
  7783. type: integer
  7784. hasvideo:
  7785. description: 是否有视频 - 0:无 1:有
  7786. type: integer
  7787. provinceid:
  7788. description: 省
  7789. type: integer
  7790. remark:
  7791. description: 审核备注
  7792. type: string
  7793. videourl:
  7794. description: 视频地址
  7795. type: string
  7796. warehousecode:
  7797. description: 仓库代码
  7798. type: string
  7799. warehousename:
  7800. description: 仓库名称
  7801. type: string
  7802. warehousestatus:
  7803. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7804. type: integer
  7805. warehousetype:
  7806. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7807. type: integer
  7808. required:
  7809. - autoid
  7810. - warehousecode
  7811. type: object
  7812. order.QueryHisTradeDetailRsp:
  7813. properties:
  7814. accountid:
  7815. description: 账户ID[报价币种]
  7816. type: integer
  7817. buildtype:
  7818. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7819. type: integer
  7820. buyorsell:
  7821. description: 方向 - 0:买 1:卖
  7822. type: integer
  7823. charge:
  7824. description: 手续费
  7825. type: number
  7826. closecharge:
  7827. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7828. type: number
  7829. closeexchagechargevalue:
  7830. description: 平仓交易所手续费设置值
  7831. type: number
  7832. closefeealgorithm:
  7833. description: 平仓手续费收取方式 1:比率 2:固定
  7834. type: integer
  7835. closememberchargevalue:
  7836. description: 平仓会员手续费设置值
  7837. type: number
  7838. closepl:
  7839. description: 平仓盈亏
  7840. type: number
  7841. closepl2:
  7842. description: 平仓盈亏[逐笔]
  7843. type: number
  7844. closeqty:
  7845. description: 平仓数量(先建后平操作 需要记录)
  7846. type: integer
  7847. creditamount:
  7848. description: 授信金额
  7849. type: number
  7850. gcaccountid:
  7851. description: 账户ID[合约币种]
  7852. type: integer
  7853. goodscode:
  7854. description: 商品代码
  7855. type: string
  7856. goodsid:
  7857. description: 商品ID
  7858. type: integer
  7859. goodsname:
  7860. description: 商品名称
  7861. type: string
  7862. histradedate:
  7863. description: 历史交易日
  7864. type: string
  7865. intclosepl:
  7866. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7867. type: integer
  7868. isconfirmexercise:
  7869. description: 是否确认行权- 0:否 1:是
  7870. type: integer
  7871. ismain:
  7872. description: 是否主单 - 0:不是 1:是
  7873. type: integer
  7874. ispreexercise:
  7875. description: 是否预申报- 0:否 1:是
  7876. type: integer
  7877. isreckoned:
  7878. description: 是否结算 - 0:未结算 1:已结算
  7879. type: integer
  7880. isvaliddata:
  7881. description: 是否有效 - 0:无效 1:有效
  7882. type: integer
  7883. listingselecttype:
  7884. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7885. type: integer
  7886. marketid:
  7887. description: 市场ID
  7888. type: integer
  7889. marketname:
  7890. description: 市场名称
  7891. type: string
  7892. matchaccountid:
  7893. description: 对手账号id
  7894. type: integer
  7895. memberuserid:
  7896. description: 会员id 个人投资者 需要填写
  7897. type: integer
  7898. opencharge:
  7899. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7900. type: number
  7901. openexchagechargevalue:
  7902. description: 建仓交易所手续费设置值
  7903. type: number
  7904. openfeealgorithm:
  7905. description: 建仓手续费收取方式 1:比率 2:固定
  7906. type: integer
  7907. openmemberchargevalue:
  7908. description: 建仓会员手续费设置值
  7909. type: number
  7910. openqty:
  7911. description: 开仓数量(先建后平操作 需要记录)
  7912. type: integer
  7913. optiontype:
  7914. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7915. type: integer
  7916. orderid:
  7917. description: 委托单号
  7918. type: string
  7919. performanceplanid:
  7920. description: 履约计划ID[期权]
  7921. type: integer
  7922. performancestatus:
  7923. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7924. type: integer
  7925. preexerciseprice:
  7926. description: 预申报价格
  7927. type: number
  7928. premium:
  7929. description: 权利金 - [持仓单的权利金]
  7930. type: number
  7931. relatedouttradeid:
  7932. description: 关联外部成交单ID
  7933. type: integer
  7934. status:
  7935. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7936. type: integer
  7937. tradeamount:
  7938. description: 成交金额[账户币种,用于所有权]
  7939. type: number
  7940. tradedate:
  7941. description: 交易日(yyyyMMdd)
  7942. type: string
  7943. tradeid:
  7944. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7945. type: string
  7946. trademode:
  7947. description: 交易模式
  7948. type: integer
  7949. tradeprice:
  7950. description: 成交价格
  7951. type: number
  7952. tradeproperty:
  7953. description: 交易属性
  7954. type: integer
  7955. tradeqty:
  7956. description: 成交数量
  7957. type: integer
  7958. tradetime:
  7959. description: 成交时间
  7960. type: string
  7961. tradetype:
  7962. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7963. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7964. type: integer
  7965. required:
  7966. - accountid
  7967. - buyorsell
  7968. - goodsid
  7969. - histradedate
  7970. - marketid
  7971. - memberuserid
  7972. - orderid
  7973. - tradeamount
  7974. - tradedate
  7975. - tradeid
  7976. - tradeprice
  7977. - tradeqty
  7978. - tradetime
  7979. type: object
  7980. order.QueryHisTradeOrderDetailRsp:
  7981. properties:
  7982. accountid:
  7983. description: 账户ID[报价币种]
  7984. type: integer
  7985. buildtype:
  7986. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7987. type: integer
  7988. buyorsell:
  7989. description: 买卖 - 0:买 1:卖
  7990. type: integer
  7991. cancelorderid:
  7992. description: 撤单单号(撤单时填写)
  7993. type: string
  7994. cancelqty:
  7995. description: 撤单数量
  7996. type: integer
  7997. clientordertime:
  7998. description: 客户端委托时间
  7999. type: string
  8000. clientticket:
  8001. description: 客户端流水号
  8002. type: string
  8003. clienttype:
  8004. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8005. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8006. type: integer
  8007. closeexchagechargevalue:
  8008. description: 平仓交易所手续费设置值
  8009. type: number
  8010. closefeealgorithm:
  8011. description: 平仓手续费收取方式 1:比率 2:固定
  8012. type: integer
  8013. closefreezecharge:
  8014. description: 平仓冻结手续费(先建后平操作,需要记录)
  8015. type: number
  8016. closememberchargevalue:
  8017. description: 平仓会员手续费设置值
  8018. type: number
  8019. closeqty:
  8020. description: 平仓数量(先建后平操作 需要记录)
  8021. type: integer
  8022. closetradeqty:
  8023. description: 平仓成交数量(先建后平操作,需要记录)
  8024. type: integer
  8025. closeunfreezecharge:
  8026. description: 平仓解冻手续费(先建后平操作,需要记录)
  8027. type: number
  8028. delistingtype:
  8029. description: 摘牌类型 - 1:价格最优 2:点选成交
  8030. type: integer
  8031. freezecharge:
  8032. description: 冻结手续费
  8033. type: number
  8034. freezemargin:
  8035. description: 冻结保证金(冻结交易金额)
  8036. type: number
  8037. gcaccountid:
  8038. description: 账户ID[合约币种]
  8039. type: integer
  8040. goodscode:
  8041. description: 商品代码
  8042. type: string
  8043. goodsid:
  8044. description: 商品ID
  8045. type: integer
  8046. goodsname:
  8047. description: 商品名称
  8048. type: string
  8049. histradedate:
  8050. description: 历史交易日
  8051. type: string
  8052. isconfirmexercise:
  8053. description: 是否确认行权- 0:否 1:是
  8054. type: integer
  8055. ispreexercise:
  8056. description: 是否预申报- 0:否 1:是
  8057. type: integer
  8058. isvaliddata:
  8059. description: 是否有效 - 0:无效 1:有效
  8060. type: integer
  8061. listingselecttype:
  8062. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8063. type: integer
  8064. marginalgorithm:
  8065. description: 保证金收取方式 1:比率 2:固定
  8066. type: integer
  8067. marginvalue:
  8068. description: 即市保证金设置值
  8069. type: number
  8070. marketid:
  8071. description: 市场ID
  8072. type: integer
  8073. marketmaxsub:
  8074. description: 市价最大偏移范围
  8075. type: number
  8076. marketname:
  8077. description: 市场名称
  8078. type: string
  8079. memberuserid:
  8080. description: 所属会员UserID
  8081. type: integer
  8082. openexchagechargevalue:
  8083. description: 建仓交易所手续费设置值
  8084. type: number
  8085. openfeealgorithm:
  8086. description: 建仓手续费收取方式 1:比率 2:固定
  8087. type: integer
  8088. openfreezecharge:
  8089. description: 开仓冻结手续费(先建后平操作,需要记录)
  8090. type: number
  8091. openmemberchargevalue:
  8092. description: 建仓会员手续费设置值
  8093. type: number
  8094. openqty:
  8095. description: 开仓数量(先建后平操作,需要记录)
  8096. type: integer
  8097. opentradeqty:
  8098. description: 开仓成交数量(先建后平操作,需要记录)
  8099. type: integer
  8100. openunfreezecharge:
  8101. description: 开仓解冻手续费(先建后平操作,需要记录)
  8102. type: number
  8103. operatetype:
  8104. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8105. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8106. 15:管理端协议转让
  8107. type: integer
  8108. operatorid:
  8109. description: 登录账号(LoginID)
  8110. type: integer
  8111. optiontype:
  8112. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8113. type: integer
  8114. orderid:
  8115. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8116. type: string
  8117. orderprice:
  8118. description: 委托价格
  8119. type: number
  8120. orderqty:
  8121. description: 委托数量
  8122. type: integer
  8123. ordersrc:
  8124. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8125. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8126. type: integer
  8127. orderstatus:
  8128. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8129. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8130. 16:成交失败违约(荷兰式竞拍专用)
  8131. type: integer
  8132. ordertime:
  8133. description: 委托时间
  8134. type: string
  8135. preexerciseprice:
  8136. description: 预申报价格
  8137. type: number
  8138. premium:
  8139. description: 权利金
  8140. type: number
  8141. preorderid:
  8142. description: 关联预埋单号(止盈止损单时填写)
  8143. type: string
  8144. pricemode:
  8145. description: '取价方式 - 1:市价 2: 限价'
  8146. type: integer
  8147. quoteid:
  8148. description: 报价单ID
  8149. type: integer
  8150. relatedid:
  8151. description: 关联单号(交割单)
  8152. type: string
  8153. retcode:
  8154. description: 错误代码
  8155. type: integer
  8156. sessionid:
  8157. description: 会话ID
  8158. type: integer
  8159. tradedate:
  8160. description: 交易日(yyyyMMdd)
  8161. type: string
  8162. trademode:
  8163. description: 交易模式
  8164. type: integer
  8165. tradeproperty:
  8166. description: 交易属性
  8167. type: integer
  8168. tradeqty:
  8169. description: 成交数量
  8170. type: integer
  8171. unfreezecharge:
  8172. description: 解冻手续费
  8173. type: number
  8174. unfreezemargin:
  8175. description: 解冻保证金
  8176. type: number
  8177. updatetime:
  8178. description: 更新时间
  8179. type: string
  8180. uuid:
  8181. description: 发起端唯一id
  8182. type: string
  8183. validtime:
  8184. description: 有效期限
  8185. type: string
  8186. validtype:
  8187. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8188. type: integer
  8189. volumetype:
  8190. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8191. type: integer
  8192. required:
  8193. - accountid
  8194. - buildtype
  8195. - buyorsell
  8196. - goodsid
  8197. - histradedate
  8198. - marketid
  8199. - memberuserid
  8200. - operatetype
  8201. - orderid
  8202. - orderqty
  8203. - ordertime
  8204. - pricemode
  8205. - tradedate
  8206. - validtype
  8207. type: object
  8208. order.QueryTradeDetailRsp:
  8209. properties:
  8210. accountid:
  8211. description: 账户ID[报价币种]
  8212. type: integer
  8213. buildtype:
  8214. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8215. type: integer
  8216. buyorsell:
  8217. description: 方向 - 0:买 1:卖
  8218. type: integer
  8219. charge:
  8220. description: 手续费
  8221. type: number
  8222. closecharge:
  8223. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8224. type: number
  8225. closeexchagechargevalue:
  8226. description: 平仓交易所手续费设置值
  8227. type: number
  8228. closefeealgorithm:
  8229. description: 平仓手续费收取方式 1:比率 2:固定
  8230. type: integer
  8231. closememberchargevalue:
  8232. description: 平仓会员手续费设置值
  8233. type: number
  8234. closepl:
  8235. description: 平仓盈亏
  8236. type: number
  8237. closepl2:
  8238. description: 平仓盈亏[逐笔]
  8239. type: number
  8240. closeqty:
  8241. description: 平仓数量(先建后平操作 需要记录)
  8242. type: integer
  8243. creditamount:
  8244. description: 授信金额
  8245. type: number
  8246. gcaccountid:
  8247. description: 账户ID[合约币种]
  8248. type: integer
  8249. goodscode:
  8250. description: 商品代码
  8251. type: string
  8252. goodsid:
  8253. description: 商品ID
  8254. type: integer
  8255. goodsname:
  8256. description: 商品名称
  8257. type: string
  8258. intclosepl:
  8259. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8260. type: integer
  8261. isconfirmexercise:
  8262. description: 是否确认行权- 0:否 1:是
  8263. type: integer
  8264. ismain:
  8265. description: 是否主单 - 0:不是 1:是
  8266. type: integer
  8267. ispreexercise:
  8268. description: 是否预申报- 0:否 1:是
  8269. type: integer
  8270. isreckoned:
  8271. description: 是否结算 - 0:未结算 1:已结算
  8272. type: integer
  8273. listingselecttype:
  8274. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8275. type: integer
  8276. marketid:
  8277. description: 市场ID
  8278. type: integer
  8279. marketname:
  8280. description: 市场名称
  8281. type: string
  8282. matchaccountid:
  8283. description: 对手账号id
  8284. type: integer
  8285. memberuserid:
  8286. description: 会员id 个人投资者 需要填写
  8287. type: integer
  8288. opencharge:
  8289. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8290. type: number
  8291. openexchagechargevalue:
  8292. description: 建仓交易所手续费设置值
  8293. type: number
  8294. openfeealgorithm:
  8295. description: 建仓手续费收取方式 1:比率 2:固定
  8296. type: integer
  8297. openmemberchargevalue:
  8298. description: 建仓会员手续费设置值
  8299. type: number
  8300. openqty:
  8301. description: 开仓数量(先建后平操作 需要记录)
  8302. type: integer
  8303. optiontype:
  8304. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8305. type: integer
  8306. orderid:
  8307. description: 委托单号
  8308. type: string
  8309. performanceplanid:
  8310. description: 履约计划ID[期权]
  8311. type: integer
  8312. performancestatus:
  8313. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8314. type: integer
  8315. preexerciseprice:
  8316. description: 预申报价格
  8317. type: number
  8318. premium:
  8319. description: 权利金 - [持仓单的权利金]
  8320. type: number
  8321. relatedouttradeid:
  8322. description: 关联外部成交单ID
  8323. type: integer
  8324. status:
  8325. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8326. type: integer
  8327. tradeamount:
  8328. description: 成交金额[账户币种,用于所有权]
  8329. type: number
  8330. tradedate:
  8331. description: 交易日(yyyyMMdd)
  8332. type: string
  8333. tradeid:
  8334. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8335. type: string
  8336. trademode:
  8337. description: 交易模式
  8338. type: integer
  8339. tradeprice:
  8340. description: 成交价格
  8341. type: number
  8342. tradeproperty:
  8343. description: 交易属性
  8344. type: integer
  8345. tradeqty:
  8346. description: 成交数量
  8347. type: integer
  8348. tradetime:
  8349. description: 成交时间
  8350. type: string
  8351. tradetype:
  8352. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8353. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8354. type: integer
  8355. required:
  8356. - accountid
  8357. - buyorsell
  8358. - goodsid
  8359. - marketid
  8360. - memberuserid
  8361. - orderid
  8362. - tradeamount
  8363. - tradedate
  8364. - tradeid
  8365. - tradeprice
  8366. - tradeqty
  8367. - tradetime
  8368. type: object
  8369. order.QueryTradeOrderDetailRsp:
  8370. properties:
  8371. accountid:
  8372. description: 账户ID[报价币种]
  8373. type: integer
  8374. buildtype:
  8375. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8376. type: integer
  8377. buyorsell:
  8378. description: 买卖 - 0:买 1:卖
  8379. type: integer
  8380. cancelorderid:
  8381. description: 撤单单号(撤单时填写)
  8382. type: string
  8383. cancelqty:
  8384. description: 撤单数量
  8385. type: integer
  8386. clienttype:
  8387. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8388. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8389. type: integer
  8390. closefreezecharge:
  8391. description: 平仓冻结手续费(先建后平操作,需要记录)
  8392. type: number
  8393. closeqty:
  8394. description: 平仓数量(先建后平操作 需要记录)
  8395. type: integer
  8396. closetradeqty:
  8397. description: 平仓成交数量(先建后平操作,需要记录)
  8398. type: integer
  8399. closeunfreezecharge:
  8400. description: 平仓解冻手续费(先建后平操作,需要记录)
  8401. type: number
  8402. delistingtype:
  8403. description: 摘牌类型 - 1:价格最优 2:点选成交
  8404. type: integer
  8405. enableqty:
  8406. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8407. type: integer
  8408. freezecharge:
  8409. description: 冻结手续费
  8410. type: number
  8411. freezemargin:
  8412. description: 冻结保证金(冻结交易金额)
  8413. type: number
  8414. goodscode:
  8415. description: 商品代码
  8416. type: string
  8417. goodsid:
  8418. description: 商品ID
  8419. type: integer
  8420. goodsname:
  8421. description: 商品名称
  8422. type: string
  8423. listingselecttype:
  8424. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8425. type: integer
  8426. marketid:
  8427. description: 市场ID
  8428. type: integer
  8429. marketname:
  8430. description: 市场名称
  8431. type: string
  8432. openfreezecharge:
  8433. description: 开仓冻结手续费(先建后平操作,需要记录)
  8434. type: number
  8435. openqty:
  8436. description: 开仓数量(先建后平操作,需要记录)
  8437. type: integer
  8438. opentradeqty:
  8439. description: 开仓成交数量(先建后平操作,需要记录)
  8440. type: integer
  8441. openunfreezecharge:
  8442. description: 开仓解冻手续费(先建后平操作,需要记录)
  8443. type: number
  8444. operatetype:
  8445. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8446. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8447. 15:管理端协议转让
  8448. type: integer
  8449. operatorid:
  8450. description: 登录账号(LoginID)
  8451. type: integer
  8452. orderid:
  8453. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8454. type: string
  8455. orderprice:
  8456. description: 委托价格
  8457. type: number
  8458. orderqty:
  8459. description: 委托数量
  8460. type: integer
  8461. ordersrc:
  8462. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8463. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8464. type: integer
  8465. orderstatus:
  8466. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8467. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8468. 16:成交失败违约(荷兰式竞拍专用)
  8469. type: integer
  8470. ordertime:
  8471. description: 委托时间
  8472. type: string
  8473. preorderid:
  8474. description: 关联预埋单号(止盈止损单时填写)
  8475. type: string
  8476. pricemode:
  8477. description: '取价方式 - 1:市价 2: 限价'
  8478. type: integer
  8479. relatedid:
  8480. description: 关联单号(交割单)
  8481. type: string
  8482. tradedate:
  8483. description: 交易日(yyyyMMdd)
  8484. type: string
  8485. trademode:
  8486. description: 交易模式
  8487. type: integer
  8488. tradeqty:
  8489. description: 成交数量
  8490. type: integer
  8491. unfreezecharge:
  8492. description: 解冻手续费
  8493. type: number
  8494. unfreezemargin:
  8495. description: 解冻保证金
  8496. type: number
  8497. validtime:
  8498. description: 有效期限
  8499. type: string
  8500. validtype:
  8501. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8502. type: integer
  8503. volumetype:
  8504. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8505. type: integer
  8506. required:
  8507. - accountid
  8508. - buildtype
  8509. - buyorsell
  8510. - goodsid
  8511. - marketid
  8512. - operatetype
  8513. - orderqty
  8514. - ordertime
  8515. - pricemode
  8516. - tradedate
  8517. - validtype
  8518. type: object
  8519. order.QueryTradePositionRsp:
  8520. properties:
  8521. accountid:
  8522. description: 资金账户
  8523. type: integer
  8524. agreeunit:
  8525. description: 合约单位
  8526. type: number
  8527. averageprice:
  8528. description: 持仓均价
  8529. type: number
  8530. buyorsell:
  8531. description: 方向 - 0:买 1:卖
  8532. type: integer
  8533. closetotalqty:
  8534. description: 平仓总数量
  8535. type: integer
  8536. curholderamount:
  8537. description: 当前持仓总金额[商品币种]
  8538. type: number
  8539. curpositionqty:
  8540. description: 当前持仓总数量
  8541. type: integer
  8542. currencyid:
  8543. description: 报价货币ID
  8544. type: integer
  8545. curtdposition:
  8546. description: 期末今日头寸
  8547. type: integer
  8548. decimalplace:
  8549. description: 报价小数位
  8550. type: integer
  8551. enableqty:
  8552. description: 可用量
  8553. type: integer
  8554. fretdposition:
  8555. description: 冻结今日头寸
  8556. type: integer
  8557. frozenqty:
  8558. description: 持仓冻结数量
  8559. type: integer
  8560. goodscode:
  8561. description: 商品代码
  8562. type: string
  8563. goodsid:
  8564. description: 商品Id
  8565. type: integer
  8566. goodsname:
  8567. description: 商品名称
  8568. type: string
  8569. goodunit:
  8570. description: 报价单位
  8571. type: string
  8572. goodunitid:
  8573. description: 报价单位ID
  8574. type: integer
  8575. holderamount:
  8576. description: 期初持仓总金额[商品币种]
  8577. type: number
  8578. marketid:
  8579. description: 所属市场ID
  8580. type: integer
  8581. openreqqty:
  8582. description: 开仓申请数量(用于比较最大持仓数量)
  8583. type: integer
  8584. opentotalqty:
  8585. description: 开仓总数量
  8586. type: integer
  8587. otherfrozenqty:
  8588. description: 持仓其他冻结数量(交割冻结)
  8589. type: integer
  8590. positionqty:
  8591. description: 期初持仓数量
  8592. type: integer
  8593. tnqty:
  8594. description: T+N冻结总量
  8595. type: integer
  8596. tnusedqty:
  8597. description: T+N使用量(可以使用T+N的冻结数量)
  8598. type: integer
  8599. trademode:
  8600. description: 交易模式
  8601. type: integer
  8602. usedmargin:
  8603. description: 占用保证金[商品币种]
  8604. type: number
  8605. required:
  8606. - goodsid
  8607. type: object
  8608. quote.HistoryData:
  8609. properties:
  8610. c:
  8611. description: 收盘价
  8612. type: number
  8613. f:
  8614. description: 是否补充数据
  8615. type: boolean
  8616. h:
  8617. description: 最高价
  8618. type: number
  8619. hv:
  8620. description: 持仓量
  8621. type: integer
  8622. l:
  8623. description: 最低价
  8624. type: number
  8625. o:
  8626. description: 开盘价
  8627. type: number
  8628. s:
  8629. description: 结算价,日线周期(包括)以上才有
  8630. type: number
  8631. ts:
  8632. description: 时间
  8633. type: string
  8634. tt:
  8635. description: 总金额
  8636. type: number
  8637. tv:
  8638. description: 总量
  8639. type: integer
  8640. type: object
  8641. quote.HistoryTikData:
  8642. properties:
  8643. AV:
  8644. description: 卖量
  8645. type: integer
  8646. Ask:
  8647. description: 卖价
  8648. type: number
  8649. BV:
  8650. description: 买量
  8651. type: integer
  8652. Bid:
  8653. description: 买价
  8654. type: number
  8655. HI:
  8656. description: 单笔持仓
  8657. type: integer
  8658. HV:
  8659. description: 持仓量
  8660. type: integer
  8661. PE:
  8662. description: 现价
  8663. type: number
  8664. TDR:
  8665. description: 交易方向,0:买 1:卖
  8666. type: integer
  8667. TK:
  8668. description: 交易类型
  8669. type: integer
  8670. TS:
  8671. description: 行情时间文本
  8672. type: string
  8673. TT:
  8674. description: 现金额
  8675. type: number
  8676. Vol:
  8677. description: 现量
  8678. type: integer
  8679. type: object
  8680. quote.QueryQuoteDayRsp:
  8681. properties:
  8682. ask:
  8683. description: 卖1
  8684. type: number
  8685. ask2:
  8686. description: 卖2
  8687. type: number
  8688. ask3:
  8689. description: 卖3
  8690. type: number
  8691. ask4:
  8692. description: 卖4
  8693. type: number
  8694. ask5:
  8695. description: 卖5
  8696. type: number
  8697. ask6:
  8698. description: 卖6
  8699. type: number
  8700. ask7:
  8701. description: 卖7
  8702. type: number
  8703. ask8:
  8704. description: 卖8
  8705. type: number
  8706. ask9:
  8707. description: 卖9
  8708. type: number
  8709. ask10:
  8710. description: 卖10
  8711. type: number
  8712. askorderid:
  8713. description: 卖单号1
  8714. type: integer
  8715. askorderid2:
  8716. description: 卖单号2
  8717. type: integer
  8718. askorderid3:
  8719. description: 卖单号3
  8720. type: integer
  8721. askorderid4:
  8722. description: 卖单号4
  8723. type: integer
  8724. askorderid5:
  8725. description: 卖单号5
  8726. type: integer
  8727. askordervolume:
  8728. description: 卖单量1
  8729. type: integer
  8730. askordervolume2:
  8731. description: 卖单量2
  8732. type: integer
  8733. askordervolume3:
  8734. description: 卖单量3
  8735. type: integer
  8736. askordervolume4:
  8737. description: 卖单量4
  8738. type: integer
  8739. askordervolume5:
  8740. description: 卖单量5
  8741. type: integer
  8742. askordervolume6:
  8743. description: 卖单量6
  8744. type: integer
  8745. askordervolume7:
  8746. description: 卖单量7
  8747. type: integer
  8748. askordervolume8:
  8749. description: 卖单量8
  8750. type: integer
  8751. askordervolume9:
  8752. description: 卖单量9
  8753. type: integer
  8754. askordervolume10:
  8755. description: 卖单量10
  8756. type: integer
  8757. askqueueinfo:
  8758. description: 大利市卖港股用
  8759. type: string
  8760. askvolume:
  8761. description: 卖量1
  8762. type: integer
  8763. askvolume2:
  8764. description: 卖量2
  8765. type: integer
  8766. askvolume3:
  8767. description: 卖量3
  8768. type: integer
  8769. askvolume4:
  8770. description: 卖量4
  8771. type: integer
  8772. askvolume5:
  8773. description: 卖量5
  8774. type: integer
  8775. askvolume6:
  8776. description: 卖量6
  8777. type: integer
  8778. askvolume7:
  8779. description: 卖量7
  8780. type: integer
  8781. askvolume8:
  8782. description: 卖量8
  8783. type: integer
  8784. askvolume9:
  8785. description: 卖量9
  8786. type: integer
  8787. askvolume10:
  8788. description: 卖量10
  8789. type: integer
  8790. averageprice:
  8791. description: 均价
  8792. type: number
  8793. bid:
  8794. description: 买1
  8795. type: number
  8796. bid2:
  8797. description: 买2
  8798. type: number
  8799. bid3:
  8800. description: 买3
  8801. type: number
  8802. bid4:
  8803. description: 买4
  8804. type: number
  8805. bid5:
  8806. description: 买5
  8807. type: number
  8808. bid6:
  8809. description: 买6
  8810. type: number
  8811. bid7:
  8812. description: 买7
  8813. type: number
  8814. bid8:
  8815. description: 买8
  8816. type: number
  8817. bid9:
  8818. description: 买9
  8819. type: number
  8820. bid10:
  8821. description: 买10
  8822. type: number
  8823. bidorderid:
  8824. description: 买单号1
  8825. type: integer
  8826. bidorderid2:
  8827. description: 买单号2
  8828. type: integer
  8829. bidorderid3:
  8830. description: 买单号3
  8831. type: integer
  8832. bidorderid4:
  8833. description: 买单号4
  8834. type: integer
  8835. bidorderid5:
  8836. description: 买单号5
  8837. type: integer
  8838. bidordervolume:
  8839. description: 买单量1
  8840. type: integer
  8841. bidordervolume2:
  8842. description: 买单量2
  8843. type: integer
  8844. bidordervolume3:
  8845. description: 买单量3
  8846. type: integer
  8847. bidordervolume4:
  8848. description: 买单量4
  8849. type: integer
  8850. bidordervolume5:
  8851. description: 买单量5
  8852. type: integer
  8853. bidordervolume6:
  8854. description: 买单量6
  8855. type: integer
  8856. bidordervolume7:
  8857. description: 买单量7
  8858. type: integer
  8859. bidordervolume8:
  8860. description: 买单量8
  8861. type: integer
  8862. bidordervolume9:
  8863. description: 买单量9
  8864. type: integer
  8865. bidordervolume10:
  8866. description: 买单量10
  8867. type: integer
  8868. bidqueueinfo:
  8869. description: 大利市买港股用
  8870. type: string
  8871. bidvolume:
  8872. description: 买量1
  8873. type: integer
  8874. bidvolume2:
  8875. description: 买量2
  8876. type: integer
  8877. bidvolume3:
  8878. description: 买量3
  8879. type: integer
  8880. bidvolume4:
  8881. description: 买量4
  8882. type: integer
  8883. bidvolume5:
  8884. description: 买量5
  8885. type: integer
  8886. bidvolume6:
  8887. description: 买量6
  8888. type: integer
  8889. bidvolume7:
  8890. description: 买量7
  8891. type: integer
  8892. bidvolume8:
  8893. description: 买量8
  8894. type: integer
  8895. bidvolume9:
  8896. description: 买量9
  8897. type: integer
  8898. bidvolume10:
  8899. description: 买量10
  8900. type: integer
  8901. calloptionpremiums:
  8902. description: 认购期权1
  8903. type: integer
  8904. calloptionpremiums2:
  8905. description: 认购期权2
  8906. type: integer
  8907. calloptionpremiums3:
  8908. description: 认购期权3
  8909. type: integer
  8910. calloptionpremiums4:
  8911. description: 认购期权4
  8912. type: integer
  8913. calloptionpremiums5:
  8914. description: 认购期权5
  8915. type: integer
  8916. cleartime:
  8917. description: 清盘时间
  8918. type: integer
  8919. exchangecode:
  8920. description: 交易所代码
  8921. type: integer
  8922. exchangedate:
  8923. description: 交易日
  8924. type: integer
  8925. goodscode:
  8926. description: 商品代码
  8927. type: string
  8928. grepmarketprice:
  8929. description: 暗盘价 港股专用
  8930. type: number
  8931. highest:
  8932. description: 最高价
  8933. type: number
  8934. holdincrement:
  8935. description: 单笔持仓
  8936. type: integer
  8937. holdvolume:
  8938. description: 持仓
  8939. type: integer
  8940. iep:
  8941. description: 平衡价 港股专用
  8942. type: number
  8943. iev:
  8944. description: 平衡量 港股专用
  8945. type: number
  8946. inventory:
  8947. description: 库存
  8948. type: integer
  8949. iscleared:
  8950. description: 是否清盘标志
  8951. type: integer
  8952. issettled:
  8953. description: 是否结算标志
  8954. type: integer
  8955. last:
  8956. description: 最新价
  8957. type: number
  8958. lastlot:
  8959. description: 最新成交手数
  8960. type: integer
  8961. lasttime:
  8962. description: 行情时间(只有现价变化行情时间才变化)
  8963. type: string
  8964. lastturnover:
  8965. description: 最新成交金额
  8966. type: number
  8967. lastvolume:
  8968. description: 最新成交量
  8969. type: integer
  8970. limitdown:
  8971. description: 跌停价
  8972. type: number
  8973. limitup:
  8974. description: 涨停价
  8975. type: number
  8976. lowest:
  8977. description: 最低价
  8978. type: number
  8979. nontotalholdervolume:
  8980. description: 非交易持仓量
  8981. type: integer
  8982. nontotallot:
  8983. description: 非交易总手数
  8984. type: integer
  8985. nontotalturnover:
  8986. description: 非交易总金额
  8987. type: integer
  8988. nontotalvolume:
  8989. description: 非交易总量
  8990. type: integer
  8991. opened:
  8992. description: 开盘价
  8993. type: number
  8994. opentime:
  8995. description: 开盘时间
  8996. type: string
  8997. orderid:
  8998. description: 序号
  8999. type: integer
  9000. preclose:
  9001. description: 昨收
  9002. type: number
  9003. preholdvolume:
  9004. description: 昨持仓
  9005. type: integer
  9006. presettle:
  9007. description: 昨结价
  9008. type: number
  9009. publictradetype:
  9010. description: 公共交易标志类型 港股专用
  9011. type: string
  9012. putoptionpremiums:
  9013. description: 认沽期权1
  9014. type: integer
  9015. putoptionpremiums2:
  9016. description: 认沽期权2
  9017. type: integer
  9018. putoptionpremiums3:
  9019. description: 认沽期权3
  9020. type: integer
  9021. putoptionpremiums4:
  9022. description: 认沽期权4
  9023. type: integer
  9024. putoptionpremiums5:
  9025. description: 认沽期权5
  9026. type: integer
  9027. settle:
  9028. description: 结算价
  9029. type: number
  9030. strikeprice:
  9031. description: 发行价
  9032. type: number
  9033. totalaskvolume:
  9034. description: 内盘
  9035. type: integer
  9036. totalbidvolume:
  9037. description: 外盘
  9038. type: integer
  9039. totallot:
  9040. description: 总手数
  9041. type: integer
  9042. totalturnover:
  9043. description: 总金额
  9044. type: number
  9045. totalvolume:
  9046. description: 总量
  9047. type: integer
  9048. utclasttime:
  9049. description: utc的行情时间
  9050. type: string
  9051. type: object
  9052. quote.QueryTSDataRsp:
  9053. properties:
  9054. decimalPlace:
  9055. description: 小数位
  9056. type: integer
  9057. endTime:
  9058. description: 结束时间
  9059. type: string
  9060. goodsCode:
  9061. description: 商品代码
  9062. type: string
  9063. historyDatas:
  9064. description: 历史数据
  9065. items:
  9066. $ref: '#/definitions/quote.HistoryData'
  9067. type: array
  9068. outGoodsCode:
  9069. description: 外部商品代码
  9070. type: string
  9071. preSettle:
  9072. description: 昨结
  9073. type: number
  9074. startTime:
  9075. description: 开始时间
  9076. type: string
  9077. tradeDate:
  9078. description: 交易日
  9079. type: string
  9080. type: object
  9081. szdz.QueryConvertLogRsp:
  9082. properties:
  9083. accountid:
  9084. description: 资金账户ID
  9085. type: integer
  9086. clientticket:
  9087. description: 客户端流水号
  9088. type: string
  9089. converttype:
  9090. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  9091. type: integer
  9092. createtime:
  9093. description: 记账时间
  9094. type: string
  9095. daymaxvalue:
  9096. description: 配置当日最大转入限制
  9097. type: number
  9098. daymaxvalue2:
  9099. description: 配置当日最大转入限制(转入)
  9100. type: number
  9101. goodscode:
  9102. description: 商品代码
  9103. type: string
  9104. goodsname:
  9105. description: 商品名称
  9106. type: string
  9107. handlestatus:
  9108. description: 处理状态
  9109. type: integer
  9110. innergoodsid:
  9111. description: 内部商品ID
  9112. type: integer
  9113. inratio:
  9114. description: 配置转入比值
  9115. type: integer
  9116. invalue:
  9117. description: 目标值
  9118. type: number
  9119. logid:
  9120. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9121. type: integer
  9122. mobile:
  9123. description: 手机号码(加密存储)
  9124. type: string
  9125. outergoodscode:
  9126. description: 外部商品代码[JD\PD]
  9127. type: string
  9128. outratio:
  9129. description: 配置转出比值
  9130. type: integer
  9131. outvalue:
  9132. description: 源值
  9133. type: number
  9134. pddecimalplace:
  9135. description: PD小数位
  9136. type: integer
  9137. qty:
  9138. description: 数量
  9139. type: string
  9140. remark:
  9141. description: 备注
  9142. type: string
  9143. sessionid:
  9144. description: 会话ID
  9145. type: integer
  9146. timemaxvalue:
  9147. description: 配置单次最大转入限制
  9148. type: number
  9149. timemaxvalue2:
  9150. description: 配置单次最大转入限制(转入)
  9151. type: number
  9152. timeminvalue:
  9153. description: 配置单次最小数量限制
  9154. type: number
  9155. timeminvalue2:
  9156. description: 配置单次最小数量限制(转入)
  9157. type: number
  9158. tradedate:
  9159. description: 交易日(yyyyMMdd)
  9160. type: string
  9161. userid:
  9162. description: 用户ID
  9163. type: integer
  9164. required:
  9165. - logid
  9166. type: object
  9167. szdz.QueryGoodsPickupRsp:
  9168. properties:
  9169. accountid:
  9170. description: 账户ID
  9171. type: integer
  9172. address:
  9173. description: 提货人详细地址
  9174. type: string
  9175. auditer:
  9176. description: 审核人
  9177. type: integer
  9178. audittime:
  9179. description: 审核时间
  9180. type: string
  9181. cardnum:
  9182. description: 提货人证件号码
  9183. type: string
  9184. cardtypeid:
  9185. description: 提货人证件类型
  9186. type: integer
  9187. checkremark:
  9188. description: 审核备注
  9189. type: string
  9190. goodscode:
  9191. description: 商品代码
  9192. type: string
  9193. goodsid:
  9194. description: 商品ID
  9195. type: integer
  9196. goodsname:
  9197. description: 商品名称
  9198. type: string
  9199. handlestatus:
  9200. description: 处理状态
  9201. type: integer
  9202. marketid:
  9203. description: 市场ID
  9204. type: integer
  9205. phonenum:
  9206. description: 提货人联系方式
  9207. type: string
  9208. qty:
  9209. description: 提货数量
  9210. type: number
  9211. recivername:
  9212. description: 提货人姓名
  9213. type: string
  9214. reqtime:
  9215. description: 更新时间
  9216. type: string
  9217. takemode:
  9218. description: 提货方式 - 2:自提 3:配送
  9219. type: integer
  9220. takeorderid:
  9221. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9222. type: string
  9223. takeorderstatus:
  9224. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9225. type: integer
  9226. takeremark:
  9227. description: 提货备注
  9228. type: string
  9229. tradedate:
  9230. description: 交易日(yyyyMMdd)
  9231. type: string
  9232. userid:
  9233. description: 用户ID
  9234. type: integer
  9235. required:
  9236. - takeorderid
  9237. type: object
  9238. szdz.QueryRecieptOrderRsp:
  9239. properties:
  9240. accountName:
  9241. description: 所属账号名称(已脱敏)
  9242. type: string
  9243. accountid:
  9244. description: 资金账号
  9245. type: integer
  9246. buyorsell:
  9247. description: 方向 - 0:买 1:卖
  9248. type: integer
  9249. enableqty:
  9250. description: 可摘数量
  9251. type: integer
  9252. goodscode:
  9253. description: 商品代码
  9254. type: string
  9255. goodsid:
  9256. description: 商品ID
  9257. type: integer
  9258. goodsname:
  9259. description: 商品名称
  9260. type: string
  9261. orderid:
  9262. description: 委托单号
  9263. type: string
  9264. orderprice:
  9265. description: 委托价格
  9266. type: number
  9267. ordertime:
  9268. description: 委托时间
  9269. type: string
  9270. tradedate:
  9271. description: 交易日(yyyyMMdd)
  9272. type: string
  9273. required:
  9274. - ordertime
  9275. type: object
  9276. szdz.QuerySZDZTradePositionRsp:
  9277. properties:
  9278. accountid:
  9279. description: 账号Id
  9280. type: integer
  9281. agreeunit:
  9282. description: 合约单位
  9283. type: number
  9284. averageprice:
  9285. description: 持仓均价
  9286. type: number
  9287. buyorsell:
  9288. description: 方向 - 0:买 1:卖
  9289. type: integer
  9290. closetotalqty:
  9291. description: 平仓总数量
  9292. type: integer
  9293. curholderamount:
  9294. description: 当前持仓总金额
  9295. type: number
  9296. curpositionqty:
  9297. description: 当前持仓总数量
  9298. type: integer
  9299. currencyid:
  9300. description: 报价货币ID
  9301. type: integer
  9302. curtdposition:
  9303. description: 期末今日头寸
  9304. type: integer
  9305. decimalplace:
  9306. description: 报价小数位
  9307. type: integer
  9308. enableqty:
  9309. description: 可用量
  9310. type: integer
  9311. fretdposition:
  9312. description: 冻结今日头寸
  9313. type: integer
  9314. frozenqty:
  9315. description: 持仓冻结数量
  9316. type: integer
  9317. goodscode:
  9318. description: 商品代码(内部)
  9319. type: string
  9320. goodsid:
  9321. description: 商品Id
  9322. type: integer
  9323. goodsname:
  9324. description: 商品名称
  9325. type: string
  9326. goodunit:
  9327. description: 报价单位
  9328. type: string
  9329. goodunitid:
  9330. description: 报价单位ID
  9331. type: integer
  9332. holderamount:
  9333. description: 期初持仓总金额
  9334. type: number
  9335. marketid:
  9336. description: 市场ID
  9337. type: integer
  9338. openreqqty:
  9339. description: 开仓申请数量
  9340. type: integer
  9341. opentotalqty:
  9342. description: 开仓总数量
  9343. type: integer
  9344. otherfrozenqty:
  9345. description: 持仓其他冻结数量(交割冻结)
  9346. type: integer
  9347. positionqty:
  9348. description: 期初持仓数量
  9349. type: integer
  9350. szdz3freezqty:
  9351. description: 尚志大宗转换冻结总数量
  9352. type: integer
  9353. tnqty:
  9354. description: T+N冻结总量
  9355. type: integer
  9356. tnusedqty:
  9357. description: T+N使用量
  9358. type: integer
  9359. trademode:
  9360. description: 交易模式
  9361. type: integer
  9362. usedmargin:
  9363. description: 占用保证金
  9364. type: number
  9365. type: object
  9366. taaccount.QueryAmountLogRsp:
  9367. properties:
  9368. OPERATETYPENAME:
  9369. description: 资金操作类型名称
  9370. type: string
  9371. accountid:
  9372. description: 资金账户ID
  9373. type: integer
  9374. agoodscode:
  9375. description: 竞拍商品代码
  9376. type: string
  9377. agoodsname:
  9378. description: 竞拍商品名称
  9379. type: string
  9380. amount:
  9381. description: 资金金额
  9382. type: number
  9383. amountadjusttype:
  9384. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9385. type: integer
  9386. autoid:
  9387. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9388. type: integer
  9389. balance:
  9390. description: 期初余额
  9391. type: number
  9392. businesscode:
  9393. description: 业务编号
  9394. type: integer
  9395. createtime:
  9396. description: 发生时间
  9397. type: string
  9398. currencyid:
  9399. description: 币种ID
  9400. type: integer
  9401. currentbalance:
  9402. description: 期末余额(变动后金额)
  9403. type: number
  9404. dgoodscode:
  9405. description: 交割商品代码
  9406. type: string
  9407. dgoodsname:
  9408. description: 交割商品名称
  9409. type: string
  9410. goodscode:
  9411. description: 商品代码
  9412. type: string
  9413. goodsid:
  9414. description: 商品ID
  9415. type: integer
  9416. goodsname:
  9417. description: 商品名称
  9418. type: string
  9419. marketid:
  9420. description: 市场ID
  9421. type: integer
  9422. marketname:
  9423. description: 市场名称
  9424. type: string
  9425. moneyticket:
  9426. description: 资金流水号:银行端流水号
  9427. type: integer
  9428. operatetype:
  9429. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9430. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9431. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9432. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9433. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9434. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9435. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9436. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9437. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9438. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9439. type: integer
  9440. relationorderid:
  9441. description: 关联单号
  9442. type: string
  9443. remark:
  9444. description: 备注
  9445. type: string
  9446. trademode:
  9447. description: 交易模式
  9448. type: integer
  9449. required:
  9450. - accountid
  9451. - amount
  9452. - amountadjusttype
  9453. - autoid
  9454. - balance
  9455. - createtime
  9456. - currentbalance
  9457. - operatetype
  9458. type: object
  9459. taaccount.QueryHisAmountLogRsp:
  9460. properties:
  9461. OPERATETYPENAME:
  9462. description: 资金操作类型名称
  9463. type: string
  9464. accountid:
  9465. description: 资金账户ID
  9466. type: integer
  9467. agoodscode:
  9468. description: 竞拍商品代码
  9469. type: string
  9470. agoodsname:
  9471. description: 竞拍商品名称
  9472. type: string
  9473. amount:
  9474. description: 资金金额
  9475. type: number
  9476. amountadjusttype:
  9477. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9478. type: integer
  9479. autoid:
  9480. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9481. type: integer
  9482. balance:
  9483. description: 期初余额
  9484. type: number
  9485. businesscode:
  9486. description: 业务编号
  9487. type: integer
  9488. createtime:
  9489. description: 发生时间
  9490. type: string
  9491. currencyid:
  9492. description: 币种ID
  9493. type: integer
  9494. currentbalance:
  9495. description: 期末余额(变动后金额)
  9496. type: number
  9497. dgoodscode:
  9498. description: 交割商品代码
  9499. type: string
  9500. dgoodsname:
  9501. description: 交割商品名称
  9502. type: string
  9503. goodscode:
  9504. description: 商品代码
  9505. type: string
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. goodsname:
  9510. description: 商品名称
  9511. type: string
  9512. histradedate:
  9513. description: 历史交易日
  9514. type: string
  9515. isvaliddata:
  9516. description: 是否有效 - 0:无效 1:有效
  9517. type: integer
  9518. marketid:
  9519. description: 市场ID
  9520. type: integer
  9521. marketname:
  9522. description: 市场名称
  9523. type: string
  9524. moneyticket:
  9525. description: 资金流水号:银行端流水号
  9526. type: integer
  9527. operatetype:
  9528. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9529. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9530. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9531. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9532. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9533. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9534. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9535. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9536. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9537. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9538. type: integer
  9539. relationorderid:
  9540. description: 关联单号
  9541. type: string
  9542. remark:
  9543. description: 备注
  9544. type: string
  9545. trademode:
  9546. description: 交易模式
  9547. type: integer
  9548. required:
  9549. - accountid
  9550. - amount
  9551. - amountadjusttype
  9552. - autoid
  9553. - balance
  9554. - createtime
  9555. - currentbalance
  9556. - histradedate
  9557. - operatetype
  9558. type: object
  9559. trade.QueryRecieptOrderRsp:
  9560. properties:
  9561. accountName:
  9562. description: 所属账号名称(已脱敏)
  9563. type: string
  9564. accountid:
  9565. description: 资金账号
  9566. type: integer
  9567. buyorsell:
  9568. description: 方向 - 0:买 1:卖
  9569. type: integer
  9570. enableqty:
  9571. description: 可摘数量
  9572. type: integer
  9573. goodscode:
  9574. description: 商品代码
  9575. type: string
  9576. goodsid:
  9577. description: 商品ID
  9578. type: integer
  9579. goodsname:
  9580. description: 商品名称
  9581. type: string
  9582. orderid:
  9583. description: 委托单号
  9584. type: string
  9585. orderprice:
  9586. description: 委托价格
  9587. type: number
  9588. ordertime:
  9589. description: 委托时间
  9590. type: string
  9591. tradedate:
  9592. description: 交易日(yyyyMMdd)
  9593. type: string
  9594. required:
  9595. - ordertime
  9596. type: object
  9597. user.LoginQueryRsp:
  9598. properties:
  9599. externalExchanges:
  9600. description: 外部交易所
  9601. items:
  9602. $ref: '#/definitions/models.Externalexchange'
  9603. type: array
  9604. goodsgroups:
  9605. description: 商品组
  9606. items:
  9607. $ref: '#/definitions/models.Goodsgroup'
  9608. type: array
  9609. loginAccount:
  9610. $ref: '#/definitions/models.Loginaccount'
  9611. description: 登录账号
  9612. type: object
  9613. markets:
  9614. description: 市场
  9615. items:
  9616. $ref: '#/definitions/models.Market'
  9617. type: array
  9618. systemParams:
  9619. description: 系统参数
  9620. items:
  9621. $ref: '#/definitions/models.Systemparam'
  9622. type: array
  9623. userAccount:
  9624. $ref: '#/definitions/models.Useraccount'
  9625. description: 用户账号
  9626. type: object
  9627. userInfo:
  9628. $ref: '#/definitions/models.Userinfo'
  9629. description: 用户信息
  9630. type: object
  9631. username:
  9632. description: 用户姓名
  9633. type: string
  9634. type: object
  9635. info:
  9636. contact: {}
  9637. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9638. license: {}
  9639. termsOfService: http://muchinfo.cn
  9640. title: MTP2.0 查询服务 API
  9641. version: "1.0"
  9642. paths:
  9643. /CPTrade/QueryCPTradeMyBidInfos:
  9644. get:
  9645. parameters:
  9646. - description: 资金账户
  9647. in: query
  9648. name: accountid
  9649. required: true
  9650. type: integer
  9651. - description: 预售市场ID
  9652. in: query
  9653. name: marketid
  9654. type: integer
  9655. - description: 预售商品ID
  9656. in: query
  9657. name: goodsid
  9658. type: integer
  9659. produces:
  9660. - application/json
  9661. responses:
  9662. "200":
  9663. description: OK
  9664. schema:
  9665. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9666. "500":
  9667. description: Internal Server Error
  9668. schema:
  9669. $ref: '#/definitions/app.Response'
  9670. security:
  9671. - ApiKeyAuth: []
  9672. summary: 查询产能预售我的出价信息
  9673. tags:
  9674. - 产能预售
  9675. /CPTrade/QueryCPTradeOrderDetail:
  9676. get:
  9677. parameters:
  9678. - description: 预售商品ID
  9679. in: query
  9680. name: goodsid
  9681. type: integer
  9682. - description: 预售市场ID
  9683. in: query
  9684. name: marketid
  9685. type: integer
  9686. - description: 预售商品ID列表 - 格式:1,2,3
  9687. in: query
  9688. name: goodsids
  9689. type: string
  9690. produces:
  9691. - application/json
  9692. responses:
  9693. "200":
  9694. description: OK
  9695. schema:
  9696. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9697. "500":
  9698. description: Internal Server Error
  9699. schema:
  9700. $ref: '#/definitions/app.Response'
  9701. security:
  9702. - ApiKeyAuth: []
  9703. summary: 查询产能预售委托单信息
  9704. tags:
  9705. - 产能预售
  9706. /CPTrade/QueryMyCPTradeGoods:
  9707. get:
  9708. parameters:
  9709. - description: 资金账户
  9710. in: query
  9711. name: accountid
  9712. required: true
  9713. type: integer
  9714. produces:
  9715. - application/json
  9716. responses:
  9717. "200":
  9718. description: OK
  9719. schema:
  9720. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9721. "500":
  9722. description: Internal Server Error
  9723. schema:
  9724. $ref: '#/definitions/app.Response'
  9725. security:
  9726. - ApiKeyAuth: []
  9727. summary: 查询我的预售信息
  9728. tags:
  9729. - 产能预售
  9730. /CPTrade/QueryPositionCancel:
  9731. get:
  9732. parameters:
  9733. - description: 账户ID
  9734. in: query
  9735. name: userid
  9736. required: true
  9737. type: integer
  9738. - description: 注销ID
  9739. in: query
  9740. name: cancelid
  9741. type: integer
  9742. - description: 资金账户ID
  9743. in: query
  9744. name: accountid
  9745. type: integer
  9746. produces:
  9747. - application/json
  9748. responses:
  9749. "200":
  9750. description: OK
  9751. schema:
  9752. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9753. "500":
  9754. description: Internal Server Error
  9755. schema:
  9756. $ref: '#/definitions/app.Response'
  9757. security:
  9758. - ApiKeyAuth: []
  9759. summary: 查询远期订单注销申请信息
  9760. tags:
  9761. - 产能预售
  9762. /CPTrade/QueryPreasleApply:
  9763. get:
  9764. parameters:
  9765. - description: 账户ID
  9766. in: query
  9767. name: userid
  9768. required: true
  9769. type: integer
  9770. - description: 申请ID
  9771. in: query
  9772. name: applyid
  9773. type: integer
  9774. - description: 资金账户ID
  9775. in: query
  9776. name: accountid
  9777. type: integer
  9778. produces:
  9779. - application/json
  9780. responses:
  9781. "200":
  9782. description: OK
  9783. schema:
  9784. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9785. "500":
  9786. description: Internal Server Error
  9787. schema:
  9788. $ref: '#/definitions/app.Response'
  9789. security:
  9790. - ApiKeyAuth: []
  9791. summary: 查询产能预售申请信息
  9792. tags:
  9793. - 产能预售
  9794. /CPTrade/QueryPresaleGoodsEx:
  9795. get:
  9796. parameters:
  9797. - description: 预售商品ID
  9798. in: query
  9799. name: goodsid
  9800. type: integer
  9801. - description: 预售市场ID
  9802. in: query
  9803. name: marketid
  9804. type: integer
  9805. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9806. in: query
  9807. name: presalemode
  9808. type: integer
  9809. - description: 预售商品ID列表 - 格式:1,2,3
  9810. in: query
  9811. name: goodsids
  9812. type: string
  9813. - description: 预售商品代码
  9814. in: query
  9815. name: goodscode
  9816. type: string
  9817. produces:
  9818. - application/json
  9819. responses:
  9820. "200":
  9821. description: OK
  9822. schema:
  9823. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9824. "500":
  9825. description: Internal Server Error
  9826. schema:
  9827. $ref: '#/definitions/app.Response'
  9828. security:
  9829. - ApiKeyAuth: []
  9830. summary: 查询产能预售商品扩展信息
  9831. tags:
  9832. - 产能预售
  9833. /CPTrade/QueryUserGoodsData:
  9834. get:
  9835. parameters:
  9836. - description: 资金账户ID
  9837. in: query
  9838. name: accountid
  9839. required: true
  9840. type: integer
  9841. produces:
  9842. - application/json
  9843. responses:
  9844. "200":
  9845. description: OK
  9846. schema:
  9847. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9848. "500":
  9849. description: Internal Server Error
  9850. schema:
  9851. $ref: '#/definitions/app.Response'
  9852. security:
  9853. - ApiKeyAuth: []
  9854. summary: 查询远期订单信息
  9855. tags:
  9856. - 产能预售
  9857. /Common/GetAllEnums:
  9858. get:
  9859. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9860. parameters:
  9861. - description: 起始自增ID
  9862. in: query
  9863. name: autoid
  9864. type: integer
  9865. produces:
  9866. - application/json
  9867. responses:
  9868. "200":
  9869. description: OK
  9870. schema:
  9871. $ref: '#/definitions/models.Enumdicitem'
  9872. "500":
  9873. description: Internal Server Error
  9874. schema:
  9875. $ref: '#/definitions/app.Response'
  9876. summary: 获取所有枚举信息
  9877. tags:
  9878. - 通用服务
  9879. /Common/GetDivisions:
  9880. get:
  9881. produces:
  9882. - application/json
  9883. responses:
  9884. "200":
  9885. description: OK
  9886. schema:
  9887. $ref: '#/definitions/models.Division'
  9888. "500":
  9889. description: Internal Server Error
  9890. schema:
  9891. $ref: '#/definitions/app.Response'
  9892. summary: 查询区域信息
  9893. tags:
  9894. - 通用服务
  9895. /Common/GetServerTime:
  9896. get:
  9897. produces:
  9898. - application/json
  9899. responses:
  9900. "200":
  9901. description: OK
  9902. schema:
  9903. $ref: '#/definitions/app.Response'
  9904. "500":
  9905. description: Internal Server Error
  9906. schema:
  9907. $ref: '#/definitions/app.Response'
  9908. summary: 获取服务器时间
  9909. tags:
  9910. - 通用服务
  9911. /Common/NoticeReaded:
  9912. post:
  9913. parameters:
  9914. - description: 登录账号
  9915. in: query
  9916. name: loginID
  9917. required: true
  9918. type: integer
  9919. - description: 通知公告ID
  9920. in: query
  9921. name: noticeID
  9922. required: true
  9923. type: integer
  9924. produces:
  9925. - application/json
  9926. responses:
  9927. "200":
  9928. description: OK
  9929. schema:
  9930. $ref: '#/definitions/app.Response'
  9931. "500":
  9932. description: Internal Server Error
  9933. schema:
  9934. $ref: '#/definitions/app.Response'
  9935. security:
  9936. - ApiKeyAuth: []
  9937. summary: 通知公告设置已读请求
  9938. tags:
  9939. - 通用服务
  9940. /Common/QueryErrorInfos:
  9941. get:
  9942. description: 如果传入rowNumber,则返回此rowNumber后的数据
  9943. parameters:
  9944. - description: 起始行号前索引
  9945. in: query
  9946. name: rowNumber
  9947. type: string
  9948. produces:
  9949. - application/json
  9950. responses:
  9951. "200":
  9952. description: OK
  9953. schema:
  9954. $ref: '#/definitions/models.QueryErrorInfosRsp'
  9955. "500":
  9956. description: Internal Server Error
  9957. schema:
  9958. $ref: '#/definitions/app.Response'
  9959. summary: 获取数据库错误信息
  9960. tags:
  9961. - 通用服务
  9962. /Common/QueryImageConfigs:
  9963. get:
  9964. parameters:
  9965. - description: 类型 - 1:App首页轮播 2:我的
  9966. in: query
  9967. name: imageType
  9968. type: integer
  9969. produces:
  9970. - application/json
  9971. responses:
  9972. "200":
  9973. description: OK
  9974. schema:
  9975. $ref: '#/definitions/common.QueryImageConfigsRsp'
  9976. "500":
  9977. description: Internal Server Error
  9978. schema:
  9979. $ref: '#/definitions/app.Response'
  9980. summary: 查询轮播图配置信息
  9981. tags:
  9982. - 通用服务
  9983. /Common/QueryNotice:
  9984. get:
  9985. parameters:
  9986. - description: 页码
  9987. in: query
  9988. name: page
  9989. type: integer
  9990. - description: 每页条数
  9991. in: query
  9992. name: pagesize
  9993. type: integer
  9994. - description: 登录账号
  9995. in: query
  9996. name: loginID
  9997. required: true
  9998. type: integer
  9999. - description: 消息类型 - 1:公告通知 2:系统消息
  10000. in: query
  10001. name: msgType
  10002. type: integer
  10003. - description: 是否只获取未读信息
  10004. in: query
  10005. name: onlyUnRead
  10006. type: boolean
  10007. - description: 自增ID,传入后会返回这个ID后面的记录
  10008. in: query
  10009. name: lastID
  10010. type: integer
  10011. produces:
  10012. - application/json
  10013. responses:
  10014. "200":
  10015. description: OK
  10016. schema:
  10017. $ref: '#/definitions/common.QueryNoticeRsp'
  10018. "500":
  10019. description: Internal Server Error
  10020. schema:
  10021. $ref: '#/definitions/app.Response'
  10022. security:
  10023. - ApiKeyAuth: []
  10024. summary: 通知公告系统消息查询
  10025. tags:
  10026. - 通用服务
  10027. /Common/QueryProvincesAndCities:
  10028. get:
  10029. parameters:
  10030. - description: 省ID
  10031. in: query
  10032. name: provinceID
  10033. type: integer
  10034. produces:
  10035. - application/json
  10036. responses:
  10037. "200":
  10038. description: OK
  10039. schema:
  10040. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  10041. "500":
  10042. description: Internal Server Error
  10043. schema:
  10044. $ref: '#/definitions/app.Response'
  10045. summary: 查询省市信息(不包括区)
  10046. tags:
  10047. - 通用服务
  10048. /Common/QueryTableDefine:
  10049. get:
  10050. parameters:
  10051. - description: 表key
  10052. in: query
  10053. name: tableKey
  10054. type: string
  10055. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  10056. in: query
  10057. name: tableType
  10058. type: integer
  10059. produces:
  10060. - application/json
  10061. responses:
  10062. "200":
  10063. description: OK
  10064. schema:
  10065. $ref: '#/definitions/common.QueryTableDefineRsp'
  10066. "500":
  10067. description: Internal Server Error
  10068. schema:
  10069. $ref: '#/definitions/app.Response'
  10070. summary: 查询交易端列表头信息
  10071. tags:
  10072. - 通用服务
  10073. /Common/QueryTraderMenu:
  10074. get:
  10075. parameters:
  10076. - description: 登录账号
  10077. in: query
  10078. name: loginid
  10079. required: true
  10080. type: integer
  10081. produces:
  10082. - application/json
  10083. responses:
  10084. "200":
  10085. description: OK
  10086. schema:
  10087. $ref: '#/definitions/common.QueryTraderMenuRsp'
  10088. "500":
  10089. description: Internal Server Error
  10090. schema:
  10091. $ref: '#/definitions/app.Response'
  10092. summary: 查询交易端菜单
  10093. tags:
  10094. - 通用服务
  10095. /Delivery/QueryDeliveryRelation:
  10096. get:
  10097. parameters:
  10098. - description: 商品ID
  10099. in: query
  10100. name: goodsid
  10101. type: integer
  10102. - description: 品种ID
  10103. in: query
  10104. name: deliverygoodsid
  10105. type: integer
  10106. - description: 市场ID
  10107. in: query
  10108. name: marketid
  10109. type: integer
  10110. produces:
  10111. - application/json
  10112. responses:
  10113. "200":
  10114. description: OK
  10115. schema:
  10116. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  10117. "500":
  10118. description: Internal Server Error
  10119. schema:
  10120. $ref: '#/definitions/app.Response'
  10121. security:
  10122. - ApiKeyAuth: []
  10123. summary: 查询商品交割关系表
  10124. tags:
  10125. - 交割服务
  10126. /Ermcp/GetErmcpGoods:
  10127. get:
  10128. parameters:
  10129. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10130. in: query
  10131. name: lastUpdateTime
  10132. type: string
  10133. produces:
  10134. - application/json
  10135. responses:
  10136. "200":
  10137. description: OK
  10138. schema:
  10139. $ref: '#/definitions/models.Goods'
  10140. "500":
  10141. description: Internal Server Error
  10142. schema:
  10143. $ref: '#/definitions/app.Response'
  10144. security:
  10145. - ApiKeyAuth: []
  10146. summary: 查询企业风管期货商品信息
  10147. tags:
  10148. - 企业风险管理(app)
  10149. /Ermcp/GetErmcpRoleFuncMenuLists:
  10150. get:
  10151. parameters:
  10152. - description: 登录账号
  10153. in: query
  10154. name: loginID
  10155. required: true
  10156. type: integer
  10157. produces:
  10158. - application/json
  10159. responses:
  10160. "200":
  10161. description: OK
  10162. schema:
  10163. $ref: '#/definitions/models.Funcmenulist'
  10164. "500":
  10165. description: Internal Server Error
  10166. schema:
  10167. $ref: '#/definitions/app.Response'
  10168. security:
  10169. - ApiKeyAuth: []
  10170. summary: 获取企业风管终端权限
  10171. tags:
  10172. - 企业风险管理(app)
  10173. /Ermcp/QryReportDayExposure:
  10174. get:
  10175. parameters:
  10176. - description: 用户ID
  10177. in: query
  10178. name: userid
  10179. required: true
  10180. type: integer
  10181. - description: 交易日(格式:yyyyMMdd)
  10182. in: query
  10183. name: tradedate
  10184. required: true
  10185. type: string
  10186. produces:
  10187. - application/json
  10188. responses:
  10189. "200":
  10190. description: OK
  10191. schema:
  10192. items:
  10193. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10194. type: array
  10195. "500":
  10196. description: Internal Server Error
  10197. schema:
  10198. $ref: '#/definitions/app.Response'
  10199. security:
  10200. - ApiKeyAuth: []
  10201. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10202. tags:
  10203. - 企业风险管理(app)
  10204. /Ermcp/QryReportDayFinance:
  10205. get:
  10206. parameters:
  10207. - description: 用户ID
  10208. in: query
  10209. name: userid
  10210. required: true
  10211. type: integer
  10212. - description: 交易日(格式:yyyyMMdd)
  10213. in: query
  10214. name: tradedate
  10215. required: true
  10216. type: string
  10217. produces:
  10218. - application/json
  10219. responses:
  10220. "200":
  10221. description: OK
  10222. schema:
  10223. items:
  10224. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10225. type: array
  10226. "500":
  10227. description: Internal Server Error
  10228. schema:
  10229. $ref: '#/definitions/app.Response'
  10230. security:
  10231. - ApiKeyAuth: []
  10232. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10233. tags:
  10234. - 企业风险管理(app)
  10235. /Ermcp/QryReportDayFinanceFp:
  10236. get:
  10237. parameters:
  10238. - description: 用户ID
  10239. in: query
  10240. name: userid
  10241. required: true
  10242. type: integer
  10243. - description: 交易日(格式:yyyyMMdd)
  10244. in: query
  10245. name: tradedate
  10246. required: true
  10247. type: string
  10248. produces:
  10249. - application/json
  10250. responses:
  10251. "200":
  10252. description: OK
  10253. schema:
  10254. items:
  10255. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10256. type: array
  10257. "500":
  10258. description: Internal Server Error
  10259. schema:
  10260. $ref: '#/definitions/app.Response'
  10261. security:
  10262. - ApiKeyAuth: []
  10263. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10264. tags:
  10265. - 企业风险管理(app)
  10266. /Ermcp/QryReportDayFinanceKx:
  10267. get:
  10268. parameters:
  10269. - description: 用户ID
  10270. in: query
  10271. name: userid
  10272. required: true
  10273. type: integer
  10274. - description: 交易日(格式:yyyyMMdd)
  10275. in: query
  10276. name: tradedate
  10277. required: true
  10278. type: string
  10279. produces:
  10280. - application/json
  10281. responses:
  10282. "200":
  10283. description: OK
  10284. schema:
  10285. items:
  10286. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10287. type: array
  10288. "500":
  10289. description: Internal Server Error
  10290. schema:
  10291. $ref: '#/definitions/app.Response'
  10292. security:
  10293. - ApiKeyAuth: []
  10294. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10295. tags:
  10296. - 企业风险管理(app)
  10297. /Ermcp/QryReportDaySpot:
  10298. get:
  10299. parameters:
  10300. - description: 用户ID
  10301. in: query
  10302. name: userid
  10303. required: true
  10304. type: integer
  10305. - description: 交易日(格式:yyyyMMdd)
  10306. in: query
  10307. name: tradedate
  10308. required: true
  10309. type: string
  10310. produces:
  10311. - application/json
  10312. responses:
  10313. "200":
  10314. description: OK
  10315. schema:
  10316. items:
  10317. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10318. type: array
  10319. "500":
  10320. description: Internal Server Error
  10321. schema:
  10322. $ref: '#/definitions/app.Response'
  10323. security:
  10324. - ApiKeyAuth: []
  10325. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10326. tags:
  10327. - 企业风险管理(app)
  10328. /Ermcp/QryReportDaySpotDetail:
  10329. get:
  10330. parameters:
  10331. - description: 用户ID
  10332. in: query
  10333. name: userid
  10334. required: true
  10335. type: integer
  10336. - description: 现货商品id
  10337. in: query
  10338. name: wrstandardid
  10339. required: true
  10340. type: integer
  10341. - description: 交易日(格式:yyyyMMdd)
  10342. in: query
  10343. name: tradedate
  10344. required: true
  10345. type: string
  10346. produces:
  10347. - application/json
  10348. responses:
  10349. "200":
  10350. description: OK
  10351. schema:
  10352. items:
  10353. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10354. type: array
  10355. "500":
  10356. description: Internal Server Error
  10357. schema:
  10358. $ref: '#/definitions/app.Response'
  10359. security:
  10360. - ApiKeyAuth: []
  10361. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10362. tags:
  10363. - 企业风险管理(app)
  10364. /Ermcp/QryReportMonthFinance:
  10365. get:
  10366. parameters:
  10367. - description: 用户ID
  10368. in: query
  10369. name: userid
  10370. required: true
  10371. type: integer
  10372. - description: 周期时间:月(格式:yyyyMM)
  10373. in: query
  10374. name: cycletime
  10375. required: true
  10376. type: string
  10377. produces:
  10378. - application/json
  10379. responses:
  10380. "200":
  10381. description: OK
  10382. schema:
  10383. items:
  10384. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10385. type: array
  10386. "500":
  10387. description: Internal Server Error
  10388. schema:
  10389. $ref: '#/definitions/app.Response'
  10390. security:
  10391. - ApiKeyAuth: []
  10392. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10393. tags:
  10394. - 企业风险管理(app)
  10395. /Ermcp/QryReportMonthSpot:
  10396. get:
  10397. parameters:
  10398. - description: 用户ID
  10399. in: query
  10400. name: userid
  10401. required: true
  10402. type: integer
  10403. - description: 周期时间:月(格式:yyyyMM)
  10404. in: query
  10405. name: cycletime
  10406. required: true
  10407. type: string
  10408. produces:
  10409. - application/json
  10410. responses:
  10411. "200":
  10412. description: OK
  10413. schema:
  10414. items:
  10415. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  10416. type: array
  10417. "500":
  10418. description: Internal Server Error
  10419. schema:
  10420. $ref: '#/definitions/app.Response'
  10421. security:
  10422. - ApiKeyAuth: []
  10423. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  10424. tags:
  10425. - 企业风险管理(app)
  10426. /Ermcp/QryReportMonthSpotDetail:
  10427. get:
  10428. parameters:
  10429. - description: 用户ID
  10430. in: query
  10431. name: userid
  10432. required: true
  10433. type: integer
  10434. - description: 现货商品id
  10435. in: query
  10436. name: wrstandardid
  10437. required: true
  10438. type: integer
  10439. - description: 周期时间:月(格式:yyyyMM)
  10440. in: query
  10441. name: cycletime
  10442. required: true
  10443. type: string
  10444. produces:
  10445. - application/json
  10446. responses:
  10447. "200":
  10448. description: OK
  10449. schema:
  10450. items:
  10451. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10452. type: array
  10453. "500":
  10454. description: Internal Server Error
  10455. schema:
  10456. $ref: '#/definitions/app.Response'
  10457. security:
  10458. - ApiKeyAuth: []
  10459. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10460. tags:
  10461. - 企业风险管理(app)
  10462. /Ermcp/QueryAreaStock:
  10463. get:
  10464. parameters:
  10465. - description: 用户ID
  10466. in: query
  10467. name: userid
  10468. required: true
  10469. type: integer
  10470. produces:
  10471. - application/json
  10472. responses:
  10473. "200":
  10474. description: OK
  10475. schema:
  10476. items:
  10477. $ref: '#/definitions/models.ErmcpAreaStock'
  10478. type: array
  10479. "500":
  10480. description: Internal Server Error
  10481. schema:
  10482. $ref: '#/definitions/app.Response'
  10483. security:
  10484. - ApiKeyAuth: []
  10485. summary: 查询机构库存(库存管理/当前库存)
  10486. tags:
  10487. - 企业风险管理(app)
  10488. /Ermcp/QueryAreaStockApply:
  10489. get:
  10490. parameters:
  10491. - description: 用户ID
  10492. in: query
  10493. name: userid
  10494. required: true
  10495. type: integer
  10496. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  10497. in: query
  10498. name: inouttype
  10499. type: string
  10500. - description: 合同ID
  10501. in: query
  10502. name: spotcontractid
  10503. type: integer
  10504. - description: 现货商品ID
  10505. in: query
  10506. name: wrstandardid
  10507. type: integer
  10508. - description: 品牌ID
  10509. in: query
  10510. name: spotgoodsbrandid
  10511. type: integer
  10512. - description: 型号ID
  10513. in: query
  10514. name: spotgoodsmodelid
  10515. type: integer
  10516. - description: 仓库ID
  10517. in: query
  10518. name: warehouseinfoid
  10519. type: integer
  10520. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10521. in: query
  10522. name: applystatus
  10523. type: string
  10524. produces:
  10525. - application/json
  10526. responses:
  10527. "200":
  10528. description: OK
  10529. schema:
  10530. items:
  10531. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  10532. type: array
  10533. "500":
  10534. description: Internal Server Error
  10535. schema:
  10536. $ref: '#/definitions/app.Response'
  10537. security:
  10538. - ApiKeyAuth: []
  10539. summary: 查询库存申请(出入库记录|库存审核)
  10540. tags:
  10541. - 企业风险管理(app)
  10542. /Ermcp/QueryAreaStockApplySum:
  10543. get:
  10544. parameters:
  10545. - description: 合同ID
  10546. in: query
  10547. name: spotcontractid
  10548. type: integer
  10549. produces:
  10550. - application/json
  10551. responses:
  10552. "200":
  10553. description: OK
  10554. schema:
  10555. items:
  10556. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  10557. type: array
  10558. "500":
  10559. description: Internal Server Error
  10560. schema:
  10561. $ref: '#/definitions/app.Response'
  10562. security:
  10563. - ApiKeyAuth: []
  10564. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  10565. tags:
  10566. - 企业风险管理(app)
  10567. /Ermcp/QueryAreaStockReport:
  10568. get:
  10569. parameters:
  10570. - description: 用户ID
  10571. in: query
  10572. name: userid
  10573. required: true
  10574. type: integer
  10575. - description: 查询类型 1-日报表 2-月报表
  10576. in: query
  10577. name: querytype
  10578. required: true
  10579. type: integer
  10580. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  10581. in: query
  10582. name: querydate
  10583. required: true
  10584. type: string
  10585. - description: 现货商品ID
  10586. in: query
  10587. name: wrstandardid
  10588. type: integer
  10589. - description: 品牌ID
  10590. in: query
  10591. name: spotgoodsbrandid
  10592. type: integer
  10593. - description: 型号ID
  10594. in: query
  10595. name: spotgoodsmodelid
  10596. type: integer
  10597. - description: 仓库ID
  10598. in: query
  10599. name: warehouseinfoid
  10600. type: integer
  10601. produces:
  10602. - application/json
  10603. responses:
  10604. "200":
  10605. description: OK
  10606. schema:
  10607. items:
  10608. $ref: '#/definitions/models.ErmcpAreaStockReport'
  10609. type: array
  10610. "500":
  10611. description: Internal Server Error
  10612. schema:
  10613. $ref: '#/definitions/app.Response'
  10614. security:
  10615. - ApiKeyAuth: []
  10616. summary: 查询库存报表
  10617. tags:
  10618. - 企业风险管理(app)
  10619. /Ermcp/QueryAreaStockReportDetail:
  10620. get:
  10621. parameters:
  10622. - description: 用户ID
  10623. in: query
  10624. name: userid
  10625. required: true
  10626. type: integer
  10627. - description: 查询类型 1-日报表明细 2-月报表明细
  10628. in: query
  10629. name: querytype
  10630. required: true
  10631. type: integer
  10632. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  10633. in: query
  10634. name: detailtype
  10635. required: true
  10636. type: integer
  10637. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  10638. in: query
  10639. name: querydate
  10640. required: true
  10641. type: string
  10642. - description: 现货商品ID
  10643. in: query
  10644. name: wrstandardid
  10645. type: integer
  10646. - description: 品牌ID
  10647. in: query
  10648. name: spotgoodsbrandid
  10649. type: integer
  10650. - description: 型号ID
  10651. in: query
  10652. name: spotgoodsmodelid
  10653. type: integer
  10654. - description: 仓库ID
  10655. in: query
  10656. name: warehouseinfoid
  10657. type: integer
  10658. produces:
  10659. - application/json
  10660. responses:
  10661. "200":
  10662. description: OK
  10663. schema:
  10664. items:
  10665. $ref: '#/definitions/models.ErmcpAreaStockApply'
  10666. type: array
  10667. "500":
  10668. description: Internal Server Error
  10669. schema:
  10670. $ref: '#/definitions/app.Response'
  10671. security:
  10672. - ApiKeyAuth: []
  10673. summary: 查询库存报表明细
  10674. tags:
  10675. - 企业风险管理(app)
  10676. /Ermcp/QueryAvaildGoodsGroup:
  10677. get:
  10678. parameters:
  10679. - description: 所属机构ID
  10680. in: query
  10681. name: userid
  10682. required: true
  10683. type: integer
  10684. produces:
  10685. - application/json
  10686. responses:
  10687. "200":
  10688. description: OK
  10689. schema:
  10690. items:
  10691. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  10692. type: array
  10693. "500":
  10694. description: Internal Server Error
  10695. schema:
  10696. $ref: '#/definitions/app.Response'
  10697. security:
  10698. - ApiKeyAuth: []
  10699. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  10700. tags:
  10701. - 企业风险管理(app)
  10702. /Ermcp/QueryBusinessDj:
  10703. get:
  10704. parameters:
  10705. - description: 用户ID
  10706. in: query
  10707. name: UserId
  10708. required: true
  10709. type: integer
  10710. - description: 现货合同ID, 不填则查所有
  10711. in: query
  10712. name: relatedid
  10713. type: string
  10714. produces:
  10715. - application/json
  10716. responses:
  10717. "200":
  10718. description: OK
  10719. schema:
  10720. items:
  10721. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  10722. type: array
  10723. "500":
  10724. description: Internal Server Error
  10725. schema:
  10726. $ref: '#/definitions/app.Response'
  10727. security:
  10728. - ApiKeyAuth: []
  10729. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  10730. tags:
  10731. - 企业风险管理(app)
  10732. /Ermcp/QueryBusinessFp:
  10733. get:
  10734. parameters:
  10735. - description: 用户ID
  10736. in: query
  10737. name: UserId
  10738. required: true
  10739. type: integer
  10740. - description: 现货合同ID, 不填则查所有
  10741. in: query
  10742. name: relatedid
  10743. type: string
  10744. produces:
  10745. - application/json
  10746. responses:
  10747. "200":
  10748. description: OK
  10749. schema:
  10750. items:
  10751. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  10752. type: array
  10753. "500":
  10754. description: Internal Server Error
  10755. schema:
  10756. $ref: '#/definitions/app.Response'
  10757. security:
  10758. - ApiKeyAuth: []
  10759. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  10760. tags:
  10761. - 企业风险管理(app)
  10762. /Ermcp/QueryBusinessJs:
  10763. get:
  10764. parameters:
  10765. - description: 用户ID
  10766. in: query
  10767. name: UserId
  10768. required: true
  10769. type: integer
  10770. - description: 现货合同ID, 不填则查所有
  10771. in: query
  10772. name: relatedid
  10773. type: string
  10774. produces:
  10775. - application/json
  10776. responses:
  10777. "200":
  10778. description: OK
  10779. schema:
  10780. items:
  10781. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  10782. type: array
  10783. "500":
  10784. description: Internal Server Error
  10785. schema:
  10786. $ref: '#/definitions/app.Response'
  10787. security:
  10788. - ApiKeyAuth: []
  10789. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  10790. tags:
  10791. - 企业风险管理(app)
  10792. /Ermcp/QueryBusinessJsEx:
  10793. get:
  10794. parameters:
  10795. - description: 用户ID
  10796. in: query
  10797. name: UserId
  10798. required: true
  10799. type: integer
  10800. - description: 现货合同ID, 不填则查所有
  10801. in: query
  10802. name: relatedid
  10803. type: string
  10804. produces:
  10805. - application/json
  10806. responses:
  10807. "200":
  10808. description: OK
  10809. schema:
  10810. items:
  10811. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  10812. type: array
  10813. "500":
  10814. description: Internal Server Error
  10815. schema:
  10816. $ref: '#/definitions/app.Response'
  10817. security:
  10818. - ApiKeyAuth: []
  10819. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  10820. tags:
  10821. - 企业风险管理(app)
  10822. /Ermcp/QueryBusinessKx:
  10823. get:
  10824. parameters:
  10825. - description: 用户ID
  10826. in: query
  10827. name: UserId
  10828. required: true
  10829. type: integer
  10830. - description: 现货合同ID, 不填则查所有
  10831. in: query
  10832. name: relatedid
  10833. type: string
  10834. produces:
  10835. - application/json
  10836. responses:
  10837. "200":
  10838. description: OK
  10839. schema:
  10840. items:
  10841. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  10842. type: array
  10843. "500":
  10844. description: Internal Server Error
  10845. schema:
  10846. $ref: '#/definitions/app.Response'
  10847. security:
  10848. - ApiKeyAuth: []
  10849. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  10850. tags:
  10851. - 企业风险管理(app)
  10852. /Ermcp/QueryChangeLog:
  10853. get:
  10854. parameters:
  10855. - description: 合同ID
  10856. in: query
  10857. name: RelatedId
  10858. required: true
  10859. type: string
  10860. produces:
  10861. - application/json
  10862. responses:
  10863. "200":
  10864. description: OK
  10865. schema:
  10866. items:
  10867. $ref: '#/definitions/ermcp.QryOPLogRsp'
  10868. type: array
  10869. "500":
  10870. description: Internal Server Error
  10871. schema:
  10872. $ref: '#/definitions/app.Response'
  10873. security:
  10874. - ApiKeyAuth: []
  10875. summary: 查询变更记录
  10876. tags:
  10877. - 企业风险管理(app)
  10878. /Ermcp/QueryContract:
  10879. get:
  10880. parameters:
  10881. - description: 用户ID
  10882. in: query
  10883. name: userId
  10884. required: true
  10885. type: integer
  10886. - description: 合同类型 1-采购, -1-销售
  10887. in: query
  10888. name: contracttype
  10889. required: true
  10890. type: integer
  10891. - description: 查询类型 1-全部 2-待点价 3-履约结算
  10892. in: query
  10893. name: querytype
  10894. required: true
  10895. type: integer
  10896. produces:
  10897. - application/json
  10898. responses:
  10899. "200":
  10900. description: OK
  10901. schema:
  10902. items:
  10903. $ref: '#/definitions/ermcp.QryErmcpRsp'
  10904. type: array
  10905. "500":
  10906. description: Internal Server Error
  10907. schema:
  10908. $ref: '#/definitions/app.Response'
  10909. security:
  10910. - ApiKeyAuth: []
  10911. summary: 查询合同(采购和销售)
  10912. tags:
  10913. - 企业风险管理(app)
  10914. /Ermcp/QueryErmcpHisOrderDetails:
  10915. get:
  10916. parameters:
  10917. - description: 资金账户ID
  10918. in: query
  10919. name: accountID
  10920. required: true
  10921. type: integer
  10922. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10923. in: query
  10924. name: startDate
  10925. type: string
  10926. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10927. in: query
  10928. name: endDate
  10929. type: string
  10930. produces:
  10931. - application/json
  10932. responses:
  10933. "200":
  10934. description: OK
  10935. schema:
  10936. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10937. "500":
  10938. description: Internal Server Error
  10939. schema:
  10940. $ref: '#/definitions/app.Response'
  10941. security:
  10942. - ApiKeyAuth: []
  10943. summary: 获取企业风管期货历史委托单信息
  10944. tags:
  10945. - 企业风险管理(app)
  10946. /Ermcp/QueryErmcpHisTradeDetails:
  10947. get:
  10948. parameters:
  10949. - description: 资金账户ID
  10950. in: query
  10951. name: accountID
  10952. required: true
  10953. type: integer
  10954. - description: 商品ID
  10955. in: query
  10956. name: goodsID
  10957. type: integer
  10958. - description: 买卖方向,0:买 1:卖
  10959. in: query
  10960. name: buyOrSell
  10961. type: integer
  10962. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10963. in: query
  10964. name: startDate
  10965. type: string
  10966. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10967. in: query
  10968. name: endDate
  10969. type: string
  10970. produces:
  10971. - application/json
  10972. responses:
  10973. "200":
  10974. description: OK
  10975. schema:
  10976. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  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/QueryErmcpOrderDetails:
  10987. get:
  10988. parameters:
  10989. - description: 资金账户ID
  10990. in: query
  10991. name: accountID
  10992. required: true
  10993. type: integer
  10994. produces:
  10995. - application/json
  10996. responses:
  10997. "200":
  10998. description: OK
  10999. schema:
  11000. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11001. "500":
  11002. description: Internal Server Error
  11003. schema:
  11004. $ref: '#/definitions/app.Response'
  11005. security:
  11006. - ApiKeyAuth: []
  11007. summary: 获取企业风管期货委托单信息
  11008. tags:
  11009. - 企业风险管理(app)
  11010. /Ermcp/QueryErmcpTradeDetails:
  11011. get:
  11012. parameters:
  11013. - description: 资金账户ID
  11014. in: query
  11015. name: accountID
  11016. required: true
  11017. type: integer
  11018. - description: 商品ID
  11019. in: query
  11020. name: goodsID
  11021. type: integer
  11022. - description: 买卖方向,0:买 1:卖
  11023. in: query
  11024. name: buyOrSell
  11025. type: integer
  11026. produces:
  11027. - application/json
  11028. responses:
  11029. "200":
  11030. description: OK
  11031. schema:
  11032. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11033. "500":
  11034. description: Internal Server Error
  11035. schema:
  11036. $ref: '#/definitions/app.Response'
  11037. security:
  11038. - ApiKeyAuth: []
  11039. summary: 获取企业风管期货成交单信息
  11040. tags:
  11041. - 企业风险管理(app)
  11042. /Ermcp/QueryErmcpTradePosition:
  11043. get:
  11044. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  11045. parameters:
  11046. - description: 资金账户ID
  11047. in: query
  11048. name: accountID
  11049. required: true
  11050. type: integer
  11051. - description: 所属市场ID
  11052. in: query
  11053. name: marketID
  11054. type: integer
  11055. produces:
  11056. - application/json
  11057. responses:
  11058. "200":
  11059. description: OK
  11060. schema:
  11061. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  11062. "500":
  11063. description: Internal Server Error
  11064. schema:
  11065. $ref: '#/definitions/app.Response'
  11066. security:
  11067. - ApiKeyAuth: []
  11068. summary: 获取企业风管期货持仓头寸信息
  11069. tags:
  11070. - 企业风险管理(app)
  11071. /Ermcp/QueryExposureDetail:
  11072. get:
  11073. parameters:
  11074. - description: 所属机构ID
  11075. in: query
  11076. name: areaUserId
  11077. required: true
  11078. type: integer
  11079. - description: 套保商品
  11080. in: query
  11081. name: middleGoodsId
  11082. required: true
  11083. type: integer
  11084. produces:
  11085. - application/json
  11086. responses:
  11087. "200":
  11088. description: OK
  11089. schema:
  11090. items:
  11091. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  11092. type: array
  11093. "500":
  11094. description: Internal Server Error
  11095. schema:
  11096. $ref: '#/definitions/app.Response'
  11097. security:
  11098. - ApiKeyAuth: []
  11099. summary: 查询敞口现货明细
  11100. tags:
  11101. - 企业风险管理(app)
  11102. /Ermcp/QueryExposureHedgePosition:
  11103. get:
  11104. parameters:
  11105. - description: 所属机构ID
  11106. in: query
  11107. name: areaUserId
  11108. required: true
  11109. type: integer
  11110. produces:
  11111. - application/json
  11112. responses:
  11113. "200":
  11114. description: OK
  11115. schema:
  11116. items:
  11117. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  11118. type: array
  11119. "500":
  11120. description: Internal Server Error
  11121. schema:
  11122. $ref: '#/definitions/app.Response'
  11123. security:
  11124. - ApiKeyAuth: []
  11125. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  11126. tags:
  11127. - 企业风险管理(app)
  11128. /Ermcp/QueryExposureHedgePositionDetail:
  11129. get:
  11130. parameters:
  11131. - description: 所属机构ID
  11132. in: query
  11133. name: areaUserId
  11134. required: true
  11135. type: integer
  11136. - description: 商品id
  11137. in: query
  11138. name: goodsId
  11139. required: true
  11140. type: integer
  11141. produces:
  11142. - application/json
  11143. responses:
  11144. "200":
  11145. description: OK
  11146. schema:
  11147. items:
  11148. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  11149. type: array
  11150. "500":
  11151. description: Internal Server Error
  11152. schema:
  11153. $ref: '#/definitions/app.Response'
  11154. security:
  11155. - ApiKeyAuth: []
  11156. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  11157. tags:
  11158. - 企业风险管理(app)
  11159. /Ermcp/QueryExposureSpot:
  11160. get:
  11161. parameters:
  11162. - description: 所属机构ID
  11163. in: query
  11164. name: areaUserId
  11165. required: true
  11166. type: integer
  11167. produces:
  11168. - application/json
  11169. responses:
  11170. "200":
  11171. description: OK
  11172. schema:
  11173. items:
  11174. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  11175. type: array
  11176. "500":
  11177. description: Internal Server Error
  11178. schema:
  11179. $ref: '#/definitions/app.Response'
  11180. security:
  11181. - ApiKeyAuth: []
  11182. summary: 查询敞口现货头寸(敞口/现货头寸)
  11183. tags:
  11184. - 企业风险管理(app)
  11185. /Ermcp/QueryExposureSpotDetail:
  11186. get:
  11187. parameters:
  11188. - description: 所属机构ID
  11189. in: query
  11190. name: areaUserId
  11191. required: true
  11192. type: integer
  11193. - description: 现货品种ID
  11194. in: query
  11195. name: wrstandardId
  11196. required: true
  11197. type: integer
  11198. produces:
  11199. - application/json
  11200. responses:
  11201. "200":
  11202. description: OK
  11203. schema:
  11204. items:
  11205. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  11206. type: array
  11207. "500":
  11208. description: Internal Server Error
  11209. schema:
  11210. $ref: '#/definitions/app.Response'
  11211. security:
  11212. - ApiKeyAuth: []
  11213. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  11214. tags:
  11215. - 企业风险管理(app)
  11216. /Ermcp/QueryGGConvertConfig:
  11217. get:
  11218. parameters:
  11219. - description: 品种id(不填则查所有)
  11220. in: query
  11221. name: goodsgroupid
  11222. type: integer
  11223. produces:
  11224. - application/json
  11225. responses:
  11226. "200":
  11227. description: OK
  11228. schema:
  11229. items:
  11230. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  11231. type: array
  11232. "500":
  11233. description: Internal Server Error
  11234. schema:
  11235. $ref: '#/definitions/app.Response'
  11236. security:
  11237. - ApiKeyAuth: []
  11238. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  11239. tags:
  11240. - 企业风险管理(app)
  11241. /Ermcp/QueryGoodsBrand:
  11242. get:
  11243. parameters:
  11244. - description: 用户ID
  11245. in: query
  11246. name: userid
  11247. required: true
  11248. type: integer
  11249. - description: 现货商品ID
  11250. in: query
  11251. name: wrstandardid
  11252. type: integer
  11253. produces:
  11254. - application/json
  11255. responses:
  11256. "200":
  11257. description: OK
  11258. schema:
  11259. items:
  11260. $ref: '#/definitions/models.ErmcpGoodsBrand'
  11261. type: array
  11262. "500":
  11263. description: Internal Server Error
  11264. schema:
  11265. $ref: '#/definitions/app.Response'
  11266. security:
  11267. - ApiKeyAuth: []
  11268. summary: 查询商品品牌
  11269. tags:
  11270. - 企业风险管理(app)
  11271. /Ermcp/QueryGoodsModel:
  11272. get:
  11273. parameters:
  11274. - description: 用户ID
  11275. in: query
  11276. name: userid
  11277. required: true
  11278. type: integer
  11279. produces:
  11280. - application/json
  11281. responses:
  11282. "200":
  11283. description: OK
  11284. schema:
  11285. items:
  11286. $ref: '#/definitions/models.ErmcpGoodsModel'
  11287. type: array
  11288. "500":
  11289. description: Internal Server Error
  11290. schema:
  11291. $ref: '#/definitions/app.Response'
  11292. security:
  11293. - ApiKeyAuth: []
  11294. summary: 查询商品型号
  11295. tags:
  11296. - 企业风险管理(app)
  11297. /Ermcp/QueryHedgePlan:
  11298. get:
  11299. parameters:
  11300. - description: 用户ID
  11301. in: query
  11302. name: userId
  11303. required: true
  11304. type: integer
  11305. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  11306. in: query
  11307. name: HedgePlanStatus
  11308. required: true
  11309. type: string
  11310. produces:
  11311. - application/json
  11312. responses:
  11313. "200":
  11314. description: OK
  11315. schema:
  11316. items:
  11317. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  11318. type: array
  11319. "500":
  11320. description: Internal Server Error
  11321. schema:
  11322. $ref: '#/definitions/app.Response'
  11323. security:
  11324. - ApiKeyAuth: []
  11325. summary: 查询套保计划
  11326. tags:
  11327. - 企业风险管理(app)
  11328. /Ermcp/QueryHisExposure:
  11329. get:
  11330. parameters:
  11331. - description: 所属机构ID
  11332. in: query
  11333. name: areaUserId
  11334. required: true
  11335. type: integer
  11336. - description: 每个品种记录数
  11337. in: query
  11338. name: lastNum
  11339. required: true
  11340. type: integer
  11341. produces:
  11342. - application/json
  11343. responses:
  11344. "200":
  11345. description: OK
  11346. schema:
  11347. items:
  11348. $ref: '#/definitions/ermcp.HisExposureRsp'
  11349. type: array
  11350. "500":
  11351. description: Internal Server Error
  11352. schema:
  11353. $ref: '#/definitions/app.Response'
  11354. security:
  11355. - ApiKeyAuth: []
  11356. summary: 查询历史敞口(菜单:敞口/历史敞口)
  11357. tags:
  11358. - 企业风险管理(app)
  11359. /Ermcp/QueryMiddleGoods:
  11360. get:
  11361. parameters:
  11362. - description: 所属机构ID
  11363. in: query
  11364. name: userid
  11365. required: true
  11366. type: integer
  11367. - description: 状态 0-停用 1-正常
  11368. in: query
  11369. name: status
  11370. required: true
  11371. type: integer
  11372. produces:
  11373. - application/json
  11374. responses:
  11375. "200":
  11376. description: OK
  11377. schema:
  11378. items:
  11379. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  11380. type: array
  11381. "500":
  11382. description: Internal Server Error
  11383. schema:
  11384. $ref: '#/definitions/app.Response'
  11385. security:
  11386. - ApiKeyAuth: []
  11387. summary: 查询套保品种(菜单:套保品种)
  11388. tags:
  11389. - 企业风险管理(app)
  11390. /Ermcp/QueryMiddleGoodsChangeLog:
  11391. get:
  11392. parameters:
  11393. - description: 所属机构ID
  11394. in: query
  11395. name: userid
  11396. required: true
  11397. type: integer
  11398. - description: 套保品种id
  11399. in: query
  11400. name: middlegoodsid
  11401. required: true
  11402. type: integer
  11403. produces:
  11404. - application/json
  11405. responses:
  11406. "200":
  11407. description: OK
  11408. schema:
  11409. items:
  11410. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  11411. type: array
  11412. "500":
  11413. description: Internal Server Error
  11414. schema:
  11415. $ref: '#/definitions/app.Response'
  11416. security:
  11417. - ApiKeyAuth: []
  11418. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  11419. tags:
  11420. - 企业风险管理(app)
  11421. /Ermcp/QueryMiddleGoodsDetail:
  11422. get:
  11423. parameters:
  11424. - description: 所属机构ID
  11425. in: query
  11426. name: userid
  11427. required: true
  11428. type: integer
  11429. - description: 套保品种id
  11430. in: query
  11431. name: middlegoodsid
  11432. required: true
  11433. type: integer
  11434. produces:
  11435. - application/json
  11436. responses:
  11437. "200":
  11438. description: OK
  11439. schema:
  11440. items:
  11441. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  11442. type: array
  11443. "500":
  11444. description: Internal Server Error
  11445. schema:
  11446. $ref: '#/definitions/app.Response'
  11447. security:
  11448. - ApiKeyAuth: []
  11449. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  11450. tags:
  11451. - 企业风险管理(app)
  11452. /Ermcp/QueryPendingAuditInfo:
  11453. get:
  11454. parameters:
  11455. - description: 用户ID
  11456. in: query
  11457. name: UserId
  11458. required: true
  11459. type: integer
  11460. produces:
  11461. - application/json
  11462. responses:
  11463. "200":
  11464. description: OK
  11465. schema:
  11466. items:
  11467. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  11468. type: array
  11469. "500":
  11470. description: Internal Server Error
  11471. schema:
  11472. $ref: '#/definitions/app.Response'
  11473. security:
  11474. - ApiKeyAuth: []
  11475. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  11476. tags:
  11477. - 企业风险管理(app)
  11478. /Ermcp/QueryRealtimeExposure:
  11479. get:
  11480. parameters:
  11481. - description: 所属机构ID
  11482. in: query
  11483. name: AreaUserID
  11484. required: true
  11485. type: integer
  11486. produces:
  11487. - application/json
  11488. responses:
  11489. "200":
  11490. description: OK
  11491. schema:
  11492. items:
  11493. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  11494. type: array
  11495. "500":
  11496. description: Internal Server Error
  11497. schema:
  11498. $ref: '#/definitions/app.Response'
  11499. security:
  11500. - ApiKeyAuth: []
  11501. summary: 查询实时敞口
  11502. tags:
  11503. - 企业风险管理(app)
  11504. /Ermcp/QueryRealtimeExposurePosition:
  11505. get:
  11506. parameters:
  11507. - description: 所属机构ID
  11508. in: query
  11509. name: areaUserId
  11510. required: true
  11511. type: integer
  11512. - description: 套保商品ID
  11513. in: query
  11514. name: middleGoodsId
  11515. required: true
  11516. type: integer
  11517. produces:
  11518. - application/json
  11519. responses:
  11520. "200":
  11521. description: OK
  11522. schema:
  11523. items:
  11524. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  11525. type: array
  11526. "500":
  11527. description: Internal Server Error
  11528. schema:
  11529. $ref: '#/definitions/app.Response'
  11530. security:
  11531. - ApiKeyAuth: []
  11532. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  11533. tags:
  11534. - 企业风险管理(app)
  11535. /Ermcp/QuerySpotContract:
  11536. get:
  11537. parameters:
  11538. - description: 用户ID
  11539. in: query
  11540. name: userId
  11541. required: true
  11542. type: integer
  11543. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  11544. in: query
  11545. name: QueryType
  11546. required: true
  11547. type: integer
  11548. produces:
  11549. - application/json
  11550. responses:
  11551. "200":
  11552. description: OK
  11553. schema:
  11554. items:
  11555. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  11556. type: array
  11557. "500":
  11558. description: Internal Server Error
  11559. schema:
  11560. $ref: '#/definitions/app.Response'
  11561. security:
  11562. - ApiKeyAuth: []
  11563. summary: 查询现货合同(对应现货合同菜单)
  11564. tags:
  11565. - 企业风险管理(app)
  11566. /Ermcp/QueryUserInfo:
  11567. get:
  11568. parameters:
  11569. - description: 所属机构用户ID
  11570. in: query
  11571. name: MemberUserID
  11572. required: true
  11573. type: integer
  11574. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  11575. in: query
  11576. name: queryType
  11577. required: true
  11578. type: integer
  11579. produces:
  11580. - application/json
  11581. responses:
  11582. "200":
  11583. description: OK
  11584. schema:
  11585. items:
  11586. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  11587. type: array
  11588. "500":
  11589. description: Internal Server Error
  11590. schema:
  11591. $ref: '#/definitions/app.Response'
  11592. security:
  11593. - ApiKeyAuth: []
  11594. summary: 查询客户资料
  11595. tags:
  11596. - 企业风险管理(app)
  11597. /Ermcp/QueryWarehouseInfo:
  11598. get:
  11599. parameters:
  11600. - description: 用户ID
  11601. in: query
  11602. name: userid
  11603. required: true
  11604. type: integer
  11605. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  11606. in: query
  11607. name: status
  11608. type: string
  11609. produces:
  11610. - application/json
  11611. responses:
  11612. "200":
  11613. description: OK
  11614. schema:
  11615. items:
  11616. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  11617. type: array
  11618. "500":
  11619. description: Internal Server Error
  11620. schema:
  11621. $ref: '#/definitions/app.Response'
  11622. security:
  11623. - ApiKeyAuth: []
  11624. summary: 查询仓库信息
  11625. tags:
  11626. - 企业风险管理(app)
  11627. /Ermcp/QueryWrStandard:
  11628. get:
  11629. parameters:
  11630. - description: 所属机构ID
  11631. in: query
  11632. name: userid
  11633. required: true
  11634. type: integer
  11635. - description: 状态 0-停用 1-正常
  11636. in: query
  11637. name: status
  11638. required: true
  11639. type: integer
  11640. produces:
  11641. - application/json
  11642. responses:
  11643. "200":
  11644. description: OK
  11645. schema:
  11646. items:
  11647. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  11648. type: array
  11649. "500":
  11650. description: Internal Server Error
  11651. schema:
  11652. $ref: '#/definitions/app.Response'
  11653. security:
  11654. - ApiKeyAuth: []
  11655. summary: 查询现货商品
  11656. tags:
  11657. - 企业风险管理(app)
  11658. /Ermcp/QueryWrStandardDetail:
  11659. get:
  11660. parameters:
  11661. - description: 所属机构ID
  11662. in: query
  11663. name: userid
  11664. required: true
  11665. type: integer
  11666. - description: 现货商品ID
  11667. in: query
  11668. name: wrstandardid
  11669. required: true
  11670. type: integer
  11671. - description: 可不填, 1-查询关联交易商品
  11672. in: query
  11673. name: goods
  11674. type: integer
  11675. produces:
  11676. - application/json
  11677. responses:
  11678. "200":
  11679. description: OK
  11680. schema:
  11681. items:
  11682. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  11683. type: array
  11684. "500":
  11685. description: Internal Server Error
  11686. schema:
  11687. $ref: '#/definitions/app.Response'
  11688. security:
  11689. - ApiKeyAuth: []
  11690. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  11691. tags:
  11692. - 企业风险管理(app)
  11693. /Erms2/QueryArbitrageStrategy:
  11694. get:
  11695. parameters:
  11696. - description: 账户ID
  11697. in: query
  11698. name: userid
  11699. required: true
  11700. type: integer
  11701. - description: 商品组ID(品种ID)
  11702. in: query
  11703. name: goodsgroupid
  11704. type: string
  11705. produces:
  11706. - application/json
  11707. responses:
  11708. "200":
  11709. description: OK
  11710. schema:
  11711. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  11712. "500":
  11713. description: Internal Server Error
  11714. schema:
  11715. $ref: '#/definitions/app.Response'
  11716. security:
  11717. - ApiKeyAuth: []
  11718. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  11719. tags:
  11720. - 风险管理
  11721. /Erms2/QueryInnerTradeDetail:
  11722. get:
  11723. parameters:
  11724. - description: 资金账户
  11725. in: query
  11726. name: accountid
  11727. required: true
  11728. type: integer
  11729. produces:
  11730. - application/json
  11731. responses:
  11732. "200":
  11733. description: OK
  11734. schema:
  11735. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  11736. "500":
  11737. description: Internal Server Error
  11738. schema:
  11739. $ref: '#/definitions/app.Response'
  11740. security:
  11741. - ApiKeyAuth: []
  11742. summary: 查询内部成交单信息
  11743. tags:
  11744. - 风险管理
  11745. /Erms2/QuerySpotContract:
  11746. get:
  11747. parameters:
  11748. - description: 策略申请ID
  11749. in: query
  11750. name: asapplyid
  11751. required: true
  11752. type: integer
  11753. - description: 现货合同ID
  11754. in: query
  11755. name: spotcontractid
  11756. type: integer
  11757. produces:
  11758. - application/json
  11759. responses:
  11760. "200":
  11761. description: OK
  11762. schema:
  11763. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  11764. "500":
  11765. description: Internal Server Error
  11766. schema:
  11767. $ref: '#/definitions/app.Response'
  11768. security:
  11769. - ApiKeyAuth: []
  11770. summary: 查询现货合同表信息(指定策略ID、未结束的)
  11771. tags:
  11772. - 风险管理
  11773. /Erms3/AddErms2ASApply:
  11774. post:
  11775. parameters:
  11776. - description: 申请参数
  11777. in: body
  11778. name: jsonBody
  11779. required: true
  11780. schema:
  11781. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  11782. produces:
  11783. - application/json
  11784. responses:
  11785. "200":
  11786. description: OK
  11787. schema:
  11788. $ref: '#/definitions/app.Response'
  11789. "500":
  11790. description: Internal Server Error
  11791. schema:
  11792. $ref: '#/definitions/app.Response'
  11793. security:
  11794. - ApiKeyAuth: []
  11795. summary: 新增期现套利业务申请
  11796. tags:
  11797. - 风险管理v3
  11798. /Erms3/AddErms2SpotTradeApply:
  11799. post:
  11800. parameters:
  11801. - description: 申请参数
  11802. in: body
  11803. name: jsonBody
  11804. required: true
  11805. schema:
  11806. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  11807. produces:
  11808. - application/json
  11809. responses:
  11810. "200":
  11811. description: OK
  11812. schema:
  11813. $ref: '#/definitions/app.Response'
  11814. "500":
  11815. description: Internal Server Error
  11816. schema:
  11817. $ref: '#/definitions/app.Response'
  11818. security:
  11819. - ApiKeyAuth: []
  11820. summary: 新增现货贸易业务申请
  11821. tags:
  11822. - 风险管理v3
  11823. /Erms3/AddSpotContractApply:
  11824. post:
  11825. parameters:
  11826. - description: 申请参数
  11827. in: body
  11828. name: jsonBody
  11829. required: true
  11830. schema:
  11831. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  11832. produces:
  11833. - application/json
  11834. responses:
  11835. "200":
  11836. description: OK
  11837. schema:
  11838. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  11839. "500":
  11840. description: Internal Server Error
  11841. schema:
  11842. $ref: '#/definitions/app.Response'
  11843. security:
  11844. - ApiKeyAuth: []
  11845. summary: 新增现货合同申请
  11846. tags:
  11847. - 风险管理v3
  11848. /Erms3/AddUserInfoApply:
  11849. post:
  11850. parameters:
  11851. - description: 用户信息
  11852. in: body
  11853. name: jsonBody
  11854. required: true
  11855. schema:
  11856. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  11857. produces:
  11858. - application/json
  11859. responses:
  11860. "200":
  11861. description: OK
  11862. schema:
  11863. $ref: '#/definitions/app.Response'
  11864. "500":
  11865. description: Internal Server Error
  11866. schema:
  11867. $ref: '#/definitions/app.Response'
  11868. security:
  11869. - ApiKeyAuth: []
  11870. summary: 新增客户申请
  11871. tags:
  11872. - 风险管理v3
  11873. /Erms3/ModifyUserInfoApply:
  11874. post:
  11875. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  11876. int, "userstate": 2 }'
  11877. parameters:
  11878. - description: 用户信息
  11879. in: body
  11880. name: jsonBody
  11881. required: true
  11882. schema:
  11883. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  11884. produces:
  11885. - application/json
  11886. responses:
  11887. "200":
  11888. description: OK
  11889. schema:
  11890. $ref: '#/definitions/app.Response'
  11891. "500":
  11892. description: Internal Server Error
  11893. schema:
  11894. $ref: '#/definitions/app.Response'
  11895. security:
  11896. - ApiKeyAuth: []
  11897. summary: 修改客户申请
  11898. tags:
  11899. - 风险管理v3
  11900. /Erms3/QueryBusinessInfo:
  11901. get:
  11902. parameters:
  11903. - description: 资金账号ID列表,用逗号分隔
  11904. in: query
  11905. name: accountids
  11906. required: true
  11907. type: string
  11908. - description: 状态,0为未结束 1为已结束
  11909. in: query
  11910. name: status
  11911. required: true
  11912. type: integer
  11913. produces:
  11914. - application/json
  11915. responses:
  11916. "200":
  11917. description: OK
  11918. schema:
  11919. items:
  11920. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  11921. type: array
  11922. "500":
  11923. description: Internal Server Error
  11924. schema:
  11925. $ref: '#/definitions/app.Response'
  11926. security:
  11927. - ApiKeyAuth: []
  11928. summary: 查询业务表单数据
  11929. tags:
  11930. - 风险管理v3
  11931. /Erms3/QueryPendingAuditContract:
  11932. get:
  11933. parameters:
  11934. - description: 资金账号ID列表,逗号隔开
  11935. in: query
  11936. name: accountids
  11937. required: true
  11938. type: string
  11939. - description: 合同类型 1-采购 -1-销售
  11940. in: query
  11941. name: contracttype
  11942. required: true
  11943. type: integer
  11944. - description: 合同模式 1-普通 2-回购
  11945. in: query
  11946. name: contractmode
  11947. required: true
  11948. type: integer
  11949. produces:
  11950. - application/json
  11951. responses:
  11952. "200":
  11953. description: OK
  11954. schema:
  11955. items:
  11956. $ref: '#/definitions/erms3.QryAuditContractRsp'
  11957. type: array
  11958. "500":
  11959. description: Internal Server Error
  11960. schema:
  11961. $ref: '#/definitions/app.Response'
  11962. security:
  11963. - ApiKeyAuth: []
  11964. summary: 查询待审核合同
  11965. tags:
  11966. - 风险管理v3
  11967. /Erms3/QueryPendingBusiness:
  11968. get:
  11969. parameters:
  11970. - description: 资金账号ID列表,逗号隔开
  11971. in: query
  11972. name: accountids
  11973. required: true
  11974. type: string
  11975. produces:
  11976. - application/json
  11977. responses:
  11978. "200":
  11979. description: OK
  11980. schema:
  11981. items:
  11982. $ref: '#/definitions/erms3.QryPendingBizRsp'
  11983. type: array
  11984. "500":
  11985. description: Internal Server Error
  11986. schema:
  11987. $ref: '#/definitions/app.Response'
  11988. security:
  11989. - ApiKeyAuth: []
  11990. summary: 查询待审核基差贸易业务
  11991. tags:
  11992. - 风险管理v3
  11993. /Erms3/QuerySpotContractAppleForm:
  11994. get:
  11995. parameters:
  11996. - description: 登录账号
  11997. in: query
  11998. name: loginID
  11999. required: true
  12000. type: integer
  12001. produces:
  12002. - application/json
  12003. responses:
  12004. "200":
  12005. description: OK
  12006. schema:
  12007. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  12008. "500":
  12009. description: Internal Server Error
  12010. schema:
  12011. $ref: '#/definitions/app.Response'
  12012. security:
  12013. - ApiKeyAuth: []
  12014. summary: 查询合同申请表单数据
  12015. tags:
  12016. - 风险管理v3
  12017. /Erms3/QuerySpotContractDetail:
  12018. get:
  12019. parameters:
  12020. - description: 资金账号ID列表,用逗号分隔
  12021. in: query
  12022. name: accountids
  12023. required: true
  12024. type: string
  12025. - description: 合同类型,1为采购合同 -1为销售合同
  12026. in: query
  12027. name: contracttype
  12028. required: true
  12029. type: integer
  12030. - description: 合同模式,1为普通合同 2为回购销售合同
  12031. in: query
  12032. name: contractmode
  12033. required: true
  12034. type: integer
  12035. - description: 状态,0为履约中 1为已完成
  12036. in: query
  12037. name: status
  12038. required: true
  12039. type: integer
  12040. produces:
  12041. - application/json
  12042. responses:
  12043. "200":
  12044. description: OK
  12045. schema:
  12046. items:
  12047. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  12048. type: array
  12049. "500":
  12050. description: Internal Server Error
  12051. schema:
  12052. $ref: '#/definitions/app.Response'
  12053. security:
  12054. - ApiKeyAuth: []
  12055. summary: 查询合同详细信息
  12056. tags:
  12057. - 风险管理v3
  12058. /Erms3/QueryUserInfoApplies:
  12059. get:
  12060. parameters:
  12061. - description: 页码
  12062. in: query
  12063. name: page
  12064. type: integer
  12065. - description: 每页条数
  12066. in: query
  12067. name: pagesize
  12068. type: integer
  12069. - description: 客户名称,支持模糊查询
  12070. in: query
  12071. name: userName
  12072. type: string
  12073. produces:
  12074. - application/json
  12075. responses:
  12076. "200":
  12077. description: OK
  12078. schema:
  12079. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  12080. "500":
  12081. description: Internal Server Error
  12082. schema:
  12083. $ref: '#/definitions/app.Response'
  12084. security:
  12085. - ApiKeyAuth: []
  12086. summary: 客户申请信息查询
  12087. tags:
  12088. - 风险管理v3
  12089. /Erms3/QueryUserInfos:
  12090. get:
  12091. parameters:
  12092. - description: 页码
  12093. in: query
  12094. name: page
  12095. type: integer
  12096. - description: 每页条数
  12097. in: query
  12098. name: pagesize
  12099. type: integer
  12100. - description: 客户名称,支持模糊查询
  12101. in: query
  12102. name: userName
  12103. type: string
  12104. produces:
  12105. - application/json
  12106. responses:
  12107. "200":
  12108. description: OK
  12109. schema:
  12110. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  12111. "500":
  12112. description: Internal Server Error
  12113. schema:
  12114. $ref: '#/definitions/app.Response'
  12115. security:
  12116. - ApiKeyAuth: []
  12117. summary: 客户信息查询
  12118. tags:
  12119. - 风险管理v3
  12120. /HSBY/GetHsbyMyCount:
  12121. get:
  12122. description: 说明: 不包括已完成的数量。
  12123. parameters:
  12124. - description: 资金账户列表,格式:1,2,3
  12125. in: query
  12126. name: accountIDs
  12127. required: true
  12128. type: string
  12129. produces:
  12130. - application/json
  12131. responses:
  12132. "200":
  12133. description: OK
  12134. schema:
  12135. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  12136. "500":
  12137. description: Internal Server Error
  12138. schema:
  12139. $ref: '#/definitions/app.Response'
  12140. security:
  12141. - ApiKeyAuth: []
  12142. summary: 获取我的订单与包裹数量
  12143. tags:
  12144. - 定制【海商报业】
  12145. /HSBY/QueryClientFixedADConfigs:
  12146. get:
  12147. produces:
  12148. - application/json
  12149. responses:
  12150. "200":
  12151. description: OK
  12152. schema:
  12153. $ref: '#/definitions/models.Clientfixedadconfig'
  12154. "500":
  12155. description: Internal Server Error
  12156. schema:
  12157. $ref: '#/definitions/app.Response'
  12158. security:
  12159. - ApiKeyAuth: []
  12160. summary: 获取终端固定广告配置
  12161. tags:
  12162. - 定制【海商报业】
  12163. /HSBY/QueryHsbyBuyMyTradeDetail:
  12164. get:
  12165. parameters:
  12166. - description: 页码
  12167. in: query
  12168. name: page
  12169. type: integer
  12170. - description: 每页条数
  12171. in: query
  12172. name: pagesize
  12173. type: integer
  12174. - description: 资金账户列表,格式:1,2,3
  12175. in: query
  12176. name: accountIDs
  12177. required: true
  12178. type: string
  12179. produces:
  12180. - application/json
  12181. responses:
  12182. "200":
  12183. description: OK
  12184. schema:
  12185. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  12186. "500":
  12187. description: Internal Server Error
  12188. schema:
  12189. $ref: '#/definitions/app.Response'
  12190. security:
  12191. - ApiKeyAuth: []
  12192. summary: 查询"我的订单 - 已完成"单据信息
  12193. tags:
  12194. - 定制【海商报业】
  12195. /HSBY/QueryHsbyGoodsOrderDetails:
  12196. get:
  12197. description: 说明:查询结果已按委托价格和委托时间排序
  12198. parameters:
  12199. - description: 商品ID
  12200. in: query
  12201. name: goodsID
  12202. required: true
  12203. type: integer
  12204. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  12205. in: query
  12206. name: accountIDs
  12207. type: string
  12208. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  12209. in: query
  12210. name: buyOrSell
  12211. type: integer
  12212. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  12213. in: query
  12214. name: price
  12215. type: number
  12216. - description: 档位,不传则默认为3档
  12217. in: query
  12218. name: speed
  12219. type: integer
  12220. produces:
  12221. - application/json
  12222. responses:
  12223. "200":
  12224. description: OK
  12225. schema:
  12226. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  12227. "500":
  12228. description: Internal Server Error
  12229. schema:
  12230. $ref: '#/definitions/app.Response'
  12231. security:
  12232. - ApiKeyAuth: []
  12233. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  12234. tags:
  12235. - 定制【海商报业】
  12236. /HSBY/QueryHsbyListingGoodsDetail:
  12237. get:
  12238. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  12239. parameters:
  12240. - description: 商品ID
  12241. in: query
  12242. name: goodsID
  12243. required: true
  12244. type: integer
  12245. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  12246. in: query
  12247. name: accountID
  12248. type: integer
  12249. produces:
  12250. - application/json
  12251. responses:
  12252. "200":
  12253. description: OK
  12254. schema:
  12255. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  12256. "500":
  12257. description: Internal Server Error
  12258. schema:
  12259. $ref: '#/definitions/app.Response'
  12260. security:
  12261. - ApiKeyAuth: []
  12262. summary: 查询二级市场(挂牌点选)商品信息详情
  12263. tags:
  12264. - 定制【海商报业】
  12265. /HSBY/QueryHsbyMarketGoodsDetail:
  12266. get:
  12267. parameters:
  12268. - description: 委托单号
  12269. in: query
  12270. name: orderID
  12271. required: true
  12272. type: integer
  12273. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  12274. in: query
  12275. name: accountID
  12276. type: integer
  12277. produces:
  12278. - application/json
  12279. responses:
  12280. "200":
  12281. description: OK
  12282. schema:
  12283. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12284. "500":
  12285. description: Internal Server Error
  12286. schema:
  12287. $ref: '#/definitions/app.Response'
  12288. security:
  12289. - ApiKeyAuth: []
  12290. summary: 查询三级市场(商城)商品信息详情
  12291. tags:
  12292. - 定制【海商报业】
  12293. /HSBY/QueryHsbyMarketGoodses:
  12294. get:
  12295. parameters:
  12296. - description: 页码
  12297. in: query
  12298. name: page
  12299. type: integer
  12300. - description: 每页条数
  12301. in: query
  12302. name: pagesize
  12303. type: integer
  12304. - description: 市场ID列表,格式:1,2,3
  12305. in: query
  12306. name: marketIDs
  12307. required: true
  12308. type: string
  12309. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  12310. in: query
  12311. name: accountID
  12312. required: true
  12313. type: integer
  12314. - description: 类别ID
  12315. in: query
  12316. name: categoryID
  12317. type: integer
  12318. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12319. in: query
  12320. name: goodsIDs
  12321. type: string
  12322. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  12323. in: query
  12324. name: couponTypeID
  12325. type: integer
  12326. produces:
  12327. - application/json
  12328. responses:
  12329. "200":
  12330. description: OK
  12331. schema:
  12332. $ref: '#/definitions/models.HsbyMarketGoods'
  12333. "500":
  12334. description: Internal Server Error
  12335. schema:
  12336. $ref: '#/definitions/app.Response'
  12337. security:
  12338. - ApiKeyAuth: []
  12339. summary: 查询特卖商品列表(三级商城)
  12340. tags:
  12341. - 定制【海商报业】
  12342. /HSBY/QueryHsbyMarkets:
  12343. get:
  12344. produces:
  12345. - application/json
  12346. responses:
  12347. "200":
  12348. description: OK
  12349. schema:
  12350. $ref: '#/definitions/models.HsbyMarketInfo'
  12351. "500":
  12352. description: Internal Server Error
  12353. schema:
  12354. $ref: '#/definitions/app.Response'
  12355. security:
  12356. - ApiKeyAuth: []
  12357. summary: 查询海商报业相关市场信息
  12358. tags:
  12359. - 定制【海商报业】
  12360. /HSBY/QueryHsbyMyBuyOrderDetails:
  12361. get:
  12362. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  12363. parameters:
  12364. - description: 资金账户列表,格式:1,2,3
  12365. in: query
  12366. name: accountIDs
  12367. required: true
  12368. type: string
  12369. produces:
  12370. - application/json
  12371. responses:
  12372. "200":
  12373. description: OK
  12374. schema:
  12375. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  12376. "500":
  12377. description: Internal Server Error
  12378. schema:
  12379. $ref: '#/definitions/app.Response'
  12380. security:
  12381. - ApiKeyAuth: []
  12382. summary: 查询“我的订单”信息
  12383. tags:
  12384. - 定制【海商报业】
  12385. /HSBY/QueryHsbyMyGoods:
  12386. get:
  12387. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  12388. parameters:
  12389. - description: 资金账户列表,格式:1,2,3
  12390. in: query
  12391. name: accountIDs
  12392. required: true
  12393. type: string
  12394. produces:
  12395. - application/json
  12396. responses:
  12397. "200":
  12398. description: OK
  12399. schema:
  12400. $ref: '#/definitions/models.HsbyMyGoods'
  12401. "500":
  12402. description: Internal Server Error
  12403. schema:
  12404. $ref: '#/definitions/app.Response'
  12405. security:
  12406. - ApiKeyAuth: []
  12407. summary: 查询“我的商品”信息
  12408. tags:
  12409. - 定制【海商报业】
  12410. /HSBY/QueryHsbyMyPackages:
  12411. get:
  12412. parameters:
  12413. - description: 资金账户列表,格式:1,2,3
  12414. in: query
  12415. name: accountIDs
  12416. required: true
  12417. type: string
  12418. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12419. in: query
  12420. name: takeOrderStatus
  12421. type: integer
  12422. produces:
  12423. - application/json
  12424. responses:
  12425. "200":
  12426. description: OK
  12427. schema:
  12428. $ref: '#/definitions/models.HsbyMyPackage'
  12429. "500":
  12430. description: Internal Server Error
  12431. schema:
  12432. $ref: '#/definitions/app.Response'
  12433. security:
  12434. - ApiKeyAuth: []
  12435. summary: 查询我的包裹信息
  12436. tags:
  12437. - 定制【海商报业】
  12438. /HSBY/QueryHsbyPreGoodsDetail:
  12439. get:
  12440. parameters:
  12441. - description: 商品ID
  12442. in: query
  12443. name: goodsID
  12444. required: true
  12445. type: integer
  12446. - description: 资金账户,主要用于获取预售商品购买上限
  12447. in: query
  12448. name: accountID
  12449. type: integer
  12450. produces:
  12451. - application/json
  12452. responses:
  12453. "200":
  12454. description: OK
  12455. schema:
  12456. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  12457. "500":
  12458. description: Internal Server Error
  12459. schema:
  12460. $ref: '#/definitions/app.Response'
  12461. security:
  12462. - ApiKeyAuth: []
  12463. summary: 查询一级市场(预售)商品信息详情
  12464. tags:
  12465. - 定制【海商报业】
  12466. /HSBY/QueryHsbyPreGoodses:
  12467. get:
  12468. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  12469. parameters:
  12470. - description: 页码
  12471. in: query
  12472. name: page
  12473. type: integer
  12474. - description: 每页条数
  12475. in: query
  12476. name: pagesize
  12477. type: integer
  12478. - description: 市场ID列表,格式:1,2,3
  12479. in: query
  12480. name: marketIDs
  12481. required: true
  12482. type: string
  12483. - description: 目的地(省)ID
  12484. in: query
  12485. name: descProvinceID
  12486. type: integer
  12487. - description: 目的地(市)ID
  12488. in: query
  12489. name: descCityID
  12490. type: integer
  12491. produces:
  12492. - application/json
  12493. responses:
  12494. "200":
  12495. description: OK
  12496. schema:
  12497. $ref: '#/definitions/models.HsbyPreGoods'
  12498. "500":
  12499. description: Internal Server Error
  12500. schema:
  12501. $ref: '#/definitions/app.Response'
  12502. security:
  12503. - ApiKeyAuth: []
  12504. summary: 查询新品上市商品列表(一级市场预售)
  12505. tags:
  12506. - 定制【海商报业】
  12507. /HSBY/QueryHsbySellMyDetails:
  12508. get:
  12509. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  12510. parameters:
  12511. - description: 页码
  12512. in: query
  12513. name: page
  12514. type: integer
  12515. - description: 每页条数
  12516. in: query
  12517. name: pagesize
  12518. type: integer
  12519. - description: 资金账户列表,格式:1,2,3
  12520. in: query
  12521. name: accountIDs
  12522. required: true
  12523. type: string
  12524. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  12525. in: query
  12526. name: orderType
  12527. type: integer
  12528. produces:
  12529. - application/json
  12530. responses:
  12531. "200":
  12532. description: OK
  12533. schema:
  12534. $ref: '#/definitions/models.HsbySellMyDetail'
  12535. "500":
  12536. description: Internal Server Error
  12537. schema:
  12538. $ref: '#/definitions/app.Response'
  12539. security:
  12540. - ApiKeyAuth: []
  12541. summary: 查询"我的闲置"单据信息
  12542. tags:
  12543. - 定制【海商报业】
  12544. /HSBY/QueryHsbyTopGoodses:
  12545. get:
  12546. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  12547. parameters:
  12548. - description: 页码
  12549. in: query
  12550. name: page
  12551. type: integer
  12552. - description: 每页条数
  12553. in: query
  12554. name: pagesize
  12555. type: integer
  12556. - description: 市场ID列表,格式:1,2,3
  12557. in: query
  12558. name: marketIDs
  12559. required: true
  12560. type: string
  12561. - description: 目的地(省)ID
  12562. in: query
  12563. name: descProvinceID
  12564. type: integer
  12565. - description: 目的地(市)ID
  12566. in: query
  12567. name: descCityID
  12568. type: integer
  12569. produces:
  12570. - application/json
  12571. responses:
  12572. "200":
  12573. description: OK
  12574. schema:
  12575. $ref: '#/definitions/models.HsbyTopGoods'
  12576. "500":
  12577. description: Internal Server Error
  12578. schema:
  12579. $ref: '#/definitions/app.Response'
  12580. security:
  12581. - ApiKeyAuth: []
  12582. summary: 查询热卖商品列表(二级市场挂牌点选)
  12583. tags:
  12584. - 定制【海商报业】
  12585. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  12586. get:
  12587. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  12588. parameters:
  12589. - description: 商品ID
  12590. in: query
  12591. name: goodsID
  12592. required: true
  12593. type: integer
  12594. produces:
  12595. - application/json
  12596. responses:
  12597. "200":
  12598. description: OK
  12599. schema:
  12600. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  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/QueryHsbyVisitorMarketGoodses:
  12611. get:
  12612. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  12613. parameters:
  12614. - description: 页码
  12615. in: query
  12616. name: page
  12617. type: integer
  12618. - description: 每页条数
  12619. in: query
  12620. name: pagesize
  12621. type: integer
  12622. - description: 市场ID列表,格式:1,2,3
  12623. in: query
  12624. name: marketIDs
  12625. required: true
  12626. type: string
  12627. - description: 类别ID
  12628. in: query
  12629. name: categoryID
  12630. type: integer
  12631. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12632. in: query
  12633. name: goodsIDs
  12634. type: string
  12635. produces:
  12636. - application/json
  12637. responses:
  12638. "200":
  12639. description: OK
  12640. schema:
  12641. $ref: '#/definitions/models.HsbyMarketGoods'
  12642. "500":
  12643. description: Internal Server Error
  12644. schema:
  12645. $ref: '#/definitions/app.Response'
  12646. security:
  12647. - ApiKeyAuth: []
  12648. summary: 查询游客特卖商品列表(三级商城)
  12649. tags:
  12650. - 定制【海商报业】
  12651. /HSBY/QueryMyCollectionOrders:
  12652. get:
  12653. parameters:
  12654. - description: 页码
  12655. in: query
  12656. name: page
  12657. type: integer
  12658. - description: 每页条数
  12659. in: query
  12660. name: pagesize
  12661. type: integer
  12662. - description: 资金账户,格式:1,2,3
  12663. in: query
  12664. name: accountIDs
  12665. required: true
  12666. type: string
  12667. produces:
  12668. - application/json
  12669. responses:
  12670. "200":
  12671. description: OK
  12672. schema:
  12673. $ref: '#/definitions/models.HsbySellCollectionOrder'
  12674. "500":
  12675. description: Internal Server Error
  12676. schema:
  12677. $ref: '#/definitions/app.Response'
  12678. security:
  12679. - ApiKeyAuth: []
  12680. summary: 我的闲置中收款信息查询
  12681. tags:
  12682. - 定制【海商报业】
  12683. /HSBY/QueryMyCouponHolds:
  12684. get:
  12685. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  12686. parameters:
  12687. - description: 资金账户列表,格式:1,2,3
  12688. in: query
  12689. name: accountIDs
  12690. required: true
  12691. type: string
  12692. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  12693. in: query
  12694. name: holdStatus
  12695. type: string
  12696. produces:
  12697. - application/json
  12698. responses:
  12699. "200":
  12700. description: OK
  12701. schema:
  12702. $ref: '#/definitions/models.MyCouponHold'
  12703. "500":
  12704. description: Internal Server Error
  12705. schema:
  12706. $ref: '#/definitions/app.Response'
  12707. security:
  12708. - ApiKeyAuth: []
  12709. summary: 我的优惠卷持仓查询
  12710. tags:
  12711. - 定制【海商报业】
  12712. /HSBY/QueryMyCoupons:
  12713. get:
  12714. parameters:
  12715. - description: 资金账户列表,格式:1,2,3
  12716. in: query
  12717. name: accountIDs
  12718. required: true
  12719. type: string
  12720. - description: 商品ID, 一般与sellUserID配套传入
  12721. in: query
  12722. name: goodsID
  12723. type: integer
  12724. - description: 卖方UserID
  12725. in: query
  12726. name: sellUserID
  12727. type: integer
  12728. produces:
  12729. - application/json
  12730. responses:
  12731. "200":
  12732. description: OK
  12733. schema:
  12734. $ref: '#/definitions/models.MyCoupon'
  12735. "500":
  12736. description: Internal Server Error
  12737. schema:
  12738. $ref: '#/definitions/app.Response'
  12739. security:
  12740. - ApiKeyAuth: []
  12741. summary: 我的优惠卷查询
  12742. tags:
  12743. - 定制【海商报业】
  12744. /HSBY/QueryMyPayOrders:
  12745. get:
  12746. parameters:
  12747. - description: 页码
  12748. in: query
  12749. name: page
  12750. type: integer
  12751. - description: 每页条数
  12752. in: query
  12753. name: pagesize
  12754. type: integer
  12755. - description: 资金账户列表,格式:1,2,3
  12756. in: query
  12757. name: accountIDs
  12758. required: true
  12759. type: string
  12760. - description: 买方委托单号
  12761. in: query
  12762. name: buyOrderID
  12763. type: integer
  12764. - description: 卖方委托单号
  12765. in: query
  12766. name: sellOrderID
  12767. type: integer
  12768. produces:
  12769. - application/json
  12770. responses:
  12771. "200":
  12772. description: OK
  12773. schema:
  12774. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  12775. "500":
  12776. description: Internal Server Error
  12777. schema:
  12778. $ref: '#/definitions/app.Response'
  12779. security:
  12780. - ApiKeyAuth: []
  12781. summary: 获取我的订单中待付款信息
  12782. tags:
  12783. - 定制【海商报业】
  12784. /HSBY/QueryMyUsedCoupon:
  12785. get:
  12786. parameters:
  12787. - description: 资金账户列表,格式:1,2,3
  12788. in: query
  12789. name: accountIDs
  12790. required: true
  12791. type: string
  12792. produces:
  12793. - application/json
  12794. responses:
  12795. "200":
  12796. description: OK
  12797. schema:
  12798. $ref: '#/definitions/models.MyUsedCoupon'
  12799. "500":
  12800. description: Internal Server Error
  12801. schema:
  12802. $ref: '#/definitions/app.Response'
  12803. security:
  12804. - ApiKeyAuth: []
  12805. summary: 已使用优惠卷查询
  12806. tags:
  12807. - 定制【海商报业】
  12808. /HSBY/QueryProvincesAndCities:
  12809. get:
  12810. description: 查询结果只包括二级市场商品已关连的省市信息。
  12811. parameters:
  12812. - description: 省ID
  12813. in: query
  12814. name: provinceID
  12815. type: integer
  12816. produces:
  12817. - application/json
  12818. responses:
  12819. "200":
  12820. description: OK
  12821. schema:
  12822. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  12823. "500":
  12824. description: Internal Server Error
  12825. schema:
  12826. $ref: '#/definitions/app.Response'
  12827. security:
  12828. - ApiKeyAuth: []
  12829. summary: 查询省市信息(不包括区)
  12830. tags:
  12831. - 定制【海商报业】
  12832. /HSBY/SetHsbyMyPackagesStatus:
  12833. post:
  12834. parameters:
  12835. - description: 提货单号
  12836. in: query
  12837. name: takeOrderID
  12838. required: true
  12839. type: string
  12840. - description: 资金账号
  12841. in: query
  12842. name: accountID
  12843. required: true
  12844. type: integer
  12845. produces:
  12846. - application/json
  12847. responses:
  12848. "200":
  12849. description: OK
  12850. schema:
  12851. $ref: '#/definitions/app.Response'
  12852. "500":
  12853. description: Internal Server Error
  12854. schema:
  12855. $ref: '#/definitions/app.Response'
  12856. security:
  12857. - ApiKeyAuth: []
  12858. summary: 设置我的包裹已收货状态
  12859. tags:
  12860. - 定制【海商报业】
  12861. /Market/QueryGoodsesByLoginID:
  12862. get:
  12863. parameters:
  12864. - description: 登录账号
  12865. in: query
  12866. name: loginID
  12867. required: true
  12868. type: integer
  12869. - description: 市场ID列表,格式:1,2,3
  12870. in: query
  12871. name: marketIDs
  12872. type: string
  12873. produces:
  12874. - application/json
  12875. responses:
  12876. "200":
  12877. description: OK
  12878. schema:
  12879. $ref: '#/definitions/models.Goods'
  12880. "500":
  12881. description: Internal Server Error
  12882. schema:
  12883. $ref: '#/definitions/app.Response'
  12884. security:
  12885. - ApiKeyAuth: []
  12886. summary: 获取登录账号有权限的商品信息
  12887. tags:
  12888. - 通用市场
  12889. /Market/QueryMarketRun:
  12890. get:
  12891. parameters:
  12892. - description: 市场ID,不传返回所有
  12893. in: query
  12894. name: marketID
  12895. type: integer
  12896. produces:
  12897. - application/json
  12898. responses:
  12899. "200":
  12900. description: OK
  12901. schema:
  12902. $ref: '#/definitions/models.Marketrun'
  12903. "500":
  12904. description: Internal Server Error
  12905. schema:
  12906. $ref: '#/definitions/app.Response'
  12907. security:
  12908. - ApiKeyAuth: []
  12909. summary: 查询市场运行信息
  12910. tags:
  12911. - 通用市场
  12912. /Market/QueryMarketsByLoginID:
  12913. get:
  12914. parameters:
  12915. - description: 登录账号
  12916. in: query
  12917. name: loginID
  12918. required: true
  12919. type: integer
  12920. produces:
  12921. - application/json
  12922. responses:
  12923. "200":
  12924. description: OK
  12925. schema:
  12926. $ref: '#/definitions/models.Market'
  12927. "500":
  12928. description: Internal Server Error
  12929. schema:
  12930. $ref: '#/definitions/app.Response'
  12931. security:
  12932. - ApiKeyAuth: []
  12933. summary: 获取登录账号有权限的市场信息
  12934. tags:
  12935. - 通用市场
  12936. /Order/QueryHisTradeDetail:
  12937. get:
  12938. parameters:
  12939. - description: 资金账户 - 格式:1,2,3
  12940. in: query
  12941. name: accountID
  12942. required: true
  12943. type: string
  12944. - description: 成交单号
  12945. in: query
  12946. name: tradeID
  12947. type: integer
  12948. - description: 委托单号
  12949. in: query
  12950. name: orderID
  12951. type: integer
  12952. - description: 交易模式 - 格式:1,2,3
  12953. in: query
  12954. name: tradeMode
  12955. type: string
  12956. - description: 委托单据类型
  12957. in: query
  12958. name: buildType
  12959. type: integer
  12960. - description: 成交类别 - 格式:1,2,3
  12961. in: query
  12962. name: tradeType
  12963. type: string
  12964. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12965. in: query
  12966. name: startDate
  12967. type: string
  12968. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12969. in: query
  12970. name: endDate
  12971. type: string
  12972. produces:
  12973. - application/json
  12974. responses:
  12975. "200":
  12976. description: OK
  12977. schema:
  12978. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  12979. "500":
  12980. description: Internal Server Error
  12981. schema:
  12982. $ref: '#/definitions/app.Response'
  12983. security:
  12984. - ApiKeyAuth: []
  12985. summary: 历史成交单查询(合约市场)
  12986. tags:
  12987. - 通用单据
  12988. /Order/QueryHisTradeOrderDetail:
  12989. get:
  12990. parameters:
  12991. - description: 资金账户 - 格式:1,2,3
  12992. in: query
  12993. name: accountID
  12994. required: true
  12995. type: string
  12996. - description: 交易模式 - 格式:1,2,3
  12997. in: query
  12998. name: tradeMode
  12999. type: string
  13000. - description: 委托状态 - 格式:1,2,3
  13001. in: query
  13002. name: orderStatus
  13003. type: string
  13004. - description: 委托单号
  13005. in: query
  13006. name: orderID
  13007. type: integer
  13008. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13009. in: query
  13010. name: startDate
  13011. type: string
  13012. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13013. in: query
  13014. name: endDate
  13015. type: string
  13016. produces:
  13017. - application/json
  13018. responses:
  13019. "200":
  13020. description: OK
  13021. schema:
  13022. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  13023. "500":
  13024. description: Internal Server Error
  13025. schema:
  13026. $ref: '#/definitions/app.Response'
  13027. security:
  13028. - ApiKeyAuth: []
  13029. summary: 历史委托单查询请求(合约市场)
  13030. tags:
  13031. - 通用单据
  13032. /Order/QueryTradeDetail:
  13033. get:
  13034. parameters:
  13035. - description: 资金账户 - 格式:1,2,3
  13036. in: query
  13037. name: accountID
  13038. required: true
  13039. type: string
  13040. - description: 成交单号
  13041. in: query
  13042. name: tradeID
  13043. type: integer
  13044. - description: 委托单号
  13045. in: query
  13046. name: orderID
  13047. type: integer
  13048. - description: 交易模式 - 格式:1,2,3
  13049. in: query
  13050. name: tradeMode
  13051. type: string
  13052. - description: 委托单据类型
  13053. in: query
  13054. name: buildType
  13055. type: integer
  13056. - description: 成交类别 - 格式:1,2,3
  13057. in: query
  13058. name: tradeType
  13059. type: string
  13060. produces:
  13061. - application/json
  13062. responses:
  13063. "200":
  13064. description: OK
  13065. schema:
  13066. $ref: '#/definitions/order.QueryTradeDetailRsp'
  13067. "500":
  13068. description: Internal Server Error
  13069. schema:
  13070. $ref: '#/definitions/app.Response'
  13071. security:
  13072. - ApiKeyAuth: []
  13073. summary: 成交单查询(合约市场)
  13074. tags:
  13075. - 通用单据
  13076. /Order/QueryTradeOrderDetail:
  13077. get:
  13078. parameters:
  13079. - description: 资金账户 - 格式:1,2,3
  13080. in: query
  13081. name: accountID
  13082. required: true
  13083. type: string
  13084. - description: 交易模式 - 格式:1,2,3
  13085. in: query
  13086. name: tradeMode
  13087. type: string
  13088. - description: 委托状态 - 格式:1,2,3
  13089. in: query
  13090. name: orderStatus
  13091. type: string
  13092. - description: 委托单号
  13093. in: query
  13094. name: orderID
  13095. type: integer
  13096. produces:
  13097. - application/json
  13098. responses:
  13099. "200":
  13100. description: OK
  13101. schema:
  13102. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  13103. "500":
  13104. description: Internal Server Error
  13105. schema:
  13106. $ref: '#/definitions/app.Response'
  13107. security:
  13108. - ApiKeyAuth: []
  13109. summary: 委托单查询请求(合约市场)
  13110. tags:
  13111. - 通用单据
  13112. /Order/QueryTradePosition:
  13113. get:
  13114. parameters:
  13115. - description: 资金账户 - 格式:1,2,3
  13116. in: query
  13117. name: accountID
  13118. required: true
  13119. type: string
  13120. - description: 交易模式 - 格式:1,2,3
  13121. in: query
  13122. name: tradeMode
  13123. type: string
  13124. produces:
  13125. - application/json
  13126. responses:
  13127. "200":
  13128. description: OK
  13129. schema:
  13130. $ref: '#/definitions/order.QueryTradePositionRsp'
  13131. "500":
  13132. description: Internal Server Error
  13133. schema:
  13134. $ref: '#/definitions/app.Response'
  13135. security:
  13136. - ApiKeyAuth: []
  13137. summary: 持仓汇总查询(合约市场)
  13138. tags:
  13139. - 通用单据
  13140. /Quote/QueryHistoryDatas:
  13141. get:
  13142. parameters:
  13143. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  13144. 日线'
  13145. in: query
  13146. name: cycleType
  13147. required: true
  13148. type: integer
  13149. - description: 商品代码
  13150. in: query
  13151. name: goodsCode
  13152. required: true
  13153. type: string
  13154. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13155. in: query
  13156. name: startTime
  13157. type: string
  13158. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13159. in: query
  13160. name: endTime
  13161. type: string
  13162. - description: 条数
  13163. in: query
  13164. name: count
  13165. type: integer
  13166. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13167. in: query
  13168. name: isAsc
  13169. type: boolean
  13170. produces:
  13171. - application/json
  13172. responses:
  13173. "200":
  13174. description: OK
  13175. schema:
  13176. $ref: '#/definitions/quote.HistoryData'
  13177. "500":
  13178. description: Internal Server Error
  13179. schema:
  13180. $ref: '#/definitions/app.Response'
  13181. security:
  13182. - ApiKeyAuth: []
  13183. summary: 查询行情历史数据
  13184. tags:
  13185. - 行情服务
  13186. /Quote/QueryHistoryTikDatas:
  13187. get:
  13188. parameters:
  13189. - description: 商品代码
  13190. in: query
  13191. name: goodsCode
  13192. required: true
  13193. type: string
  13194. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13195. in: query
  13196. name: startTime
  13197. type: string
  13198. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13199. in: query
  13200. name: endTime
  13201. type: string
  13202. - description: 条数
  13203. in: query
  13204. name: count
  13205. type: integer
  13206. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13207. in: query
  13208. name: isAsc
  13209. type: boolean
  13210. produces:
  13211. - application/json
  13212. responses:
  13213. "200":
  13214. description: OK
  13215. schema:
  13216. $ref: '#/definitions/quote.HistoryTikData'
  13217. "500":
  13218. description: Internal Server Error
  13219. schema:
  13220. $ref: '#/definitions/app.Response'
  13221. security:
  13222. - ApiKeyAuth: []
  13223. summary: 查询行情Tik数据
  13224. tags:
  13225. - 行情服务
  13226. /Quote/QueryQuoteDay:
  13227. get:
  13228. parameters:
  13229. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  13230. in: query
  13231. name: goodsCodes
  13232. required: true
  13233. type: string
  13234. produces:
  13235. - application/json
  13236. responses:
  13237. "200":
  13238. description: OK
  13239. schema:
  13240. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  13241. "500":
  13242. description: Internal Server Error
  13243. schema:
  13244. $ref: '#/definitions/app.Response'
  13245. security:
  13246. - ApiKeyAuth: []
  13247. summary: 获取商品盘面信息
  13248. tags:
  13249. - 行情服务
  13250. /Quote/QueryTSData:
  13251. get:
  13252. parameters:
  13253. - description: 商品代码
  13254. in: query
  13255. name: goodsCode
  13256. required: true
  13257. type: string
  13258. produces:
  13259. - application/json
  13260. responses:
  13261. "200":
  13262. description: OK
  13263. schema:
  13264. $ref: '#/definitions/quote.QueryTSDataRsp'
  13265. "500":
  13266. description: Internal Server Error
  13267. schema:
  13268. $ref: '#/definitions/app.Response'
  13269. security:
  13270. - ApiKeyAuth: []
  13271. summary: 分时图数据查询
  13272. tags:
  13273. - 行情服务
  13274. /SZDZ/QueryConvertConfig:
  13275. get:
  13276. parameters:
  13277. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13278. 6:交易转花生米(不设置)
  13279. in: query
  13280. name: convertType
  13281. type: integer
  13282. - description: 外部商品代码[JD\PD]
  13283. in: query
  13284. name: outerGoodsCode
  13285. type: string
  13286. - description: 内部商品ID列表[交易],格式:1,2,3
  13287. in: query
  13288. name: innerGoodsIDs
  13289. type: string
  13290. produces:
  13291. - application/json
  13292. responses:
  13293. "200":
  13294. description: OK
  13295. schema:
  13296. $ref: '#/definitions/models.Szdz3convertconfig'
  13297. "500":
  13298. description: Internal Server Error
  13299. schema:
  13300. $ref: '#/definitions/app.Response'
  13301. security:
  13302. - ApiKeyAuth: []
  13303. summary: 查询交易系统转换设置
  13304. tags:
  13305. - 定制【尚志大宗】
  13306. /SZDZ/QueryConvertLog:
  13307. get:
  13308. parameters:
  13309. - description: 资金账户 - 格式:1,2,3
  13310. in: query
  13311. name: accountID
  13312. required: true
  13313. type: string
  13314. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13315. in: query
  13316. name: startDate
  13317. type: string
  13318. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13319. in: query
  13320. name: endDate
  13321. type: string
  13322. produces:
  13323. - application/json
  13324. responses:
  13325. "200":
  13326. description: OK
  13327. schema:
  13328. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  13329. "500":
  13330. description: Internal Server Error
  13331. schema:
  13332. $ref: '#/definitions/app.Response'
  13333. security:
  13334. - ApiKeyAuth: []
  13335. summary: 交易系统转换流水查询
  13336. tags:
  13337. - 定制【尚志大宗】
  13338. /SZDZ/QueryGoodsPickup:
  13339. get:
  13340. parameters:
  13341. - description: 资金账户 - 格式:1,2,3
  13342. in: query
  13343. name: accountID
  13344. required: true
  13345. type: string
  13346. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13347. in: query
  13348. name: takeOrderStatus
  13349. type: integer
  13350. produces:
  13351. - application/json
  13352. responses:
  13353. "200":
  13354. description: OK
  13355. schema:
  13356. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  13357. "500":
  13358. description: Internal Server Error
  13359. schema:
  13360. $ref: '#/definitions/app.Response'
  13361. security:
  13362. - ApiKeyAuth: []
  13363. summary: 商品提货单查询
  13364. tags:
  13365. - 定制【尚志大宗】
  13366. /SZDZ/QueryRecieptOrder:
  13367. get:
  13368. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13369. parameters:
  13370. - description: 页码
  13371. in: query
  13372. name: page
  13373. type: integer
  13374. - description: 每页条数
  13375. in: query
  13376. name: pagesize
  13377. type: integer
  13378. - description: 商品ID
  13379. in: query
  13380. name: goodsID
  13381. required: true
  13382. type: integer
  13383. - description: 所属账户名称
  13384. in: query
  13385. name: accountName
  13386. type: string
  13387. - description: 市场ID
  13388. in: query
  13389. name: marketID
  13390. type: integer
  13391. - description: 方向 - 0:买 1:卖
  13392. in: query
  13393. name: buyorsell
  13394. required: true
  13395. type: integer
  13396. produces:
  13397. - application/json
  13398. responses:
  13399. "200":
  13400. description: OK
  13401. schema:
  13402. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  13403. "500":
  13404. description: Internal Server Error
  13405. schema:
  13406. $ref: '#/definitions/app.Response'
  13407. security:
  13408. - ApiKeyAuth: []
  13409. summary: 点选挂牌委托单据查询(摘牌大厅)
  13410. tags:
  13411. - 定制【尚志大宗】
  13412. /SZDZ/QuerySZDZTradePosition:
  13413. get:
  13414. parameters:
  13415. - description: 资金账户
  13416. in: query
  13417. name: accountID
  13418. required: true
  13419. type: integer
  13420. produces:
  13421. - application/json
  13422. responses:
  13423. "200":
  13424. description: OK
  13425. schema:
  13426. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  13427. "500":
  13428. description: Internal Server Error
  13429. schema:
  13430. $ref: '#/definitions/app.Response'
  13431. security:
  13432. - ApiKeyAuth: []
  13433. summary: 持仓汇总查询(尚志大宗)
  13434. tags:
  13435. - 定制【尚志大宗】
  13436. /SZDZ/SearchWhite:
  13437. get:
  13438. parameters:
  13439. - description: 用户ID
  13440. in: query
  13441. name: userID
  13442. required: true
  13443. type: integer
  13444. produces:
  13445. - application/json
  13446. responses:
  13447. "200":
  13448. description: OK
  13449. schema:
  13450. $ref: '#/definitions/models.Szdz3searchwhitelist'
  13451. "500":
  13452. description: Internal Server Error
  13453. schema:
  13454. $ref: '#/definitions/app.Response'
  13455. security:
  13456. - ApiKeyAuth: []
  13457. summary: 搜索白名单
  13458. tags:
  13459. - 定制【尚志大宗】
  13460. /Search/SearchGoodses:
  13461. get:
  13462. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  13463. parameters:
  13464. - description: 检索内容
  13465. in: query
  13466. name: content
  13467. required: true
  13468. type: string
  13469. - description: 交易模式,格式:1,2,3
  13470. in: query
  13471. name: tradeModes
  13472. type: string
  13473. produces:
  13474. - application/json
  13475. responses:
  13476. "200":
  13477. description: OK
  13478. schema:
  13479. $ref: '#/definitions/models.SearchGoods'
  13480. "500":
  13481. description: Internal Server Error
  13482. schema:
  13483. $ref: '#/definitions/app.Response'
  13484. summary: 检索商品信息
  13485. tags:
  13486. - 检索服务
  13487. /TaAccount/GetTaAccounts:
  13488. get:
  13489. parameters:
  13490. - description: 登录账户
  13491. in: query
  13492. name: loginID
  13493. required: true
  13494. type: integer
  13495. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13496. in: query
  13497. name: taAccountType
  13498. type: integer
  13499. produces:
  13500. - application/json
  13501. responses:
  13502. "200":
  13503. description: OK
  13504. schema:
  13505. $ref: '#/definitions/models.Taaccount'
  13506. "500":
  13507. description: Internal Server Error
  13508. schema:
  13509. $ref: '#/definitions/app.Response'
  13510. security:
  13511. - ApiKeyAuth: []
  13512. summary: 获取资金账户信息
  13513. tags:
  13514. - 资金账户
  13515. /TaAccount/QueryAmountLog:
  13516. get:
  13517. parameters:
  13518. - description: 页码
  13519. in: query
  13520. name: page
  13521. type: integer
  13522. - description: 每页条数
  13523. in: query
  13524. name: pagesize
  13525. type: integer
  13526. - description: 资金账户 - 格式:1,2,3
  13527. in: query
  13528. name: accountID
  13529. required: true
  13530. type: string
  13531. - description: 资金操作类型 - 格式:1,2,3
  13532. in: query
  13533. name: OperateType
  13534. type: string
  13535. produces:
  13536. - application/json
  13537. responses:
  13538. "200":
  13539. description: OK
  13540. schema:
  13541. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  13542. "500":
  13543. description: Internal Server Error
  13544. schema:
  13545. $ref: '#/definitions/app.Response'
  13546. security:
  13547. - ApiKeyAuth: []
  13548. summary: 资金流水查询(当前)
  13549. tags:
  13550. - 资金账户
  13551. /TaAccount/QueryHisAmountLog:
  13552. get:
  13553. parameters:
  13554. - description: 页码
  13555. in: query
  13556. name: page
  13557. type: integer
  13558. - description: 每页条数
  13559. in: query
  13560. name: pagesize
  13561. type: integer
  13562. - description: 资金账户 - 格式:1,2,3
  13563. in: query
  13564. name: accountID
  13565. required: true
  13566. type: string
  13567. - description: 资金操作类型 - 格式:1,2,3
  13568. in: query
  13569. name: OperateType
  13570. type: string
  13571. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13572. in: query
  13573. name: startDate
  13574. type: string
  13575. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13576. in: query
  13577. name: endDate
  13578. type: string
  13579. produces:
  13580. - application/json
  13581. responses:
  13582. "200":
  13583. description: OK
  13584. schema:
  13585. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  13586. "500":
  13587. description: Internal Server Error
  13588. schema:
  13589. $ref: '#/definitions/app.Response'
  13590. security:
  13591. - ApiKeyAuth: []
  13592. summary: 资金流水查询(历史)
  13593. tags:
  13594. - 资金账户
  13595. /Trade/QueryRecieptOrder:
  13596. get:
  13597. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13598. parameters:
  13599. - description: 页码
  13600. in: query
  13601. name: page
  13602. type: integer
  13603. - description: 每页条数
  13604. in: query
  13605. name: pagesize
  13606. type: integer
  13607. - description: 商品ID
  13608. in: query
  13609. name: goodsID
  13610. required: true
  13611. type: integer
  13612. - description: 所属账户名称
  13613. in: query
  13614. name: accountName
  13615. type: string
  13616. - description: 市场ID
  13617. in: query
  13618. name: marketID
  13619. type: integer
  13620. - description: 方向 - 0:买 1:卖
  13621. in: query
  13622. name: buyorsell
  13623. required: true
  13624. type: integer
  13625. produces:
  13626. - application/json
  13627. responses:
  13628. "200":
  13629. description: OK
  13630. schema:
  13631. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  13632. "500":
  13633. description: Internal Server Error
  13634. schema:
  13635. $ref: '#/definitions/app.Response'
  13636. security:
  13637. - ApiKeyAuth: []
  13638. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  13639. tags:
  13640. - 通用交易
  13641. /User/AddMessageBoard:
  13642. post:
  13643. parameters:
  13644. - description: 用户ID
  13645. in: query
  13646. name: userID
  13647. required: true
  13648. type: integer
  13649. - description: 留言信息
  13650. in: query
  13651. name: message
  13652. required: true
  13653. type: string
  13654. - description: 联系电话
  13655. in: query
  13656. name: contactNum
  13657. required: true
  13658. type: string
  13659. produces:
  13660. - application/json
  13661. responses:
  13662. "200":
  13663. description: OK
  13664. schema:
  13665. $ref: '#/definitions/app.Response'
  13666. "500":
  13667. description: Internal Server Error
  13668. schema:
  13669. $ref: '#/definitions/app.Response'
  13670. security:
  13671. - ApiKeyAuth: []
  13672. summary: 添加用户留言板信息
  13673. tags:
  13674. - 用户信息
  13675. /User/AddUserFavoriteGoods:
  13676. post:
  13677. parameters:
  13678. - description: 用户ID
  13679. in: query
  13680. name: userID
  13681. required: true
  13682. type: integer
  13683. - description: 商品ID
  13684. in: query
  13685. name: goodsID
  13686. required: true
  13687. type: integer
  13688. produces:
  13689. - application/json
  13690. responses:
  13691. "200":
  13692. description: OK
  13693. schema:
  13694. $ref: '#/definitions/app.Response'
  13695. "500":
  13696. description: Internal Server Error
  13697. schema:
  13698. $ref: '#/definitions/app.Response'
  13699. security:
  13700. - ApiKeyAuth: []
  13701. summary: 添加用户商品收藏信息
  13702. tags:
  13703. - 用户信息
  13704. /User/GetLoginID:
  13705. get:
  13706. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  13707. parameters:
  13708. - description: 登录代码
  13709. in: query
  13710. name: username
  13711. required: true
  13712. type: string
  13713. produces:
  13714. - application/json
  13715. responses:
  13716. "200":
  13717. description: OK
  13718. schema:
  13719. $ref: '#/definitions/app.Response'
  13720. "500":
  13721. description: Internal Server Error
  13722. schema:
  13723. $ref: '#/definitions/app.Response'
  13724. summary: 获取登录ID
  13725. tags:
  13726. - 用户信息
  13727. /User/GetUserAccount:
  13728. get:
  13729. parameters:
  13730. - description: 用户ID
  13731. in: query
  13732. name: userID
  13733. required: true
  13734. type: integer
  13735. produces:
  13736. - application/json
  13737. responses:
  13738. "200":
  13739. description: OK
  13740. schema:
  13741. $ref: '#/definitions/models.Useraccount'
  13742. "500":
  13743. description: Internal Server Error
  13744. schema:
  13745. $ref: '#/definitions/app.Response'
  13746. security:
  13747. - ApiKeyAuth: []
  13748. summary: 获取用户账号信息
  13749. tags:
  13750. - 用户信息
  13751. /User/GetUserAuthStatus:
  13752. get:
  13753. parameters:
  13754. - description: 用户ID
  13755. in: query
  13756. name: userID
  13757. required: true
  13758. type: integer
  13759. produces:
  13760. - application/json
  13761. responses:
  13762. "200":
  13763. description: OK
  13764. schema:
  13765. $ref: '#/definitions/app.Response'
  13766. "500":
  13767. description: Internal Server Error
  13768. schema:
  13769. $ref: '#/definitions/app.Response'
  13770. security:
  13771. - ApiKeyAuth: []
  13772. summary: 获取用户实名认证状态
  13773. tags:
  13774. - 用户信息
  13775. /User/LoginQuery:
  13776. get:
  13777. parameters:
  13778. - description: 登录账号
  13779. in: query
  13780. name: loginID
  13781. required: true
  13782. type: integer
  13783. produces:
  13784. - application/json
  13785. responses:
  13786. "200":
  13787. description: OK
  13788. schema:
  13789. $ref: '#/definitions/user.LoginQueryRsp'
  13790. "500":
  13791. description: Internal Server Error
  13792. schema:
  13793. $ref: '#/definitions/app.Response'
  13794. security:
  13795. - ApiKeyAuth: []
  13796. summary: 账户登录后信息查询
  13797. tags:
  13798. - 用户信息
  13799. /User/QueryMessageBoard:
  13800. get:
  13801. parameters:
  13802. - description: 用户ID
  13803. in: query
  13804. name: userID
  13805. required: true
  13806. type: integer
  13807. produces:
  13808. - application/json
  13809. responses:
  13810. "200":
  13811. description: OK
  13812. schema:
  13813. $ref: '#/definitions/models.Messageboard'
  13814. "500":
  13815. description: Internal Server Error
  13816. schema:
  13817. $ref: '#/definitions/app.Response'
  13818. security:
  13819. - ApiKeyAuth: []
  13820. summary: 获取用户留言板信息
  13821. tags:
  13822. - 用户信息
  13823. /User/QueryUserFavoriteGoodses:
  13824. get:
  13825. parameters:
  13826. - description: 用户ID
  13827. in: query
  13828. name: userID
  13829. required: true
  13830. type: integer
  13831. produces:
  13832. - application/json
  13833. responses:
  13834. "200":
  13835. description: OK
  13836. schema:
  13837. $ref: '#/definitions/models.Userfavoritegoods'
  13838. "500":
  13839. description: Internal Server Error
  13840. schema:
  13841. $ref: '#/definitions/app.Response'
  13842. security:
  13843. - ApiKeyAuth: []
  13844. summary: 获取用户商品收藏信息
  13845. tags:
  13846. - 用户信息
  13847. /User/QueryUserInfo:
  13848. get:
  13849. parameters:
  13850. - description: 用户ID
  13851. in: query
  13852. name: userID
  13853. required: true
  13854. type: integer
  13855. produces:
  13856. - application/json
  13857. responses:
  13858. "200":
  13859. description: OK
  13860. schema:
  13861. $ref: '#/definitions/models.Userinfo'
  13862. "500":
  13863. description: Internal Server Error
  13864. schema:
  13865. $ref: '#/definitions/app.Response'
  13866. security:
  13867. - ApiKeyAuth: []
  13868. summary: 获取用户信息
  13869. tags:
  13870. - 用户信息
  13871. /User/QueryUserReferNum:
  13872. get:
  13873. parameters:
  13874. - description: 用户ID
  13875. in: query
  13876. name: userID
  13877. required: true
  13878. type: integer
  13879. produces:
  13880. - application/json
  13881. responses:
  13882. "200":
  13883. description: OK
  13884. schema:
  13885. $ref: '#/definitions/app.Response'
  13886. "500":
  13887. description: Internal Server Error
  13888. schema:
  13889. $ref: '#/definitions/app.Response'
  13890. summary: 获取用户邀请码
  13891. tags:
  13892. - 用户信息
  13893. /User/RemoveUserFavoriteGoods:
  13894. post:
  13895. parameters:
  13896. - description: 用户ID
  13897. in: query
  13898. name: userID
  13899. required: true
  13900. type: integer
  13901. - description: 商品ID
  13902. in: query
  13903. name: goodsID
  13904. required: true
  13905. type: integer
  13906. produces:
  13907. - application/json
  13908. responses:
  13909. "200":
  13910. description: OK
  13911. schema:
  13912. $ref: '#/definitions/app.Response'
  13913. "500":
  13914. description: Internal Server Error
  13915. schema:
  13916. $ref: '#/definitions/app.Response'
  13917. security:
  13918. - ApiKeyAuth: []
  13919. summary: 移除用户商品收藏信息
  13920. tags:
  13921. - 用户信息
  13922. /User/UpdateUserAccountStatus:
  13923. post:
  13924. parameters:
  13925. - description: 用户ID
  13926. in: query
  13927. name: userID
  13928. required: true
  13929. type: integer
  13930. - description: 账户状态 - 4:正常 6:注销(停用)
  13931. in: query
  13932. name: accountStatus
  13933. required: true
  13934. type: integer
  13935. produces:
  13936. - application/json
  13937. responses:
  13938. "200":
  13939. description: OK
  13940. schema:
  13941. $ref: '#/definitions/app.Response'
  13942. "500":
  13943. description: Internal Server Error
  13944. schema:
  13945. $ref: '#/definitions/app.Response'
  13946. security:
  13947. - ApiKeyAuth: []
  13948. summary: 更新用户状态
  13949. tags:
  13950. - 用户信息
  13951. /WR/GetWRCategoryInfo:
  13952. get:
  13953. produces:
  13954. - application/json
  13955. responses:
  13956. "200":
  13957. description: OK
  13958. schema:
  13959. $ref: '#/definitions/models.WRCategoryTree'
  13960. "500":
  13961. description: Internal Server Error
  13962. schema:
  13963. $ref: '#/definitions/app.Response'
  13964. summary: 获取现货分类信息
  13965. tags:
  13966. - 仓单服务
  13967. /WRTrade/GetAllDeliveryGoods:
  13968. get:
  13969. produces:
  13970. - application/json
  13971. - application/json
  13972. responses:
  13973. "200":
  13974. description: OK
  13975. schema:
  13976. $ref: '#/definitions/app.Response'
  13977. "500":
  13978. description: Internal Server Error
  13979. schema:
  13980. $ref: '#/definitions/app.Response'
  13981. security:
  13982. - ApiKeyAuth: []
  13983. - ApiKeyAuth: []
  13984. summary: 获取带仓单分类的种类信息
  13985. tags:
  13986. - 仓单贸易
  13987. - 仓单贸易
  13988. securityDefinitions:
  13989. ApiKeyAuth:
  13990. in: header
  13991. name: Authorization
  13992. type: apiKey
  13993. swagger: "2.0"