swagger.yaml 364 KB

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