swagger.yaml 287 KB

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