swagger.yaml 349 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646
  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.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureHedgePosDetailRsp:
  895. properties:
  896. buyorsell:
  897. description: 买卖方向 0-买 1-卖
  898. type: integer
  899. channelbuildtype:
  900. description: 开平方向 1-建仓 2-平仓
  901. type: integer
  902. goodscode:
  903. description: 商品代码
  904. type: string
  905. goodsname:
  906. description: 商品名称
  907. type: string
  908. hedgegoodsid:
  909. description: 商品id
  910. type: integer
  911. tradeqty:
  912. description: 数量(成交数量)
  913. type: integer
  914. tradetime:
  915. description: 时间(成交时间)
  916. type: string
  917. type: object
  918. ermcp.ExposureHedgePositionRsp:
  919. properties:
  920. accountid:
  921. description: 资金账号[外部母账户]
  922. type: integer
  923. curbuyposition:
  924. description: 期末买头寸
  925. type: integer
  926. cursellposition:
  927. description: 期末卖头寸
  928. type: integer
  929. curtdbuyposition:
  930. description: 期末今日买头寸
  931. type: integer
  932. curtdsellposition:
  933. description: 期末今日卖头寸
  934. type: integer
  935. curydbuyposition:
  936. description: 期末上日买头寸
  937. type: integer
  938. curydsellposition:
  939. description: 期末上日卖头寸
  940. type: integer
  941. decreaseqty:
  942. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  943. type: integer
  944. fretdbuyposition:
  945. description: 冻结今日买头寸
  946. type: integer
  947. fretdsellposition:
  948. description: 冻结今日卖头寸
  949. type: integer
  950. freydbuyposition:
  951. description: 冻结上日买头寸
  952. type: integer
  953. freydsellposition:
  954. description: 冻结上日卖头寸
  955. type: integer
  956. goodscode:
  957. description: 商品代码
  958. type: string
  959. goodsid:
  960. description: 商品id
  961. type: integer
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. hedgeaccountcode:
  966. description: 对冲账号
  967. type: string
  968. hedgegoodsid:
  969. description: 对冲合约ID
  970. type: integer
  971. increaseqty:
  972. description: 增加数量 = 期末买头寸 - 期初买头寸
  973. type: integer
  974. marketid:
  975. description: 市场ID
  976. type: integer
  977. relateduserid:
  978. description: 关联用户id
  979. type: integer
  980. totalcurqty:
  981. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  982. type: integer
  983. totalydqty:
  984. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  985. type: integer
  986. tradedate:
  987. description: 交易日(yyyyMMdd)
  988. type: string
  989. ydbuyposition:
  990. description: 期初买头寸
  991. type: integer
  992. ydsellposition:
  993. description: 期初卖头寸
  994. type: integer
  995. type: object
  996. ermcp.ExposureSpotDetailRsp:
  997. properties:
  998. contracttype:
  999. description: 合同类型 1-采购 -1-销售
  1000. type: integer
  1001. createtime:
  1002. description: 创建时间
  1003. type: string
  1004. enumdicname:
  1005. description: 现货商品单位名称
  1006. type: string
  1007. logtype:
  1008. description: 记录类型 1-套保 2-现货合同
  1009. type: integer
  1010. qty:
  1011. description: 数量
  1012. type: number
  1013. recordname:
  1014. description: 类型名称
  1015. type: string
  1016. relatedid:
  1017. description: 套保计划ID/现货合同ID
  1018. type: string
  1019. relatedno:
  1020. description: 编号
  1021. type: string
  1022. strtime:
  1023. description: 时间
  1024. type: string
  1025. wrstandardcode:
  1026. description: 现货商品代码
  1027. type: string
  1028. wrstandardname:
  1029. description: 现货商品名称
  1030. type: string
  1031. type: object
  1032. ermcp.ExposureSpotRsp:
  1033. properties:
  1034. areauserid:
  1035. description: 所属机构
  1036. type: integer
  1037. decreaseqty:
  1038. description: 减少数量=-(销售已定价数量+采购计划数量)
  1039. type: number
  1040. increaseqty:
  1041. description: 增加数量=销售计划数量+采购已定价数量
  1042. type: number
  1043. oritoalspotqty:
  1044. description: 昨日数量
  1045. type: number
  1046. totalspotqty:
  1047. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1048. type: number
  1049. updatetime:
  1050. description: 更新时间
  1051. type: string
  1052. wrstandardcode:
  1053. description: 现货品种代码
  1054. type: string
  1055. wrstandardid:
  1056. description: 现货商品ID
  1057. type: integer
  1058. wrstandardname:
  1059. description: 现货品种
  1060. type: string
  1061. type: object
  1062. ermcp.HisExposureRsp:
  1063. properties:
  1064. data:
  1065. description: 历史敞口
  1066. items:
  1067. $ref: '#/definitions/models.ErmcpHisExposure'
  1068. type: array
  1069. enumdicname:
  1070. description: 单位名称
  1071. type: string
  1072. middlegoodscode:
  1073. description: 套保品种代码
  1074. type: string
  1075. middlegoodsid:
  1076. description: 套保品种ID
  1077. type: integer
  1078. middlegoodsname:
  1079. description: 套保品种名称
  1080. type: string
  1081. type: object
  1082. ermcp.PendingAuditCntRsp:
  1083. properties:
  1084. businessdjqty:
  1085. description: '待审核数量: 点价'
  1086. type: integer
  1087. businessfpqty:
  1088. description: '待审核数量: 发票'
  1089. type: integer
  1090. businessjsqty:
  1091. description: '待审核数量: 结算'
  1092. type: integer
  1093. businesskxqty:
  1094. description: '待审核数量: 款项'
  1095. type: integer
  1096. hedgeplanqty:
  1097. description: '待审核数量: 套保计划'
  1098. type: integer
  1099. spotcontractqty:
  1100. description: '待审核数量: 现货合同'
  1101. type: integer
  1102. userqty:
  1103. description: '待审核数量: 用户'
  1104. type: integer
  1105. type: object
  1106. ermcp.QryAvalidGPRsp:
  1107. properties:
  1108. goodsgroupid:
  1109. description: 期货品种id
  1110. type: integer
  1111. goodsgroupname:
  1112. description: 期货品种名称
  1113. type: string
  1114. goodunitid:
  1115. description: 品种单位id
  1116. type: integer
  1117. goodunitname:
  1118. description: 品种单位名称
  1119. type: string
  1120. outergroupcode:
  1121. description: 期货品种代码
  1122. type: string
  1123. type: object
  1124. ermcp.QryBusinessDjRsp:
  1125. properties:
  1126. amount:
  1127. description: 点价金额=(点价价格+升贴水)*点价数量
  1128. type: number
  1129. applyid:
  1130. description: 申请人
  1131. type: string
  1132. applyname:
  1133. description: 申请人名称
  1134. type: string
  1135. applystatus:
  1136. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1137. type: integer
  1138. applytime:
  1139. description: 申请时间
  1140. type: string
  1141. attachurl:
  1142. description: 附件
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. enumdicname:
  1163. description: 单位名称
  1164. type: string
  1165. goodscode:
  1166. description: 点价合约
  1167. type: string
  1168. goodsname:
  1169. description: 商品名称
  1170. type: string
  1171. operateapplyid:
  1172. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1173. type: string
  1174. operateapplytype:
  1175. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1176. type: integer
  1177. pricedPrice:
  1178. description: 点价价格(非必填)
  1179. type: number
  1180. pricedQty:
  1181. description: 点价数量(非必填)
  1182. type: number
  1183. pricemove:
  1184. description: 升贴水
  1185. type: number
  1186. pricetype:
  1187. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1188. type: integer
  1189. relatedid:
  1190. description: 现货合同ID
  1191. type: string
  1192. sellusername:
  1193. description: 销售方名字
  1194. type: string
  1195. userid:
  1196. description: 用户ID
  1197. type: integer
  1198. type: object
  1199. ermcp.QryBussinessFpRsp:
  1200. properties:
  1201. applyid:
  1202. description: 申请人
  1203. type: string
  1204. applyname:
  1205. description: 申请人名称
  1206. type: string
  1207. applystatus:
  1208. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1209. type: integer
  1210. applytime:
  1211. description: 申请时间
  1212. type: string
  1213. attachurl:
  1214. description: 附件
  1215. type: string
  1216. auditname:
  1217. description: 审核人名称
  1218. type: string
  1219. audittime:
  1220. description: 审核时间
  1221. type: string
  1222. buyusername:
  1223. description: 采购方名称
  1224. type: string
  1225. contractno:
  1226. description: 合同编号
  1227. type: string
  1228. contractstatus:
  1229. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1230. type: integer
  1231. contracttype:
  1232. description: 现货合同类型 - 1:采购 -1:销售
  1233. type: integer
  1234. enumdicname:
  1235. description: 单位名称
  1236. type: string
  1237. goodscode:
  1238. description: 点价合约
  1239. type: string
  1240. goodsname:
  1241. description: 商品名称
  1242. type: string
  1243. invoiceAmount:
  1244. description: 已开收票金额(销售为开票,采购为收票)
  1245. type: number
  1246. operateapplyid:
  1247. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1248. type: string
  1249. operateapplytype:
  1250. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1251. type: integer
  1252. pricemove:
  1253. description: 升贴水
  1254. type: number
  1255. pricetype:
  1256. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1257. type: integer
  1258. relatedid:
  1259. description: 现货合同ID
  1260. type: string
  1261. sellusername:
  1262. description: 销售方名字
  1263. type: string
  1264. userid:
  1265. description: 用户ID
  1266. type: integer
  1267. type: object
  1268. ermcp.QryBussinessJsExRsp:
  1269. properties:
  1270. applyid:
  1271. description: 申请人
  1272. type: string
  1273. applyname:
  1274. description: 申请人名称
  1275. type: string
  1276. applystatus:
  1277. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1278. type: integer
  1279. applytime:
  1280. description: 申请时间
  1281. type: string
  1282. attachurl:
  1283. description: 附件
  1284. type: string
  1285. auditname:
  1286. description: 审核人名称
  1287. type: string
  1288. audittime:
  1289. description: 审核时间
  1290. type: string
  1291. buyusername:
  1292. description: 采购方名称
  1293. type: string
  1294. contractno:
  1295. description: 合同编号
  1296. type: string
  1297. contractstatus:
  1298. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1299. type: integer
  1300. contracttype:
  1301. description: 现货合同类型 - 1:采购 -1:销售
  1302. type: integer
  1303. enumdicname:
  1304. description: 单位名称
  1305. type: string
  1306. goodscode:
  1307. description: 点价合约
  1308. type: string
  1309. goodsname:
  1310. description: 商品名称
  1311. type: string
  1312. operateapplyid:
  1313. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1314. type: string
  1315. operateapplytype:
  1316. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1317. type: integer
  1318. pricemove:
  1319. description: 升贴水
  1320. type: number
  1321. pricetype:
  1322. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1323. type: integer
  1324. reckontype:
  1325. description: 结算类型
  1326. type: string
  1327. reckonvalue:
  1328. description: 值
  1329. type: number
  1330. relatedid:
  1331. description: 现货合同ID
  1332. type: string
  1333. sellusername:
  1334. description: 销售方名字
  1335. type: string
  1336. userid:
  1337. description: 用户ID
  1338. type: integer
  1339. type: object
  1340. ermcp.QryBussinessJsRsp:
  1341. properties:
  1342. addmargin:
  1343. description: 追加保证金(非必填)
  1344. type: number
  1345. applyid:
  1346. description: 申请人
  1347. type: string
  1348. applyname:
  1349. description: 申请人名称
  1350. type: string
  1351. applystatus:
  1352. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1353. type: integer
  1354. applytime:
  1355. description: 申请时间
  1356. type: string
  1357. attachurl:
  1358. description: 附件
  1359. type: string
  1360. auditname:
  1361. description: 审核人名称
  1362. type: string
  1363. audittime:
  1364. description: 审核时间
  1365. type: string
  1366. buyusername:
  1367. description: 采购方名称
  1368. type: string
  1369. contractno:
  1370. description: 合同编号
  1371. type: string
  1372. contractstatus:
  1373. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1374. type: integer
  1375. contracttype:
  1376. description: 现货合同类型 - 1:采购 -1:销售
  1377. type: integer
  1378. decmargin:
  1379. description: 减少保证金(非必填)
  1380. type: number
  1381. enumdicname:
  1382. description: 单位名称
  1383. type: string
  1384. goodscode:
  1385. description: 点价合约
  1386. type: string
  1387. goodsname:
  1388. description: 商品名称
  1389. type: string
  1390. operateapplyid:
  1391. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1392. type: string
  1393. operateapplytype:
  1394. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1395. type: integer
  1396. pricemove:
  1397. description: 升贴水
  1398. type: number
  1399. pricetype:
  1400. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1401. type: integer
  1402. reckonadjustamount:
  1403. description: 结算调整金额(非必填)
  1404. type: number
  1405. reckonosamount:
  1406. description: 结算溢短金额(非必填)
  1407. type: number
  1408. reckonotheramount:
  1409. description: 结算其他费用(非必填)
  1410. type: number
  1411. reckonrealqty:
  1412. description: 结算实际数量(非必填)
  1413. type: number
  1414. relatedid:
  1415. description: 现货合同ID
  1416. type: string
  1417. sellusername:
  1418. description: 销售方名字
  1419. type: string
  1420. userid:
  1421. description: 用户ID
  1422. type: integer
  1423. type: object
  1424. ermcp.QryBussinessKxRsp:
  1425. properties:
  1426. applyid:
  1427. description: 申请人
  1428. type: string
  1429. applyname:
  1430. description: 申请人名称
  1431. type: string
  1432. applystatus:
  1433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1434. type: integer
  1435. applytime:
  1436. description: 申请时间
  1437. type: string
  1438. attachurl:
  1439. description: 附件
  1440. type: string
  1441. auditname:
  1442. description: 审核人名称
  1443. type: string
  1444. audittime:
  1445. description: 审核时间
  1446. type: string
  1447. buyusername:
  1448. description: 采购方名称
  1449. type: string
  1450. contractno:
  1451. description: 合同编号
  1452. type: string
  1453. contractstatus:
  1454. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1455. type: integer
  1456. contracttype:
  1457. description: 现货合同类型 - 1:采购 -1:销售
  1458. type: integer
  1459. deductamount:
  1460. description: 退款(非必填)
  1461. type: number
  1462. enumdicname:
  1463. description: 单位名称
  1464. type: string
  1465. goodscode:
  1466. description: 点价合约
  1467. type: string
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. kxtype:
  1472. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1473. type: integer
  1474. operateapplyid:
  1475. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1476. type: string
  1477. operateapplytype:
  1478. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1479. type: integer
  1480. payamount:
  1481. description: 收付款(非必填)
  1482. type: number
  1483. pricemove:
  1484. description: 升贴水
  1485. type: number
  1486. pricetype:
  1487. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1488. type: integer
  1489. relatedid:
  1490. description: 现货合同ID
  1491. type: string
  1492. sellusername:
  1493. description: 销售方名字
  1494. type: string
  1495. userid:
  1496. description: 用户ID
  1497. type: integer
  1498. type: object
  1499. ermcp.QryErmcpRsp:
  1500. properties:
  1501. accountname:
  1502. description: 账户名称
  1503. type: string
  1504. attachment:
  1505. description: 附件
  1506. type: string
  1507. audittime:
  1508. description: 审核时间
  1509. type: string
  1510. contracctstatus:
  1511. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1512. type: integer
  1513. contractmargin:
  1514. description: 合同保证金
  1515. type: number
  1516. contractno:
  1517. description: 合同编号
  1518. type: string
  1519. contracttype:
  1520. description: 合同类型 1-采购, -1-销售
  1521. type: integer
  1522. convertfactor:
  1523. description: 标仓系数
  1524. type: number
  1525. createtime:
  1526. description: 创建时间
  1527. type: string
  1528. daikaiamount:
  1529. description: 待开票额
  1530. type: number
  1531. deliveryenddate:
  1532. description: 交割结束日
  1533. type: string
  1534. deliverygoodscode:
  1535. description: 现货商品代码
  1536. type: string
  1537. deliverygoodsid:
  1538. description: 现货商品ID
  1539. type: integer
  1540. deliverygoodsname:
  1541. description: 现货商品名称
  1542. type: string
  1543. deliverystartdate:
  1544. description: 交割开始日
  1545. type: string
  1546. enddate:
  1547. description: 点价结束日
  1548. type: string
  1549. enumdicname:
  1550. description: 单位名称
  1551. type: string
  1552. goodscode:
  1553. description: 点价商品代码
  1554. type: string
  1555. goodsid:
  1556. description: 点价商品ID
  1557. type: integer
  1558. goodsname:
  1559. description: 点价商品名称
  1560. type: string
  1561. invoiceamount:
  1562. description: 已开票额
  1563. type: number
  1564. loanamount:
  1565. description: 贷款总额=已定价额+调整金额
  1566. type: number
  1567. margin:
  1568. description: 保证金
  1569. type: number
  1570. payamount:
  1571. description: 已收付额(收款或付款)
  1572. type: number
  1573. price:
  1574. description: 价格
  1575. type: number
  1576. pricedamount:
  1577. description: 已定价额
  1578. type: number
  1579. pricedavg:
  1580. description: 已点均价
  1581. type: number
  1582. pricedqty:
  1583. description: 已定价量
  1584. type: number
  1585. pricemove:
  1586. description: 升贴水
  1587. type: number
  1588. pricetype:
  1589. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1590. type: integer
  1591. producttype:
  1592. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1593. type: integer
  1594. qty:
  1595. description: 合同量
  1596. type: number
  1597. reckonadjustamount:
  1598. description: 调整金额
  1599. type: number
  1600. reckonedamount:
  1601. description: 已收付额(已确定额)
  1602. type: number
  1603. reckonotheramount:
  1604. description: 其它费用
  1605. type: number
  1606. reckonrealqty:
  1607. description: 已确定量
  1608. type: number
  1609. remark:
  1610. description: 备注
  1611. type: string
  1612. spotcontractid:
  1613. description: 合同ID
  1614. type: string
  1615. spotgoodsdesc:
  1616. description: 商品型号(商品规格)
  1617. type: string
  1618. startdate:
  1619. description: 点价开始日
  1620. type: string
  1621. totalamount:
  1622. description: 合计总额
  1623. type: number
  1624. unpayamount:
  1625. description: 待支收额(支付或收款)
  1626. type: number
  1627. unpricedqty:
  1628. description: 未定价量
  1629. type: number
  1630. unsureqty:
  1631. description: 未确定量
  1632. type: number
  1633. userid:
  1634. description: 用户ID
  1635. type: integer
  1636. type: object
  1637. ermcp.QryGGCovertCfgRsp:
  1638. properties:
  1639. convertratio:
  1640. description: 折算系数
  1641. type: number
  1642. destgoodsgroupid:
  1643. description: 目标品种ID
  1644. type: integer
  1645. dstcode:
  1646. description: 目录品种代码
  1647. type: string
  1648. dstexchangecode:
  1649. description: 目标期货交易所
  1650. type: string
  1651. dstname:
  1652. description: 目标品种名称
  1653. type: string
  1654. dstunitid:
  1655. description: 目标品种单位ID
  1656. type: integer
  1657. dstunitidname:
  1658. description: 目标品种单位名称
  1659. type: string
  1660. srccode:
  1661. description: 源品种代码
  1662. type: string
  1663. srcexchangecode:
  1664. description: 源期货交易所
  1665. type: string
  1666. srcgoodsgroupid:
  1667. description: 源品种ID
  1668. type: integer
  1669. srcname:
  1670. description: 源品种名称
  1671. type: string
  1672. srcunitid:
  1673. description: 源品种单位ID
  1674. type: integer
  1675. srcunitidname:
  1676. description: 源品种单位名称
  1677. type: string
  1678. type: object
  1679. ermcp.QryHedgePlanRsp:
  1680. properties:
  1681. areauserid:
  1682. description: 用户ID
  1683. type: integer
  1684. contracttype:
  1685. description: 计划类型 - 1:采购 -1:销售
  1686. type: integer
  1687. convertfactor:
  1688. description: 标仓系数
  1689. type: number
  1690. createtime:
  1691. description: 创建时间
  1692. type: string
  1693. deliverygoodsid:
  1694. description: 现货品种ID
  1695. type: integer
  1696. deliverygoodsname:
  1697. description: 现货品种名称
  1698. type: string
  1699. hedgeplanid:
  1700. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1701. type: string
  1702. hedgeplanno:
  1703. description: 套保计划编号(名称)
  1704. type: string
  1705. hedgeplanstatus:
  1706. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. planqty:
  1709. description: 计划数量
  1710. type: number
  1711. plantime:
  1712. description: 计划时间
  1713. type: string
  1714. producttype:
  1715. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1716. type: integer
  1717. remark:
  1718. description: 备注
  1719. type: string
  1720. spotgoodsdesc:
  1721. description: 商品型号
  1722. type: string
  1723. wrstandardid:
  1724. description: 现货商品ID
  1725. type: integer
  1726. wrstandardname:
  1727. description: 现货商品名称
  1728. type: string
  1729. type: object
  1730. ermcp.QryMGChangeLogRsp:
  1731. properties:
  1732. aftervalue:
  1733. description: 变更后
  1734. type: number
  1735. applyid:
  1736. description: 操作人
  1737. type: integer
  1738. applyname:
  1739. description: 操作人名称
  1740. type: string
  1741. applysrc:
  1742. description: 操作来源 - 1:管理端 2:终端
  1743. type: integer
  1744. beforevalue:
  1745. description: 变更前
  1746. type: number
  1747. changelogtype:
  1748. description: 变更流水类型 - 1:套保比率变更
  1749. type: integer
  1750. handlestatus:
  1751. description: 处理状态
  1752. type: integer
  1753. logdatetime:
  1754. description: 流水日期
  1755. type: string
  1756. logid:
  1757. description: 流水ID
  1758. type: integer
  1759. logremark:
  1760. description: 流水备注
  1761. type: string
  1762. middlegoodsid:
  1763. description: 套保品种ID
  1764. type: integer
  1765. tradedate:
  1766. description: 交易日(yyyyMMdd)
  1767. type: string
  1768. updatetime:
  1769. description: 更新时间
  1770. type: string
  1771. type: object
  1772. ermcp.QryMiddleGoodsDetailRsp:
  1773. properties:
  1774. cvList:
  1775. description: 期货品种折算列表
  1776. items:
  1777. $ref: '#/definitions/models.GoodsGroupConvert'
  1778. type: array
  1779. mg:
  1780. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1781. description: 套保品种基本信息
  1782. type: object
  1783. ermcp.QryMiddleGoodsRsp:
  1784. properties:
  1785. areauserid:
  1786. description: 机构用户ID
  1787. type: integer
  1788. enumdicname:
  1789. description: 单位名称
  1790. type: string
  1791. evaluateratio:
  1792. description: 估价系数
  1793. type: number
  1794. goodsgroupid:
  1795. description: 关联期货品种ID
  1796. type: integer
  1797. isvalid:
  1798. description: 状态 0-无效(停用) 1-有效(正常)
  1799. type: integer
  1800. middlegoodscode:
  1801. description: 套保品种代码
  1802. type: string
  1803. middlegoodsid:
  1804. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1805. type: integer
  1806. middlegoodsname:
  1807. description: 套保品种名称
  1808. type: string
  1809. modifytime:
  1810. description: 修改时间
  1811. type: string
  1812. needhedgeratio:
  1813. description: 套保比率
  1814. type: number
  1815. qtydecimalplace:
  1816. description: 数量小数位
  1817. type: integer
  1818. relatedgoodsid:
  1819. description: 关联交易商品ID
  1820. type: integer
  1821. relatedgoodstype:
  1822. description: 关联商品类型 - 1:期货合约 2:现货品种
  1823. type: integer
  1824. type: object
  1825. ermcp.QryOPLogRsp:
  1826. properties:
  1827. aftervalue:
  1828. description: 变更后
  1829. type: number
  1830. applyid:
  1831. description: 操作人ID
  1832. type: string
  1833. applyname:
  1834. description: 操作人名称
  1835. type: string
  1836. beforevalue:
  1837. description: 变更前
  1838. type: number
  1839. biztype:
  1840. description: 业务类型 - 1:套保计划 2:现货合同
  1841. type: integer
  1842. contracttype:
  1843. description: 现货合同类型 - 1:采购 -1:销售
  1844. type: integer
  1845. logvalue:
  1846. description: 数值
  1847. type: number
  1848. operatelogtype:
  1849. description: 操作流水类型
  1850. type: integer
  1851. operatelogtypedesc:
  1852. description: 操作流水类型名称
  1853. type: string
  1854. relatedid:
  1855. description: 现货合同ID\套保计划
  1856. type: string
  1857. updatetime:
  1858. description: 更新时间
  1859. type: string
  1860. type: object
  1861. ermcp.QryReportDaySpotDetailRsp:
  1862. properties:
  1863. applyid:
  1864. description: 操作人
  1865. type: integer
  1866. applyname:
  1867. description: 操作人名称
  1868. type: string
  1869. biztype:
  1870. description: 业务类型 - 1:套保计划 2:现货合同
  1871. type: integer
  1872. contracttype:
  1873. description: 现货合同类型 - 1:采购 -1:销售
  1874. type: integer
  1875. enumdicName:
  1876. description: 单位名称
  1877. type: string
  1878. logdatetime:
  1879. description: 流水日期(时间)
  1880. type: string
  1881. logid:
  1882. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  1883. type: string
  1884. logtypename:
  1885. description: 合同类型(名称)
  1886. type: string
  1887. logvalue:
  1888. description: 数值
  1889. type: string
  1890. operatelogtype:
  1891. description: 操作流水类型 -
  1892. type: integer
  1893. optypename:
  1894. description: 流水类型名称
  1895. type: string
  1896. relatedid:
  1897. description: 现货合同ID\套保计划
  1898. type: string
  1899. relatedno:
  1900. description: 合同编号
  1901. type: string
  1902. tradedate:
  1903. description: 交易日(yyyyMMdd)
  1904. type: string
  1905. userid:
  1906. description: 机构ID
  1907. type: integer
  1908. wrstandardcode:
  1909. description: 现货商品代码
  1910. type: string
  1911. wrstandardid:
  1912. description: 现货商品ID
  1913. type: integer
  1914. wrstandardname:
  1915. description: 现货商品名称
  1916. type: string
  1917. type: object
  1918. ermcp.QryReportExposureDayRsp:
  1919. properties:
  1920. areauserid:
  1921. description: 所属机构
  1922. type: integer
  1923. buyfutureqty:
  1924. description: 买入期货数量
  1925. type: number
  1926. buyplanqty:
  1927. description: 采购计划数量
  1928. type: number
  1929. buypricedqty:
  1930. description: 采购合同已定价数量
  1931. type: number
  1932. diffFutuQty:
  1933. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  1934. type: number
  1935. diffSpotQty:
  1936. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  1937. type: number
  1938. enumdicname:
  1939. description: 单位名称
  1940. type: string
  1941. middlegoodscode:
  1942. description: 套保品种代码
  1943. type: string
  1944. middlegoodshedgeratio:
  1945. description: 应套保比例
  1946. type: number
  1947. middlegoodsid:
  1948. description: 套保品种ID
  1949. type: integer
  1950. middlegoodsname:
  1951. description: 套保品种名称
  1952. type: string
  1953. needhedgeexposoure:
  1954. description: 应套保敞口
  1955. type: number
  1956. needhedgeratio:
  1957. description: 应套保敞口比例
  1958. type: number
  1959. oriTotalFutuQty:
  1960. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  1961. type: number
  1962. oriTotalSpotQty:
  1963. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  1964. type: number
  1965. oribuyfutureqty:
  1966. description: 期初买入期货数量
  1967. type: number
  1968. oribuyplanqty:
  1969. description: 期初采购计划数量
  1970. type: number
  1971. oribuypricedqty:
  1972. description: 期初采购合同已定价数量
  1973. type: number
  1974. orisellfutureqty:
  1975. description: 期初卖出期货数量
  1976. type: number
  1977. orisellplanqty:
  1978. description: 期初销售计划数量
  1979. type: number
  1980. orisellpricedqty:
  1981. description: 期初销售合同已定价数量
  1982. type: number
  1983. reckondate:
  1984. description: 日照时期(yyyyMMdd)
  1985. type: string
  1986. sellfutureqty:
  1987. description: 卖出期货数量
  1988. type: number
  1989. sellplanqty:
  1990. description: 销售计划数量
  1991. type: number
  1992. sellpricedqty:
  1993. description: 销售合同已定价数量
  1994. type: number
  1995. totalexposure:
  1996. description: 总敞口
  1997. type: number
  1998. totalfutureqty:
  1999. description: 期货数量
  2000. type: number
  2001. totalhedgeratio:
  2002. description: 敞口比例
  2003. type: number
  2004. totalneedhedgeqty:
  2005. description: 期货应套保量
  2006. type: number
  2007. totalspotqty:
  2008. description: 现货数量
  2009. type: number
  2010. type: object
  2011. ermcp.QryReportFinanceDayRsp:
  2012. properties:
  2013. areauserid:
  2014. description: 所属机构
  2015. type: integer
  2016. collectinvoiceamount:
  2017. description: 今日开票金额
  2018. type: number
  2019. collectinvoicecount:
  2020. description: 今日开票笔数
  2021. type: integer
  2022. collectmoneyamount:
  2023. description: 今日收款金额
  2024. type: number
  2025. collectmoneycount:
  2026. description: 今日收款笔数
  2027. type: integer
  2028. payinvoiceamount:
  2029. description: 今日收票金额
  2030. type: number
  2031. payinvoicecount:
  2032. description: 今日收票笔数
  2033. type: integer
  2034. paymoneyamount:
  2035. description: 今日付款金额
  2036. type: number
  2037. paymoneycount:
  2038. description: 今日付款笔数
  2039. type: integer
  2040. reckondate:
  2041. description: 日照时期(yyyyMMdd)
  2042. type: string
  2043. updatetime:
  2044. description: 更新时间
  2045. type: string
  2046. type: object
  2047. ermcp.QryReportFinanceKxRsp:
  2048. properties:
  2049. applyid:
  2050. description: 操作人
  2051. type: integer
  2052. applyname:
  2053. description: 操作人名称
  2054. type: string
  2055. biztype:
  2056. description: 业务类型 - 1:套保计划 2:现货合同
  2057. type: integer
  2058. contracttype:
  2059. description: 现货合同类型 - 1:采购 -1:销售
  2060. type: integer
  2061. enumdicName:
  2062. description: 单位名称
  2063. type: string
  2064. logdatetime:
  2065. description: 流水日期(时间)
  2066. type: string
  2067. logid:
  2068. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2069. type: string
  2070. logtypename:
  2071. description: 合同类型(名称)
  2072. type: string
  2073. logvalue:
  2074. description: 数值
  2075. type: string
  2076. operatelogtype:
  2077. description: 操作流水类型 -
  2078. type: integer
  2079. optypename:
  2080. description: 流水类型名称
  2081. type: string
  2082. relatedid:
  2083. description: 现货合同ID\套保计划
  2084. type: string
  2085. relatedno:
  2086. description: 合同编号
  2087. type: string
  2088. tradedate:
  2089. description: 交易日(yyyyMMdd)
  2090. type: string
  2091. userid:
  2092. description: 机构ID
  2093. type: integer
  2094. wrstandardcode:
  2095. description: 现货商品代码
  2096. type: string
  2097. wrstandardid:
  2098. description: 现货商品ID
  2099. type: integer
  2100. wrstandardname:
  2101. description: 现货商品名称
  2102. type: string
  2103. type: object
  2104. ermcp.QryReportFinanceMonRsp:
  2105. properties:
  2106. areauserid:
  2107. description: 所属机构【原值】
  2108. type: integer
  2109. collectinvoiceamount:
  2110. description: 今日开票金额【汇总】
  2111. type: number
  2112. collectinvoicecount:
  2113. description: 今日开票笔数【汇总】
  2114. type: integer
  2115. collectmoneyamount:
  2116. description: 今日收款金额【汇总】
  2117. type: number
  2118. collectmoneycount:
  2119. description: 今日收款笔数 【汇总】
  2120. type: integer
  2121. cycletime:
  2122. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2123. type: string
  2124. cycletype:
  2125. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2126. type: integer
  2127. dayFr:
  2128. description: 日报表明细
  2129. items:
  2130. $ref: '#/definitions/models.ErmcpReportDayFR'
  2131. type: array
  2132. payinvoiceamount:
  2133. description: 今日收票金额【汇总】
  2134. type: number
  2135. payinvoicecount:
  2136. description: 今日收票笔数【汇总】
  2137. type: integer
  2138. paymoneyamount:
  2139. description: 今日付款金额【汇总】
  2140. type: number
  2141. paymoneycount:
  2142. description: 今日付款笔数【汇总】
  2143. type: integer
  2144. updatetime:
  2145. description: 更新时间
  2146. type: string
  2147. type: object
  2148. ermcp.QryReportSpotDayRsp:
  2149. properties:
  2150. areauserid:
  2151. description: 所属机构T
  2152. type: integer
  2153. enumdicname:
  2154. description: 现货商品单位名称
  2155. type: string
  2156. reckondate:
  2157. description: 日照时期(yyyyMMdd)
  2158. type: string
  2159. todaybuyreckonqty:
  2160. description: 采购确定量
  2161. type: number
  2162. todaysellreckonqty:
  2163. description: 销售确定量
  2164. type: number
  2165. totalbuypricedqty:
  2166. description: 采购定价量 = 期末 - 期初
  2167. type: number
  2168. totalsellpricedqty:
  2169. description: 销售定价量 = 期末 - 期初
  2170. type: number
  2171. wrstandardcode:
  2172. description: 现货商品代码
  2173. type: string
  2174. wrstandardid:
  2175. description: 现货商品ID
  2176. type: integer
  2177. wrstandardname:
  2178. description: 现货商品名称
  2179. type: string
  2180. type: object
  2181. ermcp.QryReportSpotMonRsp:
  2182. properties:
  2183. areauserid:
  2184. description: 所属机构T
  2185. type: integer
  2186. cycletime:
  2187. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2188. type: string
  2189. cycletype:
  2190. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2191. type: integer
  2192. enumdicname:
  2193. description: 现货商品单位名称
  2194. type: string
  2195. todaybuyreckonqty:
  2196. description: 采购确定量
  2197. type: number
  2198. todaysellreckonqty:
  2199. description: 销售确定量
  2200. type: number
  2201. totalbuypricedqty:
  2202. description: 采购定价量 = 期末 - 期初
  2203. type: number
  2204. totalsellpricedqty:
  2205. description: 销售定价量 = 期末 - 期初
  2206. type: number
  2207. wrstandardcode:
  2208. description: 现货商品代码
  2209. type: string
  2210. wrstandardid:
  2211. description: 现货商品ID
  2212. type: integer
  2213. wrstandardname:
  2214. description: 现货商品名称
  2215. type: string
  2216. type: object
  2217. ermcp.QryReportSpotMonthDetailRsp:
  2218. properties:
  2219. areauserid:
  2220. description: 所属机构T
  2221. type: integer
  2222. enumdicname:
  2223. description: 现货商品单位名称
  2224. type: string
  2225. reckondate:
  2226. description: 日照时期(yyyyMMdd)
  2227. type: string
  2228. todaybuyreckonqty:
  2229. description: 采购确定量
  2230. type: number
  2231. todaysellreckonqty:
  2232. description: 销售确定量
  2233. type: number
  2234. totalbuypricedqty:
  2235. description: 采购定价量 = 期末 - 期初
  2236. type: number
  2237. totalsellpricedqty:
  2238. description: 销售定价量 = 期末 - 期初
  2239. type: number
  2240. wrstandardcode:
  2241. description: 现货商品代码
  2242. type: string
  2243. wrstandardid:
  2244. description: 现货商品ID
  2245. type: integer
  2246. wrstandardname:
  2247. description: 现货商品名称
  2248. type: string
  2249. type: object
  2250. ermcp.QrySpotContractRsp:
  2251. properties:
  2252. amount:
  2253. description: 金额 [1:一口价、3:暂定价]
  2254. type: number
  2255. attachment:
  2256. description: 附件
  2257. type: string
  2258. auditremark:
  2259. description: 审核意见
  2260. type: string
  2261. audittime:
  2262. description: 审核时间
  2263. type: string
  2264. brandname:
  2265. description: 品牌名称
  2266. type: string
  2267. buyuserid:
  2268. description: 采购方ID
  2269. type: integer
  2270. buyusername:
  2271. description: 采购方名称
  2272. type: string
  2273. contracctstatus:
  2274. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2275. type: integer
  2276. contractmargin:
  2277. description: 合同保证金
  2278. type: number
  2279. contractno:
  2280. description: 现货合同编号
  2281. type: string
  2282. contracttype:
  2283. description: 现货合同类型 - 1:采购 -1:销售
  2284. type: integer
  2285. convertfactor:
  2286. description: 标仓系数
  2287. type: number
  2288. createtime:
  2289. description: 创建时间
  2290. type: string
  2291. deliveryenddate:
  2292. description: 交收期(结束)
  2293. type: string
  2294. deliverygoodscode:
  2295. description: 现货品种代码
  2296. type: string
  2297. deliverygoodsid:
  2298. description: 现货品种ID
  2299. type: integer
  2300. deliverygoodsname:
  2301. description: 现货品种名称
  2302. type: string
  2303. deliverystartdate:
  2304. description: 交收期(开始)
  2305. type: string
  2306. enddate:
  2307. description: 点价结束日期 [2:点价 3:暂定价]
  2308. type: string
  2309. enumdicname:
  2310. description: 单位名称
  2311. type: string
  2312. goodscode:
  2313. description: 点价合约代码
  2314. type: string
  2315. goodsid:
  2316. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2317. type: integer
  2318. goodsname:
  2319. description: 点价商品名称
  2320. type: string
  2321. margin:
  2322. description: 当前保证金
  2323. type: number
  2324. modelname:
  2325. description: 型号名称
  2326. type: string
  2327. price:
  2328. description: 价格\暂定价 [1:一口价、3:暂定价]
  2329. type: number
  2330. pricemove:
  2331. description: 升贴水 [2:点价 3:暂定价]
  2332. type: number
  2333. pricetype:
  2334. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2335. type: integer
  2336. producttype:
  2337. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2338. type: integer
  2339. qty:
  2340. description: 数量
  2341. type: number
  2342. remark:
  2343. description: 备注
  2344. type: string
  2345. selluserid:
  2346. description: 销售方ID
  2347. type: integer
  2348. sellusername:
  2349. description: 销售方名称
  2350. type: string
  2351. spotcontractid:
  2352. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2353. type: string
  2354. spotgoodsbrandid:
  2355. description: 现货品牌ID
  2356. type: integer
  2357. spotgoodsdesc:
  2358. description: 商品型号
  2359. type: string
  2360. spotgoodsmodelid:
  2361. description: 现货型号ID
  2362. type: integer
  2363. startdate:
  2364. description: 点价开始日期 [2:点价 3:暂定价]
  2365. type: string
  2366. userid:
  2367. description: 机构ID
  2368. type: integer
  2369. wrstandardid:
  2370. description: 现货商品ID
  2371. type: integer
  2372. type: object
  2373. ermcp.QryUserInfoRsp:
  2374. properties:
  2375. address:
  2376. description: 通讯地址
  2377. type: string
  2378. attachment1:
  2379. description: 附件1
  2380. type: string
  2381. cardfrontphotourl:
  2382. description: 证件正面图片地址
  2383. type: string
  2384. cardnum:
  2385. description: 证件号码
  2386. type: string
  2387. cardtype:
  2388. description: 证件类型
  2389. type: integer
  2390. cardtypename:
  2391. description: 证件类型名称
  2392. type: string
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. countryid:
  2397. description: 国家
  2398. type: integer
  2399. createtime:
  2400. description: 创建时间
  2401. type: string
  2402. customername:
  2403. description: 企业名称
  2404. type: string
  2405. memberuserid:
  2406. description: 所属机构ID
  2407. type: integer
  2408. mobile:
  2409. description: 手机号码
  2410. type: string
  2411. provinceid:
  2412. description: 省
  2413. type: integer
  2414. remark:
  2415. description: 备注
  2416. type: string
  2417. status:
  2418. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2419. type: integer
  2420. statusdesc:
  2421. description: 账户状态中文描述
  2422. type: string
  2423. telphone:
  2424. description: 联系电话
  2425. type: string
  2426. userid:
  2427. description: 用户ID
  2428. type: integer
  2429. userinfotype:
  2430. description: 客户类型
  2431. type: string
  2432. type: object
  2433. ermcp.QryWrStandardDetailRsp:
  2434. properties:
  2435. gbList:
  2436. description: 品牌列表
  2437. items:
  2438. $ref: '#/definitions/models.GoodsBrand'
  2439. type: array
  2440. gtList:
  2441. description: 型号列表
  2442. items:
  2443. $ref: '#/definitions/models.GoodsTypeModel'
  2444. type: array
  2445. wrd:
  2446. $ref: '#/definitions/models.ErmcpWrstandard'
  2447. description: 基本信息
  2448. wrsList:
  2449. description: 套保信息列表
  2450. items:
  2451. $ref: '#/definitions/models.WRSConverTDetail'
  2452. type: array
  2453. type: object
  2454. ermcp.QryWrStandardRsp:
  2455. properties:
  2456. areauserid:
  2457. description: 所属机构
  2458. type: integer
  2459. createtime:
  2460. description: 创建时间
  2461. type: string
  2462. creatorid:
  2463. description: 创建人
  2464. type: integer
  2465. deliverygoodsid:
  2466. description: 品种ID
  2467. type: integer
  2468. enumdicname:
  2469. description: 单位名称
  2470. type: string
  2471. isvalid:
  2472. description: 是否有效 0-无效(停用) 1-有效(正常)
  2473. type: integer
  2474. minivalue:
  2475. description: 最小变动值
  2476. type: integer
  2477. minivaluedp:
  2478. description: 最小变动值小数位
  2479. type: integer
  2480. realminivalue:
  2481. description: 实际最小变动值
  2482. type: integer
  2483. realminivaluedp:
  2484. description: 实际最小变动值小数位
  2485. type: integer
  2486. remark:
  2487. description: 备注
  2488. type: string
  2489. unitid:
  2490. description: 单位ID
  2491. type: integer
  2492. updatetime:
  2493. description: 更新时间
  2494. type: string
  2495. wrstandardcode:
  2496. description: 现货商品代码
  2497. type: string
  2498. wrstandardid:
  2499. description: 现货商品ID(SEQ_WRSTANDARD)
  2500. type: integer
  2501. wrstandardname:
  2502. description: 现货商品名称
  2503. type: string
  2504. type: object
  2505. ermcp.QueryErmcpTradePositionRsp:
  2506. properties:
  2507. agreeunit:
  2508. description: 合约单位
  2509. type: number
  2510. buyorsell:
  2511. description: 方向 - 0:买 1:卖
  2512. type: integer
  2513. curpositionqty:
  2514. description: 持仓(总仓数量, 期末头寸)
  2515. type: integer
  2516. curtdposition:
  2517. description: 今仓数量(期末今日头寸)
  2518. type: integer
  2519. curtdpositionenabled:
  2520. description: 今仓可用
  2521. type: integer
  2522. decimalplace:
  2523. description: 报价小数位
  2524. type: integer
  2525. enableqty:
  2526. description: 可用(总仓可用)
  2527. type: integer
  2528. exexchangename:
  2529. description: 外部交易所名称
  2530. type: string
  2531. goodscode:
  2532. description: 商品代码(内部)
  2533. type: string
  2534. goodsid:
  2535. description: 商品ID(自增ID SEQ_GOODS)
  2536. type: integer
  2537. goodsname:
  2538. description: 商品名称
  2539. type: string
  2540. last:
  2541. description: 现价
  2542. type: number
  2543. marketid:
  2544. description: 所属市场ID
  2545. type: integer
  2546. openaverageprice:
  2547. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2548. type: number
  2549. opencost:
  2550. description: 开仓成本
  2551. type: number
  2552. openpl:
  2553. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2554. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2555. type: number
  2556. outgoodscode:
  2557. description: 商品代码(外部)
  2558. type: string
  2559. positionaverageprice:
  2560. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2561. type: number
  2562. positioncost:
  2563. description: 持仓成本
  2564. type: number
  2565. positionpl:
  2566. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2567. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2568. type: number
  2569. positionplrate:
  2570. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2571. type: number
  2572. usedmargin:
  2573. description: 占用保证金
  2574. type: number
  2575. type: object
  2576. ermcp.RealtimeExposurePositionRsp:
  2577. properties:
  2578. agreeunit:
  2579. description: 合约单位
  2580. type: string
  2581. areauserid:
  2582. description: 所属机构id
  2583. type: integer
  2584. convertratio:
  2585. description: 期货品种系数(折算系数)
  2586. type: number
  2587. curqty:
  2588. description: 当前持仓
  2589. type: integer
  2590. diffhedgeqty:
  2591. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2592. type: number
  2593. diffqty:
  2594. description: 持仓变动量=当前持仓-昨日持仓
  2595. type: integer
  2596. goodscode:
  2597. description: 商品代码
  2598. type: string
  2599. goodsid:
  2600. description: 商品id
  2601. type: integer
  2602. goodsname:
  2603. description: 商品名称
  2604. type: string
  2605. middlegoodsid:
  2606. description: 套保商品id
  2607. type: integer
  2608. ydqty:
  2609. description: 昨日持仓
  2610. type: integer
  2611. type: object
  2612. ermcp.RealtimeExposureRsp:
  2613. properties:
  2614. areaUserID:
  2615. description: 所属机构
  2616. type: integer
  2617. buyFutureQty:
  2618. description: 买入期货数量
  2619. type: number
  2620. buyPlanQty:
  2621. description: 采购计划数量
  2622. type: number
  2623. buyPricedQty:
  2624. description: 采购合同已定价数量
  2625. type: number
  2626. diffFutuQty:
  2627. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2628. type: number
  2629. diffSpotQty:
  2630. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2631. type: number
  2632. enumdicname:
  2633. description: 单位名称
  2634. type: string
  2635. middleGoodsCode:
  2636. description: 套保品种代码
  2637. type: string
  2638. middleGoodsHedgeRatio:
  2639. description: 应套保比例
  2640. type: number
  2641. middleGoodsID:
  2642. description: 套保品种
  2643. type: integer
  2644. middleGoodsName:
  2645. description: 套保品种名称
  2646. type: string
  2647. needHedgeExposoure:
  2648. description: 应套保敞口
  2649. type: number
  2650. needHedgeRatio:
  2651. description: 应套保敞口比例
  2652. type: number
  2653. oriBuyFutureQty:
  2654. description: 期初买入期货数量
  2655. type: number
  2656. oriBuyPlanQty:
  2657. description: 期初采购计划数量
  2658. type: number
  2659. oriBuyPricedQty:
  2660. description: 期初采购合同已定价数量
  2661. type: number
  2662. oriSellFutureQty:
  2663. description: 期初卖出期货数量
  2664. type: number
  2665. oriSellPlanQty:
  2666. description: 期初销售计划数量
  2667. type: number
  2668. oriSellPricedQty:
  2669. description: 期初销售合同已定价数量
  2670. type: number
  2671. oriTotalFutuQty:
  2672. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2673. type: number
  2674. oriTotalSpotQty:
  2675. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2676. type: number
  2677. sellFutureQty:
  2678. description: 卖出期货数量
  2679. type: number
  2680. sellPlanQty:
  2681. description: 销售计划数量
  2682. type: number
  2683. sellPricedQty:
  2684. description: 销售合同已定价数量
  2685. type: number
  2686. totalExposure:
  2687. description: 总敞口
  2688. type: number
  2689. totalFutureQty:
  2690. description: 期货数量
  2691. type: number
  2692. totalHedgeRatio:
  2693. description: 敞口比例
  2694. type: number
  2695. totalNeedHedgeQty:
  2696. description: 期货应套保量
  2697. type: number
  2698. totalSpotQty:
  2699. description: 现货数量
  2700. type: number
  2701. type: object
  2702. erms2.QueryArbitrageStrategyRsp:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. asapplyid:
  2708. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2709. type: string
  2710. asname:
  2711. description: 策略名称
  2712. type: string
  2713. asno:
  2714. description: 策略编号
  2715. type: string
  2716. basischangepl:
  2717. description: 基差变动损益[结算更新]
  2718. type: number
  2719. biztype:
  2720. description: 业务类型 - 1:正向套利 -1:反向套利
  2721. type: integer
  2722. closetradedate:
  2723. description: 完结交易日(yyyyMMdd)
  2724. type: string
  2725. curbasis:
  2726. description: 当前基差[结算更新]
  2727. type: number
  2728. deliverygoodsid:
  2729. description: 现货品种ID
  2730. type: integer
  2731. futureavgprice:
  2732. description: 期货建仓均价
  2733. type: number
  2734. futurecloseamount:
  2735. description: 期货平仓金额
  2736. type: number
  2737. futurecloseqty:
  2738. description: 期货平仓数量
  2739. type: number
  2740. futureopenamount:
  2741. description: 期货开仓金额
  2742. type: number
  2743. futureopenqty:
  2744. description: 期货开仓数量
  2745. type: number
  2746. futurepl:
  2747. description: 期货总盈亏[结算更新]
  2748. type: number
  2749. futureqty:
  2750. description: 期货持仓数量
  2751. type: number
  2752. futurequote:
  2753. description: 期货额度
  2754. type: number
  2755. goodsgroupid:
  2756. description: 期货品种ID
  2757. type: integer
  2758. marketid:
  2759. description: 市场ID
  2760. type: integer
  2761. netexposure:
  2762. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2763. type: number
  2764. netexposurepl:
  2765. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2766. type: number
  2767. netexposurerate:
  2768. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2769. type: number
  2770. openbasis:
  2771. description: 建仓基差
  2772. type: number
  2773. pricedspotqty:
  2774. description: 已定价现货数量
  2775. type: number
  2776. pricedspotqtynotax:
  2777. description: 已定价现货不含税数量
  2778. type: number
  2779. remark:
  2780. description: 备注
  2781. type: string
  2782. spotavgprice:
  2783. description: 现货均价
  2784. type: number
  2785. spotbuyamount:
  2786. description: 现货采购金额
  2787. type: number
  2788. spotbuyqty:
  2789. description: 现货采购数量
  2790. type: number
  2791. spotpl:
  2792. description: 现货总盈亏[结算更新]
  2793. type: number
  2794. spotquota:
  2795. description: 现货额度
  2796. type: number
  2797. spotsellamount:
  2798. description: 现货销售金额
  2799. type: number
  2800. spotsellqty:
  2801. description: 现货销售数量
  2802. type: number
  2803. spotusedquota:
  2804. description: 现货占用资金
  2805. type: number
  2806. strategystatus:
  2807. description: 策略状态 - 0:未结束 1:已结束
  2808. type: integer
  2809. totalpl:
  2810. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2811. type: number
  2812. tradedate:
  2813. description: 交易日(yyyyMMdd)
  2814. type: string
  2815. updatetime:
  2816. description: 更新时间
  2817. type: string
  2818. usedquota:
  2819. description: 已占用资金
  2820. type: number
  2821. userid:
  2822. description: 所属机构
  2823. type: integer
  2824. required:
  2825. - asapplyid
  2826. type: object
  2827. erms2.QueryInnerTradeDetailRsp:
  2828. properties:
  2829. accountid:
  2830. description: 账号ID
  2831. type: integer
  2832. agreeunit:
  2833. description: 合约单位
  2834. type: number
  2835. asapplyid:
  2836. description: 策略申请ID
  2837. type: integer
  2838. asname:
  2839. description: 策略名称
  2840. type: string
  2841. asno:
  2842. description: 策略编号
  2843. type: string
  2844. buyorsell:
  2845. description: 方向 - 0:买 1:卖
  2846. type: integer
  2847. channelbuildtype:
  2848. description: 委托单据类型 0:无 1:建仓 2:平仓
  2849. type: integer
  2850. closetype:
  2851. description: 平仓方式 - 0:无 1:平今 2:平昨
  2852. type: integer
  2853. decimalplace:
  2854. description: 报价小数位
  2855. type: integer
  2856. detailtype:
  2857. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2858. type: integer
  2859. exexchangecode:
  2860. description: 外部交易所代码
  2861. type: string
  2862. exexchangename:
  2863. description: 外部交易所名称
  2864. type: string
  2865. goodscode:
  2866. description: 商品代码(合约)
  2867. type: string
  2868. goodsgroupid:
  2869. description: 商品组ID(品种ID)
  2870. type: integer
  2871. goodsgroupname:
  2872. description: 商品组名称(品种)
  2873. type: string
  2874. goodsid:
  2875. description: 商品ID
  2876. type: integer
  2877. goodsname:
  2878. description: 商品名称(合约)
  2879. type: string
  2880. goodunit:
  2881. description: 报价单位
  2882. type: string
  2883. marketid:
  2884. description: 市场ID
  2885. type: integer
  2886. orderid:
  2887. description: 委托单号
  2888. type: string
  2889. outgoodscode:
  2890. description: 商品代码(外部)
  2891. type: string
  2892. relatedouttradeid:
  2893. description: 关联外部成交单ID
  2894. type: string
  2895. remark:
  2896. description: 备注
  2897. type: string
  2898. spotcontractid:
  2899. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2900. type: integer
  2901. spotcontractno:
  2902. description: 现货合同编号
  2903. type: string
  2904. tradeid:
  2905. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2906. type: string
  2907. tradeprice:
  2908. description: 成交价格
  2909. type: number
  2910. tradeqty:
  2911. description: 成交数量
  2912. type: integer
  2913. tradetime:
  2914. description: 成交时间
  2915. type: string
  2916. updatetime:
  2917. description: 更新时间
  2918. type: string
  2919. required:
  2920. - asapplyid
  2921. - buyorsell
  2922. - goodscode
  2923. - goodsgroupid
  2924. - goodsgroupname
  2925. - goodsname
  2926. - tradeid
  2927. type: object
  2928. erms2.QuerySpotContractRsp:
  2929. properties:
  2930. accountid:
  2931. description: 资金账户ID
  2932. type: integer
  2933. areauserid:
  2934. description: 所属机构
  2935. type: integer
  2936. closedate:
  2937. description: 终止日期
  2938. type: string
  2939. closeremark:
  2940. description: 结束备注
  2941. type: string
  2942. closetradedate:
  2943. description: 完结交易日(yyyyMMdd)
  2944. type: string
  2945. closetype:
  2946. description: 终止类型 - 1:违约 2:提前终止
  2947. type: integer
  2948. contractamount:
  2949. description: 合同金额
  2950. type: number
  2951. contractattachment:
  2952. description: 合同附件
  2953. type: string
  2954. contractno:
  2955. description: 现货合同编号
  2956. type: string
  2957. contractqty:
  2958. description: 合同数量(数值) (用于计算)
  2959. type: number
  2960. contractqtychar:
  2961. description: 合同数量\已订价数量 (用于显示)
  2962. type: string
  2963. contractstatus:
  2964. description: 合同状态 - 0:未结束 1:已结束
  2965. type: integer
  2966. contracttype:
  2967. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2968. type: integer
  2969. customeraccountid:
  2970. description: 客户资金账户ID
  2971. type: integer
  2972. customeruserid:
  2973. description: 客户ID
  2974. type: integer
  2975. deliverygoodsdesc:
  2976. description: 品种说明
  2977. type: string
  2978. deliverygoodsid:
  2979. description: 现货品种ID
  2980. type: integer
  2981. handlestatus:
  2982. description: 处理状态
  2983. type: integer
  2984. invoiceatt:
  2985. description: 发票附件
  2986. type: string
  2987. invoicedatetime:
  2988. description: 开收票更新时间
  2989. type: string
  2990. invoiceopentime:
  2991. description: 开票时间
  2992. type: string
  2993. invoiceremark:
  2994. description: 发票备注
  2995. type: string
  2996. invoicestatus:
  2997. description: 开收票状态 - 0:未开票 1:已开票
  2998. type: integer
  2999. lastdate:
  3000. description: 交货时间
  3001. type: string
  3002. marketid:
  3003. description: 市场ID
  3004. type: integer
  3005. paydatetime:
  3006. description: 收付款更新时间
  3007. type: string
  3008. payremark:
  3009. description: 收付款备注
  3010. type: string
  3011. paystatus:
  3012. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3013. type: integer
  3014. positionqty:
  3015. description: 头寸数量 - 合同数量去小数部分
  3016. type: integer
  3017. producttype:
  3018. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3019. type: integer
  3020. relatedqty:
  3021. description: 已关联数量
  3022. type: number
  3023. relatedstatus:
  3024. description: 关联完结状态 - 0:未结束 1:已结束
  3025. type: integer
  3026. remark:
  3027. description: 备注
  3028. type: string
  3029. signdate:
  3030. description: 签订日期
  3031. type: string
  3032. spotcontractid:
  3033. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3034. type: string
  3035. spotdatetime:
  3036. description: 收发货更新时间
  3037. type: string
  3038. spotprice:
  3039. description: 价格
  3040. type: number
  3041. spotremark:
  3042. description: 收发货备注
  3043. type: string
  3044. spotstatus:
  3045. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3046. type: integer
  3047. tradedate:
  3048. description: 交易日(yyyyMMdd)
  3049. type: string
  3050. userid:
  3051. description: 业务员用户ID
  3052. type: integer
  3053. warehouseid:
  3054. description: 仓库ID
  3055. type: integer
  3056. wrfactortypeid:
  3057. description: 仓单要素类型ID
  3058. type: integer
  3059. wrstandardid:
  3060. description: 仓单标准ID(SEQ_WRSTANDARD)
  3061. type: integer
  3062. required:
  3063. - spotcontractid
  3064. type: object
  3065. erms3.AddErms2ASApplyReq:
  3066. properties:
  3067. applybasis:
  3068. description: 申请基差
  3069. type: number
  3070. applystatus:
  3071. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3072. type: integer
  3073. asapplyid:
  3074. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3075. type: integer
  3076. asname:
  3077. description: 策略名称
  3078. type: string
  3079. asno:
  3080. description: 策略编号
  3081. type: string
  3082. auditid:
  3083. description: 审核人
  3084. type: integer
  3085. auditremark:
  3086. description: 审核备注
  3087. type: string
  3088. audittime:
  3089. description: 审核时间
  3090. type: string
  3091. biztype:
  3092. description: 业务类型 - 1:正向套利 2:反向套利
  3093. type: integer
  3094. createtime:
  3095. description: 创建时间
  3096. type: string
  3097. creatorid:
  3098. description: 创建人
  3099. type: integer
  3100. deliverygoodsid:
  3101. description: 现货品种ID
  3102. type: integer
  3103. futurequote:
  3104. description: 期货额度
  3105. type: number
  3106. goodsgroupid:
  3107. description: 期货品种ID
  3108. type: integer
  3109. marketid:
  3110. description: 市场ID
  3111. type: integer
  3112. remark:
  3113. description: 备注
  3114. type: string
  3115. spotquota:
  3116. description: 现货额度
  3117. type: number
  3118. tradedate:
  3119. description: 交易日(yyyyMMdd)
  3120. type: string
  3121. userid:
  3122. description: 所属机构
  3123. type: integer
  3124. required:
  3125. - asapplyid
  3126. type: object
  3127. erms3.AddErms2SpotTradeApplyReq:
  3128. properties:
  3129. applyjsondetail:
  3130. description: 申请明细(JSON)
  3131. type: string
  3132. applystatus:
  3133. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3134. type: integer
  3135. areauserid:
  3136. description: 所属机构
  3137. type: integer
  3138. auditid:
  3139. description: 审核人
  3140. type: integer
  3141. auditremark:
  3142. description: 审核备注
  3143. type: string
  3144. audittime:
  3145. description: 审核时间
  3146. type: string
  3147. createtime:
  3148. description: 创建时间
  3149. type: string
  3150. creatorid:
  3151. description: 创建人
  3152. type: integer
  3153. deliverygoodsid:
  3154. description: 现货品种ID
  3155. type: integer
  3156. futureaccountid:
  3157. description: 期货资金账户
  3158. type: integer
  3159. goodsgroupid:
  3160. description: 期货品种
  3161. type: integer
  3162. marketid:
  3163. description: 市场ID
  3164. type: integer
  3165. remark:
  3166. description: 备注
  3167. type: string
  3168. spotaccountid:
  3169. description: 现货资金账户
  3170. type: integer
  3171. spottradeid:
  3172. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3173. type: integer
  3174. spottradename:
  3175. description: 业务名称
  3176. type: string
  3177. spottradeno:
  3178. description: 业务编号
  3179. type: string
  3180. tradedate:
  3181. description: 交易日(yyyyMMdd)
  3182. type: string
  3183. wrstandardid:
  3184. description: 仓单标准ID
  3185. type: integer
  3186. required:
  3187. - spottradeid
  3188. type: object
  3189. erms3.AddSpotContractApplyReq:
  3190. properties:
  3191. accountid:
  3192. description: 资金账户ID
  3193. type: integer
  3194. areauserid:
  3195. description: 所属机构
  3196. type: integer
  3197. contractattachment:
  3198. description: 合同附件
  3199. type: string
  3200. contractno:
  3201. description: 现货合同编号
  3202. type: string
  3203. contracttype:
  3204. description: 现货合同类型 - 1:采购 -1:销售
  3205. type: integer
  3206. creatorid:
  3207. description: 申请人
  3208. type: integer
  3209. customeraccountid:
  3210. description: 客户资金账户ID
  3211. type: integer
  3212. customeruserid:
  3213. description: 客户ID
  3214. type: integer
  3215. details:
  3216. description: 明细
  3217. items:
  3218. $ref: '#/definitions/erms3.SoptContractDetail'
  3219. type: array
  3220. orimargin:
  3221. description: 初始保证金
  3222. type: number
  3223. remark:
  3224. description: 备注
  3225. type: string
  3226. signdate:
  3227. description: 签订日期
  3228. type: string
  3229. required:
  3230. - accountid
  3231. - areauserid
  3232. - contractno
  3233. - contracttype
  3234. - customeraccountid
  3235. - customeruserid
  3236. - details
  3237. - orimargin
  3238. - signdate
  3239. type: object
  3240. erms3.AddSpotContractApplyRsp:
  3241. properties:
  3242. contractno:
  3243. description: 现货合同编号
  3244. type: string
  3245. spotcontractid:
  3246. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3247. type: integer
  3248. required:
  3249. - contractno
  3250. type: object
  3251. erms3.AddUserInfoApplyReq:
  3252. properties:
  3253. accountid:
  3254. description: 交易系统帐号Id (加密存储)
  3255. type: integer
  3256. areacode:
  3257. description: 机构代码
  3258. type: string
  3259. areaid:
  3260. description: 机构Id
  3261. type: integer
  3262. attachment1:
  3263. description: 附件1
  3264. type: string
  3265. attachment2:
  3266. description: 附件2
  3267. type: string
  3268. attachment3:
  3269. description: 附件3
  3270. type: string
  3271. attachment4:
  3272. description: 附件4
  3273. type: string
  3274. attachment5:
  3275. description: 附件5
  3276. type: string
  3277. auditedby:
  3278. description: 审核人
  3279. type: string
  3280. auditime:
  3281. description: 审核时间
  3282. type: string
  3283. bankaccount:
  3284. description: 银行帐号 (加密存储)
  3285. type: string
  3286. bankaccountname:
  3287. description: 收款人名称
  3288. type: string
  3289. bankcardbackphotourl:
  3290. description: 银行卡背面照地址
  3291. type: string
  3292. bankcardfrontphotourl:
  3293. description: 银行卡正面照地址
  3294. type: string
  3295. bankid:
  3296. description: 银行编码
  3297. type: string
  3298. bankname:
  3299. description: 银行名称
  3300. type: string
  3301. bankpictureurl:
  3302. description: 银行卡正面地址
  3303. type: string
  3304. biznature:
  3305. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3306. type: integer
  3307. bizscope:
  3308. description: 企业经营范围(企业)
  3309. type: string
  3310. biztype:
  3311. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3312. type: integer
  3313. brokerid:
  3314. description: 经纪人ID(加密存储)
  3315. type: string
  3316. cardaddress:
  3317. description: 证件地址 (加密存储)
  3318. type: string
  3319. cardbackphotourl:
  3320. description: 背面证件照地址
  3321. type: string
  3322. cardfrontphotourl:
  3323. description: 正面证件照地址
  3324. type: string
  3325. cardnum:
  3326. description: 证件号码 (加密存储)
  3327. type: string
  3328. cardtype:
  3329. description: 证件类型
  3330. type: integer
  3331. cityid:
  3332. description: 市
  3333. type: integer
  3334. company:
  3335. description: 公司(个人)
  3336. type: string
  3337. contactcardbackphotourl:
  3338. description: 联系人证件背面图片地址
  3339. type: string
  3340. contactcardfrontphotourl:
  3341. description: 联系人证件正面图片地址
  3342. type: string
  3343. contactname:
  3344. description: 联系人
  3345. type: string
  3346. countryid:
  3347. description: 国家
  3348. type: integer
  3349. createtime:
  3350. description: 开户申请时间
  3351. type: string
  3352. cusbankid:
  3353. description: 签约类型
  3354. type: string
  3355. cusbankname:
  3356. description: 签约类型名称
  3357. type: string
  3358. customername:
  3359. description: 客户名称(企业名称)
  3360. type: string
  3361. districtid:
  3362. description: 地区
  3363. type: integer
  3364. email:
  3365. description: Email地址(加密存储)
  3366. type: string
  3367. halfbodyphotourl:
  3368. description: 半身照地址
  3369. type: string
  3370. headurl:
  3371. description: 头像地址
  3372. type: string
  3373. ipaddress:
  3374. description: IP地址
  3375. type: string
  3376. isvalidate:
  3377. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3378. type: string
  3379. legalcardbackphotourl:
  3380. description: 法人身份证背面照地址
  3381. type: string
  3382. legalcardfrontphotourl:
  3383. description: 法人身份证正面照地址
  3384. type: string
  3385. legalpersonname:
  3386. description: 法人姓名(企业)
  3387. type: string
  3388. logincode:
  3389. description: 登录帐号 (加密存储)
  3390. type: string
  3391. memberareaid:
  3392. description: 所属会员ID
  3393. type: integer
  3394. mobile2:
  3395. description: 手机号码[明文-尚志]
  3396. type: string
  3397. mobilephone:
  3398. description: 手机号码 (加密存储)
  3399. type: string
  3400. modifiedby:
  3401. description: 修改人帐号
  3402. type: integer
  3403. modifiedtime:
  3404. description: 修改时间
  3405. type: string
  3406. nickname:
  3407. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3408. type: string
  3409. openmode:
  3410. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3411. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3412. type: integer
  3413. otherurl:
  3414. description: 其它图片地址[使用分号分隔]
  3415. type: string
  3416. postalcode:
  3417. description: 邮政编码
  3418. type: string
  3419. provinceid:
  3420. description: 省
  3421. type: integer
  3422. proxystatementurl:
  3423. description: 授权委托书
  3424. type: string
  3425. qq:
  3426. description: QQ(加密存储
  3427. type: string
  3428. referral:
  3429. description: 推荐人编码
  3430. type: string
  3431. remark:
  3432. description: 备注
  3433. type: string
  3434. removebeforestatus:
  3435. description: REMOVEBEFORESTATUS
  3436. type: integer
  3437. sex:
  3438. description: 性别 - 0:女 1:男
  3439. type: integer
  3440. signedstatus:
  3441. description: 账户一号签签约状态
  3442. type: integer
  3443. signpdfurl:
  3444. description: 签约pdf文件
  3445. type: string
  3446. subbranch:
  3447. description: 开户支行
  3448. type: string
  3449. telphone:
  3450. description: 联系电话(加密存储)
  3451. type: string
  3452. userid:
  3453. description: 用户ID(自增ID)
  3454. type: integer
  3455. userinfotype:
  3456. description: 用户信息类型 - 1:个人 2:企业
  3457. type: integer
  3458. username:
  3459. description: 用户姓名
  3460. type: string
  3461. userstate:
  3462. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3463. type: integer
  3464. usertype:
  3465. description: 用户类型 - 1:投资者 2:机构
  3466. type: integer
  3467. videourl:
  3468. description: 视频地址
  3469. type: string
  3470. wechat:
  3471. description: 微信号 (加密存储)
  3472. type: string
  3473. required:
  3474. - userid
  3475. type: object
  3476. erms3.CustomerInfo:
  3477. properties:
  3478. accountids:
  3479. description: 资金账户ID列表
  3480. items:
  3481. type: integer
  3482. type: array
  3483. customername:
  3484. description: 名称(企业名称)
  3485. type: string
  3486. mobile:
  3487. description: 手机号码
  3488. type: string
  3489. userid:
  3490. description: 用户ID
  3491. type: integer
  3492. required:
  3493. - userid
  3494. type: object
  3495. erms3.ModifyUserInfoApplyReq:
  3496. properties:
  3497. accountid:
  3498. description: 交易系统帐号Id (加密存储)
  3499. type: integer
  3500. areacode:
  3501. description: 机构代码
  3502. type: string
  3503. areaid:
  3504. description: 机构Id
  3505. type: integer
  3506. attachment1:
  3507. description: 附件1
  3508. type: string
  3509. attachment2:
  3510. description: 附件2
  3511. type: string
  3512. attachment3:
  3513. description: 附件3
  3514. type: string
  3515. attachment4:
  3516. description: 附件4
  3517. type: string
  3518. attachment5:
  3519. description: 附件5
  3520. type: string
  3521. auditedby:
  3522. description: 审核人
  3523. type: string
  3524. auditime:
  3525. description: 审核时间
  3526. type: string
  3527. bankaccount:
  3528. description: 银行帐号 (加密存储)
  3529. type: string
  3530. bankaccountname:
  3531. description: 收款人名称
  3532. type: string
  3533. bankcardbackphotourl:
  3534. description: 银行卡背面照地址
  3535. type: string
  3536. bankcardfrontphotourl:
  3537. description: 银行卡正面照地址
  3538. type: string
  3539. bankid:
  3540. description: 银行编码
  3541. type: string
  3542. bankname:
  3543. description: 银行名称
  3544. type: string
  3545. bankpictureurl:
  3546. description: 银行卡正面地址
  3547. type: string
  3548. biznature:
  3549. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3550. type: integer
  3551. bizscope:
  3552. description: 企业经营范围(企业)
  3553. type: string
  3554. biztype:
  3555. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3556. type: integer
  3557. brokerid:
  3558. description: 经纪人ID(加密存储)
  3559. type: string
  3560. cardaddress:
  3561. description: 证件地址 (加密存储)
  3562. type: string
  3563. cardbackphotourl:
  3564. description: 背面证件照地址
  3565. type: string
  3566. cardfrontphotourl:
  3567. description: 正面证件照地址
  3568. type: string
  3569. cardnum:
  3570. description: 证件号码 (加密存储)
  3571. type: string
  3572. cardtype:
  3573. description: 证件类型
  3574. type: integer
  3575. cityid:
  3576. description: 市
  3577. type: integer
  3578. company:
  3579. description: 公司(个人)
  3580. type: string
  3581. contactcardbackphotourl:
  3582. description: 联系人证件背面图片地址
  3583. type: string
  3584. contactcardfrontphotourl:
  3585. description: 联系人证件正面图片地址
  3586. type: string
  3587. contactname:
  3588. description: 联系人
  3589. type: string
  3590. countryid:
  3591. description: 国家
  3592. type: integer
  3593. createtime:
  3594. description: 开户申请时间
  3595. type: string
  3596. cusbankid:
  3597. description: 签约类型
  3598. type: string
  3599. cusbankname:
  3600. description: 签约类型名称
  3601. type: string
  3602. customername:
  3603. description: 客户名称(企业名称)
  3604. type: string
  3605. districtid:
  3606. description: 地区
  3607. type: integer
  3608. email:
  3609. description: Email地址(加密存储)
  3610. type: string
  3611. halfbodyphotourl:
  3612. description: 半身照地址
  3613. type: string
  3614. headurl:
  3615. description: 头像地址
  3616. type: string
  3617. ipaddress:
  3618. description: IP地址
  3619. type: string
  3620. isvalidate:
  3621. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3622. type: string
  3623. legalcardbackphotourl:
  3624. description: 法人身份证背面照地址
  3625. type: string
  3626. legalcardfrontphotourl:
  3627. description: 法人身份证正面照地址
  3628. type: string
  3629. legalpersonname:
  3630. description: 法人姓名(企业)
  3631. type: string
  3632. logincode:
  3633. description: 登录帐号 (加密存储)
  3634. type: string
  3635. memberareaid:
  3636. description: 所属会员ID
  3637. type: integer
  3638. mobile2:
  3639. description: 手机号码[明文-尚志]
  3640. type: string
  3641. mobilephone:
  3642. description: 手机号码 (加密存储)
  3643. type: string
  3644. modifiedby:
  3645. description: 修改人帐号
  3646. type: integer
  3647. modifiedtime:
  3648. description: 修改时间
  3649. type: string
  3650. nickname:
  3651. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3652. type: string
  3653. openmode:
  3654. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3655. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3656. type: integer
  3657. otherurl:
  3658. description: 其它图片地址[使用分号分隔]
  3659. type: string
  3660. postalcode:
  3661. description: 邮政编码
  3662. type: string
  3663. provinceid:
  3664. description: 省
  3665. type: integer
  3666. proxystatementurl:
  3667. description: 授权委托书
  3668. type: string
  3669. qq:
  3670. description: QQ(加密存储
  3671. type: string
  3672. referral:
  3673. description: 推荐人编码
  3674. type: string
  3675. remark:
  3676. description: 备注
  3677. type: string
  3678. removebeforestatus:
  3679. description: REMOVEBEFORESTATUS
  3680. type: integer
  3681. sex:
  3682. description: 性别 - 0:女 1:男
  3683. type: integer
  3684. signedstatus:
  3685. description: 账户一号签签约状态
  3686. type: integer
  3687. signpdfurl:
  3688. description: 签约pdf文件
  3689. type: string
  3690. subbranch:
  3691. description: 开户支行
  3692. type: string
  3693. telphone:
  3694. description: 联系电话(加密存储)
  3695. type: string
  3696. userid:
  3697. description: 用户ID(自增ID)
  3698. type: integer
  3699. userinfotype:
  3700. description: 用户信息类型 - 1:个人 2:企业
  3701. type: integer
  3702. username:
  3703. description: 用户姓名
  3704. type: string
  3705. userstate:
  3706. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3707. type: integer
  3708. usertype:
  3709. description: 用户类型 - 1:投资者 2:机构
  3710. type: integer
  3711. videourl:
  3712. description: 视频地址
  3713. type: string
  3714. wechat:
  3715. description: 微信号 (加密存储)
  3716. type: string
  3717. required:
  3718. - userid
  3719. type: object
  3720. erms3.QryAuditContractRsp:
  3721. properties:
  3722. accountid:
  3723. description: 交易员ID
  3724. type: string
  3725. applystatus:
  3726. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3727. type: integer
  3728. curdeliveryqty:
  3729. description: 未交收量
  3730. type: integer
  3731. customername:
  3732. description: 采购方ID
  3733. type: string
  3734. deliverygoodsid:
  3735. description: 品种ID
  3736. type: string
  3737. deliveryqty:
  3738. description: 交收量
  3739. type: integer
  3740. enumdicname:
  3741. description: 单位名称
  3742. type: string
  3743. matchaccountid:
  3744. description: 业务员ID
  3745. type: string
  3746. matchcustomername:
  3747. description: 销售方ID
  3748. type: string
  3749. pricedqty:
  3750. description: 定价量
  3751. type: number
  3752. signdate:
  3753. description: 签订日期
  3754. type: string
  3755. spotcontractid:
  3756. description: 合同ID
  3757. type: string
  3758. totaldqty:
  3759. description: 合同量
  3760. type: number
  3761. unpricedqty:
  3762. description: 未定价量
  3763. type: number
  3764. wrstandardname:
  3765. description: 商品名称
  3766. type: string
  3767. required:
  3768. - matchcustomername
  3769. - spotcontractid
  3770. type: object
  3771. erms3.QryPendingBizRsp:
  3772. properties:
  3773. accountid:
  3774. description: 现货账户
  3775. type: string
  3776. areaname:
  3777. description: 所属部门
  3778. type: string
  3779. bizid:
  3780. description: 业务ID
  3781. type: string
  3782. bizname:
  3783. description: 业务名称
  3784. type: string
  3785. status:
  3786. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3787. type: integer
  3788. type:
  3789. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3790. type: integer
  3791. type: object
  3792. erms3.QueryBusinessInfoRsp:
  3793. properties:
  3794. businessid:
  3795. description: 业务ID.
  3796. type: integer
  3797. buyamount:
  3798. description: 采购额.
  3799. type: number
  3800. buyqty:
  3801. description: 采购量.
  3802. type: string
  3803. futurepl:
  3804. description: 期货盈亏.
  3805. type: number
  3806. futureqty:
  3807. description: 期货敞口.
  3808. type: string
  3809. goodsid:
  3810. description: 商品名称/商品代码.
  3811. type: string
  3812. hedgingqty:
  3813. description: 套保量.
  3814. type: string
  3815. sellamount:
  3816. description: 销售额.
  3817. type: number
  3818. sellqty:
  3819. description: 销售量.
  3820. type: string
  3821. spotmarketvalue:
  3822. description: 现货市值.
  3823. type: number
  3824. spotpl:
  3825. description: 浮动权益.
  3826. type: number
  3827. spotqty:
  3828. description: 现货量.
  3829. type: string
  3830. statu:
  3831. description: 状态,0-未结束 1-已结束.
  3832. type: integer
  3833. totalpl:
  3834. description: 总盈亏.
  3835. type: number
  3836. totalqty:
  3837. description: 总敞口.
  3838. type: string
  3839. type:
  3840. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3841. type: integer
  3842. type: object
  3843. erms3.QuerySpotContractAppleFormRsp:
  3844. properties:
  3845. goodses:
  3846. description: 合约列表
  3847. items:
  3848. $ref: '#/definitions/models.GoodsIDAndName'
  3849. type: array
  3850. oppositeusers:
  3851. description: 对方账号列表
  3852. items:
  3853. $ref: '#/definitions/erms3.CustomerInfo'
  3854. type: array
  3855. ouruser:
  3856. $ref: '#/definitions/erms3.CustomerInfo'
  3857. description: 我方账号
  3858. warehouseinfos:
  3859. description: 仓库信息列表
  3860. items:
  3861. $ref: '#/definitions/models.Warehouseinfo'
  3862. type: array
  3863. wrstandards:
  3864. description: 仓单标准列表
  3865. items:
  3866. $ref: '#/definitions/models.WRStandardInfo'
  3867. type: array
  3868. type: object
  3869. erms3.QuerySpotContractInfoRsp:
  3870. properties:
  3871. accountid:
  3872. description: 表示交易员ID.
  3873. type: integer
  3874. curdeliveryqty:
  3875. description: 表示未交收量.
  3876. type: number
  3877. customername:
  3878. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3879. type: string
  3880. deliverygoodsid:
  3881. description: 表示品种ID.
  3882. type: string
  3883. deliveryqty:
  3884. description: 表示交收量.
  3885. type: number
  3886. matchaccountid:
  3887. description: 表示业务员ID.
  3888. type: integer
  3889. matchcustomername:
  3890. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3891. type: string
  3892. priceqty:
  3893. description: 表示定价量.
  3894. type: number
  3895. relatedbizid:
  3896. description: 表示业务ID.
  3897. type: string
  3898. signdate:
  3899. description: 表示签订日期.
  3900. type: string
  3901. spotcontractid:
  3902. description: 合同ID
  3903. type: string
  3904. status:
  3905. description: 表示状态,0-履约中 1-已完成.
  3906. type: integer
  3907. totalqty:
  3908. description: 表示合同量.
  3909. type: number
  3910. unpricedqty:
  3911. description: 表示未定价量.
  3912. type: number
  3913. wrstandardname:
  3914. description: 表示商品ID.
  3915. type: string
  3916. type: object
  3917. erms3.QueryUserInfoAppliesRsp:
  3918. properties:
  3919. biznature:
  3920. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3921. type: integer
  3922. contactname:
  3923. description: 联系人
  3924. type: string
  3925. createtime:
  3926. description: 开户申请时间
  3927. type: string
  3928. userid:
  3929. description: 用户ID(自增ID)
  3930. type: integer
  3931. userinfotype:
  3932. description: 用户信息类型 - 1:个人 2:企业
  3933. type: integer
  3934. username:
  3935. description: 用户姓名
  3936. type: string
  3937. userstate:
  3938. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3939. type: integer
  3940. required:
  3941. - userid
  3942. type: object
  3943. erms3.QueryUserInfosRsp:
  3944. properties:
  3945. biznature:
  3946. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3947. type: integer
  3948. contactname:
  3949. description: 联系人
  3950. type: string
  3951. customername:
  3952. description: 客户名称(企业名称)
  3953. type: string
  3954. userid:
  3955. description: 用户ID
  3956. type: integer
  3957. userinfotype:
  3958. description: 用户信息类型 - 1:个人 2:企业
  3959. type: integer
  3960. userstatus:
  3961. description: 用户状态 - 1:正常 2:注销
  3962. type: integer
  3963. required:
  3964. - userid
  3965. type: object
  3966. erms3.SoptContractDetail:
  3967. properties:
  3968. deliverygoodsdesc:
  3969. description: 现货品种说明
  3970. type: string
  3971. deliverygoodsid:
  3972. description: 现货品种ID
  3973. type: integer
  3974. deliverygoodsname:
  3975. description: 现货品种名称
  3976. type: string
  3977. pointdesc:
  3978. description: 点价描述
  3979. type: string
  3980. producttype:
  3981. description: 产品类型 1:标准仓单 2:等标 3:非标
  3982. type: integer
  3983. producttypename:
  3984. description: 产品类型名称
  3985. type: string
  3986. spotPointOrderVoList:
  3987. description: 点价列表
  3988. items:
  3989. $ref: '#/definitions/erms3.SpotPointOrder'
  3990. type: array
  3991. spotPriceOrderList:
  3992. description: 定价列表
  3993. items:
  3994. $ref: '#/definitions/erms3.SpotPriceOrder'
  3995. type: array
  3996. unitname:
  3997. description: 单位名称
  3998. type: string
  3999. warehouseid:
  4000. description: 仓库ID
  4001. type: integer
  4002. warehousename:
  4003. description: 仓库名称
  4004. type: string
  4005. wrstandardid:
  4006. description: 交易标的ID
  4007. type: integer
  4008. wrstandardname:
  4009. description: 交易标的名称
  4010. type: string
  4011. required:
  4012. - deliverygoodsid
  4013. - producttype
  4014. - unitname
  4015. - warehouseid
  4016. - wrstandardid
  4017. - wrstandardname
  4018. type: object
  4019. erms3.SpotPointOrder:
  4020. properties:
  4021. basic:
  4022. description: 基差
  4023. type: number
  4024. deliveryenddate:
  4025. description: 交收结束日期
  4026. type: string
  4027. deliverystartdate:
  4028. description: 交收开始日期
  4029. type: string
  4030. enddate:
  4031. description: 点价结束日期
  4032. type: string
  4033. goodsid:
  4034. description: 商品ID
  4035. type: integer
  4036. goodsname:
  4037. description: 商品名称
  4038. type: string
  4039. qty:
  4040. description: 数量
  4041. type: number
  4042. startdate:
  4043. description: 点价开始日期
  4044. type: string
  4045. required:
  4046. - basic
  4047. - goodsid
  4048. - qty
  4049. type: object
  4050. erms3.SpotPriceOrder:
  4051. properties:
  4052. amount:
  4053. description: 金额
  4054. type: number
  4055. deliveryenddate:
  4056. description: 交收结束日期
  4057. type: string
  4058. deliverystartdate:
  4059. description: 交收开始日期
  4060. type: string
  4061. price:
  4062. description: 价格
  4063. type: number
  4064. qty:
  4065. description: 数量
  4066. type: number
  4067. required:
  4068. - amount
  4069. - price
  4070. - qty
  4071. type: object
  4072. hsby.GetHsbyMyCountRsp:
  4073. properties:
  4074. myCouponCount:
  4075. description: 我的优惠卷数量
  4076. type: integer
  4077. myOrderDetailListingCount:
  4078. description: 我的订单求购中数量
  4079. type: integer
  4080. myOrderDetailPreCount:
  4081. description: 我的订单抢购中数量
  4082. type: integer
  4083. myPackageUnReceiveCount:
  4084. description: 我的包裹待收货数量
  4085. type: integer
  4086. myPackageUnSendCount:
  4087. description: 我的包裹待发货数量
  4088. type: integer
  4089. myPayOrderCount:
  4090. description: 我的订单待付款数量
  4091. type: integer
  4092. type: object
  4093. hsby.QueryProvincesAndCitiesRsp:
  4094. properties:
  4095. cities:
  4096. description: 市
  4097. items:
  4098. $ref: '#/definitions/models.Division'
  4099. type: array
  4100. province:
  4101. $ref: '#/definitions/models.Division'
  4102. description: 省
  4103. type: object
  4104. models.Clientfixedadconfig:
  4105. properties:
  4106. adsort:
  4107. description: 排序
  4108. type: integer
  4109. adtype:
  4110. description: 广告位类型 - 1:新品抢购(HSBY)
  4111. type: integer
  4112. areauserid:
  4113. description: 所属机构ID
  4114. type: integer
  4115. createdate:
  4116. description: 创建时间
  4117. type: string
  4118. creatorid:
  4119. description: 创建人
  4120. type: integer
  4121. imagepath:
  4122. description: 图片
  4123. type: string
  4124. isshow:
  4125. description: 是否展示 - 0:不展示 1:展示
  4126. type: integer
  4127. modifierid:
  4128. description: 操作人
  4129. type: integer
  4130. recsize:
  4131. description: 推荐尺寸
  4132. type: string
  4133. title:
  4134. description: 标题
  4135. type: string
  4136. updatedate:
  4137. description: 更新时间
  4138. type: string
  4139. urlcontent:
  4140. description: 链接(地址或商品ID)
  4141. type: string
  4142. urltype:
  4143. description: 链接类型 - 1:直接地址 2:商品ID
  4144. type: integer
  4145. required:
  4146. - adsort
  4147. - adtype
  4148. type: object
  4149. models.Division:
  4150. properties:
  4151. autoid:
  4152. description: 自增ID
  4153. type: integer
  4154. divisioncode:
  4155. description: 行政代码
  4156. type: string
  4157. divisionlevel:
  4158. description: 行政级别
  4159. type: string
  4160. divisionname:
  4161. description: 行政名称
  4162. type: string
  4163. modifierid:
  4164. description: 修改人
  4165. type: integer
  4166. modifytime:
  4167. description: 修改时间
  4168. type: string
  4169. parentcode:
  4170. description: 上级行政代码
  4171. type: string
  4172. pathname:
  4173. description: 路径名称
  4174. type: string
  4175. postcode:
  4176. description: 邮政编码
  4177. type: string
  4178. separablename:
  4179. description: 可拆分的全称
  4180. type: string
  4181. shortcode:
  4182. description: 地区简码
  4183. type: string
  4184. required:
  4185. - autoid
  4186. - divisioncode
  4187. type: object
  4188. models.Enumdicitem:
  4189. properties:
  4190. autoid:
  4191. description: 自增ID
  4192. type: integer
  4193. bankmappedvalue:
  4194. description: 银行服务对应值
  4195. type: string
  4196. enumdiccode:
  4197. description: 所属枚举代码
  4198. type: string
  4199. enumdicid:
  4200. description: 所属枚举ID
  4201. type: integer
  4202. enumdicname:
  4203. description: 枚举项名称
  4204. type: string
  4205. enumitemname:
  4206. description: 枚举项值
  4207. type: integer
  4208. enumitemstatus:
  4209. description: 枚举项状态 - 1.启用 2.不启用
  4210. type: integer
  4211. enumitemvalue:
  4212. description: 通用值 - [币种通用简写]
  4213. type: string
  4214. param1:
  4215. description: 参数1[币种:币种小数位]
  4216. type: string
  4217. param2:
  4218. description: 参数1[币种:币种显示单位]
  4219. type: string
  4220. remark:
  4221. description: 备注
  4222. type: string
  4223. required:
  4224. - autoid
  4225. - enumdiccode
  4226. - enumdicid
  4227. - enumitemname
  4228. type: object
  4229. models.ErmcpHisExposure:
  4230. properties:
  4231. needhedgeexposoure:
  4232. description: 应套保敞口
  4233. type: number
  4234. reckondate:
  4235. description: 日照时期(yyyyMMdd)
  4236. type: string
  4237. totalexposure:
  4238. description: 总敞口
  4239. type: number
  4240. type: object
  4241. models.ErmcpMiddleGoodsModel:
  4242. properties:
  4243. areauserid:
  4244. description: 机构用户ID
  4245. type: integer
  4246. enumdicname:
  4247. description: 单位名称
  4248. type: string
  4249. evaluateratio:
  4250. description: 估价系数
  4251. type: number
  4252. goodsgroupid:
  4253. description: 关联期货品种ID
  4254. type: integer
  4255. isvalid:
  4256. description: 状态 0-无效(停用) 1-有效(正常)
  4257. type: integer
  4258. middlegoodscode:
  4259. description: 套保品种代码
  4260. type: string
  4261. middlegoodsid:
  4262. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4263. type: integer
  4264. middlegoodsname:
  4265. description: 套保品种名称
  4266. type: string
  4267. modifytime:
  4268. description: 修改时间
  4269. type: string
  4270. needhedgeratio:
  4271. description: 套保比率
  4272. type: number
  4273. qtydecimalplace:
  4274. description: 数量小数位
  4275. type: integer
  4276. relatedgoodsid:
  4277. description: 关联交易商品ID
  4278. type: integer
  4279. relatedgoodstype:
  4280. description: 关联商品类型 - 1:期货合约 2:现货品种
  4281. type: integer
  4282. type: object
  4283. models.ErmcpReportDayFR:
  4284. properties:
  4285. areauserid:
  4286. description: 所属机构
  4287. type: integer
  4288. collectinvoiceamount:
  4289. description: 今日开票金额
  4290. type: number
  4291. collectinvoicecount:
  4292. description: 今日开票笔数
  4293. type: integer
  4294. collectmoneyamount:
  4295. description: 今日收款金额
  4296. type: number
  4297. collectmoneycount:
  4298. description: 今日收款笔数
  4299. type: integer
  4300. payinvoiceamount:
  4301. description: 今日收票金额
  4302. type: number
  4303. payinvoicecount:
  4304. description: 今日收票笔数
  4305. type: integer
  4306. paymoneyamount:
  4307. description: 今日付款金额
  4308. type: number
  4309. paymoneycount:
  4310. description: 今日付款笔数
  4311. type: integer
  4312. reckondate:
  4313. description: 日照时期(yyyyMMdd)
  4314. type: string
  4315. updatetime:
  4316. description: 更新时间
  4317. type: string
  4318. type: object
  4319. models.ErmcpWrstandard:
  4320. properties:
  4321. areauserid:
  4322. description: 所属机构
  4323. type: integer
  4324. createtime:
  4325. description: 创建时间
  4326. type: string
  4327. creatorid:
  4328. description: 创建人
  4329. type: integer
  4330. deliverygoodsid:
  4331. description: 品种ID
  4332. type: integer
  4333. enumdicname:
  4334. description: 单位名称
  4335. type: string
  4336. isvalid:
  4337. description: 是否有效 0-无效(停用) 1-有效(正常)
  4338. type: integer
  4339. minivalue:
  4340. description: 最小变动值
  4341. type: integer
  4342. minivaluedp:
  4343. description: 最小变动值小数位
  4344. type: integer
  4345. realminivalue:
  4346. description: 实际最小变动值
  4347. type: integer
  4348. realminivaluedp:
  4349. description: 实际最小变动值小数位
  4350. type: integer
  4351. remark:
  4352. description: 备注
  4353. type: string
  4354. unitid:
  4355. description: 单位ID
  4356. type: integer
  4357. updatetime:
  4358. description: 更新时间
  4359. type: string
  4360. wrstandardcode:
  4361. description: 现货商品代码
  4362. type: string
  4363. wrstandardid:
  4364. description: 现货商品ID(SEQ_WRSTANDARD)
  4365. type: integer
  4366. wrstandardname:
  4367. description: 现货商品名称
  4368. type: string
  4369. type: object
  4370. models.Goods:
  4371. properties:
  4372. agreeunit:
  4373. description: 合约单位
  4374. type: number
  4375. auditaccountid:
  4376. description: 审核操作员账号
  4377. type: integer
  4378. audittime:
  4379. description: 审核时间
  4380. type: string
  4381. cancelaccountid:
  4382. description: 注销操作员账号
  4383. type: integer
  4384. canceltime:
  4385. description: 注销时间
  4386. type: string
  4387. closepricemode:
  4388. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4389. type: integer
  4390. closepriceparam:
  4391. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4392. type: number
  4393. createtime:
  4394. description: 创建时间
  4395. type: string
  4396. creatorid:
  4397. description: 创建人
  4398. type: integer
  4399. currencyid:
  4400. description: 报价货币ID
  4401. type: integer
  4402. cutmode:
  4403. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4404. type: integer
  4405. decimalplace:
  4406. description: 报价小数位
  4407. type: integer
  4408. delistingdate:
  4409. description: 商品退市时间(状态:退市) -- 已作废
  4410. type: string
  4411. delistingmode:
  4412. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4413. type: integer
  4414. deliveryflag:
  4415. description: 交割标志 - 0:不可交割 1:可交割
  4416. type: integer
  4417. forceclosemode:
  4418. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4419. type: integer
  4420. forceclosevalue:
  4421. description: 定期强平参数 [收益权]
  4422. type: integer
  4423. goodscode:
  4424. description: 商品代码(内部)
  4425. type: string
  4426. goodscurrencyid:
  4427. description: 合约货币ID
  4428. type: integer
  4429. goodsgroupid:
  4430. description: 所属商品组ID
  4431. type: integer
  4432. goodsid:
  4433. description: 商品ID(自增ID SEQ_GOODS)
  4434. type: integer
  4435. goodsname:
  4436. description: 商品名称
  4437. type: string
  4438. goodsquotetype:
  4439. description: '合约报价类型: 1-直接报价 2-间接报价'
  4440. type: integer
  4441. goodsstatus:
  4442. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4443. type: integer
  4444. goodstradetype:
  4445. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4446. type: integer
  4447. goodunitid:
  4448. description: 报价单位ID
  4449. type: integer
  4450. hasquoter:
  4451. description: 是否有报价商 - 0:无报价商 1:有报价商
  4452. type: integer
  4453. hqprotecttime:
  4454. description: 行情保护时间(秒)
  4455. type: integer
  4456. innerdealmode:
  4457. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4458. type: integer
  4459. isbuylimited:
  4460. description: 是否限制建仓量 - 0:不限制 1:限制
  4461. type: integer
  4462. lasttradedate:
  4463. description: 最后交易日期(状态:待退市)
  4464. type: string
  4465. listingdate:
  4466. description: 交易开始日期
  4467. type: string
  4468. marketid:
  4469. description: 所属市场ID
  4470. type: integer
  4471. modifierid:
  4472. description: 修改人
  4473. type: integer
  4474. modifystatus:
  4475. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4476. type: integer
  4477. modifytime:
  4478. description: 修改时间
  4479. type: string
  4480. outerdealmode:
  4481. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4482. type: integer
  4483. outgoodscode:
  4484. description: 商品代码(外部)
  4485. type: string
  4486. qtydecimalplace:
  4487. description: 成交量小数位
  4488. type: integer
  4489. quotegear:
  4490. description: 行情档位(1-10)
  4491. type: integer
  4492. quoteminunit:
  4493. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4494. type: integer
  4495. quoteshowtype:
  4496. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4497. type: integer
  4498. quoteshowtypeinterval:
  4499. description: 行情报价间隔时间(秒)(成交价时为0)
  4500. type: integer
  4501. remark:
  4502. description: 备注
  4503. type: string
  4504. required:
  4505. - goodscode
  4506. - goodsid
  4507. - goodsname
  4508. - marketid
  4509. type: object
  4510. models.GoodsBrand:
  4511. properties:
  4512. brandid:
  4513. description: 品牌ID
  4514. type: integer
  4515. brandname:
  4516. description: 品牌名称
  4517. type: string
  4518. isvalid:
  4519. description: 是否有效 - 0:无效 1:有效
  4520. type: integer
  4521. type: object
  4522. models.GoodsGroupConvert:
  4523. properties:
  4524. convertratio:
  4525. description: 折算系数
  4526. type: number
  4527. dstgoodsgroupid:
  4528. description: 目标期货品种ID
  4529. type: integer
  4530. goodsgroupname:
  4531. description: 期货品种名称
  4532. type: string
  4533. outergroupcode:
  4534. description: 期货品种代码
  4535. type: string
  4536. srcgoodsgroupid:
  4537. description: 源期货品种ID
  4538. type: integer
  4539. type: object
  4540. models.GoodsIDAndName:
  4541. properties:
  4542. goodscode:
  4543. description: 商品代码(内部)
  4544. type: string
  4545. goodsid:
  4546. description: 商品ID(自增ID SEQ_GOODS)
  4547. type: integer
  4548. goodsname:
  4549. description: 商品名称
  4550. type: string
  4551. marketid:
  4552. description: 所属市场ID
  4553. type: integer
  4554. required:
  4555. - goodscode
  4556. - goodsid
  4557. - goodsname
  4558. - marketid
  4559. type: object
  4560. models.GoodsTypeModel:
  4561. properties:
  4562. modelid:
  4563. description: 型号ID
  4564. type: integer
  4565. modelname:
  4566. description: 型号名称
  4567. type: string
  4568. updatetime:
  4569. description: 更新时间
  4570. type: string
  4571. type: object
  4572. models.HsbyBuyMyPayOrder:
  4573. properties:
  4574. agreeunit:
  4575. description: 合约单位
  4576. type: number
  4577. buyaccountid:
  4578. description: 买方账号ID[报价币种]
  4579. type: integer
  4580. buyorderid:
  4581. description: 买方委托单号
  4582. type: string
  4583. createtime:
  4584. description: 创建时间
  4585. type: string
  4586. currencysign:
  4587. description: 货币符号
  4588. type: string
  4589. decimalplace:
  4590. description: 报价小数位
  4591. type: integer
  4592. goodscode:
  4593. description: 商品代码(内部)
  4594. type: string
  4595. goodsid:
  4596. description: 商品ID
  4597. type: integer
  4598. goodsname:
  4599. description: 商品名称
  4600. type: string
  4601. marketid:
  4602. description: 市场ID
  4603. type: integer
  4604. offamount:
  4605. description: 优惠金额
  4606. type: number
  4607. payamount:
  4608. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4609. type: number
  4610. payflag:
  4611. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4612. type: integer
  4613. paylimitedtime:
  4614. description: 支付期限
  4615. type: string
  4616. paytime:
  4617. description: 付款时间
  4618. type: string
  4619. picurls1:
  4620. description: 预售商品介绍图片[多张用逗号分隔]
  4621. type: string
  4622. picurls2:
  4623. description: 挂牌商品介绍图片[多张用逗号分隔]
  4624. type: string
  4625. sellaccountid:
  4626. description: 卖方账号ID[报价币种]
  4627. type: integer
  4628. sellorderid:
  4629. description: 卖方委托单号
  4630. type: string
  4631. tradeamount:
  4632. description: 成交金额
  4633. type: number
  4634. tradecharge:
  4635. description: 成交手续费(买方)
  4636. type: number
  4637. tradedate:
  4638. description: 交易日(yyyyMMdd)
  4639. type: string
  4640. tradeid:
  4641. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4642. type: string
  4643. trademode:
  4644. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4645. 21:竞拍-大宗式 22:受托竞价
  4646. type: integer
  4647. tradeprice:
  4648. description: 成交价格
  4649. type: number
  4650. tradeqty:
  4651. description: 成交数量
  4652. type: integer
  4653. vendorname1:
  4654. description: 预售商品供应商名称
  4655. type: string
  4656. vendorname2:
  4657. description: 挂牌商品供应商名称
  4658. type: string
  4659. required:
  4660. - goodscode
  4661. - goodsname
  4662. - tradeid
  4663. - trademode
  4664. type: object
  4665. models.HsbyBuyMyTradeDetail:
  4666. properties:
  4667. accountid:
  4668. description: 账户ID[报价币种]
  4669. type: integer
  4670. agreeunit:
  4671. description: 合约单位
  4672. type: number
  4673. amount:
  4674. description: 金额 = 价格 * 数量 * 合约单位
  4675. type: number
  4676. buyorsell:
  4677. description: 买卖 - 0:买 1:卖
  4678. type: integer
  4679. currencysign:
  4680. description: 货币符号
  4681. type: string
  4682. decimalplace:
  4683. description: 报价小数位
  4684. type: integer
  4685. goodscode:
  4686. description: 商品代码(内部)
  4687. type: string
  4688. goodsid:
  4689. description: 商品ID
  4690. type: integer
  4691. goodsname:
  4692. description: 商品名称
  4693. type: string
  4694. marketid:
  4695. description: 市场ID
  4696. type: integer
  4697. orderid:
  4698. description: 单号(成交单号)
  4699. type: string
  4700. picurls1:
  4701. description: 预售商品介绍图片[多张用逗号分隔]
  4702. type: string
  4703. picurls2:
  4704. description: 挂牌商品介绍图片[多张用逗号分隔]
  4705. type: string
  4706. price:
  4707. description: 价格
  4708. type: number
  4709. qty:
  4710. description: 数量
  4711. type: integer
  4712. time:
  4713. description: 时间
  4714. type: string
  4715. trademode:
  4716. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4717. 21:竞拍-大宗式 22:受托竞价
  4718. type: integer
  4719. vendorname1:
  4720. description: 预售商品供应商名称
  4721. type: string
  4722. vendorname2:
  4723. description: 挂牌商品供应商名称
  4724. type: string
  4725. required:
  4726. - accountid
  4727. - buyorsell
  4728. - goodscode
  4729. - goodsid
  4730. - goodsname
  4731. - marketid
  4732. - orderid
  4733. - qty
  4734. - time
  4735. - trademode
  4736. type: object
  4737. models.HsbyGoodsOrderDetail:
  4738. properties:
  4739. buyorsell:
  4740. description: 买卖 - 0:买 1:卖
  4741. type: integer
  4742. currencysign:
  4743. description: 货币符号
  4744. type: string
  4745. customername:
  4746. description: 客户名称(企业名称),已脱敏
  4747. type: string
  4748. enableqty:
  4749. description: 可用数量
  4750. type: integer
  4751. goodunit:
  4752. description: 报价单位
  4753. type: string
  4754. orderid:
  4755. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4756. type: string
  4757. orderprice:
  4758. description: 委托价格
  4759. type: number
  4760. ordertime:
  4761. description: 委托时间
  4762. type: string
  4763. required:
  4764. - buyorsell
  4765. - orderid
  4766. - ordertime
  4767. type: object
  4768. models.HsbyListingGoodsDetail:
  4769. properties:
  4770. agreeunit:
  4771. description: 合约单位
  4772. type: number
  4773. buymaxqty:
  4774. description: 购买上限 [71] - 0为不限
  4775. type: integer
  4776. currency:
  4777. description: 货币
  4778. type: string
  4779. currencysign:
  4780. description: 货币符号
  4781. type: string
  4782. decimalplace:
  4783. description: 报价小数位
  4784. type: integer
  4785. desccityid:
  4786. description: 目的地(市)ID
  4787. type: integer
  4788. descprovinceid:
  4789. description: 目的地(省)ID
  4790. type: integer
  4791. goodscode:
  4792. description: 商品代码(内部)
  4793. type: string
  4794. goodsdesc:
  4795. description: 商品详情
  4796. type: string
  4797. goodsid:
  4798. description: 商品ID(自增ID SEQ_GOODS)
  4799. type: integer
  4800. goodsname:
  4801. description: 商品名称
  4802. type: string
  4803. goodsprice:
  4804. description: 商品价格
  4805. type: number
  4806. hotindex:
  4807. description: 景点热度
  4808. type: integer
  4809. last:
  4810. description: 现价
  4811. type: number
  4812. limitdown:
  4813. description: 跌停价
  4814. type: number
  4815. limitup:
  4816. description: 涨停价
  4817. type: number
  4818. lotsize:
  4819. description: 手数最小变动单位
  4820. type: integer
  4821. marketid:
  4822. description: 所属市场ID
  4823. type: integer
  4824. picurls:
  4825. description: 介绍图片[多张用逗号分隔]
  4826. type: string
  4827. quoteminunit:
  4828. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4829. type: integer
  4830. stepvalue:
  4831. description: 价格最小变动单位
  4832. type: number
  4833. trademode:
  4834. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4835. 21:竞拍-大宗式 22:受托竞价
  4836. type: integer
  4837. vendorattr:
  4838. description: 供应商附件(多张,逗号分隔)
  4839. type: string
  4840. vendorname:
  4841. description: 供应商名称
  4842. type: string
  4843. vendorphone:
  4844. description: 供应商客服电话
  4845. type: string
  4846. videourls:
  4847. description: 介绍视频[多张用逗号分隔]
  4848. type: string
  4849. required:
  4850. - goodscode
  4851. - goodsid
  4852. - goodsname
  4853. - marketid
  4854. - trademode
  4855. type: object
  4856. models.HsbyMarketGoods:
  4857. properties:
  4858. accountid:
  4859. description: 账户ID[报价币种]
  4860. type: integer
  4861. agreeunit:
  4862. description: 合约单位
  4863. type: number
  4864. buyorsell:
  4865. description: 买卖 - 0:买 1:卖
  4866. type: integer
  4867. categoryid:
  4868. description: 类别ID(WRCATEGORY)
  4869. type: integer
  4870. currency:
  4871. description: 货币
  4872. type: string
  4873. currencysign:
  4874. description: 货币符号
  4875. type: string
  4876. customername:
  4877. description: 卖家名称
  4878. type: string
  4879. decimalplace:
  4880. description: 报价小数位
  4881. type: integer
  4882. goodscode:
  4883. description: 商品代码(内部)
  4884. type: string
  4885. goodsid:
  4886. description: 商品ID
  4887. type: integer
  4888. goodsname:
  4889. description: 商品名称
  4890. type: string
  4891. goodsprice:
  4892. description: 商品价格
  4893. type: number
  4894. hascoupon:
  4895. description: 是否可用优惠卷
  4896. type: boolean
  4897. hotindex:
  4898. description: 景点热度
  4899. type: integer
  4900. marketid:
  4901. description: 市场ID
  4902. type: integer
  4903. orderid:
  4904. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4905. type: string
  4906. orderprice:
  4907. description: 委托价格
  4908. type: number
  4909. orderstatus:
  4910. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4911. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4912. 16:成交失败违约(荷兰式竞拍专用)
  4913. type: integer
  4914. picurls:
  4915. description: 介绍图片[多张用逗号分隔]
  4916. type: string
  4917. quoteminunit:
  4918. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4919. type: integer
  4920. sellUserID:
  4921. description: 卖方UserID
  4922. type: integer
  4923. trademode:
  4924. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4925. 21:竞拍-大宗式 22:受托竞价
  4926. type: integer
  4927. videourls:
  4928. description: 介绍视频[多张用逗号分隔]
  4929. type: string
  4930. required:
  4931. - accountid
  4932. - buyorsell
  4933. - goodscode
  4934. - goodsid
  4935. - goodsname
  4936. - marketid
  4937. - orderid
  4938. - trademode
  4939. type: object
  4940. models.HsbyMarketGoodsDetail:
  4941. properties:
  4942. accountid:
  4943. description: 账户ID[报价币种]
  4944. type: integer
  4945. agreeunit:
  4946. description: 合约单位
  4947. type: number
  4948. buymaxqty:
  4949. description: 购买上限 [71] - 0为不限
  4950. type: integer
  4951. buyorsell:
  4952. description: 买卖 - 0:买 1:卖
  4953. type: integer
  4954. cancelqty:
  4955. description: 撤单数量
  4956. type: integer
  4957. categoryid:
  4958. description: 类别ID(WRCATEGORY)
  4959. type: integer
  4960. currency:
  4961. description: 货币
  4962. type: string
  4963. currencysign:
  4964. description: 货币符号
  4965. type: string
  4966. customername:
  4967. description: 卖家名称
  4968. type: string
  4969. decimalplace:
  4970. description: 报价小数位
  4971. type: integer
  4972. goodscode:
  4973. description: 商品代码(内部)
  4974. type: string
  4975. goodsdesc:
  4976. description: 商品详情
  4977. type: string
  4978. goodsid:
  4979. description: 商品ID
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. goodsprice:
  4985. description: 商品价格
  4986. type: number
  4987. hotindex:
  4988. description: 景点热度
  4989. type: integer
  4990. lotsize:
  4991. description: 手数最小变动单位
  4992. type: integer
  4993. marketid:
  4994. description: 市场ID
  4995. type: integer
  4996. orderid:
  4997. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4998. type: string
  4999. orderprice:
  5000. description: 委托价格
  5001. type: number
  5002. orderqty:
  5003. description: 委托数量
  5004. type: integer
  5005. orderstatus:
  5006. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5007. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5008. 16:成交失败违约(荷兰式竞拍专用)
  5009. type: integer
  5010. picurls:
  5011. description: 介绍图片[多张用逗号分隔]
  5012. type: string
  5013. quoteminunit:
  5014. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5015. type: integer
  5016. sellUserID:
  5017. description: 卖方UserID
  5018. type: integer
  5019. trademode:
  5020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5021. 21:竞拍-大宗式 22:受托竞价
  5022. type: integer
  5023. tradeqty:
  5024. description: 成交数量
  5025. type: integer
  5026. vendorattr:
  5027. description: 供应商附件(多张,逗号分隔)
  5028. type: string
  5029. vendorname:
  5030. description: 供应商名称
  5031. type: string
  5032. vendorphone:
  5033. description: 供应商客服电话
  5034. type: string
  5035. videourls:
  5036. description: 介绍视频[多张用逗号分隔]
  5037. type: string
  5038. required:
  5039. - accountid
  5040. - buyorsell
  5041. - goodscode
  5042. - goodsid
  5043. - goodsname
  5044. - marketid
  5045. - orderid
  5046. - orderqty
  5047. - trademode
  5048. type: object
  5049. models.HsbyMarketInfo:
  5050. properties:
  5051. marketid:
  5052. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5053. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5054. type: integer
  5055. marketname:
  5056. description: 市场名称
  5057. type: string
  5058. marketstatus:
  5059. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5060. type: integer
  5061. trademode:
  5062. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5063. 21:竞拍-大宗式 22:受托竞价
  5064. type: integer
  5065. required:
  5066. - marketid
  5067. - marketstatus
  5068. - trademode
  5069. type: object
  5070. models.HsbyMyGoods:
  5071. properties:
  5072. accountid:
  5073. description: 账号Id
  5074. type: integer
  5075. agreeunit:
  5076. description: 合约单位
  5077. type: number
  5078. buyaverageprice:
  5079. description: 持仓均价
  5080. type: number
  5081. buycurholderamount:
  5082. description: 买当前持仓总金额[商品币种]
  5083. type: number
  5084. buycurpositionqty:
  5085. description: 买当前持仓总数量
  5086. type: integer
  5087. buymaxqty:
  5088. description: 购买上限 [71] - 0为不限
  5089. type: integer
  5090. currencysign:
  5091. description: 货币符号
  5092. type: string
  5093. decimalplace:
  5094. description: 报价小数位
  5095. type: integer
  5096. enableqty:
  5097. description: 可用数量
  5098. type: integer
  5099. goodscode:
  5100. description: 商品代码(内部)
  5101. type: string
  5102. goodsid:
  5103. description: 商品Id
  5104. type: integer
  5105. goodsname:
  5106. description: 商品名称
  5107. type: string
  5108. goodsprice:
  5109. description: 商品价格
  5110. type: number
  5111. goodsstatus:
  5112. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5113. type: integer
  5114. last:
  5115. description: 现价(仅使用于挂牌点选)
  5116. type: number
  5117. limitdown:
  5118. description: 跌停价(仅使用于挂牌点选)
  5119. type: number
  5120. limitup:
  5121. description: 涨停价(仅使用于挂牌点选)
  5122. type: number
  5123. lotsize:
  5124. description: 手数最小变动单位
  5125. type: integer
  5126. marketid:
  5127. description: 所属市场ID
  5128. type: integer
  5129. picurls:
  5130. description: 介绍图片[多张用逗号分隔]
  5131. type: string
  5132. quoteminunit:
  5133. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5134. type: integer
  5135. stepvalue:
  5136. description: 价格最小变动单位
  5137. type: number
  5138. trademode:
  5139. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5140. 21:竞拍-大宗式 22:受托竞价
  5141. type: integer
  5142. required:
  5143. - accountid
  5144. - goodscode
  5145. - goodsid
  5146. - goodsname
  5147. - marketid
  5148. - trademode
  5149. type: object
  5150. models.HsbyMyPackage:
  5151. properties:
  5152. accountid:
  5153. description: 账户ID
  5154. type: integer
  5155. address:
  5156. description: 提货人详细地址
  5157. type: string
  5158. agreeunit:
  5159. description: 合约单位
  5160. type: number
  5161. amount:
  5162. description: 提货金额
  5163. type: number
  5164. auditer:
  5165. description: 审核人
  5166. type: integer
  5167. audittime:
  5168. description: 审核时间
  5169. type: string
  5170. averageprice:
  5171. description: 均价
  5172. type: number
  5173. cardnum:
  5174. description: 提货人证件号码
  5175. type: string
  5176. cardtypeid:
  5177. description: 提货人证件类型
  5178. type: integer
  5179. checkremark:
  5180. description: 审核备注
  5181. type: string
  5182. currencysign:
  5183. description: 货币符号
  5184. type: string
  5185. decimalplace:
  5186. description: 报价小数位
  5187. type: integer
  5188. goodscode:
  5189. description: 商品代码(内部)
  5190. type: string
  5191. goodsid:
  5192. description: 商品ID
  5193. type: integer
  5194. goodsname:
  5195. description: 商品名称
  5196. type: string
  5197. handlestatus:
  5198. description: 处理状态
  5199. type: integer
  5200. marketid:
  5201. description: 市场ID
  5202. type: integer
  5203. phonenum:
  5204. description: 提货人联系方式
  5205. type: string
  5206. picurls:
  5207. description: 介绍图片[多张用逗号分隔]
  5208. type: string
  5209. qty:
  5210. description: 提货数量
  5211. type: number
  5212. recivername:
  5213. description: 提货人姓名
  5214. type: string
  5215. reqtime:
  5216. description: 更新时间
  5217. type: string
  5218. takemode:
  5219. description: 提货方式 - 2:自提 3:配送
  5220. type: integer
  5221. takeorderid:
  5222. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5223. type: string
  5224. takeorderstatus:
  5225. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5226. type: integer
  5227. takeremark:
  5228. description: 提货备注
  5229. type: string
  5230. tradedate:
  5231. description: 交易日(yyyyMMdd)
  5232. type: string
  5233. trademode:
  5234. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5235. 21:竞拍-大宗式 22:受托竞价
  5236. type: integer
  5237. userid:
  5238. description: 用户ID
  5239. type: integer
  5240. vendorname:
  5241. description: 供应商名称
  5242. type: string
  5243. required:
  5244. - goodscode
  5245. - goodsname
  5246. - takeorderid
  5247. - trademode
  5248. type: object
  5249. models.HsbyPreGoods:
  5250. properties:
  5251. agreeunit:
  5252. description: 合约单位
  5253. type: number
  5254. currency:
  5255. description: 货币
  5256. type: string
  5257. currencysign:
  5258. description: 货币符号
  5259. type: string
  5260. decimalplace:
  5261. description: 报价小数位
  5262. type: integer
  5263. desccityid:
  5264. description: 目的地(市)
  5265. type: integer
  5266. descprovinceid:
  5267. description: 目的地(省)
  5268. type: integer
  5269. enableqty:
  5270. description: 剩余数量
  5271. type: integer
  5272. goodscode:
  5273. description: 商品代码(内部)
  5274. type: string
  5275. goodsid:
  5276. description: 商品ID(自增ID SEQ_GOODS)
  5277. type: integer
  5278. goodsname:
  5279. description: 商品名称
  5280. type: string
  5281. goodsstatus:
  5282. description: 商品状态- 2:未上市 3:上市
  5283. type: integer
  5284. lasttradedate:
  5285. description: 最后交易日期(状态:待退市)
  5286. type: string
  5287. listingdate:
  5288. description: 交易开始日期
  5289. type: string
  5290. marketid:
  5291. description: 所属市场ID
  5292. type: integer
  5293. picurls:
  5294. description: 介绍图片[多张用逗号分隔]
  5295. type: string
  5296. presaledqty:
  5297. description: 已预售量(预售结束时更新)
  5298. type: integer
  5299. presaleqty:
  5300. description: 预售数量
  5301. type: integer
  5302. quoteminunit:
  5303. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5304. type: integer
  5305. refprice:
  5306. description: 参考价格[一口价]
  5307. type: number
  5308. relatedgoodsid:
  5309. description: 关联交易合约ID
  5310. type: integer
  5311. trademode:
  5312. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5313. 21:竞拍-大宗式 22:受托竞价
  5314. type: integer
  5315. videourls:
  5316. description: 介绍视频[多张用逗号分隔]
  5317. type: string
  5318. required:
  5319. - goodscode
  5320. - goodsid
  5321. - goodsname
  5322. - marketid
  5323. - trademode
  5324. type: object
  5325. models.HsbyPreGoodsDetail:
  5326. properties:
  5327. agreeunit:
  5328. description: 合约单位
  5329. type: number
  5330. buymaxqty:
  5331. description: 购买上限 [71] - 0为不限
  5332. type: integer
  5333. currency:
  5334. description: 货币
  5335. type: string
  5336. currencysign:
  5337. description: 货币符号
  5338. type: string
  5339. customername:
  5340. description: 发行单位
  5341. type: string
  5342. decimalplace:
  5343. description: 报价小数位
  5344. type: integer
  5345. desccityid:
  5346. description: 目的地(市)ID
  5347. type: integer
  5348. descprovinceid:
  5349. description: 目的地(省)ID
  5350. type: integer
  5351. enableqty:
  5352. description: 剩余数量
  5353. type: integer
  5354. goodscode:
  5355. description: 商品代码(内部)
  5356. type: string
  5357. goodsdesc:
  5358. description: 商品详情
  5359. type: string
  5360. goodsid:
  5361. description: 商品ID(自增ID SEQ_GOODS)
  5362. type: integer
  5363. goodsname:
  5364. description: 商品名称
  5365. type: string
  5366. goodsstatus:
  5367. description: 商品状态- 2:未上市 3:上市
  5368. type: integer
  5369. goodunit:
  5370. description: 报价单位
  5371. type: string
  5372. lasttradedate:
  5373. description: 最后交易日期(状态:待退市)
  5374. type: string
  5375. listingdate:
  5376. description: 交易开始日期
  5377. type: string
  5378. lotsize:
  5379. description: 手数最小变动单位
  5380. type: integer
  5381. marketid:
  5382. description: 所属市场ID
  5383. type: integer
  5384. picurls:
  5385. description: 介绍图片[多张用逗号分隔]
  5386. type: string
  5387. presaledqty:
  5388. description: 已预售量(预售结束时更新)
  5389. type: integer
  5390. presaleqty:
  5391. description: 预售数量
  5392. type: integer
  5393. quoteminunit:
  5394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5395. type: integer
  5396. refprice:
  5397. description: 参考价格[一口价]
  5398. type: number
  5399. relatedgoodsid:
  5400. description: 关联交易合约ID
  5401. type: integer
  5402. stepvalue:
  5403. description: 价格最小变动单位
  5404. type: number
  5405. trademode:
  5406. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5407. 21:竞拍-大宗式 22:受托竞价
  5408. type: integer
  5409. vendorattr:
  5410. description: 供应商附件(多张,逗号分隔)
  5411. type: string
  5412. vendorname:
  5413. description: 供应商名称
  5414. type: string
  5415. vendorphone:
  5416. description: 供应商客服电话
  5417. type: string
  5418. videourls:
  5419. description: 介绍视频[多张用逗号分隔]
  5420. type: string
  5421. required:
  5422. - goodscode
  5423. - goodsid
  5424. - goodsname
  5425. - marketid
  5426. - trademode
  5427. type: object
  5428. models.HsbySellCollectionOrder:
  5429. properties:
  5430. agreeunit:
  5431. description: 合约单位
  5432. type: number
  5433. buyaccountid:
  5434. description: 买方账号ID[报价币种]
  5435. type: integer
  5436. buyorderid:
  5437. description: 买方委托单号
  5438. type: string
  5439. createtime:
  5440. description: 创建时间
  5441. type: string
  5442. currencysign:
  5443. description: 货币符号
  5444. type: string
  5445. decimalplace:
  5446. description: 报价小数位
  5447. type: integer
  5448. goodscode:
  5449. description: 商品代码(内部)
  5450. type: string
  5451. goodsid:
  5452. description: 商品ID
  5453. type: integer
  5454. goodsname:
  5455. description: 商品名称
  5456. type: string
  5457. marketid:
  5458. description: 市场ID
  5459. type: integer
  5460. offamount:
  5461. description: 优惠金额
  5462. type: number
  5463. payamount:
  5464. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  5465. type: number
  5466. payflag:
  5467. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5468. type: integer
  5469. paylimitedtime:
  5470. description: 支付期限
  5471. type: string
  5472. paytime:
  5473. description: 付款时间
  5474. type: string
  5475. picurls:
  5476. description: 商品介绍图片[多张用逗号分隔]
  5477. type: string
  5478. sellaccountid:
  5479. description: 卖方账号ID[报价币种]
  5480. type: integer
  5481. sellorderid:
  5482. description: 卖方委托单号
  5483. type: string
  5484. tradeamount:
  5485. description: 成交金额
  5486. type: number
  5487. tradecharge:
  5488. description: 成交手续费(买方)
  5489. type: number
  5490. tradedate:
  5491. description: 交易日(yyyyMMdd)
  5492. type: string
  5493. tradeid:
  5494. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5495. type: string
  5496. trademode:
  5497. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5498. 21:竞拍-大宗式 22:受托竞价
  5499. type: integer
  5500. tradeprice:
  5501. description: 成交价格
  5502. type: number
  5503. tradeqty:
  5504. description: 成交数量
  5505. type: integer
  5506. required:
  5507. - goodscode
  5508. - goodsname
  5509. - tradeid
  5510. - trademode
  5511. type: object
  5512. models.HsbySellMyDetail:
  5513. properties:
  5514. accountid:
  5515. description: 账户ID[报价币种]
  5516. type: integer
  5517. agreeunit:
  5518. description: 合约单位
  5519. type: number
  5520. buyorsell:
  5521. description: 买卖 - 0:买 1:卖
  5522. type: integer
  5523. currencysign:
  5524. description: 货币符号
  5525. type: string
  5526. decimalplace:
  5527. description: 报价小数位
  5528. type: integer
  5529. goodscode:
  5530. description: 商品代码(内部)
  5531. type: string
  5532. goodsid:
  5533. description: 商品ID
  5534. type: integer
  5535. goodsname:
  5536. description: 商品名称
  5537. type: string
  5538. marketid:
  5539. description: 市场ID
  5540. type: integer
  5541. orderid:
  5542. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  5543. type: string
  5544. ordertype:
  5545. description: 单据类型:0 - 发布中, 1 - 已完成
  5546. type: integer
  5547. picurls:
  5548. description: 介绍图片[多张用逗号分隔]
  5549. type: string
  5550. price:
  5551. description: 价格
  5552. type: number
  5553. qty:
  5554. description: 数量
  5555. type: integer
  5556. time:
  5557. description: 时间
  5558. type: string
  5559. trademode:
  5560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5561. 21:竞拍-大宗式 22:受托竞价
  5562. type: integer
  5563. vendorname:
  5564. description: 供应商名称
  5565. type: string
  5566. required:
  5567. - accountid
  5568. - buyorsell
  5569. - goodscode
  5570. - goodsid
  5571. - goodsname
  5572. - marketid
  5573. - orderid
  5574. - time
  5575. - trademode
  5576. type: object
  5577. models.HsbyTopGoods:
  5578. properties:
  5579. agreeunit:
  5580. description: 合约单位
  5581. type: number
  5582. currency:
  5583. description: 货币
  5584. type: string
  5585. currencysign:
  5586. description: 货币符号
  5587. type: string
  5588. decimalplace:
  5589. description: 报价小数位
  5590. type: integer
  5591. desccityid:
  5592. description: 目的地(市)
  5593. type: integer
  5594. descprovinceid:
  5595. description: 目的地(省)
  5596. type: integer
  5597. goodscode:
  5598. description: 商品代码(内部)
  5599. type: string
  5600. goodsid:
  5601. description: 商品ID(自增ID SEQ_GOODS)
  5602. type: integer
  5603. goodsname:
  5604. description: 商品名称
  5605. type: string
  5606. hotindex:
  5607. description: 景点热度
  5608. type: integer
  5609. last:
  5610. description: 现价
  5611. type: number
  5612. marketid:
  5613. description: 所属市场ID
  5614. type: integer
  5615. picurls:
  5616. description: 介绍图片[多张用逗号分隔]
  5617. type: string
  5618. quoteminunit:
  5619. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5620. type: integer
  5621. trademode:
  5622. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5623. 21:竞拍-大宗式 22:受托竞价
  5624. type: integer
  5625. videourls:
  5626. description: 介绍视频[多张用逗号分隔]
  5627. type: string
  5628. required:
  5629. - goodscode
  5630. - goodsid
  5631. - goodsname
  5632. - marketid
  5633. - trademode
  5634. type: object
  5635. models.HybsMyBuyOrderDetail:
  5636. properties:
  5637. accountid:
  5638. description: 账户ID[报价币种]
  5639. type: integer
  5640. agreeunit:
  5641. description: 合约单位
  5642. type: number
  5643. buyorsell:
  5644. description: 买卖 - 0:买 1:卖
  5645. type: integer
  5646. cancelqty:
  5647. description: 撤单数量
  5648. type: integer
  5649. currencysign:
  5650. description: 货币符号
  5651. type: string
  5652. decimalplace:
  5653. description: 报价小数位
  5654. type: integer
  5655. goodscode:
  5656. description: 商品代码(内部)
  5657. type: string
  5658. goodsid:
  5659. description: 商品ID
  5660. type: integer
  5661. goodsname:
  5662. description: 商品名称
  5663. type: string
  5664. listingselecttype:
  5665. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5666. type: integer
  5667. marketid:
  5668. description: 市场ID
  5669. type: integer
  5670. mybuystatus:
  5671. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  5672. type: integer
  5673. orderamount:
  5674. description: 委托金额
  5675. type: number
  5676. orderid:
  5677. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5678. type: string
  5679. orderprice:
  5680. description: 委托价格
  5681. type: number
  5682. orderqty:
  5683. description: 委托数量
  5684. type: integer
  5685. orderstatus:
  5686. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5687. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5688. 16:成交失败违约(荷兰式竞拍专用)
  5689. type: integer
  5690. ordertime:
  5691. description: 委托时间
  5692. type: string
  5693. picurls1:
  5694. description: 预售商品介绍图片[多张用逗号分隔]
  5695. type: string
  5696. picurls2:
  5697. description: 挂牌商品介绍图片[多张用逗号分隔]
  5698. type: string
  5699. trademode:
  5700. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5701. 21:竞拍-大宗式 22:受托竞价
  5702. type: integer
  5703. tradeqty:
  5704. description: 成交数量
  5705. type: integer
  5706. vendorname1:
  5707. description: 预售商品供应商名称
  5708. type: string
  5709. vendorname2:
  5710. description: 挂牌商品供应商名称
  5711. type: string
  5712. required:
  5713. - accountid
  5714. - buyorsell
  5715. - goodscode
  5716. - goodsid
  5717. - goodsname
  5718. - marketid
  5719. - orderid
  5720. - orderqty
  5721. - ordertime
  5722. - trademode
  5723. type: object
  5724. models.Market:
  5725. properties:
  5726. auctionwrtype:
  5727. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  5728. type: integer
  5729. canacceptquote:
  5730. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  5731. type: integer
  5732. cangoodsexercise:
  5733. description: '[期权]是否可现货行权- 0:否 1:是'
  5734. type: integer
  5735. cangoodsexercisetype:
  5736. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  5737. type: integer
  5738. canmanualquotestrike:
  5739. description: 是否可手动报行权价- 0:否 1:是 [期权]
  5740. type: integer
  5741. canmutistage:
  5742. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  5743. type: integer
  5744. canpreexercise:
  5745. description: '[期权]是否可预申报- 0:否 1:是'
  5746. type: integer
  5747. clearinterval:
  5748. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  5749. type: integer
  5750. contracttmp:
  5751. description: 合同模板[荷兰式][竞价式][仓单贸易]
  5752. type: string
  5753. exchareaid:
  5754. description: 所属交易所,可以没有
  5755. type: integer
  5756. goodstype:
  5757. description: 商品类型 - 1:交易商品 2:仓单商品
  5758. type: integer
  5759. hasrebate:
  5760. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  5761. type: integer
  5762. hastradecredit:
  5763. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  5764. type: integer
  5765. haswr:
  5766. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  5767. type: integer
  5768. isdeductmargin:
  5769. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  5770. type: integer
  5771. isrecordsource:
  5772. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  5773. type: integer
  5774. isreleasemargin:
  5775. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  5776. type: integer
  5777. marginformula:
  5778. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5779. type: integer
  5780. marginformula2:
  5781. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5782. type: integer
  5783. marketid:
  5784. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5785. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5786. type: integer
  5787. marketname:
  5788. description: 市场名称
  5789. type: string
  5790. marketserviceid:
  5791. description: 市场服务ID
  5792. type: integer
  5793. marketstatus:
  5794. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5795. type: integer
  5796. markettype:
  5797. description: 市场类型- 1:非交易服务 2:交易服务
  5798. type: integer
  5799. matchermode:
  5800. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  5801. type: integer
  5802. openmethod:
  5803. description: 开盘模式 - 0 自动 1手动
  5804. type: integer
  5805. otcuserid:
  5806. description: 场外期权做市商[场外期权]
  5807. type: integer
  5808. outersynctime:
  5809. description: 外部同步时间点(h24:mi:ss)[场外期权]
  5810. type: string
  5811. pendingflag:
  5812. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  5813. type: integer
  5814. pendingtime:
  5815. description: 待开市时间[通道交易-对冲](HH:mm)
  5816. type: string
  5817. performancetempid:
  5818. description: 履约计划模板ID - 作废
  5819. type: integer
  5820. premiumquotemode:
  5821. description: 权利金报价方式 - 1:自动 2:手动
  5822. type: integer
  5823. rebateratio:
  5824. description: 返利比率[竞价式]
  5825. type: number
  5826. reckonorder:
  5827. description: 结算顺序
  5828. type: integer
  5829. reckonpricealgorithm:
  5830. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  5831. 6.卖一价 7.买一卖一均价 8.外部结算价'
  5832. type: integer
  5833. reckonpriceparam:
  5834. description: 结算价参数
  5835. type: integer
  5836. reckontime:
  5837. description: 结算时间[通道交易-对冲](HH:mm)
  5838. type: string
  5839. roleprioritytype:
  5840. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  5841. type: integer
  5842. selllistingauditflag:
  5843. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  5844. type: integer
  5845. trademarkettype:
  5846. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  5847. type: integer
  5848. trademode:
  5849. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5850. 21:竞拍-大宗式 22:受托竞价
  5851. type: integer
  5852. tradeproperty:
  5853. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  5854. 8:场外期权
  5855. type: integer
  5856. tradetype:
  5857. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  5858. type: integer
  5859. required:
  5860. - marketid
  5861. - marketstatus
  5862. - openmethod
  5863. - reckonpricealgorithm
  5864. - trademode
  5865. - tradeproperty
  5866. type: object
  5867. models.Marketrun:
  5868. properties:
  5869. afternexttradedate:
  5870. description: 下下交易日
  5871. type: string
  5872. clearquoteflag:
  5873. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  5874. type: integer
  5875. lastreckondate:
  5876. description: 最新交易日(结算成功)
  5877. type: string
  5878. machinedate:
  5879. description: 机器时间
  5880. type: string
  5881. manualflag:
  5882. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  5883. type: integer
  5884. marketid:
  5885. description: 市场ID
  5886. type: integer
  5887. nexttradedate:
  5888. description: 下一交易日
  5889. type: string
  5890. pretradedate:
  5891. description: 上一交易日
  5892. type: string
  5893. reckonflag:
  5894. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  5895. type: integer
  5896. runstatus:
  5897. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  5898. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  5899. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  5900. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  5901. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  5902. 62.今日免清算
  5903. type: integer
  5904. sectionid:
  5905. description: 时间段号[多时段时用]
  5906. type: integer
  5907. tradedate:
  5908. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  5909. type: string
  5910. tradedate2:
  5911. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  5912. type: string
  5913. updatetime:
  5914. description: 更新时间
  5915. type: string
  5916. required:
  5917. - marketid
  5918. - nexttradedate
  5919. - reckonflag
  5920. - runstatus
  5921. - tradedate
  5922. - tradedate2
  5923. type: object
  5924. models.Messageboard:
  5925. properties:
  5926. createtime:
  5927. description: 创建时间
  5928. type: string
  5929. message:
  5930. description: 留言信息
  5931. type: string
  5932. messageboardid:
  5933. description: 留言簿ID(SEQ_MessageBoard)
  5934. type: integer
  5935. userid:
  5936. description: 用户ID
  5937. type: integer
  5938. required:
  5939. - messageboardid
  5940. type: object
  5941. models.MyCoupon:
  5942. properties:
  5943. accountid:
  5944. description: 资金账户ID
  5945. type: integer
  5946. areauserid:
  5947. description: 所属机构
  5948. type: integer
  5949. conditionvalue:
  5950. description: 条件阈值(可为0)
  5951. type: number
  5952. couponcategroy:
  5953. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  5954. type: integer
  5955. couponname:
  5956. description: 优惠券名称
  5957. type: string
  5958. coupontypeid:
  5959. description: 优惠券类型ID
  5960. type: string
  5961. couponvalue:
  5962. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5963. type: number
  5964. curfreezeqty:
  5965. description: 期末冻结数量
  5966. type: integer
  5967. curqty:
  5968. description: 期末数量
  5969. type: integer
  5970. isgeneral:
  5971. description: 是否通用券 - 0:否 1:是
  5972. type: integer
  5973. isunusable:
  5974. description: 是否不可用
  5975. type: boolean
  5976. limitedflag:
  5977. description: 是否指定商品 - 0:不限 1:限制
  5978. type: integer
  5979. limitedgoodsids:
  5980. description: 指定商品IDs[逗号分隔,前后加逗号]
  5981. type: string
  5982. orifreezeqty:
  5983. description: 期初冻结数量
  5984. type: integer
  5985. oriqty:
  5986. description: 期初数量
  5987. type: integer
  5988. reasontype:
  5989. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5990. type: integer
  5991. todaydecrease:
  5992. description: 今日减少
  5993. type: integer
  5994. todayincrease:
  5995. description: 今日增加
  5996. type: integer
  5997. userid:
  5998. description: 用户ID
  5999. type: integer
  6000. userscope:
  6001. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6002. type: string
  6003. required:
  6004. - accountid
  6005. - coupontypeid
  6006. type: object
  6007. models.MyCouponHold:
  6008. properties:
  6009. accountid:
  6010. description: 资金账户ID
  6011. type: integer
  6012. conditionvalue:
  6013. description: 条件阈值(可为0)
  6014. type: number
  6015. couponcategroy:
  6016. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6017. type: integer
  6018. couponholdid:
  6019. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6020. type: string
  6021. couponname:
  6022. description: 优惠券名称
  6023. type: string
  6024. coupontypeid:
  6025. description: 优惠券类型ID - SEQ_COUPONTYPE
  6026. type: string
  6027. couponvalue:
  6028. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6029. type: number
  6030. createtime:
  6031. description: 创建时间
  6032. type: string
  6033. enddate:
  6034. description: 结束日期
  6035. type: string
  6036. giveapplyid:
  6037. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6038. type: integer
  6039. holdstatus:
  6040. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6041. type: integer
  6042. isgeneral:
  6043. description: 是否通用券 - 0:否 1:是
  6044. type: integer
  6045. limitedflag:
  6046. description: 是否指定商品 - 0:不限 1:限制
  6047. type: integer
  6048. limitedgoodsids:
  6049. description: 指定商品IDs[逗号分隔]
  6050. type: string
  6051. qty:
  6052. description: 数量(按1平铺)
  6053. type: integer
  6054. startdate:
  6055. description: 开始日期
  6056. type: string
  6057. userid:
  6058. description: 用户ID
  6059. type: integer
  6060. userscope:
  6061. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6062. type: string
  6063. required:
  6064. - couponholdid
  6065. type: object
  6066. models.MyUsedCoupon:
  6067. properties:
  6068. accountid:
  6069. description: 资金账户ID(买方)
  6070. type: integer
  6071. conditionvalue:
  6072. description: 条件阈值(可为0)
  6073. type: number
  6074. couponcategroy:
  6075. description: 种类 - 1:现金券 2:折扣券
  6076. type: integer
  6077. couponname:
  6078. description: 优惠券名称
  6079. type: string
  6080. coupontypeid:
  6081. description: 优惠券类型ID(买方)
  6082. type: string
  6083. couponvalue:
  6084. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6085. type: number
  6086. createtime:
  6087. description: 创建时间
  6088. type: string
  6089. goodsid:
  6090. description: 商品ID
  6091. type: integer
  6092. handlestatus:
  6093. description: 处理状态
  6094. type: integer
  6095. marketid:
  6096. description: 市场ID
  6097. type: integer
  6098. offamount:
  6099. description: 优惠金额
  6100. type: number
  6101. orderid:
  6102. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6103. type: string
  6104. sellaccountid:
  6105. description: 资金账户ID(卖方)
  6106. type: integer
  6107. tradeamount:
  6108. description: 成交金额
  6109. type: number
  6110. tradeid:
  6111. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6112. type: string
  6113. usedqty:
  6114. description: 使用数量
  6115. type: integer
  6116. required:
  6117. - coupontypeid
  6118. - orderid
  6119. type: object
  6120. models.OperationPrimaryMenu:
  6121. properties:
  6122. Children:
  6123. description: 二级功能菜单
  6124. items:
  6125. $ref: '#/definitions/models.OperationSecondaryMenu'
  6126. type: array
  6127. Key:
  6128. description: 菜单KEY
  6129. type: string
  6130. Label:
  6131. description: 菜单标题
  6132. type: string
  6133. type: object
  6134. models.OperationSecondaryMenu:
  6135. properties:
  6136. Key:
  6137. description: 菜单KEY
  6138. type: string
  6139. Label:
  6140. description: 菜单标题
  6141. type: string
  6142. TabList:
  6143. description: 三级功能菜单
  6144. items:
  6145. $ref: '#/definitions/models.OperationTabMenu'
  6146. type: array
  6147. type: object
  6148. models.OperationTabMenu:
  6149. properties:
  6150. Key:
  6151. description: 菜单KEY
  6152. type: string
  6153. Label:
  6154. description: 菜单标题
  6155. type: string
  6156. type: object
  6157. models.QueryErrorInfosRsp:
  6158. properties:
  6159. description:
  6160. description: 异常描述
  6161. type: string
  6162. errorcode:
  6163. description: 异常代码
  6164. type: string
  6165. errorid:
  6166. description: 异常ID
  6167. type: integer
  6168. modulecode:
  6169. description: 所属模块
  6170. type: string
  6171. operatecode:
  6172. description: 所属操作
  6173. type: string
  6174. rownumber:
  6175. description: 行号
  6176. type: string
  6177. required:
  6178. - errorid
  6179. type: object
  6180. models.QueryHedgeOrderDetailRsp:
  6181. properties:
  6182. accountid:
  6183. description: 账户ID
  6184. type: integer
  6185. buyorsell:
  6186. description: 买卖 - 0:买 1:卖
  6187. type: integer
  6188. channelbuildtype:
  6189. description: 开平标志 - 0:无 1:建仓 2:平仓
  6190. type: integer
  6191. channelinnerorderstatus:
  6192. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6193. 9:全部成交
  6194. type: integer
  6195. channeloperatetype:
  6196. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6197. type: integer
  6198. closetype:
  6199. description: 平仓方式 - 0:无 1:平今 2:平昨
  6200. type: integer
  6201. curexchangerate:
  6202. description: 当前汇率
  6203. type: number
  6204. exchangefullname:
  6205. description: 外部交易所全称
  6206. type: string
  6207. goodscode:
  6208. description: 商品代码(内部)
  6209. type: string
  6210. goodsid:
  6211. description: 商品ID
  6212. type: integer
  6213. goodsname:
  6214. description: 商品名称
  6215. type: string
  6216. marketid:
  6217. description: 市场ID
  6218. type: integer
  6219. openfreezemargin:
  6220. description: 冻结保证金(冻结交易金额)
  6221. type: number
  6222. orderid:
  6223. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6224. type: string
  6225. orderprice:
  6226. description: 委托价格(账户)
  6227. type: number
  6228. orderqty:
  6229. description: 委托数量
  6230. type: integer
  6231. ordertime:
  6232. description: 委托时间
  6233. type: string
  6234. pricemode:
  6235. description: '取价方式 - 1:市价 2: 限价'
  6236. type: integer
  6237. tradedate:
  6238. description: 交易日(yyyyMMdd)
  6239. type: string
  6240. tradeqty:
  6241. description: 成交数量
  6242. type: integer
  6243. type: object
  6244. models.QuotePrimaryMenu:
  6245. properties:
  6246. Index:
  6247. description: 序号
  6248. type: integer
  6249. Key:
  6250. description: 键名
  6251. type: string
  6252. Name:
  6253. description: 菜单名称
  6254. type: string
  6255. SubMenus:
  6256. description: 子菜单
  6257. items:
  6258. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6259. type: array
  6260. SubTitleType:
  6261. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6262. type: integer
  6263. TradeModes:
  6264. description: 包含市场交易类型
  6265. type: string
  6266. type: object
  6267. models.QuoteSecondaryMenu:
  6268. properties:
  6269. ExExchangeCode:
  6270. description: 外部交易所代码
  6271. type: string
  6272. ExExchangeID:
  6273. description: 外部交易所ID
  6274. type: integer
  6275. GoodsGroupIDs:
  6276. description: 商品组ID列表
  6277. items:
  6278. type: integer
  6279. type: array
  6280. Index:
  6281. description: 序号
  6282. type: integer
  6283. MarketID:
  6284. description: 市场ID
  6285. type: integer
  6286. MenuTitle:
  6287. description: 菜单标题(市场名称或外部交易所名称)
  6288. type: string
  6289. TradeMode:
  6290. description: 交易模式
  6291. type: integer
  6292. type: object
  6293. models.SearchGoods:
  6294. properties:
  6295. goodscode:
  6296. description: 商品代码(内部)
  6297. type: string
  6298. goodsid:
  6299. description: 商品ID(自增ID SEQ_GOODS)
  6300. type: integer
  6301. goodsname:
  6302. description: 商品名称
  6303. type: string
  6304. marketid:
  6305. description: 所属市场ID
  6306. type: integer
  6307. marketname:
  6308. description: 市场名称
  6309. type: string
  6310. trademode:
  6311. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6312. 21:竞拍-大宗式 22:受托竞价
  6313. type: integer
  6314. required:
  6315. - goodscode
  6316. - goodsid
  6317. - goodsname
  6318. - marketid
  6319. - trademode
  6320. type: object
  6321. models.Szdz2imageconfig:
  6322. properties:
  6323. configid:
  6324. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  6325. type: integer
  6326. imagepath:
  6327. description: 图片
  6328. type: string
  6329. imagetype:
  6330. description: 类型 - 1:App首页轮播 2:我的
  6331. type: integer
  6332. sort:
  6333. description: 排序
  6334. type: integer
  6335. title:
  6336. description: 标题
  6337. type: string
  6338. url:
  6339. description: 链接
  6340. type: string
  6341. required:
  6342. - configid
  6343. type: object
  6344. models.Szdz3convertconfig:
  6345. properties:
  6346. canin:
  6347. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  6348. type: integer
  6349. canout:
  6350. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  6351. type: integer
  6352. converttype:
  6353. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6354. 6:交易转花生米(不设置)
  6355. type: integer
  6356. createtime:
  6357. description: 创建时间
  6358. type: string
  6359. creatorid:
  6360. description: 创建人
  6361. type: integer
  6362. daymaxvalue:
  6363. description: 当日最大转入限制
  6364. type: number
  6365. freezedays:
  6366. description: 冻结天数 [5:花生米转交易]
  6367. type: integer
  6368. innergoodsid:
  6369. description: 内部商品ID[交易]
  6370. type: integer
  6371. inratio:
  6372. description: 目标值
  6373. type: integer
  6374. modifierid:
  6375. description: 修改人
  6376. type: integer
  6377. modifytime:
  6378. description: 修改时间
  6379. type: string
  6380. outergoodscode:
  6381. description: 外部商品代码[JD\PD]
  6382. type: string
  6383. outratio:
  6384. description: 源值
  6385. type: integer
  6386. pddecimalplace:
  6387. description: PD小数位
  6388. type: integer
  6389. timemaxvalue:
  6390. description: 单次最大转入限制
  6391. type: number
  6392. timeminvalue:
  6393. description: 单次最小转入限制
  6394. type: number
  6395. required:
  6396. - converttype
  6397. - innergoodsid
  6398. - outergoodscode
  6399. type: object
  6400. models.Szdz3searchwhitelist:
  6401. properties:
  6402. createtime:
  6403. description: 创建时间
  6404. type: string
  6405. creatorid:
  6406. description: 创建人
  6407. type: integer
  6408. modifierid:
  6409. description: 修改人
  6410. type: integer
  6411. modifytime:
  6412. description: 修改时间
  6413. type: string
  6414. userid:
  6415. description: 用户ID
  6416. type: integer
  6417. required:
  6418. - userid
  6419. type: object
  6420. models.Taaccount:
  6421. properties:
  6422. accountflag:
  6423. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  6424. type: integer
  6425. accountid:
  6426. description: 资金账户ID
  6427. type: integer
  6428. accountname:
  6429. description: 账户名称
  6430. type: string
  6431. balance:
  6432. description: 期初余额
  6433. type: number
  6434. capitalbalance:
  6435. description: 本金余额[外部子账户实际出入金余额]
  6436. type: number
  6437. changeflag:
  6438. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  6439. type: integer
  6440. changetime:
  6441. description: 账户状态变更时间
  6442. type: string
  6443. closepl:
  6444. description: 今日平仓盈亏
  6445. type: number
  6446. creditdecrease:
  6447. description: 今日授信减少
  6448. type: number
  6449. creditincrease:
  6450. description: 今日授信增加
  6451. type: number
  6452. currencyid:
  6453. description: 货币ID
  6454. type: integer
  6455. currentbalance:
  6456. description: 期末余额
  6457. type: number
  6458. freezecharge:
  6459. description: 手续费冻结
  6460. type: number
  6461. freezemargin:
  6462. description: 冻结保证金
  6463. type: number
  6464. fromaccountid:
  6465. description: 所属上级账户
  6466. type: integer
  6467. inamount:
  6468. description: 今日入金金额(包括三方入金)
  6469. type: number
  6470. ismain:
  6471. description: 是否母账号 0:不是母账户 1:是母账户
  6472. type: integer
  6473. ismarketaccount:
  6474. description: 是否机构接单账号 0:不是 1:是
  6475. type: integer
  6476. isreckonaccount:
  6477. description: 是否机构分润账号 0:不是 1:是
  6478. type: integer
  6479. mortgagecredit:
  6480. description: 授信金额
  6481. type: number
  6482. orifreezecharge:
  6483. description: 期初手续费冻结
  6484. type: number
  6485. orifreezemargin:
  6486. description: 期初冻结保证金
  6487. type: number
  6488. orimortgagecredit:
  6489. description: 期初授信金额
  6490. type: number
  6491. oriothercredit:
  6492. description: 期初其它授信金额
  6493. type: number
  6494. oriotherfreezemargin:
  6495. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6496. type: number
  6497. orioutamountfreeze:
  6498. description: 期初出金冻结
  6499. type: number
  6500. oriusedmargin:
  6501. description: 期初占用保证金
  6502. type: number
  6503. othercredit:
  6504. description: 其它授信金额
  6505. type: number
  6506. othercreditdecrease:
  6507. description: 今日其它授信减少
  6508. type: number
  6509. othercreditincrease:
  6510. description: 今日其它授信增加
  6511. type: number
  6512. otherfreezemargin:
  6513. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6514. type: number
  6515. otherincome:
  6516. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  6517. type: number
  6518. otherpay:
  6519. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  6520. type: number
  6521. outamount:
  6522. description: 今日出金金额(包括三方出金)
  6523. type: number
  6524. outamountfreeze:
  6525. description: 出金冻结
  6526. type: number
  6527. outthreshold:
  6528. description: 出金阈值
  6529. type: number
  6530. parentaccountid:
  6531. description: 所属根账号
  6532. type: integer
  6533. paycharge:
  6534. description: 今日手续费支出
  6535. type: number
  6536. relatedaccountstatus:
  6537. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  6538. type: integer
  6539. relateduserid:
  6540. description: 关联用户
  6541. type: integer
  6542. serivcegroup:
  6543. description: 服务分组
  6544. type: integer
  6545. signstatus:
  6546. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6547. type: integer
  6548. sublevelpath:
  6549. description: 账号层级路径(逗号分隔,首尾加逗号)
  6550. type: string
  6551. taaccounttype:
  6552. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6553. type: integer
  6554. thirdinamount:
  6555. description: 今日三方入金
  6556. type: number
  6557. thirdoutamount:
  6558. description: 今日三方出金
  6559. type: number
  6560. tradestatus:
  6561. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6562. type: integer
  6563. tradestatuschangetime:
  6564. description: 激活时间
  6565. type: string
  6566. transferamount:
  6567. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6568. type: number
  6569. usedmargin:
  6570. description: 占用保证金
  6571. type: number
  6572. userid:
  6573. description: 用户ID
  6574. type: integer
  6575. required:
  6576. - accountid
  6577. - userid
  6578. type: object
  6579. models.Tablecolumnconfig:
  6580. properties:
  6581. aligntype:
  6582. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  6583. type: integer
  6584. autoid:
  6585. description: AutoID
  6586. type: integer
  6587. columnfield:
  6588. description: 列字段
  6589. type: string
  6590. columntitle:
  6591. description: 列Title
  6592. type: string
  6593. columnwidth:
  6594. description: 列宽
  6595. type: string
  6596. formatterstring:
  6597. description: 格式化字符
  6598. type: string
  6599. formattertype:
  6600. description: 格式化类型
  6601. type: string
  6602. groupname:
  6603. description: 表头分组名称
  6604. type: string
  6605. isshow:
  6606. description: 是否显示 - 0:不显示 1:显示
  6607. type: integer
  6608. needsummary:
  6609. description: 是否需要汇总 - 0:不需要 1:需要
  6610. type: integer
  6611. orderindex:
  6612. description: 顺序
  6613. type: integer
  6614. remark:
  6615. description: 备注
  6616. type: string
  6617. summarytype:
  6618. description: 汇总类型 - 1:加总 2:最后一个
  6619. type: integer
  6620. tablekey:
  6621. description: 列表Key
  6622. type: string
  6623. required:
  6624. - autoid
  6625. type: object
  6626. models.Useraccount:
  6627. properties:
  6628. accountname:
  6629. description: 账户名称(机构名称)
  6630. type: string
  6631. accountstatus:
  6632. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6633. type: integer
  6634. auditremark:
  6635. description: 审核备注
  6636. type: string
  6637. audittime:
  6638. description: 审核时间
  6639. type: string
  6640. audituserid:
  6641. description: 审核人
  6642. type: integer
  6643. broker:
  6644. description: 所属经纪人ID
  6645. type: integer
  6646. canceltime:
  6647. description: 销户时间
  6648. type: string
  6649. canceluserid:
  6650. description: 销户人
  6651. type: integer
  6652. createtime:
  6653. description: 创建时间
  6654. type: string
  6655. creatorid:
  6656. description: 创建人
  6657. type: integer
  6658. hasauth:
  6659. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6660. type: integer
  6661. isanonymous:
  6662. description: 是否匿名下单 - 0:否 1:是
  6663. type: integer
  6664. maxinvestornum:
  6665. description: 最大用户数(经纪会员下投资者个数)
  6666. type: integer
  6667. memberuserid:
  6668. description: 所属会员ID
  6669. type: integer
  6670. modifierid:
  6671. description: 修改人
  6672. type: integer
  6673. modifyremark:
  6674. description: 变更备注
  6675. type: string
  6676. modifystatus:
  6677. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6678. type: integer
  6679. modifytime:
  6680. description: 修改时间
  6681. type: string
  6682. parentuserid:
  6683. description: 所属机构ID
  6684. type: integer
  6685. reckonaccountid:
  6686. description: 默认结算资金账号ID(机构分润使用) 作废
  6687. type: integer
  6688. refercount:
  6689. description: 推荐总人数
  6690. type: integer
  6691. refereeuserid:
  6692. description: 推荐人ID
  6693. type: integer
  6694. refernum:
  6695. description: 推荐码
  6696. type: string
  6697. subarealevelpath:
  6698. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6699. type: string
  6700. userid:
  6701. description: 用户ID
  6702. type: integer
  6703. usertype:
  6704. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6705. type: integer
  6706. required:
  6707. - userid
  6708. type: object
  6709. models.Userfavoritegoods:
  6710. properties:
  6711. goodsid:
  6712. description: 商品ID
  6713. type: integer
  6714. required:
  6715. - goodsid
  6716. type: object
  6717. models.Userinfo:
  6718. properties:
  6719. address:
  6720. description: 地址
  6721. type: string
  6722. attachment1:
  6723. description: 附件1
  6724. type: string
  6725. attachment2:
  6726. description: 附件2
  6727. type: string
  6728. bankaccount:
  6729. description: 银行帐号 (加密存储)
  6730. type: string
  6731. bankaccountname:
  6732. description: 收款人名称
  6733. type: string
  6734. bankcardfrontphotourl:
  6735. description: 银行卡正面照地址
  6736. type: string
  6737. bankid:
  6738. description: 银行编码
  6739. type: string
  6740. bankname:
  6741. description: 银行名称
  6742. type: string
  6743. biznature:
  6744. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  6745. type: integer
  6746. bizscope:
  6747. description: 企业经营范围(企业)
  6748. type: string
  6749. cardbackphotourl:
  6750. description: 证件背面图片地址
  6751. type: string
  6752. cardfrontphotourl:
  6753. description: 证件正面图片地址
  6754. type: string
  6755. cardnum:
  6756. description: 证件号码(加密存储)
  6757. type: string
  6758. cardtypeid:
  6759. description: 证件类型ID
  6760. type: integer
  6761. cityid:
  6762. description: 市
  6763. type: integer
  6764. company:
  6765. description: 公司(个人)
  6766. type: string
  6767. contactname:
  6768. description: 联系人
  6769. type: string
  6770. countryid:
  6771. description: 国家
  6772. type: integer
  6773. createtime:
  6774. description: 创建时间
  6775. type: string
  6776. creatorid:
  6777. description: 创建人
  6778. type: integer
  6779. customername:
  6780. description: 客户名称(企业名称)
  6781. type: string
  6782. districtid:
  6783. description: 地区
  6784. type: integer
  6785. email:
  6786. description: 邮件(加密存储)
  6787. type: string
  6788. fax:
  6789. description: 传真(加密存储)
  6790. type: string
  6791. halfbodyphotourl:
  6792. description: 半身照地址
  6793. type: string
  6794. hasencrypt:
  6795. description: 数据是否已加密 - 0:未加密 1:已加密
  6796. type: integer
  6797. headurl:
  6798. description: 头像地址
  6799. type: string
  6800. legalcardbackphotourl:
  6801. description: 法人身份证背面照地址
  6802. type: string
  6803. legalcardfrontphotourl:
  6804. description: 法人身份证正面照地址
  6805. type: string
  6806. legalpersonname:
  6807. description: 法人姓名(企业)
  6808. type: string
  6809. mobile:
  6810. description: 手机号码(加密存储)
  6811. type: string
  6812. mobile2:
  6813. description: 手机号码[明文-尚志]
  6814. type: string
  6815. modifierid:
  6816. description: 修改人
  6817. type: integer
  6818. modifiertime:
  6819. description: 修改时间
  6820. type: string
  6821. needinvoice:
  6822. description: 是否需要发票 - 0:不需要 1:需要
  6823. type: integer
  6824. nickname:
  6825. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  6826. type: string
  6827. openmode:
  6828. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  6829. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  6830. type: integer
  6831. otherurl:
  6832. description: 其它图片地址[使用分号分隔]
  6833. type: string
  6834. postalcode:
  6835. description: 邮政编码
  6836. type: string
  6837. provinceid:
  6838. description: 省
  6839. type: integer
  6840. qq:
  6841. description: QQ(加密存储
  6842. type: string
  6843. remark:
  6844. description: 备注
  6845. type: string
  6846. sex:
  6847. description: '用户性别 0: 女 1: 男'
  6848. type: integer
  6849. signpdfurl:
  6850. description: 签约pdf文件
  6851. type: string
  6852. telphone:
  6853. description: 联系电话(加密存储)
  6854. type: string
  6855. userid:
  6856. description: 用户ID
  6857. type: integer
  6858. userinfotype:
  6859. description: 用户信息类型 - 1:个人 2:企业
  6860. type: integer
  6861. userstatus:
  6862. description: 用户状态 - 1:正常 2:注销
  6863. type: integer
  6864. usertype:
  6865. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6866. type: integer
  6867. wechat:
  6868. description: 微信(加密存储)
  6869. type: string
  6870. wskhinfo:
  6871. description: 开户申请信息(JSON)
  6872. type: string
  6873. required:
  6874. - userid
  6875. type: object
  6876. models.WRCategoryTree:
  6877. properties:
  6878. areauserid:
  6879. description: 所属机构
  6880. type: integer
  6881. categorydesc:
  6882. description: 类别描述
  6883. type: string
  6884. categoryid:
  6885. description: 类别ID(SEQ_WRCATEGORY)
  6886. type: integer
  6887. categoryname:
  6888. description: 类别名称
  6889. type: string
  6890. iconurl:
  6891. description: 图标地址
  6892. type: string
  6893. orderindex:
  6894. description: 顺序
  6895. type: integer
  6896. parentcategoryid:
  6897. description: 父类别ID
  6898. type: integer
  6899. subcategory:
  6900. description: 子分类
  6901. items:
  6902. $ref: '#/definitions/models.WRCategoryTree'
  6903. type: array
  6904. required:
  6905. - categoryid
  6906. type: object
  6907. models.WRSConverTDetail:
  6908. properties:
  6909. convertratio:
  6910. description: 套保系数
  6911. type: number
  6912. deliverygoodsid:
  6913. description: 现货品种ID
  6914. type: integer
  6915. middlegoodscode:
  6916. description: 套保品种代码
  6917. type: string
  6918. middlegoodsid:
  6919. description: 套保品种ID
  6920. type: integer
  6921. middlegoodsname:
  6922. description: 套保品种名称
  6923. type: string
  6924. modifytime:
  6925. description: 修改时间
  6926. type: string
  6927. wrstandardid:
  6928. description: 现货商品ID
  6929. type: integer
  6930. type: object
  6931. models.WRStandardInfo:
  6932. properties:
  6933. createtime:
  6934. description: 创建时间
  6935. type: string
  6936. creatorid:
  6937. description: 创建人
  6938. type: integer
  6939. deliverygoodsid:
  6940. description: 品种ID
  6941. type: integer
  6942. deliverygoodsname:
  6943. description: 交割商品名称
  6944. type: string
  6945. factoryitemjson:
  6946. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  6947. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  6948. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  6949. 逗号分隔'
  6950. type: string
  6951. isvalid:
  6952. description: 是否有效 - 0:无效 1:有效
  6953. type: integer
  6954. minivalue:
  6955. description: 最小变动值
  6956. type: integer
  6957. minivaluedp:
  6958. description: 最小变动值小数位
  6959. type: integer
  6960. realminivalue:
  6961. description: 实际最小变动值
  6962. type: integer
  6963. realminivaluedp:
  6964. description: 实际最小变动值小数位
  6965. type: integer
  6966. unitid:
  6967. description: 单位ID
  6968. type: integer
  6969. unitname:
  6970. description: 单位
  6971. type: string
  6972. updatetime:
  6973. description: 更新时间
  6974. type: string
  6975. updatorid:
  6976. description: 更新人
  6977. type: integer
  6978. wrsstatus:
  6979. description: 状态 - 作废 - 0:未激活 1:正常
  6980. type: integer
  6981. wrstandardcode:
  6982. description: 仓单标准代码
  6983. type: string
  6984. wrstandardid:
  6985. description: 仓单标准ID(SEQ_WRSTANDARD)
  6986. type: integer
  6987. wrstandardname:
  6988. description: 仓单标准名称
  6989. type: string
  6990. required:
  6991. - wrstandardid
  6992. type: object
  6993. models.Warehouseinfo:
  6994. properties:
  6995. address:
  6996. description: 详细地址
  6997. type: string
  6998. areauserid:
  6999. description: 所属机构
  7000. type: integer
  7001. autoid:
  7002. description: 自增ID
  7003. type: integer
  7004. cityid:
  7005. description: 市
  7006. type: integer
  7007. contactname:
  7008. description: 联系人
  7009. type: string
  7010. contactnum:
  7011. description: 联系电话
  7012. type: string
  7013. countryid:
  7014. description: 国家
  7015. type: integer
  7016. createtime:
  7017. description: 创建时间
  7018. type: string
  7019. districtid:
  7020. description: 区
  7021. type: integer
  7022. hasvideo:
  7023. description: 是否有视频 - 0:无 1:有
  7024. type: integer
  7025. provinceid:
  7026. description: 省
  7027. type: integer
  7028. remark:
  7029. description: 审核备注
  7030. type: string
  7031. videourl:
  7032. description: 视频地址
  7033. type: string
  7034. warehousecode:
  7035. description: 仓库代码
  7036. type: string
  7037. warehousename:
  7038. description: 仓库名称
  7039. type: string
  7040. warehousestatus:
  7041. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7042. type: integer
  7043. warehousetype:
  7044. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7045. type: integer
  7046. required:
  7047. - autoid
  7048. - warehousecode
  7049. type: object
  7050. order.QueryHisTradeDetailRsp:
  7051. properties:
  7052. accountid:
  7053. description: 账户ID[报价币种]
  7054. type: integer
  7055. buildtype:
  7056. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7057. type: integer
  7058. buyorsell:
  7059. description: 方向 - 0:买 1:卖
  7060. type: integer
  7061. charge:
  7062. description: 手续费
  7063. type: number
  7064. closecharge:
  7065. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7066. type: number
  7067. closeexchagechargevalue:
  7068. description: 平仓交易所手续费设置值
  7069. type: number
  7070. closefeealgorithm:
  7071. description: 平仓手续费收取方式 1:比率 2:固定
  7072. type: integer
  7073. closememberchargevalue:
  7074. description: 平仓会员手续费设置值
  7075. type: number
  7076. closepl:
  7077. description: 平仓盈亏
  7078. type: number
  7079. closepl2:
  7080. description: 平仓盈亏[逐笔]
  7081. type: number
  7082. closeqty:
  7083. description: 平仓数量(先建后平操作 需要记录)
  7084. type: integer
  7085. creditamount:
  7086. description: 授信金额
  7087. type: number
  7088. gcaccountid:
  7089. description: 账户ID[合约币种]
  7090. type: integer
  7091. goodscode:
  7092. description: 商品代码
  7093. type: string
  7094. goodsid:
  7095. description: 商品ID
  7096. type: integer
  7097. goodsname:
  7098. description: 商品名称
  7099. type: string
  7100. histradedate:
  7101. description: 历史交易日
  7102. type: string
  7103. intclosepl:
  7104. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7105. type: integer
  7106. isconfirmexercise:
  7107. description: 是否确认行权- 0:否 1:是
  7108. type: integer
  7109. ismain:
  7110. description: 是否主单 - 0:不是 1:是
  7111. type: integer
  7112. ispreexercise:
  7113. description: 是否预申报- 0:否 1:是
  7114. type: integer
  7115. isreckoned:
  7116. description: 是否结算 - 0:未结算 1:已结算
  7117. type: integer
  7118. isvaliddata:
  7119. description: 是否有效 - 0:无效 1:有效
  7120. type: integer
  7121. listingselecttype:
  7122. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7123. type: integer
  7124. marketid:
  7125. description: 市场ID
  7126. type: integer
  7127. marketname:
  7128. description: 市场名称
  7129. type: string
  7130. matchaccountid:
  7131. description: 对手账号id
  7132. type: integer
  7133. memberuserid:
  7134. description: 会员id 个人投资者 需要填写
  7135. type: integer
  7136. opencharge:
  7137. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7138. type: number
  7139. openexchagechargevalue:
  7140. description: 建仓交易所手续费设置值
  7141. type: number
  7142. openfeealgorithm:
  7143. description: 建仓手续费收取方式 1:比率 2:固定
  7144. type: integer
  7145. openmemberchargevalue:
  7146. description: 建仓会员手续费设置值
  7147. type: number
  7148. openqty:
  7149. description: 开仓数量(先建后平操作 需要记录)
  7150. type: integer
  7151. optiontype:
  7152. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7153. type: integer
  7154. orderid:
  7155. description: 委托单号
  7156. type: string
  7157. performanceplanid:
  7158. description: 履约计划ID[期权]
  7159. type: integer
  7160. performancestatus:
  7161. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7162. type: integer
  7163. preexerciseprice:
  7164. description: 预申报价格
  7165. type: number
  7166. premium:
  7167. description: 权利金 - [持仓单的权利金]
  7168. type: number
  7169. relatedouttradeid:
  7170. description: 关联外部成交单ID
  7171. type: integer
  7172. status:
  7173. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7174. type: integer
  7175. tradeamount:
  7176. description: 成交金额[账户币种,用于所有权]
  7177. type: number
  7178. tradedate:
  7179. description: 交易日(yyyyMMdd)
  7180. type: string
  7181. tradeid:
  7182. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7183. type: string
  7184. trademode:
  7185. description: 交易模式
  7186. type: integer
  7187. tradeprice:
  7188. description: 成交价格
  7189. type: number
  7190. tradeproperty:
  7191. description: 交易属性
  7192. type: integer
  7193. tradeqty:
  7194. description: 成交数量
  7195. type: integer
  7196. tradetime:
  7197. description: 成交时间
  7198. type: string
  7199. tradetype:
  7200. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7201. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7202. type: integer
  7203. required:
  7204. - accountid
  7205. - buyorsell
  7206. - goodsid
  7207. - histradedate
  7208. - marketid
  7209. - memberuserid
  7210. - orderid
  7211. - tradeamount
  7212. - tradedate
  7213. - tradeid
  7214. - tradeprice
  7215. - tradeqty
  7216. - tradetime
  7217. type: object
  7218. order.QueryHisTradeOrderDetailRsp:
  7219. properties:
  7220. accountid:
  7221. description: 账户ID[报价币种]
  7222. type: integer
  7223. buildtype:
  7224. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7225. type: integer
  7226. buyorsell:
  7227. description: 买卖 - 0:买 1:卖
  7228. type: integer
  7229. cancelorderid:
  7230. description: 撤单单号(撤单时填写)
  7231. type: string
  7232. cancelqty:
  7233. description: 撤单数量
  7234. type: integer
  7235. clientordertime:
  7236. description: 客户端委托时间
  7237. type: string
  7238. clientticket:
  7239. description: 客户端流水号
  7240. type: string
  7241. clienttype:
  7242. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7243. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7244. type: integer
  7245. closeexchagechargevalue:
  7246. description: 平仓交易所手续费设置值
  7247. type: number
  7248. closefeealgorithm:
  7249. description: 平仓手续费收取方式 1:比率 2:固定
  7250. type: integer
  7251. closefreezecharge:
  7252. description: 平仓冻结手续费(先建后平操作,需要记录)
  7253. type: number
  7254. closememberchargevalue:
  7255. description: 平仓会员手续费设置值
  7256. type: number
  7257. closeqty:
  7258. description: 平仓数量(先建后平操作 需要记录)
  7259. type: integer
  7260. closetradeqty:
  7261. description: 平仓成交数量(先建后平操作,需要记录)
  7262. type: integer
  7263. closeunfreezecharge:
  7264. description: 平仓解冻手续费(先建后平操作,需要记录)
  7265. type: number
  7266. delistingtype:
  7267. description: 摘牌类型 - 1:价格最优 2:点选成交
  7268. type: integer
  7269. freezecharge:
  7270. description: 冻结手续费
  7271. type: number
  7272. freezemargin:
  7273. description: 冻结保证金(冻结交易金额)
  7274. type: number
  7275. gcaccountid:
  7276. description: 账户ID[合约币种]
  7277. type: integer
  7278. goodscode:
  7279. description: 商品代码
  7280. type: string
  7281. goodsid:
  7282. description: 商品ID
  7283. type: integer
  7284. goodsname:
  7285. description: 商品名称
  7286. type: string
  7287. histradedate:
  7288. description: 历史交易日
  7289. type: string
  7290. isconfirmexercise:
  7291. description: 是否确认行权- 0:否 1:是
  7292. type: integer
  7293. ispreexercise:
  7294. description: 是否预申报- 0:否 1:是
  7295. type: integer
  7296. isvaliddata:
  7297. description: 是否有效 - 0:无效 1:有效
  7298. type: integer
  7299. listingselecttype:
  7300. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7301. type: integer
  7302. marginalgorithm:
  7303. description: 保证金收取方式 1:比率 2:固定
  7304. type: integer
  7305. marginvalue:
  7306. description: 即市保证金设置值
  7307. type: number
  7308. marketid:
  7309. description: 市场ID
  7310. type: integer
  7311. marketmaxsub:
  7312. description: 市价最大偏移范围
  7313. type: number
  7314. marketname:
  7315. description: 市场名称
  7316. type: string
  7317. memberuserid:
  7318. description: 所属会员UserID
  7319. type: integer
  7320. openexchagechargevalue:
  7321. description: 建仓交易所手续费设置值
  7322. type: number
  7323. openfeealgorithm:
  7324. description: 建仓手续费收取方式 1:比率 2:固定
  7325. type: integer
  7326. openfreezecharge:
  7327. description: 开仓冻结手续费(先建后平操作,需要记录)
  7328. type: number
  7329. openmemberchargevalue:
  7330. description: 建仓会员手续费设置值
  7331. type: number
  7332. openqty:
  7333. description: 开仓数量(先建后平操作,需要记录)
  7334. type: integer
  7335. opentradeqty:
  7336. description: 开仓成交数量(先建后平操作,需要记录)
  7337. type: integer
  7338. openunfreezecharge:
  7339. description: 开仓解冻手续费(先建后平操作,需要记录)
  7340. type: number
  7341. operatetype:
  7342. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7343. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7344. 15:管理端协议转让
  7345. type: integer
  7346. operatorid:
  7347. description: 登录账号(LoginID)
  7348. type: integer
  7349. optiontype:
  7350. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7351. type: integer
  7352. orderid:
  7353. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7354. type: string
  7355. orderprice:
  7356. description: 委托价格
  7357. type: number
  7358. orderqty:
  7359. description: 委托数量
  7360. type: integer
  7361. ordersrc:
  7362. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7363. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7364. type: integer
  7365. orderstatus:
  7366. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7367. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7368. 16:成交失败违约(荷兰式竞拍专用)
  7369. type: integer
  7370. ordertime:
  7371. description: 委托时间
  7372. type: string
  7373. preexerciseprice:
  7374. description: 预申报价格
  7375. type: number
  7376. premium:
  7377. description: 权利金
  7378. type: number
  7379. preorderid:
  7380. description: 关联预埋单号(止盈止损单时填写)
  7381. type: string
  7382. pricemode:
  7383. description: '取价方式 - 1:市价 2: 限价'
  7384. type: integer
  7385. quoteid:
  7386. description: 报价单ID
  7387. type: integer
  7388. relatedid:
  7389. description: 关联单号(交割单)
  7390. type: string
  7391. retcode:
  7392. description: 错误代码
  7393. type: integer
  7394. sessionid:
  7395. description: 会话ID
  7396. type: integer
  7397. tradedate:
  7398. description: 交易日(yyyyMMdd)
  7399. type: string
  7400. trademode:
  7401. description: 交易模式
  7402. type: integer
  7403. tradeproperty:
  7404. description: 交易属性
  7405. type: integer
  7406. tradeqty:
  7407. description: 成交数量
  7408. type: integer
  7409. unfreezecharge:
  7410. description: 解冻手续费
  7411. type: number
  7412. unfreezemargin:
  7413. description: 解冻保证金
  7414. type: number
  7415. updatetime:
  7416. description: 更新时间
  7417. type: string
  7418. uuid:
  7419. description: 发起端唯一id
  7420. type: string
  7421. validtime:
  7422. description: 有效期限
  7423. type: string
  7424. validtype:
  7425. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7426. type: integer
  7427. volumetype:
  7428. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7429. type: integer
  7430. required:
  7431. - accountid
  7432. - buildtype
  7433. - buyorsell
  7434. - goodsid
  7435. - histradedate
  7436. - marketid
  7437. - memberuserid
  7438. - operatetype
  7439. - orderid
  7440. - orderqty
  7441. - ordertime
  7442. - pricemode
  7443. - tradedate
  7444. - validtype
  7445. type: object
  7446. order.QueryTradeDetailRsp:
  7447. properties:
  7448. accountid:
  7449. description: 账户ID[报价币种]
  7450. type: integer
  7451. buildtype:
  7452. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7453. type: integer
  7454. buyorsell:
  7455. description: 方向 - 0:买 1:卖
  7456. type: integer
  7457. charge:
  7458. description: 手续费
  7459. type: number
  7460. closecharge:
  7461. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7462. type: number
  7463. closeexchagechargevalue:
  7464. description: 平仓交易所手续费设置值
  7465. type: number
  7466. closefeealgorithm:
  7467. description: 平仓手续费收取方式 1:比率 2:固定
  7468. type: integer
  7469. closememberchargevalue:
  7470. description: 平仓会员手续费设置值
  7471. type: number
  7472. closepl:
  7473. description: 平仓盈亏
  7474. type: number
  7475. closepl2:
  7476. description: 平仓盈亏[逐笔]
  7477. type: number
  7478. closeqty:
  7479. description: 平仓数量(先建后平操作 需要记录)
  7480. type: integer
  7481. creditamount:
  7482. description: 授信金额
  7483. type: number
  7484. gcaccountid:
  7485. description: 账户ID[合约币种]
  7486. type: integer
  7487. goodscode:
  7488. description: 商品代码
  7489. type: string
  7490. goodsid:
  7491. description: 商品ID
  7492. type: integer
  7493. goodsname:
  7494. description: 商品名称
  7495. type: string
  7496. intclosepl:
  7497. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7498. type: integer
  7499. isconfirmexercise:
  7500. description: 是否确认行权- 0:否 1:是
  7501. type: integer
  7502. ismain:
  7503. description: 是否主单 - 0:不是 1:是
  7504. type: integer
  7505. ispreexercise:
  7506. description: 是否预申报- 0:否 1:是
  7507. type: integer
  7508. isreckoned:
  7509. description: 是否结算 - 0:未结算 1:已结算
  7510. type: integer
  7511. listingselecttype:
  7512. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7513. type: integer
  7514. marketid:
  7515. description: 市场ID
  7516. type: integer
  7517. marketname:
  7518. description: 市场名称
  7519. type: string
  7520. matchaccountid:
  7521. description: 对手账号id
  7522. type: integer
  7523. memberuserid:
  7524. description: 会员id 个人投资者 需要填写
  7525. type: integer
  7526. opencharge:
  7527. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7528. type: number
  7529. openexchagechargevalue:
  7530. description: 建仓交易所手续费设置值
  7531. type: number
  7532. openfeealgorithm:
  7533. description: 建仓手续费收取方式 1:比率 2:固定
  7534. type: integer
  7535. openmemberchargevalue:
  7536. description: 建仓会员手续费设置值
  7537. type: number
  7538. openqty:
  7539. description: 开仓数量(先建后平操作 需要记录)
  7540. type: integer
  7541. optiontype:
  7542. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7543. type: integer
  7544. orderid:
  7545. description: 委托单号
  7546. type: string
  7547. performanceplanid:
  7548. description: 履约计划ID[期权]
  7549. type: integer
  7550. performancestatus:
  7551. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7552. type: integer
  7553. preexerciseprice:
  7554. description: 预申报价格
  7555. type: number
  7556. premium:
  7557. description: 权利金 - [持仓单的权利金]
  7558. type: number
  7559. relatedouttradeid:
  7560. description: 关联外部成交单ID
  7561. type: integer
  7562. status:
  7563. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7564. type: integer
  7565. tradeamount:
  7566. description: 成交金额[账户币种,用于所有权]
  7567. type: number
  7568. tradedate:
  7569. description: 交易日(yyyyMMdd)
  7570. type: string
  7571. tradeid:
  7572. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7573. type: string
  7574. trademode:
  7575. description: 交易模式
  7576. type: integer
  7577. tradeprice:
  7578. description: 成交价格
  7579. type: number
  7580. tradeproperty:
  7581. description: 交易属性
  7582. type: integer
  7583. tradeqty:
  7584. description: 成交数量
  7585. type: integer
  7586. tradetime:
  7587. description: 成交时间
  7588. type: string
  7589. tradetype:
  7590. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7591. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7592. type: integer
  7593. required:
  7594. - accountid
  7595. - buyorsell
  7596. - goodsid
  7597. - marketid
  7598. - memberuserid
  7599. - orderid
  7600. - tradeamount
  7601. - tradedate
  7602. - tradeid
  7603. - tradeprice
  7604. - tradeqty
  7605. - tradetime
  7606. type: object
  7607. order.QueryTradeOrderDetailRsp:
  7608. properties:
  7609. accountid:
  7610. description: 账户ID[报价币种]
  7611. type: integer
  7612. buildtype:
  7613. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7614. type: integer
  7615. buyorsell:
  7616. description: 买卖 - 0:买 1:卖
  7617. type: integer
  7618. cancelorderid:
  7619. description: 撤单单号(撤单时填写)
  7620. type: string
  7621. cancelqty:
  7622. description: 撤单数量
  7623. type: integer
  7624. clienttype:
  7625. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7626. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7627. type: integer
  7628. closefreezecharge:
  7629. description: 平仓冻结手续费(先建后平操作,需要记录)
  7630. type: number
  7631. closeqty:
  7632. description: 平仓数量(先建后平操作 需要记录)
  7633. type: integer
  7634. closetradeqty:
  7635. description: 平仓成交数量(先建后平操作,需要记录)
  7636. type: integer
  7637. closeunfreezecharge:
  7638. description: 平仓解冻手续费(先建后平操作,需要记录)
  7639. type: number
  7640. delistingtype:
  7641. description: 摘牌类型 - 1:价格最优 2:点选成交
  7642. type: integer
  7643. enableqty:
  7644. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  7645. type: integer
  7646. freezecharge:
  7647. description: 冻结手续费
  7648. type: number
  7649. freezemargin:
  7650. description: 冻结保证金(冻结交易金额)
  7651. type: number
  7652. goodscode:
  7653. description: 商品代码
  7654. type: string
  7655. goodsid:
  7656. description: 商品ID
  7657. type: integer
  7658. goodsname:
  7659. description: 商品名称
  7660. type: string
  7661. listingselecttype:
  7662. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7663. type: integer
  7664. marketid:
  7665. description: 市场ID
  7666. type: integer
  7667. marketname:
  7668. description: 市场名称
  7669. type: string
  7670. openfreezecharge:
  7671. description: 开仓冻结手续费(先建后平操作,需要记录)
  7672. type: number
  7673. openqty:
  7674. description: 开仓数量(先建后平操作,需要记录)
  7675. type: integer
  7676. opentradeqty:
  7677. description: 开仓成交数量(先建后平操作,需要记录)
  7678. type: integer
  7679. openunfreezecharge:
  7680. description: 开仓解冻手续费(先建后平操作,需要记录)
  7681. type: number
  7682. operatetype:
  7683. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7684. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7685. 15:管理端协议转让
  7686. type: integer
  7687. operatorid:
  7688. description: 登录账号(LoginID)
  7689. type: integer
  7690. orderid:
  7691. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7692. type: string
  7693. orderprice:
  7694. description: 委托价格
  7695. type: number
  7696. orderqty:
  7697. description: 委托数量
  7698. type: integer
  7699. ordersrc:
  7700. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7701. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7702. type: integer
  7703. orderstatus:
  7704. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7705. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7706. 16:成交失败违约(荷兰式竞拍专用)
  7707. type: integer
  7708. ordertime:
  7709. description: 委托时间
  7710. type: string
  7711. preorderid:
  7712. description: 关联预埋单号(止盈止损单时填写)
  7713. type: string
  7714. pricemode:
  7715. description: '取价方式 - 1:市价 2: 限价'
  7716. type: integer
  7717. relatedid:
  7718. description: 关联单号(交割单)
  7719. type: string
  7720. tradedate:
  7721. description: 交易日(yyyyMMdd)
  7722. type: string
  7723. trademode:
  7724. description: 交易模式
  7725. type: integer
  7726. tradeqty:
  7727. description: 成交数量
  7728. type: integer
  7729. unfreezecharge:
  7730. description: 解冻手续费
  7731. type: number
  7732. unfreezemargin:
  7733. description: 解冻保证金
  7734. type: number
  7735. validtime:
  7736. description: 有效期限
  7737. type: string
  7738. validtype:
  7739. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7740. type: integer
  7741. volumetype:
  7742. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7743. type: integer
  7744. required:
  7745. - accountid
  7746. - buildtype
  7747. - buyorsell
  7748. - goodsid
  7749. - marketid
  7750. - operatetype
  7751. - orderqty
  7752. - ordertime
  7753. - pricemode
  7754. - tradedate
  7755. - validtype
  7756. type: object
  7757. order.QueryTradePositionRsp:
  7758. properties:
  7759. accountid:
  7760. description: 资金账户
  7761. type: integer
  7762. agreeunit:
  7763. description: 合约单位
  7764. type: number
  7765. averageprice:
  7766. description: 持仓均价
  7767. type: number
  7768. buyorsell:
  7769. description: 方向 - 0:买 1:卖
  7770. type: integer
  7771. closetotalqty:
  7772. description: 平仓总数量
  7773. type: integer
  7774. curholderamount:
  7775. description: 当前持仓总金额[商品币种]
  7776. type: number
  7777. curpositionqty:
  7778. description: 当前持仓总数量
  7779. type: integer
  7780. currencyid:
  7781. description: 报价货币ID
  7782. type: integer
  7783. curtdposition:
  7784. description: 期末今日头寸
  7785. type: integer
  7786. decimalplace:
  7787. description: 报价小数位
  7788. type: integer
  7789. enableqty:
  7790. description: 可用量
  7791. type: integer
  7792. fretdposition:
  7793. description: 冻结今日头寸
  7794. type: integer
  7795. frozenqty:
  7796. description: 持仓冻结数量
  7797. type: integer
  7798. goodscode:
  7799. description: 商品代码
  7800. type: string
  7801. goodsid:
  7802. description: 商品Id
  7803. type: integer
  7804. goodsname:
  7805. description: 商品名称
  7806. type: string
  7807. goodunit:
  7808. description: 报价单位
  7809. type: string
  7810. goodunitid:
  7811. description: 报价单位ID
  7812. type: integer
  7813. holderamount:
  7814. description: 期初持仓总金额[商品币种]
  7815. type: number
  7816. marketid:
  7817. description: 所属市场ID
  7818. type: integer
  7819. openreqqty:
  7820. description: 开仓申请数量(用于比较最大持仓数量)
  7821. type: integer
  7822. opentotalqty:
  7823. description: 开仓总数量
  7824. type: integer
  7825. otherfrozenqty:
  7826. description: 持仓其他冻结数量(交割冻结)
  7827. type: integer
  7828. positionqty:
  7829. description: 期初持仓数量
  7830. type: integer
  7831. tnqty:
  7832. description: T+N冻结总量
  7833. type: integer
  7834. tnusedqty:
  7835. description: T+N使用量(可以使用T+N的冻结数量)
  7836. type: integer
  7837. trademode:
  7838. description: 交易模式
  7839. type: integer
  7840. usedmargin:
  7841. description: 占用保证金[商品币种]
  7842. type: number
  7843. required:
  7844. - goodsid
  7845. type: object
  7846. quote.HistoryData:
  7847. properties:
  7848. c:
  7849. description: 收盘价
  7850. type: number
  7851. f:
  7852. description: 是否补充数据
  7853. type: boolean
  7854. h:
  7855. description: 最高价
  7856. type: number
  7857. hv:
  7858. description: 持仓量
  7859. type: integer
  7860. l:
  7861. description: 最低价
  7862. type: number
  7863. o:
  7864. description: 开盘价
  7865. type: number
  7866. s:
  7867. description: 结算价,日线周期(包括)以上才有
  7868. type: number
  7869. ts:
  7870. description: 时间
  7871. type: string
  7872. tt:
  7873. description: 总金额
  7874. type: number
  7875. tv:
  7876. description: 总量
  7877. type: integer
  7878. type: object
  7879. quote.QueryQuoteDayRsp:
  7880. properties:
  7881. ask:
  7882. description: 卖1
  7883. type: number
  7884. ask2:
  7885. description: 卖2
  7886. type: number
  7887. ask3:
  7888. description: 卖3
  7889. type: number
  7890. ask4:
  7891. description: 卖4
  7892. type: number
  7893. ask5:
  7894. description: 卖5
  7895. type: number
  7896. ask6:
  7897. description: 卖6
  7898. type: number
  7899. ask7:
  7900. description: 卖7
  7901. type: number
  7902. ask8:
  7903. description: 卖8
  7904. type: number
  7905. ask9:
  7906. description: 卖9
  7907. type: number
  7908. ask10:
  7909. description: 卖10
  7910. type: number
  7911. askorderid:
  7912. description: 卖单号1
  7913. type: integer
  7914. askorderid2:
  7915. description: 卖单号2
  7916. type: integer
  7917. askorderid3:
  7918. description: 卖单号3
  7919. type: integer
  7920. askorderid4:
  7921. description: 卖单号4
  7922. type: integer
  7923. askorderid5:
  7924. description: 卖单号5
  7925. type: integer
  7926. askordervolume:
  7927. description: 卖单量1
  7928. type: integer
  7929. askordervolume2:
  7930. description: 卖单量2
  7931. type: integer
  7932. askordervolume3:
  7933. description: 卖单量3
  7934. type: integer
  7935. askordervolume4:
  7936. description: 卖单量4
  7937. type: integer
  7938. askordervolume5:
  7939. description: 卖单量5
  7940. type: integer
  7941. askordervolume6:
  7942. description: 卖单量6
  7943. type: integer
  7944. askordervolume7:
  7945. description: 卖单量7
  7946. type: integer
  7947. askordervolume8:
  7948. description: 卖单量8
  7949. type: integer
  7950. askordervolume9:
  7951. description: 卖单量9
  7952. type: integer
  7953. askordervolume10:
  7954. description: 卖单量10
  7955. type: integer
  7956. askqueueinfo:
  7957. description: 大利市卖港股用
  7958. type: string
  7959. askvolume:
  7960. description: 卖量1
  7961. type: integer
  7962. askvolume2:
  7963. description: 卖量2
  7964. type: integer
  7965. askvolume3:
  7966. description: 卖量3
  7967. type: integer
  7968. askvolume4:
  7969. description: 卖量4
  7970. type: integer
  7971. askvolume5:
  7972. description: 卖量5
  7973. type: integer
  7974. askvolume6:
  7975. description: 卖量6
  7976. type: integer
  7977. askvolume7:
  7978. description: 卖量7
  7979. type: integer
  7980. askvolume8:
  7981. description: 卖量8
  7982. type: integer
  7983. askvolume9:
  7984. description: 卖量9
  7985. type: integer
  7986. askvolume10:
  7987. description: 卖量10
  7988. type: integer
  7989. averageprice:
  7990. description: 均价
  7991. type: number
  7992. bid:
  7993. description: 买1
  7994. type: number
  7995. bid2:
  7996. description: 买2
  7997. type: number
  7998. bid3:
  7999. description: 买3
  8000. type: number
  8001. bid4:
  8002. description: 买4
  8003. type: number
  8004. bid5:
  8005. description: 买5
  8006. type: number
  8007. bid6:
  8008. description: 买6
  8009. type: number
  8010. bid7:
  8011. description: 买7
  8012. type: number
  8013. bid8:
  8014. description: 买8
  8015. type: number
  8016. bid9:
  8017. description: 买9
  8018. type: number
  8019. bid10:
  8020. description: 买10
  8021. type: number
  8022. bidorderid:
  8023. description: 买单号1
  8024. type: integer
  8025. bidorderid2:
  8026. description: 买单号2
  8027. type: integer
  8028. bidorderid3:
  8029. description: 买单号3
  8030. type: integer
  8031. bidorderid4:
  8032. description: 买单号4
  8033. type: integer
  8034. bidorderid5:
  8035. description: 买单号5
  8036. type: integer
  8037. bidordervolume:
  8038. description: 买单量1
  8039. type: integer
  8040. bidordervolume2:
  8041. description: 买单量2
  8042. type: integer
  8043. bidordervolume3:
  8044. description: 买单量3
  8045. type: integer
  8046. bidordervolume4:
  8047. description: 买单量4
  8048. type: integer
  8049. bidordervolume5:
  8050. description: 买单量5
  8051. type: integer
  8052. bidordervolume6:
  8053. description: 买单量6
  8054. type: integer
  8055. bidordervolume7:
  8056. description: 买单量7
  8057. type: integer
  8058. bidordervolume8:
  8059. description: 买单量8
  8060. type: integer
  8061. bidordervolume9:
  8062. description: 买单量9
  8063. type: integer
  8064. bidordervolume10:
  8065. description: 买单量10
  8066. type: integer
  8067. bidqueueinfo:
  8068. description: 大利市买港股用
  8069. type: string
  8070. bidvolume:
  8071. description: 买量1
  8072. type: integer
  8073. bidvolume2:
  8074. description: 买量2
  8075. type: integer
  8076. bidvolume3:
  8077. description: 买量3
  8078. type: integer
  8079. bidvolume4:
  8080. description: 买量4
  8081. type: integer
  8082. bidvolume5:
  8083. description: 买量5
  8084. type: integer
  8085. bidvolume6:
  8086. description: 买量6
  8087. type: integer
  8088. bidvolume7:
  8089. description: 买量7
  8090. type: integer
  8091. bidvolume8:
  8092. description: 买量8
  8093. type: integer
  8094. bidvolume9:
  8095. description: 买量9
  8096. type: integer
  8097. bidvolume10:
  8098. description: 买量10
  8099. type: integer
  8100. calloptionpremiums:
  8101. description: 认购期权1
  8102. type: integer
  8103. calloptionpremiums2:
  8104. description: 认购期权2
  8105. type: integer
  8106. calloptionpremiums3:
  8107. description: 认购期权3
  8108. type: integer
  8109. calloptionpremiums4:
  8110. description: 认购期权4
  8111. type: integer
  8112. calloptionpremiums5:
  8113. description: 认购期权5
  8114. type: integer
  8115. cleartime:
  8116. description: 清盘时间
  8117. type: integer
  8118. exchangecode:
  8119. description: 交易所代码
  8120. type: integer
  8121. exchangedate:
  8122. description: 交易日
  8123. type: integer
  8124. goodscode:
  8125. description: 商品代码
  8126. type: string
  8127. grepmarketprice:
  8128. description: 暗盘价 港股专用
  8129. type: number
  8130. highest:
  8131. description: 最高价
  8132. type: number
  8133. holdincrement:
  8134. description: 单笔持仓
  8135. type: integer
  8136. holdvolume:
  8137. description: 持仓
  8138. type: integer
  8139. iep:
  8140. description: 平衡价 港股专用
  8141. type: number
  8142. iev:
  8143. description: 平衡量 港股专用
  8144. type: number
  8145. inventory:
  8146. description: 库存
  8147. type: integer
  8148. iscleared:
  8149. description: 是否清盘标志
  8150. type: integer
  8151. issettled:
  8152. description: 是否结算标志
  8153. type: integer
  8154. last:
  8155. description: 最新价
  8156. type: number
  8157. lastlot:
  8158. description: 最新成交手数
  8159. type: integer
  8160. lasttime:
  8161. description: 行情时间(只有现价变化行情时间才变化)
  8162. type: string
  8163. lastturnover:
  8164. description: 最新成交金额
  8165. type: number
  8166. lastvolume:
  8167. description: 最新成交量
  8168. type: integer
  8169. limitdown:
  8170. description: 跌停价
  8171. type: number
  8172. limitup:
  8173. description: 涨停价
  8174. type: number
  8175. lowest:
  8176. description: 最低价
  8177. type: number
  8178. nontotalholdervolume:
  8179. description: 非交易持仓量
  8180. type: integer
  8181. nontotallot:
  8182. description: 非交易总手数
  8183. type: integer
  8184. nontotalturnover:
  8185. description: 非交易总金额
  8186. type: integer
  8187. nontotalvolume:
  8188. description: 非交易总量
  8189. type: integer
  8190. opened:
  8191. description: 开盘价
  8192. type: number
  8193. opentime:
  8194. description: 开盘时间
  8195. type: string
  8196. orderid:
  8197. description: 序号
  8198. type: integer
  8199. preclose:
  8200. description: 昨收
  8201. type: number
  8202. preholdvolume:
  8203. description: 昨持仓
  8204. type: integer
  8205. presettle:
  8206. description: 昨结价
  8207. type: number
  8208. publictradetype:
  8209. description: 公共交易标志类型 港股专用
  8210. type: string
  8211. putoptionpremiums:
  8212. description: 认沽期权1
  8213. type: integer
  8214. putoptionpremiums2:
  8215. description: 认沽期权2
  8216. type: integer
  8217. putoptionpremiums3:
  8218. description: 认沽期权3
  8219. type: integer
  8220. putoptionpremiums4:
  8221. description: 认沽期权4
  8222. type: integer
  8223. putoptionpremiums5:
  8224. description: 认沽期权5
  8225. type: integer
  8226. settle:
  8227. description: 结算价
  8228. type: number
  8229. strikeprice:
  8230. description: 发行价
  8231. type: number
  8232. totalaskvolume:
  8233. description: 内盘
  8234. type: integer
  8235. totalbidvolume:
  8236. description: 外盘
  8237. type: integer
  8238. totallot:
  8239. description: 总手数
  8240. type: integer
  8241. totalturnover:
  8242. description: 总金额
  8243. type: number
  8244. totalvolume:
  8245. description: 总量
  8246. type: integer
  8247. utclasttime:
  8248. description: utc的行情时间
  8249. type: string
  8250. type: object
  8251. quote.QueryTSDataRsp:
  8252. properties:
  8253. decimalPlace:
  8254. description: 小数位
  8255. type: integer
  8256. endTime:
  8257. description: 结束时间
  8258. type: string
  8259. goodsCode:
  8260. description: 商品代码
  8261. type: string
  8262. historyDatas:
  8263. description: 历史数据
  8264. items:
  8265. $ref: '#/definitions/quote.HistoryData'
  8266. type: array
  8267. outGoodsCode:
  8268. description: 外部商品代码
  8269. type: string
  8270. preSettle:
  8271. description: 昨结
  8272. type: number
  8273. startTime:
  8274. description: 开始时间
  8275. type: string
  8276. tradeDate:
  8277. description: 交易日
  8278. type: string
  8279. type: object
  8280. szdz.QueryConvertLogRsp:
  8281. properties:
  8282. accountid:
  8283. description: 资金账户ID
  8284. type: integer
  8285. clientticket:
  8286. description: 客户端流水号
  8287. type: string
  8288. converttype:
  8289. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  8290. type: integer
  8291. createtime:
  8292. description: 记账时间
  8293. type: string
  8294. daymaxvalue:
  8295. description: 配置当日最大转入限制
  8296. type: number
  8297. daymaxvalue2:
  8298. description: 配置当日最大转入限制(转入)
  8299. type: number
  8300. goodscode:
  8301. description: 商品代码
  8302. type: string
  8303. goodsname:
  8304. description: 商品名称
  8305. type: string
  8306. handlestatus:
  8307. description: 处理状态
  8308. type: integer
  8309. innergoodsid:
  8310. description: 内部商品ID
  8311. type: integer
  8312. inratio:
  8313. description: 配置转入比值
  8314. type: integer
  8315. invalue:
  8316. description: 目标值
  8317. type: number
  8318. logid:
  8319. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8320. type: integer
  8321. mobile:
  8322. description: 手机号码(加密存储)
  8323. type: string
  8324. outergoodscode:
  8325. description: 外部商品代码[JD\PD]
  8326. type: string
  8327. outratio:
  8328. description: 配置转出比值
  8329. type: integer
  8330. outvalue:
  8331. description: 源值
  8332. type: number
  8333. pddecimalplace:
  8334. description: PD小数位
  8335. type: integer
  8336. qty:
  8337. description: 数量
  8338. type: string
  8339. remark:
  8340. description: 备注
  8341. type: string
  8342. sessionid:
  8343. description: 会话ID
  8344. type: integer
  8345. timemaxvalue:
  8346. description: 配置单次最大转入限制
  8347. type: number
  8348. timemaxvalue2:
  8349. description: 配置单次最大转入限制(转入)
  8350. type: number
  8351. timeminvalue:
  8352. description: 配置单次最小数量限制
  8353. type: number
  8354. timeminvalue2:
  8355. description: 配置单次最小数量限制(转入)
  8356. type: number
  8357. tradedate:
  8358. description: 交易日(yyyyMMdd)
  8359. type: string
  8360. userid:
  8361. description: 用户ID
  8362. type: integer
  8363. required:
  8364. - logid
  8365. type: object
  8366. szdz.QueryGoodsPickupRsp:
  8367. properties:
  8368. accountid:
  8369. description: 账户ID
  8370. type: integer
  8371. address:
  8372. description: 提货人详细地址
  8373. type: string
  8374. auditer:
  8375. description: 审核人
  8376. type: integer
  8377. audittime:
  8378. description: 审核时间
  8379. type: string
  8380. cardnum:
  8381. description: 提货人证件号码
  8382. type: string
  8383. cardtypeid:
  8384. description: 提货人证件类型
  8385. type: integer
  8386. checkremark:
  8387. description: 审核备注
  8388. type: string
  8389. goodscode:
  8390. description: 商品代码
  8391. type: string
  8392. goodsid:
  8393. description: 商品ID
  8394. type: integer
  8395. goodsname:
  8396. description: 商品名称
  8397. type: string
  8398. handlestatus:
  8399. description: 处理状态
  8400. type: integer
  8401. marketid:
  8402. description: 市场ID
  8403. type: integer
  8404. phonenum:
  8405. description: 提货人联系方式
  8406. type: string
  8407. qty:
  8408. description: 提货数量
  8409. type: number
  8410. recivername:
  8411. description: 提货人姓名
  8412. type: string
  8413. reqtime:
  8414. description: 更新时间
  8415. type: string
  8416. takemode:
  8417. description: 提货方式 - 2:自提 3:配送
  8418. type: integer
  8419. takeorderid:
  8420. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8421. type: string
  8422. takeorderstatus:
  8423. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8424. type: integer
  8425. takeremark:
  8426. description: 提货备注
  8427. type: string
  8428. tradedate:
  8429. description: 交易日(yyyyMMdd)
  8430. type: string
  8431. userid:
  8432. description: 用户ID
  8433. type: integer
  8434. required:
  8435. - takeorderid
  8436. type: object
  8437. szdz.QueryRecieptOrderRsp:
  8438. properties:
  8439. accountName:
  8440. description: 所属账号名称(已脱敏)
  8441. type: string
  8442. accountid:
  8443. description: 资金账号
  8444. type: integer
  8445. buyorsell:
  8446. description: 方向 - 0:买 1:卖
  8447. type: integer
  8448. enableqty:
  8449. description: 可摘数量
  8450. type: integer
  8451. goodscode:
  8452. description: 商品代码
  8453. type: string
  8454. goodsid:
  8455. description: 商品ID
  8456. type: integer
  8457. goodsname:
  8458. description: 商品名称
  8459. type: string
  8460. orderid:
  8461. description: 委托单号
  8462. type: string
  8463. orderprice:
  8464. description: 委托价格
  8465. type: number
  8466. ordertime:
  8467. description: 委托时间
  8468. type: string
  8469. tradedate:
  8470. description: 交易日(yyyyMMdd)
  8471. type: string
  8472. required:
  8473. - ordertime
  8474. type: object
  8475. szdz.QuerySZDZTradePositionRsp:
  8476. properties:
  8477. accountid:
  8478. description: 账号Id
  8479. type: integer
  8480. agreeunit:
  8481. description: 合约单位
  8482. type: number
  8483. averageprice:
  8484. description: 持仓均价
  8485. type: number
  8486. buyorsell:
  8487. description: 方向 - 0:买 1:卖
  8488. type: integer
  8489. closetotalqty:
  8490. description: 平仓总数量
  8491. type: integer
  8492. curholderamount:
  8493. description: 当前持仓总金额
  8494. type: number
  8495. curpositionqty:
  8496. description: 当前持仓总数量
  8497. type: integer
  8498. currencyid:
  8499. description: 报价货币ID
  8500. type: integer
  8501. curtdposition:
  8502. description: 期末今日头寸
  8503. type: integer
  8504. decimalplace:
  8505. description: 报价小数位
  8506. type: integer
  8507. enableqty:
  8508. description: 可用量
  8509. type: integer
  8510. fretdposition:
  8511. description: 冻结今日头寸
  8512. type: integer
  8513. frozenqty:
  8514. description: 持仓冻结数量
  8515. type: integer
  8516. goodscode:
  8517. description: 商品代码(内部)
  8518. type: string
  8519. goodsid:
  8520. description: 商品Id
  8521. type: integer
  8522. goodsname:
  8523. description: 商品名称
  8524. type: string
  8525. goodunit:
  8526. description: 报价单位
  8527. type: string
  8528. goodunitid:
  8529. description: 报价单位ID
  8530. type: integer
  8531. holderamount:
  8532. description: 期初持仓总金额
  8533. type: number
  8534. marketid:
  8535. description: 市场ID
  8536. type: integer
  8537. openreqqty:
  8538. description: 开仓申请数量
  8539. type: integer
  8540. opentotalqty:
  8541. description: 开仓总数量
  8542. type: integer
  8543. otherfrozenqty:
  8544. description: 持仓其他冻结数量(交割冻结)
  8545. type: integer
  8546. positionqty:
  8547. description: 期初持仓数量
  8548. type: integer
  8549. szdz3freezqty:
  8550. description: 尚志大宗转换冻结总数量
  8551. type: integer
  8552. tnqty:
  8553. description: T+N冻结总量
  8554. type: integer
  8555. tnusedqty:
  8556. description: T+N使用量
  8557. type: integer
  8558. trademode:
  8559. description: 交易模式
  8560. type: integer
  8561. usedmargin:
  8562. description: 占用保证金
  8563. type: number
  8564. type: object
  8565. taaccount.QueryAmountLogRsp:
  8566. properties:
  8567. OPERATETYPENAME:
  8568. description: 资金操作类型名称
  8569. type: string
  8570. accountid:
  8571. description: 资金账户ID
  8572. type: integer
  8573. agoodscode:
  8574. description: 竞拍商品代码
  8575. type: string
  8576. agoodsname:
  8577. description: 竞拍商品名称
  8578. type: string
  8579. amount:
  8580. description: 资金金额
  8581. type: number
  8582. amountadjusttype:
  8583. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8584. type: integer
  8585. autoid:
  8586. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8587. type: integer
  8588. balance:
  8589. description: 期初余额
  8590. type: number
  8591. businesscode:
  8592. description: 业务编号
  8593. type: integer
  8594. createtime:
  8595. description: 发生时间
  8596. type: string
  8597. currencyid:
  8598. description: 币种ID
  8599. type: integer
  8600. currentbalance:
  8601. description: 期末余额(变动后金额)
  8602. type: number
  8603. dgoodscode:
  8604. description: 交割商品代码
  8605. type: string
  8606. dgoodsname:
  8607. description: 交割商品名称
  8608. type: string
  8609. goodscode:
  8610. description: 商品代码
  8611. type: string
  8612. goodsid:
  8613. description: 商品ID
  8614. type: integer
  8615. goodsname:
  8616. description: 商品名称
  8617. type: string
  8618. marketid:
  8619. description: 市场ID
  8620. type: integer
  8621. marketname:
  8622. description: 市场名称
  8623. type: string
  8624. moneyticket:
  8625. description: 资金流水号:银行端流水号
  8626. type: integer
  8627. operatetype:
  8628. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8629. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8630. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8631. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8632. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8633. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8634. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8635. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8636. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8637. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8638. type: integer
  8639. relationorderid:
  8640. description: 关联单号
  8641. type: string
  8642. remark:
  8643. description: 备注
  8644. type: string
  8645. trademode:
  8646. description: 交易模式
  8647. type: integer
  8648. required:
  8649. - accountid
  8650. - amount
  8651. - amountadjusttype
  8652. - autoid
  8653. - balance
  8654. - createtime
  8655. - currentbalance
  8656. - operatetype
  8657. type: object
  8658. taaccount.QueryHisAmountLogRsp:
  8659. properties:
  8660. OPERATETYPENAME:
  8661. description: 资金操作类型名称
  8662. type: string
  8663. accountid:
  8664. description: 资金账户ID
  8665. type: integer
  8666. agoodscode:
  8667. description: 竞拍商品代码
  8668. type: string
  8669. agoodsname:
  8670. description: 竞拍商品名称
  8671. type: string
  8672. amount:
  8673. description: 资金金额
  8674. type: number
  8675. amountadjusttype:
  8676. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8677. type: integer
  8678. autoid:
  8679. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8680. type: integer
  8681. balance:
  8682. description: 期初余额
  8683. type: number
  8684. businesscode:
  8685. description: 业务编号
  8686. type: integer
  8687. createtime:
  8688. description: 发生时间
  8689. type: string
  8690. currencyid:
  8691. description: 币种ID
  8692. type: integer
  8693. currentbalance:
  8694. description: 期末余额(变动后金额)
  8695. type: number
  8696. dgoodscode:
  8697. description: 交割商品代码
  8698. type: string
  8699. dgoodsname:
  8700. description: 交割商品名称
  8701. type: string
  8702. goodscode:
  8703. description: 商品代码
  8704. type: string
  8705. goodsid:
  8706. description: 商品ID
  8707. type: integer
  8708. goodsname:
  8709. description: 商品名称
  8710. type: string
  8711. histradedate:
  8712. description: 历史交易日
  8713. type: string
  8714. isvaliddata:
  8715. description: 是否有效 - 0:无效 1:有效
  8716. type: integer
  8717. marketid:
  8718. description: 市场ID
  8719. type: integer
  8720. marketname:
  8721. description: 市场名称
  8722. type: string
  8723. moneyticket:
  8724. description: 资金流水号:银行端流水号
  8725. type: integer
  8726. operatetype:
  8727. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8728. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8729. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8730. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8731. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8732. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8733. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8734. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8735. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8736. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8737. type: integer
  8738. relationorderid:
  8739. description: 关联单号
  8740. type: string
  8741. remark:
  8742. description: 备注
  8743. type: string
  8744. trademode:
  8745. description: 交易模式
  8746. type: integer
  8747. required:
  8748. - accountid
  8749. - amount
  8750. - amountadjusttype
  8751. - autoid
  8752. - balance
  8753. - createtime
  8754. - currentbalance
  8755. - histradedate
  8756. - operatetype
  8757. type: object
  8758. trade.QueryRecieptOrderRsp:
  8759. properties:
  8760. accountName:
  8761. description: 所属账号名称(已脱敏)
  8762. type: string
  8763. accountid:
  8764. description: 资金账号
  8765. type: integer
  8766. buyorsell:
  8767. description: 方向 - 0:买 1:卖
  8768. type: integer
  8769. enableqty:
  8770. description: 可摘数量
  8771. type: integer
  8772. goodscode:
  8773. description: 商品代码
  8774. type: string
  8775. goodsid:
  8776. description: 商品ID
  8777. type: integer
  8778. goodsname:
  8779. description: 商品名称
  8780. type: string
  8781. orderid:
  8782. description: 委托单号
  8783. type: string
  8784. orderprice:
  8785. description: 委托价格
  8786. type: number
  8787. ordertime:
  8788. description: 委托时间
  8789. type: string
  8790. tradedate:
  8791. description: 交易日(yyyyMMdd)
  8792. type: string
  8793. required:
  8794. - ordertime
  8795. type: object
  8796. info:
  8797. contact: {}
  8798. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  8799. termsOfService: http://muchinfo.cn
  8800. title: MTP2.0 查询服务 API
  8801. version: "1.0"
  8802. paths:
  8803. /CPTrade/QueryCPTradeMyBidInfos:
  8804. get:
  8805. parameters:
  8806. - description: 资金账户
  8807. in: query
  8808. name: accountid
  8809. required: true
  8810. type: integer
  8811. - description: 预售市场ID
  8812. in: query
  8813. name: marketid
  8814. type: integer
  8815. - description: 预售商品ID
  8816. in: query
  8817. name: goodsid
  8818. type: integer
  8819. produces:
  8820. - application/json
  8821. responses:
  8822. "200":
  8823. description: OK
  8824. schema:
  8825. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  8826. "500":
  8827. description: Internal Server Error
  8828. schema:
  8829. $ref: '#/definitions/app.Response'
  8830. security:
  8831. - ApiKeyAuth: []
  8832. summary: 查询产能预售我的出价信息
  8833. tags:
  8834. - 产能预售
  8835. /CPTrade/QueryCPTradeOrderDetail:
  8836. get:
  8837. parameters:
  8838. - description: 预售商品ID
  8839. in: query
  8840. name: goodsid
  8841. type: integer
  8842. - description: 预售市场ID
  8843. in: query
  8844. name: marketid
  8845. type: integer
  8846. - description: 预售商品ID列表 - 格式:1,2,3
  8847. in: query
  8848. name: goodsids
  8849. type: string
  8850. produces:
  8851. - application/json
  8852. responses:
  8853. "200":
  8854. description: OK
  8855. schema:
  8856. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  8857. "500":
  8858. description: Internal Server Error
  8859. schema:
  8860. $ref: '#/definitions/app.Response'
  8861. security:
  8862. - ApiKeyAuth: []
  8863. summary: 查询产能预售委托单信息
  8864. tags:
  8865. - 产能预售
  8866. /CPTrade/QueryMyCPTradeGoods:
  8867. get:
  8868. parameters:
  8869. - description: 资金账户
  8870. in: query
  8871. name: accountid
  8872. required: true
  8873. type: integer
  8874. produces:
  8875. - application/json
  8876. responses:
  8877. "200":
  8878. description: OK
  8879. schema:
  8880. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  8881. "500":
  8882. description: Internal Server Error
  8883. schema:
  8884. $ref: '#/definitions/app.Response'
  8885. security:
  8886. - ApiKeyAuth: []
  8887. summary: 查询我的预售信息
  8888. tags:
  8889. - 产能预售
  8890. /CPTrade/QueryPositionCancel:
  8891. get:
  8892. parameters:
  8893. - description: 账户ID
  8894. in: query
  8895. name: userid
  8896. required: true
  8897. type: integer
  8898. - description: 注销ID
  8899. in: query
  8900. name: cancelid
  8901. type: integer
  8902. - description: 资金账户ID
  8903. in: query
  8904. name: accountid
  8905. type: integer
  8906. produces:
  8907. - application/json
  8908. responses:
  8909. "200":
  8910. description: OK
  8911. schema:
  8912. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  8913. "500":
  8914. description: Internal Server Error
  8915. schema:
  8916. $ref: '#/definitions/app.Response'
  8917. security:
  8918. - ApiKeyAuth: []
  8919. summary: 查询远期订单注销申请信息
  8920. tags:
  8921. - 产能预售
  8922. /CPTrade/QueryPreasleApply:
  8923. get:
  8924. parameters:
  8925. - description: 账户ID
  8926. in: query
  8927. name: userid
  8928. required: true
  8929. type: integer
  8930. - description: 申请ID
  8931. in: query
  8932. name: applyid
  8933. type: integer
  8934. - description: 资金账户ID
  8935. in: query
  8936. name: accountid
  8937. type: integer
  8938. produces:
  8939. - application/json
  8940. responses:
  8941. "200":
  8942. description: OK
  8943. schema:
  8944. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  8945. "500":
  8946. description: Internal Server Error
  8947. schema:
  8948. $ref: '#/definitions/app.Response'
  8949. security:
  8950. - ApiKeyAuth: []
  8951. summary: 查询产能预售申请信息
  8952. tags:
  8953. - 产能预售
  8954. /CPTrade/QueryPresaleGoodsEx:
  8955. get:
  8956. parameters:
  8957. - description: 预售商品ID
  8958. in: query
  8959. name: goodsid
  8960. type: integer
  8961. - description: 预售市场ID
  8962. in: query
  8963. name: marketid
  8964. type: integer
  8965. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  8966. in: query
  8967. name: presalemode
  8968. type: integer
  8969. - description: 预售商品ID列表 - 格式:1,2,3
  8970. in: query
  8971. name: goodsids
  8972. type: string
  8973. - description: 预售商品代码
  8974. in: query
  8975. name: goodscode
  8976. type: string
  8977. produces:
  8978. - application/json
  8979. responses:
  8980. "200":
  8981. description: OK
  8982. schema:
  8983. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  8984. "500":
  8985. description: Internal Server Error
  8986. schema:
  8987. $ref: '#/definitions/app.Response'
  8988. security:
  8989. - ApiKeyAuth: []
  8990. summary: 查询产能预售商品扩展信息
  8991. tags:
  8992. - 产能预售
  8993. /CPTrade/QueryUserGoodsData:
  8994. get:
  8995. parameters:
  8996. - description: 资金账户ID
  8997. in: query
  8998. name: accountid
  8999. required: true
  9000. type: integer
  9001. produces:
  9002. - application/json
  9003. responses:
  9004. "200":
  9005. description: OK
  9006. schema:
  9007. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9008. "500":
  9009. description: Internal Server Error
  9010. schema:
  9011. $ref: '#/definitions/app.Response'
  9012. security:
  9013. - ApiKeyAuth: []
  9014. summary: 查询远期订单信息
  9015. tags:
  9016. - 产能预售
  9017. /Common/GetAllEnums:
  9018. get:
  9019. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9020. parameters:
  9021. - description: 起始自增ID
  9022. in: query
  9023. name: autoid
  9024. type: integer
  9025. produces:
  9026. - application/json
  9027. responses:
  9028. "200":
  9029. description: OK
  9030. schema:
  9031. $ref: '#/definitions/models.Enumdicitem'
  9032. "500":
  9033. description: Internal Server Error
  9034. schema:
  9035. $ref: '#/definitions/app.Response'
  9036. summary: 获取所有枚举信息
  9037. tags:
  9038. - 通用服务
  9039. /Common/GetDivisions:
  9040. get:
  9041. produces:
  9042. - application/json
  9043. responses:
  9044. "200":
  9045. description: OK
  9046. schema:
  9047. $ref: '#/definitions/models.Division'
  9048. "500":
  9049. description: Internal Server Error
  9050. schema:
  9051. $ref: '#/definitions/app.Response'
  9052. summary: 查询区域信息
  9053. tags:
  9054. - 通用服务
  9055. /Common/GetServerTime:
  9056. get:
  9057. produces:
  9058. - application/json
  9059. responses:
  9060. "200":
  9061. description: OK
  9062. schema:
  9063. $ref: '#/definitions/app.Response'
  9064. "500":
  9065. description: Internal Server Error
  9066. schema:
  9067. $ref: '#/definitions/app.Response'
  9068. summary: 获取服务器时间
  9069. tags:
  9070. - 通用服务
  9071. /Common/NoticeReaded:
  9072. post:
  9073. parameters:
  9074. - description: 登录账号
  9075. in: query
  9076. name: loginID
  9077. required: true
  9078. type: integer
  9079. - description: 通知公告ID
  9080. in: query
  9081. name: noticeID
  9082. required: true
  9083. type: integer
  9084. produces:
  9085. - application/json
  9086. responses:
  9087. "200":
  9088. description: OK
  9089. schema:
  9090. $ref: '#/definitions/app.Response'
  9091. "500":
  9092. description: Internal Server Error
  9093. schema:
  9094. $ref: '#/definitions/app.Response'
  9095. security:
  9096. - ApiKeyAuth: []
  9097. summary: 通知公告设置已读请求
  9098. tags:
  9099. - 通用服务
  9100. /Common/QueryErrorInfos:
  9101. get:
  9102. description: 如果传入rowNumber,则返回此rowNumber后的数据
  9103. parameters:
  9104. - description: 起始行号前索引
  9105. in: query
  9106. name: rowNumber
  9107. type: string
  9108. produces:
  9109. - application/json
  9110. responses:
  9111. "200":
  9112. description: OK
  9113. schema:
  9114. $ref: '#/definitions/models.QueryErrorInfosRsp'
  9115. "500":
  9116. description: Internal Server Error
  9117. schema:
  9118. $ref: '#/definitions/app.Response'
  9119. summary: 获取数据库错误信息
  9120. tags:
  9121. - 通用服务
  9122. /Common/QueryImageConfigs:
  9123. get:
  9124. parameters:
  9125. - description: 类型 - 1:App首页轮播 2:我的
  9126. in: query
  9127. name: imageType
  9128. type: integer
  9129. produces:
  9130. - application/json
  9131. responses:
  9132. "200":
  9133. description: OK
  9134. schema:
  9135. $ref: '#/definitions/models.Szdz2imageconfig'
  9136. "500":
  9137. description: Internal Server Error
  9138. schema:
  9139. $ref: '#/definitions/app.Response'
  9140. summary: 查询轮播图配置信息
  9141. tags:
  9142. - 通用服务
  9143. /Common/QueryNotice:
  9144. get:
  9145. parameters:
  9146. - description: 页码
  9147. in: query
  9148. name: page
  9149. type: integer
  9150. - description: 每页条数
  9151. in: query
  9152. name: pagesize
  9153. type: integer
  9154. - description: 登录账号
  9155. in: query
  9156. name: loginID
  9157. required: true
  9158. type: integer
  9159. - description: 消息类型 - 1:公告通知 2:系统消息
  9160. in: query
  9161. name: msgType
  9162. type: integer
  9163. - description: 是否只获取未读信息
  9164. in: query
  9165. name: onlyUnRead
  9166. type: boolean
  9167. produces:
  9168. - application/json
  9169. responses:
  9170. "200":
  9171. description: OK
  9172. schema:
  9173. $ref: '#/definitions/common.QueryNoticeRsp'
  9174. "500":
  9175. description: Internal Server Error
  9176. schema:
  9177. $ref: '#/definitions/app.Response'
  9178. security:
  9179. - ApiKeyAuth: []
  9180. summary: 通知公告系统消息查询
  9181. tags:
  9182. - 通用服务
  9183. /Common/QueryProvincesAndCities:
  9184. get:
  9185. parameters:
  9186. - description: 省ID
  9187. in: query
  9188. name: provinceID
  9189. type: integer
  9190. produces:
  9191. - application/json
  9192. responses:
  9193. "200":
  9194. description: OK
  9195. schema:
  9196. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  9197. "500":
  9198. description: Internal Server Error
  9199. schema:
  9200. $ref: '#/definitions/app.Response'
  9201. summary: 查询省市信息(不包括区)
  9202. tags:
  9203. - 通用服务
  9204. /Common/QueryTableDefine:
  9205. get:
  9206. parameters:
  9207. - description: 表key
  9208. in: query
  9209. name: tableKey
  9210. type: string
  9211. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  9212. in: query
  9213. name: tableType
  9214. type: integer
  9215. produces:
  9216. - application/json
  9217. responses:
  9218. "200":
  9219. description: OK
  9220. schema:
  9221. $ref: '#/definitions/common.QueryTableDefineRsp'
  9222. "500":
  9223. description: Internal Server Error
  9224. schema:
  9225. $ref: '#/definitions/app.Response'
  9226. summary: 查询交易端列表头信息
  9227. tags:
  9228. - 通用服务
  9229. /Common/QueryTraderMenu:
  9230. get:
  9231. parameters:
  9232. - description: 登录账号
  9233. in: query
  9234. name: loginid
  9235. required: true
  9236. type: integer
  9237. produces:
  9238. - application/json
  9239. responses:
  9240. "200":
  9241. description: OK
  9242. schema:
  9243. $ref: '#/definitions/common.QueryTraderMenuRsp'
  9244. "500":
  9245. description: Internal Server Error
  9246. schema:
  9247. $ref: '#/definitions/app.Response'
  9248. summary: 查询交易端菜单
  9249. tags:
  9250. - 通用服务
  9251. /Delivery/QueryDeliveryRelation:
  9252. get:
  9253. parameters:
  9254. - description: 商品ID
  9255. in: query
  9256. name: goodsid
  9257. type: integer
  9258. - description: 品种ID
  9259. in: query
  9260. name: deliverygoodsid
  9261. type: integer
  9262. - description: 市场ID
  9263. in: query
  9264. name: marketid
  9265. type: integer
  9266. produces:
  9267. - application/json
  9268. responses:
  9269. "200":
  9270. description: OK
  9271. schema:
  9272. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  9273. "500":
  9274. description: Internal Server Error
  9275. schema:
  9276. $ref: '#/definitions/app.Response'
  9277. security:
  9278. - ApiKeyAuth: []
  9279. summary: 查询商品交割关系表
  9280. tags:
  9281. - 交割服务
  9282. /Ermcp/GetErmcpGoods:
  9283. get:
  9284. parameters:
  9285. - description: 已存末尾商品编号
  9286. in: query
  9287. name: lastID
  9288. type: integer
  9289. produces:
  9290. - application/json
  9291. responses:
  9292. "200":
  9293. description: OK
  9294. schema:
  9295. $ref: '#/definitions/models.Goods'
  9296. "500":
  9297. description: Internal Server Error
  9298. schema:
  9299. $ref: '#/definitions/app.Response'
  9300. security:
  9301. - ApiKeyAuth: []
  9302. summary: 查询企业风管期货商品信息
  9303. tags:
  9304. - 企业风险管理(app)
  9305. /Ermcp/QryReportDayExposure:
  9306. get:
  9307. parameters:
  9308. - description: 用户ID
  9309. in: query
  9310. name: userid
  9311. required: true
  9312. type: integer
  9313. - description: 交易日(格式:yyyyMMdd)
  9314. in: query
  9315. name: tradedate
  9316. required: true
  9317. type: string
  9318. produces:
  9319. - application/json
  9320. responses:
  9321. "200":
  9322. description: OK
  9323. schema:
  9324. items:
  9325. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  9326. type: array
  9327. "500":
  9328. description: Internal Server Error
  9329. schema:
  9330. $ref: '#/definitions/app.Response'
  9331. security:
  9332. - ApiKeyAuth: []
  9333. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  9334. tags:
  9335. - 企业风险管理(app)
  9336. /Ermcp/QryReportDayFinance:
  9337. get:
  9338. parameters:
  9339. - description: 用户ID
  9340. in: query
  9341. name: userid
  9342. required: true
  9343. type: integer
  9344. - description: 交易日(格式:yyyyMMdd)
  9345. in: query
  9346. name: tradedate
  9347. required: true
  9348. type: string
  9349. produces:
  9350. - application/json
  9351. responses:
  9352. "200":
  9353. description: OK
  9354. schema:
  9355. items:
  9356. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  9357. type: array
  9358. "500":
  9359. description: Internal Server Error
  9360. schema:
  9361. $ref: '#/definitions/app.Response'
  9362. security:
  9363. - ApiKeyAuth: []
  9364. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  9365. tags:
  9366. - 企业风险管理(app)
  9367. /Ermcp/QryReportDayFinanceFp:
  9368. get:
  9369. parameters:
  9370. - description: 用户ID
  9371. in: query
  9372. name: userid
  9373. required: true
  9374. type: integer
  9375. - description: 交易日(格式:yyyyMMdd)
  9376. in: query
  9377. name: tradedate
  9378. required: true
  9379. type: string
  9380. produces:
  9381. - application/json
  9382. responses:
  9383. "200":
  9384. description: OK
  9385. schema:
  9386. items:
  9387. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  9388. type: array
  9389. "500":
  9390. description: Internal Server Error
  9391. schema:
  9392. $ref: '#/definitions/app.Response'
  9393. security:
  9394. - ApiKeyAuth: []
  9395. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  9396. tags:
  9397. - 企业风险管理(app)
  9398. /Ermcp/QryReportDayFinanceKx:
  9399. get:
  9400. parameters:
  9401. - description: 用户ID
  9402. in: query
  9403. name: userid
  9404. required: true
  9405. type: integer
  9406. - description: 交易日(格式:yyyyMMdd)
  9407. in: query
  9408. name: tradedate
  9409. required: true
  9410. type: string
  9411. produces:
  9412. - application/json
  9413. responses:
  9414. "200":
  9415. description: OK
  9416. schema:
  9417. items:
  9418. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  9419. type: array
  9420. "500":
  9421. description: Internal Server Error
  9422. schema:
  9423. $ref: '#/definitions/app.Response'
  9424. security:
  9425. - ApiKeyAuth: []
  9426. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  9427. tags:
  9428. - 企业风险管理(app)
  9429. /Ermcp/QryReportDaySpot:
  9430. get:
  9431. parameters:
  9432. - description: 用户ID
  9433. in: query
  9434. name: userid
  9435. required: true
  9436. type: integer
  9437. - description: 交易日(格式:yyyyMMdd)
  9438. in: query
  9439. name: tradedate
  9440. required: true
  9441. type: string
  9442. produces:
  9443. - application/json
  9444. responses:
  9445. "200":
  9446. description: OK
  9447. schema:
  9448. items:
  9449. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  9450. type: array
  9451. "500":
  9452. description: Internal Server Error
  9453. schema:
  9454. $ref: '#/definitions/app.Response'
  9455. security:
  9456. - ApiKeyAuth: []
  9457. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  9458. tags:
  9459. - 企业风险管理(app)
  9460. /Ermcp/QryReportDaySpotDetail:
  9461. get:
  9462. parameters:
  9463. - description: 用户ID
  9464. in: query
  9465. name: userid
  9466. required: true
  9467. type: integer
  9468. - description: 现货商品id
  9469. in: query
  9470. name: wrstandardid
  9471. required: true
  9472. type: integer
  9473. - description: 交易日(格式:yyyyMMdd)
  9474. in: query
  9475. name: tradedate
  9476. required: true
  9477. type: string
  9478. produces:
  9479. - application/json
  9480. responses:
  9481. "200":
  9482. description: OK
  9483. schema:
  9484. items:
  9485. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  9486. type: array
  9487. "500":
  9488. description: Internal Server Error
  9489. schema:
  9490. $ref: '#/definitions/app.Response'
  9491. security:
  9492. - ApiKeyAuth: []
  9493. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  9494. tags:
  9495. - 企业风险管理(app)
  9496. /Ermcp/QryReportMonthFinance:
  9497. get:
  9498. parameters:
  9499. - description: 用户ID
  9500. in: query
  9501. name: userid
  9502. required: true
  9503. type: integer
  9504. - description: 周期时间:月(格式:yyyyMM)
  9505. in: query
  9506. name: cycletime
  9507. required: true
  9508. type: string
  9509. produces:
  9510. - application/json
  9511. responses:
  9512. "200":
  9513. description: OK
  9514. schema:
  9515. items:
  9516. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  9517. type: array
  9518. "500":
  9519. description: Internal Server Error
  9520. schema:
  9521. $ref: '#/definitions/app.Response'
  9522. security:
  9523. - ApiKeyAuth: []
  9524. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  9525. tags:
  9526. - 企业风险管理(app)
  9527. /Ermcp/QryReportMonthSpot:
  9528. get:
  9529. parameters:
  9530. - description: 用户ID
  9531. in: query
  9532. name: userid
  9533. required: true
  9534. type: integer
  9535. - description: 周期时间:月(格式:yyyyMM)
  9536. in: query
  9537. name: cycletime
  9538. required: true
  9539. type: string
  9540. produces:
  9541. - application/json
  9542. responses:
  9543. "200":
  9544. description: OK
  9545. schema:
  9546. items:
  9547. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  9548. type: array
  9549. "500":
  9550. description: Internal Server Error
  9551. schema:
  9552. $ref: '#/definitions/app.Response'
  9553. security:
  9554. - ApiKeyAuth: []
  9555. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  9556. tags:
  9557. - 企业风险管理(app)
  9558. /Ermcp/QryReportMonthSpotDetail:
  9559. get:
  9560. parameters:
  9561. - description: 用户ID
  9562. in: query
  9563. name: userid
  9564. required: true
  9565. type: integer
  9566. - description: 现货商品id
  9567. in: query
  9568. name: wrstandardid
  9569. required: true
  9570. type: integer
  9571. - description: 周期时间:月(格式:yyyyMM)
  9572. in: query
  9573. name: cycletime
  9574. required: true
  9575. type: string
  9576. produces:
  9577. - application/json
  9578. responses:
  9579. "200":
  9580. description: OK
  9581. schema:
  9582. items:
  9583. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  9584. type: array
  9585. "500":
  9586. description: Internal Server Error
  9587. schema:
  9588. $ref: '#/definitions/app.Response'
  9589. security:
  9590. - ApiKeyAuth: []
  9591. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  9592. tags:
  9593. - 企业风险管理(app)
  9594. /Ermcp/QueryAvaildGoodsGroup:
  9595. get:
  9596. parameters:
  9597. - description: 所属机构ID
  9598. in: query
  9599. name: userid
  9600. required: true
  9601. type: integer
  9602. produces:
  9603. - application/json
  9604. responses:
  9605. "200":
  9606. description: OK
  9607. schema:
  9608. items:
  9609. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  9610. type: array
  9611. "500":
  9612. description: Internal Server Error
  9613. schema:
  9614. $ref: '#/definitions/app.Response'
  9615. security:
  9616. - ApiKeyAuth: []
  9617. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  9618. tags:
  9619. - 企业风险管理(app)
  9620. /Ermcp/QueryBusinessDj:
  9621. get:
  9622. parameters:
  9623. - description: 用户ID
  9624. in: query
  9625. name: UserId
  9626. required: true
  9627. type: integer
  9628. - description: 现货合同ID, 不填则查所有
  9629. in: query
  9630. name: relatedid
  9631. type: string
  9632. produces:
  9633. - application/json
  9634. responses:
  9635. "200":
  9636. description: OK
  9637. schema:
  9638. items:
  9639. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  9640. type: array
  9641. "500":
  9642. description: Internal Server Error
  9643. schema:
  9644. $ref: '#/definitions/app.Response'
  9645. security:
  9646. - ApiKeyAuth: []
  9647. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  9648. tags:
  9649. - 企业风险管理(app)
  9650. /Ermcp/QueryBusinessFp:
  9651. get:
  9652. parameters:
  9653. - description: 用户ID
  9654. in: query
  9655. name: UserId
  9656. required: true
  9657. type: integer
  9658. - description: 现货合同ID, 不填则查所有
  9659. in: query
  9660. name: relatedid
  9661. type: string
  9662. produces:
  9663. - application/json
  9664. responses:
  9665. "200":
  9666. description: OK
  9667. schema:
  9668. items:
  9669. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  9670. type: array
  9671. "500":
  9672. description: Internal Server Error
  9673. schema:
  9674. $ref: '#/definitions/app.Response'
  9675. security:
  9676. - ApiKeyAuth: []
  9677. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  9678. tags:
  9679. - 企业风险管理(app)
  9680. /Ermcp/QueryBusinessJs:
  9681. get:
  9682. parameters:
  9683. - description: 用户ID
  9684. in: query
  9685. name: UserId
  9686. required: true
  9687. type: integer
  9688. - description: 现货合同ID, 不填则查所有
  9689. in: query
  9690. name: relatedid
  9691. type: string
  9692. produces:
  9693. - application/json
  9694. responses:
  9695. "200":
  9696. description: OK
  9697. schema:
  9698. items:
  9699. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  9700. type: array
  9701. "500":
  9702. description: Internal Server Error
  9703. schema:
  9704. $ref: '#/definitions/app.Response'
  9705. security:
  9706. - ApiKeyAuth: []
  9707. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  9708. tags:
  9709. - 企业风险管理(app)
  9710. /Ermcp/QueryBusinessJsEx:
  9711. get:
  9712. parameters:
  9713. - description: 用户ID
  9714. in: query
  9715. name: UserId
  9716. required: true
  9717. type: integer
  9718. - description: 现货合同ID, 不填则查所有
  9719. in: query
  9720. name: relatedid
  9721. type: string
  9722. produces:
  9723. - application/json
  9724. responses:
  9725. "200":
  9726. description: OK
  9727. schema:
  9728. items:
  9729. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  9730. type: array
  9731. "500":
  9732. description: Internal Server Error
  9733. schema:
  9734. $ref: '#/definitions/app.Response'
  9735. security:
  9736. - ApiKeyAuth: []
  9737. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  9738. tags:
  9739. - 企业风险管理(app)
  9740. /Ermcp/QueryBusinessKx:
  9741. get:
  9742. parameters:
  9743. - description: 用户ID
  9744. in: query
  9745. name: UserId
  9746. required: true
  9747. type: integer
  9748. - description: 现货合同ID, 不填则查所有
  9749. in: query
  9750. name: relatedid
  9751. type: string
  9752. produces:
  9753. - application/json
  9754. responses:
  9755. "200":
  9756. description: OK
  9757. schema:
  9758. items:
  9759. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  9760. type: array
  9761. "500":
  9762. description: Internal Server Error
  9763. schema:
  9764. $ref: '#/definitions/app.Response'
  9765. security:
  9766. - ApiKeyAuth: []
  9767. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  9768. tags:
  9769. - 企业风险管理(app)
  9770. /Ermcp/QueryChangeLog:
  9771. get:
  9772. parameters:
  9773. - description: 合同ID
  9774. in: query
  9775. name: RelatedId
  9776. required: true
  9777. type: string
  9778. produces:
  9779. - application/json
  9780. responses:
  9781. "200":
  9782. description: OK
  9783. schema:
  9784. items:
  9785. $ref: '#/definitions/ermcp.QryOPLogRsp'
  9786. type: array
  9787. "500":
  9788. description: Internal Server Error
  9789. schema:
  9790. $ref: '#/definitions/app.Response'
  9791. security:
  9792. - ApiKeyAuth: []
  9793. summary: 查询变更记录
  9794. tags:
  9795. - 企业风险管理(app)
  9796. /Ermcp/QueryContract:
  9797. get:
  9798. parameters:
  9799. - description: 用户ID
  9800. in: query
  9801. name: userId
  9802. required: true
  9803. type: integer
  9804. - description: 合同类型 1-采购, -1-销售
  9805. in: query
  9806. name: contracttype
  9807. required: true
  9808. type: integer
  9809. - description: 查询类型 1-全部 2-待点价 3-履约结算
  9810. in: query
  9811. name: querytype
  9812. required: true
  9813. type: integer
  9814. produces:
  9815. - application/json
  9816. responses:
  9817. "200":
  9818. description: OK
  9819. schema:
  9820. items:
  9821. $ref: '#/definitions/ermcp.QryErmcpRsp'
  9822. type: array
  9823. "500":
  9824. description: Internal Server Error
  9825. schema:
  9826. $ref: '#/definitions/app.Response'
  9827. security:
  9828. - ApiKeyAuth: []
  9829. summary: 查询合同(采购和销售)
  9830. tags:
  9831. - 企业风险管理(app)
  9832. /Ermcp/QueryErmcpOrderDetails:
  9833. get:
  9834. parameters:
  9835. - description: 资金账户ID
  9836. in: query
  9837. name: accountID
  9838. required: true
  9839. type: integer
  9840. produces:
  9841. - application/json
  9842. responses:
  9843. "200":
  9844. description: OK
  9845. schema:
  9846. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  9847. "500":
  9848. description: Internal Server Error
  9849. schema:
  9850. $ref: '#/definitions/app.Response'
  9851. security:
  9852. - ApiKeyAuth: []
  9853. summary: 获取企业风管期货委托单信息
  9854. tags:
  9855. - 企业风险管理(app)
  9856. /Ermcp/QueryErmcpTradePosition:
  9857. get:
  9858. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  9859. parameters:
  9860. - description: 资金账户ID
  9861. in: query
  9862. name: accountID
  9863. required: true
  9864. type: integer
  9865. - description: 所属市场ID
  9866. in: query
  9867. name: marketID
  9868. type: integer
  9869. produces:
  9870. - application/json
  9871. responses:
  9872. "200":
  9873. description: OK
  9874. schema:
  9875. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  9876. "500":
  9877. description: Internal Server Error
  9878. schema:
  9879. $ref: '#/definitions/app.Response'
  9880. security:
  9881. - ApiKeyAuth: []
  9882. summary: 获取企业风管期货持仓头寸信息
  9883. tags:
  9884. - 企业风险管理(app)
  9885. /Ermcp/QueryExposureDetail:
  9886. get:
  9887. parameters:
  9888. - description: 所属机构ID
  9889. in: query
  9890. name: areaUserId
  9891. required: true
  9892. type: integer
  9893. - description: 套保商品
  9894. in: query
  9895. name: middleGoodsId
  9896. required: true
  9897. type: integer
  9898. produces:
  9899. - application/json
  9900. responses:
  9901. "200":
  9902. description: OK
  9903. schema:
  9904. items:
  9905. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  9906. type: array
  9907. "500":
  9908. description: Internal Server Error
  9909. schema:
  9910. $ref: '#/definitions/app.Response'
  9911. security:
  9912. - ApiKeyAuth: []
  9913. summary: 查询敞口现货明细
  9914. tags:
  9915. - 企业风险管理(app)
  9916. /Ermcp/QueryExposureHedgePosition:
  9917. get:
  9918. parameters:
  9919. - description: 所属机构ID
  9920. in: query
  9921. name: areaUserId
  9922. required: true
  9923. type: integer
  9924. produces:
  9925. - application/json
  9926. responses:
  9927. "200":
  9928. description: OK
  9929. schema:
  9930. items:
  9931. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  9932. type: array
  9933. "500":
  9934. description: Internal Server Error
  9935. schema:
  9936. $ref: '#/definitions/app.Response'
  9937. security:
  9938. - ApiKeyAuth: []
  9939. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  9940. tags:
  9941. - 企业风险管理(app)
  9942. /Ermcp/QueryExposureHedgePositionDetail:
  9943. get:
  9944. parameters:
  9945. - description: 所属机构ID
  9946. in: query
  9947. name: areaUserId
  9948. required: true
  9949. type: integer
  9950. - description: 商品id
  9951. in: query
  9952. name: goodsId
  9953. required: true
  9954. type: integer
  9955. produces:
  9956. - application/json
  9957. responses:
  9958. "200":
  9959. description: OK
  9960. schema:
  9961. items:
  9962. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  9963. type: array
  9964. "500":
  9965. description: Internal Server Error
  9966. schema:
  9967. $ref: '#/definitions/app.Response'
  9968. security:
  9969. - ApiKeyAuth: []
  9970. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  9971. tags:
  9972. - 企业风险管理(app)
  9973. /Ermcp/QueryExposureSpot:
  9974. get:
  9975. parameters:
  9976. - description: 所属机构ID
  9977. in: query
  9978. name: areaUserId
  9979. required: true
  9980. type: integer
  9981. produces:
  9982. - application/json
  9983. responses:
  9984. "200":
  9985. description: OK
  9986. schema:
  9987. items:
  9988. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  9989. type: array
  9990. "500":
  9991. description: Internal Server Error
  9992. schema:
  9993. $ref: '#/definitions/app.Response'
  9994. security:
  9995. - ApiKeyAuth: []
  9996. summary: 查询敞口现货头寸(敞口/现货头寸)
  9997. tags:
  9998. - 企业风险管理(app)
  9999. /Ermcp/QueryExposureSpotDetail:
  10000. get:
  10001. parameters:
  10002. - description: 所属机构ID
  10003. in: query
  10004. name: areaUserId
  10005. required: true
  10006. type: integer
  10007. - description: 现货品种ID
  10008. in: query
  10009. name: wrstandardId
  10010. required: true
  10011. type: integer
  10012. produces:
  10013. - application/json
  10014. responses:
  10015. "200":
  10016. description: OK
  10017. schema:
  10018. items:
  10019. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  10020. type: array
  10021. "500":
  10022. description: Internal Server Error
  10023. schema:
  10024. $ref: '#/definitions/app.Response'
  10025. security:
  10026. - ApiKeyAuth: []
  10027. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  10028. tags:
  10029. - 企业风险管理(app)
  10030. /Ermcp/QueryGGConvertConfig:
  10031. get:
  10032. parameters:
  10033. - description: 品种id(不填则查所有)
  10034. in: query
  10035. name: goodsgroupid
  10036. type: integer
  10037. produces:
  10038. - application/json
  10039. responses:
  10040. "200":
  10041. description: OK
  10042. schema:
  10043. items:
  10044. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  10045. type: array
  10046. "500":
  10047. description: Internal Server Error
  10048. schema:
  10049. $ref: '#/definitions/app.Response'
  10050. security:
  10051. - ApiKeyAuth: []
  10052. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  10053. tags:
  10054. - 企业风险管理(app)
  10055. /Ermcp/QueryHedgePlan:
  10056. get:
  10057. parameters:
  10058. - description: 用户ID
  10059. in: query
  10060. name: userId
  10061. required: true
  10062. type: integer
  10063. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  10064. in: query
  10065. name: HedgePlanStatus
  10066. required: true
  10067. type: string
  10068. produces:
  10069. - application/json
  10070. responses:
  10071. "200":
  10072. description: OK
  10073. schema:
  10074. items:
  10075. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  10076. type: array
  10077. "500":
  10078. description: Internal Server Error
  10079. schema:
  10080. $ref: '#/definitions/app.Response'
  10081. security:
  10082. - ApiKeyAuth: []
  10083. summary: 查询套保计划
  10084. tags:
  10085. - 企业风险管理(app)
  10086. /Ermcp/QueryHisExposure:
  10087. get:
  10088. parameters:
  10089. - description: 所属机构ID
  10090. in: query
  10091. name: areaUserId
  10092. required: true
  10093. type: integer
  10094. - description: 每个品种记录数
  10095. in: query
  10096. name: lastNum
  10097. required: true
  10098. type: integer
  10099. produces:
  10100. - application/json
  10101. responses:
  10102. "200":
  10103. description: OK
  10104. schema:
  10105. items:
  10106. $ref: '#/definitions/ermcp.HisExposureRsp'
  10107. type: array
  10108. "500":
  10109. description: Internal Server Error
  10110. schema:
  10111. $ref: '#/definitions/app.Response'
  10112. security:
  10113. - ApiKeyAuth: []
  10114. summary: 查询历史敞口(菜单:敞口/历史敞口)
  10115. tags:
  10116. - 企业风险管理(app)
  10117. /Ermcp/QueryMiddleGoods:
  10118. get:
  10119. parameters:
  10120. - description: 所属机构ID
  10121. in: query
  10122. name: userid
  10123. required: true
  10124. type: integer
  10125. - description: 状态 0-停用 1-正常
  10126. in: query
  10127. name: status
  10128. required: true
  10129. type: integer
  10130. produces:
  10131. - application/json
  10132. responses:
  10133. "200":
  10134. description: OK
  10135. schema:
  10136. items:
  10137. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  10138. type: array
  10139. "500":
  10140. description: Internal Server Error
  10141. schema:
  10142. $ref: '#/definitions/app.Response'
  10143. security:
  10144. - ApiKeyAuth: []
  10145. summary: 查询套保品种(菜单:套保品种)
  10146. tags:
  10147. - 企业风险管理(app)
  10148. /Ermcp/QueryMiddleGoodsChangeLog:
  10149. get:
  10150. parameters:
  10151. - description: 所属机构ID
  10152. in: query
  10153. name: userid
  10154. required: true
  10155. type: integer
  10156. - description: 套保品种id
  10157. in: query
  10158. name: middlegoodsid
  10159. required: true
  10160. type: integer
  10161. produces:
  10162. - application/json
  10163. responses:
  10164. "200":
  10165. description: OK
  10166. schema:
  10167. items:
  10168. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  10169. type: array
  10170. "500":
  10171. description: Internal Server Error
  10172. schema:
  10173. $ref: '#/definitions/app.Response'
  10174. security:
  10175. - ApiKeyAuth: []
  10176. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  10177. tags:
  10178. - 企业风险管理(app)
  10179. /Ermcp/QueryMiddleGoodsDetail:
  10180. get:
  10181. parameters:
  10182. - description: 所属机构ID
  10183. in: query
  10184. name: userid
  10185. required: true
  10186. type: integer
  10187. - description: 套保品种id
  10188. in: query
  10189. name: middlegoodsid
  10190. required: true
  10191. type: integer
  10192. produces:
  10193. - application/json
  10194. responses:
  10195. "200":
  10196. description: OK
  10197. schema:
  10198. items:
  10199. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  10200. type: array
  10201. "500":
  10202. description: Internal Server Error
  10203. schema:
  10204. $ref: '#/definitions/app.Response'
  10205. security:
  10206. - ApiKeyAuth: []
  10207. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  10208. tags:
  10209. - 企业风险管理(app)
  10210. /Ermcp/QueryPendingAuditInfo:
  10211. get:
  10212. parameters:
  10213. - description: 用户ID
  10214. in: query
  10215. name: UserId
  10216. required: true
  10217. type: integer
  10218. produces:
  10219. - application/json
  10220. responses:
  10221. "200":
  10222. description: OK
  10223. schema:
  10224. items:
  10225. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  10226. type: array
  10227. "500":
  10228. description: Internal Server Error
  10229. schema:
  10230. $ref: '#/definitions/app.Response'
  10231. security:
  10232. - ApiKeyAuth: []
  10233. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  10234. tags:
  10235. - 企业风险管理(app)
  10236. /Ermcp/QueryRealtimeExposure:
  10237. get:
  10238. parameters:
  10239. - description: 所属机构ID
  10240. in: query
  10241. name: AreaUserID
  10242. required: true
  10243. type: integer
  10244. produces:
  10245. - application/json
  10246. responses:
  10247. "200":
  10248. description: OK
  10249. schema:
  10250. items:
  10251. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  10252. type: array
  10253. "500":
  10254. description: Internal Server Error
  10255. schema:
  10256. $ref: '#/definitions/app.Response'
  10257. security:
  10258. - ApiKeyAuth: []
  10259. summary: 查询实时敞口
  10260. tags:
  10261. - 企业风险管理(app)
  10262. /Ermcp/QueryRealtimeExposurePosition:
  10263. get:
  10264. parameters:
  10265. - description: 所属机构ID
  10266. in: query
  10267. name: areaUserId
  10268. required: true
  10269. type: integer
  10270. - description: 套保商品ID
  10271. in: query
  10272. name: middleGoodsId
  10273. required: true
  10274. type: integer
  10275. produces:
  10276. - application/json
  10277. responses:
  10278. "200":
  10279. description: OK
  10280. schema:
  10281. items:
  10282. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  10283. type: array
  10284. "500":
  10285. description: Internal Server Error
  10286. schema:
  10287. $ref: '#/definitions/app.Response'
  10288. security:
  10289. - ApiKeyAuth: []
  10290. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  10291. tags:
  10292. - 企业风险管理(app)
  10293. /Ermcp/QuerySpotContract:
  10294. get:
  10295. parameters:
  10296. - description: 用户ID
  10297. in: query
  10298. name: userId
  10299. required: true
  10300. type: integer
  10301. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  10302. in: query
  10303. name: QueryType
  10304. required: true
  10305. type: integer
  10306. produces:
  10307. - application/json
  10308. responses:
  10309. "200":
  10310. description: OK
  10311. schema:
  10312. items:
  10313. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  10314. type: array
  10315. "500":
  10316. description: Internal Server Error
  10317. schema:
  10318. $ref: '#/definitions/app.Response'
  10319. security:
  10320. - ApiKeyAuth: []
  10321. summary: 查询现货合同(对应现货合同菜单)
  10322. tags:
  10323. - 企业风险管理(app)
  10324. /Ermcp/QueryUserInfo:
  10325. get:
  10326. parameters:
  10327. - description: 所属机构用户ID
  10328. in: query
  10329. name: MemberUserID
  10330. required: true
  10331. type: integer
  10332. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  10333. in: query
  10334. name: queryType
  10335. required: true
  10336. type: integer
  10337. produces:
  10338. - application/json
  10339. responses:
  10340. "200":
  10341. description: OK
  10342. schema:
  10343. items:
  10344. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  10345. type: array
  10346. "500":
  10347. description: Internal Server Error
  10348. schema:
  10349. $ref: '#/definitions/app.Response'
  10350. security:
  10351. - ApiKeyAuth: []
  10352. summary: 查询客户资料
  10353. tags:
  10354. - 企业风险管理(app)
  10355. /Ermcp/QueryWrStandard:
  10356. get:
  10357. parameters:
  10358. - description: 所属机构ID
  10359. in: query
  10360. name: userid
  10361. required: true
  10362. type: integer
  10363. - description: 状态 0-停用 1-正常
  10364. in: query
  10365. name: status
  10366. required: true
  10367. type: integer
  10368. produces:
  10369. - application/json
  10370. responses:
  10371. "200":
  10372. description: OK
  10373. schema:
  10374. items:
  10375. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  10376. type: array
  10377. "500":
  10378. description: Internal Server Error
  10379. schema:
  10380. $ref: '#/definitions/app.Response'
  10381. security:
  10382. - ApiKeyAuth: []
  10383. summary: 查询现货商品
  10384. tags:
  10385. - 企业风险管理(app)
  10386. /Ermcp/QueryWrStandardDetail:
  10387. get:
  10388. parameters:
  10389. - description: 所属机构ID
  10390. in: query
  10391. name: userid
  10392. required: true
  10393. type: integer
  10394. - description: 现货商品ID
  10395. in: query
  10396. name: wrstandardid
  10397. required: true
  10398. type: integer
  10399. produces:
  10400. - application/json
  10401. responses:
  10402. "200":
  10403. description: OK
  10404. schema:
  10405. items:
  10406. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  10407. type: array
  10408. "500":
  10409. description: Internal Server Error
  10410. schema:
  10411. $ref: '#/definitions/app.Response'
  10412. security:
  10413. - ApiKeyAuth: []
  10414. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  10415. tags:
  10416. - 企业风险管理(app)
  10417. /Erms2/QueryArbitrageStrategy:
  10418. get:
  10419. parameters:
  10420. - description: 账户ID
  10421. in: query
  10422. name: userid
  10423. required: true
  10424. type: integer
  10425. - description: 商品组ID(品种ID)
  10426. in: query
  10427. name: goodsgroupid
  10428. type: string
  10429. produces:
  10430. - application/json
  10431. responses:
  10432. "200":
  10433. description: OK
  10434. schema:
  10435. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  10436. "500":
  10437. description: Internal Server Error
  10438. schema:
  10439. $ref: '#/definitions/app.Response'
  10440. security:
  10441. - ApiKeyAuth: []
  10442. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  10443. tags:
  10444. - 风险管理
  10445. /Erms2/QueryInnerTradeDetail:
  10446. get:
  10447. parameters:
  10448. - description: 资金账户
  10449. in: query
  10450. name: accountid
  10451. required: true
  10452. type: integer
  10453. produces:
  10454. - application/json
  10455. responses:
  10456. "200":
  10457. description: OK
  10458. schema:
  10459. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  10460. "500":
  10461. description: Internal Server Error
  10462. schema:
  10463. $ref: '#/definitions/app.Response'
  10464. security:
  10465. - ApiKeyAuth: []
  10466. summary: 查询内部成交单信息
  10467. tags:
  10468. - 风险管理
  10469. /Erms2/QuerySpotContract:
  10470. get:
  10471. parameters:
  10472. - description: 策略申请ID
  10473. in: query
  10474. name: asapplyid
  10475. required: true
  10476. type: integer
  10477. - description: 现货合同ID
  10478. in: query
  10479. name: spotcontractid
  10480. type: integer
  10481. produces:
  10482. - application/json
  10483. responses:
  10484. "200":
  10485. description: OK
  10486. schema:
  10487. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  10488. "500":
  10489. description: Internal Server Error
  10490. schema:
  10491. $ref: '#/definitions/app.Response'
  10492. security:
  10493. - ApiKeyAuth: []
  10494. summary: 查询现货合同表信息(指定策略ID、未结束的)
  10495. tags:
  10496. - 风险管理
  10497. /Erms3/AddErms2ASApply:
  10498. post:
  10499. parameters:
  10500. - description: 申请参数
  10501. in: body
  10502. name: jsonBody
  10503. required: true
  10504. schema:
  10505. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  10506. produces:
  10507. - application/json
  10508. responses:
  10509. "200":
  10510. description: OK
  10511. schema:
  10512. $ref: '#/definitions/app.Response'
  10513. "500":
  10514. description: Internal Server Error
  10515. schema:
  10516. $ref: '#/definitions/app.Response'
  10517. security:
  10518. - ApiKeyAuth: []
  10519. summary: 新增期现套利业务申请
  10520. tags:
  10521. - 风险管理v3
  10522. /Erms3/AddErms2SpotTradeApply:
  10523. post:
  10524. parameters:
  10525. - description: 申请参数
  10526. in: body
  10527. name: jsonBody
  10528. required: true
  10529. schema:
  10530. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  10531. produces:
  10532. - application/json
  10533. responses:
  10534. "200":
  10535. description: OK
  10536. schema:
  10537. $ref: '#/definitions/app.Response'
  10538. "500":
  10539. description: Internal Server Error
  10540. schema:
  10541. $ref: '#/definitions/app.Response'
  10542. security:
  10543. - ApiKeyAuth: []
  10544. summary: 新增现货贸易业务申请
  10545. tags:
  10546. - 风险管理v3
  10547. /Erms3/AddSpotContractApply:
  10548. post:
  10549. parameters:
  10550. - description: 申请参数
  10551. in: body
  10552. name: jsonBody
  10553. required: true
  10554. schema:
  10555. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  10556. produces:
  10557. - application/json
  10558. responses:
  10559. "200":
  10560. description: OK
  10561. schema:
  10562. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  10563. "500":
  10564. description: Internal Server Error
  10565. schema:
  10566. $ref: '#/definitions/app.Response'
  10567. security:
  10568. - ApiKeyAuth: []
  10569. summary: 新增现货合同申请
  10570. tags:
  10571. - 风险管理v3
  10572. /Erms3/AddUserInfoApply:
  10573. post:
  10574. parameters:
  10575. - description: 用户信息
  10576. in: body
  10577. name: jsonBody
  10578. required: true
  10579. schema:
  10580. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  10581. produces:
  10582. - application/json
  10583. responses:
  10584. "200":
  10585. description: OK
  10586. schema:
  10587. $ref: '#/definitions/app.Response'
  10588. "500":
  10589. description: Internal Server Error
  10590. schema:
  10591. $ref: '#/definitions/app.Response'
  10592. security:
  10593. - ApiKeyAuth: []
  10594. summary: 新增客户申请
  10595. tags:
  10596. - 风险管理v3
  10597. /Erms3/ModifyUserInfoApply:
  10598. post:
  10599. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  10600. int, "userstate": 2 }'
  10601. parameters:
  10602. - description: 用户信息
  10603. in: body
  10604. name: jsonBody
  10605. required: true
  10606. schema:
  10607. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  10608. produces:
  10609. - application/json
  10610. responses:
  10611. "200":
  10612. description: OK
  10613. schema:
  10614. $ref: '#/definitions/app.Response'
  10615. "500":
  10616. description: Internal Server Error
  10617. schema:
  10618. $ref: '#/definitions/app.Response'
  10619. security:
  10620. - ApiKeyAuth: []
  10621. summary: 修改客户申请
  10622. tags:
  10623. - 风险管理v3
  10624. /Erms3/QueryBusinessInfo:
  10625. get:
  10626. parameters:
  10627. - description: 资金账号ID列表,用逗号分隔
  10628. in: query
  10629. name: accountids
  10630. required: true
  10631. type: string
  10632. - description: 状态,0为未结束 1为已结束
  10633. in: query
  10634. name: status
  10635. required: true
  10636. type: integer
  10637. produces:
  10638. - application/json
  10639. responses:
  10640. "200":
  10641. description: OK
  10642. schema:
  10643. items:
  10644. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  10645. type: array
  10646. "500":
  10647. description: Internal Server Error
  10648. schema:
  10649. $ref: '#/definitions/app.Response'
  10650. security:
  10651. - ApiKeyAuth: []
  10652. summary: 查询业务表单数据
  10653. tags:
  10654. - 风险管理v3
  10655. /Erms3/QueryPendingAuditContract:
  10656. get:
  10657. parameters:
  10658. - description: 资金账号ID列表,逗号隔开
  10659. in: query
  10660. name: accountids
  10661. required: true
  10662. type: string
  10663. - description: 合同类型 1-采购 -1-销售
  10664. in: query
  10665. name: contracttype
  10666. required: true
  10667. type: integer
  10668. - description: 合同模式 1-普通 2-回购
  10669. in: query
  10670. name: contractmode
  10671. required: true
  10672. type: integer
  10673. produces:
  10674. - application/json
  10675. responses:
  10676. "200":
  10677. description: OK
  10678. schema:
  10679. items:
  10680. $ref: '#/definitions/erms3.QryAuditContractRsp'
  10681. type: array
  10682. "500":
  10683. description: Internal Server Error
  10684. schema:
  10685. $ref: '#/definitions/app.Response'
  10686. security:
  10687. - ApiKeyAuth: []
  10688. summary: 查询待审核合同
  10689. tags:
  10690. - 风险管理v3
  10691. /Erms3/QueryPendingBusiness:
  10692. get:
  10693. parameters:
  10694. - description: 资金账号ID列表,逗号隔开
  10695. in: query
  10696. name: accountids
  10697. required: true
  10698. type: string
  10699. produces:
  10700. - application/json
  10701. responses:
  10702. "200":
  10703. description: OK
  10704. schema:
  10705. items:
  10706. $ref: '#/definitions/erms3.QryPendingBizRsp'
  10707. type: array
  10708. "500":
  10709. description: Internal Server Error
  10710. schema:
  10711. $ref: '#/definitions/app.Response'
  10712. security:
  10713. - ApiKeyAuth: []
  10714. summary: 查询待审核基差贸易业务
  10715. tags:
  10716. - 风险管理v3
  10717. /Erms3/QuerySpotContractAppleForm:
  10718. get:
  10719. parameters:
  10720. - description: 登录账号
  10721. in: query
  10722. name: loginID
  10723. required: true
  10724. type: integer
  10725. produces:
  10726. - application/json
  10727. responses:
  10728. "200":
  10729. description: OK
  10730. schema:
  10731. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  10732. "500":
  10733. description: Internal Server Error
  10734. schema:
  10735. $ref: '#/definitions/app.Response'
  10736. security:
  10737. - ApiKeyAuth: []
  10738. summary: 查询合同申请表单数据
  10739. tags:
  10740. - 风险管理v3
  10741. /Erms3/QuerySpotContractDetail:
  10742. get:
  10743. parameters:
  10744. - description: 资金账号ID列表,用逗号分隔
  10745. in: query
  10746. name: accountids
  10747. required: true
  10748. type: string
  10749. - description: 合同类型,1为采购合同 -1为销售合同
  10750. in: query
  10751. name: contracttype
  10752. required: true
  10753. type: integer
  10754. - description: 合同模式,1为普通合同 2为回购销售合同
  10755. in: query
  10756. name: contractmode
  10757. required: true
  10758. type: integer
  10759. - description: 状态,0为履约中 1为已完成
  10760. in: query
  10761. name: status
  10762. required: true
  10763. type: integer
  10764. produces:
  10765. - application/json
  10766. responses:
  10767. "200":
  10768. description: OK
  10769. schema:
  10770. items:
  10771. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  10772. type: array
  10773. "500":
  10774. description: Internal Server Error
  10775. schema:
  10776. $ref: '#/definitions/app.Response'
  10777. security:
  10778. - ApiKeyAuth: []
  10779. summary: 查询合同详细信息
  10780. tags:
  10781. - 风险管理v3
  10782. /Erms3/QueryUserInfoApplies:
  10783. get:
  10784. parameters:
  10785. - description: 页码
  10786. in: query
  10787. name: page
  10788. type: integer
  10789. - description: 每页条数
  10790. in: query
  10791. name: pagesize
  10792. type: integer
  10793. - description: 客户名称,支持模糊查询
  10794. in: query
  10795. name: userName
  10796. type: string
  10797. produces:
  10798. - application/json
  10799. responses:
  10800. "200":
  10801. description: OK
  10802. schema:
  10803. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  10804. "500":
  10805. description: Internal Server Error
  10806. schema:
  10807. $ref: '#/definitions/app.Response'
  10808. security:
  10809. - ApiKeyAuth: []
  10810. summary: 客户申请信息查询
  10811. tags:
  10812. - 风险管理v3
  10813. /Erms3/QueryUserInfos:
  10814. get:
  10815. parameters:
  10816. - description: 页码
  10817. in: query
  10818. name: page
  10819. type: integer
  10820. - description: 每页条数
  10821. in: query
  10822. name: pagesize
  10823. type: integer
  10824. - description: 客户名称,支持模糊查询
  10825. in: query
  10826. name: userName
  10827. type: string
  10828. produces:
  10829. - application/json
  10830. responses:
  10831. "200":
  10832. description: OK
  10833. schema:
  10834. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  10835. "500":
  10836. description: Internal Server Error
  10837. schema:
  10838. $ref: '#/definitions/app.Response'
  10839. security:
  10840. - ApiKeyAuth: []
  10841. summary: 客户信息查询
  10842. tags:
  10843. - 风险管理v3
  10844. /HSBY/GetHsbyMyCount:
  10845. get:
  10846. description: 说明: 不包括已完成的数量。
  10847. parameters:
  10848. - description: 资金账户列表,格式:1,2,3
  10849. in: query
  10850. name: accountIDs
  10851. required: true
  10852. type: string
  10853. produces:
  10854. - application/json
  10855. responses:
  10856. "200":
  10857. description: OK
  10858. schema:
  10859. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  10860. "500":
  10861. description: Internal Server Error
  10862. schema:
  10863. $ref: '#/definitions/app.Response'
  10864. security:
  10865. - ApiKeyAuth: []
  10866. summary: 获取我的订单与包裹数量
  10867. tags:
  10868. - 定制【海商报业】
  10869. /HSBY/QueryClientFixedADConfigs:
  10870. get:
  10871. produces:
  10872. - application/json
  10873. responses:
  10874. "200":
  10875. description: OK
  10876. schema:
  10877. $ref: '#/definitions/models.Clientfixedadconfig'
  10878. "500":
  10879. description: Internal Server Error
  10880. schema:
  10881. $ref: '#/definitions/app.Response'
  10882. security:
  10883. - ApiKeyAuth: []
  10884. summary: 获取终端固定广告配置
  10885. tags:
  10886. - 定制【海商报业】
  10887. /HSBY/QueryHsbyBuyMyTradeDetail:
  10888. get:
  10889. parameters:
  10890. - description: 页码
  10891. in: query
  10892. name: page
  10893. type: integer
  10894. - description: 每页条数
  10895. in: query
  10896. name: pagesize
  10897. type: integer
  10898. - description: 资金账户列表,格式:1,2,3
  10899. in: query
  10900. name: accountIDs
  10901. required: true
  10902. type: string
  10903. produces:
  10904. - application/json
  10905. responses:
  10906. "200":
  10907. description: OK
  10908. schema:
  10909. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  10910. "500":
  10911. description: Internal Server Error
  10912. schema:
  10913. $ref: '#/definitions/app.Response'
  10914. security:
  10915. - ApiKeyAuth: []
  10916. summary: 查询"我的订单 - 已完成"单据信息
  10917. tags:
  10918. - 定制【海商报业】
  10919. /HSBY/QueryHsbyGoodsOrderDetails:
  10920. get:
  10921. description: 说明:查询结果已按委托价格和委托时间排序
  10922. parameters:
  10923. - description: 商品ID
  10924. in: query
  10925. name: goodsID
  10926. required: true
  10927. type: integer
  10928. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  10929. in: query
  10930. name: accountIDs
  10931. type: string
  10932. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  10933. in: query
  10934. name: buyOrSell
  10935. type: integer
  10936. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  10937. in: query
  10938. name: price
  10939. type: number
  10940. - description: 档位,不传则默认为3档
  10941. in: query
  10942. name: speed
  10943. type: integer
  10944. produces:
  10945. - application/json
  10946. responses:
  10947. "200":
  10948. description: OK
  10949. schema:
  10950. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  10951. "500":
  10952. description: Internal Server Error
  10953. schema:
  10954. $ref: '#/definitions/app.Response'
  10955. security:
  10956. - ApiKeyAuth: []
  10957. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  10958. tags:
  10959. - 定制【海商报业】
  10960. /HSBY/QueryHsbyListingGoodsDetail:
  10961. get:
  10962. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  10963. parameters:
  10964. - description: 商品ID
  10965. in: query
  10966. name: goodsID
  10967. required: true
  10968. type: integer
  10969. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  10970. in: query
  10971. name: accountID
  10972. type: integer
  10973. produces:
  10974. - application/json
  10975. responses:
  10976. "200":
  10977. description: OK
  10978. schema:
  10979. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  10980. "500":
  10981. description: Internal Server Error
  10982. schema:
  10983. $ref: '#/definitions/app.Response'
  10984. security:
  10985. - ApiKeyAuth: []
  10986. summary: 查询二级市场(挂牌点选)商品信息详情
  10987. tags:
  10988. - 定制【海商报业】
  10989. /HSBY/QueryHsbyMarketGoodsDetail:
  10990. get:
  10991. parameters:
  10992. - description: 委托单号
  10993. in: query
  10994. name: orderID
  10995. required: true
  10996. type: integer
  10997. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  10998. in: query
  10999. name: accountID
  11000. type: integer
  11001. produces:
  11002. - application/json
  11003. responses:
  11004. "200":
  11005. description: OK
  11006. schema:
  11007. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11008. "500":
  11009. description: Internal Server Error
  11010. schema:
  11011. $ref: '#/definitions/app.Response'
  11012. security:
  11013. - ApiKeyAuth: []
  11014. summary: 查询三级市场(商城)商品信息详情
  11015. tags:
  11016. - 定制【海商报业】
  11017. /HSBY/QueryHsbyMarketGoodses:
  11018. get:
  11019. parameters:
  11020. - description: 页码
  11021. in: query
  11022. name: page
  11023. type: integer
  11024. - description: 每页条数
  11025. in: query
  11026. name: pagesize
  11027. type: integer
  11028. - description: 市场ID列表,格式:1,2,3
  11029. in: query
  11030. name: marketIDs
  11031. required: true
  11032. type: string
  11033. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  11034. in: query
  11035. name: accountID
  11036. required: true
  11037. type: integer
  11038. - description: 类别ID
  11039. in: query
  11040. name: categoryID
  11041. type: integer
  11042. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11043. in: query
  11044. name: goodsIDs
  11045. type: string
  11046. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  11047. in: query
  11048. name: couponTypeID
  11049. type: integer
  11050. produces:
  11051. - application/json
  11052. responses:
  11053. "200":
  11054. description: OK
  11055. schema:
  11056. $ref: '#/definitions/models.HsbyMarketGoods'
  11057. "500":
  11058. description: Internal Server Error
  11059. schema:
  11060. $ref: '#/definitions/app.Response'
  11061. security:
  11062. - ApiKeyAuth: []
  11063. summary: 查询特卖商品列表(三级商城)
  11064. tags:
  11065. - 定制【海商报业】
  11066. /HSBY/QueryHsbyMarkets:
  11067. get:
  11068. produces:
  11069. - application/json
  11070. responses:
  11071. "200":
  11072. description: OK
  11073. schema:
  11074. $ref: '#/definitions/models.HsbyMarketInfo'
  11075. "500":
  11076. description: Internal Server Error
  11077. schema:
  11078. $ref: '#/definitions/app.Response'
  11079. security:
  11080. - ApiKeyAuth: []
  11081. summary: 查询海商报业相关市场信息
  11082. tags:
  11083. - 定制【海商报业】
  11084. /HSBY/QueryHsbyMyBuyOrderDetails:
  11085. get:
  11086. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  11087. parameters:
  11088. - description: 资金账户列表,格式:1,2,3
  11089. in: query
  11090. name: accountIDs
  11091. required: true
  11092. type: string
  11093. produces:
  11094. - application/json
  11095. responses:
  11096. "200":
  11097. description: OK
  11098. schema:
  11099. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  11100. "500":
  11101. description: Internal Server Error
  11102. schema:
  11103. $ref: '#/definitions/app.Response'
  11104. security:
  11105. - ApiKeyAuth: []
  11106. summary: 查询“我的订单”信息
  11107. tags:
  11108. - 定制【海商报业】
  11109. /HSBY/QueryHsbyMyGoods:
  11110. get:
  11111. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  11112. parameters:
  11113. - description: 资金账户列表,格式:1,2,3
  11114. in: query
  11115. name: accountIDs
  11116. required: true
  11117. type: string
  11118. produces:
  11119. - application/json
  11120. responses:
  11121. "200":
  11122. description: OK
  11123. schema:
  11124. $ref: '#/definitions/models.HsbyMyGoods'
  11125. "500":
  11126. description: Internal Server Error
  11127. schema:
  11128. $ref: '#/definitions/app.Response'
  11129. security:
  11130. - ApiKeyAuth: []
  11131. summary: 查询“我的商品”信息
  11132. tags:
  11133. - 定制【海商报业】
  11134. /HSBY/QueryHsbyMyPackages:
  11135. get:
  11136. parameters:
  11137. - description: 资金账户列表,格式:1,2,3
  11138. in: query
  11139. name: accountIDs
  11140. required: true
  11141. type: string
  11142. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11143. in: query
  11144. name: takeOrderStatus
  11145. type: integer
  11146. produces:
  11147. - application/json
  11148. responses:
  11149. "200":
  11150. description: OK
  11151. schema:
  11152. $ref: '#/definitions/models.HsbyMyPackage'
  11153. "500":
  11154. description: Internal Server Error
  11155. schema:
  11156. $ref: '#/definitions/app.Response'
  11157. security:
  11158. - ApiKeyAuth: []
  11159. summary: 查询我的包裹信息
  11160. tags:
  11161. - 定制【海商报业】
  11162. /HSBY/QueryHsbyPreGoodsDetail:
  11163. get:
  11164. parameters:
  11165. - description: 商品ID
  11166. in: query
  11167. name: goodsID
  11168. required: true
  11169. type: integer
  11170. - description: 资金账户,主要用于获取预售商品购买上限
  11171. in: query
  11172. name: accountID
  11173. type: integer
  11174. produces:
  11175. - application/json
  11176. responses:
  11177. "200":
  11178. description: OK
  11179. schema:
  11180. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  11181. "500":
  11182. description: Internal Server Error
  11183. schema:
  11184. $ref: '#/definitions/app.Response'
  11185. security:
  11186. - ApiKeyAuth: []
  11187. summary: 查询一级市场(预售)商品信息详情
  11188. tags:
  11189. - 定制【海商报业】
  11190. /HSBY/QueryHsbyPreGoodses:
  11191. get:
  11192. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  11193. parameters:
  11194. - description: 页码
  11195. in: query
  11196. name: page
  11197. type: integer
  11198. - description: 每页条数
  11199. in: query
  11200. name: pagesize
  11201. type: integer
  11202. - description: 市场ID列表,格式:1,2,3
  11203. in: query
  11204. name: marketIDs
  11205. required: true
  11206. type: string
  11207. - description: 目的地(省)ID
  11208. in: query
  11209. name: descProvinceID
  11210. type: integer
  11211. - description: 目的地(市)ID
  11212. in: query
  11213. name: descCityID
  11214. type: integer
  11215. produces:
  11216. - application/json
  11217. responses:
  11218. "200":
  11219. description: OK
  11220. schema:
  11221. $ref: '#/definitions/models.HsbyPreGoods'
  11222. "500":
  11223. description: Internal Server Error
  11224. schema:
  11225. $ref: '#/definitions/app.Response'
  11226. security:
  11227. - ApiKeyAuth: []
  11228. summary: 查询新品上市商品列表(一级市场预售)
  11229. tags:
  11230. - 定制【海商报业】
  11231. /HSBY/QueryHsbySellMyDetails:
  11232. get:
  11233. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  11234. parameters:
  11235. - description: 页码
  11236. in: query
  11237. name: page
  11238. type: integer
  11239. - description: 每页条数
  11240. in: query
  11241. name: pagesize
  11242. type: integer
  11243. - description: 资金账户列表,格式:1,2,3
  11244. in: query
  11245. name: accountIDs
  11246. required: true
  11247. type: string
  11248. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  11249. in: query
  11250. name: orderType
  11251. type: integer
  11252. produces:
  11253. - application/json
  11254. responses:
  11255. "200":
  11256. description: OK
  11257. schema:
  11258. $ref: '#/definitions/models.HsbySellMyDetail'
  11259. "500":
  11260. description: Internal Server Error
  11261. schema:
  11262. $ref: '#/definitions/app.Response'
  11263. security:
  11264. - ApiKeyAuth: []
  11265. summary: 查询"我的闲置"单据信息
  11266. tags:
  11267. - 定制【海商报业】
  11268. /HSBY/QueryHsbyTopGoodses:
  11269. get:
  11270. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  11271. parameters:
  11272. - description: 页码
  11273. in: query
  11274. name: page
  11275. type: integer
  11276. - description: 每页条数
  11277. in: query
  11278. name: pagesize
  11279. type: integer
  11280. - description: 市场ID列表,格式:1,2,3
  11281. in: query
  11282. name: marketIDs
  11283. required: true
  11284. type: string
  11285. - description: 目的地(省)ID
  11286. in: query
  11287. name: descProvinceID
  11288. type: integer
  11289. - description: 目的地(市)ID
  11290. in: query
  11291. name: descCityID
  11292. type: integer
  11293. produces:
  11294. - application/json
  11295. responses:
  11296. "200":
  11297. description: OK
  11298. schema:
  11299. $ref: '#/definitions/models.HsbyTopGoods'
  11300. "500":
  11301. description: Internal Server Error
  11302. schema:
  11303. $ref: '#/definitions/app.Response'
  11304. security:
  11305. - ApiKeyAuth: []
  11306. summary: 查询热卖商品列表(二级市场挂牌点选)
  11307. tags:
  11308. - 定制【海商报业】
  11309. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  11310. get:
  11311. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  11312. parameters:
  11313. - description: 商品ID
  11314. in: query
  11315. name: goodsID
  11316. required: true
  11317. type: integer
  11318. produces:
  11319. - application/json
  11320. responses:
  11321. "200":
  11322. description: OK
  11323. schema:
  11324. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11325. "500":
  11326. description: Internal Server Error
  11327. schema:
  11328. $ref: '#/definitions/app.Response'
  11329. security:
  11330. - ApiKeyAuth: []
  11331. summary: 查询游客三级市场(商城)商品信息详情
  11332. tags:
  11333. - 定制【海商报业】
  11334. /HSBY/QueryHsbyVisitorMarketGoodses:
  11335. get:
  11336. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  11337. parameters:
  11338. - description: 页码
  11339. in: query
  11340. name: page
  11341. type: integer
  11342. - description: 每页条数
  11343. in: query
  11344. name: pagesize
  11345. type: integer
  11346. - description: 市场ID列表,格式:1,2,3
  11347. in: query
  11348. name: marketIDs
  11349. required: true
  11350. type: string
  11351. - description: 类别ID
  11352. in: query
  11353. name: categoryID
  11354. type: integer
  11355. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11356. in: query
  11357. name: goodsIDs
  11358. type: string
  11359. produces:
  11360. - application/json
  11361. responses:
  11362. "200":
  11363. description: OK
  11364. schema:
  11365. $ref: '#/definitions/models.HsbyMarketGoods'
  11366. "500":
  11367. description: Internal Server Error
  11368. schema:
  11369. $ref: '#/definitions/app.Response'
  11370. security:
  11371. - ApiKeyAuth: []
  11372. summary: 查询游客特卖商品列表(三级商城)
  11373. tags:
  11374. - 定制【海商报业】
  11375. /HSBY/QueryMyCollectionOrders:
  11376. get:
  11377. parameters:
  11378. - description: 页码
  11379. in: query
  11380. name: page
  11381. type: integer
  11382. - description: 每页条数
  11383. in: query
  11384. name: pagesize
  11385. type: integer
  11386. - description: 资金账户,格式:1,2,3
  11387. in: query
  11388. name: accountIDs
  11389. required: true
  11390. type: string
  11391. produces:
  11392. - application/json
  11393. responses:
  11394. "200":
  11395. description: OK
  11396. schema:
  11397. $ref: '#/definitions/models.HsbySellCollectionOrder'
  11398. "500":
  11399. description: Internal Server Error
  11400. schema:
  11401. $ref: '#/definitions/app.Response'
  11402. security:
  11403. - ApiKeyAuth: []
  11404. summary: 我的闲置中收款信息查询
  11405. tags:
  11406. - 定制【海商报业】
  11407. /HSBY/QueryMyCouponHolds:
  11408. get:
  11409. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  11410. parameters:
  11411. - description: 资金账户列表,格式:1,2,3
  11412. in: query
  11413. name: accountIDs
  11414. required: true
  11415. type: string
  11416. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  11417. in: query
  11418. name: holdStatus
  11419. type: string
  11420. produces:
  11421. - application/json
  11422. responses:
  11423. "200":
  11424. description: OK
  11425. schema:
  11426. $ref: '#/definitions/models.MyCouponHold'
  11427. "500":
  11428. description: Internal Server Error
  11429. schema:
  11430. $ref: '#/definitions/app.Response'
  11431. security:
  11432. - ApiKeyAuth: []
  11433. summary: 我的优惠卷持仓查询
  11434. tags:
  11435. - 定制【海商报业】
  11436. /HSBY/QueryMyCoupons:
  11437. get:
  11438. parameters:
  11439. - description: 资金账户列表,格式:1,2,3
  11440. in: query
  11441. name: accountIDs
  11442. required: true
  11443. type: string
  11444. - description: 商品ID, 一般与sellUserID配套传入
  11445. in: query
  11446. name: goodsID
  11447. type: integer
  11448. - description: 卖方UserID
  11449. in: query
  11450. name: sellUserID
  11451. type: integer
  11452. produces:
  11453. - application/json
  11454. responses:
  11455. "200":
  11456. description: OK
  11457. schema:
  11458. $ref: '#/definitions/models.MyCoupon'
  11459. "500":
  11460. description: Internal Server Error
  11461. schema:
  11462. $ref: '#/definitions/app.Response'
  11463. security:
  11464. - ApiKeyAuth: []
  11465. summary: 我的优惠卷查询
  11466. tags:
  11467. - 定制【海商报业】
  11468. /HSBY/QueryMyPayOrders:
  11469. get:
  11470. parameters:
  11471. - description: 页码
  11472. in: query
  11473. name: page
  11474. type: integer
  11475. - description: 每页条数
  11476. in: query
  11477. name: pagesize
  11478. type: integer
  11479. - description: 资金账户列表,格式:1,2,3
  11480. in: query
  11481. name: accountIDs
  11482. required: true
  11483. type: string
  11484. - description: 买方委托单号
  11485. in: query
  11486. name: buyOrderID
  11487. type: integer
  11488. - description: 卖方委托单号
  11489. in: query
  11490. name: sellOrderID
  11491. type: integer
  11492. produces:
  11493. - application/json
  11494. responses:
  11495. "200":
  11496. description: OK
  11497. schema:
  11498. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  11499. "500":
  11500. description: Internal Server Error
  11501. schema:
  11502. $ref: '#/definitions/app.Response'
  11503. security:
  11504. - ApiKeyAuth: []
  11505. summary: 获取我的订单中待付款信息
  11506. tags:
  11507. - 定制【海商报业】
  11508. /HSBY/QueryMyUsedCoupon:
  11509. get:
  11510. parameters:
  11511. - description: 资金账户列表,格式:1,2,3
  11512. in: query
  11513. name: accountIDs
  11514. required: true
  11515. type: string
  11516. produces:
  11517. - application/json
  11518. responses:
  11519. "200":
  11520. description: OK
  11521. schema:
  11522. $ref: '#/definitions/models.MyUsedCoupon'
  11523. "500":
  11524. description: Internal Server Error
  11525. schema:
  11526. $ref: '#/definitions/app.Response'
  11527. security:
  11528. - ApiKeyAuth: []
  11529. summary: 已使用优惠卷查询
  11530. tags:
  11531. - 定制【海商报业】
  11532. /HSBY/QueryProvincesAndCities:
  11533. get:
  11534. description: 查询结果只包括二级市场商品已关连的省市信息。
  11535. parameters:
  11536. - description: 省ID
  11537. in: query
  11538. name: provinceID
  11539. type: integer
  11540. produces:
  11541. - application/json
  11542. responses:
  11543. "200":
  11544. description: OK
  11545. schema:
  11546. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  11547. "500":
  11548. description: Internal Server Error
  11549. schema:
  11550. $ref: '#/definitions/app.Response'
  11551. security:
  11552. - ApiKeyAuth: []
  11553. summary: 查询省市信息(不包括区)
  11554. tags:
  11555. - 定制【海商报业】
  11556. /HSBY/SetHsbyMyPackagesStatus:
  11557. post:
  11558. parameters:
  11559. - description: 提货单号
  11560. in: query
  11561. name: takeOrderID
  11562. required: true
  11563. type: string
  11564. - description: 资金账号
  11565. in: query
  11566. name: accountID
  11567. required: true
  11568. type: integer
  11569. produces:
  11570. - application/json
  11571. responses:
  11572. "200":
  11573. description: OK
  11574. schema:
  11575. $ref: '#/definitions/app.Response'
  11576. "500":
  11577. description: Internal Server Error
  11578. schema:
  11579. $ref: '#/definitions/app.Response'
  11580. security:
  11581. - ApiKeyAuth: []
  11582. summary: 设置我的包裹已收货状态
  11583. tags:
  11584. - 定制【海商报业】
  11585. /Market/QueryGoodsesByLoginID:
  11586. get:
  11587. parameters:
  11588. - description: 登录账号
  11589. in: query
  11590. name: loginID
  11591. required: true
  11592. type: integer
  11593. - description: 市场ID列表,格式:1,2,3
  11594. in: query
  11595. name: marketIDs
  11596. type: string
  11597. produces:
  11598. - application/json
  11599. responses:
  11600. "200":
  11601. description: OK
  11602. schema:
  11603. $ref: '#/definitions/models.Goods'
  11604. "500":
  11605. description: Internal Server Error
  11606. schema:
  11607. $ref: '#/definitions/app.Response'
  11608. security:
  11609. - ApiKeyAuth: []
  11610. summary: 获取登录账号有权限的商品信息
  11611. tags:
  11612. - 通用市场
  11613. /Market/QueryMarketRun:
  11614. get:
  11615. parameters:
  11616. - description: 市场ID,不传返回所有
  11617. in: query
  11618. name: marketID
  11619. type: integer
  11620. produces:
  11621. - application/json
  11622. responses:
  11623. "200":
  11624. description: OK
  11625. schema:
  11626. $ref: '#/definitions/models.Marketrun'
  11627. "500":
  11628. description: Internal Server Error
  11629. schema:
  11630. $ref: '#/definitions/app.Response'
  11631. security:
  11632. - ApiKeyAuth: []
  11633. summary: 查询市场运行信息
  11634. tags:
  11635. - 通用市场
  11636. /Market/QueryMarketsByLoginID:
  11637. get:
  11638. parameters:
  11639. - description: 登录账号
  11640. in: query
  11641. name: loginID
  11642. required: true
  11643. type: integer
  11644. produces:
  11645. - application/json
  11646. responses:
  11647. "200":
  11648. description: OK
  11649. schema:
  11650. $ref: '#/definitions/models.Market'
  11651. "500":
  11652. description: Internal Server Error
  11653. schema:
  11654. $ref: '#/definitions/app.Response'
  11655. security:
  11656. - ApiKeyAuth: []
  11657. summary: 获取登录账号有权限的市场信息
  11658. tags:
  11659. - 通用市场
  11660. /Order/QueryHisTradeDetail:
  11661. get:
  11662. parameters:
  11663. - description: 资金账户 - 格式:1,2,3
  11664. in: query
  11665. name: accountID
  11666. required: true
  11667. type: string
  11668. - description: 成交单号
  11669. in: query
  11670. name: tradeID
  11671. type: integer
  11672. - description: 委托单号
  11673. in: query
  11674. name: orderID
  11675. type: integer
  11676. - description: 交易模式 - 格式:1,2,3
  11677. in: query
  11678. name: tradeMode
  11679. type: string
  11680. - description: 委托单据类型
  11681. in: query
  11682. name: buildType
  11683. type: integer
  11684. - description: 成交类别 - 格式:1,2,3
  11685. in: query
  11686. name: tradeType
  11687. type: string
  11688. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11689. in: query
  11690. name: startDate
  11691. type: string
  11692. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11693. in: query
  11694. name: endDate
  11695. type: string
  11696. produces:
  11697. - application/json
  11698. responses:
  11699. "200":
  11700. description: OK
  11701. schema:
  11702. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  11703. "500":
  11704. description: Internal Server Error
  11705. schema:
  11706. $ref: '#/definitions/app.Response'
  11707. security:
  11708. - ApiKeyAuth: []
  11709. summary: 历史成交单查询(合约市场)
  11710. tags:
  11711. - 通用单据
  11712. /Order/QueryHisTradeOrderDetail:
  11713. get:
  11714. parameters:
  11715. - description: 资金账户 - 格式:1,2,3
  11716. in: query
  11717. name: accountID
  11718. required: true
  11719. type: string
  11720. - description: 交易模式 - 格式:1,2,3
  11721. in: query
  11722. name: tradeMode
  11723. type: string
  11724. - description: 委托状态 - 格式:1,2,3
  11725. in: query
  11726. name: orderStatus
  11727. type: string
  11728. - description: 委托单号
  11729. in: query
  11730. name: orderID
  11731. type: integer
  11732. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11733. in: query
  11734. name: startDate
  11735. type: string
  11736. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11737. in: query
  11738. name: endDate
  11739. type: string
  11740. produces:
  11741. - application/json
  11742. responses:
  11743. "200":
  11744. description: OK
  11745. schema:
  11746. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  11747. "500":
  11748. description: Internal Server Error
  11749. schema:
  11750. $ref: '#/definitions/app.Response'
  11751. security:
  11752. - ApiKeyAuth: []
  11753. summary: 历史委托单查询请求(合约市场)
  11754. tags:
  11755. - 通用单据
  11756. /Order/QueryTradeDetail:
  11757. get:
  11758. parameters:
  11759. - description: 资金账户 - 格式:1,2,3
  11760. in: query
  11761. name: accountID
  11762. required: true
  11763. type: string
  11764. - description: 成交单号
  11765. in: query
  11766. name: tradeID
  11767. type: integer
  11768. - description: 委托单号
  11769. in: query
  11770. name: orderID
  11771. type: integer
  11772. - description: 交易模式 - 格式:1,2,3
  11773. in: query
  11774. name: tradeMode
  11775. type: string
  11776. - description: 委托单据类型
  11777. in: query
  11778. name: buildType
  11779. type: integer
  11780. - description: 成交类别 - 格式:1,2,3
  11781. in: query
  11782. name: tradeType
  11783. type: string
  11784. produces:
  11785. - application/json
  11786. responses:
  11787. "200":
  11788. description: OK
  11789. schema:
  11790. $ref: '#/definitions/order.QueryTradeDetailRsp'
  11791. "500":
  11792. description: Internal Server Error
  11793. schema:
  11794. $ref: '#/definitions/app.Response'
  11795. security:
  11796. - ApiKeyAuth: []
  11797. summary: 成交单查询(合约市场)
  11798. tags:
  11799. - 通用单据
  11800. /Order/QueryTradeOrderDetail:
  11801. get:
  11802. parameters:
  11803. - description: 资金账户 - 格式:1,2,3
  11804. in: query
  11805. name: accountID
  11806. required: true
  11807. type: string
  11808. - description: 交易模式 - 格式:1,2,3
  11809. in: query
  11810. name: tradeMode
  11811. type: string
  11812. - description: 委托状态 - 格式:1,2,3
  11813. in: query
  11814. name: orderStatus
  11815. type: string
  11816. - description: 委托单号
  11817. in: query
  11818. name: orderID
  11819. type: integer
  11820. produces:
  11821. - application/json
  11822. responses:
  11823. "200":
  11824. description: OK
  11825. schema:
  11826. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  11827. "500":
  11828. description: Internal Server Error
  11829. schema:
  11830. $ref: '#/definitions/app.Response'
  11831. security:
  11832. - ApiKeyAuth: []
  11833. summary: 委托单查询请求(合约市场)
  11834. tags:
  11835. - 通用单据
  11836. /Order/QueryTradePosition:
  11837. get:
  11838. parameters:
  11839. - description: 资金账户 - 格式:1,2,3
  11840. in: query
  11841. name: accountID
  11842. required: true
  11843. type: string
  11844. - description: 交易模式 - 格式:1,2,3
  11845. in: query
  11846. name: tradeMode
  11847. type: string
  11848. produces:
  11849. - application/json
  11850. responses:
  11851. "200":
  11852. description: OK
  11853. schema:
  11854. $ref: '#/definitions/order.QueryTradePositionRsp'
  11855. "500":
  11856. description: Internal Server Error
  11857. schema:
  11858. $ref: '#/definitions/app.Response'
  11859. security:
  11860. - ApiKeyAuth: []
  11861. summary: 持仓汇总查询(合约市场)
  11862. tags:
  11863. - 通用单据
  11864. /Quote/QueryHistoryDatas:
  11865. get:
  11866. parameters:
  11867. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  11868. 日线 10: Tik'
  11869. in: query
  11870. name: cycleType
  11871. required: true
  11872. type: integer
  11873. - description: 商品代码
  11874. in: query
  11875. name: goodsCode
  11876. required: true
  11877. type: string
  11878. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  11879. in: query
  11880. name: startTime
  11881. type: string
  11882. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  11883. in: query
  11884. name: endTime
  11885. type: string
  11886. - description: 条数
  11887. in: query
  11888. name: count
  11889. type: integer
  11890. - description: 是否按时间顺序排序(默认为时间倒序排序)
  11891. in: query
  11892. name: isAsc
  11893. type: boolean
  11894. produces:
  11895. - application/json
  11896. responses:
  11897. "200":
  11898. description: OK
  11899. schema:
  11900. $ref: '#/definitions/quote.HistoryData'
  11901. "500":
  11902. description: Internal Server Error
  11903. schema:
  11904. $ref: '#/definitions/app.Response'
  11905. security:
  11906. - ApiKeyAuth: []
  11907. summary: 查询行情历史数据
  11908. tags:
  11909. - 行情服务
  11910. /Quote/QueryQuoteDay:
  11911. get:
  11912. parameters:
  11913. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  11914. in: query
  11915. name: goodsCodes
  11916. required: true
  11917. type: string
  11918. produces:
  11919. - application/json
  11920. responses:
  11921. "200":
  11922. description: OK
  11923. schema:
  11924. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  11925. "500":
  11926. description: Internal Server Error
  11927. schema:
  11928. $ref: '#/definitions/app.Response'
  11929. security:
  11930. - ApiKeyAuth: []
  11931. summary: 获取商品盘面信息
  11932. tags:
  11933. - 行情服务
  11934. /Quote/QueryTSData:
  11935. get:
  11936. parameters:
  11937. - description: 商品代码
  11938. in: query
  11939. name: goodsCode
  11940. required: true
  11941. type: string
  11942. produces:
  11943. - application/json
  11944. responses:
  11945. "200":
  11946. description: OK
  11947. schema:
  11948. $ref: '#/definitions/quote.QueryTSDataRsp'
  11949. "500":
  11950. description: Internal Server Error
  11951. schema:
  11952. $ref: '#/definitions/app.Response'
  11953. summary: 分时图数据查询
  11954. tags:
  11955. - 行情服务
  11956. /SZDZ/QueryConvertConfig:
  11957. get:
  11958. parameters:
  11959. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  11960. 6:交易转花生米(不设置)
  11961. in: query
  11962. name: convertType
  11963. type: integer
  11964. - description: 外部商品代码[JD\PD]
  11965. in: query
  11966. name: outerGoodsCode
  11967. type: string
  11968. - description: 内部商品ID列表[交易],格式:1,2,3
  11969. in: query
  11970. name: innerGoodsIDs
  11971. type: string
  11972. produces:
  11973. - application/json
  11974. responses:
  11975. "200":
  11976. description: OK
  11977. schema:
  11978. $ref: '#/definitions/models.Szdz3convertconfig'
  11979. "500":
  11980. description: Internal Server Error
  11981. schema:
  11982. $ref: '#/definitions/app.Response'
  11983. security:
  11984. - ApiKeyAuth: []
  11985. summary: 查询交易系统转换设置
  11986. tags:
  11987. - 定制【尚志大宗】
  11988. /SZDZ/QueryConvertLog:
  11989. get:
  11990. parameters:
  11991. - description: 资金账户 - 格式:1,2,3
  11992. in: query
  11993. name: accountID
  11994. required: true
  11995. type: string
  11996. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11997. in: query
  11998. name: startDate
  11999. type: string
  12000. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12001. in: query
  12002. name: endDate
  12003. type: string
  12004. produces:
  12005. - application/json
  12006. responses:
  12007. "200":
  12008. description: OK
  12009. schema:
  12010. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  12011. "500":
  12012. description: Internal Server Error
  12013. schema:
  12014. $ref: '#/definitions/app.Response'
  12015. security:
  12016. - ApiKeyAuth: []
  12017. summary: 交易系统转换流水查询
  12018. tags:
  12019. - 定制【尚志大宗】
  12020. /SZDZ/QueryGoodsPickup:
  12021. get:
  12022. parameters:
  12023. - description: 资金账户 - 格式:1,2,3
  12024. in: query
  12025. name: accountID
  12026. required: true
  12027. type: string
  12028. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12029. in: query
  12030. name: takeOrderStatus
  12031. type: integer
  12032. produces:
  12033. - application/json
  12034. responses:
  12035. "200":
  12036. description: OK
  12037. schema:
  12038. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  12039. "500":
  12040. description: Internal Server Error
  12041. schema:
  12042. $ref: '#/definitions/app.Response'
  12043. security:
  12044. - ApiKeyAuth: []
  12045. summary: 商品提货单查询
  12046. tags:
  12047. - 定制【尚志大宗】
  12048. /SZDZ/QueryRecieptOrder:
  12049. get:
  12050. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  12051. parameters:
  12052. - description: 页码
  12053. in: query
  12054. name: page
  12055. type: integer
  12056. - description: 每页条数
  12057. in: query
  12058. name: pagesize
  12059. type: integer
  12060. - description: 商品ID
  12061. in: query
  12062. name: goodsID
  12063. required: true
  12064. type: integer
  12065. - description: 所属账户名称
  12066. in: query
  12067. name: accountName
  12068. type: string
  12069. - description: 市场ID
  12070. in: query
  12071. name: marketID
  12072. type: integer
  12073. - description: 方向 - 0:买 1:卖
  12074. in: query
  12075. name: buyorsell
  12076. required: true
  12077. type: integer
  12078. produces:
  12079. - application/json
  12080. responses:
  12081. "200":
  12082. description: OK
  12083. schema:
  12084. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  12085. "500":
  12086. description: Internal Server Error
  12087. schema:
  12088. $ref: '#/definitions/app.Response'
  12089. security:
  12090. - ApiKeyAuth: []
  12091. summary: 点选挂牌委托单据查询(摘牌大厅)
  12092. tags:
  12093. - 定制【尚志大宗】
  12094. /SZDZ/QuerySZDZTradePosition:
  12095. get:
  12096. parameters:
  12097. - description: 资金账户
  12098. in: query
  12099. name: accountID
  12100. required: true
  12101. type: integer
  12102. produces:
  12103. - application/json
  12104. responses:
  12105. "200":
  12106. description: OK
  12107. schema:
  12108. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  12109. "500":
  12110. description: Internal Server Error
  12111. schema:
  12112. $ref: '#/definitions/app.Response'
  12113. security:
  12114. - ApiKeyAuth: []
  12115. summary: 持仓汇总查询(尚志大宗)
  12116. tags:
  12117. - 定制【尚志大宗】
  12118. /SZDZ/SearchWhite:
  12119. get:
  12120. parameters:
  12121. - description: 用户ID
  12122. in: query
  12123. name: userID
  12124. required: true
  12125. type: integer
  12126. produces:
  12127. - application/json
  12128. responses:
  12129. "200":
  12130. description: OK
  12131. schema:
  12132. $ref: '#/definitions/models.Szdz3searchwhitelist'
  12133. "500":
  12134. description: Internal Server Error
  12135. schema:
  12136. $ref: '#/definitions/app.Response'
  12137. security:
  12138. - ApiKeyAuth: []
  12139. summary: 搜索白名单
  12140. tags:
  12141. - 定制【尚志大宗】
  12142. /Search/SearchGoodses:
  12143. get:
  12144. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  12145. parameters:
  12146. - description: 检索内容
  12147. in: query
  12148. name: content
  12149. required: true
  12150. type: string
  12151. - description: 交易模式,格式:1,2,3
  12152. in: query
  12153. name: tradeModes
  12154. type: string
  12155. produces:
  12156. - application/json
  12157. responses:
  12158. "200":
  12159. description: OK
  12160. schema:
  12161. $ref: '#/definitions/models.SearchGoods'
  12162. "500":
  12163. description: Internal Server Error
  12164. schema:
  12165. $ref: '#/definitions/app.Response'
  12166. summary: 检索商品信息
  12167. tags:
  12168. - 检索服务
  12169. /TaAccount/GetTaAccounts:
  12170. get:
  12171. parameters:
  12172. - description: 登录账户
  12173. in: query
  12174. name: loginID
  12175. required: true
  12176. type: integer
  12177. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12178. in: query
  12179. name: taAccountType
  12180. type: integer
  12181. produces:
  12182. - application/json
  12183. responses:
  12184. "200":
  12185. description: OK
  12186. schema:
  12187. $ref: '#/definitions/models.Taaccount'
  12188. "500":
  12189. description: Internal Server Error
  12190. schema:
  12191. $ref: '#/definitions/app.Response'
  12192. security:
  12193. - ApiKeyAuth: []
  12194. summary: 获取资金账户信息
  12195. tags:
  12196. - 资金账户
  12197. /TaAccount/QueryAmountLog:
  12198. get:
  12199. parameters:
  12200. - description: 页码
  12201. in: query
  12202. name: page
  12203. type: integer
  12204. - description: 每页条数
  12205. in: query
  12206. name: pagesize
  12207. type: integer
  12208. - description: 资金账户 - 格式:1,2,3
  12209. in: query
  12210. name: accountID
  12211. required: true
  12212. type: string
  12213. - description: 资金操作类型 - 格式:1,2,3
  12214. in: query
  12215. name: OperateType
  12216. type: string
  12217. produces:
  12218. - application/json
  12219. responses:
  12220. "200":
  12221. description: OK
  12222. schema:
  12223. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  12224. "500":
  12225. description: Internal Server Error
  12226. schema:
  12227. $ref: '#/definitions/app.Response'
  12228. security:
  12229. - ApiKeyAuth: []
  12230. summary: 资金流水查询(当前)
  12231. tags:
  12232. - 资金账户
  12233. /TaAccount/QueryHisAmountLog:
  12234. get:
  12235. parameters:
  12236. - description: 页码
  12237. in: query
  12238. name: page
  12239. type: integer
  12240. - description: 每页条数
  12241. in: query
  12242. name: pagesize
  12243. type: integer
  12244. - description: 资金账户 - 格式:1,2,3
  12245. in: query
  12246. name: accountID
  12247. required: true
  12248. type: string
  12249. - description: 资金操作类型 - 格式:1,2,3
  12250. in: query
  12251. name: OperateType
  12252. type: string
  12253. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12254. in: query
  12255. name: startDate
  12256. type: string
  12257. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12258. in: query
  12259. name: endDate
  12260. type: string
  12261. produces:
  12262. - application/json
  12263. responses:
  12264. "200":
  12265. description: OK
  12266. schema:
  12267. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  12268. "500":
  12269. description: Internal Server Error
  12270. schema:
  12271. $ref: '#/definitions/app.Response'
  12272. security:
  12273. - ApiKeyAuth: []
  12274. summary: 资金流水查询(历史)
  12275. tags:
  12276. - 资金账户
  12277. /Trade/QueryRecieptOrder:
  12278. get:
  12279. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  12280. parameters:
  12281. - description: 页码
  12282. in: query
  12283. name: page
  12284. type: integer
  12285. - description: 每页条数
  12286. in: query
  12287. name: pagesize
  12288. type: integer
  12289. - description: 商品ID
  12290. in: query
  12291. name: goodsID
  12292. required: true
  12293. type: integer
  12294. - description: 所属账户名称
  12295. in: query
  12296. name: accountName
  12297. type: string
  12298. - description: 市场ID
  12299. in: query
  12300. name: marketID
  12301. type: integer
  12302. - description: 方向 - 0:买 1:卖
  12303. in: query
  12304. name: buyorsell
  12305. required: true
  12306. type: integer
  12307. produces:
  12308. - application/json
  12309. responses:
  12310. "200":
  12311. description: OK
  12312. schema:
  12313. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  12314. "500":
  12315. description: Internal Server Error
  12316. schema:
  12317. $ref: '#/definitions/app.Response'
  12318. security:
  12319. - ApiKeyAuth: []
  12320. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  12321. tags:
  12322. - 通用交易
  12323. /User/AddMessageBoard:
  12324. post:
  12325. parameters:
  12326. - description: 用户ID
  12327. in: query
  12328. name: userID
  12329. required: true
  12330. type: integer
  12331. - description: 留言信息
  12332. in: query
  12333. name: message
  12334. required: true
  12335. type: string
  12336. produces:
  12337. - application/json
  12338. responses:
  12339. "200":
  12340. description: OK
  12341. schema:
  12342. $ref: '#/definitions/app.Response'
  12343. "500":
  12344. description: Internal Server Error
  12345. schema:
  12346. $ref: '#/definitions/app.Response'
  12347. security:
  12348. - ApiKeyAuth: []
  12349. summary: 添加用户留言板信息
  12350. tags:
  12351. - 用户信息
  12352. /User/AddUserFavoriteGoods:
  12353. post:
  12354. parameters:
  12355. - description: 用户ID
  12356. in: query
  12357. name: userID
  12358. required: true
  12359. type: integer
  12360. - description: 商品ID
  12361. in: query
  12362. name: goodsID
  12363. required: true
  12364. type: integer
  12365. produces:
  12366. - application/json
  12367. responses:
  12368. "200":
  12369. description: OK
  12370. schema:
  12371. $ref: '#/definitions/app.Response'
  12372. "500":
  12373. description: Internal Server Error
  12374. schema:
  12375. $ref: '#/definitions/app.Response'
  12376. security:
  12377. - ApiKeyAuth: []
  12378. summary: 添加用户商品收藏信息
  12379. tags:
  12380. - 用户信息
  12381. /User/GetLoginID:
  12382. get:
  12383. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  12384. parameters:
  12385. - description: 登录代码
  12386. in: query
  12387. name: username
  12388. required: true
  12389. type: string
  12390. produces:
  12391. - application/json
  12392. responses:
  12393. "200":
  12394. description: OK
  12395. schema:
  12396. $ref: '#/definitions/app.Response'
  12397. "500":
  12398. description: Internal Server Error
  12399. schema:
  12400. $ref: '#/definitions/app.Response'
  12401. summary: 获取登录ID
  12402. tags:
  12403. - 用户信息
  12404. /User/GetUserAccount:
  12405. get:
  12406. parameters:
  12407. - description: 用户ID
  12408. in: query
  12409. name: userID
  12410. required: true
  12411. type: integer
  12412. produces:
  12413. - application/json
  12414. responses:
  12415. "200":
  12416. description: OK
  12417. schema:
  12418. $ref: '#/definitions/models.Useraccount'
  12419. "500":
  12420. description: Internal Server Error
  12421. schema:
  12422. $ref: '#/definitions/app.Response'
  12423. security:
  12424. - ApiKeyAuth: []
  12425. summary: 获取用户账号信息
  12426. tags:
  12427. - 用户信息
  12428. /User/GetUserAuthStatus:
  12429. get:
  12430. parameters:
  12431. - description: 用户ID
  12432. in: query
  12433. name: userID
  12434. required: true
  12435. type: integer
  12436. produces:
  12437. - application/json
  12438. responses:
  12439. "200":
  12440. description: OK
  12441. schema:
  12442. $ref: '#/definitions/app.Response'
  12443. "500":
  12444. description: Internal Server Error
  12445. schema:
  12446. $ref: '#/definitions/app.Response'
  12447. security:
  12448. - ApiKeyAuth: []
  12449. summary: 获取用户实名认证状态
  12450. tags:
  12451. - 用户信息
  12452. /User/QueryMessageBoard:
  12453. get:
  12454. parameters:
  12455. - description: 用户ID
  12456. in: query
  12457. name: userID
  12458. required: true
  12459. type: integer
  12460. produces:
  12461. - application/json
  12462. responses:
  12463. "200":
  12464. description: OK
  12465. schema:
  12466. $ref: '#/definitions/models.Messageboard'
  12467. "500":
  12468. description: Internal Server Error
  12469. schema:
  12470. $ref: '#/definitions/app.Response'
  12471. security:
  12472. - ApiKeyAuth: []
  12473. summary: 获取用户留言板信息
  12474. tags:
  12475. - 用户信息
  12476. /User/QueryUserFavoriteGoodses:
  12477. get:
  12478. parameters:
  12479. - description: 用户ID
  12480. in: query
  12481. name: userID
  12482. required: true
  12483. type: integer
  12484. produces:
  12485. - application/json
  12486. responses:
  12487. "200":
  12488. description: OK
  12489. schema:
  12490. $ref: '#/definitions/models.Userfavoritegoods'
  12491. "500":
  12492. description: Internal Server Error
  12493. schema:
  12494. $ref: '#/definitions/app.Response'
  12495. security:
  12496. - ApiKeyAuth: []
  12497. summary: 获取用户商品收藏信息
  12498. tags:
  12499. - 用户信息
  12500. /User/QueryUserInfo:
  12501. get:
  12502. parameters:
  12503. - description: 用户ID
  12504. in: query
  12505. name: userID
  12506. required: true
  12507. type: integer
  12508. produces:
  12509. - application/json
  12510. responses:
  12511. "200":
  12512. description: OK
  12513. schema:
  12514. $ref: '#/definitions/models.Userinfo'
  12515. "500":
  12516. description: Internal Server Error
  12517. schema:
  12518. $ref: '#/definitions/app.Response'
  12519. security:
  12520. - ApiKeyAuth: []
  12521. summary: 获取用户信息
  12522. tags:
  12523. - 用户信息
  12524. /User/QueryUserReferNum:
  12525. get:
  12526. parameters:
  12527. - description: 用户ID
  12528. in: query
  12529. name: userID
  12530. required: true
  12531. type: integer
  12532. produces:
  12533. - application/json
  12534. responses:
  12535. "200":
  12536. description: OK
  12537. schema:
  12538. $ref: '#/definitions/app.Response'
  12539. "500":
  12540. description: Internal Server Error
  12541. schema:
  12542. $ref: '#/definitions/app.Response'
  12543. summary: 获取用户邀请码
  12544. tags:
  12545. - 用户信息
  12546. /User/RemoveUserFavoriteGoods:
  12547. post:
  12548. parameters:
  12549. - description: 用户ID
  12550. in: query
  12551. name: userID
  12552. required: true
  12553. type: integer
  12554. - description: 商品ID
  12555. in: query
  12556. name: goodsID
  12557. required: true
  12558. type: integer
  12559. produces:
  12560. - application/json
  12561. responses:
  12562. "200":
  12563. description: OK
  12564. schema:
  12565. $ref: '#/definitions/app.Response'
  12566. "500":
  12567. description: Internal Server Error
  12568. schema:
  12569. $ref: '#/definitions/app.Response'
  12570. security:
  12571. - ApiKeyAuth: []
  12572. summary: 移除用户商品收藏信息
  12573. tags:
  12574. - 用户信息
  12575. /User/UpdateUserAccountStatus:
  12576. post:
  12577. parameters:
  12578. - description: 用户ID
  12579. in: query
  12580. name: userID
  12581. required: true
  12582. type: integer
  12583. - description: 账户状态 - 4:正常 6:注销(停用)
  12584. in: query
  12585. name: accountStatus
  12586. required: true
  12587. type: integer
  12588. produces:
  12589. - application/json
  12590. responses:
  12591. "200":
  12592. description: OK
  12593. schema:
  12594. $ref: '#/definitions/app.Response'
  12595. "500":
  12596. description: Internal Server Error
  12597. schema:
  12598. $ref: '#/definitions/app.Response'
  12599. security:
  12600. - ApiKeyAuth: []
  12601. summary: 更新用户状态
  12602. tags:
  12603. - 用户信息
  12604. /WR/GetWRCategoryInfo:
  12605. get:
  12606. produces:
  12607. - application/json
  12608. responses:
  12609. "200":
  12610. description: OK
  12611. schema:
  12612. $ref: '#/definitions/models.WRCategoryTree'
  12613. "500":
  12614. description: Internal Server Error
  12615. schema:
  12616. $ref: '#/definitions/app.Response'
  12617. summary: 获取现货分类信息
  12618. tags:
  12619. - 仓单服务
  12620. /WRTrade/GetAllDeliveryGoods:
  12621. get:
  12622. produces:
  12623. - application/json
  12624. - application/json
  12625. responses:
  12626. "200":
  12627. description: OK
  12628. schema:
  12629. $ref: '#/definitions/app.Response'
  12630. "500":
  12631. description: Internal Server Error
  12632. schema:
  12633. $ref: '#/definitions/app.Response'
  12634. security:
  12635. - ApiKeyAuth: []
  12636. - ApiKeyAuth: []
  12637. summary: 获取带仓单分类的种类信息
  12638. tags:
  12639. - 仓单贸易
  12640. - 仓单贸易
  12641. securityDefinitions:
  12642. ApiKeyAuth:
  12643. in: header
  12644. name: Authorization
  12645. type: apiKey
  12646. swagger: "2.0"