swagger.yaml 345 KB

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