swagger.yaml 377 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryImageConfigsRsp:
  22. properties:
  23. areauserid:
  24. description: 所属机构ID
  25. type: integer
  26. configid:
  27. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  28. type: integer
  29. createdate:
  30. description: 创建时间
  31. type: string
  32. creatorid:
  33. description: 创建人
  34. type: integer
  35. imagepath:
  36. description: 图片
  37. type: string
  38. imagetype:
  39. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  40. type: integer
  41. isshow:
  42. description: 是否展示 - 0:不展示 1:展示
  43. type: integer
  44. marketid:
  45. description: 市场ID
  46. type: integer
  47. modifierid:
  48. description: 操作人
  49. type: integer
  50. sort:
  51. description: 排序
  52. type: integer
  53. title:
  54. description: 标题
  55. type: string
  56. trademode:
  57. description: 交易模式
  58. type: integer
  59. updatedate:
  60. description: 修改时间
  61. type: string
  62. url:
  63. description: 链接(地址或商品ID)
  64. type: string
  65. urltype:
  66. description: 链接类型 - 1:直接地址 2:商品ID
  67. type: integer
  68. required:
  69. - configid
  70. type: object
  71. common.QueryNoticeRsp:
  72. properties:
  73. auditoruserid:
  74. description: 审核人
  75. type: integer
  76. auditremark:
  77. description: 审核备注
  78. type: string
  79. audittime:
  80. description: 审核日期
  81. type: string
  82. autoid:
  83. description: 自增ID
  84. type: integer
  85. content:
  86. description: 内容
  87. type: string
  88. createtime:
  89. description: 创建时间
  90. type: string
  91. creatorid:
  92. description: 建仓人
  93. type: integer
  94. endtime:
  95. description: 结束时间
  96. type: string
  97. istop:
  98. description: 是否置顶 - 0:不置顶 1:置顶
  99. type: integer
  100. msgiconurl:
  101. description: 消息图标Url
  102. type: string
  103. msgtype:
  104. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  105. type: integer
  106. publisher:
  107. description: 消息发布者
  108. type: string
  109. readed:
  110. description: 是否已读
  111. type: boolean
  112. scheduletime:
  113. description: 计划发送时间
  114. type: string
  115. sendtype:
  116. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  117. type: integer
  118. sentstatus:
  119. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  120. type: integer
  121. title:
  122. description: 标题
  123. type: string
  124. userid:
  125. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  126. type: integer
  127. required:
  128. - autoid
  129. type: object
  130. common.QueryProvincesAndCitiesRsp:
  131. properties:
  132. cities:
  133. description: 市
  134. items:
  135. $ref: '#/definitions/models.Division'
  136. type: array
  137. province:
  138. $ref: '#/definitions/models.Division'
  139. description: 省
  140. type: object
  141. type: object
  142. common.QueryTableDefineRsp:
  143. properties:
  144. columns:
  145. description: 列头信息数组
  146. items:
  147. $ref: '#/definitions/models.Tablecolumnconfig'
  148. type: array
  149. remark:
  150. description: Remark
  151. type: string
  152. tabelmenu:
  153. description: 列表菜单
  154. type: string
  155. tablekey:
  156. description: 列表Key
  157. type: string
  158. tablename:
  159. description: 列表名称
  160. type: string
  161. tabletype:
  162. description: 列表类型 - 1:管理端 2:终端
  163. type: integer
  164. required:
  165. - tablekey
  166. type: object
  167. common.QueryTraderMenuRsp:
  168. properties:
  169. OperationMenu:
  170. description: 功能菜单
  171. items:
  172. $ref: '#/definitions/models.OperationPrimaryMenu'
  173. type: array
  174. QuoteMenu:
  175. description: 报价牌分类菜单
  176. items:
  177. $ref: '#/definitions/models.QuotePrimaryMenu'
  178. type: array
  179. type: object
  180. cptrade.Cptradepositioncancel:
  181. properties:
  182. accountid:
  183. description: 申请人账户ID
  184. type: integer
  185. applystatus:
  186. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  187. type: integer
  188. applytime:
  189. description: 申请时间
  190. type: string
  191. cancelid:
  192. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  193. type: integer
  194. cancelqty:
  195. description: 注销数量
  196. type: integer
  197. createtime:
  198. description: 创建时间
  199. type: string
  200. creatorid:
  201. description: 创建人ID
  202. type: integer
  203. creatorname:
  204. description: 创建人
  205. type: string
  206. goodscode:
  207. description: 订单商品代码
  208. type: string
  209. goodsid:
  210. description: 商品ID
  211. type: integer
  212. goodsname:
  213. description: 订单商品名称
  214. type: string
  215. goodunit:
  216. description: 报价单位
  217. type: string
  218. handlestatus:
  219. description: 处理状态
  220. type: integer
  221. marketid:
  222. description: 市场ID
  223. type: integer
  224. marketname:
  225. description: 市场名称
  226. type: string
  227. tradedate:
  228. description: 交易日(yyyyMMdd)
  229. type: string
  230. userid:
  231. description: 申请人ID
  232. type: integer
  233. required:
  234. - cancelid
  235. type: object
  236. cptrade.Cptradepresaleapply:
  237. properties:
  238. accountid:
  239. description: 申请人账户ID
  240. type: integer
  241. applyid:
  242. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  243. type: integer
  244. applyremark:
  245. description: 申请备注
  246. type: string
  247. applystatus:
  248. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  249. type: integer
  250. applytime:
  251. description: 申请时间
  252. type: string
  253. attachmenturl:
  254. description: 附件地址
  255. type: string
  256. endtime:
  257. description: 预售结束时间
  258. type: string
  259. goodscode:
  260. description: 商品代码
  261. type: string
  262. goodsid:
  263. description: 商品ID
  264. type: integer
  265. goodsname:
  266. description: 商品名称
  267. type: string
  268. goodunit:
  269. description: 报价单位
  270. type: string
  271. handlestatus:
  272. description: 处理状态
  273. type: integer
  274. marketid:
  275. description: 预售市场ID
  276. type: integer
  277. marketname:
  278. description: 预售市场名称
  279. type: string
  280. presaleqty:
  281. description: 预售数量
  282. type: integer
  283. relatedgoodscode:
  284. description: 关联交易合约代码
  285. type: string
  286. relatedgoodsid:
  287. description: 关联交易合约ID
  288. type: integer
  289. relatedgoodsname:
  290. description: 关联交易合约名称
  291. type: string
  292. starttime:
  293. description: 预售开始时间
  294. type: string
  295. tradedate:
  296. description: 交易日(yyyyMMdd)
  297. type: string
  298. trademode:
  299. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  300. type: integer
  301. userid:
  302. description: 申请人ID
  303. type: integer
  304. required:
  305. - applyid
  306. type: object
  307. cptrade.Cptradeusergoodsdata:
  308. properties:
  309. EnabledQty:
  310. description: 可用量
  311. type: integer
  312. GoodsCode:
  313. description: 订单商品代码
  314. type: string
  315. GoodsName:
  316. description: 订单商品名称
  317. type: string
  318. WRStandardCode:
  319. description: 仓单标准代码
  320. type: string
  321. WRStandardName:
  322. description: 仓单标准名称
  323. type: string
  324. accountid:
  325. description: 账户ID
  326. type: integer
  327. cancelqty:
  328. description: 注销量
  329. type: integer
  330. curpresaleqty:
  331. description: 当前预售量
  332. type: integer
  333. deliveryqty:
  334. description: 交割量
  335. type: integer
  336. freezeamount:
  337. description: 冻结金额
  338. type: number
  339. goodsid:
  340. description: 商品ID
  341. type: integer
  342. goodunit:
  343. description: 报价单位
  344. type: string
  345. hasspotfreeze:
  346. description: 是否有现货冻结 - 0:否 1:有
  347. type: integer
  348. inqty:
  349. description: 转入量(总数量)
  350. type: integer
  351. marketid:
  352. description: 市场ID
  353. type: integer
  354. presaledamount:
  355. description: 已预售总金额
  356. type: integer
  357. presaledqty:
  358. description: 已预售量
  359. type: integer
  360. userid:
  361. description: 用户ID
  362. type: integer
  363. wrstandardid:
  364. description: 仓单标准ID
  365. type: integer
  366. required:
  367. - accountid
  368. - goodsid
  369. type: object
  370. cptrade.QueryCPTradeMyBidRsp:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. goodsid:
  376. description: 商品ID
  377. type: integer
  378. goodunit:
  379. description: 报价单位
  380. type: string
  381. marketid:
  382. description: 市场ID
  383. type: integer
  384. orderid:
  385. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  386. type: integer
  387. orderprice:
  388. description: 委托价格
  389. type: number
  390. orderqty:
  391. description: 委托数量
  392. type: integer
  393. ordertime:
  394. description: 委托时间
  395. type: string
  396. ordertotalprice:
  397. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  398. type: number
  399. ordertotalweight:
  400. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  401. type: integer
  402. totaltotalprice:
  403. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  404. type: number
  405. tradeprice:
  406. description: 成交价格
  407. type: number
  408. tradeqty:
  409. description: 成交数量
  410. type: integer
  411. required:
  412. - accountid
  413. - goodsid
  414. - marketid
  415. - orderid
  416. - orderqty
  417. - ordertime
  418. - tradeprice
  419. - tradeqty
  420. type: object
  421. cptrade.QueryCPTradeOrderDetailRsq:
  422. properties:
  423. accountid:
  424. description: 账户ID[报价币种]
  425. type: integer
  426. buildtype:
  427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  428. type: integer
  429. buyorsell:
  430. description: 买卖 - 0:买 1:卖
  431. type: integer
  432. cancelorderid:
  433. description: 撤单单号(撤单时填写)
  434. type: integer
  435. cancelqty:
  436. description: 撤单数量
  437. type: integer
  438. clientordertime:
  439. description: 客户端委托时间
  440. type: string
  441. clientticket:
  442. description: 客户端流水号
  443. type: string
  444. clienttype:
  445. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  446. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  447. type: integer
  448. closeexchagechargevalue:
  449. description: 平仓交易所手续费设置值
  450. type: number
  451. closefeealgorithm:
  452. description: 平仓手续费收取方式 1:比率 2:固定
  453. type: integer
  454. closefreezecharge:
  455. description: 平仓冻结手续费(先建后平操作,需要记录)
  456. type: number
  457. closememberchargevalue:
  458. description: 平仓会员手续费设置值
  459. type: number
  460. closeqty:
  461. description: 平仓数量(先建后平操作 需要记录)
  462. type: integer
  463. closetradeqty:
  464. description: 平仓成交数量(先建后平操作,需要记录)
  465. type: integer
  466. closeunfreezecharge:
  467. description: 平仓解冻手续费(先建后平操作,需要记录)
  468. type: number
  469. delistingtype:
  470. description: 摘牌类型 - 1:价格最优 2:点选成交
  471. type: integer
  472. freezecharge:
  473. description: 冻结手续费
  474. type: number
  475. freezemargin:
  476. description: 冻结保证金(冻结交易金额)
  477. type: number
  478. gcaccountid:
  479. description: 账户ID[合约币种]
  480. type: integer
  481. goodsid:
  482. description: 商品ID
  483. type: integer
  484. isconfirmexercise:
  485. description: 是否确认行权- 0:否 1:是
  486. type: integer
  487. ispreexercise:
  488. description: 是否预申报- 0:否 1:是
  489. type: integer
  490. listingselecttype:
  491. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  492. type: integer
  493. marginalgorithm:
  494. description: 保证金收取方式 1:比率 2:固定
  495. type: integer
  496. marginvalue:
  497. description: 即市保证金设置值
  498. type: number
  499. marketid:
  500. description: 市场ID
  501. type: integer
  502. marketmaxsub:
  503. description: 市价最大偏移范围
  504. type: number
  505. memberuserid:
  506. description: 所属会员UserID
  507. type: integer
  508. openexchagechargevalue:
  509. description: 建仓交易所手续费设置值
  510. type: number
  511. openfeealgorithm:
  512. description: 建仓手续费收取方式 1:比率 2:固定
  513. type: integer
  514. openfreezecharge:
  515. description: 开仓冻结手续费(先建后平操作,需要记录)
  516. type: number
  517. openmemberchargevalue:
  518. description: 建仓会员手续费设置值
  519. type: number
  520. openqty:
  521. description: 开仓数量(先建后平操作,需要记录)
  522. type: integer
  523. opentradeqty:
  524. description: 开仓成交数量(先建后平操作,需要记录)
  525. type: integer
  526. openunfreezecharge:
  527. description: 开仓解冻手续费(先建后平操作,需要记录)
  528. type: number
  529. operatetype:
  530. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  531. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  532. 15:管理端协议转让
  533. type: integer
  534. operatorid:
  535. description: 登录账号(LoginID)
  536. type: integer
  537. optiontype:
  538. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  539. type: integer
  540. orderprice:
  541. description: 委托价格
  542. type: number
  543. orderqty:
  544. description: 委托数量
  545. type: integer
  546. ordersrc:
  547. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  548. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  549. type: integer
  550. orderstatus:
  551. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  552. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  553. 16:成交失败违约(荷兰式竞拍专用)
  554. type: integer
  555. ordertime:
  556. description: 委托时间
  557. type: string
  558. preexerciseprice:
  559. description: 预申报价格
  560. type: number
  561. premium:
  562. description: 权利金
  563. type: number
  564. preorderid:
  565. description: 关联预埋单号(止盈止损单时填写)
  566. type: integer
  567. pricemode:
  568. description: '取价方式 - 1:市价 2: 限价'
  569. type: integer
  570. quoteid:
  571. description: 报价单ID
  572. type: integer
  573. relatedid:
  574. description: 关联单号(交割单)
  575. type: integer
  576. retcode:
  577. description: 错误代码
  578. type: integer
  579. sessionid:
  580. description: 会话ID
  581. type: integer
  582. strorderid:
  583. description: 委托单号
  584. type: string
  585. tradedate:
  586. description: 交易日(yyyyMMdd)
  587. type: string
  588. tradeproperty:
  589. description: 交易属性
  590. type: integer
  591. tradeqty:
  592. description: 成交数量
  593. type: integer
  594. unfreezecharge:
  595. description: 解冻手续费
  596. type: number
  597. unfreezemargin:
  598. description: 解冻保证金
  599. type: number
  600. updatetime:
  601. description: 更新时间
  602. type: string
  603. uuid:
  604. description: 发起端唯一id
  605. type: string
  606. validtime:
  607. description: 有效期限
  608. type: string
  609. validtype:
  610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  611. type: integer
  612. volumetype:
  613. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  614. type: integer
  615. required:
  616. - accountid
  617. - buildtype
  618. - buyorsell
  619. - goodsid
  620. - marketid
  621. - memberuserid
  622. - operatetype
  623. - orderqty
  624. - ordertime
  625. - pricemode
  626. - strorderid
  627. - tradedate
  628. - validtype
  629. type: object
  630. cptrade.QueryMyCPTradeGoodsRsp:
  631. properties:
  632. accountid:
  633. description: 卖方账户ID
  634. type: integer
  635. agreeunit:
  636. description: 合约单位
  637. type: number
  638. applyid:
  639. description: 关联申请ID
  640. type: integer
  641. attachmenturl:
  642. description: 附件地址
  643. type: string
  644. createtime:
  645. description: 创建时间
  646. type: string
  647. currencyid:
  648. description: 报价货币ID
  649. type: integer
  650. decimalplace:
  651. description: 报价小数位
  652. type: integer
  653. endtime:
  654. description: 预售结束时间
  655. type: string
  656. floorprice:
  657. description: 底价[大宗式竞拍]
  658. type: number
  659. goodscode:
  660. description: 商品代码(预售)
  661. type: string
  662. goodsdetail:
  663. description: 详情[大宗]
  664. type: string
  665. goodsid:
  666. description: 商品ID(自增ID SEQ_GOODS)
  667. type: integer
  668. goodsname:
  669. description: 商品名称(预售)
  670. type: string
  671. goodunit:
  672. description: 报价单位
  673. type: string
  674. goodunitid:
  675. description: 报价单位ID
  676. type: integer
  677. marketid:
  678. description: 所属市场ID
  679. type: integer
  680. marketname:
  681. description: 预售市场名称
  682. type: string
  683. presaledamount:
  684. description: 已预售总金额(预售结束时更新)
  685. type: number
  686. presaledqty:
  687. description: 已预售量(预售结束时更新)
  688. type: integer
  689. presalemode:
  690. description: 预售模式 - 1:一口价 2:大宗式竞拍
  691. type: integer
  692. presaleqty:
  693. description: 预售数量
  694. type: integer
  695. refprice:
  696. description: 参考价格[一口价]
  697. type: number
  698. relatedgoodscode:
  699. description: 商品代码(订单)
  700. type: string
  701. relatedgoodsid:
  702. description: 关联交易合约ID
  703. type: integer
  704. relatedgoodsname:
  705. description: 商品名称(订单)
  706. type: string
  707. relatedmarketid:
  708. description: 关联交易合约市场ID
  709. type: integer
  710. sellstatus:
  711. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  712. type: integer
  713. startprice:
  714. description: 起拍价[大宗式竞拍]
  715. type: number
  716. starttime:
  717. description: 预售开始时间
  718. type: string
  719. tradedate:
  720. description: 交易日(yyyyMMdd)
  721. type: string
  722. tradeprice:
  723. description: 成交价[大宗]
  724. type: number
  725. userid:
  726. description: 卖方用户ID
  727. type: integer
  728. required:
  729. - goodscode
  730. - goodsid
  731. - goodsname
  732. - marketid
  733. - relatedgoodscode
  734. - relatedgoodsname
  735. type: object
  736. cptrade.QueryPresaleGoodsExRsp:
  737. properties:
  738. attachmenturl:
  739. description: 附件地址
  740. type: string
  741. createtime:
  742. description: 创建时间
  743. type: string
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodsdetail:
  751. description: 详情[大宗]
  752. type: string
  753. goodsid:
  754. description: 商品ID(预售)
  755. type: integer
  756. goodunit:
  757. description: 报价单位
  758. type: string
  759. marketid:
  760. description: 预售市场ID - 根据预售模式选择市场
  761. type: integer
  762. presaledamount:
  763. description: 已预售总金额(预售结束时更新)
  764. type: number
  765. presaledqty:
  766. description: 已预售量(预售结束时更新)
  767. type: integer
  768. presalemode:
  769. description: 预售模式 - 1:一口价 2:大宗式竞拍
  770. type: integer
  771. presaleqty:
  772. description: 预售数量
  773. type: integer
  774. refprice:
  775. description: 参考价格[一口价]
  776. type: number
  777. relatedgoodsid:
  778. description: 关联交易合约ID
  779. type: integer
  780. relatedmarketid:
  781. description: 关联交易合约市场ID
  782. type: integer
  783. sellstatus:
  784. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  785. type: integer
  786. startprice:
  787. description: 起拍价[大宗式竞拍]
  788. type: number
  789. starttime:
  790. description: 预售开始时间
  791. type: string
  792. tradedate:
  793. description: 交易日(yyyyMMdd)
  794. type: string
  795. tradeprice:
  796. description: 成交价[大宗]
  797. type: number
  798. required:
  799. - goodsid
  800. type: object
  801. delivery.QueryDeliveryRelationRsp:
  802. properties:
  803. begindate:
  804. description: 起始日期(yyyyMMdd)
  805. type: string
  806. buytemplateid:
  807. description: 买履约计划模板ID
  808. type: integer
  809. deliverygoodscode:
  810. description: 品种代码
  811. type: string
  812. deliverygoodsid:
  813. description: 交割商品
  814. type: integer
  815. deliverygoodsname:
  816. description: 品种名称
  817. type: string
  818. deliverymode:
  819. description: 交割方式 - 1:点选式 2:申报式
  820. type: integer
  821. deliverypricerule:
  822. description: 交割价规则- 1:行情价 2:建仓价
  823. type: integer
  824. deliverytype:
  825. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  826. type: integer
  827. enddate:
  828. description: 结束日期(yyyyMMdd)
  829. type: string
  830. goodscode:
  831. description: 商品代码
  832. type: string
  833. goodsid:
  834. description: 交易合约ID
  835. type: integer
  836. goodsname:
  837. description: 商品名称
  838. type: string
  839. marketid:
  840. description: 市场ID
  841. type: integer
  842. mindeliveryqty:
  843. description: 最小交割系数(K)
  844. type: integer
  845. p2deliveryprice:
  846. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  847. type: number
  848. p2deliveryratio:
  849. description: P2合约系数(p)
  850. type: integer
  851. p2goodsid:
  852. description: P2合约ID
  853. type: integer
  854. p2pricemode:
  855. description: P2合约价格方式 - 1:商品价 2:固定值
  856. type: integer
  857. pdeliveryprice:
  858. description: P合约价格(商品价时填写0,固定值时填写固定值)
  859. type: number
  860. pdeliveryratio:
  861. description: P合约系数(n)
  862. type: integer
  863. pgoodsid:
  864. description: P合约ID
  865. type: integer
  866. ppricemode:
  867. description: P合约价格方式 - 1:商品价 2:固定值
  868. type: integer
  869. rratio:
  870. description: 兑换系数(R)
  871. type: integer
  872. rratio1:
  873. description: 兑换系数(交易合约)(R1)
  874. type: integer
  875. rratio2:
  876. description: 兑换系数(仓单标准)(R2)
  877. type: integer
  878. selltemplateid:
  879. description: 卖履约计划模板ID
  880. type: integer
  881. wrstandardid:
  882. description: 仓单标准ID
  883. type: integer
  884. xdeliveryratio:
  885. description: 交易合约系数(m)
  886. type: integer
  887. required:
  888. - begindate
  889. - enddate
  890. - goodsid
  891. - mindeliveryqty
  892. - xdeliveryratio
  893. type: object
  894. ermcp.ExposureDetailRsp:
  895. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  896. ermcp.ExposureHedgePosDetailRsp:
  897. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  898. ermcp.ExposureHedgePositionRsp:
  899. $ref: '#/definitions/models.ErmcpHedgePosition'
  900. ermcp.ExposureSpotDetailRsp:
  901. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  902. ermcp.ExposureSpotRsp:
  903. $ref: '#/definitions/models.AreaSpotModel'
  904. ermcp.HisExposureRsp:
  905. $ref: '#/definitions/models.ErmcpHisExposureS'
  906. ermcp.PendingAuditCntRsp:
  907. $ref: '#/definitions/models.ErmcpPendingAudit'
  908. ermcp.QryAreaStockApplyRsp:
  909. $ref: '#/definitions/models.ErmcpAreaStockApply'
  910. ermcp.QryAvalidGPRsp:
  911. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  912. ermcp.QryBusinessDjRsp:
  913. properties:
  914. amount:
  915. description: 点价金额=(点价价格+升贴水)*点价数量
  916. type: number
  917. applyid:
  918. description: 申请人
  919. type: string
  920. applyname:
  921. description: 申请人名称
  922. type: string
  923. applystatus:
  924. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  925. type: integer
  926. applytime:
  927. description: 申请时间
  928. type: string
  929. attachurl:
  930. description: 附件
  931. type: string
  932. auditname:
  933. description: 审核人名称
  934. type: string
  935. audittime:
  936. description: 审核时间
  937. type: string
  938. buyusername:
  939. description: 采购方名称
  940. type: string
  941. contractno:
  942. description: 合同编号
  943. type: string
  944. contractstatus:
  945. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  946. type: integer
  947. contracttype:
  948. description: 现货合同类型 - 1:采购 -1:销售
  949. type: integer
  950. enumdicname:
  951. description: 单位名称
  952. type: string
  953. goodscode:
  954. description: 点价合约
  955. type: string
  956. goodsname:
  957. description: 商品名称
  958. type: string
  959. operateapplyid:
  960. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  961. type: string
  962. operateapplytype:
  963. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  964. type: integer
  965. pricedPrice:
  966. description: 点价价格(非必填)
  967. type: number
  968. pricedQty:
  969. description: 点价数量(非必填)
  970. type: number
  971. pricemove:
  972. description: 升贴水
  973. type: number
  974. pricetype:
  975. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  976. type: integer
  977. relatedid:
  978. description: 现货合同ID
  979. type: string
  980. sellusername:
  981. description: 销售方名字
  982. type: string
  983. userid:
  984. description: 用户ID
  985. type: integer
  986. wrstandardcode:
  987. description: 现货商品代码
  988. type: string
  989. wrstandardid:
  990. description: 现货商品id
  991. type: integer
  992. wrstandardname:
  993. description: 现货商品名称
  994. type: string
  995. type: object
  996. ermcp.QryBussinessFpRsp:
  997. properties:
  998. applyid:
  999. description: 申请人
  1000. type: string
  1001. applyname:
  1002. description: 申请人名称
  1003. type: string
  1004. applystatus:
  1005. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1006. type: integer
  1007. applytime:
  1008. description: 申请时间
  1009. type: string
  1010. attachurl:
  1011. description: 附件
  1012. type: string
  1013. auditname:
  1014. description: 审核人名称
  1015. type: string
  1016. audittime:
  1017. description: 审核时间
  1018. type: string
  1019. buyusername:
  1020. description: 采购方名称
  1021. type: string
  1022. contractno:
  1023. description: 合同编号
  1024. type: string
  1025. contractstatus:
  1026. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1027. type: integer
  1028. contracttype:
  1029. description: 现货合同类型 - 1:采购 -1:销售
  1030. type: integer
  1031. enumdicname:
  1032. description: 单位名称
  1033. type: string
  1034. goodscode:
  1035. description: 点价合约
  1036. type: string
  1037. goodsname:
  1038. description: 商品名称
  1039. type: string
  1040. invoiceAmount:
  1041. description: 已开收票金额(销售为开票,采购为收票)
  1042. type: number
  1043. operateapplyid:
  1044. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1045. type: string
  1046. operateapplytype:
  1047. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1048. type: integer
  1049. pricemove:
  1050. description: 升贴水
  1051. type: number
  1052. pricetype:
  1053. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1054. type: integer
  1055. relatedid:
  1056. description: 现货合同ID
  1057. type: string
  1058. sellusername:
  1059. description: 销售方名字
  1060. type: string
  1061. userid:
  1062. description: 用户ID
  1063. type: integer
  1064. wrstandardcode:
  1065. description: 现货商品代码
  1066. type: string
  1067. wrstandardid:
  1068. description: 现货商品id
  1069. type: integer
  1070. wrstandardname:
  1071. description: 现货商品名称
  1072. type: string
  1073. type: object
  1074. ermcp.QryBussinessJsExRsp:
  1075. properties:
  1076. applyid:
  1077. description: 申请人
  1078. type: string
  1079. applyname:
  1080. description: 申请人名称
  1081. type: string
  1082. applystatus:
  1083. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1084. type: integer
  1085. applytime:
  1086. description: 申请时间
  1087. type: string
  1088. attachurl:
  1089. description: 附件
  1090. type: string
  1091. auditname:
  1092. description: 审核人名称
  1093. type: string
  1094. audittime:
  1095. description: 审核时间
  1096. type: string
  1097. buyusername:
  1098. description: 采购方名称
  1099. type: string
  1100. contractno:
  1101. description: 合同编号
  1102. type: string
  1103. contractstatus:
  1104. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1105. type: integer
  1106. contracttype:
  1107. description: 现货合同类型 - 1:采购 -1:销售
  1108. type: integer
  1109. enumdicname:
  1110. description: 单位名称
  1111. type: string
  1112. goodscode:
  1113. description: 点价合约
  1114. type: string
  1115. goodsname:
  1116. description: 商品名称
  1117. type: string
  1118. operateapplyid:
  1119. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1120. type: string
  1121. operateapplytype:
  1122. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1123. type: integer
  1124. pricemove:
  1125. description: 升贴水
  1126. type: number
  1127. pricetype:
  1128. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1129. type: integer
  1130. reckontype:
  1131. description: 结算类型
  1132. type: string
  1133. reckonvalue:
  1134. description: 值
  1135. type: number
  1136. relatedid:
  1137. description: 现货合同ID
  1138. type: string
  1139. sellusername:
  1140. description: 销售方名字
  1141. type: string
  1142. userid:
  1143. description: 用户ID
  1144. type: integer
  1145. wrstandardcode:
  1146. description: 现货商品代码
  1147. type: string
  1148. wrstandardid:
  1149. description: 现货商品id
  1150. type: integer
  1151. wrstandardname:
  1152. description: 现货商品名称
  1153. type: string
  1154. type: object
  1155. ermcp.QryBussinessJsRsp:
  1156. properties:
  1157. addmargin:
  1158. description: 追加保证金(非必填)
  1159. type: number
  1160. applyid:
  1161. description: 申请人
  1162. type: string
  1163. applyname:
  1164. description: 申请人名称
  1165. type: string
  1166. applystatus:
  1167. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1168. type: integer
  1169. applytime:
  1170. description: 申请时间
  1171. type: string
  1172. attachurl:
  1173. description: 附件
  1174. type: string
  1175. auditname:
  1176. description: 审核人名称
  1177. type: string
  1178. audittime:
  1179. description: 审核时间
  1180. type: string
  1181. buyusername:
  1182. description: 采购方名称
  1183. type: string
  1184. contractno:
  1185. description: 合同编号
  1186. type: string
  1187. contractstatus:
  1188. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1189. type: integer
  1190. contracttype:
  1191. description: 现货合同类型 - 1:采购 -1:销售
  1192. type: integer
  1193. decmargin:
  1194. description: 减少保证金(非必填)
  1195. type: number
  1196. enumdicname:
  1197. description: 单位名称
  1198. type: string
  1199. goodscode:
  1200. description: 点价合约
  1201. type: string
  1202. goodsname:
  1203. description: 商品名称
  1204. type: string
  1205. operateapplyid:
  1206. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1207. type: string
  1208. operateapplytype:
  1209. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1210. type: integer
  1211. pricemove:
  1212. description: 升贴水
  1213. type: number
  1214. pricetype:
  1215. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1216. type: integer
  1217. reckonadjustamount:
  1218. description: 结算调整金额(非必填)
  1219. type: number
  1220. reckonosamount:
  1221. description: 结算溢短金额(非必填)
  1222. type: number
  1223. reckonotheramount:
  1224. description: 结算其他费用(非必填)
  1225. type: number
  1226. reckonrealqty:
  1227. description: 结算实际数量(非必填)
  1228. type: number
  1229. relatedid:
  1230. description: 现货合同ID
  1231. type: string
  1232. sellusername:
  1233. description: 销售方名字
  1234. type: string
  1235. userid:
  1236. description: 用户ID
  1237. type: integer
  1238. wrstandardcode:
  1239. description: 现货商品代码
  1240. type: string
  1241. wrstandardid:
  1242. description: 现货商品id
  1243. type: integer
  1244. wrstandardname:
  1245. description: 现货商品名称
  1246. type: string
  1247. type: object
  1248. ermcp.QryBussinessKxRsp:
  1249. properties:
  1250. applyid:
  1251. description: 申请人
  1252. type: string
  1253. applyname:
  1254. description: 申请人名称
  1255. type: string
  1256. applystatus:
  1257. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1258. type: integer
  1259. applytime:
  1260. description: 申请时间
  1261. type: string
  1262. attachurl:
  1263. description: 附件
  1264. type: string
  1265. auditname:
  1266. description: 审核人名称
  1267. type: string
  1268. audittime:
  1269. description: 审核时间
  1270. type: string
  1271. buyusername:
  1272. description: 采购方名称
  1273. type: string
  1274. contractno:
  1275. description: 合同编号
  1276. type: string
  1277. contractstatus:
  1278. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1279. type: integer
  1280. contracttype:
  1281. description: 现货合同类型 - 1:采购 -1:销售
  1282. type: integer
  1283. deductamount:
  1284. description: 退款(非必填)
  1285. type: number
  1286. enumdicname:
  1287. description: 单位名称
  1288. type: string
  1289. goodscode:
  1290. description: 点价合约
  1291. type: string
  1292. goodsname:
  1293. description: 商品名称
  1294. type: string
  1295. kxtype:
  1296. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1297. type: integer
  1298. operateapplyid:
  1299. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1300. type: string
  1301. operateapplytype:
  1302. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1303. type: integer
  1304. payamount:
  1305. description: 收付款(非必填)
  1306. type: number
  1307. pricemove:
  1308. description: 升贴水
  1309. type: number
  1310. pricetype:
  1311. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1312. type: integer
  1313. relatedid:
  1314. description: 现货合同ID
  1315. type: string
  1316. sellusername:
  1317. description: 销售方名字
  1318. type: string
  1319. userid:
  1320. description: 用户ID
  1321. type: integer
  1322. wrstandardcode:
  1323. description: 现货商品代码
  1324. type: string
  1325. wrstandardid:
  1326. description: 现货商品id
  1327. type: integer
  1328. wrstandardname:
  1329. description: 现货商品名称
  1330. type: string
  1331. type: object
  1332. ermcp.QryErmcpRsp:
  1333. $ref: '#/definitions/models.ErmcpModel'
  1334. ermcp.QryGGCovertCfgRsp:
  1335. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1336. ermcp.QryHedgePlanRsp:
  1337. $ref: '#/definitions/models.ErmcpHedgePlan'
  1338. ermcp.QryMGChangeLogRsp:
  1339. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1340. ermcp.QryMiddleGoodsDetailRsp:
  1341. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1342. ermcp.QryMiddleGoodsRsp:
  1343. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1344. ermcp.QryOPLogRsp:
  1345. $ref: '#/definitions/models.ErmcpOPLogModel'
  1346. ermcp.QryReportDaySpotDetailRsp:
  1347. $ref: '#/definitions/models.ErmcpReportOPLog'
  1348. ermcp.QryReportExposureDayRsp:
  1349. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1350. ermcp.QryReportFinanceDayRsp:
  1351. $ref: '#/definitions/models.ErmcpReportDayFR'
  1352. ermcp.QryReportFinanceKxRsp:
  1353. $ref: '#/definitions/models.ErmcpReportOPLog'
  1354. ermcp.QryReportFinanceMonRsp:
  1355. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1356. ermcp.QryReportSpotDayRsp:
  1357. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1358. ermcp.QryReportSpotMonRsp:
  1359. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1360. ermcp.QryReportSpotMonthDetailRsp:
  1361. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1362. ermcp.QrySpotContractRsp:
  1363. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1364. ermcp.QryUserInfoRsp:
  1365. $ref: '#/definitions/models.ErmcpUserModel'
  1366. ermcp.QryWarehouseRsp:
  1367. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1368. ermcp.QryWrStandardDetailRsp:
  1369. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1370. ermcp.QryWrStandardRsp:
  1371. $ref: '#/definitions/models.ErmcpWrstandard'
  1372. ermcp.QueryAreaStockApplySumRsp:
  1373. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1374. ermcp.QueryErmcpTradePositionRsp:
  1375. properties:
  1376. agreeunit:
  1377. description: 合约单位
  1378. type: number
  1379. buyorsell:
  1380. description: 方向 - 0:买 1:卖
  1381. type: integer
  1382. curpositionqty:
  1383. description: 持仓(总仓数量, 期末头寸)
  1384. type: integer
  1385. curtdposition:
  1386. description: 今仓数量(期末今日头寸)
  1387. type: integer
  1388. curtdpositionenabled:
  1389. description: 今仓可用
  1390. type: integer
  1391. decimalplace:
  1392. description: 报价小数位
  1393. type: integer
  1394. enableqty:
  1395. description: 可用(总仓可用)
  1396. type: integer
  1397. exexchangename:
  1398. description: 外部交易所名称
  1399. type: string
  1400. goodscode:
  1401. description: 商品代码(内部)
  1402. type: string
  1403. goodsid:
  1404. description: 商品ID(自增ID SEQ_GOODS)
  1405. type: integer
  1406. goodsname:
  1407. description: 商品名称
  1408. type: string
  1409. last:
  1410. description: 现价
  1411. type: number
  1412. marketid:
  1413. description: 所属市场ID
  1414. type: integer
  1415. openaverageprice:
  1416. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1417. type: number
  1418. opencost:
  1419. description: 开仓成本
  1420. type: number
  1421. openpl:
  1422. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1423. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1424. type: number
  1425. outgoodscode:
  1426. description: 商品代码(外部)
  1427. type: string
  1428. positionaverageprice:
  1429. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1430. type: number
  1431. positioncost:
  1432. description: 持仓成本
  1433. type: number
  1434. positionpl:
  1435. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1436. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1437. type: number
  1438. positionplrate:
  1439. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1440. type: number
  1441. usedmargin:
  1442. description: 占用保证金
  1443. type: number
  1444. type: object
  1445. ermcp.RealtimeExposurePositionRsp:
  1446. $ref: '#/definitions/models.ErmcpExposurePostion'
  1447. ermcp.RealtimeExposureRsp:
  1448. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1449. erms2.QueryArbitrageStrategyRsp:
  1450. properties:
  1451. applybasis:
  1452. description: 申请基差
  1453. type: number
  1454. asapplyid:
  1455. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1456. type: string
  1457. asname:
  1458. description: 策略名称
  1459. type: string
  1460. asno:
  1461. description: 策略编号
  1462. type: string
  1463. basischangepl:
  1464. description: 基差变动损益[结算更新]
  1465. type: number
  1466. biztype:
  1467. description: 业务类型 - 1:正向套利 -1:反向套利
  1468. type: integer
  1469. closetradedate:
  1470. description: 完结交易日(yyyyMMdd)
  1471. type: string
  1472. curbasis:
  1473. description: 当前基差[结算更新]
  1474. type: number
  1475. deliverygoodsid:
  1476. description: 现货品种ID
  1477. type: integer
  1478. futureavgprice:
  1479. description: 期货建仓均价
  1480. type: number
  1481. futurecloseamount:
  1482. description: 期货平仓金额
  1483. type: number
  1484. futurecloseqty:
  1485. description: 期货平仓数量
  1486. type: number
  1487. futureopenamount:
  1488. description: 期货开仓金额
  1489. type: number
  1490. futureopenqty:
  1491. description: 期货开仓数量
  1492. type: number
  1493. futurepl:
  1494. description: 期货总盈亏[结算更新]
  1495. type: number
  1496. futureqty:
  1497. description: 期货持仓数量
  1498. type: number
  1499. futurequote:
  1500. description: 期货额度
  1501. type: number
  1502. goodsgroupid:
  1503. description: 期货品种ID
  1504. type: integer
  1505. marketid:
  1506. description: 市场ID
  1507. type: integer
  1508. netexposure:
  1509. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1510. type: number
  1511. netexposurepl:
  1512. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1513. type: number
  1514. netexposurerate:
  1515. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1516. type: number
  1517. openbasis:
  1518. description: 建仓基差
  1519. type: number
  1520. pricedspotqty:
  1521. description: 已定价现货数量
  1522. type: number
  1523. pricedspotqtynotax:
  1524. description: 已定价现货不含税数量
  1525. type: number
  1526. remark:
  1527. description: 备注
  1528. type: string
  1529. spotavgprice:
  1530. description: 现货均价
  1531. type: number
  1532. spotbuyamount:
  1533. description: 现货采购金额
  1534. type: number
  1535. spotbuyqty:
  1536. description: 现货采购数量
  1537. type: number
  1538. spotpl:
  1539. description: 现货总盈亏[结算更新]
  1540. type: number
  1541. spotquota:
  1542. description: 现货额度
  1543. type: number
  1544. spotsellamount:
  1545. description: 现货销售金额
  1546. type: number
  1547. spotsellqty:
  1548. description: 现货销售数量
  1549. type: number
  1550. spotusedquota:
  1551. description: 现货占用资金
  1552. type: number
  1553. strategystatus:
  1554. description: 策略状态 - 0:未结束 1:已结束
  1555. type: integer
  1556. totalpl:
  1557. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1558. type: number
  1559. tradedate:
  1560. description: 交易日(yyyyMMdd)
  1561. type: string
  1562. updatetime:
  1563. description: 更新时间
  1564. type: string
  1565. usedquota:
  1566. description: 已占用资金
  1567. type: number
  1568. userid:
  1569. description: 所属机构
  1570. type: integer
  1571. required:
  1572. - asapplyid
  1573. type: object
  1574. erms2.QueryInnerTradeDetailRsp:
  1575. properties:
  1576. accountid:
  1577. description: 账号ID
  1578. type: integer
  1579. agreeunit:
  1580. description: 合约单位
  1581. type: number
  1582. asapplyid:
  1583. description: 策略申请ID
  1584. type: integer
  1585. asname:
  1586. description: 策略名称
  1587. type: string
  1588. asno:
  1589. description: 策略编号
  1590. type: string
  1591. buyorsell:
  1592. description: 方向 - 0:买 1:卖
  1593. type: integer
  1594. channelbuildtype:
  1595. description: 委托单据类型 0:无 1:建仓 2:平仓
  1596. type: integer
  1597. closetype:
  1598. description: 平仓方式 - 0:无 1:平今 2:平昨
  1599. type: integer
  1600. decimalplace:
  1601. description: 报价小数位
  1602. type: integer
  1603. detailtype:
  1604. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1605. type: integer
  1606. exexchangecode:
  1607. description: 外部交易所代码
  1608. type: string
  1609. exexchangename:
  1610. description: 外部交易所名称
  1611. type: string
  1612. goodscode:
  1613. description: 商品代码(合约)
  1614. type: string
  1615. goodsgroupid:
  1616. description: 商品组ID(品种ID)
  1617. type: integer
  1618. goodsgroupname:
  1619. description: 商品组名称(品种)
  1620. type: string
  1621. goodsid:
  1622. description: 商品ID
  1623. type: integer
  1624. goodsname:
  1625. description: 商品名称(合约)
  1626. type: string
  1627. goodunit:
  1628. description: 报价单位
  1629. type: string
  1630. marketid:
  1631. description: 市场ID
  1632. type: integer
  1633. orderid:
  1634. description: 委托单号
  1635. type: string
  1636. outgoodscode:
  1637. description: 商品代码(外部)
  1638. type: string
  1639. relatedouttradeid:
  1640. description: 关联外部成交单ID
  1641. type: string
  1642. remark:
  1643. description: 备注
  1644. type: string
  1645. spotcontractid:
  1646. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1647. type: integer
  1648. spotcontractno:
  1649. description: 现货合同编号
  1650. type: string
  1651. tradeid:
  1652. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1653. type: string
  1654. tradeprice:
  1655. description: 成交价格
  1656. type: number
  1657. tradeqty:
  1658. description: 成交数量
  1659. type: integer
  1660. tradetime:
  1661. description: 成交时间
  1662. type: string
  1663. updatetime:
  1664. description: 更新时间
  1665. type: string
  1666. required:
  1667. - asapplyid
  1668. - buyorsell
  1669. - goodscode
  1670. - goodsgroupid
  1671. - goodsgroupname
  1672. - goodsname
  1673. - tradeid
  1674. type: object
  1675. erms2.QuerySpotContractRsp:
  1676. properties:
  1677. accountid:
  1678. description: 资金账户ID
  1679. type: integer
  1680. areauserid:
  1681. description: 所属机构
  1682. type: integer
  1683. closedate:
  1684. description: 终止日期
  1685. type: string
  1686. closeremark:
  1687. description: 结束备注
  1688. type: string
  1689. closetradedate:
  1690. description: 完结交易日(yyyyMMdd)
  1691. type: string
  1692. closetype:
  1693. description: 终止类型 - 1:违约 2:提前终止
  1694. type: integer
  1695. contractamount:
  1696. description: 合同金额
  1697. type: number
  1698. contractattachment:
  1699. description: 合同附件
  1700. type: string
  1701. contractno:
  1702. description: 现货合同编号
  1703. type: string
  1704. contractqty:
  1705. description: 合同数量(数值) (用于计算)
  1706. type: number
  1707. contractqtychar:
  1708. description: 合同数量\已订价数量 (用于显示)
  1709. type: string
  1710. contractstatus:
  1711. description: 合同状态 - 0:未结束 1:已结束
  1712. type: integer
  1713. contracttype:
  1714. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1715. type: integer
  1716. customeraccountid:
  1717. description: 客户资金账户ID
  1718. type: integer
  1719. customeruserid:
  1720. description: 客户ID
  1721. type: integer
  1722. deliverygoodsdesc:
  1723. description: 品种说明
  1724. type: string
  1725. deliverygoodsid:
  1726. description: 现货品种ID
  1727. type: integer
  1728. handlestatus:
  1729. description: 处理状态
  1730. type: integer
  1731. invoiceatt:
  1732. description: 发票附件
  1733. type: string
  1734. invoicedatetime:
  1735. description: 开收票更新时间
  1736. type: string
  1737. invoiceopentime:
  1738. description: 开票时间
  1739. type: string
  1740. invoiceremark:
  1741. description: 发票备注
  1742. type: string
  1743. invoicestatus:
  1744. description: 开收票状态 - 0:未开票 1:已开票
  1745. type: integer
  1746. lastdate:
  1747. description: 交货时间
  1748. type: string
  1749. marketid:
  1750. description: 市场ID
  1751. type: integer
  1752. paydatetime:
  1753. description: 收付款更新时间
  1754. type: string
  1755. payremark:
  1756. description: 收付款备注
  1757. type: string
  1758. paystatus:
  1759. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1760. type: integer
  1761. positionqty:
  1762. description: 头寸数量 - 合同数量去小数部分
  1763. type: integer
  1764. producttype:
  1765. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1766. type: integer
  1767. relatedqty:
  1768. description: 已关联数量
  1769. type: number
  1770. relatedstatus:
  1771. description: 关联完结状态 - 0:未结束 1:已结束
  1772. type: integer
  1773. remark:
  1774. description: 备注
  1775. type: string
  1776. signdate:
  1777. description: 签订日期
  1778. type: string
  1779. spotcontractid:
  1780. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1781. type: string
  1782. spotdatetime:
  1783. description: 收发货更新时间
  1784. type: string
  1785. spotprice:
  1786. description: 价格
  1787. type: number
  1788. spotremark:
  1789. description: 收发货备注
  1790. type: string
  1791. spotstatus:
  1792. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1793. type: integer
  1794. tradedate:
  1795. description: 交易日(yyyyMMdd)
  1796. type: string
  1797. userid:
  1798. description: 业务员用户ID
  1799. type: integer
  1800. warehouseid:
  1801. description: 仓库ID
  1802. type: integer
  1803. wrfactortypeid:
  1804. description: 仓单要素类型ID
  1805. type: integer
  1806. wrstandardid:
  1807. description: 仓单标准ID(SEQ_WRSTANDARD)
  1808. type: integer
  1809. required:
  1810. - spotcontractid
  1811. type: object
  1812. erms3.AddErms2ASApplyReq:
  1813. properties:
  1814. applybasis:
  1815. description: 申请基差
  1816. type: number
  1817. applystatus:
  1818. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1819. type: integer
  1820. asapplyid:
  1821. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1822. type: integer
  1823. asname:
  1824. description: 策略名称
  1825. type: string
  1826. asno:
  1827. description: 策略编号
  1828. type: string
  1829. auditid:
  1830. description: 审核人
  1831. type: integer
  1832. auditremark:
  1833. description: 审核备注
  1834. type: string
  1835. audittime:
  1836. description: 审核时间
  1837. type: string
  1838. biztype:
  1839. description: 业务类型 - 1:正向套利 2:反向套利
  1840. type: integer
  1841. createtime:
  1842. description: 创建时间
  1843. type: string
  1844. creatorid:
  1845. description: 创建人
  1846. type: integer
  1847. deliverygoodsid:
  1848. description: 现货品种ID
  1849. type: integer
  1850. futurequote:
  1851. description: 期货额度
  1852. type: number
  1853. goodsgroupid:
  1854. description: 期货品种ID
  1855. type: integer
  1856. marketid:
  1857. description: 市场ID
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. spotquota:
  1863. description: 现货额度
  1864. type: number
  1865. tradedate:
  1866. description: 交易日(yyyyMMdd)
  1867. type: string
  1868. userid:
  1869. description: 所属机构
  1870. type: integer
  1871. required:
  1872. - asapplyid
  1873. type: object
  1874. erms3.AddErms2SpotTradeApplyReq:
  1875. properties:
  1876. applyjsondetail:
  1877. description: 申请明细(JSON)
  1878. type: string
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. areauserid:
  1883. description: 所属机构
  1884. type: integer
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. createtime:
  1895. description: 创建时间
  1896. type: string
  1897. creatorid:
  1898. description: 创建人
  1899. type: integer
  1900. deliverygoodsid:
  1901. description: 现货品种ID
  1902. type: integer
  1903. futureaccountid:
  1904. description: 期货资金账户
  1905. type: integer
  1906. goodsgroupid:
  1907. description: 期货品种
  1908. type: integer
  1909. marketid:
  1910. description: 市场ID
  1911. type: integer
  1912. remark:
  1913. description: 备注
  1914. type: string
  1915. spotaccountid:
  1916. description: 现货资金账户
  1917. type: integer
  1918. spottradeid:
  1919. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1920. type: integer
  1921. spottradename:
  1922. description: 业务名称
  1923. type: string
  1924. spottradeno:
  1925. description: 业务编号
  1926. type: string
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. wrstandardid:
  1931. description: 仓单标准ID
  1932. type: integer
  1933. required:
  1934. - spottradeid
  1935. type: object
  1936. erms3.AddSpotContractApplyReq:
  1937. properties:
  1938. accountid:
  1939. description: 资金账户ID
  1940. type: integer
  1941. areauserid:
  1942. description: 所属机构
  1943. type: integer
  1944. contractattachment:
  1945. description: 合同附件
  1946. type: string
  1947. contractno:
  1948. description: 现货合同编号
  1949. type: string
  1950. contracttype:
  1951. description: 现货合同类型 - 1:采购 -1:销售
  1952. type: integer
  1953. creatorid:
  1954. description: 申请人
  1955. type: integer
  1956. customeraccountid:
  1957. description: 客户资金账户ID
  1958. type: integer
  1959. customeruserid:
  1960. description: 客户ID
  1961. type: integer
  1962. details:
  1963. description: 明细
  1964. items:
  1965. $ref: '#/definitions/erms3.SoptContractDetail'
  1966. type: array
  1967. orimargin:
  1968. description: 初始保证金
  1969. type: number
  1970. remark:
  1971. description: 备注
  1972. type: string
  1973. signdate:
  1974. description: 签订日期
  1975. type: string
  1976. required:
  1977. - accountid
  1978. - areauserid
  1979. - contractno
  1980. - contracttype
  1981. - customeraccountid
  1982. - customeruserid
  1983. - details
  1984. - orimargin
  1985. - signdate
  1986. type: object
  1987. erms3.AddSpotContractApplyRsp:
  1988. properties:
  1989. contractno:
  1990. description: 现货合同编号
  1991. type: string
  1992. spotcontractid:
  1993. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1994. type: integer
  1995. required:
  1996. - contractno
  1997. type: object
  1998. erms3.AddUserInfoApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 交易系统帐号Id (加密存储)
  2002. type: integer
  2003. areacode:
  2004. description: 机构代码
  2005. type: string
  2006. areaid:
  2007. description: 机构Id
  2008. type: integer
  2009. attachment1:
  2010. description: 附件1
  2011. type: string
  2012. attachment2:
  2013. description: 附件2
  2014. type: string
  2015. attachment3:
  2016. description: 附件3
  2017. type: string
  2018. attachment4:
  2019. description: 附件4
  2020. type: string
  2021. attachment5:
  2022. description: 附件5
  2023. type: string
  2024. auditedby:
  2025. description: 审核人
  2026. type: string
  2027. auditime:
  2028. description: 审核时间
  2029. type: string
  2030. bankaccount:
  2031. description: 银行帐号 (加密存储)
  2032. type: string
  2033. bankaccountname:
  2034. description: 收款人名称
  2035. type: string
  2036. bankcardbackphotourl:
  2037. description: 银行卡背面照地址
  2038. type: string
  2039. bankcardfrontphotourl:
  2040. description: 银行卡正面照地址
  2041. type: string
  2042. bankid:
  2043. description: 银行编码
  2044. type: string
  2045. bankname:
  2046. description: 银行名称
  2047. type: string
  2048. bankpictureurl:
  2049. description: 银行卡正面地址
  2050. type: string
  2051. biznature:
  2052. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2053. type: integer
  2054. bizscope:
  2055. description: 企业经营范围(企业)
  2056. type: string
  2057. biztype:
  2058. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2059. type: integer
  2060. brokerid:
  2061. description: 经纪人ID(加密存储)
  2062. type: string
  2063. cardaddress:
  2064. description: 证件地址 (加密存储)
  2065. type: string
  2066. cardbackphotourl:
  2067. description: 背面证件照地址
  2068. type: string
  2069. cardfrontphotourl:
  2070. description: 正面证件照地址
  2071. type: string
  2072. cardnum:
  2073. description: 证件号码 (加密存储)
  2074. type: string
  2075. cardtype:
  2076. description: 证件类型
  2077. type: integer
  2078. cityid:
  2079. description: 市
  2080. type: integer
  2081. company:
  2082. description: 公司(个人)
  2083. type: string
  2084. contactcardbackphotourl:
  2085. description: 联系人证件背面图片地址
  2086. type: string
  2087. contactcardfrontphotourl:
  2088. description: 联系人证件正面图片地址
  2089. type: string
  2090. contactname:
  2091. description: 联系人
  2092. type: string
  2093. countryid:
  2094. description: 国家
  2095. type: integer
  2096. createtime:
  2097. description: 开户申请时间
  2098. type: string
  2099. cusbankid:
  2100. description: 签约类型
  2101. type: string
  2102. cusbankname:
  2103. description: 签约类型名称
  2104. type: string
  2105. customername:
  2106. description: 客户名称(企业名称)
  2107. type: string
  2108. districtid:
  2109. description: 地区
  2110. type: integer
  2111. email:
  2112. description: Email地址(加密存储)
  2113. type: string
  2114. halfbodyphotourl:
  2115. description: 半身照地址
  2116. type: string
  2117. headurl:
  2118. description: 头像地址
  2119. type: string
  2120. ipaddress:
  2121. description: IP地址
  2122. type: string
  2123. isvalidate:
  2124. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2125. type: string
  2126. legalcardbackphotourl:
  2127. description: 法人身份证背面照地址
  2128. type: string
  2129. legalcardfrontphotourl:
  2130. description: 法人身份证正面照地址
  2131. type: string
  2132. legalpersonname:
  2133. description: 法人姓名(企业)
  2134. type: string
  2135. logincode:
  2136. description: 登录帐号 (加密存储)
  2137. type: string
  2138. memberareaid:
  2139. description: 所属会员ID
  2140. type: integer
  2141. mobile2:
  2142. description: 手机号码[明文-尚志]
  2143. type: string
  2144. mobilephone:
  2145. description: 手机号码 (加密存储)
  2146. type: string
  2147. modifiedby:
  2148. description: 修改人帐号
  2149. type: integer
  2150. modifiedtime:
  2151. description: 修改时间
  2152. type: string
  2153. nickname:
  2154. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2155. type: string
  2156. openmode:
  2157. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2158. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2159. type: integer
  2160. otherurl:
  2161. description: 其它图片地址[使用分号分隔]
  2162. type: string
  2163. postalcode:
  2164. description: 邮政编码
  2165. type: string
  2166. provinceid:
  2167. description: 省
  2168. type: integer
  2169. proxystatementurl:
  2170. description: 授权委托书
  2171. type: string
  2172. qq:
  2173. description: QQ(加密存储
  2174. type: string
  2175. referral:
  2176. description: 推荐人编码
  2177. type: string
  2178. remark:
  2179. description: 备注
  2180. type: string
  2181. removebeforestatus:
  2182. description: REMOVEBEFORESTATUS
  2183. type: integer
  2184. sex:
  2185. description: 性别 - 0:女 1:男
  2186. type: integer
  2187. signedstatus:
  2188. description: 账户一号签签约状态
  2189. type: integer
  2190. signpdfurl:
  2191. description: 签约pdf文件
  2192. type: string
  2193. subbranch:
  2194. description: 开户支行
  2195. type: string
  2196. telphone:
  2197. description: 联系电话(加密存储)
  2198. type: string
  2199. userid:
  2200. description: 用户ID(自增ID)
  2201. type: integer
  2202. userinfotype:
  2203. description: 用户信息类型 - 1:个人 2:企业
  2204. type: integer
  2205. username:
  2206. description: 用户姓名
  2207. type: string
  2208. userstate:
  2209. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2210. type: integer
  2211. usertype:
  2212. description: 用户类型 - 1:投资者 2:机构
  2213. type: integer
  2214. videourl:
  2215. description: 视频地址
  2216. type: string
  2217. wechat:
  2218. description: 微信号 (加密存储)
  2219. type: string
  2220. required:
  2221. - userid
  2222. type: object
  2223. erms3.CustomerInfo:
  2224. properties:
  2225. accountids:
  2226. description: 资金账户ID列表
  2227. items:
  2228. type: integer
  2229. type: array
  2230. customername:
  2231. description: 名称(企业名称)
  2232. type: string
  2233. mobile:
  2234. description: 手机号码
  2235. type: string
  2236. userid:
  2237. description: 用户ID
  2238. type: integer
  2239. required:
  2240. - userid
  2241. type: object
  2242. erms3.ModifyUserInfoApplyReq:
  2243. properties:
  2244. accountid:
  2245. description: 交易系统帐号Id (加密存储)
  2246. type: integer
  2247. areacode:
  2248. description: 机构代码
  2249. type: string
  2250. areaid:
  2251. description: 机构Id
  2252. type: integer
  2253. attachment1:
  2254. description: 附件1
  2255. type: string
  2256. attachment2:
  2257. description: 附件2
  2258. type: string
  2259. attachment3:
  2260. description: 附件3
  2261. type: string
  2262. attachment4:
  2263. description: 附件4
  2264. type: string
  2265. attachment5:
  2266. description: 附件5
  2267. type: string
  2268. auditedby:
  2269. description: 审核人
  2270. type: string
  2271. auditime:
  2272. description: 审核时间
  2273. type: string
  2274. bankaccount:
  2275. description: 银行帐号 (加密存储)
  2276. type: string
  2277. bankaccountname:
  2278. description: 收款人名称
  2279. type: string
  2280. bankcardbackphotourl:
  2281. description: 银行卡背面照地址
  2282. type: string
  2283. bankcardfrontphotourl:
  2284. description: 银行卡正面照地址
  2285. type: string
  2286. bankid:
  2287. description: 银行编码
  2288. type: string
  2289. bankname:
  2290. description: 银行名称
  2291. type: string
  2292. bankpictureurl:
  2293. description: 银行卡正面地址
  2294. type: string
  2295. biznature:
  2296. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2297. type: integer
  2298. bizscope:
  2299. description: 企业经营范围(企业)
  2300. type: string
  2301. biztype:
  2302. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2303. type: integer
  2304. brokerid:
  2305. description: 经纪人ID(加密存储)
  2306. type: string
  2307. cardaddress:
  2308. description: 证件地址 (加密存储)
  2309. type: string
  2310. cardbackphotourl:
  2311. description: 背面证件照地址
  2312. type: string
  2313. cardfrontphotourl:
  2314. description: 正面证件照地址
  2315. type: string
  2316. cardnum:
  2317. description: 证件号码 (加密存储)
  2318. type: string
  2319. cardtype:
  2320. description: 证件类型
  2321. type: integer
  2322. cityid:
  2323. description: 市
  2324. type: integer
  2325. company:
  2326. description: 公司(个人)
  2327. type: string
  2328. contactcardbackphotourl:
  2329. description: 联系人证件背面图片地址
  2330. type: string
  2331. contactcardfrontphotourl:
  2332. description: 联系人证件正面图片地址
  2333. type: string
  2334. contactname:
  2335. description: 联系人
  2336. type: string
  2337. countryid:
  2338. description: 国家
  2339. type: integer
  2340. createtime:
  2341. description: 开户申请时间
  2342. type: string
  2343. cusbankid:
  2344. description: 签约类型
  2345. type: string
  2346. cusbankname:
  2347. description: 签约类型名称
  2348. type: string
  2349. customername:
  2350. description: 客户名称(企业名称)
  2351. type: string
  2352. districtid:
  2353. description: 地区
  2354. type: integer
  2355. email:
  2356. description: Email地址(加密存储)
  2357. type: string
  2358. halfbodyphotourl:
  2359. description: 半身照地址
  2360. type: string
  2361. headurl:
  2362. description: 头像地址
  2363. type: string
  2364. ipaddress:
  2365. description: IP地址
  2366. type: string
  2367. isvalidate:
  2368. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2369. type: string
  2370. legalcardbackphotourl:
  2371. description: 法人身份证背面照地址
  2372. type: string
  2373. legalcardfrontphotourl:
  2374. description: 法人身份证正面照地址
  2375. type: string
  2376. legalpersonname:
  2377. description: 法人姓名(企业)
  2378. type: string
  2379. logincode:
  2380. description: 登录帐号 (加密存储)
  2381. type: string
  2382. memberareaid:
  2383. description: 所属会员ID
  2384. type: integer
  2385. mobile2:
  2386. description: 手机号码[明文-尚志]
  2387. type: string
  2388. mobilephone:
  2389. description: 手机号码 (加密存储)
  2390. type: string
  2391. modifiedby:
  2392. description: 修改人帐号
  2393. type: integer
  2394. modifiedtime:
  2395. description: 修改时间
  2396. type: string
  2397. nickname:
  2398. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2399. type: string
  2400. openmode:
  2401. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2402. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2403. type: integer
  2404. otherurl:
  2405. description: 其它图片地址[使用分号分隔]
  2406. type: string
  2407. postalcode:
  2408. description: 邮政编码
  2409. type: string
  2410. provinceid:
  2411. description: 省
  2412. type: integer
  2413. proxystatementurl:
  2414. description: 授权委托书
  2415. type: string
  2416. qq:
  2417. description: QQ(加密存储
  2418. type: string
  2419. referral:
  2420. description: 推荐人编码
  2421. type: string
  2422. remark:
  2423. description: 备注
  2424. type: string
  2425. removebeforestatus:
  2426. description: REMOVEBEFORESTATUS
  2427. type: integer
  2428. sex:
  2429. description: 性别 - 0:女 1:男
  2430. type: integer
  2431. signedstatus:
  2432. description: 账户一号签签约状态
  2433. type: integer
  2434. signpdfurl:
  2435. description: 签约pdf文件
  2436. type: string
  2437. subbranch:
  2438. description: 开户支行
  2439. type: string
  2440. telphone:
  2441. description: 联系电话(加密存储)
  2442. type: string
  2443. userid:
  2444. description: 用户ID(自增ID)
  2445. type: integer
  2446. userinfotype:
  2447. description: 用户信息类型 - 1:个人 2:企业
  2448. type: integer
  2449. username:
  2450. description: 用户姓名
  2451. type: string
  2452. userstate:
  2453. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2454. type: integer
  2455. usertype:
  2456. description: 用户类型 - 1:投资者 2:机构
  2457. type: integer
  2458. videourl:
  2459. description: 视频地址
  2460. type: string
  2461. wechat:
  2462. description: 微信号 (加密存储)
  2463. type: string
  2464. required:
  2465. - userid
  2466. type: object
  2467. erms3.QryAuditContractRsp:
  2468. properties:
  2469. accountid:
  2470. description: 交易员ID
  2471. type: string
  2472. applystatus:
  2473. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2474. type: integer
  2475. curdeliveryqty:
  2476. description: 未交收量
  2477. type: integer
  2478. customername:
  2479. description: 采购方ID
  2480. type: string
  2481. deliverygoodsid:
  2482. description: 品种ID
  2483. type: string
  2484. deliveryqty:
  2485. description: 交收量
  2486. type: integer
  2487. enumdicname:
  2488. description: 单位名称
  2489. type: string
  2490. matchaccountid:
  2491. description: 业务员ID
  2492. type: string
  2493. matchcustomername:
  2494. description: 销售方ID
  2495. type: string
  2496. pricedqty:
  2497. description: 定价量
  2498. type: number
  2499. signdate:
  2500. description: 签订日期
  2501. type: string
  2502. spotcontractid:
  2503. description: 合同ID
  2504. type: string
  2505. totaldqty:
  2506. description: 合同量
  2507. type: number
  2508. unpricedqty:
  2509. description: 未定价量
  2510. type: number
  2511. wrstandardname:
  2512. description: 商品名称
  2513. type: string
  2514. required:
  2515. - matchcustomername
  2516. - spotcontractid
  2517. type: object
  2518. erms3.QryPendingBizRsp:
  2519. $ref: '#/definitions/models.PendingAuditBizModel'
  2520. erms3.QueryBusinessInfoRsp:
  2521. properties:
  2522. businessid:
  2523. description: 业务ID.
  2524. type: integer
  2525. buyamount:
  2526. description: 采购额.
  2527. type: number
  2528. buyqty:
  2529. description: 采购量.
  2530. type: string
  2531. futurepl:
  2532. description: 期货盈亏.
  2533. type: number
  2534. futureqty:
  2535. description: 期货敞口.
  2536. type: string
  2537. goodsid:
  2538. description: 商品名称/商品代码.
  2539. type: string
  2540. hedgingqty:
  2541. description: 套保量.
  2542. type: string
  2543. sellamount:
  2544. description: 销售额.
  2545. type: number
  2546. sellqty:
  2547. description: 销售量.
  2548. type: string
  2549. spotmarketvalue:
  2550. description: 现货市值.
  2551. type: number
  2552. spotpl:
  2553. description: 浮动权益.
  2554. type: number
  2555. spotqty:
  2556. description: 现货量.
  2557. type: string
  2558. statu:
  2559. description: 状态,0-未结束 1-已结束.
  2560. type: integer
  2561. totalpl:
  2562. description: 总盈亏.
  2563. type: number
  2564. totalqty:
  2565. description: 总敞口.
  2566. type: string
  2567. type:
  2568. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2569. type: integer
  2570. type: object
  2571. erms3.QuerySpotContractAppleFormRsp:
  2572. properties:
  2573. goodses:
  2574. description: 合约列表
  2575. items:
  2576. $ref: '#/definitions/models.GoodsIDAndName'
  2577. type: array
  2578. oppositeusers:
  2579. description: 对方账号列表
  2580. items:
  2581. $ref: '#/definitions/erms3.CustomerInfo'
  2582. type: array
  2583. ouruser:
  2584. $ref: '#/definitions/erms3.CustomerInfo'
  2585. description: 我方账号
  2586. type: object
  2587. warehouseinfos:
  2588. description: 仓库信息列表
  2589. items:
  2590. $ref: '#/definitions/models.Warehouseinfo'
  2591. type: array
  2592. wrstandards:
  2593. description: 仓单标准列表
  2594. items:
  2595. $ref: '#/definitions/models.WRStandardInfo'
  2596. type: array
  2597. type: object
  2598. erms3.QuerySpotContractInfoRsp:
  2599. properties:
  2600. accountid:
  2601. description: 表示交易员ID.
  2602. type: integer
  2603. curdeliveryqty:
  2604. description: 表示未交收量.
  2605. type: number
  2606. customername:
  2607. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2608. type: string
  2609. deliverygoodsid:
  2610. description: 表示品种ID.
  2611. type: string
  2612. deliveryqty:
  2613. description: 表示交收量.
  2614. type: number
  2615. matchaccountid:
  2616. description: 表示业务员ID.
  2617. type: integer
  2618. matchcustomername:
  2619. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2620. type: string
  2621. priceqty:
  2622. description: 表示定价量.
  2623. type: number
  2624. relatedbizid:
  2625. description: 表示业务ID.
  2626. type: string
  2627. signdate:
  2628. description: 表示签订日期.
  2629. type: string
  2630. spotcontractid:
  2631. description: 合同ID
  2632. type: string
  2633. status:
  2634. description: 表示状态,0-履约中 1-已完成.
  2635. type: integer
  2636. totalqty:
  2637. description: 表示合同量.
  2638. type: number
  2639. unpricedqty:
  2640. description: 表示未定价量.
  2641. type: number
  2642. wrstandardname:
  2643. description: 表示商品ID.
  2644. type: string
  2645. type: object
  2646. erms3.QueryUserInfoAppliesRsp:
  2647. properties:
  2648. biznature:
  2649. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2650. type: integer
  2651. contactname:
  2652. description: 联系人
  2653. type: string
  2654. createtime:
  2655. description: 开户申请时间
  2656. type: string
  2657. userid:
  2658. description: 用户ID(自增ID)
  2659. type: integer
  2660. userinfotype:
  2661. description: 用户信息类型 - 1:个人 2:企业
  2662. type: integer
  2663. username:
  2664. description: 用户姓名
  2665. type: string
  2666. userstate:
  2667. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2668. type: integer
  2669. required:
  2670. - userid
  2671. type: object
  2672. erms3.QueryUserInfosRsp:
  2673. properties:
  2674. biznature:
  2675. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2676. type: integer
  2677. contactname:
  2678. description: 联系人
  2679. type: string
  2680. customername:
  2681. description: 客户名称(企业名称)
  2682. type: string
  2683. userid:
  2684. description: 用户ID
  2685. type: integer
  2686. userinfotype:
  2687. description: 用户信息类型 - 1:个人 2:企业
  2688. type: integer
  2689. userstatus:
  2690. description: 用户状态 - 1:正常 2:注销
  2691. type: integer
  2692. required:
  2693. - userid
  2694. type: object
  2695. erms3.SoptContractDetail:
  2696. properties:
  2697. deliverygoodsdesc:
  2698. description: 现货品种说明
  2699. type: string
  2700. deliverygoodsid:
  2701. description: 现货品种ID
  2702. type: integer
  2703. deliverygoodsname:
  2704. description: 现货品种名称
  2705. type: string
  2706. pointdesc:
  2707. description: 点价描述
  2708. type: string
  2709. producttype:
  2710. description: 产品类型 1:标准仓单 2:等标 3:非标
  2711. type: integer
  2712. producttypename:
  2713. description: 产品类型名称
  2714. type: string
  2715. spotPointOrderVoList:
  2716. description: 点价列表
  2717. items:
  2718. $ref: '#/definitions/erms3.SpotPointOrder'
  2719. type: array
  2720. spotPriceOrderList:
  2721. description: 定价列表
  2722. items:
  2723. $ref: '#/definitions/erms3.SpotPriceOrder'
  2724. type: array
  2725. unitname:
  2726. description: 单位名称
  2727. type: string
  2728. warehouseid:
  2729. description: 仓库ID
  2730. type: integer
  2731. warehousename:
  2732. description: 仓库名称
  2733. type: string
  2734. wrstandardid:
  2735. description: 交易标的ID
  2736. type: integer
  2737. wrstandardname:
  2738. description: 交易标的名称
  2739. type: string
  2740. required:
  2741. - deliverygoodsid
  2742. - producttype
  2743. - unitname
  2744. - warehouseid
  2745. - wrstandardid
  2746. - wrstandardname
  2747. type: object
  2748. erms3.SpotPointOrder:
  2749. properties:
  2750. basic:
  2751. description: 基差
  2752. type: number
  2753. deliveryenddate:
  2754. description: 交收结束日期
  2755. type: string
  2756. deliverystartdate:
  2757. description: 交收开始日期
  2758. type: string
  2759. enddate:
  2760. description: 点价结束日期
  2761. type: string
  2762. goodsid:
  2763. description: 商品ID
  2764. type: integer
  2765. goodsname:
  2766. description: 商品名称
  2767. type: string
  2768. qty:
  2769. description: 数量
  2770. type: number
  2771. startdate:
  2772. description: 点价开始日期
  2773. type: string
  2774. required:
  2775. - basic
  2776. - goodsid
  2777. - qty
  2778. type: object
  2779. erms3.SpotPriceOrder:
  2780. properties:
  2781. amount:
  2782. description: 金额
  2783. type: number
  2784. deliveryenddate:
  2785. description: 交收结束日期
  2786. type: string
  2787. deliverystartdate:
  2788. description: 交收开始日期
  2789. type: string
  2790. price:
  2791. description: 价格
  2792. type: number
  2793. qty:
  2794. description: 数量
  2795. type: number
  2796. required:
  2797. - amount
  2798. - price
  2799. - qty
  2800. type: object
  2801. hsby.GetHsbyMyCountRsp:
  2802. properties:
  2803. myCouponCount:
  2804. description: 我的优惠卷数量
  2805. type: integer
  2806. myOrderDetailListingCount:
  2807. description: 我的订单求购中数量
  2808. type: integer
  2809. myOrderDetailPreCount:
  2810. description: 我的订单抢购中数量
  2811. type: integer
  2812. myPackageUnReceiveCount:
  2813. description: 我的包裹待收货数量
  2814. type: integer
  2815. myPackageUnSendCount:
  2816. description: 我的包裹待发货数量
  2817. type: integer
  2818. myPayOrderCount:
  2819. description: 我的订单待付款数量
  2820. type: integer
  2821. type: object
  2822. hsby.QueryProvincesAndCitiesRsp:
  2823. properties:
  2824. cities:
  2825. description: 市
  2826. items:
  2827. $ref: '#/definitions/models.Division'
  2828. type: array
  2829. province:
  2830. $ref: '#/definitions/models.Division'
  2831. description: 省
  2832. type: object
  2833. type: object
  2834. models.AreaSpotModel:
  2835. properties:
  2836. areauserid:
  2837. description: 所属机构
  2838. type: integer
  2839. decreaseqty:
  2840. description: 减少数量=-(销售已定价数量+采购计划数量)
  2841. type: number
  2842. increaseqty:
  2843. description: 增加数量=销售计划数量+采购已定价数量
  2844. type: number
  2845. oritoalspotqty:
  2846. description: 昨日数量
  2847. type: number
  2848. totalspotqty:
  2849. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2850. type: number
  2851. updatetime:
  2852. description: 更新时间
  2853. type: string
  2854. wrstandardcode:
  2855. description: 现货品种代码
  2856. type: string
  2857. wrstandardid:
  2858. description: 现货商品ID
  2859. type: integer
  2860. wrstandardname:
  2861. description: 现货品种
  2862. type: string
  2863. type: object
  2864. models.Clientfixedadconfig:
  2865. properties:
  2866. adsort:
  2867. description: 排序
  2868. type: integer
  2869. adtype:
  2870. description: 广告位类型 - 1:新品抢购(HSBY)
  2871. type: integer
  2872. areauserid:
  2873. description: 所属机构ID
  2874. type: integer
  2875. createdate:
  2876. description: 创建时间
  2877. type: string
  2878. creatorid:
  2879. description: 创建人
  2880. type: integer
  2881. imagepath:
  2882. description: 图片
  2883. type: string
  2884. isshow:
  2885. description: 是否展示 - 0:不展示 1:展示
  2886. type: integer
  2887. modifierid:
  2888. description: 操作人
  2889. type: integer
  2890. recsize:
  2891. description: 推荐尺寸
  2892. type: string
  2893. title:
  2894. description: 标题
  2895. type: string
  2896. updatedate:
  2897. description: 更新时间
  2898. type: string
  2899. urlcontent:
  2900. description: 链接(地址或商品ID)
  2901. type: string
  2902. urltype:
  2903. description: 链接类型 - 1:直接地址 2:商品ID
  2904. type: integer
  2905. required:
  2906. - adsort
  2907. - adtype
  2908. type: object
  2909. models.Division:
  2910. properties:
  2911. autoid:
  2912. description: 自增ID
  2913. type: integer
  2914. divisioncode:
  2915. description: 行政代码
  2916. type: string
  2917. divisionlevel:
  2918. description: 行政级别
  2919. type: string
  2920. divisionname:
  2921. description: 行政名称
  2922. type: string
  2923. modifierid:
  2924. description: 修改人
  2925. type: integer
  2926. modifytime:
  2927. description: 修改时间
  2928. type: string
  2929. parentcode:
  2930. description: 上级行政代码
  2931. type: string
  2932. pathname:
  2933. description: 路径名称
  2934. type: string
  2935. postcode:
  2936. description: 邮政编码
  2937. type: string
  2938. separablename:
  2939. description: 可拆分的全称
  2940. type: string
  2941. shortcode:
  2942. description: 地区简码
  2943. type: string
  2944. required:
  2945. - autoid
  2946. - divisioncode
  2947. type: object
  2948. models.Enumdicitem:
  2949. properties:
  2950. autoid:
  2951. description: 自增ID
  2952. type: integer
  2953. bankmappedvalue:
  2954. description: 银行服务对应值
  2955. type: string
  2956. enumdiccode:
  2957. description: 所属枚举代码
  2958. type: string
  2959. enumdicid:
  2960. description: 所属枚举ID
  2961. type: integer
  2962. enumdicname:
  2963. description: 枚举项名称
  2964. type: string
  2965. enumitemname:
  2966. description: 枚举项值
  2967. type: integer
  2968. enumitemstatus:
  2969. description: 枚举项状态 - 1.启用 2.不启用
  2970. type: integer
  2971. enumitemvalue:
  2972. description: 通用值 - [币种通用简写]
  2973. type: string
  2974. param1:
  2975. description: 参数1[币种:币种小数位]
  2976. type: string
  2977. param2:
  2978. description: 参数1[币种:币种显示单位]
  2979. type: string
  2980. remark:
  2981. description: 备注
  2982. type: string
  2983. required:
  2984. - autoid
  2985. - enumdiccode
  2986. - enumdicid
  2987. - enumitemname
  2988. type: object
  2989. models.ErmcpAreaSpotDetailModel:
  2990. properties:
  2991. contracttype:
  2992. description: 合同类型 1-采购 -1-销售
  2993. type: integer
  2994. createtime:
  2995. description: 创建时间
  2996. type: string
  2997. enumdicname:
  2998. description: 现货商品单位名称
  2999. type: string
  3000. logtype:
  3001. description: 记录类型 1-套保 2-现货合同
  3002. type: integer
  3003. qty:
  3004. description: 数量
  3005. type: number
  3006. recordname:
  3007. description: 类型名称
  3008. type: string
  3009. relatedid:
  3010. description: 套保计划ID/现货合同ID
  3011. type: string
  3012. relatedno:
  3013. description: 编号
  3014. type: string
  3015. strtime:
  3016. description: 时间
  3017. type: string
  3018. wrstandardcode:
  3019. description: 现货商品代码
  3020. type: string
  3021. wrstandardname:
  3022. description: 现货商品名称
  3023. type: string
  3024. type: object
  3025. models.ErmcpAreaStock:
  3026. properties:
  3027. brandname:
  3028. description: 品牌名称
  3029. type: string
  3030. curstock:
  3031. description: 期末库存量(今日量)
  3032. type: number
  3033. deliverygoodsid:
  3034. description: 现货品种ID
  3035. type: integer
  3036. enumdicname:
  3037. description: 单位名称
  3038. type: string
  3039. modelname:
  3040. description: 型号名称
  3041. type: string
  3042. oristock:
  3043. description: 期初库存量(昨日量)
  3044. type: number
  3045. spotgoodsbrandid:
  3046. description: 现货品牌ID
  3047. type: integer
  3048. spotgoodsmodelid:
  3049. description: 现货型号ID
  3050. type: integer
  3051. todaybuyinqty:
  3052. description: 今日采购入库量
  3053. type: number
  3054. todayproduceinqty:
  3055. description: 今日生产入库量
  3056. type: number
  3057. todayproduceoutqty:
  3058. description: 今日生产出库量
  3059. type: number
  3060. todayselloutqty:
  3061. description: 今日销售出库量
  3062. type: number
  3063. unitid:
  3064. description: 单位id
  3065. type: integer
  3066. updatetime:
  3067. description: 更新时间
  3068. type: string
  3069. userid:
  3070. description: 机构ID
  3071. type: integer
  3072. username:
  3073. description: 机构名称
  3074. type: string
  3075. warehousecode:
  3076. description: 仓库代码
  3077. type: string
  3078. warehouseinfoid:
  3079. description: 仓库ID
  3080. type: string
  3081. warehousename:
  3082. description: 仓库名称
  3083. type: string
  3084. warehousetype:
  3085. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3086. type: integer
  3087. wrstandardcode:
  3088. description: 现货商品代码
  3089. type: string
  3090. wrstandardid:
  3091. description: 现货商品ID
  3092. type: string
  3093. wrstandardname:
  3094. description: 现货商品名称
  3095. type: string
  3096. type: object
  3097. models.ErmcpAreaStockApply:
  3098. properties:
  3099. applyid:
  3100. description: 申请人
  3101. type: integer
  3102. applyname:
  3103. description: 申请人名称
  3104. type: string
  3105. applyremark:
  3106. description: 申请备注
  3107. type: string
  3108. applysrc:
  3109. description: 申请来源 - 1:管理端 2:终端
  3110. type: integer
  3111. applystatus:
  3112. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3113. type: integer
  3114. applytime:
  3115. description: 申请时间
  3116. type: string
  3117. auditid:
  3118. description: 审核人
  3119. type: integer
  3120. auditname:
  3121. description: 审核人名称
  3122. type: string
  3123. auditremark:
  3124. description: 审核备注
  3125. type: string
  3126. auditsrc:
  3127. description: 审核来源 - 1:管理端 2:终端
  3128. type: integer
  3129. audittime:
  3130. description: 审核时间
  3131. type: string
  3132. audittradedate:
  3133. description: 审核交易日(yyyyMMdd)
  3134. type: string
  3135. brandname:
  3136. description: 品牌名称
  3137. type: string
  3138. buyuserid:
  3139. description: 采购方userid
  3140. type: integer
  3141. buyusername:
  3142. description: 采购方名称
  3143. type: string
  3144. contractno:
  3145. description: 合同编号
  3146. type: string
  3147. contractqty:
  3148. description: 合同量
  3149. type: number
  3150. contracttype:
  3151. description: 现货合同类型 - 1:采购 -1:销售
  3152. type: integer
  3153. deliverygoodsid:
  3154. description: 现货品种ID
  3155. type: integer
  3156. enumdicname:
  3157. description: 现货商品单位名称
  3158. type: string
  3159. inoutapplyid:
  3160. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3161. type: string
  3162. inouttype:
  3163. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3164. type: integer
  3165. modelname:
  3166. description: 型号名称
  3167. type: string
  3168. pricetype:
  3169. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3170. type: integer
  3171. qty:
  3172. description: 数量
  3173. type: number
  3174. selluserid:
  3175. description: 销售方userid
  3176. type: integer
  3177. sellusername:
  3178. description: 销售方名称
  3179. type: string
  3180. spotcontractid:
  3181. description: 关联现货合同ID
  3182. type: string
  3183. spotgoodsbrandid:
  3184. description: 现货品牌ID
  3185. type: integer
  3186. spotgoodsmodelid:
  3187. description: 现货型号ID
  3188. type: integer
  3189. unitid:
  3190. description: 单位id
  3191. type: integer
  3192. userid:
  3193. description: 机构ID
  3194. type: string
  3195. warehousecode:
  3196. description: 仓库代码
  3197. type: string
  3198. warehouseinfoid:
  3199. description: 现货仓库ID
  3200. type: string
  3201. warehousename:
  3202. description: 仓库名称
  3203. type: string
  3204. warehousetype:
  3205. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3206. type: integer
  3207. wrstandardcode:
  3208. description: 现货商品代码
  3209. type: string
  3210. wrstandardid:
  3211. description: 现货商品ID
  3212. type: string
  3213. wrstandardname:
  3214. description: 现货商品名称
  3215. type: string
  3216. type: object
  3217. models.ErmcpAreaStockApplySum:
  3218. properties:
  3219. brandname:
  3220. description: 品牌名称
  3221. type: string
  3222. inouttype:
  3223. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3224. type: integer
  3225. modelname:
  3226. description: 型号名称
  3227. type: string
  3228. spotcontractid:
  3229. description: 关联现货合同ID
  3230. type: string
  3231. spotgoodsbrandid:
  3232. description: 品牌id
  3233. type: integer
  3234. spotgoodsmodelid:
  3235. description: 型号id
  3236. type: integer
  3237. totalqty:
  3238. description: 总数量
  3239. type: number
  3240. type: object
  3241. models.ErmcpAvalidGoodsGroupModel:
  3242. properties:
  3243. goodsgroupid:
  3244. description: 期货品种id
  3245. type: integer
  3246. goodsgroupname:
  3247. description: 期货品种名称
  3248. type: string
  3249. goodunitid:
  3250. description: 品种单位id
  3251. type: integer
  3252. goodunitname:
  3253. description: 品种单位名称
  3254. type: string
  3255. outergroupcode:
  3256. description: 期货品种代码
  3257. type: string
  3258. type: object
  3259. models.ErmcpExposureDetailModel:
  3260. properties:
  3261. areauserid:
  3262. description: 机构ID
  3263. type: integer
  3264. changeQty:
  3265. description: 套保变动量
  3266. type: number
  3267. contracttype:
  3268. description: 现货合同类型 - 1:采购 -1:销售
  3269. type: integer
  3270. convertfactor:
  3271. description: 标仓系数
  3272. type: number
  3273. convertratio:
  3274. description: 套保系数
  3275. type: number
  3276. createtime:
  3277. description: 时间
  3278. type: string
  3279. enumdicname:
  3280. description: 现货商品单位名称
  3281. type: string
  3282. logtype:
  3283. description: 类型 - 1:套保计划 2:现货合同
  3284. type: integer
  3285. middlegoodsId:
  3286. description: 套保商品id
  3287. type: integer
  3288. middlegoodscode:
  3289. description: 套保商品代码
  3290. type: string
  3291. middlegoodsname:
  3292. description: 套保商品名称
  3293. type: string
  3294. qty:
  3295. description: 数量
  3296. type: number
  3297. relateNo:
  3298. description: 现货合同/套保计划编号
  3299. type: string
  3300. wrstandardcode:
  3301. description: 现货商品代码
  3302. type: string
  3303. wrstandardid:
  3304. description: 现货商品ID
  3305. type: integer
  3306. wrstandardname:
  3307. description: 现货商品名称
  3308. type: string
  3309. type: object
  3310. models.ErmcpExposurePostion:
  3311. properties:
  3312. agreeunit:
  3313. description: 合约单位
  3314. type: string
  3315. areauserid:
  3316. description: 所属机构id
  3317. type: integer
  3318. convertratio:
  3319. description: 期货品种系数(折算系数)
  3320. type: number
  3321. curqty:
  3322. description: 当前持仓
  3323. type: integer
  3324. diffhedgeqty:
  3325. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3326. type: number
  3327. diffqty:
  3328. description: 持仓变动量=当前持仓-昨日持仓
  3329. type: integer
  3330. goodscode:
  3331. description: 商品代码
  3332. type: string
  3333. goodsid:
  3334. description: 商品id
  3335. type: integer
  3336. goodsname:
  3337. description: 商品名称
  3338. type: string
  3339. middlegoodsid:
  3340. description: 套保商品id
  3341. type: integer
  3342. ydqty:
  3343. description: 昨日持仓
  3344. type: integer
  3345. type: object
  3346. models.ErmcpGGConvertCfg:
  3347. properties:
  3348. convertratio:
  3349. description: 折算系数
  3350. type: number
  3351. destgoodsgroupid:
  3352. description: 目标品种ID
  3353. type: integer
  3354. dstcode:
  3355. description: 目录品种代码
  3356. type: string
  3357. dstexchangecode:
  3358. description: 目标期货交易所
  3359. type: string
  3360. dstname:
  3361. description: 目标品种名称
  3362. type: string
  3363. dstunitid:
  3364. description: 目标品种单位ID
  3365. type: integer
  3366. dstunitidname:
  3367. description: 目标品种单位名称
  3368. type: string
  3369. modifytime:
  3370. description: 修改时间
  3371. type: string
  3372. srccode:
  3373. description: 源品种代码
  3374. type: string
  3375. srcexchangecode:
  3376. description: 源期货交易所
  3377. type: string
  3378. srcgoodsgroupid:
  3379. description: 源品种ID
  3380. type: integer
  3381. srcname:
  3382. description: 源品种名称
  3383. type: string
  3384. srcunitid:
  3385. description: 源品种单位ID
  3386. type: integer
  3387. srcunitidname:
  3388. description: 源品种单位名称
  3389. type: string
  3390. type: object
  3391. models.ErmcpHedgePlan:
  3392. properties:
  3393. areauserid:
  3394. description: 用户ID
  3395. type: integer
  3396. audittime:
  3397. description: 审核时间
  3398. type: string
  3399. contracttype:
  3400. description: 计划类型 - 1:采购 -1:销售
  3401. type: integer
  3402. convertfactor:
  3403. description: 标仓系数
  3404. type: number
  3405. createtime:
  3406. description: 创建时间
  3407. type: string
  3408. deliverygoodsid:
  3409. description: 现货品种ID
  3410. type: integer
  3411. deliverygoodsname:
  3412. description: 现货品种名称
  3413. type: string
  3414. enumdicname:
  3415. description: 单位名称
  3416. type: string
  3417. hedgeplanid:
  3418. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3419. type: string
  3420. hedgeplanno:
  3421. description: 套保计划编号(名称)
  3422. type: string
  3423. hedgeplanstatus:
  3424. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3425. type: integer
  3426. planqty:
  3427. description: 计划数量
  3428. type: number
  3429. plantime:
  3430. description: 计划时间
  3431. type: string
  3432. producttype:
  3433. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3434. type: integer
  3435. remark:
  3436. description: 备注
  3437. type: string
  3438. spotgoodsdesc:
  3439. description: 商品型号
  3440. type: string
  3441. unitid:
  3442. description: 单位id
  3443. type: integer
  3444. updatetime:
  3445. description: 更新时间
  3446. type: string
  3447. wrstandardid:
  3448. description: 现货商品ID
  3449. type: integer
  3450. wrstandardname:
  3451. description: 现货商品名称
  3452. type: string
  3453. type: object
  3454. models.ErmcpHedgePosition:
  3455. properties:
  3456. accountid:
  3457. description: 资金账号[外部母账户]
  3458. type: integer
  3459. curbuyposition:
  3460. description: 期末买头寸
  3461. type: integer
  3462. cursellposition:
  3463. description: 期末卖头寸
  3464. type: integer
  3465. curtdbuyposition:
  3466. description: 期末今日买头寸
  3467. type: integer
  3468. curtdsellposition:
  3469. description: 期末今日卖头寸
  3470. type: integer
  3471. curydbuyposition:
  3472. description: 期末上日买头寸
  3473. type: integer
  3474. curydsellposition:
  3475. description: 期末上日卖头寸
  3476. type: integer
  3477. decreaseqty:
  3478. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3479. type: integer
  3480. fretdbuyposition:
  3481. description: 冻结今日买头寸
  3482. type: integer
  3483. fretdsellposition:
  3484. description: 冻结今日卖头寸
  3485. type: integer
  3486. freydbuyposition:
  3487. description: 冻结上日买头寸
  3488. type: integer
  3489. freydsellposition:
  3490. description: 冻结上日卖头寸
  3491. type: integer
  3492. goodscode:
  3493. description: 商品代码
  3494. type: string
  3495. goodsid:
  3496. description: 商品id
  3497. type: integer
  3498. goodsname:
  3499. description: 商品名称
  3500. type: string
  3501. hedgeaccountcode:
  3502. description: 对冲账号
  3503. type: string
  3504. hedgegoodsid:
  3505. description: 对冲合约ID
  3506. type: integer
  3507. increaseqty:
  3508. description: 增加数量 = 期末买头寸 - 期初买头寸
  3509. type: integer
  3510. marketid:
  3511. description: 市场ID
  3512. type: integer
  3513. relateduserid:
  3514. description: 关联用户id
  3515. type: integer
  3516. totalcurqty:
  3517. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3518. type: integer
  3519. totalydqty:
  3520. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3521. type: integer
  3522. tradedate:
  3523. description: 交易日(yyyyMMdd)
  3524. type: string
  3525. ydbuyposition:
  3526. description: 期初买头寸
  3527. type: integer
  3528. ydsellposition:
  3529. description: 期初卖头寸
  3530. type: integer
  3531. type: object
  3532. models.ErmcpHedgePositionDetail:
  3533. properties:
  3534. buyorsell:
  3535. description: 买卖方向 0-买 1-卖
  3536. type: integer
  3537. channelbuildtype:
  3538. description: 开平方向 1-建仓 2-平仓
  3539. type: integer
  3540. goodscode:
  3541. description: 商品代码
  3542. type: string
  3543. goodsname:
  3544. description: 商品名称
  3545. type: string
  3546. hedgegoodsid:
  3547. description: 商品id
  3548. type: integer
  3549. tradeqty:
  3550. description: 数量(成交数量)
  3551. type: integer
  3552. tradetime:
  3553. description: 时间(成交时间)
  3554. type: string
  3555. type: object
  3556. models.ErmcpHisExposure:
  3557. properties:
  3558. needhedgeexposoure:
  3559. description: 应套保敞口
  3560. type: number
  3561. reckondate:
  3562. description: 日照时期(yyyyMMdd)
  3563. type: string
  3564. totalexposure:
  3565. description: 总敞口
  3566. type: number
  3567. type: object
  3568. models.ErmcpHisExposureS:
  3569. properties:
  3570. data:
  3571. description: 历史敞口
  3572. items:
  3573. $ref: '#/definitions/models.ErmcpHisExposure'
  3574. type: array
  3575. enumdicname:
  3576. description: 单位名称
  3577. type: string
  3578. middlegoodscode:
  3579. description: 套保品种代码
  3580. type: string
  3581. middlegoodsid:
  3582. description: 套保品种ID
  3583. type: integer
  3584. middlegoodsname:
  3585. description: 套保品种名称
  3586. type: string
  3587. type: object
  3588. models.ErmcpMiddleGoodsChangeLog:
  3589. properties:
  3590. aftervalue:
  3591. description: 变更后
  3592. type: number
  3593. applyid:
  3594. description: 操作人
  3595. type: integer
  3596. applyname:
  3597. description: 操作人名称
  3598. type: string
  3599. applysrc:
  3600. description: 操作来源 - 1:管理端 2:终端
  3601. type: integer
  3602. beforevalue:
  3603. description: 变更前
  3604. type: number
  3605. changelogtype:
  3606. description: 变更流水类型 - 1:套保比率变更
  3607. type: integer
  3608. handlestatus:
  3609. description: 处理状态
  3610. type: integer
  3611. logdatetime:
  3612. description: 流水日期
  3613. type: string
  3614. logid:
  3615. description: 流水ID
  3616. type: integer
  3617. logremark:
  3618. description: 流水备注
  3619. type: string
  3620. middlegoodsid:
  3621. description: 套保品种ID
  3622. type: integer
  3623. tradedate:
  3624. description: 交易日(yyyyMMdd)
  3625. type: string
  3626. updatetime:
  3627. description: 更新时间
  3628. type: string
  3629. type: object
  3630. models.ErmcpMiddleGoodsDetail:
  3631. properties:
  3632. cvList:
  3633. description: 期货品种折算列表
  3634. items:
  3635. $ref: '#/definitions/models.GoodsGroupConvert'
  3636. type: array
  3637. mg:
  3638. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3639. description: 套保品种基本信息
  3640. type: object
  3641. type: object
  3642. models.ErmcpMiddleGoodsModel:
  3643. properties:
  3644. areauserid:
  3645. description: 机构用户ID
  3646. type: integer
  3647. createtime:
  3648. description: 修改时间
  3649. type: string
  3650. enumdicname:
  3651. description: 单位名称
  3652. type: string
  3653. evaluateratio:
  3654. description: 估价系数
  3655. type: number
  3656. goodsgroupid:
  3657. description: 关联期货品种ID
  3658. type: integer
  3659. isvalid:
  3660. description: 状态 0-无效(停用) 1-有效(正常)
  3661. type: integer
  3662. middlegoodscode:
  3663. description: 套保品种代码
  3664. type: string
  3665. middlegoodsid:
  3666. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3667. type: integer
  3668. middlegoodsname:
  3669. description: 套保品种名称
  3670. type: string
  3671. modifytime:
  3672. description: 修改时间
  3673. type: string
  3674. needhedgeratio:
  3675. description: 套保比率
  3676. type: number
  3677. qtydecimalplace:
  3678. description: 数量小数位
  3679. type: integer
  3680. relatedgoodsid:
  3681. description: 关联交易商品ID
  3682. type: integer
  3683. relatedgoodstype:
  3684. description: 关联商品类型 - 1:期货合约 2:现货品种
  3685. type: integer
  3686. type: object
  3687. models.ErmcpModel:
  3688. properties:
  3689. accountname:
  3690. description: 账户名称
  3691. type: string
  3692. attachment:
  3693. description: 附件
  3694. type: string
  3695. audittime:
  3696. description: 审核时间
  3697. type: string
  3698. contracctstatus:
  3699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3700. type: integer
  3701. contractmargin:
  3702. description: 合同保证金
  3703. type: number
  3704. contractno:
  3705. description: 合同编号
  3706. type: string
  3707. contracttype:
  3708. description: 合同类型 1-采购, -1-销售
  3709. type: integer
  3710. convertfactor:
  3711. description: 标仓系数
  3712. type: number
  3713. createtime:
  3714. description: 创建时间
  3715. type: string
  3716. daikaiamount:
  3717. description: 待开票额
  3718. type: number
  3719. deliveryenddate:
  3720. description: 交割结束日
  3721. type: string
  3722. deliverygoodscode:
  3723. description: 现货商品代码
  3724. type: string
  3725. deliverygoodsid:
  3726. description: 现货商品ID
  3727. type: integer
  3728. deliverygoodsname:
  3729. description: 现货商品名称
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交割开始日
  3733. type: string
  3734. enddate:
  3735. description: 点价结束日
  3736. type: string
  3737. enumdicname:
  3738. description: 单位名称
  3739. type: string
  3740. goodscode:
  3741. description: 点价商品代码
  3742. type: string
  3743. goodsid:
  3744. description: 点价商品ID
  3745. type: integer
  3746. goodsname:
  3747. description: 点价商品名称
  3748. type: string
  3749. invoiceamount:
  3750. description: 已开票额
  3751. type: number
  3752. loanamount:
  3753. description: 贷款总额=已定价额+调整金额
  3754. type: number
  3755. margin:
  3756. description: 保证金
  3757. type: number
  3758. payamount:
  3759. description: 已收付额(收款或付款)
  3760. type: number
  3761. price:
  3762. description: 价格
  3763. type: number
  3764. pricedamount:
  3765. description: 已定价额
  3766. type: number
  3767. pricedavg:
  3768. description: 已点均价
  3769. type: number
  3770. pricedqty:
  3771. description: 已定价量
  3772. type: number
  3773. pricemove:
  3774. description: 升贴水
  3775. type: number
  3776. pricetype:
  3777. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3778. type: integer
  3779. producttype:
  3780. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3781. type: integer
  3782. qty:
  3783. description: 合同量
  3784. type: number
  3785. reckonadjustamount:
  3786. description: 调整金额
  3787. type: number
  3788. reckonedamount:
  3789. description: 已收付额(已确定额)
  3790. type: number
  3791. reckonotheramount:
  3792. description: 其它费用
  3793. type: number
  3794. reckonrealqty:
  3795. description: 已确定量
  3796. type: number
  3797. remark:
  3798. description: 备注
  3799. type: string
  3800. spotcontractid:
  3801. description: 合同ID
  3802. type: string
  3803. spotgoodsdesc:
  3804. description: 商品型号(商品规格)
  3805. type: string
  3806. startdate:
  3807. description: 点价开始日
  3808. type: string
  3809. totalamount:
  3810. description: 合计总额
  3811. type: number
  3812. unpayamount:
  3813. description: 待支收额(支付或收款)
  3814. type: number
  3815. unpricedqty:
  3816. description: 未定价量
  3817. type: number
  3818. unsureqty:
  3819. description: 未确定量
  3820. type: number
  3821. userid:
  3822. description: 用户ID
  3823. type: integer
  3824. type: object
  3825. models.ErmcpOPLogModel:
  3826. properties:
  3827. aftervalue:
  3828. description: 变更后
  3829. type: number
  3830. applyid:
  3831. description: 操作人ID
  3832. type: string
  3833. applyname:
  3834. description: 操作人名称
  3835. type: string
  3836. beforevalue:
  3837. description: 变更前
  3838. type: number
  3839. biztype:
  3840. description: 业务类型 - 1:套保计划 2:现货合同
  3841. type: integer
  3842. contracttype:
  3843. description: 现货合同类型 - 1:采购 -1:销售
  3844. type: integer
  3845. logvalue:
  3846. description: 数值
  3847. type: number
  3848. operatelogtype:
  3849. description: 操作流水类型
  3850. type: integer
  3851. operatelogtypedesc:
  3852. description: 操作流水类型名称
  3853. type: string
  3854. relatedid:
  3855. description: 现货合同ID\套保计划
  3856. type: string
  3857. updatetime:
  3858. description: 更新时间
  3859. type: string
  3860. type: object
  3861. models.ErmcpPendingAudit:
  3862. properties:
  3863. businessdjqty:
  3864. description: '待审核数量: 点价'
  3865. type: integer
  3866. businessfpqty:
  3867. description: '待审核数量: 发票'
  3868. type: integer
  3869. businessjsqty:
  3870. description: '待审核数量: 结算'
  3871. type: integer
  3872. businesskxqty:
  3873. description: '待审核数量: 款项'
  3874. type: integer
  3875. hedgeplanqty:
  3876. description: '待审核数量: 套保计划'
  3877. type: integer
  3878. spotcontractqty:
  3879. description: '待审核数量: 现货合同'
  3880. type: integer
  3881. userqty:
  3882. description: '待审核数量: 用户'
  3883. type: integer
  3884. type: object
  3885. models.ErmcpRealExposureModel:
  3886. properties:
  3887. areaUserID:
  3888. description: 所属机构
  3889. type: integer
  3890. buyFutureQty:
  3891. description: 买入期货数量
  3892. type: number
  3893. buyPlanQty:
  3894. description: 采购计划数量
  3895. type: number
  3896. buyPricedQty:
  3897. description: 采购合同已定价数量
  3898. type: number
  3899. diffFutuQty:
  3900. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3901. type: number
  3902. diffSpotQty:
  3903. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3904. type: number
  3905. enumdicname:
  3906. description: 单位名称
  3907. type: string
  3908. middleGoodsCode:
  3909. description: 套保品种代码
  3910. type: string
  3911. middleGoodsHedgeRatio:
  3912. description: 应套保比例
  3913. type: number
  3914. middleGoodsID:
  3915. description: 套保品种
  3916. type: integer
  3917. middleGoodsName:
  3918. description: 套保品种名称
  3919. type: string
  3920. needHedgeExposoure:
  3921. description: 应套保敞口
  3922. type: number
  3923. needHedgeRatio:
  3924. description: 应套保敞口比例
  3925. type: number
  3926. oriBuyFutureQty:
  3927. description: 期初买入期货数量
  3928. type: number
  3929. oriBuyPlanQty:
  3930. description: 期初采购计划数量
  3931. type: number
  3932. oriBuyPricedQty:
  3933. description: 期初采购合同已定价数量
  3934. type: number
  3935. oriSellFutureQty:
  3936. description: 期初卖出期货数量
  3937. type: number
  3938. oriSellPlanQty:
  3939. description: 期初销售计划数量
  3940. type: number
  3941. oriSellPricedQty:
  3942. description: 期初销售合同已定价数量
  3943. type: number
  3944. oriTotalFutuQty:
  3945. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3946. type: number
  3947. oriTotalSpotQty:
  3948. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3949. type: number
  3950. sellFutureQty:
  3951. description: 卖出期货数量
  3952. type: number
  3953. sellPlanQty:
  3954. description: 销售计划数量
  3955. type: number
  3956. sellPricedQty:
  3957. description: 销售合同已定价数量
  3958. type: number
  3959. totalExposure:
  3960. description: 总敞口
  3961. type: number
  3962. totalFutureQty:
  3963. description: 期货数量
  3964. type: number
  3965. totalHedgeRatio:
  3966. description: 敞口比例
  3967. type: number
  3968. totalNeedHedgeQty:
  3969. description: 期货应套保量
  3970. type: number
  3971. totalSpotQty:
  3972. description: 现货数量
  3973. type: number
  3974. type: object
  3975. models.ErmcpReportDayExposure:
  3976. properties:
  3977. areauserid:
  3978. description: 所属机构
  3979. type: integer
  3980. buyfutureqty:
  3981. description: 买入期货数量
  3982. type: number
  3983. buyplanqty:
  3984. description: 采购计划数量
  3985. type: number
  3986. buypricedqty:
  3987. description: 采购合同已定价数量
  3988. type: number
  3989. diffFutuQty:
  3990. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3991. type: number
  3992. diffSpotQty:
  3993. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3994. type: number
  3995. enumdicname:
  3996. description: 单位名称
  3997. type: string
  3998. middlegoodscode:
  3999. description: 套保品种代码
  4000. type: string
  4001. middlegoodshedgeratio:
  4002. description: 应套保比例
  4003. type: number
  4004. middlegoodsid:
  4005. description: 套保品种ID
  4006. type: integer
  4007. middlegoodsname:
  4008. description: 套保品种名称
  4009. type: string
  4010. needhedgeexposoure:
  4011. description: 应套保敞口
  4012. type: number
  4013. needhedgeratio:
  4014. description: 应套保敞口比例
  4015. type: number
  4016. oriTotalFutuQty:
  4017. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4018. type: number
  4019. oriTotalSpotQty:
  4020. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4021. type: number
  4022. oribuyfutureqty:
  4023. description: 期初买入期货数量
  4024. type: number
  4025. oribuyplanqty:
  4026. description: 期初采购计划数量
  4027. type: number
  4028. oribuypricedqty:
  4029. description: 期初采购合同已定价数量
  4030. type: number
  4031. orisellfutureqty:
  4032. description: 期初卖出期货数量
  4033. type: number
  4034. orisellplanqty:
  4035. description: 期初销售计划数量
  4036. type: number
  4037. orisellpricedqty:
  4038. description: 期初销售合同已定价数量
  4039. type: number
  4040. reckondate:
  4041. description: 日照时期(yyyyMMdd)
  4042. type: string
  4043. sellfutureqty:
  4044. description: 卖出期货数量
  4045. type: number
  4046. sellplanqty:
  4047. description: 销售计划数量
  4048. type: number
  4049. sellpricedqty:
  4050. description: 销售合同已定价数量
  4051. type: number
  4052. totalexposure:
  4053. description: 总敞口
  4054. type: number
  4055. totalfutureqty:
  4056. description: 期货数量
  4057. type: number
  4058. totalhedgeratio:
  4059. description: 敞口比例
  4060. type: number
  4061. totalneedhedgeqty:
  4062. description: 期货应套保量
  4063. type: number
  4064. totalspotqty:
  4065. description: 现货数量
  4066. type: number
  4067. type: object
  4068. models.ErmcpReportDayFR:
  4069. properties:
  4070. areauserid:
  4071. description: 所属机构
  4072. type: integer
  4073. collectinvoiceamount:
  4074. description: 今日开票金额
  4075. type: number
  4076. collectinvoicecount:
  4077. description: 今日开票笔数
  4078. type: integer
  4079. collectmoneyamount:
  4080. description: 今日收款金额
  4081. type: number
  4082. collectmoneycount:
  4083. description: 今日收款笔数
  4084. type: integer
  4085. payinvoiceamount:
  4086. description: 今日收票金额
  4087. type: number
  4088. payinvoicecount:
  4089. description: 今日收票笔数
  4090. type: integer
  4091. paymoneyamount:
  4092. description: 今日付款金额
  4093. type: number
  4094. paymoneycount:
  4095. description: 今日付款笔数
  4096. type: integer
  4097. reckondate:
  4098. description: 日照时期(yyyyMMdd)
  4099. type: string
  4100. updatetime:
  4101. description: 更新时间
  4102. type: string
  4103. type: object
  4104. models.ErmcpReportDaySpot:
  4105. properties:
  4106. areauserid:
  4107. description: 所属机构T
  4108. type: integer
  4109. enumdicname:
  4110. description: 现货商品单位名称
  4111. type: string
  4112. reckondate:
  4113. description: 日照时期(yyyyMMdd)
  4114. type: string
  4115. todaybuyreckonqty:
  4116. description: 采购确定量
  4117. type: number
  4118. todaysellreckonqty:
  4119. description: 销售确定量
  4120. type: number
  4121. totalbuypricedqty:
  4122. description: 采购定价量 = 期末 - 期初
  4123. type: number
  4124. totalsellpricedqty:
  4125. description: 销售定价量 = 期末 - 期初
  4126. type: number
  4127. wrstandardcode:
  4128. description: 现货商品代码
  4129. type: string
  4130. wrstandardid:
  4131. description: 现货商品ID
  4132. type: integer
  4133. wrstandardname:
  4134. description: 现货商品名称
  4135. type: string
  4136. type: object
  4137. models.ErmcpReportMonSpot:
  4138. properties:
  4139. areauserid:
  4140. description: 所属机构T
  4141. type: integer
  4142. cycletime:
  4143. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4144. type: string
  4145. cycletype:
  4146. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4147. type: integer
  4148. enumdicname:
  4149. description: 现货商品单位名称
  4150. type: string
  4151. todaybuyreckonqty:
  4152. description: 采购确定量
  4153. type: number
  4154. todaysellreckonqty:
  4155. description: 销售确定量
  4156. type: number
  4157. totalbuypricedqty:
  4158. description: 采购定价量 = 期末 - 期初
  4159. type: number
  4160. totalsellpricedqty:
  4161. description: 销售定价量 = 期末 - 期初
  4162. type: number
  4163. wrstandardcode:
  4164. description: 现货商品代码
  4165. type: string
  4166. wrstandardid:
  4167. description: 现货商品ID
  4168. type: integer
  4169. wrstandardname:
  4170. description: 现货商品名称
  4171. type: string
  4172. type: object
  4173. models.ErmcpReportMonthFR:
  4174. properties:
  4175. areauserid:
  4176. description: 所属机构【原值】
  4177. type: integer
  4178. collectinvoiceamount:
  4179. description: 今日开票金额【汇总】
  4180. type: number
  4181. collectinvoicecount:
  4182. description: 今日开票笔数【汇总】
  4183. type: integer
  4184. collectmoneyamount:
  4185. description: 今日收款金额【汇总】
  4186. type: number
  4187. collectmoneycount:
  4188. description: 今日收款笔数 【汇总】
  4189. type: integer
  4190. cycletime:
  4191. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4192. type: string
  4193. cycletype:
  4194. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4195. type: integer
  4196. dayFr:
  4197. description: 日报表明细
  4198. items:
  4199. $ref: '#/definitions/models.ErmcpReportDayFR'
  4200. type: array
  4201. payinvoiceamount:
  4202. description: 今日收票金额【汇总】
  4203. type: number
  4204. payinvoicecount:
  4205. description: 今日收票笔数【汇总】
  4206. type: integer
  4207. paymoneyamount:
  4208. description: 今日付款金额【汇总】
  4209. type: number
  4210. paymoneycount:
  4211. description: 今日付款笔数【汇总】
  4212. type: integer
  4213. updatetime:
  4214. description: 更新时间
  4215. type: string
  4216. type: object
  4217. models.ErmcpReportOPLog:
  4218. properties:
  4219. applyid:
  4220. description: 操作人
  4221. type: integer
  4222. applyname:
  4223. description: 操作人名称
  4224. type: string
  4225. biztype:
  4226. description: 业务类型 - 1:套保计划 2:现货合同
  4227. type: integer
  4228. contracttype:
  4229. description: 现货合同类型 - 1:采购 -1:销售
  4230. type: integer
  4231. enumdicName:
  4232. description: 单位名称
  4233. type: string
  4234. logdatetime:
  4235. description: 流水日期(时间)
  4236. type: string
  4237. logid:
  4238. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4239. type: string
  4240. logtypename:
  4241. description: 合同类型(名称)
  4242. type: string
  4243. logvalue:
  4244. description: 数值
  4245. type: string
  4246. operatelogtype:
  4247. description: 操作流水类型 -
  4248. type: integer
  4249. optypename:
  4250. description: 流水类型名称
  4251. type: string
  4252. relatedid:
  4253. description: 现货合同ID\套保计划
  4254. type: string
  4255. relatedno:
  4256. description: 合同编号
  4257. type: string
  4258. tradedate:
  4259. description: 交易日(yyyyMMdd)
  4260. type: string
  4261. userid:
  4262. description: 机构ID
  4263. type: integer
  4264. wrstandardcode:
  4265. description: 现货商品代码
  4266. type: string
  4267. wrstandardid:
  4268. description: 现货商品ID
  4269. type: integer
  4270. wrstandardname:
  4271. description: 现货商品名称
  4272. type: string
  4273. type: object
  4274. models.ErmcpSpotContractModel:
  4275. properties:
  4276. amount:
  4277. description: 金额 [1:一口价、3:暂定价]
  4278. type: number
  4279. attachment:
  4280. description: 附件
  4281. type: string
  4282. auditremark:
  4283. description: 审核意见
  4284. type: string
  4285. audittime:
  4286. description: 审核时间
  4287. type: string
  4288. brandname:
  4289. description: 品牌名称
  4290. type: string
  4291. buyuserid:
  4292. description: 采购方ID
  4293. type: integer
  4294. buyusername:
  4295. description: 采购方名称
  4296. type: string
  4297. contracctstatus:
  4298. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4299. type: integer
  4300. contractmargin:
  4301. description: 合同保证金
  4302. type: number
  4303. contractno:
  4304. description: 现货合同编号
  4305. type: string
  4306. contracttype:
  4307. description: 现货合同类型 - 1:采购 -1:销售
  4308. type: integer
  4309. convertfactor:
  4310. description: 标仓系数
  4311. type: number
  4312. createtime:
  4313. description: 创建时间
  4314. type: string
  4315. deliveryenddate:
  4316. description: 交收期(结束)
  4317. type: string
  4318. deliverygoodscode:
  4319. description: 现货品种代码
  4320. type: string
  4321. deliverygoodsid:
  4322. description: 现货品种ID
  4323. type: integer
  4324. deliverygoodsname:
  4325. description: 现货品种名称
  4326. type: string
  4327. deliverystartdate:
  4328. description: 交收期(开始)
  4329. type: string
  4330. enddate:
  4331. description: 点价结束日期 [2:点价 3:暂定价]
  4332. type: string
  4333. enumdicname:
  4334. description: 单位名称
  4335. type: string
  4336. goodscode:
  4337. description: 点价合约代码
  4338. type: string
  4339. goodsid:
  4340. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4341. type: integer
  4342. goodsname:
  4343. description: 点价商品名称
  4344. type: string
  4345. margin:
  4346. description: 当前保证金
  4347. type: number
  4348. modelname:
  4349. description: 型号名称
  4350. type: string
  4351. price:
  4352. description: 价格\暂定价 [1:一口价、3:暂定价]
  4353. type: number
  4354. pricemove:
  4355. description: 升贴水 [2:点价 3:暂定价]
  4356. type: number
  4357. pricetype:
  4358. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4359. type: integer
  4360. producttype:
  4361. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4362. type: integer
  4363. qty:
  4364. description: 数量
  4365. type: number
  4366. remark:
  4367. description: 备注
  4368. type: string
  4369. selluserid:
  4370. description: 销售方ID
  4371. type: integer
  4372. sellusername:
  4373. description: 销售方名称
  4374. type: string
  4375. spotcontractid:
  4376. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4377. type: string
  4378. spotgoodsbrandid:
  4379. description: 现货品牌ID
  4380. type: integer
  4381. spotgoodsdesc:
  4382. description: 商品型号
  4383. type: string
  4384. spotgoodsmodelid:
  4385. description: 现货型号ID
  4386. type: integer
  4387. startdate:
  4388. description: 点价开始日期 [2:点价 3:暂定价]
  4389. type: string
  4390. updatetime:
  4391. description: 更新时间
  4392. type: string
  4393. userid:
  4394. description: 机构ID
  4395. type: integer
  4396. wrstandardid:
  4397. description: 现货商品ID
  4398. type: integer
  4399. type: object
  4400. models.ErmcpUserModel:
  4401. properties:
  4402. address:
  4403. description: 通讯地址
  4404. type: string
  4405. attachment1:
  4406. description: 附件1
  4407. type: string
  4408. audittime:
  4409. description: 审核时间
  4410. type: string
  4411. cardfrontphotourl:
  4412. description: 证件正面图片地址
  4413. type: string
  4414. cardnum:
  4415. description: 证件号码
  4416. type: string
  4417. cardtype:
  4418. description: 证件类型
  4419. type: integer
  4420. cardtypename:
  4421. description: 证件类型名称
  4422. type: string
  4423. cityid:
  4424. description: 市
  4425. type: integer
  4426. countryid:
  4427. description: 国家
  4428. type: integer
  4429. createtime:
  4430. description: 创建时间
  4431. type: string
  4432. customername:
  4433. description: 企业名称
  4434. type: string
  4435. memberuserid:
  4436. description: 所属机构ID
  4437. type: integer
  4438. mobile:
  4439. description: 手机号码
  4440. type: string
  4441. modifytime:
  4442. description: 修改时间
  4443. type: string
  4444. provinceid:
  4445. description: 省
  4446. type: integer
  4447. remark:
  4448. description: 备注
  4449. type: string
  4450. status:
  4451. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4452. type: integer
  4453. statusdesc:
  4454. description: 账户状态中文描述
  4455. type: string
  4456. telphone:
  4457. description: 联系电话
  4458. type: string
  4459. userid:
  4460. description: 用户ID
  4461. type: integer
  4462. userinfotype:
  4463. description: 客户类型
  4464. type: string
  4465. type: object
  4466. models.ErmcpWareHouseInfo:
  4467. properties:
  4468. address:
  4469. description: 详细地址
  4470. type: string
  4471. areauserid:
  4472. description: 所属机构
  4473. type: integer
  4474. autoid:
  4475. description: 自增ID(仓库ID)
  4476. type: integer
  4477. cityid:
  4478. description: 市
  4479. type: integer
  4480. contactname:
  4481. description: 联系人
  4482. type: string
  4483. contactnum:
  4484. description: 联系电话
  4485. type: string
  4486. countryid:
  4487. description: 国家
  4488. type: integer
  4489. createtime:
  4490. description: 创建时间
  4491. type: string
  4492. districtid:
  4493. description: 区
  4494. type: integer
  4495. hasvideo:
  4496. description: 是否有视频 - 0:无 1:有
  4497. type: integer
  4498. provinceid:
  4499. description: 省
  4500. type: integer
  4501. remark:
  4502. description: 审核备注
  4503. type: string
  4504. videourl:
  4505. description: 视频地址
  4506. type: string
  4507. warehousecode:
  4508. description: 仓库代码
  4509. type: string
  4510. warehousename:
  4511. description: 仓库名称
  4512. type: string
  4513. warehousestatus:
  4514. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4515. type: integer
  4516. warehousetype:
  4517. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4518. type: integer
  4519. type: object
  4520. models.ErmcpWrstandDetail:
  4521. properties:
  4522. gbList:
  4523. description: 品牌列表
  4524. items:
  4525. $ref: '#/definitions/models.GoodsBrand'
  4526. type: array
  4527. goodsList:
  4528. description: 关联交易商品列表
  4529. items:
  4530. $ref: '#/definitions/models.RelatedGoodsEx'
  4531. type: array
  4532. gtList:
  4533. description: 型号列表
  4534. items:
  4535. $ref: '#/definitions/models.GoodsTypeModel'
  4536. type: array
  4537. wrd:
  4538. $ref: '#/definitions/models.ErmcpWrstandard'
  4539. description: 基本信息
  4540. type: object
  4541. wrsList:
  4542. description: 套保信息列表
  4543. items:
  4544. $ref: '#/definitions/models.WRSConverTDetail'
  4545. type: array
  4546. type: object
  4547. models.ErmcpWrstandard:
  4548. properties:
  4549. areauserid:
  4550. description: 所属机构
  4551. type: integer
  4552. createtime:
  4553. description: 创建时间
  4554. type: string
  4555. creatorid:
  4556. description: 创建人
  4557. type: integer
  4558. deliverygoodsid:
  4559. description: 品种ID
  4560. type: integer
  4561. enumdicname:
  4562. description: 单位名称
  4563. type: string
  4564. isvalid:
  4565. description: 是否有效 0-无效(停用) 1-有效(正常)
  4566. type: integer
  4567. minivalue:
  4568. description: 最小变动值
  4569. type: integer
  4570. minivaluedp:
  4571. description: 最小变动值小数位
  4572. type: integer
  4573. realminivalue:
  4574. description: 实际最小变动值
  4575. type: integer
  4576. realminivaluedp:
  4577. description: 实际最小变动值小数位
  4578. type: integer
  4579. remark:
  4580. description: 备注
  4581. type: string
  4582. unitid:
  4583. description: 单位ID
  4584. type: integer
  4585. updatetime:
  4586. description: 更新时间
  4587. type: string
  4588. wrstandardcode:
  4589. description: 现货商品代码
  4590. type: string
  4591. wrstandardid:
  4592. description: 现货商品ID(SEQ_WRSTANDARD)
  4593. type: integer
  4594. wrstandardname:
  4595. description: 现货商品名称
  4596. type: string
  4597. type: object
  4598. models.Externalexchange:
  4599. properties:
  4600. autoid:
  4601. description: AutoID - SEQ_EXTERNALEXCHANGE
  4602. type: integer
  4603. exchangefullname:
  4604. description: 外部交易所全称
  4605. type: string
  4606. exexchangecode:
  4607. description: 外部交易所代码
  4608. type: string
  4609. exexchangename:
  4610. description: 外部交易所名称(简称)
  4611. type: string
  4612. ismarketprice:
  4613. description: 是否支持市价 - 0:不支持 1:支持
  4614. type: integer
  4615. quotegear:
  4616. description: 行情档位(1-10)
  4617. type: integer
  4618. showbrokerflag:
  4619. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  4620. type: integer
  4621. updatetime:
  4622. description: 更新时间
  4623. type: string
  4624. required:
  4625. - autoid
  4626. type: object
  4627. models.Funcmenulist:
  4628. properties:
  4629. iconame:
  4630. description: 菜单图标
  4631. type: string
  4632. menutype:
  4633. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  4634. type: integer
  4635. parentcode:
  4636. description: 上级资源代码
  4637. type: string
  4638. remark:
  4639. description: 备注
  4640. type: string
  4641. resourcecode:
  4642. description: 资源代码
  4643. type: string
  4644. resourcelevel:
  4645. description: 级别 1-一级 2-二级 3-三级 4-四级
  4646. type: integer
  4647. resourcename:
  4648. description: 资源名
  4649. type: string
  4650. sort:
  4651. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  4652. type: integer
  4653. url:
  4654. description: URL
  4655. type: string
  4656. required:
  4657. - resourcecode
  4658. type: object
  4659. models.Goods:
  4660. properties:
  4661. agreeunit:
  4662. description: 合约单位
  4663. type: number
  4664. auditaccountid:
  4665. description: 审核操作员账号
  4666. type: integer
  4667. audittime:
  4668. description: 审核时间
  4669. type: string
  4670. cancelaccountid:
  4671. description: 注销操作员账号
  4672. type: integer
  4673. canceltime:
  4674. description: 注销时间
  4675. type: string
  4676. closepricemode:
  4677. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4678. type: integer
  4679. closepriceparam:
  4680. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4681. type: number
  4682. createtime:
  4683. description: 创建时间
  4684. type: string
  4685. creatorid:
  4686. description: 创建人
  4687. type: integer
  4688. currencyid:
  4689. description: 报价货币ID
  4690. type: integer
  4691. cutmode:
  4692. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4693. type: integer
  4694. decimalplace:
  4695. description: 报价小数位
  4696. type: integer
  4697. delistingdate:
  4698. description: 商品退市时间(状态:退市) -- 已作废
  4699. type: string
  4700. delistingmode:
  4701. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4702. type: integer
  4703. deliveryflag:
  4704. description: 交割标志 - 0:不可交割 1:可交割
  4705. type: integer
  4706. forceclosemode:
  4707. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4708. type: integer
  4709. forceclosevalue:
  4710. description: 定期强平参数 [收益权]
  4711. type: integer
  4712. goodscode:
  4713. description: 商品代码(内部)
  4714. type: string
  4715. goodscurrencyid:
  4716. description: 合约货币ID
  4717. type: integer
  4718. goodsgroupid:
  4719. description: 所属商品组ID
  4720. type: integer
  4721. goodsid:
  4722. description: 商品ID(自增ID SEQ_GOODS)
  4723. type: integer
  4724. goodsname:
  4725. description: 商品名称
  4726. type: string
  4727. goodsquotetype:
  4728. description: '合约报价类型: 1-直接报价 2-间接报价'
  4729. type: integer
  4730. goodsstatus:
  4731. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4732. type: integer
  4733. goodstradetype:
  4734. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4735. type: integer
  4736. goodunitid:
  4737. description: 报价单位ID
  4738. type: integer
  4739. hasquoter:
  4740. description: 是否有报价商 - 0:无报价商 1:有报价商
  4741. type: integer
  4742. hqprotecttime:
  4743. description: 行情保护时间(秒)
  4744. type: integer
  4745. innerdealmode:
  4746. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4747. type: integer
  4748. isbuylimited:
  4749. description: 是否限制建仓量 - 0:不限制 1:限制
  4750. type: integer
  4751. lasttradedate:
  4752. description: 最后交易日期(状态:待退市)
  4753. type: string
  4754. listingdate:
  4755. description: 交易开始日期
  4756. type: string
  4757. marketid:
  4758. description: 所属市场ID
  4759. type: integer
  4760. modifierid:
  4761. description: 修改人
  4762. type: integer
  4763. modifystatus:
  4764. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4765. type: integer
  4766. modifytime:
  4767. description: 修改时间
  4768. type: string
  4769. outerdealmode:
  4770. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4771. type: integer
  4772. outgoodscode:
  4773. description: 商品代码(外部)
  4774. type: string
  4775. qtydecimalplace:
  4776. description: 成交量小数位
  4777. type: integer
  4778. quotegear:
  4779. description: 行情档位(1-10)
  4780. type: integer
  4781. quoteminunit:
  4782. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4783. type: integer
  4784. quoteshowtype:
  4785. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4786. type: integer
  4787. quoteshowtypeinterval:
  4788. description: 行情报价间隔时间(秒)(成交价时为0)
  4789. type: integer
  4790. remark:
  4791. description: 备注
  4792. type: string
  4793. required:
  4794. - goodscode
  4795. - goodsid
  4796. - goodsname
  4797. - marketid
  4798. type: object
  4799. models.GoodsBrand:
  4800. properties:
  4801. brandid:
  4802. description: 品牌ID
  4803. type: integer
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. isvalid:
  4808. description: 是否有效 - 0:无效 1:有效
  4809. type: integer
  4810. type: object
  4811. models.GoodsGroupConvert:
  4812. properties:
  4813. convertratio:
  4814. description: 折算系数
  4815. type: number
  4816. dstgoodsgroupid:
  4817. description: 目标期货品种ID
  4818. type: integer
  4819. goodsgroupname:
  4820. description: 期货品种名称
  4821. type: string
  4822. outergroupcode:
  4823. description: 期货品种代码
  4824. type: string
  4825. srcgoodsgroupid:
  4826. description: 源期货品种ID
  4827. type: integer
  4828. type: object
  4829. models.GoodsIDAndName:
  4830. properties:
  4831. goodscode:
  4832. description: 商品代码(内部)
  4833. type: string
  4834. goodsid:
  4835. description: 商品ID(自增ID SEQ_GOODS)
  4836. type: integer
  4837. goodsname:
  4838. description: 商品名称
  4839. type: string
  4840. marketid:
  4841. description: 所属市场ID
  4842. type: integer
  4843. required:
  4844. - goodscode
  4845. - goodsid
  4846. - goodsname
  4847. - marketid
  4848. type: object
  4849. models.GoodsTypeModel:
  4850. properties:
  4851. modelid:
  4852. description: 型号ID
  4853. type: integer
  4854. modelname:
  4855. description: 型号名称
  4856. type: string
  4857. updatetime:
  4858. description: 更新时间
  4859. type: string
  4860. type: object
  4861. models.Goodsgroup:
  4862. properties:
  4863. agreeunit:
  4864. description: 合约单位
  4865. type: number
  4866. canshort:
  4867. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4868. type: integer
  4869. closepricemode:
  4870. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4871. type: integer
  4872. closepriceparam:
  4873. description: 强平最新价浮动比例 - 方式为2时使用
  4874. type: number
  4875. createtime:
  4876. description: 创建时间
  4877. type: string
  4878. creatorid:
  4879. description: 创建人
  4880. type: integer
  4881. currencyid:
  4882. description: 报价货币ID
  4883. type: integer
  4884. decimalplace:
  4885. description: 报价小数位
  4886. type: integer
  4887. exercisetype:
  4888. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  4889. type: integer
  4890. exexchangeid:
  4891. description: 外部交易所ID[通道交易]
  4892. type: integer
  4893. goodsgroupid:
  4894. description: 商品组ID(自增ID)
  4895. type: integer
  4896. goodsgroupname:
  4897. description: 商品组名称
  4898. type: string
  4899. goodsgroupstatus:
  4900. description: 商品组状态 - 1:正常 2:注销
  4901. type: integer
  4902. goodunitid:
  4903. description: 报价单位ID
  4904. type: integer
  4905. innerdealmode:
  4906. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4907. type: integer
  4908. isbuylimited:
  4909. description: 是否限制建仓量 - 0:不限制 1:限制
  4910. type: integer
  4911. marketid:
  4912. description: 所属市场ID
  4913. type: integer
  4914. modifierid:
  4915. description: 修改人
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. outerdealmode:
  4921. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4922. type: integer
  4923. outergroupcode:
  4924. description: 外部商品组代码[通道交易]
  4925. type: string
  4926. premiumdecimalplace:
  4927. description: 权利金小数位[场外期权]
  4928. type: integer
  4929. premiumspreadalgorithm:
  4930. description: 权利金点差方式[场外期权] 1:比率 2:固定
  4931. type: integer
  4932. premiumspreadvalue:
  4933. description: 权利金点差值[场外期权]
  4934. type: number
  4935. qtydecimalplace:
  4936. description: 成交量小数位
  4937. type: integer
  4938. quotegear:
  4939. description: 行情档位(1-10)
  4940. type: integer
  4941. quoteminunit:
  4942. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4943. type: integer
  4944. quoterid:
  4945. description: 报价商ID[场外期权]
  4946. type: integer
  4947. quotesourcegroupid:
  4948. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4949. type: integer
  4950. syncgoodsqty:
  4951. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4952. type: integer
  4953. required:
  4954. - goodsgroupid
  4955. - goodsgroupname
  4956. - goodsgroupstatus
  4957. - marketid
  4958. type: object
  4959. models.HsbyBuyMyPayOrder:
  4960. properties:
  4961. agreeunit:
  4962. description: 合约单位
  4963. type: number
  4964. buyaccountid:
  4965. description: 买方账号ID[报价币种]
  4966. type: integer
  4967. buyorderid:
  4968. description: 买方委托单号
  4969. type: string
  4970. createtime:
  4971. description: 创建时间
  4972. type: string
  4973. currencysign:
  4974. description: 货币符号
  4975. type: string
  4976. decimalplace:
  4977. description: 报价小数位
  4978. type: integer
  4979. goodscode:
  4980. description: 商品代码(内部)
  4981. type: string
  4982. goodsid:
  4983. description: 商品ID
  4984. type: integer
  4985. goodsname:
  4986. description: 商品名称
  4987. type: string
  4988. marketid:
  4989. description: 市场ID
  4990. type: integer
  4991. offamount:
  4992. description: 优惠金额
  4993. type: number
  4994. originalamount:
  4995. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  4996. type: number
  4997. payamount:
  4998. description: 支付金额 = TradeAmount + TradeCharge
  4999. type: number
  5000. payflag:
  5001. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5002. type: integer
  5003. paylimitedtime:
  5004. description: 支付期限
  5005. type: string
  5006. paytime:
  5007. description: 付款时间
  5008. type: string
  5009. picurls1:
  5010. description: 预售商品介绍图片[多张用逗号分隔]
  5011. type: string
  5012. picurls2:
  5013. description: 挂牌商品介绍图片[多张用逗号分隔]
  5014. type: string
  5015. sellaccountid:
  5016. description: 卖方账号ID[报价币种]
  5017. type: integer
  5018. sellorderid:
  5019. description: 卖方委托单号
  5020. type: string
  5021. tradeamount:
  5022. description: 成交金额
  5023. type: number
  5024. tradecharge:
  5025. description: 成交手续费(买方)
  5026. type: number
  5027. tradedate:
  5028. description: 交易日(yyyyMMdd)
  5029. type: string
  5030. tradeid:
  5031. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5032. type: string
  5033. trademode:
  5034. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5035. 21:竞拍-大宗式 22:受托竞价
  5036. type: integer
  5037. tradeprice:
  5038. description: 成交价格
  5039. type: number
  5040. tradeqty:
  5041. description: 成交数量
  5042. type: integer
  5043. vendorname1:
  5044. description: 预售商品供应商名称
  5045. type: string
  5046. vendorname2:
  5047. description: 挂牌商品供应商名称
  5048. type: string
  5049. required:
  5050. - goodscode
  5051. - goodsname
  5052. - tradeid
  5053. - trademode
  5054. type: object
  5055. models.HsbyBuyMyTradeDetail:
  5056. properties:
  5057. accountid:
  5058. description: 账户ID[报价币种]
  5059. type: integer
  5060. agreeunit:
  5061. description: 合约单位
  5062. type: number
  5063. amount:
  5064. description: 金额 = 价格 * 数量 * 合约单位
  5065. type: number
  5066. buyorsell:
  5067. description: 买卖 - 0:买 1:卖
  5068. type: integer
  5069. currencysign:
  5070. description: 货币符号
  5071. type: string
  5072. decimalplace:
  5073. description: 报价小数位
  5074. type: integer
  5075. goodscode:
  5076. description: 商品代码(内部)
  5077. type: string
  5078. goodsid:
  5079. description: 商品ID
  5080. type: integer
  5081. goodsname:
  5082. description: 商品名称
  5083. type: string
  5084. marketid:
  5085. description: 市场ID
  5086. type: integer
  5087. orderid:
  5088. description: 单号(成交单号)
  5089. type: string
  5090. picurls1:
  5091. description: 预售商品介绍图片[多张用逗号分隔]
  5092. type: string
  5093. picurls2:
  5094. description: 挂牌商品介绍图片[多张用逗号分隔]
  5095. type: string
  5096. price:
  5097. description: 价格
  5098. type: number
  5099. qty:
  5100. description: 数量
  5101. type: integer
  5102. time:
  5103. description: 时间
  5104. type: string
  5105. trademode:
  5106. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5107. 21:竞拍-大宗式 22:受托竞价
  5108. type: integer
  5109. vendorname1:
  5110. description: 预售商品供应商名称
  5111. type: string
  5112. vendorname2:
  5113. description: 挂牌商品供应商名称
  5114. type: string
  5115. required:
  5116. - accountid
  5117. - buyorsell
  5118. - goodscode
  5119. - goodsid
  5120. - goodsname
  5121. - marketid
  5122. - orderid
  5123. - qty
  5124. - time
  5125. - trademode
  5126. type: object
  5127. models.HsbyGoodsOrderDetail:
  5128. properties:
  5129. buyorsell:
  5130. description: 买卖 - 0:买 1:卖
  5131. type: integer
  5132. currencysign:
  5133. description: 货币符号
  5134. type: string
  5135. customername:
  5136. description: 客户名称(企业名称),已脱敏
  5137. type: string
  5138. enableqty:
  5139. description: 可用数量
  5140. type: integer
  5141. goodunit:
  5142. description: 报价单位
  5143. type: string
  5144. orderid:
  5145. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5146. type: string
  5147. orderprice:
  5148. description: 委托价格
  5149. type: number
  5150. ordertime:
  5151. description: 委托时间
  5152. type: string
  5153. required:
  5154. - buyorsell
  5155. - orderid
  5156. - ordertime
  5157. type: object
  5158. models.HsbyListingGoodsDetail:
  5159. properties:
  5160. agreeunit:
  5161. description: 合约单位
  5162. type: number
  5163. buymaxqty:
  5164. description: 购买上限 [71] - 0为不限
  5165. type: integer
  5166. currency:
  5167. description: 货币
  5168. type: string
  5169. currencysign:
  5170. description: 货币符号
  5171. type: string
  5172. decimalplace:
  5173. description: 报价小数位
  5174. type: integer
  5175. desccityid:
  5176. description: 目的地(市)ID
  5177. type: integer
  5178. descprovinceid:
  5179. description: 目的地(省)ID
  5180. type: integer
  5181. goodscode:
  5182. description: 商品代码(内部)
  5183. type: string
  5184. goodsdesc:
  5185. description: 商品详情
  5186. type: string
  5187. goodsid:
  5188. description: 商品ID(自增ID SEQ_GOODS)
  5189. type: integer
  5190. goodsname:
  5191. description: 商品名称
  5192. type: string
  5193. goodsprice:
  5194. description: 商品价格
  5195. type: number
  5196. hotindex:
  5197. description: 景点热度
  5198. type: integer
  5199. last:
  5200. description: 现价
  5201. type: number
  5202. limitdown:
  5203. description: 跌停价
  5204. type: number
  5205. limitup:
  5206. description: 涨停价
  5207. type: number
  5208. lotsize:
  5209. description: 手数最小变动单位
  5210. type: integer
  5211. marketid:
  5212. description: 所属市场ID
  5213. type: integer
  5214. picurls:
  5215. description: 介绍图片[多张用逗号分隔]
  5216. type: string
  5217. quoteminunit:
  5218. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5219. type: integer
  5220. stepvalue:
  5221. description: 价格最小变动单位
  5222. type: number
  5223. trademode:
  5224. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5225. 21:竞拍-大宗式 22:受托竞价
  5226. type: integer
  5227. vendorattr:
  5228. description: 供应商附件(多张,逗号分隔)
  5229. type: string
  5230. vendorname:
  5231. description: 供应商名称
  5232. type: string
  5233. vendorphone:
  5234. description: 供应商客服电话
  5235. type: string
  5236. videourls:
  5237. description: 介绍视频[多张用逗号分隔]
  5238. type: string
  5239. required:
  5240. - goodscode
  5241. - goodsid
  5242. - goodsname
  5243. - marketid
  5244. - trademode
  5245. type: object
  5246. models.HsbyMarketGoods:
  5247. properties:
  5248. accountid:
  5249. description: 账户ID[报价币种]
  5250. type: integer
  5251. agreeunit:
  5252. description: 合约单位
  5253. type: number
  5254. buyorsell:
  5255. description: 买卖 - 0:买 1:卖
  5256. type: integer
  5257. categoryid:
  5258. description: 类别ID(WRCATEGORY)
  5259. type: integer
  5260. currency:
  5261. description: 货币
  5262. type: string
  5263. currencysign:
  5264. description: 货币符号
  5265. type: string
  5266. customername:
  5267. description: 卖家名称
  5268. type: string
  5269. decimalplace:
  5270. description: 报价小数位
  5271. type: integer
  5272. goodscode:
  5273. description: 商品代码(内部)
  5274. type: string
  5275. goodsid:
  5276. description: 商品ID
  5277. type: integer
  5278. goodsname:
  5279. description: 商品名称
  5280. type: string
  5281. goodsprice:
  5282. description: 商品价格
  5283. type: number
  5284. hascoupon:
  5285. description: 是否可用优惠卷
  5286. type: boolean
  5287. hotindex:
  5288. description: 景点热度
  5289. type: integer
  5290. marketid:
  5291. description: 市场ID
  5292. type: integer
  5293. orderid:
  5294. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5295. type: string
  5296. orderprice:
  5297. description: 委托价格
  5298. type: number
  5299. orderstatus:
  5300. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5301. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5302. 16:成交失败违约(荷兰式竞拍专用)
  5303. type: integer
  5304. picurls:
  5305. description: 介绍图片[多张用逗号分隔]
  5306. type: string
  5307. quoteminunit:
  5308. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5309. type: integer
  5310. sellUserID:
  5311. description: 卖方UserID
  5312. type: integer
  5313. trademode:
  5314. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5315. 21:竞拍-大宗式 22:受托竞价
  5316. type: integer
  5317. videourls:
  5318. description: 介绍视频[多张用逗号分隔]
  5319. type: string
  5320. required:
  5321. - accountid
  5322. - buyorsell
  5323. - goodscode
  5324. - goodsid
  5325. - goodsname
  5326. - marketid
  5327. - orderid
  5328. - trademode
  5329. type: object
  5330. models.HsbyMarketGoodsDetail:
  5331. properties:
  5332. accountid:
  5333. description: 账户ID[报价币种]
  5334. type: integer
  5335. agreeunit:
  5336. description: 合约单位
  5337. type: number
  5338. buymaxqty:
  5339. description: 购买上限 [71] - 0为不限
  5340. type: integer
  5341. buyorsell:
  5342. description: 买卖 - 0:买 1:卖
  5343. type: integer
  5344. cancelqty:
  5345. description: 撤单数量
  5346. type: integer
  5347. categoryid:
  5348. description: 类别ID(WRCATEGORY)
  5349. type: integer
  5350. currency:
  5351. description: 货币
  5352. type: string
  5353. currencysign:
  5354. description: 货币符号
  5355. type: string
  5356. customername:
  5357. description: 卖家名称
  5358. type: string
  5359. decimalplace:
  5360. description: 报价小数位
  5361. type: integer
  5362. goodscode:
  5363. description: 商品代码(内部)
  5364. type: string
  5365. goodsdesc:
  5366. description: 商品详情
  5367. type: string
  5368. goodsid:
  5369. description: 商品ID
  5370. type: integer
  5371. goodsname:
  5372. description: 商品名称
  5373. type: string
  5374. goodsprice:
  5375. description: 商品价格
  5376. type: number
  5377. hotindex:
  5378. description: 景点热度
  5379. type: integer
  5380. lotsize:
  5381. description: 手数最小变动单位
  5382. type: integer
  5383. marketid:
  5384. description: 市场ID
  5385. type: integer
  5386. orderid:
  5387. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5388. type: string
  5389. orderprice:
  5390. description: 委托价格
  5391. type: number
  5392. orderqty:
  5393. description: 委托数量
  5394. type: integer
  5395. orderstatus:
  5396. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5397. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5398. 16:成交失败违约(荷兰式竞拍专用)
  5399. type: integer
  5400. picurls:
  5401. description: 介绍图片[多张用逗号分隔]
  5402. type: string
  5403. quoteminunit:
  5404. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5405. type: integer
  5406. sellUserID:
  5407. description: 卖方UserID
  5408. type: integer
  5409. trademode:
  5410. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5411. 21:竞拍-大宗式 22:受托竞价
  5412. type: integer
  5413. tradeqty:
  5414. description: 成交数量
  5415. type: integer
  5416. vendorattr:
  5417. description: 供应商附件(多张,逗号分隔)
  5418. type: string
  5419. vendorname:
  5420. description: 供应商名称
  5421. type: string
  5422. vendorphone:
  5423. description: 供应商客服电话
  5424. type: string
  5425. videourls:
  5426. description: 介绍视频[多张用逗号分隔]
  5427. type: string
  5428. required:
  5429. - accountid
  5430. - buyorsell
  5431. - goodscode
  5432. - goodsid
  5433. - goodsname
  5434. - marketid
  5435. - orderid
  5436. - orderqty
  5437. - trademode
  5438. type: object
  5439. models.HsbyMarketInfo:
  5440. properties:
  5441. marketid:
  5442. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5443. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5444. type: integer
  5445. marketname:
  5446. description: 市场名称
  5447. type: string
  5448. marketstatus:
  5449. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5450. type: integer
  5451. trademode:
  5452. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5453. 21:竞拍-大宗式 22:受托竞价
  5454. type: integer
  5455. required:
  5456. - marketid
  5457. - marketstatus
  5458. - trademode
  5459. type: object
  5460. models.HsbyMyGoods:
  5461. properties:
  5462. accountid:
  5463. description: 账号Id
  5464. type: integer
  5465. agreeunit:
  5466. description: 合约单位
  5467. type: number
  5468. buyaverageprice:
  5469. description: 持仓均价
  5470. type: number
  5471. buycurholderamount:
  5472. description: 买当前持仓总金额[商品币种]
  5473. type: number
  5474. buycurpositionqty:
  5475. description: 买当前持仓总数量
  5476. type: integer
  5477. buymaxqty:
  5478. description: 购买上限 [71] - 0为不限
  5479. type: integer
  5480. currencysign:
  5481. description: 货币符号
  5482. type: string
  5483. decimalplace:
  5484. description: 报价小数位
  5485. type: integer
  5486. enableqty:
  5487. description: 可用数量
  5488. type: integer
  5489. goodscode:
  5490. description: 商品代码(内部)
  5491. type: string
  5492. goodsid:
  5493. description: 商品Id
  5494. type: integer
  5495. goodsname:
  5496. description: 商品名称
  5497. type: string
  5498. goodsprice:
  5499. description: 商品价格
  5500. type: number
  5501. goodsstatus:
  5502. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5503. type: integer
  5504. last:
  5505. description: 现价(仅使用于挂牌点选)
  5506. type: number
  5507. limitdown:
  5508. description: 跌停价(仅使用于挂牌点选)
  5509. type: number
  5510. limitup:
  5511. description: 涨停价(仅使用于挂牌点选)
  5512. type: number
  5513. lotsize:
  5514. description: 手数最小变动单位
  5515. type: integer
  5516. marketid:
  5517. description: 所属市场ID
  5518. type: integer
  5519. picurls:
  5520. description: 介绍图片[多张用逗号分隔]
  5521. type: string
  5522. quoteminunit:
  5523. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5524. type: integer
  5525. stepvalue:
  5526. description: 价格最小变动单位
  5527. type: number
  5528. trademode:
  5529. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5530. 21:竞拍-大宗式 22:受托竞价
  5531. type: integer
  5532. required:
  5533. - accountid
  5534. - goodscode
  5535. - goodsid
  5536. - goodsname
  5537. - marketid
  5538. - trademode
  5539. type: object
  5540. models.HsbyMyPackage:
  5541. properties:
  5542. accountid:
  5543. description: 账户ID
  5544. type: integer
  5545. address:
  5546. description: 提货人详细地址
  5547. type: string
  5548. agreeunit:
  5549. description: 合约单位
  5550. type: number
  5551. amount:
  5552. description: 提货金额
  5553. type: number
  5554. auditer:
  5555. description: 审核人
  5556. type: integer
  5557. audittime:
  5558. description: 审核时间
  5559. type: string
  5560. averageprice:
  5561. description: 均价
  5562. type: number
  5563. cardnum:
  5564. description: 提货人证件号码
  5565. type: string
  5566. cardtypeid:
  5567. description: 提货人证件类型
  5568. type: integer
  5569. checkremark:
  5570. description: 审核备注
  5571. type: string
  5572. currencysign:
  5573. description: 货币符号
  5574. type: string
  5575. decimalplace:
  5576. description: 报价小数位
  5577. type: integer
  5578. goodscode:
  5579. description: 商品代码(内部)
  5580. type: string
  5581. goodsid:
  5582. description: 商品ID
  5583. type: integer
  5584. goodsname:
  5585. description: 商品名称
  5586. type: string
  5587. handlestatus:
  5588. description: 处理状态
  5589. type: integer
  5590. marketid:
  5591. description: 市场ID
  5592. type: integer
  5593. phonenum:
  5594. description: 提货人联系方式
  5595. type: string
  5596. picurls:
  5597. description: 介绍图片[多张用逗号分隔]
  5598. type: string
  5599. qty:
  5600. description: 提货数量
  5601. type: number
  5602. recivername:
  5603. description: 提货人姓名
  5604. type: string
  5605. reqtime:
  5606. description: 更新时间
  5607. type: string
  5608. takemode:
  5609. description: 提货方式 - 2:自提 3:配送
  5610. type: integer
  5611. takeorderid:
  5612. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5613. type: string
  5614. takeorderstatus:
  5615. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5616. type: integer
  5617. takeremark:
  5618. description: 提货备注
  5619. type: string
  5620. tradedate:
  5621. description: 交易日(yyyyMMdd)
  5622. type: string
  5623. trademode:
  5624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5625. 21:竞拍-大宗式 22:受托竞价
  5626. type: integer
  5627. userid:
  5628. description: 用户ID
  5629. type: integer
  5630. vendorname:
  5631. description: 供应商名称
  5632. type: string
  5633. required:
  5634. - goodscode
  5635. - goodsname
  5636. - takeorderid
  5637. - trademode
  5638. type: object
  5639. models.HsbyPreGoods:
  5640. properties:
  5641. agreeunit:
  5642. description: 合约单位
  5643. type: number
  5644. currency:
  5645. description: 货币
  5646. type: string
  5647. currencysign:
  5648. description: 货币符号
  5649. type: string
  5650. decimalplace:
  5651. description: 报价小数位
  5652. type: integer
  5653. desccityid:
  5654. description: 目的地(市)
  5655. type: integer
  5656. descprovinceid:
  5657. description: 目的地(省)
  5658. type: integer
  5659. enableqty:
  5660. description: 剩余数量
  5661. type: integer
  5662. goodscode:
  5663. description: 商品代码(内部)
  5664. type: string
  5665. goodsid:
  5666. description: 商品ID(自增ID SEQ_GOODS)
  5667. type: integer
  5668. goodsname:
  5669. description: 商品名称
  5670. type: string
  5671. goodsstatus:
  5672. description: 商品状态- 2:未上市 3:上市
  5673. type: integer
  5674. lasttradedate:
  5675. description: 最后交易日期(状态:待退市)
  5676. type: string
  5677. listingdate:
  5678. description: 交易开始日期
  5679. type: string
  5680. marketid:
  5681. description: 所属市场ID
  5682. type: integer
  5683. picurls:
  5684. description: 介绍图片[多张用逗号分隔]
  5685. type: string
  5686. presaledqty:
  5687. description: 已预售量(预售结束时更新)
  5688. type: integer
  5689. presaleqty:
  5690. description: 预售数量
  5691. type: integer
  5692. quoteminunit:
  5693. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5694. type: integer
  5695. refprice:
  5696. description: 参考价格[一口价]
  5697. type: number
  5698. relatedgoodsid:
  5699. description: 关联交易合约ID
  5700. type: integer
  5701. trademode:
  5702. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5703. 21:竞拍-大宗式 22:受托竞价
  5704. type: integer
  5705. videourls:
  5706. description: 介绍视频[多张用逗号分隔]
  5707. type: string
  5708. required:
  5709. - goodscode
  5710. - goodsid
  5711. - goodsname
  5712. - marketid
  5713. - trademode
  5714. type: object
  5715. models.HsbyPreGoodsDetail:
  5716. properties:
  5717. agreeunit:
  5718. description: 合约单位
  5719. type: number
  5720. buymaxqty:
  5721. description: 购买上限 [71] - 0为不限
  5722. type: integer
  5723. currency:
  5724. description: 货币
  5725. type: string
  5726. currencysign:
  5727. description: 货币符号
  5728. type: string
  5729. customername:
  5730. description: 发行单位
  5731. type: string
  5732. decimalplace:
  5733. description: 报价小数位
  5734. type: integer
  5735. desccityid:
  5736. description: 目的地(市)ID
  5737. type: integer
  5738. descprovinceid:
  5739. description: 目的地(省)ID
  5740. type: integer
  5741. enableqty:
  5742. description: 剩余数量
  5743. type: integer
  5744. goodscode:
  5745. description: 商品代码(内部)
  5746. type: string
  5747. goodsdesc:
  5748. description: 商品详情
  5749. type: string
  5750. goodsid:
  5751. description: 商品ID(自增ID SEQ_GOODS)
  5752. type: integer
  5753. goodsname:
  5754. description: 商品名称
  5755. type: string
  5756. goodsstatus:
  5757. description: 商品状态- 2:未上市 3:上市
  5758. type: integer
  5759. goodunit:
  5760. description: 报价单位
  5761. type: string
  5762. lasttradedate:
  5763. description: 最后交易日期(状态:待退市)
  5764. type: string
  5765. listingdate:
  5766. description: 交易开始日期
  5767. type: string
  5768. lotsize:
  5769. description: 手数最小变动单位
  5770. type: integer
  5771. marketid:
  5772. description: 所属市场ID
  5773. type: integer
  5774. picurls:
  5775. description: 介绍图片[多张用逗号分隔]
  5776. type: string
  5777. presaledqty:
  5778. description: 已预售量(预售结束时更新)
  5779. type: integer
  5780. presaleqty:
  5781. description: 预售数量
  5782. type: integer
  5783. quoteminunit:
  5784. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5785. type: integer
  5786. refprice:
  5787. description: 参考价格[一口价]
  5788. type: number
  5789. relatedgoodsid:
  5790. description: 关联交易合约ID
  5791. type: integer
  5792. stepvalue:
  5793. description: 价格最小变动单位
  5794. type: number
  5795. trademode:
  5796. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5797. 21:竞拍-大宗式 22:受托竞价
  5798. type: integer
  5799. vendorattr:
  5800. description: 供应商附件(多张,逗号分隔)
  5801. type: string
  5802. vendorname:
  5803. description: 供应商名称
  5804. type: string
  5805. vendorphone:
  5806. description: 供应商客服电话
  5807. type: string
  5808. videourls:
  5809. description: 介绍视频[多张用逗号分隔]
  5810. type: string
  5811. required:
  5812. - goodscode
  5813. - goodsid
  5814. - goodsname
  5815. - marketid
  5816. - trademode
  5817. type: object
  5818. models.HsbySellCollectionOrder:
  5819. properties:
  5820. agreeunit:
  5821. description: 合约单位
  5822. type: number
  5823. buyaccountid:
  5824. description: 买方账号ID[报价币种]
  5825. type: integer
  5826. buyorderid:
  5827. description: 买方委托单号
  5828. type: string
  5829. createtime:
  5830. description: 创建时间
  5831. type: string
  5832. currencysign:
  5833. description: 货币符号
  5834. type: string
  5835. decimalplace:
  5836. description: 报价小数位
  5837. type: integer
  5838. goodscode:
  5839. description: 商品代码(内部)
  5840. type: string
  5841. goodsid:
  5842. description: 商品ID
  5843. type: integer
  5844. goodsname:
  5845. description: 商品名称
  5846. type: string
  5847. marketid:
  5848. description: 市场ID
  5849. type: integer
  5850. offamount:
  5851. description: 优惠金额
  5852. type: number
  5853. payamount:
  5854. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  5855. type: number
  5856. payflag:
  5857. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5858. type: integer
  5859. paylimitedtime:
  5860. description: 支付期限
  5861. type: string
  5862. paytime:
  5863. description: 付款时间
  5864. type: string
  5865. picurls:
  5866. description: 商品介绍图片[多张用逗号分隔]
  5867. type: string
  5868. sellaccountid:
  5869. description: 卖方账号ID[报价币种]
  5870. type: integer
  5871. sellorderid:
  5872. description: 卖方委托单号
  5873. type: string
  5874. tradeamount:
  5875. description: 成交金额
  5876. type: number
  5877. tradecharge:
  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: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5888. 21:竞拍-大宗式 22:受托竞价
  5889. type: integer
  5890. tradeprice:
  5891. description: 成交价格
  5892. type: number
  5893. tradeqty:
  5894. description: 成交数量
  5895. type: integer
  5896. required:
  5897. - goodscode
  5898. - goodsname
  5899. - tradeid
  5900. - trademode
  5901. type: object
  5902. models.HsbySellMyDetail:
  5903. properties:
  5904. accountid:
  5905. description: 账户ID[报价币种]
  5906. type: integer
  5907. agreeunit:
  5908. description: 合约单位
  5909. type: number
  5910. buyorsell:
  5911. description: 买卖 - 0:买 1:卖
  5912. type: integer
  5913. currencysign:
  5914. description: 货币符号
  5915. type: string
  5916. decimalplace:
  5917. description: 报价小数位
  5918. type: integer
  5919. goodscode:
  5920. description: 商品代码(内部)
  5921. type: string
  5922. goodsid:
  5923. description: 商品ID
  5924. type: integer
  5925. goodsname:
  5926. description: 商品名称
  5927. type: string
  5928. marketid:
  5929. description: 市场ID
  5930. type: integer
  5931. orderid:
  5932. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  5933. type: string
  5934. ordertype:
  5935. description: 单据类型:0 - 发布中, 1 - 已完成
  5936. type: integer
  5937. picurls:
  5938. description: 介绍图片[多张用逗号分隔]
  5939. type: string
  5940. price:
  5941. description: 价格
  5942. type: number
  5943. qty:
  5944. description: 数量
  5945. type: integer
  5946. time:
  5947. description: 时间
  5948. type: string
  5949. trademode:
  5950. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5951. 21:竞拍-大宗式 22:受托竞价
  5952. type: integer
  5953. vendorname:
  5954. description: 供应商名称
  5955. type: string
  5956. required:
  5957. - accountid
  5958. - buyorsell
  5959. - goodscode
  5960. - goodsid
  5961. - goodsname
  5962. - marketid
  5963. - orderid
  5964. - time
  5965. - trademode
  5966. type: object
  5967. models.HsbyTopGoods:
  5968. properties:
  5969. agreeunit:
  5970. description: 合约单位
  5971. type: number
  5972. currency:
  5973. description: 货币
  5974. type: string
  5975. currencysign:
  5976. description: 货币符号
  5977. type: string
  5978. decimalplace:
  5979. description: 报价小数位
  5980. type: integer
  5981. desccityid:
  5982. description: 目的地(市)
  5983. type: integer
  5984. descprovinceid:
  5985. description: 目的地(省)
  5986. type: integer
  5987. goodscode:
  5988. description: 商品代码(内部)
  5989. type: string
  5990. goodsid:
  5991. description: 商品ID(自增ID SEQ_GOODS)
  5992. type: integer
  5993. goodsname:
  5994. description: 商品名称
  5995. type: string
  5996. hotindex:
  5997. description: 景点热度
  5998. type: integer
  5999. last:
  6000. description: 现价
  6001. type: number
  6002. marketid:
  6003. description: 所属市场ID
  6004. type: integer
  6005. picurls:
  6006. description: 介绍图片[多张用逗号分隔]
  6007. type: string
  6008. quoteminunit:
  6009. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6010. type: integer
  6011. trademode:
  6012. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6013. 21:竞拍-大宗式 22:受托竞价
  6014. type: integer
  6015. videourls:
  6016. description: 介绍视频[多张用逗号分隔]
  6017. type: string
  6018. required:
  6019. - goodscode
  6020. - goodsid
  6021. - goodsname
  6022. - marketid
  6023. - trademode
  6024. type: object
  6025. models.HybsMyBuyOrderDetail:
  6026. properties:
  6027. accountid:
  6028. description: 账户ID[报价币种]
  6029. type: integer
  6030. agreeunit:
  6031. description: 合约单位
  6032. type: number
  6033. buyorsell:
  6034. description: 买卖 - 0:买 1:卖
  6035. type: integer
  6036. cancelqty:
  6037. description: 撤单数量
  6038. type: integer
  6039. currencysign:
  6040. description: 货币符号
  6041. type: string
  6042. decimalplace:
  6043. description: 报价小数位
  6044. type: integer
  6045. goodscode:
  6046. description: 商品代码(内部)
  6047. type: string
  6048. goodsid:
  6049. description: 商品ID
  6050. type: integer
  6051. goodsname:
  6052. description: 商品名称
  6053. type: string
  6054. listingselecttype:
  6055. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6056. type: integer
  6057. marketid:
  6058. description: 市场ID
  6059. type: integer
  6060. mybuystatus:
  6061. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6062. type: integer
  6063. orderamount:
  6064. description: 委托金额
  6065. type: number
  6066. orderid:
  6067. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6068. type: string
  6069. orderprice:
  6070. description: 委托价格
  6071. type: number
  6072. orderqty:
  6073. description: 委托数量
  6074. type: integer
  6075. orderstatus:
  6076. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6077. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6078. 16:成交失败违约(荷兰式竞拍专用)
  6079. type: integer
  6080. ordertime:
  6081. description: 委托时间
  6082. type: string
  6083. picurls1:
  6084. description: 预售商品介绍图片[多张用逗号分隔]
  6085. type: string
  6086. picurls2:
  6087. description: 挂牌商品介绍图片[多张用逗号分隔]
  6088. type: string
  6089. trademode:
  6090. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6091. 21:竞拍-大宗式 22:受托竞价
  6092. type: integer
  6093. tradeqty:
  6094. description: 成交数量
  6095. type: integer
  6096. vendorname1:
  6097. description: 预售商品供应商名称
  6098. type: string
  6099. vendorname2:
  6100. description: 挂牌商品供应商名称
  6101. type: string
  6102. required:
  6103. - accountid
  6104. - buyorsell
  6105. - goodscode
  6106. - goodsid
  6107. - goodsname
  6108. - marketid
  6109. - orderid
  6110. - orderqty
  6111. - ordertime
  6112. - trademode
  6113. type: object
  6114. models.Loginaccount:
  6115. properties:
  6116. canoutin:
  6117. description: 是否可出入金 - 0:不可 1:可
  6118. type: integer
  6119. clientroleid:
  6120. description: 终端角色ID
  6121. type: integer
  6122. haslogined:
  6123. description: 是否已登录 - 0:未登录 1:已登录
  6124. type: integer
  6125. hasupdatedpwd:
  6126. description: 是否已更改密码 - 0:未修改 1:已修改
  6127. type: integer
  6128. lastloginip:
  6129. description: 最新登录地址
  6130. type: string
  6131. lastloginmode:
  6132. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6133. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6134. type: integer
  6135. lastloginremark:
  6136. description: 最新登录描述
  6137. type: string
  6138. lastlogintime:
  6139. description: 最新登录时间
  6140. type: string
  6141. logincode:
  6142. description: 登录代码
  6143. type: string
  6144. loginfailnum:
  6145. description: 连续登录失败次数(登录成功时清零)
  6146. type: integer
  6147. loginid:
  6148. description: 登陆账号
  6149. type: integer
  6150. loginport:
  6151. description: 最新登录端口
  6152. type: integer
  6153. loginstatus:
  6154. description: 登录账号状态 1:正常 2:冻结 3:无效
  6155. type: integer
  6156. loginusertype:
  6157. description: 登录账号类型 - 1:投资者 2:机构交易员
  6158. type: integer
  6159. modifierid:
  6160. description: 修改人
  6161. type: integer
  6162. modifytime:
  6163. description: 修改时间
  6164. type: string
  6165. pwdwrongcount:
  6166. description: 密码错误次数
  6167. type: integer
  6168. taaccountrighttype:
  6169. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6170. type: integer
  6171. unfreezetime:
  6172. description: 账户解冻时间
  6173. type: string
  6174. userid:
  6175. description: 用户ID
  6176. type: integer
  6177. required:
  6178. - loginid
  6179. type: object
  6180. models.Market:
  6181. properties:
  6182. auctionwrtype:
  6183. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6184. type: integer
  6185. canacceptquote:
  6186. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6187. type: integer
  6188. cangoodsexercise:
  6189. description: '[期权]是否可现货行权- 0:否 1:是'
  6190. type: integer
  6191. cangoodsexercisetype:
  6192. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6193. type: integer
  6194. canmanualquotestrike:
  6195. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6196. type: integer
  6197. canmutistage:
  6198. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6199. type: integer
  6200. canpreexercise:
  6201. description: '[期权]是否可预申报- 0:否 1:是'
  6202. type: integer
  6203. clearinterval:
  6204. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6205. type: integer
  6206. contracttmp:
  6207. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6208. type: string
  6209. exchareaid:
  6210. description: 所属交易所,可以没有
  6211. type: integer
  6212. goodstype:
  6213. description: 商品类型 - 1:交易商品 2:仓单商品
  6214. type: integer
  6215. hasrebate:
  6216. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6217. type: integer
  6218. hastradecredit:
  6219. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6220. type: integer
  6221. haswr:
  6222. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6223. type: integer
  6224. isdeductmargin:
  6225. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6226. type: integer
  6227. isrecordsource:
  6228. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6229. type: integer
  6230. isreleasemargin:
  6231. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6232. type: integer
  6233. marginformula:
  6234. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6235. type: integer
  6236. marginformula2:
  6237. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6238. type: integer
  6239. marketid:
  6240. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6241. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6242. type: integer
  6243. marketname:
  6244. description: 市场名称
  6245. type: string
  6246. marketserviceid:
  6247. description: 市场服务ID
  6248. type: integer
  6249. marketstatus:
  6250. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6251. type: integer
  6252. markettype:
  6253. description: 市场类型- 1:非交易服务 2:交易服务
  6254. type: integer
  6255. matchermode:
  6256. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6257. type: integer
  6258. openmethod:
  6259. description: 开盘模式 - 0 自动 1手动
  6260. type: integer
  6261. otcuserid:
  6262. description: 场外期权做市商[场外期权]
  6263. type: integer
  6264. outersynctime:
  6265. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6266. type: string
  6267. pendingflag:
  6268. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6269. type: integer
  6270. pendingtime:
  6271. description: 待开市时间[通道交易-对冲](HH:mm)
  6272. type: string
  6273. performancetempid:
  6274. description: 履约计划模板ID - 作废
  6275. type: integer
  6276. premiumquotemode:
  6277. description: 权利金报价方式 - 1:自动 2:手动
  6278. type: integer
  6279. rebateratio:
  6280. description: 返利比率[竞价式]
  6281. type: number
  6282. reckonorder:
  6283. description: 结算顺序
  6284. type: integer
  6285. reckonpricealgorithm:
  6286. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6287. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6288. type: integer
  6289. reckonpriceparam:
  6290. description: 结算价参数
  6291. type: integer
  6292. reckontime:
  6293. description: 结算时间[通道交易-对冲](HH:mm)
  6294. type: string
  6295. roleprioritytype:
  6296. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6297. type: integer
  6298. selllistingauditflag:
  6299. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6300. type: integer
  6301. trademarkettype:
  6302. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6303. type: integer
  6304. trademode:
  6305. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6306. 21:竞拍-大宗式 22:受托竞价
  6307. type: integer
  6308. tradeproperty:
  6309. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6310. 8:场外期权
  6311. type: integer
  6312. tradetype:
  6313. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6314. type: integer
  6315. required:
  6316. - marketid
  6317. - marketstatus
  6318. - openmethod
  6319. - reckonpricealgorithm
  6320. - trademode
  6321. - tradeproperty
  6322. type: object
  6323. models.Marketrun:
  6324. properties:
  6325. afternexttradedate:
  6326. description: 下下交易日
  6327. type: string
  6328. clearquoteflag:
  6329. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6330. type: integer
  6331. lastreckondate:
  6332. description: 最新交易日(结算成功)
  6333. type: string
  6334. machinedate:
  6335. description: 机器时间
  6336. type: string
  6337. manualflag:
  6338. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6339. type: integer
  6340. marketid:
  6341. description: 市场ID
  6342. type: integer
  6343. nexttradedate:
  6344. description: 下一交易日
  6345. type: string
  6346. pretradedate:
  6347. description: 上一交易日
  6348. type: string
  6349. reckonflag:
  6350. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6351. type: integer
  6352. runstatus:
  6353. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6354. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6355. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6356. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6357. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6358. 62.今日免清算
  6359. type: integer
  6360. sectionid:
  6361. description: 时间段号[多时段时用]
  6362. type: integer
  6363. tradedate:
  6364. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6365. type: string
  6366. tradedate2:
  6367. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6368. type: string
  6369. updatetime:
  6370. description: 更新时间
  6371. type: string
  6372. required:
  6373. - marketid
  6374. - nexttradedate
  6375. - reckonflag
  6376. - runstatus
  6377. - tradedate
  6378. - tradedate2
  6379. type: object
  6380. models.Messageboard:
  6381. properties:
  6382. contactnum:
  6383. description: 联系电话
  6384. type: string
  6385. createtime:
  6386. description: 创建时间
  6387. type: string
  6388. message:
  6389. description: 留言信息
  6390. type: string
  6391. messageboardid:
  6392. description: 留言簿ID(SEQ_MessageBoard)
  6393. type: integer
  6394. userid:
  6395. description: 用户ID
  6396. type: integer
  6397. required:
  6398. - messageboardid
  6399. type: object
  6400. models.MyCoupon:
  6401. properties:
  6402. accountid:
  6403. description: 资金账户ID
  6404. type: integer
  6405. areauserid:
  6406. description: 所属机构
  6407. type: integer
  6408. conditionvalue:
  6409. description: 条件阈值(可为0)
  6410. type: number
  6411. couponcategroy:
  6412. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6413. type: integer
  6414. couponname:
  6415. description: 优惠券名称
  6416. type: string
  6417. coupontypeid:
  6418. description: 优惠券类型ID
  6419. type: string
  6420. couponvalue:
  6421. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6422. type: number
  6423. curfreezeqty:
  6424. description: 期末冻结数量
  6425. type: integer
  6426. curqty:
  6427. description: 期末数量
  6428. type: integer
  6429. isgeneral:
  6430. description: 是否通用券 - 0:否 1:是
  6431. type: integer
  6432. isunusable:
  6433. description: 是否不可用
  6434. type: boolean
  6435. limitedflag:
  6436. description: 是否指定商品 - 0:不限 1:限制
  6437. type: integer
  6438. limitedgoodsids:
  6439. description: 指定商品IDs[逗号分隔,前后加逗号]
  6440. type: string
  6441. orifreezeqty:
  6442. description: 期初冻结数量
  6443. type: integer
  6444. oriqty:
  6445. description: 期初数量
  6446. type: integer
  6447. reasontype:
  6448. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6449. type: integer
  6450. todaydecrease:
  6451. description: 今日减少
  6452. type: integer
  6453. todayincrease:
  6454. description: 今日增加
  6455. type: integer
  6456. userid:
  6457. description: 用户ID
  6458. type: integer
  6459. userscope:
  6460. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6461. type: string
  6462. required:
  6463. - accountid
  6464. - coupontypeid
  6465. type: object
  6466. models.MyCouponHold:
  6467. properties:
  6468. accountid:
  6469. description: 资金账户ID
  6470. type: integer
  6471. conditionvalue:
  6472. description: 条件阈值(可为0)
  6473. type: number
  6474. couponcategroy:
  6475. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6476. type: integer
  6477. couponholdid:
  6478. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6479. type: string
  6480. couponname:
  6481. description: 优惠券名称
  6482. type: string
  6483. coupontypeid:
  6484. description: 优惠券类型ID - SEQ_COUPONTYPE
  6485. type: string
  6486. couponvalue:
  6487. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6488. type: number
  6489. createtime:
  6490. description: 创建时间
  6491. type: string
  6492. enddate:
  6493. description: 结束日期
  6494. type: string
  6495. giveapplyid:
  6496. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6497. type: integer
  6498. holdstatus:
  6499. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6500. type: integer
  6501. isgeneral:
  6502. description: 是否通用券 - 0:否 1:是
  6503. type: integer
  6504. limitedflag:
  6505. description: 是否指定商品 - 0:不限 1:限制
  6506. type: integer
  6507. limitedgoodsids:
  6508. description: 指定商品IDs[逗号分隔]
  6509. type: string
  6510. qty:
  6511. description: 数量(按1平铺)
  6512. type: integer
  6513. startdate:
  6514. description: 开始日期
  6515. type: string
  6516. userid:
  6517. description: 用户ID
  6518. type: integer
  6519. userscope:
  6520. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6521. type: string
  6522. required:
  6523. - couponholdid
  6524. type: object
  6525. models.MyUsedCoupon:
  6526. properties:
  6527. accountid:
  6528. description: 资金账户ID(买方)
  6529. type: integer
  6530. conditionvalue:
  6531. description: 条件阈值(可为0)
  6532. type: number
  6533. couponcategroy:
  6534. description: 种类 - 1:现金券 2:折扣券
  6535. type: integer
  6536. couponname:
  6537. description: 优惠券名称
  6538. type: string
  6539. coupontypeid:
  6540. description: 优惠券类型ID(买方)
  6541. type: string
  6542. couponvalue:
  6543. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6544. type: number
  6545. createtime:
  6546. description: 创建时间
  6547. type: string
  6548. goodsid:
  6549. description: 商品ID
  6550. type: integer
  6551. handlestatus:
  6552. description: 处理状态
  6553. type: integer
  6554. marketid:
  6555. description: 市场ID
  6556. type: integer
  6557. offamount:
  6558. description: 优惠金额
  6559. type: number
  6560. orderid:
  6561. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6562. type: string
  6563. sellaccountid:
  6564. description: 资金账户ID(卖方)
  6565. type: integer
  6566. tradeamount:
  6567. description: 成交金额
  6568. type: number
  6569. tradeid:
  6570. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6571. type: string
  6572. usedqty:
  6573. description: 使用数量
  6574. type: integer
  6575. required:
  6576. - coupontypeid
  6577. - orderid
  6578. type: object
  6579. models.OperationPrimaryMenu:
  6580. properties:
  6581. Children:
  6582. description: 二级功能菜单
  6583. items:
  6584. $ref: '#/definitions/models.OperationSecondaryMenu'
  6585. type: array
  6586. Key:
  6587. description: 菜单KEY
  6588. type: string
  6589. Label:
  6590. description: 菜单标题
  6591. type: string
  6592. type: object
  6593. models.OperationSecondaryMenu:
  6594. properties:
  6595. Key:
  6596. description: 菜单KEY
  6597. type: string
  6598. Label:
  6599. description: 菜单标题
  6600. type: string
  6601. TabList:
  6602. description: 三级功能菜单
  6603. items:
  6604. $ref: '#/definitions/models.OperationTabMenu'
  6605. type: array
  6606. type: object
  6607. models.OperationTabMenu:
  6608. properties:
  6609. Key:
  6610. description: 菜单KEY
  6611. type: string
  6612. Label:
  6613. description: 菜单标题
  6614. type: string
  6615. type: object
  6616. models.PendingAuditBizModel:
  6617. properties:
  6618. accountid:
  6619. description: 现货账户
  6620. type: string
  6621. areaname:
  6622. description: 所属部门
  6623. type: string
  6624. bizid:
  6625. description: 业务ID
  6626. type: string
  6627. bizname:
  6628. description: 业务名称
  6629. type: string
  6630. status:
  6631. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  6632. type: integer
  6633. type:
  6634. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  6635. type: integer
  6636. type: object
  6637. models.QueryErrorInfosRsp:
  6638. properties:
  6639. description:
  6640. description: 异常描述
  6641. type: string
  6642. errorcode:
  6643. description: 异常代码
  6644. type: string
  6645. errorid:
  6646. description: 异常ID
  6647. type: integer
  6648. modulecode:
  6649. description: 所属模块
  6650. type: string
  6651. operatecode:
  6652. description: 所属操作
  6653. type: string
  6654. rownumber:
  6655. description: 行号
  6656. type: string
  6657. required:
  6658. - errorid
  6659. type: object
  6660. models.QueryHedgeOrderDetailRsp:
  6661. properties:
  6662. accountid:
  6663. description: 账户ID
  6664. type: integer
  6665. buyorsell:
  6666. description: 买卖 - 0:买 1:卖
  6667. type: integer
  6668. channelbuildtype:
  6669. description: 开平标志 - 0:无 1:建仓 2:平仓
  6670. type: integer
  6671. channelinnerorderstatus:
  6672. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6673. 9:全部成交
  6674. type: integer
  6675. channeloperatetype:
  6676. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6677. type: integer
  6678. closetype:
  6679. description: 平仓方式 - 0:无 1:平今 2:平昨
  6680. type: integer
  6681. curexchangerate:
  6682. description: 当前汇率
  6683. type: number
  6684. exchangefullname:
  6685. description: 外部交易所全称
  6686. type: string
  6687. goodscode:
  6688. description: 商品代码(内部)
  6689. type: string
  6690. goodsid:
  6691. description: 商品ID
  6692. type: integer
  6693. goodsname:
  6694. description: 商品名称
  6695. type: string
  6696. marketid:
  6697. description: 市场ID
  6698. type: integer
  6699. openfreezemargin:
  6700. description: 冻结保证金(冻结交易金额)
  6701. type: number
  6702. orderid:
  6703. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6704. type: string
  6705. orderprice:
  6706. description: 委托价格(账户)
  6707. type: number
  6708. orderqty:
  6709. description: 委托数量
  6710. type: integer
  6711. ordertime:
  6712. description: 委托时间
  6713. type: string
  6714. pricemode:
  6715. description: '取价方式 - 1:市价 2: 限价'
  6716. type: integer
  6717. tradedate:
  6718. description: 交易日(yyyyMMdd)
  6719. type: string
  6720. tradeqty:
  6721. description: 成交数量
  6722. type: integer
  6723. type: object
  6724. models.QueryHedgeTradeDetailRsp:
  6725. properties:
  6726. accountid:
  6727. description: 账号ID
  6728. type: integer
  6729. buyorsell:
  6730. description: 方向 - 0:买 1:卖
  6731. type: integer
  6732. channelbuildtype:
  6733. description: 委托单据类型 0:无 1:建仓 2:平仓
  6734. type: integer
  6735. closecharge:
  6736. description: 平仓手续费(账户)
  6737. type: number
  6738. closecharge2:
  6739. description: 平仓手续费(商品)
  6740. type: number
  6741. closetype:
  6742. description: 平仓方式 - 0:无 1:平今 2:平昨
  6743. type: integer
  6744. curexchangerate:
  6745. description: 当前汇率
  6746. type: number
  6747. exchangefullname:
  6748. description: 外部交易所全称
  6749. type: string
  6750. goodscode:
  6751. description: 商品代码(内部)
  6752. type: string
  6753. goodsid:
  6754. description: 商品ID
  6755. type: integer
  6756. goodsname:
  6757. description: 商品名称
  6758. type: string
  6759. marketid:
  6760. description: 市场ID
  6761. type: integer
  6762. opencharge:
  6763. description: 建仓手续费(账户)
  6764. type: number
  6765. opencharge2:
  6766. description: 建仓手续费(商品)
  6767. type: number
  6768. orderid:
  6769. description: 委托单号
  6770. type: string
  6771. tradeamount:
  6772. description: 成交金额(账户)
  6773. type: number
  6774. tradedate:
  6775. description: 交易日(yyyyMMdd)
  6776. type: string
  6777. tradeid:
  6778. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6779. type: string
  6780. tradeprice:
  6781. description: 成交价格
  6782. type: number
  6783. tradeqty:
  6784. description: 成交数量
  6785. type: integer
  6786. tradetime:
  6787. description: 成交时间
  6788. type: string
  6789. tradetype:
  6790. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6791. type: integer
  6792. type: object
  6793. models.QuotePrimaryMenu:
  6794. properties:
  6795. Index:
  6796. description: 序号
  6797. type: integer
  6798. Key:
  6799. description: 键名
  6800. type: string
  6801. Name:
  6802. description: 菜单名称
  6803. type: string
  6804. SubMenus:
  6805. description: 子菜单
  6806. items:
  6807. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6808. type: array
  6809. SubTitleType:
  6810. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6811. type: integer
  6812. TradeModes:
  6813. description: 包含市场交易类型
  6814. type: string
  6815. type: object
  6816. models.QuoteSecondaryMenu:
  6817. properties:
  6818. ExExchangeCode:
  6819. description: 外部交易所代码
  6820. type: string
  6821. ExExchangeID:
  6822. description: 外部交易所ID
  6823. type: integer
  6824. GoodsGroupIDs:
  6825. description: 商品组ID列表
  6826. items:
  6827. type: integer
  6828. type: array
  6829. Index:
  6830. description: 序号
  6831. type: integer
  6832. MarketID:
  6833. description: 市场ID
  6834. type: integer
  6835. MenuTitle:
  6836. description: 菜单标题(市场名称或外部交易所名称)
  6837. type: string
  6838. TradeMode:
  6839. description: 交易模式
  6840. type: integer
  6841. type: object
  6842. models.RelatedGoodsEx:
  6843. properties:
  6844. goodscode:
  6845. description: 商品代码
  6846. type: string
  6847. goodsid:
  6848. description: 商品id
  6849. type: integer
  6850. goodsname:
  6851. description: 商品名称
  6852. type: string
  6853. type: object
  6854. models.SearchGoods:
  6855. properties:
  6856. goodscode:
  6857. description: 商品代码(内部)
  6858. type: string
  6859. goodsid:
  6860. description: 商品ID(自增ID SEQ_GOODS)
  6861. type: integer
  6862. goodsname:
  6863. description: 商品名称
  6864. type: string
  6865. marketid:
  6866. description: 所属市场ID
  6867. type: integer
  6868. marketname:
  6869. description: 市场名称
  6870. type: string
  6871. trademode:
  6872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6873. 21:竞拍-大宗式 22:受托竞价
  6874. type: integer
  6875. required:
  6876. - goodscode
  6877. - goodsid
  6878. - goodsname
  6879. - marketid
  6880. - trademode
  6881. type: object
  6882. models.Systemparam:
  6883. properties:
  6884. loginid:
  6885. description: 更新用户账号,登录账号
  6886. type: string
  6887. modifyflag:
  6888. description: 修改标志0 不允许修改 1 允许修改
  6889. type: integer
  6890. paramcode:
  6891. description: 参数代码
  6892. type: string
  6893. paramname:
  6894. description: 参数名
  6895. type: string
  6896. paramtype:
  6897. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  6898. type: integer
  6899. paramvalue:
  6900. description: 参数值
  6901. type: string
  6902. paramvalue2:
  6903. description: 参数值(CLOB)
  6904. type: string
  6905. regexpress:
  6906. description: 正则表达式
  6907. type: string
  6908. remark:
  6909. description: 备注
  6910. type: string
  6911. serverip:
  6912. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  6913. type: string
  6914. showflag:
  6915. description: 是否显示0 不显示 1 显示
  6916. type: integer
  6917. updatetime:
  6918. description: 更新时间
  6919. type: string
  6920. userid:
  6921. description: 更新用户ID
  6922. type: integer
  6923. required:
  6924. - paramcode
  6925. type: object
  6926. models.Szdz3convertconfig:
  6927. properties:
  6928. canin:
  6929. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  6930. type: integer
  6931. canout:
  6932. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  6933. type: integer
  6934. converttype:
  6935. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6936. 6:交易转花生米(不设置)
  6937. type: integer
  6938. createtime:
  6939. description: 创建时间
  6940. type: string
  6941. creatorid:
  6942. description: 创建人
  6943. type: integer
  6944. daymaxvalue:
  6945. description: 当日最大转入限制
  6946. type: number
  6947. freezedays:
  6948. description: 冻结天数 [5:花生米转交易]
  6949. type: integer
  6950. innergoodsid:
  6951. description: 内部商品ID[交易]
  6952. type: integer
  6953. inratio:
  6954. description: 目标值
  6955. type: integer
  6956. modifierid:
  6957. description: 修改人
  6958. type: integer
  6959. modifytime:
  6960. description: 修改时间
  6961. type: string
  6962. outergoodscode:
  6963. description: 外部商品代码[JD\PD]
  6964. type: string
  6965. outratio:
  6966. description: 源值
  6967. type: integer
  6968. pddecimalplace:
  6969. description: PD小数位
  6970. type: integer
  6971. timemaxvalue:
  6972. description: 单次最大转入限制
  6973. type: number
  6974. timeminvalue:
  6975. description: 单次最小转入限制
  6976. type: number
  6977. required:
  6978. - converttype
  6979. - innergoodsid
  6980. - outergoodscode
  6981. type: object
  6982. models.Szdz3searchwhitelist:
  6983. properties:
  6984. createtime:
  6985. description: 创建时间
  6986. type: string
  6987. creatorid:
  6988. description: 创建人
  6989. type: integer
  6990. modifierid:
  6991. description: 修改人
  6992. type: integer
  6993. modifytime:
  6994. description: 修改时间
  6995. type: string
  6996. userid:
  6997. description: 用户ID
  6998. type: integer
  6999. required:
  7000. - userid
  7001. type: object
  7002. models.Taaccount:
  7003. properties:
  7004. accountflag:
  7005. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7006. type: integer
  7007. accountid:
  7008. description: 资金账户ID
  7009. type: integer
  7010. accountname:
  7011. description: 账户名称
  7012. type: string
  7013. balance:
  7014. description: 期初余额
  7015. type: number
  7016. capitalbalance:
  7017. description: 本金余额[外部子账户实际出入金余额]
  7018. type: number
  7019. changeflag:
  7020. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7021. type: integer
  7022. changetime:
  7023. description: 账户状态变更时间
  7024. type: string
  7025. closepl:
  7026. description: 今日平仓盈亏
  7027. type: number
  7028. creditdecrease:
  7029. description: 今日授信减少
  7030. type: number
  7031. creditincrease:
  7032. description: 今日授信增加
  7033. type: number
  7034. currencyid:
  7035. description: 货币ID
  7036. type: integer
  7037. currentbalance:
  7038. description: 期末余额
  7039. type: number
  7040. freezecharge:
  7041. description: 手续费冻结
  7042. type: number
  7043. freezemargin:
  7044. description: 冻结保证金
  7045. type: number
  7046. fromaccountid:
  7047. description: 所属上级账户
  7048. type: integer
  7049. inamount:
  7050. description: 今日入金金额(包括三方入金)
  7051. type: number
  7052. ismain:
  7053. description: 是否母账号 0:不是母账户 1:是母账户
  7054. type: integer
  7055. ismarketaccount:
  7056. description: 是否机构接单账号 0:不是 1:是
  7057. type: integer
  7058. isreckonaccount:
  7059. description: 是否机构分润账号 0:不是 1:是
  7060. type: integer
  7061. mortgagecredit:
  7062. description: 授信金额
  7063. type: number
  7064. orifreezecharge:
  7065. description: 期初手续费冻结
  7066. type: number
  7067. orifreezemargin:
  7068. description: 期初冻结保证金
  7069. type: number
  7070. orimortgagecredit:
  7071. description: 期初授信金额
  7072. type: number
  7073. oriothercredit:
  7074. description: 期初其它授信金额
  7075. type: number
  7076. oriotherfreezemargin:
  7077. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7078. type: number
  7079. orioutamountfreeze:
  7080. description: 期初出金冻结
  7081. type: number
  7082. oriusedmargin:
  7083. description: 期初占用保证金
  7084. type: number
  7085. othercredit:
  7086. description: 其它授信金额
  7087. type: number
  7088. othercreditdecrease:
  7089. description: 今日其它授信减少
  7090. type: number
  7091. othercreditincrease:
  7092. description: 今日其它授信增加
  7093. type: number
  7094. otherfreezemargin:
  7095. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7096. type: number
  7097. otherincome:
  7098. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7099. type: number
  7100. otherpay:
  7101. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7102. type: number
  7103. outamount:
  7104. description: 今日出金金额(包括三方出金)
  7105. type: number
  7106. outamountfreeze:
  7107. description: 出金冻结
  7108. type: number
  7109. outthreshold:
  7110. description: 出金阈值
  7111. type: number
  7112. parentaccountid:
  7113. description: 所属根账号
  7114. type: integer
  7115. paycharge:
  7116. description: 今日手续费支出
  7117. type: number
  7118. relatedaccountstatus:
  7119. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7120. type: integer
  7121. relateduserid:
  7122. description: 关联用户
  7123. type: integer
  7124. serivcegroup:
  7125. description: 服务分组
  7126. type: integer
  7127. signstatus:
  7128. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7129. type: integer
  7130. sublevelpath:
  7131. description: 账号层级路径(逗号分隔,首尾加逗号)
  7132. type: string
  7133. taaccounttype:
  7134. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7135. type: integer
  7136. thirdinamount:
  7137. description: 今日三方入金
  7138. type: number
  7139. thirdoutamount:
  7140. description: 今日三方出金
  7141. type: number
  7142. tradestatus:
  7143. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7144. type: integer
  7145. tradestatuschangetime:
  7146. description: 激活时间
  7147. type: string
  7148. transferamount:
  7149. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7150. type: number
  7151. usedmargin:
  7152. description: 占用保证金
  7153. type: number
  7154. userid:
  7155. description: 用户ID
  7156. type: integer
  7157. required:
  7158. - accountid
  7159. - userid
  7160. type: object
  7161. models.Tablecolumnconfig:
  7162. properties:
  7163. aligntype:
  7164. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7165. type: integer
  7166. autoid:
  7167. description: AutoID
  7168. type: integer
  7169. columnfield:
  7170. description: 列字段
  7171. type: string
  7172. columntitle:
  7173. description: 列Title
  7174. type: string
  7175. columnwidth:
  7176. description: 列宽
  7177. type: string
  7178. formatterstring:
  7179. description: 格式化字符
  7180. type: string
  7181. formattertype:
  7182. description: 格式化类型
  7183. type: string
  7184. groupname:
  7185. description: 表头分组名称
  7186. type: string
  7187. isshow:
  7188. description: 是否显示 - 0:不显示 1:显示
  7189. type: integer
  7190. needsummary:
  7191. description: 是否需要汇总 - 0:不需要 1:需要
  7192. type: integer
  7193. orderindex:
  7194. description: 顺序
  7195. type: integer
  7196. remark:
  7197. description: 备注
  7198. type: string
  7199. summarytype:
  7200. description: 汇总类型 - 1:加总 2:最后一个
  7201. type: integer
  7202. tablekey:
  7203. description: 列表Key
  7204. type: string
  7205. required:
  7206. - autoid
  7207. type: object
  7208. models.Useraccount:
  7209. properties:
  7210. accountname:
  7211. description: 账户名称(机构名称)
  7212. type: string
  7213. accountstatus:
  7214. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7215. type: integer
  7216. auditremark:
  7217. description: 审核备注
  7218. type: string
  7219. audittime:
  7220. description: 审核时间
  7221. type: string
  7222. audituserid:
  7223. description: 审核人
  7224. type: integer
  7225. broker:
  7226. description: 所属经纪人ID
  7227. type: integer
  7228. canceltime:
  7229. description: 销户时间
  7230. type: string
  7231. canceluserid:
  7232. description: 销户人
  7233. type: integer
  7234. createtime:
  7235. description: 创建时间
  7236. type: string
  7237. creatorid:
  7238. description: 创建人
  7239. type: integer
  7240. hasauth:
  7241. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7242. type: integer
  7243. isanonymous:
  7244. description: 是否匿名下单 - 0:否 1:是
  7245. type: integer
  7246. maxinvestornum:
  7247. description: 最大用户数(经纪会员下投资者个数)
  7248. type: integer
  7249. memberuserid:
  7250. description: 所属会员ID
  7251. type: integer
  7252. modifierid:
  7253. description: 修改人
  7254. type: integer
  7255. modifyremark:
  7256. description: 变更备注
  7257. type: string
  7258. modifystatus:
  7259. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7260. type: integer
  7261. modifytime:
  7262. description: 修改时间
  7263. type: string
  7264. parentuserid:
  7265. description: 所属机构ID
  7266. type: integer
  7267. reckonaccountid:
  7268. description: 默认结算资金账号ID(机构分润使用) 作废
  7269. type: integer
  7270. refercount:
  7271. description: 推荐总人数
  7272. type: integer
  7273. refereeuserid:
  7274. description: 推荐人ID
  7275. type: integer
  7276. refernum:
  7277. description: 推荐码
  7278. type: string
  7279. subarealevelpath:
  7280. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7281. type: string
  7282. userid:
  7283. description: 用户ID
  7284. type: integer
  7285. usertype:
  7286. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7287. type: integer
  7288. required:
  7289. - userid
  7290. type: object
  7291. models.Userfavoritegoods:
  7292. properties:
  7293. goodsid:
  7294. description: 商品ID
  7295. type: integer
  7296. required:
  7297. - goodsid
  7298. type: object
  7299. models.Userinfo:
  7300. properties:
  7301. address:
  7302. description: 地址
  7303. type: string
  7304. attachment1:
  7305. description: 附件1
  7306. type: string
  7307. attachment2:
  7308. description: 附件2
  7309. type: string
  7310. bankaccount:
  7311. description: 银行帐号 (加密存储)
  7312. type: string
  7313. bankaccountname:
  7314. description: 收款人名称
  7315. type: string
  7316. bankcardfrontphotourl:
  7317. description: 银行卡正面照地址
  7318. type: string
  7319. bankid:
  7320. description: 银行编码
  7321. type: string
  7322. bankname:
  7323. description: 银行名称
  7324. type: string
  7325. biznature:
  7326. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7327. type: integer
  7328. bizscope:
  7329. description: 企业经营范围(企业)
  7330. type: string
  7331. cardbackphotourl:
  7332. description: 证件背面图片地址
  7333. type: string
  7334. cardfrontphotourl:
  7335. description: 证件正面图片地址
  7336. type: string
  7337. cardnum:
  7338. description: 证件号码(加密存储)
  7339. type: string
  7340. cardtypeid:
  7341. description: 证件类型ID
  7342. type: integer
  7343. cityid:
  7344. description: 市
  7345. type: integer
  7346. company:
  7347. description: 公司(个人)
  7348. type: string
  7349. contactname:
  7350. description: 联系人
  7351. type: string
  7352. countryid:
  7353. description: 国家
  7354. type: integer
  7355. createtime:
  7356. description: 创建时间
  7357. type: string
  7358. creatorid:
  7359. description: 创建人
  7360. type: integer
  7361. customername:
  7362. description: 客户名称(企业名称)
  7363. type: string
  7364. districtid:
  7365. description: 地区
  7366. type: integer
  7367. email:
  7368. description: 邮件(加密存储)
  7369. type: string
  7370. fax:
  7371. description: 传真(加密存储)
  7372. type: string
  7373. halfbodyphotourl:
  7374. description: 半身照地址
  7375. type: string
  7376. hasencrypt:
  7377. description: 数据是否已加密 - 0:未加密 1:已加密
  7378. type: integer
  7379. headurl:
  7380. description: 头像地址
  7381. type: string
  7382. legalcardbackphotourl:
  7383. description: 法人身份证背面照地址
  7384. type: string
  7385. legalcardfrontphotourl:
  7386. description: 法人身份证正面照地址
  7387. type: string
  7388. legalpersonname:
  7389. description: 法人姓名(企业)
  7390. type: string
  7391. mobile:
  7392. description: 手机号码(加密存储)
  7393. type: string
  7394. mobile2:
  7395. description: 手机号码[明文-尚志]
  7396. type: string
  7397. modifierid:
  7398. description: 修改人
  7399. type: integer
  7400. modifiertime:
  7401. description: 修改时间
  7402. type: string
  7403. needinvoice:
  7404. description: 是否需要发票 - 0:不需要 1:需要
  7405. type: integer
  7406. nickname:
  7407. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7408. type: string
  7409. openmode:
  7410. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7411. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7412. type: integer
  7413. otherurl:
  7414. description: 其它图片地址[使用分号分隔]
  7415. type: string
  7416. postalcode:
  7417. description: 邮政编码
  7418. type: string
  7419. provinceid:
  7420. description: 省
  7421. type: integer
  7422. qq:
  7423. description: QQ(加密存储
  7424. type: string
  7425. remark:
  7426. description: 备注
  7427. type: string
  7428. sex:
  7429. description: '用户性别 0: 女 1: 男'
  7430. type: integer
  7431. signpdfurl:
  7432. description: 签约pdf文件
  7433. type: string
  7434. telphone:
  7435. description: 联系电话(加密存储)
  7436. type: string
  7437. userid:
  7438. description: 用户ID
  7439. type: integer
  7440. userinfotype:
  7441. description: 用户信息类型 - 1:个人 2:企业
  7442. type: integer
  7443. userstatus:
  7444. description: 用户状态 - 1:正常 2:注销
  7445. type: integer
  7446. usertype:
  7447. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7448. type: integer
  7449. wechat:
  7450. description: 微信(加密存储)
  7451. type: string
  7452. wskhinfo:
  7453. description: 开户申请信息(JSON)
  7454. type: string
  7455. required:
  7456. - userid
  7457. type: object
  7458. models.WRCategoryTree:
  7459. properties:
  7460. areauserid:
  7461. description: 所属机构
  7462. type: integer
  7463. categorydesc:
  7464. description: 类别描述
  7465. type: string
  7466. categoryid:
  7467. description: 类别ID(SEQ_WRCATEGORY)
  7468. type: integer
  7469. categoryname:
  7470. description: 类别名称
  7471. type: string
  7472. iconurl:
  7473. description: 图标地址
  7474. type: string
  7475. orderindex:
  7476. description: 顺序
  7477. type: integer
  7478. parentcategoryid:
  7479. description: 父类别ID
  7480. type: integer
  7481. subcategory:
  7482. description: 子分类
  7483. items:
  7484. $ref: '#/definitions/models.WRCategoryTree'
  7485. type: array
  7486. required:
  7487. - categoryid
  7488. type: object
  7489. models.WRSConverTDetail:
  7490. properties:
  7491. convertratio:
  7492. description: 套保系数
  7493. type: number
  7494. deliverygoodsid:
  7495. description: 现货品种ID
  7496. type: integer
  7497. middlegoodscode:
  7498. description: 套保品种代码
  7499. type: string
  7500. middlegoodsid:
  7501. description: 套保品种ID
  7502. type: integer
  7503. middlegoodsname:
  7504. description: 套保品种名称
  7505. type: string
  7506. modifytime:
  7507. description: 修改时间
  7508. type: string
  7509. wrstandardid:
  7510. description: 现货商品ID
  7511. type: integer
  7512. type: object
  7513. models.WRStandardInfo:
  7514. properties:
  7515. createtime:
  7516. description: 创建时间
  7517. type: string
  7518. creatorid:
  7519. description: 创建人
  7520. type: integer
  7521. deliverygoodsid:
  7522. description: 品种ID
  7523. type: integer
  7524. deliverygoodsname:
  7525. description: 交割商品名称
  7526. type: string
  7527. factoryitemjson:
  7528. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7529. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7530. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7531. 逗号分隔'
  7532. type: string
  7533. isvalid:
  7534. description: 是否有效 - 0:无效 1:有效
  7535. type: integer
  7536. minivalue:
  7537. description: 最小变动值
  7538. type: integer
  7539. minivaluedp:
  7540. description: 最小变动值小数位
  7541. type: integer
  7542. realminivalue:
  7543. description: 实际最小变动值
  7544. type: integer
  7545. realminivaluedp:
  7546. description: 实际最小变动值小数位
  7547. type: integer
  7548. unitid:
  7549. description: 单位ID
  7550. type: integer
  7551. unitname:
  7552. description: 单位
  7553. type: string
  7554. updatetime:
  7555. description: 更新时间
  7556. type: string
  7557. updatorid:
  7558. description: 更新人
  7559. type: integer
  7560. wrsstatus:
  7561. description: 状态 - 作废 - 0:未激活 1:正常
  7562. type: integer
  7563. wrstandardcode:
  7564. description: 仓单标准代码
  7565. type: string
  7566. wrstandardid:
  7567. description: 仓单标准ID(SEQ_WRSTANDARD)
  7568. type: integer
  7569. wrstandardname:
  7570. description: 仓单标准名称
  7571. type: string
  7572. required:
  7573. - wrstandardid
  7574. type: object
  7575. models.Warehouseinfo:
  7576. properties:
  7577. address:
  7578. description: 详细地址
  7579. type: string
  7580. areauserid:
  7581. description: 所属机构
  7582. type: integer
  7583. autoid:
  7584. description: 自增ID
  7585. type: integer
  7586. cityid:
  7587. description: 市
  7588. type: integer
  7589. contactname:
  7590. description: 联系人
  7591. type: string
  7592. contactnum:
  7593. description: 联系电话
  7594. type: string
  7595. countryid:
  7596. description: 国家
  7597. type: integer
  7598. createtime:
  7599. description: 创建时间
  7600. type: string
  7601. districtid:
  7602. description: 区
  7603. type: integer
  7604. hasvideo:
  7605. description: 是否有视频 - 0:无 1:有
  7606. type: integer
  7607. provinceid:
  7608. description: 省
  7609. type: integer
  7610. remark:
  7611. description: 审核备注
  7612. type: string
  7613. videourl:
  7614. description: 视频地址
  7615. type: string
  7616. warehousecode:
  7617. description: 仓库代码
  7618. type: string
  7619. warehousename:
  7620. description: 仓库名称
  7621. type: string
  7622. warehousestatus:
  7623. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7624. type: integer
  7625. warehousetype:
  7626. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7627. type: integer
  7628. required:
  7629. - autoid
  7630. - warehousecode
  7631. type: object
  7632. order.QueryHisTradeDetailRsp:
  7633. properties:
  7634. accountid:
  7635. description: 账户ID[报价币种]
  7636. type: integer
  7637. buildtype:
  7638. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7639. type: integer
  7640. buyorsell:
  7641. description: 方向 - 0:买 1:卖
  7642. type: integer
  7643. charge:
  7644. description: 手续费
  7645. type: number
  7646. closecharge:
  7647. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7648. type: number
  7649. closeexchagechargevalue:
  7650. description: 平仓交易所手续费设置值
  7651. type: number
  7652. closefeealgorithm:
  7653. description: 平仓手续费收取方式 1:比率 2:固定
  7654. type: integer
  7655. closememberchargevalue:
  7656. description: 平仓会员手续费设置值
  7657. type: number
  7658. closepl:
  7659. description: 平仓盈亏
  7660. type: number
  7661. closepl2:
  7662. description: 平仓盈亏[逐笔]
  7663. type: number
  7664. closeqty:
  7665. description: 平仓数量(先建后平操作 需要记录)
  7666. type: integer
  7667. creditamount:
  7668. description: 授信金额
  7669. type: number
  7670. gcaccountid:
  7671. description: 账户ID[合约币种]
  7672. type: integer
  7673. goodscode:
  7674. description: 商品代码
  7675. type: string
  7676. goodsid:
  7677. description: 商品ID
  7678. type: integer
  7679. goodsname:
  7680. description: 商品名称
  7681. type: string
  7682. histradedate:
  7683. description: 历史交易日
  7684. type: string
  7685. intclosepl:
  7686. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7687. type: integer
  7688. isconfirmexercise:
  7689. description: 是否确认行权- 0:否 1:是
  7690. type: integer
  7691. ismain:
  7692. description: 是否主单 - 0:不是 1:是
  7693. type: integer
  7694. ispreexercise:
  7695. description: 是否预申报- 0:否 1:是
  7696. type: integer
  7697. isreckoned:
  7698. description: 是否结算 - 0:未结算 1:已结算
  7699. type: integer
  7700. isvaliddata:
  7701. description: 是否有效 - 0:无效 1:有效
  7702. type: integer
  7703. listingselecttype:
  7704. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7705. type: integer
  7706. marketid:
  7707. description: 市场ID
  7708. type: integer
  7709. marketname:
  7710. description: 市场名称
  7711. type: string
  7712. matchaccountid:
  7713. description: 对手账号id
  7714. type: integer
  7715. memberuserid:
  7716. description: 会员id 个人投资者 需要填写
  7717. type: integer
  7718. opencharge:
  7719. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7720. type: number
  7721. openexchagechargevalue:
  7722. description: 建仓交易所手续费设置值
  7723. type: number
  7724. openfeealgorithm:
  7725. description: 建仓手续费收取方式 1:比率 2:固定
  7726. type: integer
  7727. openmemberchargevalue:
  7728. description: 建仓会员手续费设置值
  7729. type: number
  7730. openqty:
  7731. description: 开仓数量(先建后平操作 需要记录)
  7732. type: integer
  7733. optiontype:
  7734. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7735. type: integer
  7736. orderid:
  7737. description: 委托单号
  7738. type: string
  7739. performanceplanid:
  7740. description: 履约计划ID[期权]
  7741. type: integer
  7742. performancestatus:
  7743. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7744. type: integer
  7745. preexerciseprice:
  7746. description: 预申报价格
  7747. type: number
  7748. premium:
  7749. description: 权利金 - [持仓单的权利金]
  7750. type: number
  7751. relatedouttradeid:
  7752. description: 关联外部成交单ID
  7753. type: integer
  7754. status:
  7755. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7756. type: integer
  7757. tradeamount:
  7758. description: 成交金额[账户币种,用于所有权]
  7759. type: number
  7760. tradedate:
  7761. description: 交易日(yyyyMMdd)
  7762. type: string
  7763. tradeid:
  7764. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7765. type: string
  7766. trademode:
  7767. description: 交易模式
  7768. type: integer
  7769. tradeprice:
  7770. description: 成交价格
  7771. type: number
  7772. tradeproperty:
  7773. description: 交易属性
  7774. type: integer
  7775. tradeqty:
  7776. description: 成交数量
  7777. type: integer
  7778. tradetime:
  7779. description: 成交时间
  7780. type: string
  7781. tradetype:
  7782. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7783. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7784. type: integer
  7785. required:
  7786. - accountid
  7787. - buyorsell
  7788. - goodsid
  7789. - histradedate
  7790. - marketid
  7791. - memberuserid
  7792. - orderid
  7793. - tradeamount
  7794. - tradedate
  7795. - tradeid
  7796. - tradeprice
  7797. - tradeqty
  7798. - tradetime
  7799. type: object
  7800. order.QueryHisTradeOrderDetailRsp:
  7801. properties:
  7802. accountid:
  7803. description: 账户ID[报价币种]
  7804. type: integer
  7805. buildtype:
  7806. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7807. type: integer
  7808. buyorsell:
  7809. description: 买卖 - 0:买 1:卖
  7810. type: integer
  7811. cancelorderid:
  7812. description: 撤单单号(撤单时填写)
  7813. type: string
  7814. cancelqty:
  7815. description: 撤单数量
  7816. type: integer
  7817. clientordertime:
  7818. description: 客户端委托时间
  7819. type: string
  7820. clientticket:
  7821. description: 客户端流水号
  7822. type: string
  7823. clienttype:
  7824. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7825. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7826. type: integer
  7827. closeexchagechargevalue:
  7828. description: 平仓交易所手续费设置值
  7829. type: number
  7830. closefeealgorithm:
  7831. description: 平仓手续费收取方式 1:比率 2:固定
  7832. type: integer
  7833. closefreezecharge:
  7834. description: 平仓冻结手续费(先建后平操作,需要记录)
  7835. type: number
  7836. closememberchargevalue:
  7837. description: 平仓会员手续费设置值
  7838. type: number
  7839. closeqty:
  7840. description: 平仓数量(先建后平操作 需要记录)
  7841. type: integer
  7842. closetradeqty:
  7843. description: 平仓成交数量(先建后平操作,需要记录)
  7844. type: integer
  7845. closeunfreezecharge:
  7846. description: 平仓解冻手续费(先建后平操作,需要记录)
  7847. type: number
  7848. delistingtype:
  7849. description: 摘牌类型 - 1:价格最优 2:点选成交
  7850. type: integer
  7851. freezecharge:
  7852. description: 冻结手续费
  7853. type: number
  7854. freezemargin:
  7855. description: 冻结保证金(冻结交易金额)
  7856. type: number
  7857. gcaccountid:
  7858. description: 账户ID[合约币种]
  7859. type: integer
  7860. goodscode:
  7861. description: 商品代码
  7862. type: string
  7863. goodsid:
  7864. description: 商品ID
  7865. type: integer
  7866. goodsname:
  7867. description: 商品名称
  7868. type: string
  7869. histradedate:
  7870. description: 历史交易日
  7871. type: string
  7872. isconfirmexercise:
  7873. description: 是否确认行权- 0:否 1:是
  7874. type: integer
  7875. ispreexercise:
  7876. description: 是否预申报- 0:否 1:是
  7877. type: integer
  7878. isvaliddata:
  7879. description: 是否有效 - 0:无效 1:有效
  7880. type: integer
  7881. listingselecttype:
  7882. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7883. type: integer
  7884. marginalgorithm:
  7885. description: 保证金收取方式 1:比率 2:固定
  7886. type: integer
  7887. marginvalue:
  7888. description: 即市保证金设置值
  7889. type: number
  7890. marketid:
  7891. description: 市场ID
  7892. type: integer
  7893. marketmaxsub:
  7894. description: 市价最大偏移范围
  7895. type: number
  7896. marketname:
  7897. description: 市场名称
  7898. type: string
  7899. memberuserid:
  7900. description: 所属会员UserID
  7901. type: integer
  7902. openexchagechargevalue:
  7903. description: 建仓交易所手续费设置值
  7904. type: number
  7905. openfeealgorithm:
  7906. description: 建仓手续费收取方式 1:比率 2:固定
  7907. type: integer
  7908. openfreezecharge:
  7909. description: 开仓冻结手续费(先建后平操作,需要记录)
  7910. type: number
  7911. openmemberchargevalue:
  7912. description: 建仓会员手续费设置值
  7913. type: number
  7914. openqty:
  7915. description: 开仓数量(先建后平操作,需要记录)
  7916. type: integer
  7917. opentradeqty:
  7918. description: 开仓成交数量(先建后平操作,需要记录)
  7919. type: integer
  7920. openunfreezecharge:
  7921. description: 开仓解冻手续费(先建后平操作,需要记录)
  7922. type: number
  7923. operatetype:
  7924. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7925. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7926. 15:管理端协议转让
  7927. type: integer
  7928. operatorid:
  7929. description: 登录账号(LoginID)
  7930. type: integer
  7931. optiontype:
  7932. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7933. type: integer
  7934. orderid:
  7935. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7936. type: string
  7937. orderprice:
  7938. description: 委托价格
  7939. type: number
  7940. orderqty:
  7941. description: 委托数量
  7942. type: integer
  7943. ordersrc:
  7944. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7945. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7946. type: integer
  7947. orderstatus:
  7948. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7949. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7950. 16:成交失败违约(荷兰式竞拍专用)
  7951. type: integer
  7952. ordertime:
  7953. description: 委托时间
  7954. type: string
  7955. preexerciseprice:
  7956. description: 预申报价格
  7957. type: number
  7958. premium:
  7959. description: 权利金
  7960. type: number
  7961. preorderid:
  7962. description: 关联预埋单号(止盈止损单时填写)
  7963. type: string
  7964. pricemode:
  7965. description: '取价方式 - 1:市价 2: 限价'
  7966. type: integer
  7967. quoteid:
  7968. description: 报价单ID
  7969. type: integer
  7970. relatedid:
  7971. description: 关联单号(交割单)
  7972. type: string
  7973. retcode:
  7974. description: 错误代码
  7975. type: integer
  7976. sessionid:
  7977. description: 会话ID
  7978. type: integer
  7979. tradedate:
  7980. description: 交易日(yyyyMMdd)
  7981. type: string
  7982. trademode:
  7983. description: 交易模式
  7984. type: integer
  7985. tradeproperty:
  7986. description: 交易属性
  7987. type: integer
  7988. tradeqty:
  7989. description: 成交数量
  7990. type: integer
  7991. unfreezecharge:
  7992. description: 解冻手续费
  7993. type: number
  7994. unfreezemargin:
  7995. description: 解冻保证金
  7996. type: number
  7997. updatetime:
  7998. description: 更新时间
  7999. type: string
  8000. uuid:
  8001. description: 发起端唯一id
  8002. type: string
  8003. validtime:
  8004. description: 有效期限
  8005. type: string
  8006. validtype:
  8007. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8008. type: integer
  8009. volumetype:
  8010. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8011. type: integer
  8012. required:
  8013. - accountid
  8014. - buildtype
  8015. - buyorsell
  8016. - goodsid
  8017. - histradedate
  8018. - marketid
  8019. - memberuserid
  8020. - operatetype
  8021. - orderid
  8022. - orderqty
  8023. - ordertime
  8024. - pricemode
  8025. - tradedate
  8026. - validtype
  8027. type: object
  8028. order.QueryTradeDetailRsp:
  8029. properties:
  8030. accountid:
  8031. description: 账户ID[报价币种]
  8032. type: integer
  8033. buildtype:
  8034. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8035. type: integer
  8036. buyorsell:
  8037. description: 方向 - 0:买 1:卖
  8038. type: integer
  8039. charge:
  8040. description: 手续费
  8041. type: number
  8042. closecharge:
  8043. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8044. type: number
  8045. closeexchagechargevalue:
  8046. description: 平仓交易所手续费设置值
  8047. type: number
  8048. closefeealgorithm:
  8049. description: 平仓手续费收取方式 1:比率 2:固定
  8050. type: integer
  8051. closememberchargevalue:
  8052. description: 平仓会员手续费设置值
  8053. type: number
  8054. closepl:
  8055. description: 平仓盈亏
  8056. type: number
  8057. closepl2:
  8058. description: 平仓盈亏[逐笔]
  8059. type: number
  8060. closeqty:
  8061. description: 平仓数量(先建后平操作 需要记录)
  8062. type: integer
  8063. creditamount:
  8064. description: 授信金额
  8065. type: number
  8066. gcaccountid:
  8067. description: 账户ID[合约币种]
  8068. type: integer
  8069. goodscode:
  8070. description: 商品代码
  8071. type: string
  8072. goodsid:
  8073. description: 商品ID
  8074. type: integer
  8075. goodsname:
  8076. description: 商品名称
  8077. type: string
  8078. intclosepl:
  8079. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8080. type: integer
  8081. isconfirmexercise:
  8082. description: 是否确认行权- 0:否 1:是
  8083. type: integer
  8084. ismain:
  8085. description: 是否主单 - 0:不是 1:是
  8086. type: integer
  8087. ispreexercise:
  8088. description: 是否预申报- 0:否 1:是
  8089. type: integer
  8090. isreckoned:
  8091. description: 是否结算 - 0:未结算 1:已结算
  8092. type: integer
  8093. listingselecttype:
  8094. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8095. type: integer
  8096. marketid:
  8097. description: 市场ID
  8098. type: integer
  8099. marketname:
  8100. description: 市场名称
  8101. type: string
  8102. matchaccountid:
  8103. description: 对手账号id
  8104. type: integer
  8105. memberuserid:
  8106. description: 会员id 个人投资者 需要填写
  8107. type: integer
  8108. opencharge:
  8109. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8110. type: number
  8111. openexchagechargevalue:
  8112. description: 建仓交易所手续费设置值
  8113. type: number
  8114. openfeealgorithm:
  8115. description: 建仓手续费收取方式 1:比率 2:固定
  8116. type: integer
  8117. openmemberchargevalue:
  8118. description: 建仓会员手续费设置值
  8119. type: number
  8120. openqty:
  8121. description: 开仓数量(先建后平操作 需要记录)
  8122. type: integer
  8123. optiontype:
  8124. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8125. type: integer
  8126. orderid:
  8127. description: 委托单号
  8128. type: string
  8129. performanceplanid:
  8130. description: 履约计划ID[期权]
  8131. type: integer
  8132. performancestatus:
  8133. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8134. type: integer
  8135. preexerciseprice:
  8136. description: 预申报价格
  8137. type: number
  8138. premium:
  8139. description: 权利金 - [持仓单的权利金]
  8140. type: number
  8141. relatedouttradeid:
  8142. description: 关联外部成交单ID
  8143. type: integer
  8144. status:
  8145. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8146. type: integer
  8147. tradeamount:
  8148. description: 成交金额[账户币种,用于所有权]
  8149. type: number
  8150. tradedate:
  8151. description: 交易日(yyyyMMdd)
  8152. type: string
  8153. tradeid:
  8154. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8155. type: string
  8156. trademode:
  8157. description: 交易模式
  8158. type: integer
  8159. tradeprice:
  8160. description: 成交价格
  8161. type: number
  8162. tradeproperty:
  8163. description: 交易属性
  8164. type: integer
  8165. tradeqty:
  8166. description: 成交数量
  8167. type: integer
  8168. tradetime:
  8169. description: 成交时间
  8170. type: string
  8171. tradetype:
  8172. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8173. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8174. type: integer
  8175. required:
  8176. - accountid
  8177. - buyorsell
  8178. - goodsid
  8179. - marketid
  8180. - memberuserid
  8181. - orderid
  8182. - tradeamount
  8183. - tradedate
  8184. - tradeid
  8185. - tradeprice
  8186. - tradeqty
  8187. - tradetime
  8188. type: object
  8189. order.QueryTradeOrderDetailRsp:
  8190. properties:
  8191. accountid:
  8192. description: 账户ID[报价币种]
  8193. type: integer
  8194. buildtype:
  8195. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8196. type: integer
  8197. buyorsell:
  8198. description: 买卖 - 0:买 1:卖
  8199. type: integer
  8200. cancelorderid:
  8201. description: 撤单单号(撤单时填写)
  8202. type: string
  8203. cancelqty:
  8204. description: 撤单数量
  8205. type: integer
  8206. clienttype:
  8207. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8208. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8209. type: integer
  8210. closefreezecharge:
  8211. description: 平仓冻结手续费(先建后平操作,需要记录)
  8212. type: number
  8213. closeqty:
  8214. description: 平仓数量(先建后平操作 需要记录)
  8215. type: integer
  8216. closetradeqty:
  8217. description: 平仓成交数量(先建后平操作,需要记录)
  8218. type: integer
  8219. closeunfreezecharge:
  8220. description: 平仓解冻手续费(先建后平操作,需要记录)
  8221. type: number
  8222. delistingtype:
  8223. description: 摘牌类型 - 1:价格最优 2:点选成交
  8224. type: integer
  8225. enableqty:
  8226. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8227. type: integer
  8228. freezecharge:
  8229. description: 冻结手续费
  8230. type: number
  8231. freezemargin:
  8232. description: 冻结保证金(冻结交易金额)
  8233. type: number
  8234. goodscode:
  8235. description: 商品代码
  8236. type: string
  8237. goodsid:
  8238. description: 商品ID
  8239. type: integer
  8240. goodsname:
  8241. description: 商品名称
  8242. type: string
  8243. listingselecttype:
  8244. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8245. type: integer
  8246. marketid:
  8247. description: 市场ID
  8248. type: integer
  8249. marketname:
  8250. description: 市场名称
  8251. type: string
  8252. openfreezecharge:
  8253. description: 开仓冻结手续费(先建后平操作,需要记录)
  8254. type: number
  8255. openqty:
  8256. description: 开仓数量(先建后平操作,需要记录)
  8257. type: integer
  8258. opentradeqty:
  8259. description: 开仓成交数量(先建后平操作,需要记录)
  8260. type: integer
  8261. openunfreezecharge:
  8262. description: 开仓解冻手续费(先建后平操作,需要记录)
  8263. type: number
  8264. operatetype:
  8265. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8266. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8267. 15:管理端协议转让
  8268. type: integer
  8269. operatorid:
  8270. description: 登录账号(LoginID)
  8271. type: integer
  8272. orderid:
  8273. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8274. type: string
  8275. orderprice:
  8276. description: 委托价格
  8277. type: number
  8278. orderqty:
  8279. description: 委托数量
  8280. type: integer
  8281. ordersrc:
  8282. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8283. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8284. type: integer
  8285. orderstatus:
  8286. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8287. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8288. 16:成交失败违约(荷兰式竞拍专用)
  8289. type: integer
  8290. ordertime:
  8291. description: 委托时间
  8292. type: string
  8293. preorderid:
  8294. description: 关联预埋单号(止盈止损单时填写)
  8295. type: string
  8296. pricemode:
  8297. description: '取价方式 - 1:市价 2: 限价'
  8298. type: integer
  8299. relatedid:
  8300. description: 关联单号(交割单)
  8301. type: string
  8302. tradedate:
  8303. description: 交易日(yyyyMMdd)
  8304. type: string
  8305. trademode:
  8306. description: 交易模式
  8307. type: integer
  8308. tradeqty:
  8309. description: 成交数量
  8310. type: integer
  8311. unfreezecharge:
  8312. description: 解冻手续费
  8313. type: number
  8314. unfreezemargin:
  8315. description: 解冻保证金
  8316. type: number
  8317. validtime:
  8318. description: 有效期限
  8319. type: string
  8320. validtype:
  8321. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8322. type: integer
  8323. volumetype:
  8324. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8325. type: integer
  8326. required:
  8327. - accountid
  8328. - buildtype
  8329. - buyorsell
  8330. - goodsid
  8331. - marketid
  8332. - operatetype
  8333. - orderqty
  8334. - ordertime
  8335. - pricemode
  8336. - tradedate
  8337. - validtype
  8338. type: object
  8339. order.QueryTradePositionRsp:
  8340. properties:
  8341. accountid:
  8342. description: 资金账户
  8343. type: integer
  8344. agreeunit:
  8345. description: 合约单位
  8346. type: number
  8347. averageprice:
  8348. description: 持仓均价
  8349. type: number
  8350. buyorsell:
  8351. description: 方向 - 0:买 1:卖
  8352. type: integer
  8353. closetotalqty:
  8354. description: 平仓总数量
  8355. type: integer
  8356. curholderamount:
  8357. description: 当前持仓总金额[商品币种]
  8358. type: number
  8359. curpositionqty:
  8360. description: 当前持仓总数量
  8361. type: integer
  8362. currencyid:
  8363. description: 报价货币ID
  8364. type: integer
  8365. curtdposition:
  8366. description: 期末今日头寸
  8367. type: integer
  8368. decimalplace:
  8369. description: 报价小数位
  8370. type: integer
  8371. enableqty:
  8372. description: 可用量
  8373. type: integer
  8374. fretdposition:
  8375. description: 冻结今日头寸
  8376. type: integer
  8377. frozenqty:
  8378. description: 持仓冻结数量
  8379. type: integer
  8380. goodscode:
  8381. description: 商品代码
  8382. type: string
  8383. goodsid:
  8384. description: 商品Id
  8385. type: integer
  8386. goodsname:
  8387. description: 商品名称
  8388. type: string
  8389. goodunit:
  8390. description: 报价单位
  8391. type: string
  8392. goodunitid:
  8393. description: 报价单位ID
  8394. type: integer
  8395. holderamount:
  8396. description: 期初持仓总金额[商品币种]
  8397. type: number
  8398. marketid:
  8399. description: 所属市场ID
  8400. type: integer
  8401. openreqqty:
  8402. description: 开仓申请数量(用于比较最大持仓数量)
  8403. type: integer
  8404. opentotalqty:
  8405. description: 开仓总数量
  8406. type: integer
  8407. otherfrozenqty:
  8408. description: 持仓其他冻结数量(交割冻结)
  8409. type: integer
  8410. positionqty:
  8411. description: 期初持仓数量
  8412. type: integer
  8413. tnqty:
  8414. description: T+N冻结总量
  8415. type: integer
  8416. tnusedqty:
  8417. description: T+N使用量(可以使用T+N的冻结数量)
  8418. type: integer
  8419. trademode:
  8420. description: 交易模式
  8421. type: integer
  8422. usedmargin:
  8423. description: 占用保证金[商品币种]
  8424. type: number
  8425. required:
  8426. - goodsid
  8427. type: object
  8428. quote.HistoryData:
  8429. properties:
  8430. c:
  8431. description: 收盘价
  8432. type: number
  8433. f:
  8434. description: 是否补充数据
  8435. type: boolean
  8436. h:
  8437. description: 最高价
  8438. type: number
  8439. hv:
  8440. description: 持仓量
  8441. type: integer
  8442. l:
  8443. description: 最低价
  8444. type: number
  8445. o:
  8446. description: 开盘价
  8447. type: number
  8448. s:
  8449. description: 结算价,日线周期(包括)以上才有
  8450. type: number
  8451. ts:
  8452. description: 时间
  8453. type: string
  8454. tt:
  8455. description: 总金额
  8456. type: number
  8457. tv:
  8458. description: 总量
  8459. type: integer
  8460. type: object
  8461. quote.HistoryTikData:
  8462. properties:
  8463. AV:
  8464. description: 卖量
  8465. type: integer
  8466. Ask:
  8467. description: 卖价
  8468. type: number
  8469. BV:
  8470. description: 买量
  8471. type: integer
  8472. Bid:
  8473. description: 买价
  8474. type: number
  8475. HI:
  8476. description: 单笔持仓
  8477. type: integer
  8478. HV:
  8479. description: 持仓量
  8480. type: integer
  8481. PE:
  8482. description: 现价
  8483. type: number
  8484. TDR:
  8485. description: 交易方向,0:买 1:卖
  8486. type: integer
  8487. TK:
  8488. description: 交易类型
  8489. type: integer
  8490. TS:
  8491. description: 行情时间文本
  8492. type: string
  8493. TT:
  8494. description: 现金额
  8495. type: number
  8496. Vol:
  8497. description: 现量
  8498. type: integer
  8499. type: object
  8500. quote.QueryQuoteDayRsp:
  8501. properties:
  8502. ask:
  8503. description: 卖1
  8504. type: number
  8505. ask2:
  8506. description: 卖2
  8507. type: number
  8508. ask3:
  8509. description: 卖3
  8510. type: number
  8511. ask4:
  8512. description: 卖4
  8513. type: number
  8514. ask5:
  8515. description: 卖5
  8516. type: number
  8517. ask6:
  8518. description: 卖6
  8519. type: number
  8520. ask7:
  8521. description: 卖7
  8522. type: number
  8523. ask8:
  8524. description: 卖8
  8525. type: number
  8526. ask9:
  8527. description: 卖9
  8528. type: number
  8529. ask10:
  8530. description: 卖10
  8531. type: number
  8532. askorderid:
  8533. description: 卖单号1
  8534. type: integer
  8535. askorderid2:
  8536. description: 卖单号2
  8537. type: integer
  8538. askorderid3:
  8539. description: 卖单号3
  8540. type: integer
  8541. askorderid4:
  8542. description: 卖单号4
  8543. type: integer
  8544. askorderid5:
  8545. description: 卖单号5
  8546. type: integer
  8547. askordervolume:
  8548. description: 卖单量1
  8549. type: integer
  8550. askordervolume2:
  8551. description: 卖单量2
  8552. type: integer
  8553. askordervolume3:
  8554. description: 卖单量3
  8555. type: integer
  8556. askordervolume4:
  8557. description: 卖单量4
  8558. type: integer
  8559. askordervolume5:
  8560. description: 卖单量5
  8561. type: integer
  8562. askordervolume6:
  8563. description: 卖单量6
  8564. type: integer
  8565. askordervolume7:
  8566. description: 卖单量7
  8567. type: integer
  8568. askordervolume8:
  8569. description: 卖单量8
  8570. type: integer
  8571. askordervolume9:
  8572. description: 卖单量9
  8573. type: integer
  8574. askordervolume10:
  8575. description: 卖单量10
  8576. type: integer
  8577. askqueueinfo:
  8578. description: 大利市卖港股用
  8579. type: string
  8580. askvolume:
  8581. description: 卖量1
  8582. type: integer
  8583. askvolume2:
  8584. description: 卖量2
  8585. type: integer
  8586. askvolume3:
  8587. description: 卖量3
  8588. type: integer
  8589. askvolume4:
  8590. description: 卖量4
  8591. type: integer
  8592. askvolume5:
  8593. description: 卖量5
  8594. type: integer
  8595. askvolume6:
  8596. description: 卖量6
  8597. type: integer
  8598. askvolume7:
  8599. description: 卖量7
  8600. type: integer
  8601. askvolume8:
  8602. description: 卖量8
  8603. type: integer
  8604. askvolume9:
  8605. description: 卖量9
  8606. type: integer
  8607. askvolume10:
  8608. description: 卖量10
  8609. type: integer
  8610. averageprice:
  8611. description: 均价
  8612. type: number
  8613. bid:
  8614. description: 买1
  8615. type: number
  8616. bid2:
  8617. description: 买2
  8618. type: number
  8619. bid3:
  8620. description: 买3
  8621. type: number
  8622. bid4:
  8623. description: 买4
  8624. type: number
  8625. bid5:
  8626. description: 买5
  8627. type: number
  8628. bid6:
  8629. description: 买6
  8630. type: number
  8631. bid7:
  8632. description: 买7
  8633. type: number
  8634. bid8:
  8635. description: 买8
  8636. type: number
  8637. bid9:
  8638. description: 买9
  8639. type: number
  8640. bid10:
  8641. description: 买10
  8642. type: number
  8643. bidorderid:
  8644. description: 买单号1
  8645. type: integer
  8646. bidorderid2:
  8647. description: 买单号2
  8648. type: integer
  8649. bidorderid3:
  8650. description: 买单号3
  8651. type: integer
  8652. bidorderid4:
  8653. description: 买单号4
  8654. type: integer
  8655. bidorderid5:
  8656. description: 买单号5
  8657. type: integer
  8658. bidordervolume:
  8659. description: 买单量1
  8660. type: integer
  8661. bidordervolume2:
  8662. description: 买单量2
  8663. type: integer
  8664. bidordervolume3:
  8665. description: 买单量3
  8666. type: integer
  8667. bidordervolume4:
  8668. description: 买单量4
  8669. type: integer
  8670. bidordervolume5:
  8671. description: 买单量5
  8672. type: integer
  8673. bidordervolume6:
  8674. description: 买单量6
  8675. type: integer
  8676. bidordervolume7:
  8677. description: 买单量7
  8678. type: integer
  8679. bidordervolume8:
  8680. description: 买单量8
  8681. type: integer
  8682. bidordervolume9:
  8683. description: 买单量9
  8684. type: integer
  8685. bidordervolume10:
  8686. description: 买单量10
  8687. type: integer
  8688. bidqueueinfo:
  8689. description: 大利市买港股用
  8690. type: string
  8691. bidvolume:
  8692. description: 买量1
  8693. type: integer
  8694. bidvolume2:
  8695. description: 买量2
  8696. type: integer
  8697. bidvolume3:
  8698. description: 买量3
  8699. type: integer
  8700. bidvolume4:
  8701. description: 买量4
  8702. type: integer
  8703. bidvolume5:
  8704. description: 买量5
  8705. type: integer
  8706. bidvolume6:
  8707. description: 买量6
  8708. type: integer
  8709. bidvolume7:
  8710. description: 买量7
  8711. type: integer
  8712. bidvolume8:
  8713. description: 买量8
  8714. type: integer
  8715. bidvolume9:
  8716. description: 买量9
  8717. type: integer
  8718. bidvolume10:
  8719. description: 买量10
  8720. type: integer
  8721. calloptionpremiums:
  8722. description: 认购期权1
  8723. type: integer
  8724. calloptionpremiums2:
  8725. description: 认购期权2
  8726. type: integer
  8727. calloptionpremiums3:
  8728. description: 认购期权3
  8729. type: integer
  8730. calloptionpremiums4:
  8731. description: 认购期权4
  8732. type: integer
  8733. calloptionpremiums5:
  8734. description: 认购期权5
  8735. type: integer
  8736. cleartime:
  8737. description: 清盘时间
  8738. type: integer
  8739. exchangecode:
  8740. description: 交易所代码
  8741. type: integer
  8742. exchangedate:
  8743. description: 交易日
  8744. type: integer
  8745. goodscode:
  8746. description: 商品代码
  8747. type: string
  8748. grepmarketprice:
  8749. description: 暗盘价 港股专用
  8750. type: number
  8751. highest:
  8752. description: 最高价
  8753. type: number
  8754. holdincrement:
  8755. description: 单笔持仓
  8756. type: integer
  8757. holdvolume:
  8758. description: 持仓
  8759. type: integer
  8760. iep:
  8761. description: 平衡价 港股专用
  8762. type: number
  8763. iev:
  8764. description: 平衡量 港股专用
  8765. type: number
  8766. inventory:
  8767. description: 库存
  8768. type: integer
  8769. iscleared:
  8770. description: 是否清盘标志
  8771. type: integer
  8772. issettled:
  8773. description: 是否结算标志
  8774. type: integer
  8775. last:
  8776. description: 最新价
  8777. type: number
  8778. lastlot:
  8779. description: 最新成交手数
  8780. type: integer
  8781. lasttime:
  8782. description: 行情时间(只有现价变化行情时间才变化)
  8783. type: string
  8784. lastturnover:
  8785. description: 最新成交金额
  8786. type: number
  8787. lastvolume:
  8788. description: 最新成交量
  8789. type: integer
  8790. limitdown:
  8791. description: 跌停价
  8792. type: number
  8793. limitup:
  8794. description: 涨停价
  8795. type: number
  8796. lowest:
  8797. description: 最低价
  8798. type: number
  8799. nontotalholdervolume:
  8800. description: 非交易持仓量
  8801. type: integer
  8802. nontotallot:
  8803. description: 非交易总手数
  8804. type: integer
  8805. nontotalturnover:
  8806. description: 非交易总金额
  8807. type: integer
  8808. nontotalvolume:
  8809. description: 非交易总量
  8810. type: integer
  8811. opened:
  8812. description: 开盘价
  8813. type: number
  8814. opentime:
  8815. description: 开盘时间
  8816. type: string
  8817. orderid:
  8818. description: 序号
  8819. type: integer
  8820. preclose:
  8821. description: 昨收
  8822. type: number
  8823. preholdvolume:
  8824. description: 昨持仓
  8825. type: integer
  8826. presettle:
  8827. description: 昨结价
  8828. type: number
  8829. publictradetype:
  8830. description: 公共交易标志类型 港股专用
  8831. type: string
  8832. putoptionpremiums:
  8833. description: 认沽期权1
  8834. type: integer
  8835. putoptionpremiums2:
  8836. description: 认沽期权2
  8837. type: integer
  8838. putoptionpremiums3:
  8839. description: 认沽期权3
  8840. type: integer
  8841. putoptionpremiums4:
  8842. description: 认沽期权4
  8843. type: integer
  8844. putoptionpremiums5:
  8845. description: 认沽期权5
  8846. type: integer
  8847. settle:
  8848. description: 结算价
  8849. type: number
  8850. strikeprice:
  8851. description: 发行价
  8852. type: number
  8853. totalaskvolume:
  8854. description: 内盘
  8855. type: integer
  8856. totalbidvolume:
  8857. description: 外盘
  8858. type: integer
  8859. totallot:
  8860. description: 总手数
  8861. type: integer
  8862. totalturnover:
  8863. description: 总金额
  8864. type: number
  8865. totalvolume:
  8866. description: 总量
  8867. type: integer
  8868. utclasttime:
  8869. description: utc的行情时间
  8870. type: string
  8871. type: object
  8872. quote.QueryTSDataRsp:
  8873. properties:
  8874. decimalPlace:
  8875. description: 小数位
  8876. type: integer
  8877. endTime:
  8878. description: 结束时间
  8879. type: string
  8880. goodsCode:
  8881. description: 商品代码
  8882. type: string
  8883. historyDatas:
  8884. description: 历史数据
  8885. items:
  8886. $ref: '#/definitions/quote.HistoryData'
  8887. type: array
  8888. outGoodsCode:
  8889. description: 外部商品代码
  8890. type: string
  8891. preSettle:
  8892. description: 昨结
  8893. type: number
  8894. startTime:
  8895. description: 开始时间
  8896. type: string
  8897. tradeDate:
  8898. description: 交易日
  8899. type: string
  8900. type: object
  8901. szdz.QueryConvertLogRsp:
  8902. properties:
  8903. accountid:
  8904. description: 资金账户ID
  8905. type: integer
  8906. clientticket:
  8907. description: 客户端流水号
  8908. type: string
  8909. converttype:
  8910. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  8911. type: integer
  8912. createtime:
  8913. description: 记账时间
  8914. type: string
  8915. daymaxvalue:
  8916. description: 配置当日最大转入限制
  8917. type: number
  8918. daymaxvalue2:
  8919. description: 配置当日最大转入限制(转入)
  8920. type: number
  8921. goodscode:
  8922. description: 商品代码
  8923. type: string
  8924. goodsname:
  8925. description: 商品名称
  8926. type: string
  8927. handlestatus:
  8928. description: 处理状态
  8929. type: integer
  8930. innergoodsid:
  8931. description: 内部商品ID
  8932. type: integer
  8933. inratio:
  8934. description: 配置转入比值
  8935. type: integer
  8936. invalue:
  8937. description: 目标值
  8938. type: number
  8939. logid:
  8940. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8941. type: integer
  8942. mobile:
  8943. description: 手机号码(加密存储)
  8944. type: string
  8945. outergoodscode:
  8946. description: 外部商品代码[JD\PD]
  8947. type: string
  8948. outratio:
  8949. description: 配置转出比值
  8950. type: integer
  8951. outvalue:
  8952. description: 源值
  8953. type: number
  8954. pddecimalplace:
  8955. description: PD小数位
  8956. type: integer
  8957. qty:
  8958. description: 数量
  8959. type: string
  8960. remark:
  8961. description: 备注
  8962. type: string
  8963. sessionid:
  8964. description: 会话ID
  8965. type: integer
  8966. timemaxvalue:
  8967. description: 配置单次最大转入限制
  8968. type: number
  8969. timemaxvalue2:
  8970. description: 配置单次最大转入限制(转入)
  8971. type: number
  8972. timeminvalue:
  8973. description: 配置单次最小数量限制
  8974. type: number
  8975. timeminvalue2:
  8976. description: 配置单次最小数量限制(转入)
  8977. type: number
  8978. tradedate:
  8979. description: 交易日(yyyyMMdd)
  8980. type: string
  8981. userid:
  8982. description: 用户ID
  8983. type: integer
  8984. required:
  8985. - logid
  8986. type: object
  8987. szdz.QueryGoodsPickupRsp:
  8988. properties:
  8989. accountid:
  8990. description: 账户ID
  8991. type: integer
  8992. address:
  8993. description: 提货人详细地址
  8994. type: string
  8995. auditer:
  8996. description: 审核人
  8997. type: integer
  8998. audittime:
  8999. description: 审核时间
  9000. type: string
  9001. cardnum:
  9002. description: 提货人证件号码
  9003. type: string
  9004. cardtypeid:
  9005. description: 提货人证件类型
  9006. type: integer
  9007. checkremark:
  9008. description: 审核备注
  9009. type: string
  9010. goodscode:
  9011. description: 商品代码
  9012. type: string
  9013. goodsid:
  9014. description: 商品ID
  9015. type: integer
  9016. goodsname:
  9017. description: 商品名称
  9018. type: string
  9019. handlestatus:
  9020. description: 处理状态
  9021. type: integer
  9022. marketid:
  9023. description: 市场ID
  9024. type: integer
  9025. phonenum:
  9026. description: 提货人联系方式
  9027. type: string
  9028. qty:
  9029. description: 提货数量
  9030. type: number
  9031. recivername:
  9032. description: 提货人姓名
  9033. type: string
  9034. reqtime:
  9035. description: 更新时间
  9036. type: string
  9037. takemode:
  9038. description: 提货方式 - 2:自提 3:配送
  9039. type: integer
  9040. takeorderid:
  9041. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9042. type: string
  9043. takeorderstatus:
  9044. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9045. type: integer
  9046. takeremark:
  9047. description: 提货备注
  9048. type: string
  9049. tradedate:
  9050. description: 交易日(yyyyMMdd)
  9051. type: string
  9052. userid:
  9053. description: 用户ID
  9054. type: integer
  9055. required:
  9056. - takeorderid
  9057. type: object
  9058. szdz.QueryRecieptOrderRsp:
  9059. properties:
  9060. accountName:
  9061. description: 所属账号名称(已脱敏)
  9062. type: string
  9063. accountid:
  9064. description: 资金账号
  9065. type: integer
  9066. buyorsell:
  9067. description: 方向 - 0:买 1:卖
  9068. type: integer
  9069. enableqty:
  9070. description: 可摘数量
  9071. type: integer
  9072. goodscode:
  9073. description: 商品代码
  9074. type: string
  9075. goodsid:
  9076. description: 商品ID
  9077. type: integer
  9078. goodsname:
  9079. description: 商品名称
  9080. type: string
  9081. orderid:
  9082. description: 委托单号
  9083. type: string
  9084. orderprice:
  9085. description: 委托价格
  9086. type: number
  9087. ordertime:
  9088. description: 委托时间
  9089. type: string
  9090. tradedate:
  9091. description: 交易日(yyyyMMdd)
  9092. type: string
  9093. required:
  9094. - ordertime
  9095. type: object
  9096. szdz.QuerySZDZTradePositionRsp:
  9097. properties:
  9098. accountid:
  9099. description: 账号Id
  9100. type: integer
  9101. agreeunit:
  9102. description: 合约单位
  9103. type: number
  9104. averageprice:
  9105. description: 持仓均价
  9106. type: number
  9107. buyorsell:
  9108. description: 方向 - 0:买 1:卖
  9109. type: integer
  9110. closetotalqty:
  9111. description: 平仓总数量
  9112. type: integer
  9113. curholderamount:
  9114. description: 当前持仓总金额
  9115. type: number
  9116. curpositionqty:
  9117. description: 当前持仓总数量
  9118. type: integer
  9119. currencyid:
  9120. description: 报价货币ID
  9121. type: integer
  9122. curtdposition:
  9123. description: 期末今日头寸
  9124. type: integer
  9125. decimalplace:
  9126. description: 报价小数位
  9127. type: integer
  9128. enableqty:
  9129. description: 可用量
  9130. type: integer
  9131. fretdposition:
  9132. description: 冻结今日头寸
  9133. type: integer
  9134. frozenqty:
  9135. description: 持仓冻结数量
  9136. type: integer
  9137. goodscode:
  9138. description: 商品代码(内部)
  9139. type: string
  9140. goodsid:
  9141. description: 商品Id
  9142. type: integer
  9143. goodsname:
  9144. description: 商品名称
  9145. type: string
  9146. goodunit:
  9147. description: 报价单位
  9148. type: string
  9149. goodunitid:
  9150. description: 报价单位ID
  9151. type: integer
  9152. holderamount:
  9153. description: 期初持仓总金额
  9154. type: number
  9155. marketid:
  9156. description: 市场ID
  9157. type: integer
  9158. openreqqty:
  9159. description: 开仓申请数量
  9160. type: integer
  9161. opentotalqty:
  9162. description: 开仓总数量
  9163. type: integer
  9164. otherfrozenqty:
  9165. description: 持仓其他冻结数量(交割冻结)
  9166. type: integer
  9167. positionqty:
  9168. description: 期初持仓数量
  9169. type: integer
  9170. szdz3freezqty:
  9171. description: 尚志大宗转换冻结总数量
  9172. type: integer
  9173. tnqty:
  9174. description: T+N冻结总量
  9175. type: integer
  9176. tnusedqty:
  9177. description: T+N使用量
  9178. type: integer
  9179. trademode:
  9180. description: 交易模式
  9181. type: integer
  9182. usedmargin:
  9183. description: 占用保证金
  9184. type: number
  9185. type: object
  9186. taaccount.QueryAmountLogRsp:
  9187. properties:
  9188. OPERATETYPENAME:
  9189. description: 资金操作类型名称
  9190. type: string
  9191. accountid:
  9192. description: 资金账户ID
  9193. type: integer
  9194. agoodscode:
  9195. description: 竞拍商品代码
  9196. type: string
  9197. agoodsname:
  9198. description: 竞拍商品名称
  9199. type: string
  9200. amount:
  9201. description: 资金金额
  9202. type: number
  9203. amountadjusttype:
  9204. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9205. type: integer
  9206. autoid:
  9207. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9208. type: integer
  9209. balance:
  9210. description: 期初余额
  9211. type: number
  9212. businesscode:
  9213. description: 业务编号
  9214. type: integer
  9215. createtime:
  9216. description: 发生时间
  9217. type: string
  9218. currencyid:
  9219. description: 币种ID
  9220. type: integer
  9221. currentbalance:
  9222. description: 期末余额(变动后金额)
  9223. type: number
  9224. dgoodscode:
  9225. description: 交割商品代码
  9226. type: string
  9227. dgoodsname:
  9228. description: 交割商品名称
  9229. type: string
  9230. goodscode:
  9231. description: 商品代码
  9232. type: string
  9233. goodsid:
  9234. description: 商品ID
  9235. type: integer
  9236. goodsname:
  9237. description: 商品名称
  9238. type: string
  9239. marketid:
  9240. description: 市场ID
  9241. type: integer
  9242. marketname:
  9243. description: 市场名称
  9244. type: string
  9245. moneyticket:
  9246. description: 资金流水号:银行端流水号
  9247. type: integer
  9248. operatetype:
  9249. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9250. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9251. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9252. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9253. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9254. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9255. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9256. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9257. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9258. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9259. type: integer
  9260. relationorderid:
  9261. description: 关联单号
  9262. type: string
  9263. remark:
  9264. description: 备注
  9265. type: string
  9266. trademode:
  9267. description: 交易模式
  9268. type: integer
  9269. required:
  9270. - accountid
  9271. - amount
  9272. - amountadjusttype
  9273. - autoid
  9274. - balance
  9275. - createtime
  9276. - currentbalance
  9277. - operatetype
  9278. type: object
  9279. taaccount.QueryHisAmountLogRsp:
  9280. properties:
  9281. OPERATETYPENAME:
  9282. description: 资金操作类型名称
  9283. type: string
  9284. accountid:
  9285. description: 资金账户ID
  9286. type: integer
  9287. agoodscode:
  9288. description: 竞拍商品代码
  9289. type: string
  9290. agoodsname:
  9291. description: 竞拍商品名称
  9292. type: string
  9293. amount:
  9294. description: 资金金额
  9295. type: number
  9296. amountadjusttype:
  9297. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9298. type: integer
  9299. autoid:
  9300. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9301. type: integer
  9302. balance:
  9303. description: 期初余额
  9304. type: number
  9305. businesscode:
  9306. description: 业务编号
  9307. type: integer
  9308. createtime:
  9309. description: 发生时间
  9310. type: string
  9311. currencyid:
  9312. description: 币种ID
  9313. type: integer
  9314. currentbalance:
  9315. description: 期末余额(变动后金额)
  9316. type: number
  9317. dgoodscode:
  9318. description: 交割商品代码
  9319. type: string
  9320. dgoodsname:
  9321. description: 交割商品名称
  9322. type: string
  9323. goodscode:
  9324. description: 商品代码
  9325. type: string
  9326. goodsid:
  9327. description: 商品ID
  9328. type: integer
  9329. goodsname:
  9330. description: 商品名称
  9331. type: string
  9332. histradedate:
  9333. description: 历史交易日
  9334. type: string
  9335. isvaliddata:
  9336. description: 是否有效 - 0:无效 1:有效
  9337. type: integer
  9338. marketid:
  9339. description: 市场ID
  9340. type: integer
  9341. marketname:
  9342. description: 市场名称
  9343. type: string
  9344. moneyticket:
  9345. description: 资金流水号:银行端流水号
  9346. type: integer
  9347. operatetype:
  9348. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9349. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9350. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9351. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9352. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9353. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9354. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9355. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9356. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9357. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9358. type: integer
  9359. relationorderid:
  9360. description: 关联单号
  9361. type: string
  9362. remark:
  9363. description: 备注
  9364. type: string
  9365. trademode:
  9366. description: 交易模式
  9367. type: integer
  9368. required:
  9369. - accountid
  9370. - amount
  9371. - amountadjusttype
  9372. - autoid
  9373. - balance
  9374. - createtime
  9375. - currentbalance
  9376. - histradedate
  9377. - operatetype
  9378. type: object
  9379. trade.QueryRecieptOrderRsp:
  9380. properties:
  9381. accountName:
  9382. description: 所属账号名称(已脱敏)
  9383. type: string
  9384. accountid:
  9385. description: 资金账号
  9386. type: integer
  9387. buyorsell:
  9388. description: 方向 - 0:买 1:卖
  9389. type: integer
  9390. enableqty:
  9391. description: 可摘数量
  9392. type: integer
  9393. goodscode:
  9394. description: 商品代码
  9395. type: string
  9396. goodsid:
  9397. description: 商品ID
  9398. type: integer
  9399. goodsname:
  9400. description: 商品名称
  9401. type: string
  9402. orderid:
  9403. description: 委托单号
  9404. type: string
  9405. orderprice:
  9406. description: 委托价格
  9407. type: number
  9408. ordertime:
  9409. description: 委托时间
  9410. type: string
  9411. tradedate:
  9412. description: 交易日(yyyyMMdd)
  9413. type: string
  9414. required:
  9415. - ordertime
  9416. type: object
  9417. user.LoginQueryRsp:
  9418. properties:
  9419. externalExchanges:
  9420. description: 外部交易所
  9421. items:
  9422. $ref: '#/definitions/models.Externalexchange'
  9423. type: array
  9424. goodsgroups:
  9425. description: 商品组
  9426. items:
  9427. $ref: '#/definitions/models.Goodsgroup'
  9428. type: array
  9429. loginAccount:
  9430. $ref: '#/definitions/models.Loginaccount'
  9431. description: 登录账号
  9432. type: object
  9433. markets:
  9434. description: 市场
  9435. items:
  9436. $ref: '#/definitions/models.Market'
  9437. type: array
  9438. systemParams:
  9439. description: 系统参数
  9440. items:
  9441. $ref: '#/definitions/models.Systemparam'
  9442. type: array
  9443. userAccount:
  9444. $ref: '#/definitions/models.Useraccount'
  9445. description: 用户账号
  9446. type: object
  9447. userInfo:
  9448. $ref: '#/definitions/models.Userinfo'
  9449. description: 用户信息
  9450. type: object
  9451. username:
  9452. description: 用户姓名
  9453. type: string
  9454. type: object
  9455. info:
  9456. contact: {}
  9457. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9458. license: {}
  9459. termsOfService: http://muchinfo.cn
  9460. title: MTP2.0 查询服务 API
  9461. version: "1.0"
  9462. paths:
  9463. /CPTrade/QueryCPTradeMyBidInfos:
  9464. get:
  9465. parameters:
  9466. - description: 资金账户
  9467. in: query
  9468. name: accountid
  9469. required: true
  9470. type: integer
  9471. - description: 预售市场ID
  9472. in: query
  9473. name: marketid
  9474. type: integer
  9475. - description: 预售商品ID
  9476. in: query
  9477. name: goodsid
  9478. type: integer
  9479. produces:
  9480. - application/json
  9481. responses:
  9482. "200":
  9483. description: OK
  9484. schema:
  9485. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9486. "500":
  9487. description: Internal Server Error
  9488. schema:
  9489. $ref: '#/definitions/app.Response'
  9490. security:
  9491. - ApiKeyAuth: []
  9492. summary: 查询产能预售我的出价信息
  9493. tags:
  9494. - 产能预售
  9495. /CPTrade/QueryCPTradeOrderDetail:
  9496. get:
  9497. parameters:
  9498. - description: 预售商品ID
  9499. in: query
  9500. name: goodsid
  9501. type: integer
  9502. - description: 预售市场ID
  9503. in: query
  9504. name: marketid
  9505. type: integer
  9506. - description: 预售商品ID列表 - 格式:1,2,3
  9507. in: query
  9508. name: goodsids
  9509. type: string
  9510. produces:
  9511. - application/json
  9512. responses:
  9513. "200":
  9514. description: OK
  9515. schema:
  9516. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9517. "500":
  9518. description: Internal Server Error
  9519. schema:
  9520. $ref: '#/definitions/app.Response'
  9521. security:
  9522. - ApiKeyAuth: []
  9523. summary: 查询产能预售委托单信息
  9524. tags:
  9525. - 产能预售
  9526. /CPTrade/QueryMyCPTradeGoods:
  9527. get:
  9528. parameters:
  9529. - description: 资金账户
  9530. in: query
  9531. name: accountid
  9532. required: true
  9533. type: integer
  9534. produces:
  9535. - application/json
  9536. responses:
  9537. "200":
  9538. description: OK
  9539. schema:
  9540. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9541. "500":
  9542. description: Internal Server Error
  9543. schema:
  9544. $ref: '#/definitions/app.Response'
  9545. security:
  9546. - ApiKeyAuth: []
  9547. summary: 查询我的预售信息
  9548. tags:
  9549. - 产能预售
  9550. /CPTrade/QueryPositionCancel:
  9551. get:
  9552. parameters:
  9553. - description: 账户ID
  9554. in: query
  9555. name: userid
  9556. required: true
  9557. type: integer
  9558. - description: 注销ID
  9559. in: query
  9560. name: cancelid
  9561. type: integer
  9562. - description: 资金账户ID
  9563. in: query
  9564. name: accountid
  9565. type: integer
  9566. produces:
  9567. - application/json
  9568. responses:
  9569. "200":
  9570. description: OK
  9571. schema:
  9572. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9573. "500":
  9574. description: Internal Server Error
  9575. schema:
  9576. $ref: '#/definitions/app.Response'
  9577. security:
  9578. - ApiKeyAuth: []
  9579. summary: 查询远期订单注销申请信息
  9580. tags:
  9581. - 产能预售
  9582. /CPTrade/QueryPreasleApply:
  9583. get:
  9584. parameters:
  9585. - description: 账户ID
  9586. in: query
  9587. name: userid
  9588. required: true
  9589. type: integer
  9590. - description: 申请ID
  9591. in: query
  9592. name: applyid
  9593. type: integer
  9594. - description: 资金账户ID
  9595. in: query
  9596. name: accountid
  9597. type: integer
  9598. produces:
  9599. - application/json
  9600. responses:
  9601. "200":
  9602. description: OK
  9603. schema:
  9604. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9605. "500":
  9606. description: Internal Server Error
  9607. schema:
  9608. $ref: '#/definitions/app.Response'
  9609. security:
  9610. - ApiKeyAuth: []
  9611. summary: 查询产能预售申请信息
  9612. tags:
  9613. - 产能预售
  9614. /CPTrade/QueryPresaleGoodsEx:
  9615. get:
  9616. parameters:
  9617. - description: 预售商品ID
  9618. in: query
  9619. name: goodsid
  9620. type: integer
  9621. - description: 预售市场ID
  9622. in: query
  9623. name: marketid
  9624. type: integer
  9625. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9626. in: query
  9627. name: presalemode
  9628. type: integer
  9629. - description: 预售商品ID列表 - 格式:1,2,3
  9630. in: query
  9631. name: goodsids
  9632. type: string
  9633. - description: 预售商品代码
  9634. in: query
  9635. name: goodscode
  9636. type: string
  9637. produces:
  9638. - application/json
  9639. responses:
  9640. "200":
  9641. description: OK
  9642. schema:
  9643. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9644. "500":
  9645. description: Internal Server Error
  9646. schema:
  9647. $ref: '#/definitions/app.Response'
  9648. security:
  9649. - ApiKeyAuth: []
  9650. summary: 查询产能预售商品扩展信息
  9651. tags:
  9652. - 产能预售
  9653. /CPTrade/QueryUserGoodsData:
  9654. get:
  9655. parameters:
  9656. - description: 资金账户ID
  9657. in: query
  9658. name: accountid
  9659. required: true
  9660. type: integer
  9661. produces:
  9662. - application/json
  9663. responses:
  9664. "200":
  9665. description: OK
  9666. schema:
  9667. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9668. "500":
  9669. description: Internal Server Error
  9670. schema:
  9671. $ref: '#/definitions/app.Response'
  9672. security:
  9673. - ApiKeyAuth: []
  9674. summary: 查询远期订单信息
  9675. tags:
  9676. - 产能预售
  9677. /Common/GetAllEnums:
  9678. get:
  9679. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9680. parameters:
  9681. - description: 起始自增ID
  9682. in: query
  9683. name: autoid
  9684. type: integer
  9685. produces:
  9686. - application/json
  9687. responses:
  9688. "200":
  9689. description: OK
  9690. schema:
  9691. $ref: '#/definitions/models.Enumdicitem'
  9692. "500":
  9693. description: Internal Server Error
  9694. schema:
  9695. $ref: '#/definitions/app.Response'
  9696. summary: 获取所有枚举信息
  9697. tags:
  9698. - 通用服务
  9699. /Common/GetDivisions:
  9700. get:
  9701. produces:
  9702. - application/json
  9703. responses:
  9704. "200":
  9705. description: OK
  9706. schema:
  9707. $ref: '#/definitions/models.Division'
  9708. "500":
  9709. description: Internal Server Error
  9710. schema:
  9711. $ref: '#/definitions/app.Response'
  9712. summary: 查询区域信息
  9713. tags:
  9714. - 通用服务
  9715. /Common/GetServerTime:
  9716. get:
  9717. produces:
  9718. - application/json
  9719. responses:
  9720. "200":
  9721. description: OK
  9722. schema:
  9723. $ref: '#/definitions/app.Response'
  9724. "500":
  9725. description: Internal Server Error
  9726. schema:
  9727. $ref: '#/definitions/app.Response'
  9728. summary: 获取服务器时间
  9729. tags:
  9730. - 通用服务
  9731. /Common/NoticeReaded:
  9732. post:
  9733. parameters:
  9734. - description: 登录账号
  9735. in: query
  9736. name: loginID
  9737. required: true
  9738. type: integer
  9739. - description: 通知公告ID
  9740. in: query
  9741. name: noticeID
  9742. required: true
  9743. type: integer
  9744. produces:
  9745. - application/json
  9746. responses:
  9747. "200":
  9748. description: OK
  9749. schema:
  9750. $ref: '#/definitions/app.Response'
  9751. "500":
  9752. description: Internal Server Error
  9753. schema:
  9754. $ref: '#/definitions/app.Response'
  9755. security:
  9756. - ApiKeyAuth: []
  9757. summary: 通知公告设置已读请求
  9758. tags:
  9759. - 通用服务
  9760. /Common/QueryErrorInfos:
  9761. get:
  9762. description: 如果传入rowNumber,则返回此rowNumber后的数据
  9763. parameters:
  9764. - description: 起始行号前索引
  9765. in: query
  9766. name: rowNumber
  9767. type: string
  9768. produces:
  9769. - application/json
  9770. responses:
  9771. "200":
  9772. description: OK
  9773. schema:
  9774. $ref: '#/definitions/models.QueryErrorInfosRsp'
  9775. "500":
  9776. description: Internal Server Error
  9777. schema:
  9778. $ref: '#/definitions/app.Response'
  9779. summary: 获取数据库错误信息
  9780. tags:
  9781. - 通用服务
  9782. /Common/QueryImageConfigs:
  9783. get:
  9784. parameters:
  9785. - description: 类型 - 1:App首页轮播 2:我的
  9786. in: query
  9787. name: imageType
  9788. type: integer
  9789. produces:
  9790. - application/json
  9791. responses:
  9792. "200":
  9793. description: OK
  9794. schema:
  9795. $ref: '#/definitions/common.QueryImageConfigsRsp'
  9796. "500":
  9797. description: Internal Server Error
  9798. schema:
  9799. $ref: '#/definitions/app.Response'
  9800. summary: 查询轮播图配置信息
  9801. tags:
  9802. - 通用服务
  9803. /Common/QueryNotice:
  9804. get:
  9805. parameters:
  9806. - description: 页码
  9807. in: query
  9808. name: page
  9809. type: integer
  9810. - description: 每页条数
  9811. in: query
  9812. name: pagesize
  9813. type: integer
  9814. - description: 登录账号
  9815. in: query
  9816. name: loginID
  9817. required: true
  9818. type: integer
  9819. - description: 消息类型 - 1:公告通知 2:系统消息
  9820. in: query
  9821. name: msgType
  9822. type: integer
  9823. - description: 是否只获取未读信息
  9824. in: query
  9825. name: onlyUnRead
  9826. type: boolean
  9827. - description: 自增ID,传入后会返回这个ID后面的记录
  9828. in: query
  9829. name: lastID
  9830. type: integer
  9831. produces:
  9832. - application/json
  9833. responses:
  9834. "200":
  9835. description: OK
  9836. schema:
  9837. $ref: '#/definitions/common.QueryNoticeRsp'
  9838. "500":
  9839. description: Internal Server Error
  9840. schema:
  9841. $ref: '#/definitions/app.Response'
  9842. security:
  9843. - ApiKeyAuth: []
  9844. summary: 通知公告系统消息查询
  9845. tags:
  9846. - 通用服务
  9847. /Common/QueryProvincesAndCities:
  9848. get:
  9849. parameters:
  9850. - description: 省ID
  9851. in: query
  9852. name: provinceID
  9853. type: integer
  9854. produces:
  9855. - application/json
  9856. responses:
  9857. "200":
  9858. description: OK
  9859. schema:
  9860. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  9861. "500":
  9862. description: Internal Server Error
  9863. schema:
  9864. $ref: '#/definitions/app.Response'
  9865. summary: 查询省市信息(不包括区)
  9866. tags:
  9867. - 通用服务
  9868. /Common/QueryTableDefine:
  9869. get:
  9870. parameters:
  9871. - description: 表key
  9872. in: query
  9873. name: tableKey
  9874. type: string
  9875. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  9876. in: query
  9877. name: tableType
  9878. type: integer
  9879. produces:
  9880. - application/json
  9881. responses:
  9882. "200":
  9883. description: OK
  9884. schema:
  9885. $ref: '#/definitions/common.QueryTableDefineRsp'
  9886. "500":
  9887. description: Internal Server Error
  9888. schema:
  9889. $ref: '#/definitions/app.Response'
  9890. summary: 查询交易端列表头信息
  9891. tags:
  9892. - 通用服务
  9893. /Common/QueryTraderMenu:
  9894. get:
  9895. parameters:
  9896. - description: 登录账号
  9897. in: query
  9898. name: loginid
  9899. required: true
  9900. type: integer
  9901. produces:
  9902. - application/json
  9903. responses:
  9904. "200":
  9905. description: OK
  9906. schema:
  9907. $ref: '#/definitions/common.QueryTraderMenuRsp'
  9908. "500":
  9909. description: Internal Server Error
  9910. schema:
  9911. $ref: '#/definitions/app.Response'
  9912. summary: 查询交易端菜单
  9913. tags:
  9914. - 通用服务
  9915. /Delivery/QueryDeliveryRelation:
  9916. get:
  9917. parameters:
  9918. - description: 商品ID
  9919. in: query
  9920. name: goodsid
  9921. type: integer
  9922. - description: 品种ID
  9923. in: query
  9924. name: deliverygoodsid
  9925. type: integer
  9926. - description: 市场ID
  9927. in: query
  9928. name: marketid
  9929. type: integer
  9930. produces:
  9931. - application/json
  9932. responses:
  9933. "200":
  9934. description: OK
  9935. schema:
  9936. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  9937. "500":
  9938. description: Internal Server Error
  9939. schema:
  9940. $ref: '#/definitions/app.Response'
  9941. security:
  9942. - ApiKeyAuth: []
  9943. summary: 查询商品交割关系表
  9944. tags:
  9945. - 交割服务
  9946. /Ermcp/GetErmcpGoods:
  9947. get:
  9948. parameters:
  9949. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9950. in: query
  9951. name: lastUpdateTime
  9952. type: string
  9953. produces:
  9954. - application/json
  9955. responses:
  9956. "200":
  9957. description: OK
  9958. schema:
  9959. $ref: '#/definitions/models.Goods'
  9960. "500":
  9961. description: Internal Server Error
  9962. schema:
  9963. $ref: '#/definitions/app.Response'
  9964. security:
  9965. - ApiKeyAuth: []
  9966. summary: 查询企业风管期货商品信息
  9967. tags:
  9968. - 企业风险管理(app)
  9969. /Ermcp/GetErmcpRoleFuncMenuLists:
  9970. get:
  9971. parameters:
  9972. - description: 登录账号
  9973. in: query
  9974. name: loginID
  9975. required: true
  9976. type: integer
  9977. produces:
  9978. - application/json
  9979. responses:
  9980. "200":
  9981. description: OK
  9982. schema:
  9983. $ref: '#/definitions/models.Funcmenulist'
  9984. "500":
  9985. description: Internal Server Error
  9986. schema:
  9987. $ref: '#/definitions/app.Response'
  9988. security:
  9989. - ApiKeyAuth: []
  9990. summary: 获取企业风管终端权限
  9991. tags:
  9992. - 企业风险管理(app)
  9993. /Ermcp/QryReportDayExposure:
  9994. get:
  9995. parameters:
  9996. - description: 用户ID
  9997. in: query
  9998. name: userid
  9999. required: true
  10000. type: integer
  10001. - description: 交易日(格式:yyyyMMdd)
  10002. in: query
  10003. name: tradedate
  10004. required: true
  10005. type: string
  10006. produces:
  10007. - application/json
  10008. responses:
  10009. "200":
  10010. description: OK
  10011. schema:
  10012. items:
  10013. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10014. type: array
  10015. "500":
  10016. description: Internal Server Error
  10017. schema:
  10018. $ref: '#/definitions/app.Response'
  10019. security:
  10020. - ApiKeyAuth: []
  10021. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10022. tags:
  10023. - 企业风险管理(app)
  10024. /Ermcp/QryReportDayFinance:
  10025. get:
  10026. parameters:
  10027. - description: 用户ID
  10028. in: query
  10029. name: userid
  10030. required: true
  10031. type: integer
  10032. - description: 交易日(格式:yyyyMMdd)
  10033. in: query
  10034. name: tradedate
  10035. required: true
  10036. type: string
  10037. produces:
  10038. - application/json
  10039. responses:
  10040. "200":
  10041. description: OK
  10042. schema:
  10043. items:
  10044. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10045. type: array
  10046. "500":
  10047. description: Internal Server Error
  10048. schema:
  10049. $ref: '#/definitions/app.Response'
  10050. security:
  10051. - ApiKeyAuth: []
  10052. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10053. tags:
  10054. - 企业风险管理(app)
  10055. /Ermcp/QryReportDayFinanceFp:
  10056. get:
  10057. parameters:
  10058. - description: 用户ID
  10059. in: query
  10060. name: userid
  10061. required: true
  10062. type: integer
  10063. - description: 交易日(格式:yyyyMMdd)
  10064. in: query
  10065. name: tradedate
  10066. required: true
  10067. type: string
  10068. produces:
  10069. - application/json
  10070. responses:
  10071. "200":
  10072. description: OK
  10073. schema:
  10074. items:
  10075. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10076. type: array
  10077. "500":
  10078. description: Internal Server Error
  10079. schema:
  10080. $ref: '#/definitions/app.Response'
  10081. security:
  10082. - ApiKeyAuth: []
  10083. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10084. tags:
  10085. - 企业风险管理(app)
  10086. /Ermcp/QryReportDayFinanceKx:
  10087. get:
  10088. parameters:
  10089. - description: 用户ID
  10090. in: query
  10091. name: userid
  10092. required: true
  10093. type: integer
  10094. - description: 交易日(格式:yyyyMMdd)
  10095. in: query
  10096. name: tradedate
  10097. required: true
  10098. type: string
  10099. produces:
  10100. - application/json
  10101. responses:
  10102. "200":
  10103. description: OK
  10104. schema:
  10105. items:
  10106. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10107. type: array
  10108. "500":
  10109. description: Internal Server Error
  10110. schema:
  10111. $ref: '#/definitions/app.Response'
  10112. security:
  10113. - ApiKeyAuth: []
  10114. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10115. tags:
  10116. - 企业风险管理(app)
  10117. /Ermcp/QryReportDaySpot:
  10118. get:
  10119. parameters:
  10120. - description: 用户ID
  10121. in: query
  10122. name: userid
  10123. required: true
  10124. type: integer
  10125. - description: 交易日(格式:yyyyMMdd)
  10126. in: query
  10127. name: tradedate
  10128. required: true
  10129. type: string
  10130. produces:
  10131. - application/json
  10132. responses:
  10133. "200":
  10134. description: OK
  10135. schema:
  10136. items:
  10137. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10138. type: array
  10139. "500":
  10140. description: Internal Server Error
  10141. schema:
  10142. $ref: '#/definitions/app.Response'
  10143. security:
  10144. - ApiKeyAuth: []
  10145. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10146. tags:
  10147. - 企业风险管理(app)
  10148. /Ermcp/QryReportDaySpotDetail:
  10149. get:
  10150. parameters:
  10151. - description: 用户ID
  10152. in: query
  10153. name: userid
  10154. required: true
  10155. type: integer
  10156. - description: 现货商品id
  10157. in: query
  10158. name: wrstandardid
  10159. required: true
  10160. type: integer
  10161. - description: 交易日(格式:yyyyMMdd)
  10162. in: query
  10163. name: tradedate
  10164. required: true
  10165. type: string
  10166. produces:
  10167. - application/json
  10168. responses:
  10169. "200":
  10170. description: OK
  10171. schema:
  10172. items:
  10173. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10174. type: array
  10175. "500":
  10176. description: Internal Server Error
  10177. schema:
  10178. $ref: '#/definitions/app.Response'
  10179. security:
  10180. - ApiKeyAuth: []
  10181. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10182. tags:
  10183. - 企业风险管理(app)
  10184. /Ermcp/QryReportMonthFinance:
  10185. get:
  10186. parameters:
  10187. - description: 用户ID
  10188. in: query
  10189. name: userid
  10190. required: true
  10191. type: integer
  10192. - description: 周期时间:月(格式:yyyyMM)
  10193. in: query
  10194. name: cycletime
  10195. required: true
  10196. type: string
  10197. produces:
  10198. - application/json
  10199. responses:
  10200. "200":
  10201. description: OK
  10202. schema:
  10203. items:
  10204. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10205. type: array
  10206. "500":
  10207. description: Internal Server Error
  10208. schema:
  10209. $ref: '#/definitions/app.Response'
  10210. security:
  10211. - ApiKeyAuth: []
  10212. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10213. tags:
  10214. - 企业风险管理(app)
  10215. /Ermcp/QryReportMonthSpot:
  10216. get:
  10217. parameters:
  10218. - description: 用户ID
  10219. in: query
  10220. name: userid
  10221. required: true
  10222. type: integer
  10223. - description: 周期时间:月(格式:yyyyMM)
  10224. in: query
  10225. name: cycletime
  10226. required: true
  10227. type: string
  10228. produces:
  10229. - application/json
  10230. responses:
  10231. "200":
  10232. description: OK
  10233. schema:
  10234. items:
  10235. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  10236. type: array
  10237. "500":
  10238. description: Internal Server Error
  10239. schema:
  10240. $ref: '#/definitions/app.Response'
  10241. security:
  10242. - ApiKeyAuth: []
  10243. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  10244. tags:
  10245. - 企业风险管理(app)
  10246. /Ermcp/QryReportMonthSpotDetail:
  10247. get:
  10248. parameters:
  10249. - description: 用户ID
  10250. in: query
  10251. name: userid
  10252. required: true
  10253. type: integer
  10254. - description: 现货商品id
  10255. in: query
  10256. name: wrstandardid
  10257. required: true
  10258. type: integer
  10259. - description: 周期时间:月(格式:yyyyMM)
  10260. in: query
  10261. name: cycletime
  10262. required: true
  10263. type: string
  10264. produces:
  10265. - application/json
  10266. responses:
  10267. "200":
  10268. description: OK
  10269. schema:
  10270. items:
  10271. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10272. type: array
  10273. "500":
  10274. description: Internal Server Error
  10275. schema:
  10276. $ref: '#/definitions/app.Response'
  10277. security:
  10278. - ApiKeyAuth: []
  10279. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10280. tags:
  10281. - 企业风险管理(app)
  10282. /Ermcp/QueryAreaStock:
  10283. get:
  10284. parameters:
  10285. - description: 用户ID
  10286. in: query
  10287. name: userid
  10288. required: true
  10289. type: integer
  10290. produces:
  10291. - application/json
  10292. responses:
  10293. "200":
  10294. description: OK
  10295. schema:
  10296. items:
  10297. $ref: '#/definitions/models.ErmcpAreaStock'
  10298. type: array
  10299. "500":
  10300. description: Internal Server Error
  10301. schema:
  10302. $ref: '#/definitions/app.Response'
  10303. security:
  10304. - ApiKeyAuth: []
  10305. summary: 查询机构库存(库存管理/当前库存)
  10306. tags:
  10307. - 企业风险管理(app)
  10308. /Ermcp/QueryAreaStockApply:
  10309. get:
  10310. parameters:
  10311. - description: 用户ID
  10312. in: query
  10313. name: userid
  10314. required: true
  10315. type: integer
  10316. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  10317. in: query
  10318. name: inouttype
  10319. type: string
  10320. - description: 合同ID
  10321. in: query
  10322. name: spotcontractid
  10323. type: integer
  10324. - description: 现货商品ID
  10325. in: query
  10326. name: wrstandardid
  10327. type: integer
  10328. - description: 品牌ID
  10329. in: query
  10330. name: spotgoodsbrandid
  10331. type: integer
  10332. - description: 型号ID
  10333. in: query
  10334. name: spotgoodsmodelid
  10335. type: integer
  10336. - description: 仓库ID
  10337. in: query
  10338. name: warehouseinfoid
  10339. type: integer
  10340. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10341. in: query
  10342. name: applystatus
  10343. type: string
  10344. produces:
  10345. - application/json
  10346. responses:
  10347. "200":
  10348. description: OK
  10349. schema:
  10350. items:
  10351. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  10352. type: array
  10353. "500":
  10354. description: Internal Server Error
  10355. schema:
  10356. $ref: '#/definitions/app.Response'
  10357. security:
  10358. - ApiKeyAuth: []
  10359. summary: 查询库存申请(出入库记录|库存审核)
  10360. tags:
  10361. - 企业风险管理(app)
  10362. /Ermcp/QueryAreaStockApplySum:
  10363. get:
  10364. parameters:
  10365. - description: 合同ID
  10366. in: query
  10367. name: spotcontractid
  10368. type: integer
  10369. produces:
  10370. - application/json
  10371. responses:
  10372. "200":
  10373. description: OK
  10374. schema:
  10375. items:
  10376. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  10377. type: array
  10378. "500":
  10379. description: Internal Server Error
  10380. schema:
  10381. $ref: '#/definitions/app.Response'
  10382. security:
  10383. - ApiKeyAuth: []
  10384. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  10385. tags:
  10386. - 企业风险管理(app)
  10387. /Ermcp/QueryAvaildGoodsGroup:
  10388. get:
  10389. parameters:
  10390. - description: 所属机构ID
  10391. in: query
  10392. name: userid
  10393. required: true
  10394. type: integer
  10395. produces:
  10396. - application/json
  10397. responses:
  10398. "200":
  10399. description: OK
  10400. schema:
  10401. items:
  10402. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  10403. type: array
  10404. "500":
  10405. description: Internal Server Error
  10406. schema:
  10407. $ref: '#/definitions/app.Response'
  10408. security:
  10409. - ApiKeyAuth: []
  10410. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  10411. tags:
  10412. - 企业风险管理(app)
  10413. /Ermcp/QueryBusinessDj:
  10414. get:
  10415. parameters:
  10416. - description: 用户ID
  10417. in: query
  10418. name: UserId
  10419. required: true
  10420. type: integer
  10421. - description: 现货合同ID, 不填则查所有
  10422. in: query
  10423. name: relatedid
  10424. type: string
  10425. produces:
  10426. - application/json
  10427. responses:
  10428. "200":
  10429. description: OK
  10430. schema:
  10431. items:
  10432. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  10433. type: array
  10434. "500":
  10435. description: Internal Server Error
  10436. schema:
  10437. $ref: '#/definitions/app.Response'
  10438. security:
  10439. - ApiKeyAuth: []
  10440. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  10441. tags:
  10442. - 企业风险管理(app)
  10443. /Ermcp/QueryBusinessFp:
  10444. get:
  10445. parameters:
  10446. - description: 用户ID
  10447. in: query
  10448. name: UserId
  10449. required: true
  10450. type: integer
  10451. - description: 现货合同ID, 不填则查所有
  10452. in: query
  10453. name: relatedid
  10454. type: string
  10455. produces:
  10456. - application/json
  10457. responses:
  10458. "200":
  10459. description: OK
  10460. schema:
  10461. items:
  10462. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  10463. type: array
  10464. "500":
  10465. description: Internal Server Error
  10466. schema:
  10467. $ref: '#/definitions/app.Response'
  10468. security:
  10469. - ApiKeyAuth: []
  10470. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  10471. tags:
  10472. - 企业风险管理(app)
  10473. /Ermcp/QueryBusinessJs:
  10474. get:
  10475. parameters:
  10476. - description: 用户ID
  10477. in: query
  10478. name: UserId
  10479. required: true
  10480. type: integer
  10481. - description: 现货合同ID, 不填则查所有
  10482. in: query
  10483. name: relatedid
  10484. type: string
  10485. produces:
  10486. - application/json
  10487. responses:
  10488. "200":
  10489. description: OK
  10490. schema:
  10491. items:
  10492. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  10493. type: array
  10494. "500":
  10495. description: Internal Server Error
  10496. schema:
  10497. $ref: '#/definitions/app.Response'
  10498. security:
  10499. - ApiKeyAuth: []
  10500. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  10501. tags:
  10502. - 企业风险管理(app)
  10503. /Ermcp/QueryBusinessJsEx:
  10504. get:
  10505. parameters:
  10506. - description: 用户ID
  10507. in: query
  10508. name: UserId
  10509. required: true
  10510. type: integer
  10511. - description: 现货合同ID, 不填则查所有
  10512. in: query
  10513. name: relatedid
  10514. type: string
  10515. produces:
  10516. - application/json
  10517. responses:
  10518. "200":
  10519. description: OK
  10520. schema:
  10521. items:
  10522. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  10523. type: array
  10524. "500":
  10525. description: Internal Server Error
  10526. schema:
  10527. $ref: '#/definitions/app.Response'
  10528. security:
  10529. - ApiKeyAuth: []
  10530. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  10531. tags:
  10532. - 企业风险管理(app)
  10533. /Ermcp/QueryBusinessKx:
  10534. get:
  10535. parameters:
  10536. - description: 用户ID
  10537. in: query
  10538. name: UserId
  10539. required: true
  10540. type: integer
  10541. - description: 现货合同ID, 不填则查所有
  10542. in: query
  10543. name: relatedid
  10544. type: string
  10545. produces:
  10546. - application/json
  10547. responses:
  10548. "200":
  10549. description: OK
  10550. schema:
  10551. items:
  10552. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  10553. type: array
  10554. "500":
  10555. description: Internal Server Error
  10556. schema:
  10557. $ref: '#/definitions/app.Response'
  10558. security:
  10559. - ApiKeyAuth: []
  10560. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  10561. tags:
  10562. - 企业风险管理(app)
  10563. /Ermcp/QueryChangeLog:
  10564. get:
  10565. parameters:
  10566. - description: 合同ID
  10567. in: query
  10568. name: RelatedId
  10569. required: true
  10570. type: string
  10571. produces:
  10572. - application/json
  10573. responses:
  10574. "200":
  10575. description: OK
  10576. schema:
  10577. items:
  10578. $ref: '#/definitions/ermcp.QryOPLogRsp'
  10579. type: array
  10580. "500":
  10581. description: Internal Server Error
  10582. schema:
  10583. $ref: '#/definitions/app.Response'
  10584. security:
  10585. - ApiKeyAuth: []
  10586. summary: 查询变更记录
  10587. tags:
  10588. - 企业风险管理(app)
  10589. /Ermcp/QueryContract:
  10590. get:
  10591. parameters:
  10592. - description: 用户ID
  10593. in: query
  10594. name: userId
  10595. required: true
  10596. type: integer
  10597. - description: 合同类型 1-采购, -1-销售
  10598. in: query
  10599. name: contracttype
  10600. required: true
  10601. type: integer
  10602. - description: 查询类型 1-全部 2-待点价 3-履约结算
  10603. in: query
  10604. name: querytype
  10605. required: true
  10606. type: integer
  10607. produces:
  10608. - application/json
  10609. responses:
  10610. "200":
  10611. description: OK
  10612. schema:
  10613. items:
  10614. $ref: '#/definitions/ermcp.QryErmcpRsp'
  10615. type: array
  10616. "500":
  10617. description: Internal Server Error
  10618. schema:
  10619. $ref: '#/definitions/app.Response'
  10620. security:
  10621. - ApiKeyAuth: []
  10622. summary: 查询合同(采购和销售)
  10623. tags:
  10624. - 企业风险管理(app)
  10625. /Ermcp/QueryErmcpHisOrderDetails:
  10626. get:
  10627. parameters:
  10628. - description: 资金账户ID
  10629. in: query
  10630. name: accountID
  10631. required: true
  10632. type: integer
  10633. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10634. in: query
  10635. name: startDate
  10636. type: string
  10637. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10638. in: query
  10639. name: endDate
  10640. type: string
  10641. produces:
  10642. - application/json
  10643. responses:
  10644. "200":
  10645. description: OK
  10646. schema:
  10647. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10648. "500":
  10649. description: Internal Server Error
  10650. schema:
  10651. $ref: '#/definitions/app.Response'
  10652. security:
  10653. - ApiKeyAuth: []
  10654. summary: 获取企业风管期货历史委托单信息
  10655. tags:
  10656. - 企业风险管理(app)
  10657. /Ermcp/QueryErmcpHisTradeDetails:
  10658. get:
  10659. parameters:
  10660. - description: 资金账户ID
  10661. in: query
  10662. name: accountID
  10663. required: true
  10664. type: integer
  10665. - description: 商品ID
  10666. in: query
  10667. name: goodsID
  10668. type: integer
  10669. - description: 买卖方向,0:买 1:卖
  10670. in: query
  10671. name: buyOrSell
  10672. type: integer
  10673. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10674. in: query
  10675. name: startDate
  10676. type: string
  10677. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10678. in: query
  10679. name: endDate
  10680. type: string
  10681. produces:
  10682. - application/json
  10683. responses:
  10684. "200":
  10685. description: OK
  10686. schema:
  10687. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  10688. "500":
  10689. description: Internal Server Error
  10690. schema:
  10691. $ref: '#/definitions/app.Response'
  10692. security:
  10693. - ApiKeyAuth: []
  10694. summary: 获取企业风管期货历史成交单信息
  10695. tags:
  10696. - 企业风险管理(app)
  10697. /Ermcp/QueryErmcpOrderDetails:
  10698. get:
  10699. parameters:
  10700. - description: 资金账户ID
  10701. in: query
  10702. name: accountID
  10703. required: true
  10704. type: integer
  10705. produces:
  10706. - application/json
  10707. responses:
  10708. "200":
  10709. description: OK
  10710. schema:
  10711. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10712. "500":
  10713. description: Internal Server Error
  10714. schema:
  10715. $ref: '#/definitions/app.Response'
  10716. security:
  10717. - ApiKeyAuth: []
  10718. summary: 获取企业风管期货委托单信息
  10719. tags:
  10720. - 企业风险管理(app)
  10721. /Ermcp/QueryErmcpTradeDetails:
  10722. get:
  10723. parameters:
  10724. - description: 资金账户ID
  10725. in: query
  10726. name: accountID
  10727. required: true
  10728. type: integer
  10729. - description: 商品ID
  10730. in: query
  10731. name: goodsID
  10732. type: integer
  10733. - description: 买卖方向,0:买 1:卖
  10734. in: query
  10735. name: buyOrSell
  10736. type: integer
  10737. produces:
  10738. - application/json
  10739. responses:
  10740. "200":
  10741. description: OK
  10742. schema:
  10743. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  10744. "500":
  10745. description: Internal Server Error
  10746. schema:
  10747. $ref: '#/definitions/app.Response'
  10748. security:
  10749. - ApiKeyAuth: []
  10750. summary: 获取企业风管期货成交单信息
  10751. tags:
  10752. - 企业风险管理(app)
  10753. /Ermcp/QueryErmcpTradePosition:
  10754. get:
  10755. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  10756. parameters:
  10757. - description: 资金账户ID
  10758. in: query
  10759. name: accountID
  10760. required: true
  10761. type: integer
  10762. - description: 所属市场ID
  10763. in: query
  10764. name: marketID
  10765. type: integer
  10766. produces:
  10767. - application/json
  10768. responses:
  10769. "200":
  10770. description: OK
  10771. schema:
  10772. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  10773. "500":
  10774. description: Internal Server Error
  10775. schema:
  10776. $ref: '#/definitions/app.Response'
  10777. security:
  10778. - ApiKeyAuth: []
  10779. summary: 获取企业风管期货持仓头寸信息
  10780. tags:
  10781. - 企业风险管理(app)
  10782. /Ermcp/QueryExposureDetail:
  10783. get:
  10784. parameters:
  10785. - description: 所属机构ID
  10786. in: query
  10787. name: areaUserId
  10788. required: true
  10789. type: integer
  10790. - description: 套保商品
  10791. in: query
  10792. name: middleGoodsId
  10793. required: true
  10794. type: integer
  10795. produces:
  10796. - application/json
  10797. responses:
  10798. "200":
  10799. description: OK
  10800. schema:
  10801. items:
  10802. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  10803. type: array
  10804. "500":
  10805. description: Internal Server Error
  10806. schema:
  10807. $ref: '#/definitions/app.Response'
  10808. security:
  10809. - ApiKeyAuth: []
  10810. summary: 查询敞口现货明细
  10811. tags:
  10812. - 企业风险管理(app)
  10813. /Ermcp/QueryExposureHedgePosition:
  10814. get:
  10815. parameters:
  10816. - description: 所属机构ID
  10817. in: query
  10818. name: areaUserId
  10819. required: true
  10820. type: integer
  10821. produces:
  10822. - application/json
  10823. responses:
  10824. "200":
  10825. description: OK
  10826. schema:
  10827. items:
  10828. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  10829. type: array
  10830. "500":
  10831. description: Internal Server Error
  10832. schema:
  10833. $ref: '#/definitions/app.Response'
  10834. security:
  10835. - ApiKeyAuth: []
  10836. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  10837. tags:
  10838. - 企业风险管理(app)
  10839. /Ermcp/QueryExposureHedgePositionDetail:
  10840. get:
  10841. parameters:
  10842. - description: 所属机构ID
  10843. in: query
  10844. name: areaUserId
  10845. required: true
  10846. type: integer
  10847. - description: 商品id
  10848. in: query
  10849. name: goodsId
  10850. required: true
  10851. type: integer
  10852. produces:
  10853. - application/json
  10854. responses:
  10855. "200":
  10856. description: OK
  10857. schema:
  10858. items:
  10859. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  10860. type: array
  10861. "500":
  10862. description: Internal Server Error
  10863. schema:
  10864. $ref: '#/definitions/app.Response'
  10865. security:
  10866. - ApiKeyAuth: []
  10867. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  10868. tags:
  10869. - 企业风险管理(app)
  10870. /Ermcp/QueryExposureSpot:
  10871. get:
  10872. parameters:
  10873. - description: 所属机构ID
  10874. in: query
  10875. name: areaUserId
  10876. required: true
  10877. type: integer
  10878. produces:
  10879. - application/json
  10880. responses:
  10881. "200":
  10882. description: OK
  10883. schema:
  10884. items:
  10885. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  10886. type: array
  10887. "500":
  10888. description: Internal Server Error
  10889. schema:
  10890. $ref: '#/definitions/app.Response'
  10891. security:
  10892. - ApiKeyAuth: []
  10893. summary: 查询敞口现货头寸(敞口/现货头寸)
  10894. tags:
  10895. - 企业风险管理(app)
  10896. /Ermcp/QueryExposureSpotDetail:
  10897. get:
  10898. parameters:
  10899. - description: 所属机构ID
  10900. in: query
  10901. name: areaUserId
  10902. required: true
  10903. type: integer
  10904. - description: 现货品种ID
  10905. in: query
  10906. name: wrstandardId
  10907. required: true
  10908. type: integer
  10909. produces:
  10910. - application/json
  10911. responses:
  10912. "200":
  10913. description: OK
  10914. schema:
  10915. items:
  10916. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  10917. type: array
  10918. "500":
  10919. description: Internal Server Error
  10920. schema:
  10921. $ref: '#/definitions/app.Response'
  10922. security:
  10923. - ApiKeyAuth: []
  10924. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  10925. tags:
  10926. - 企业风险管理(app)
  10927. /Ermcp/QueryGGConvertConfig:
  10928. get:
  10929. parameters:
  10930. - description: 品种id(不填则查所有)
  10931. in: query
  10932. name: goodsgroupid
  10933. type: integer
  10934. produces:
  10935. - application/json
  10936. responses:
  10937. "200":
  10938. description: OK
  10939. schema:
  10940. items:
  10941. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  10942. type: array
  10943. "500":
  10944. description: Internal Server Error
  10945. schema:
  10946. $ref: '#/definitions/app.Response'
  10947. security:
  10948. - ApiKeyAuth: []
  10949. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  10950. tags:
  10951. - 企业风险管理(app)
  10952. /Ermcp/QueryHedgePlan:
  10953. get:
  10954. parameters:
  10955. - description: 用户ID
  10956. in: query
  10957. name: userId
  10958. required: true
  10959. type: integer
  10960. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  10961. in: query
  10962. name: HedgePlanStatus
  10963. required: true
  10964. type: string
  10965. produces:
  10966. - application/json
  10967. responses:
  10968. "200":
  10969. description: OK
  10970. schema:
  10971. items:
  10972. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  10973. type: array
  10974. "500":
  10975. description: Internal Server Error
  10976. schema:
  10977. $ref: '#/definitions/app.Response'
  10978. security:
  10979. - ApiKeyAuth: []
  10980. summary: 查询套保计划
  10981. tags:
  10982. - 企业风险管理(app)
  10983. /Ermcp/QueryHisExposure:
  10984. get:
  10985. parameters:
  10986. - description: 所属机构ID
  10987. in: query
  10988. name: areaUserId
  10989. required: true
  10990. type: integer
  10991. - description: 每个品种记录数
  10992. in: query
  10993. name: lastNum
  10994. required: true
  10995. type: integer
  10996. produces:
  10997. - application/json
  10998. responses:
  10999. "200":
  11000. description: OK
  11001. schema:
  11002. items:
  11003. $ref: '#/definitions/ermcp.HisExposureRsp'
  11004. type: array
  11005. "500":
  11006. description: Internal Server Error
  11007. schema:
  11008. $ref: '#/definitions/app.Response'
  11009. security:
  11010. - ApiKeyAuth: []
  11011. summary: 查询历史敞口(菜单:敞口/历史敞口)
  11012. tags:
  11013. - 企业风险管理(app)
  11014. /Ermcp/QueryMiddleGoods:
  11015. get:
  11016. parameters:
  11017. - description: 所属机构ID
  11018. in: query
  11019. name: userid
  11020. required: true
  11021. type: integer
  11022. - description: 状态 0-停用 1-正常
  11023. in: query
  11024. name: status
  11025. required: true
  11026. type: integer
  11027. produces:
  11028. - application/json
  11029. responses:
  11030. "200":
  11031. description: OK
  11032. schema:
  11033. items:
  11034. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  11035. type: array
  11036. "500":
  11037. description: Internal Server Error
  11038. schema:
  11039. $ref: '#/definitions/app.Response'
  11040. security:
  11041. - ApiKeyAuth: []
  11042. summary: 查询套保品种(菜单:套保品种)
  11043. tags:
  11044. - 企业风险管理(app)
  11045. /Ermcp/QueryMiddleGoodsChangeLog:
  11046. get:
  11047. parameters:
  11048. - description: 所属机构ID
  11049. in: query
  11050. name: userid
  11051. required: true
  11052. type: integer
  11053. - description: 套保品种id
  11054. in: query
  11055. name: middlegoodsid
  11056. required: true
  11057. type: integer
  11058. produces:
  11059. - application/json
  11060. responses:
  11061. "200":
  11062. description: OK
  11063. schema:
  11064. items:
  11065. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  11066. type: array
  11067. "500":
  11068. description: Internal Server Error
  11069. schema:
  11070. $ref: '#/definitions/app.Response'
  11071. security:
  11072. - ApiKeyAuth: []
  11073. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  11074. tags:
  11075. - 企业风险管理(app)
  11076. /Ermcp/QueryMiddleGoodsDetail:
  11077. get:
  11078. parameters:
  11079. - description: 所属机构ID
  11080. in: query
  11081. name: userid
  11082. required: true
  11083. type: integer
  11084. - description: 套保品种id
  11085. in: query
  11086. name: middlegoodsid
  11087. required: true
  11088. type: integer
  11089. produces:
  11090. - application/json
  11091. responses:
  11092. "200":
  11093. description: OK
  11094. schema:
  11095. items:
  11096. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  11097. type: array
  11098. "500":
  11099. description: Internal Server Error
  11100. schema:
  11101. $ref: '#/definitions/app.Response'
  11102. security:
  11103. - ApiKeyAuth: []
  11104. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  11105. tags:
  11106. - 企业风险管理(app)
  11107. /Ermcp/QueryPendingAuditInfo:
  11108. get:
  11109. parameters:
  11110. - description: 用户ID
  11111. in: query
  11112. name: UserId
  11113. required: true
  11114. type: integer
  11115. produces:
  11116. - application/json
  11117. responses:
  11118. "200":
  11119. description: OK
  11120. schema:
  11121. items:
  11122. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  11123. type: array
  11124. "500":
  11125. description: Internal Server Error
  11126. schema:
  11127. $ref: '#/definitions/app.Response'
  11128. security:
  11129. - ApiKeyAuth: []
  11130. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  11131. tags:
  11132. - 企业风险管理(app)
  11133. /Ermcp/QueryRealtimeExposure:
  11134. get:
  11135. parameters:
  11136. - description: 所属机构ID
  11137. in: query
  11138. name: AreaUserID
  11139. required: true
  11140. type: integer
  11141. produces:
  11142. - application/json
  11143. responses:
  11144. "200":
  11145. description: OK
  11146. schema:
  11147. items:
  11148. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  11149. type: array
  11150. "500":
  11151. description: Internal Server Error
  11152. schema:
  11153. $ref: '#/definitions/app.Response'
  11154. security:
  11155. - ApiKeyAuth: []
  11156. summary: 查询实时敞口
  11157. tags:
  11158. - 企业风险管理(app)
  11159. /Ermcp/QueryRealtimeExposurePosition:
  11160. get:
  11161. parameters:
  11162. - description: 所属机构ID
  11163. in: query
  11164. name: areaUserId
  11165. required: true
  11166. type: integer
  11167. - description: 套保商品ID
  11168. in: query
  11169. name: middleGoodsId
  11170. required: true
  11171. type: integer
  11172. produces:
  11173. - application/json
  11174. responses:
  11175. "200":
  11176. description: OK
  11177. schema:
  11178. items:
  11179. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  11180. type: array
  11181. "500":
  11182. description: Internal Server Error
  11183. schema:
  11184. $ref: '#/definitions/app.Response'
  11185. security:
  11186. - ApiKeyAuth: []
  11187. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  11188. tags:
  11189. - 企业风险管理(app)
  11190. /Ermcp/QuerySpotContract:
  11191. get:
  11192. parameters:
  11193. - description: 用户ID
  11194. in: query
  11195. name: userId
  11196. required: true
  11197. type: integer
  11198. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  11199. in: query
  11200. name: QueryType
  11201. required: true
  11202. type: integer
  11203. produces:
  11204. - application/json
  11205. responses:
  11206. "200":
  11207. description: OK
  11208. schema:
  11209. items:
  11210. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  11211. type: array
  11212. "500":
  11213. description: Internal Server Error
  11214. schema:
  11215. $ref: '#/definitions/app.Response'
  11216. security:
  11217. - ApiKeyAuth: []
  11218. summary: 查询现货合同(对应现货合同菜单)
  11219. tags:
  11220. - 企业风险管理(app)
  11221. /Ermcp/QueryUserInfo:
  11222. get:
  11223. parameters:
  11224. - description: 所属机构用户ID
  11225. in: query
  11226. name: MemberUserID
  11227. required: true
  11228. type: integer
  11229. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  11230. in: query
  11231. name: queryType
  11232. required: true
  11233. type: integer
  11234. produces:
  11235. - application/json
  11236. responses:
  11237. "200":
  11238. description: OK
  11239. schema:
  11240. items:
  11241. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  11242. type: array
  11243. "500":
  11244. description: Internal Server Error
  11245. schema:
  11246. $ref: '#/definitions/app.Response'
  11247. security:
  11248. - ApiKeyAuth: []
  11249. summary: 查询客户资料
  11250. tags:
  11251. - 企业风险管理(app)
  11252. /Ermcp/QueryWarehouseInfo:
  11253. get:
  11254. parameters:
  11255. - description: 用户ID
  11256. in: query
  11257. name: userid
  11258. required: true
  11259. type: integer
  11260. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  11261. in: query
  11262. name: status
  11263. type: string
  11264. produces:
  11265. - application/json
  11266. responses:
  11267. "200":
  11268. description: OK
  11269. schema:
  11270. items:
  11271. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  11272. type: array
  11273. "500":
  11274. description: Internal Server Error
  11275. schema:
  11276. $ref: '#/definitions/app.Response'
  11277. security:
  11278. - ApiKeyAuth: []
  11279. summary: 查询仓库信息
  11280. tags:
  11281. - 企业风险管理(app)
  11282. /Ermcp/QueryWrStandard:
  11283. get:
  11284. parameters:
  11285. - description: 所属机构ID
  11286. in: query
  11287. name: userid
  11288. required: true
  11289. type: integer
  11290. - description: 状态 0-停用 1-正常
  11291. in: query
  11292. name: status
  11293. required: true
  11294. type: integer
  11295. produces:
  11296. - application/json
  11297. responses:
  11298. "200":
  11299. description: OK
  11300. schema:
  11301. items:
  11302. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  11303. type: array
  11304. "500":
  11305. description: Internal Server Error
  11306. schema:
  11307. $ref: '#/definitions/app.Response'
  11308. security:
  11309. - ApiKeyAuth: []
  11310. summary: 查询现货商品
  11311. tags:
  11312. - 企业风险管理(app)
  11313. /Ermcp/QueryWrStandardDetail:
  11314. get:
  11315. parameters:
  11316. - description: 所属机构ID
  11317. in: query
  11318. name: userid
  11319. required: true
  11320. type: integer
  11321. - description: 现货商品ID
  11322. in: query
  11323. name: wrstandardid
  11324. required: true
  11325. type: integer
  11326. - description: 可不填, 1-查询关联交易商品
  11327. in: query
  11328. name: goods
  11329. type: integer
  11330. produces:
  11331. - application/json
  11332. responses:
  11333. "200":
  11334. description: OK
  11335. schema:
  11336. items:
  11337. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  11338. type: array
  11339. "500":
  11340. description: Internal Server Error
  11341. schema:
  11342. $ref: '#/definitions/app.Response'
  11343. security:
  11344. - ApiKeyAuth: []
  11345. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  11346. tags:
  11347. - 企业风险管理(app)
  11348. /Erms2/QueryArbitrageStrategy:
  11349. get:
  11350. parameters:
  11351. - description: 账户ID
  11352. in: query
  11353. name: userid
  11354. required: true
  11355. type: integer
  11356. - description: 商品组ID(品种ID)
  11357. in: query
  11358. name: goodsgroupid
  11359. type: string
  11360. produces:
  11361. - application/json
  11362. responses:
  11363. "200":
  11364. description: OK
  11365. schema:
  11366. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  11367. "500":
  11368. description: Internal Server Error
  11369. schema:
  11370. $ref: '#/definitions/app.Response'
  11371. security:
  11372. - ApiKeyAuth: []
  11373. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  11374. tags:
  11375. - 风险管理
  11376. /Erms2/QueryInnerTradeDetail:
  11377. get:
  11378. parameters:
  11379. - description: 资金账户
  11380. in: query
  11381. name: accountid
  11382. required: true
  11383. type: integer
  11384. produces:
  11385. - application/json
  11386. responses:
  11387. "200":
  11388. description: OK
  11389. schema:
  11390. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  11391. "500":
  11392. description: Internal Server Error
  11393. schema:
  11394. $ref: '#/definitions/app.Response'
  11395. security:
  11396. - ApiKeyAuth: []
  11397. summary: 查询内部成交单信息
  11398. tags:
  11399. - 风险管理
  11400. /Erms2/QuerySpotContract:
  11401. get:
  11402. parameters:
  11403. - description: 策略申请ID
  11404. in: query
  11405. name: asapplyid
  11406. required: true
  11407. type: integer
  11408. - description: 现货合同ID
  11409. in: query
  11410. name: spotcontractid
  11411. type: integer
  11412. produces:
  11413. - application/json
  11414. responses:
  11415. "200":
  11416. description: OK
  11417. schema:
  11418. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  11419. "500":
  11420. description: Internal Server Error
  11421. schema:
  11422. $ref: '#/definitions/app.Response'
  11423. security:
  11424. - ApiKeyAuth: []
  11425. summary: 查询现货合同表信息(指定策略ID、未结束的)
  11426. tags:
  11427. - 风险管理
  11428. /Erms3/AddErms2ASApply:
  11429. post:
  11430. parameters:
  11431. - description: 申请参数
  11432. in: body
  11433. name: jsonBody
  11434. required: true
  11435. schema:
  11436. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  11437. produces:
  11438. - application/json
  11439. responses:
  11440. "200":
  11441. description: OK
  11442. schema:
  11443. $ref: '#/definitions/app.Response'
  11444. "500":
  11445. description: Internal Server Error
  11446. schema:
  11447. $ref: '#/definitions/app.Response'
  11448. security:
  11449. - ApiKeyAuth: []
  11450. summary: 新增期现套利业务申请
  11451. tags:
  11452. - 风险管理v3
  11453. /Erms3/AddErms2SpotTradeApply:
  11454. post:
  11455. parameters:
  11456. - description: 申请参数
  11457. in: body
  11458. name: jsonBody
  11459. required: true
  11460. schema:
  11461. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  11462. produces:
  11463. - application/json
  11464. responses:
  11465. "200":
  11466. description: OK
  11467. schema:
  11468. $ref: '#/definitions/app.Response'
  11469. "500":
  11470. description: Internal Server Error
  11471. schema:
  11472. $ref: '#/definitions/app.Response'
  11473. security:
  11474. - ApiKeyAuth: []
  11475. summary: 新增现货贸易业务申请
  11476. tags:
  11477. - 风险管理v3
  11478. /Erms3/AddSpotContractApply:
  11479. post:
  11480. parameters:
  11481. - description: 申请参数
  11482. in: body
  11483. name: jsonBody
  11484. required: true
  11485. schema:
  11486. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  11487. produces:
  11488. - application/json
  11489. responses:
  11490. "200":
  11491. description: OK
  11492. schema:
  11493. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  11494. "500":
  11495. description: Internal Server Error
  11496. schema:
  11497. $ref: '#/definitions/app.Response'
  11498. security:
  11499. - ApiKeyAuth: []
  11500. summary: 新增现货合同申请
  11501. tags:
  11502. - 风险管理v3
  11503. /Erms3/AddUserInfoApply:
  11504. post:
  11505. parameters:
  11506. - description: 用户信息
  11507. in: body
  11508. name: jsonBody
  11509. required: true
  11510. schema:
  11511. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  11512. produces:
  11513. - application/json
  11514. responses:
  11515. "200":
  11516. description: OK
  11517. schema:
  11518. $ref: '#/definitions/app.Response'
  11519. "500":
  11520. description: Internal Server Error
  11521. schema:
  11522. $ref: '#/definitions/app.Response'
  11523. security:
  11524. - ApiKeyAuth: []
  11525. summary: 新增客户申请
  11526. tags:
  11527. - 风险管理v3
  11528. /Erms3/ModifyUserInfoApply:
  11529. post:
  11530. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  11531. int, "userstate": 2 }'
  11532. parameters:
  11533. - description: 用户信息
  11534. in: body
  11535. name: jsonBody
  11536. required: true
  11537. schema:
  11538. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  11539. produces:
  11540. - application/json
  11541. responses:
  11542. "200":
  11543. description: OK
  11544. schema:
  11545. $ref: '#/definitions/app.Response'
  11546. "500":
  11547. description: Internal Server Error
  11548. schema:
  11549. $ref: '#/definitions/app.Response'
  11550. security:
  11551. - ApiKeyAuth: []
  11552. summary: 修改客户申请
  11553. tags:
  11554. - 风险管理v3
  11555. /Erms3/QueryBusinessInfo:
  11556. get:
  11557. parameters:
  11558. - description: 资金账号ID列表,用逗号分隔
  11559. in: query
  11560. name: accountids
  11561. required: true
  11562. type: string
  11563. - description: 状态,0为未结束 1为已结束
  11564. in: query
  11565. name: status
  11566. required: true
  11567. type: integer
  11568. produces:
  11569. - application/json
  11570. responses:
  11571. "200":
  11572. description: OK
  11573. schema:
  11574. items:
  11575. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  11576. type: array
  11577. "500":
  11578. description: Internal Server Error
  11579. schema:
  11580. $ref: '#/definitions/app.Response'
  11581. security:
  11582. - ApiKeyAuth: []
  11583. summary: 查询业务表单数据
  11584. tags:
  11585. - 风险管理v3
  11586. /Erms3/QueryPendingAuditContract:
  11587. get:
  11588. parameters:
  11589. - description: 资金账号ID列表,逗号隔开
  11590. in: query
  11591. name: accountids
  11592. required: true
  11593. type: string
  11594. - description: 合同类型 1-采购 -1-销售
  11595. in: query
  11596. name: contracttype
  11597. required: true
  11598. type: integer
  11599. - description: 合同模式 1-普通 2-回购
  11600. in: query
  11601. name: contractmode
  11602. required: true
  11603. type: integer
  11604. produces:
  11605. - application/json
  11606. responses:
  11607. "200":
  11608. description: OK
  11609. schema:
  11610. items:
  11611. $ref: '#/definitions/erms3.QryAuditContractRsp'
  11612. type: array
  11613. "500":
  11614. description: Internal Server Error
  11615. schema:
  11616. $ref: '#/definitions/app.Response'
  11617. security:
  11618. - ApiKeyAuth: []
  11619. summary: 查询待审核合同
  11620. tags:
  11621. - 风险管理v3
  11622. /Erms3/QueryPendingBusiness:
  11623. get:
  11624. parameters:
  11625. - description: 资金账号ID列表,逗号隔开
  11626. in: query
  11627. name: accountids
  11628. required: true
  11629. type: string
  11630. produces:
  11631. - application/json
  11632. responses:
  11633. "200":
  11634. description: OK
  11635. schema:
  11636. items:
  11637. $ref: '#/definitions/erms3.QryPendingBizRsp'
  11638. type: array
  11639. "500":
  11640. description: Internal Server Error
  11641. schema:
  11642. $ref: '#/definitions/app.Response'
  11643. security:
  11644. - ApiKeyAuth: []
  11645. summary: 查询待审核基差贸易业务
  11646. tags:
  11647. - 风险管理v3
  11648. /Erms3/QuerySpotContractAppleForm:
  11649. get:
  11650. parameters:
  11651. - description: 登录账号
  11652. in: query
  11653. name: loginID
  11654. required: true
  11655. type: integer
  11656. produces:
  11657. - application/json
  11658. responses:
  11659. "200":
  11660. description: OK
  11661. schema:
  11662. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  11663. "500":
  11664. description: Internal Server Error
  11665. schema:
  11666. $ref: '#/definitions/app.Response'
  11667. security:
  11668. - ApiKeyAuth: []
  11669. summary: 查询合同申请表单数据
  11670. tags:
  11671. - 风险管理v3
  11672. /Erms3/QuerySpotContractDetail:
  11673. get:
  11674. parameters:
  11675. - description: 资金账号ID列表,用逗号分隔
  11676. in: query
  11677. name: accountids
  11678. required: true
  11679. type: string
  11680. - description: 合同类型,1为采购合同 -1为销售合同
  11681. in: query
  11682. name: contracttype
  11683. required: true
  11684. type: integer
  11685. - description: 合同模式,1为普通合同 2为回购销售合同
  11686. in: query
  11687. name: contractmode
  11688. required: true
  11689. type: integer
  11690. - description: 状态,0为履约中 1为已完成
  11691. in: query
  11692. name: status
  11693. required: true
  11694. type: integer
  11695. produces:
  11696. - application/json
  11697. responses:
  11698. "200":
  11699. description: OK
  11700. schema:
  11701. items:
  11702. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  11703. type: array
  11704. "500":
  11705. description: Internal Server Error
  11706. schema:
  11707. $ref: '#/definitions/app.Response'
  11708. security:
  11709. - ApiKeyAuth: []
  11710. summary: 查询合同详细信息
  11711. tags:
  11712. - 风险管理v3
  11713. /Erms3/QueryUserInfoApplies:
  11714. get:
  11715. parameters:
  11716. - description: 页码
  11717. in: query
  11718. name: page
  11719. type: integer
  11720. - description: 每页条数
  11721. in: query
  11722. name: pagesize
  11723. type: integer
  11724. - description: 客户名称,支持模糊查询
  11725. in: query
  11726. name: userName
  11727. type: string
  11728. produces:
  11729. - application/json
  11730. responses:
  11731. "200":
  11732. description: OK
  11733. schema:
  11734. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  11735. "500":
  11736. description: Internal Server Error
  11737. schema:
  11738. $ref: '#/definitions/app.Response'
  11739. security:
  11740. - ApiKeyAuth: []
  11741. summary: 客户申请信息查询
  11742. tags:
  11743. - 风险管理v3
  11744. /Erms3/QueryUserInfos:
  11745. get:
  11746. parameters:
  11747. - description: 页码
  11748. in: query
  11749. name: page
  11750. type: integer
  11751. - description: 每页条数
  11752. in: query
  11753. name: pagesize
  11754. type: integer
  11755. - description: 客户名称,支持模糊查询
  11756. in: query
  11757. name: userName
  11758. type: string
  11759. produces:
  11760. - application/json
  11761. responses:
  11762. "200":
  11763. description: OK
  11764. schema:
  11765. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  11766. "500":
  11767. description: Internal Server Error
  11768. schema:
  11769. $ref: '#/definitions/app.Response'
  11770. security:
  11771. - ApiKeyAuth: []
  11772. summary: 客户信息查询
  11773. tags:
  11774. - 风险管理v3
  11775. /HSBY/GetHsbyMyCount:
  11776. get:
  11777. description: 说明: 不包括已完成的数量。
  11778. parameters:
  11779. - description: 资金账户列表,格式:1,2,3
  11780. in: query
  11781. name: accountIDs
  11782. required: true
  11783. type: string
  11784. produces:
  11785. - application/json
  11786. responses:
  11787. "200":
  11788. description: OK
  11789. schema:
  11790. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  11791. "500":
  11792. description: Internal Server Error
  11793. schema:
  11794. $ref: '#/definitions/app.Response'
  11795. security:
  11796. - ApiKeyAuth: []
  11797. summary: 获取我的订单与包裹数量
  11798. tags:
  11799. - 定制【海商报业】
  11800. /HSBY/QueryClientFixedADConfigs:
  11801. get:
  11802. produces:
  11803. - application/json
  11804. responses:
  11805. "200":
  11806. description: OK
  11807. schema:
  11808. $ref: '#/definitions/models.Clientfixedadconfig'
  11809. "500":
  11810. description: Internal Server Error
  11811. schema:
  11812. $ref: '#/definitions/app.Response'
  11813. security:
  11814. - ApiKeyAuth: []
  11815. summary: 获取终端固定广告配置
  11816. tags:
  11817. - 定制【海商报业】
  11818. /HSBY/QueryHsbyBuyMyTradeDetail:
  11819. get:
  11820. parameters:
  11821. - description: 页码
  11822. in: query
  11823. name: page
  11824. type: integer
  11825. - description: 每页条数
  11826. in: query
  11827. name: pagesize
  11828. type: integer
  11829. - description: 资金账户列表,格式:1,2,3
  11830. in: query
  11831. name: accountIDs
  11832. required: true
  11833. type: string
  11834. produces:
  11835. - application/json
  11836. responses:
  11837. "200":
  11838. description: OK
  11839. schema:
  11840. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  11841. "500":
  11842. description: Internal Server Error
  11843. schema:
  11844. $ref: '#/definitions/app.Response'
  11845. security:
  11846. - ApiKeyAuth: []
  11847. summary: 查询"我的订单 - 已完成"单据信息
  11848. tags:
  11849. - 定制【海商报业】
  11850. /HSBY/QueryHsbyGoodsOrderDetails:
  11851. get:
  11852. description: 说明:查询结果已按委托价格和委托时间排序
  11853. parameters:
  11854. - description: 商品ID
  11855. in: query
  11856. name: goodsID
  11857. required: true
  11858. type: integer
  11859. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  11860. in: query
  11861. name: accountIDs
  11862. type: string
  11863. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  11864. in: query
  11865. name: buyOrSell
  11866. type: integer
  11867. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  11868. in: query
  11869. name: price
  11870. type: number
  11871. - description: 档位,不传则默认为3档
  11872. in: query
  11873. name: speed
  11874. type: integer
  11875. produces:
  11876. - application/json
  11877. responses:
  11878. "200":
  11879. description: OK
  11880. schema:
  11881. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  11882. "500":
  11883. description: Internal Server Error
  11884. schema:
  11885. $ref: '#/definitions/app.Response'
  11886. security:
  11887. - ApiKeyAuth: []
  11888. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  11889. tags:
  11890. - 定制【海商报业】
  11891. /HSBY/QueryHsbyListingGoodsDetail:
  11892. get:
  11893. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  11894. parameters:
  11895. - description: 商品ID
  11896. in: query
  11897. name: goodsID
  11898. required: true
  11899. type: integer
  11900. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  11901. in: query
  11902. name: accountID
  11903. type: integer
  11904. produces:
  11905. - application/json
  11906. responses:
  11907. "200":
  11908. description: OK
  11909. schema:
  11910. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  11911. "500":
  11912. description: Internal Server Error
  11913. schema:
  11914. $ref: '#/definitions/app.Response'
  11915. security:
  11916. - ApiKeyAuth: []
  11917. summary: 查询二级市场(挂牌点选)商品信息详情
  11918. tags:
  11919. - 定制【海商报业】
  11920. /HSBY/QueryHsbyMarketGoodsDetail:
  11921. get:
  11922. parameters:
  11923. - description: 委托单号
  11924. in: query
  11925. name: orderID
  11926. required: true
  11927. type: integer
  11928. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  11929. in: query
  11930. name: accountID
  11931. type: integer
  11932. produces:
  11933. - application/json
  11934. responses:
  11935. "200":
  11936. description: OK
  11937. schema:
  11938. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11939. "500":
  11940. description: Internal Server Error
  11941. schema:
  11942. $ref: '#/definitions/app.Response'
  11943. security:
  11944. - ApiKeyAuth: []
  11945. summary: 查询三级市场(商城)商品信息详情
  11946. tags:
  11947. - 定制【海商报业】
  11948. /HSBY/QueryHsbyMarketGoodses:
  11949. get:
  11950. parameters:
  11951. - description: 页码
  11952. in: query
  11953. name: page
  11954. type: integer
  11955. - description: 每页条数
  11956. in: query
  11957. name: pagesize
  11958. type: integer
  11959. - description: 市场ID列表,格式:1,2,3
  11960. in: query
  11961. name: marketIDs
  11962. required: true
  11963. type: string
  11964. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  11965. in: query
  11966. name: accountID
  11967. required: true
  11968. type: integer
  11969. - description: 类别ID
  11970. in: query
  11971. name: categoryID
  11972. type: integer
  11973. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11974. in: query
  11975. name: goodsIDs
  11976. type: string
  11977. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  11978. in: query
  11979. name: couponTypeID
  11980. type: integer
  11981. produces:
  11982. - application/json
  11983. responses:
  11984. "200":
  11985. description: OK
  11986. schema:
  11987. $ref: '#/definitions/models.HsbyMarketGoods'
  11988. "500":
  11989. description: Internal Server Error
  11990. schema:
  11991. $ref: '#/definitions/app.Response'
  11992. security:
  11993. - ApiKeyAuth: []
  11994. summary: 查询特卖商品列表(三级商城)
  11995. tags:
  11996. - 定制【海商报业】
  11997. /HSBY/QueryHsbyMarkets:
  11998. get:
  11999. produces:
  12000. - application/json
  12001. responses:
  12002. "200":
  12003. description: OK
  12004. schema:
  12005. $ref: '#/definitions/models.HsbyMarketInfo'
  12006. "500":
  12007. description: Internal Server Error
  12008. schema:
  12009. $ref: '#/definitions/app.Response'
  12010. security:
  12011. - ApiKeyAuth: []
  12012. summary: 查询海商报业相关市场信息
  12013. tags:
  12014. - 定制【海商报业】
  12015. /HSBY/QueryHsbyMyBuyOrderDetails:
  12016. get:
  12017. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  12018. parameters:
  12019. - description: 资金账户列表,格式:1,2,3
  12020. in: query
  12021. name: accountIDs
  12022. required: true
  12023. type: string
  12024. produces:
  12025. - application/json
  12026. responses:
  12027. "200":
  12028. description: OK
  12029. schema:
  12030. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  12031. "500":
  12032. description: Internal Server Error
  12033. schema:
  12034. $ref: '#/definitions/app.Response'
  12035. security:
  12036. - ApiKeyAuth: []
  12037. summary: 查询“我的订单”信息
  12038. tags:
  12039. - 定制【海商报业】
  12040. /HSBY/QueryHsbyMyGoods:
  12041. get:
  12042. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  12043. parameters:
  12044. - description: 资金账户列表,格式:1,2,3
  12045. in: query
  12046. name: accountIDs
  12047. required: true
  12048. type: string
  12049. produces:
  12050. - application/json
  12051. responses:
  12052. "200":
  12053. description: OK
  12054. schema:
  12055. $ref: '#/definitions/models.HsbyMyGoods'
  12056. "500":
  12057. description: Internal Server Error
  12058. schema:
  12059. $ref: '#/definitions/app.Response'
  12060. security:
  12061. - ApiKeyAuth: []
  12062. summary: 查询“我的商品”信息
  12063. tags:
  12064. - 定制【海商报业】
  12065. /HSBY/QueryHsbyMyPackages:
  12066. get:
  12067. parameters:
  12068. - description: 资金账户列表,格式:1,2,3
  12069. in: query
  12070. name: accountIDs
  12071. required: true
  12072. type: string
  12073. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12074. in: query
  12075. name: takeOrderStatus
  12076. type: integer
  12077. produces:
  12078. - application/json
  12079. responses:
  12080. "200":
  12081. description: OK
  12082. schema:
  12083. $ref: '#/definitions/models.HsbyMyPackage'
  12084. "500":
  12085. description: Internal Server Error
  12086. schema:
  12087. $ref: '#/definitions/app.Response'
  12088. security:
  12089. - ApiKeyAuth: []
  12090. summary: 查询我的包裹信息
  12091. tags:
  12092. - 定制【海商报业】
  12093. /HSBY/QueryHsbyPreGoodsDetail:
  12094. get:
  12095. parameters:
  12096. - description: 商品ID
  12097. in: query
  12098. name: goodsID
  12099. required: true
  12100. type: integer
  12101. - description: 资金账户,主要用于获取预售商品购买上限
  12102. in: query
  12103. name: accountID
  12104. type: integer
  12105. produces:
  12106. - application/json
  12107. responses:
  12108. "200":
  12109. description: OK
  12110. schema:
  12111. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  12112. "500":
  12113. description: Internal Server Error
  12114. schema:
  12115. $ref: '#/definitions/app.Response'
  12116. security:
  12117. - ApiKeyAuth: []
  12118. summary: 查询一级市场(预售)商品信息详情
  12119. tags:
  12120. - 定制【海商报业】
  12121. /HSBY/QueryHsbyPreGoodses:
  12122. get:
  12123. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  12124. parameters:
  12125. - description: 页码
  12126. in: query
  12127. name: page
  12128. type: integer
  12129. - description: 每页条数
  12130. in: query
  12131. name: pagesize
  12132. type: integer
  12133. - description: 市场ID列表,格式:1,2,3
  12134. in: query
  12135. name: marketIDs
  12136. required: true
  12137. type: string
  12138. - description: 目的地(省)ID
  12139. in: query
  12140. name: descProvinceID
  12141. type: integer
  12142. - description: 目的地(市)ID
  12143. in: query
  12144. name: descCityID
  12145. type: integer
  12146. produces:
  12147. - application/json
  12148. responses:
  12149. "200":
  12150. description: OK
  12151. schema:
  12152. $ref: '#/definitions/models.HsbyPreGoods'
  12153. "500":
  12154. description: Internal Server Error
  12155. schema:
  12156. $ref: '#/definitions/app.Response'
  12157. security:
  12158. - ApiKeyAuth: []
  12159. summary: 查询新品上市商品列表(一级市场预售)
  12160. tags:
  12161. - 定制【海商报业】
  12162. /HSBY/QueryHsbySellMyDetails:
  12163. get:
  12164. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  12165. parameters:
  12166. - description: 页码
  12167. in: query
  12168. name: page
  12169. type: integer
  12170. - description: 每页条数
  12171. in: query
  12172. name: pagesize
  12173. type: integer
  12174. - description: 资金账户列表,格式:1,2,3
  12175. in: query
  12176. name: accountIDs
  12177. required: true
  12178. type: string
  12179. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  12180. in: query
  12181. name: orderType
  12182. type: integer
  12183. produces:
  12184. - application/json
  12185. responses:
  12186. "200":
  12187. description: OK
  12188. schema:
  12189. $ref: '#/definitions/models.HsbySellMyDetail'
  12190. "500":
  12191. description: Internal Server Error
  12192. schema:
  12193. $ref: '#/definitions/app.Response'
  12194. security:
  12195. - ApiKeyAuth: []
  12196. summary: 查询"我的闲置"单据信息
  12197. tags:
  12198. - 定制【海商报业】
  12199. /HSBY/QueryHsbyTopGoodses:
  12200. get:
  12201. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  12202. parameters:
  12203. - description: 页码
  12204. in: query
  12205. name: page
  12206. type: integer
  12207. - description: 每页条数
  12208. in: query
  12209. name: pagesize
  12210. type: integer
  12211. - description: 市场ID列表,格式:1,2,3
  12212. in: query
  12213. name: marketIDs
  12214. required: true
  12215. type: string
  12216. - description: 目的地(省)ID
  12217. in: query
  12218. name: descProvinceID
  12219. type: integer
  12220. - description: 目的地(市)ID
  12221. in: query
  12222. name: descCityID
  12223. type: integer
  12224. produces:
  12225. - application/json
  12226. responses:
  12227. "200":
  12228. description: OK
  12229. schema:
  12230. $ref: '#/definitions/models.HsbyTopGoods'
  12231. "500":
  12232. description: Internal Server Error
  12233. schema:
  12234. $ref: '#/definitions/app.Response'
  12235. security:
  12236. - ApiKeyAuth: []
  12237. summary: 查询热卖商品列表(二级市场挂牌点选)
  12238. tags:
  12239. - 定制【海商报业】
  12240. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  12241. get:
  12242. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  12243. parameters:
  12244. - description: 商品ID
  12245. in: query
  12246. name: goodsID
  12247. required: true
  12248. type: integer
  12249. produces:
  12250. - application/json
  12251. responses:
  12252. "200":
  12253. description: OK
  12254. schema:
  12255. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12256. "500":
  12257. description: Internal Server Error
  12258. schema:
  12259. $ref: '#/definitions/app.Response'
  12260. security:
  12261. - ApiKeyAuth: []
  12262. summary: 查询游客三级市场(商城)商品信息详情
  12263. tags:
  12264. - 定制【海商报业】
  12265. /HSBY/QueryHsbyVisitorMarketGoodses:
  12266. get:
  12267. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  12268. parameters:
  12269. - description: 页码
  12270. in: query
  12271. name: page
  12272. type: integer
  12273. - description: 每页条数
  12274. in: query
  12275. name: pagesize
  12276. type: integer
  12277. - description: 市场ID列表,格式:1,2,3
  12278. in: query
  12279. name: marketIDs
  12280. required: true
  12281. type: string
  12282. - description: 类别ID
  12283. in: query
  12284. name: categoryID
  12285. type: integer
  12286. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12287. in: query
  12288. name: goodsIDs
  12289. type: string
  12290. produces:
  12291. - application/json
  12292. responses:
  12293. "200":
  12294. description: OK
  12295. schema:
  12296. $ref: '#/definitions/models.HsbyMarketGoods'
  12297. "500":
  12298. description: Internal Server Error
  12299. schema:
  12300. $ref: '#/definitions/app.Response'
  12301. security:
  12302. - ApiKeyAuth: []
  12303. summary: 查询游客特卖商品列表(三级商城)
  12304. tags:
  12305. - 定制【海商报业】
  12306. /HSBY/QueryMyCollectionOrders:
  12307. get:
  12308. parameters:
  12309. - description: 页码
  12310. in: query
  12311. name: page
  12312. type: integer
  12313. - description: 每页条数
  12314. in: query
  12315. name: pagesize
  12316. type: integer
  12317. - description: 资金账户,格式:1,2,3
  12318. in: query
  12319. name: accountIDs
  12320. required: true
  12321. type: string
  12322. produces:
  12323. - application/json
  12324. responses:
  12325. "200":
  12326. description: OK
  12327. schema:
  12328. $ref: '#/definitions/models.HsbySellCollectionOrder'
  12329. "500":
  12330. description: Internal Server Error
  12331. schema:
  12332. $ref: '#/definitions/app.Response'
  12333. security:
  12334. - ApiKeyAuth: []
  12335. summary: 我的闲置中收款信息查询
  12336. tags:
  12337. - 定制【海商报业】
  12338. /HSBY/QueryMyCouponHolds:
  12339. get:
  12340. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  12341. parameters:
  12342. - description: 资金账户列表,格式:1,2,3
  12343. in: query
  12344. name: accountIDs
  12345. required: true
  12346. type: string
  12347. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  12348. in: query
  12349. name: holdStatus
  12350. type: string
  12351. produces:
  12352. - application/json
  12353. responses:
  12354. "200":
  12355. description: OK
  12356. schema:
  12357. $ref: '#/definitions/models.MyCouponHold'
  12358. "500":
  12359. description: Internal Server Error
  12360. schema:
  12361. $ref: '#/definitions/app.Response'
  12362. security:
  12363. - ApiKeyAuth: []
  12364. summary: 我的优惠卷持仓查询
  12365. tags:
  12366. - 定制【海商报业】
  12367. /HSBY/QueryMyCoupons:
  12368. get:
  12369. parameters:
  12370. - description: 资金账户列表,格式:1,2,3
  12371. in: query
  12372. name: accountIDs
  12373. required: true
  12374. type: string
  12375. - description: 商品ID, 一般与sellUserID配套传入
  12376. in: query
  12377. name: goodsID
  12378. type: integer
  12379. - description: 卖方UserID
  12380. in: query
  12381. name: sellUserID
  12382. type: integer
  12383. produces:
  12384. - application/json
  12385. responses:
  12386. "200":
  12387. description: OK
  12388. schema:
  12389. $ref: '#/definitions/models.MyCoupon'
  12390. "500":
  12391. description: Internal Server Error
  12392. schema:
  12393. $ref: '#/definitions/app.Response'
  12394. security:
  12395. - ApiKeyAuth: []
  12396. summary: 我的优惠卷查询
  12397. tags:
  12398. - 定制【海商报业】
  12399. /HSBY/QueryMyPayOrders:
  12400. get:
  12401. parameters:
  12402. - description: 页码
  12403. in: query
  12404. name: page
  12405. type: integer
  12406. - description: 每页条数
  12407. in: query
  12408. name: pagesize
  12409. type: integer
  12410. - description: 资金账户列表,格式:1,2,3
  12411. in: query
  12412. name: accountIDs
  12413. required: true
  12414. type: string
  12415. - description: 买方委托单号
  12416. in: query
  12417. name: buyOrderID
  12418. type: integer
  12419. - description: 卖方委托单号
  12420. in: query
  12421. name: sellOrderID
  12422. type: integer
  12423. produces:
  12424. - application/json
  12425. responses:
  12426. "200":
  12427. description: OK
  12428. schema:
  12429. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  12430. "500":
  12431. description: Internal Server Error
  12432. schema:
  12433. $ref: '#/definitions/app.Response'
  12434. security:
  12435. - ApiKeyAuth: []
  12436. summary: 获取我的订单中待付款信息
  12437. tags:
  12438. - 定制【海商报业】
  12439. /HSBY/QueryMyUsedCoupon:
  12440. get:
  12441. parameters:
  12442. - description: 资金账户列表,格式:1,2,3
  12443. in: query
  12444. name: accountIDs
  12445. required: true
  12446. type: string
  12447. produces:
  12448. - application/json
  12449. responses:
  12450. "200":
  12451. description: OK
  12452. schema:
  12453. $ref: '#/definitions/models.MyUsedCoupon'
  12454. "500":
  12455. description: Internal Server Error
  12456. schema:
  12457. $ref: '#/definitions/app.Response'
  12458. security:
  12459. - ApiKeyAuth: []
  12460. summary: 已使用优惠卷查询
  12461. tags:
  12462. - 定制【海商报业】
  12463. /HSBY/QueryProvincesAndCities:
  12464. get:
  12465. description: 查询结果只包括二级市场商品已关连的省市信息。
  12466. parameters:
  12467. - description: 省ID
  12468. in: query
  12469. name: provinceID
  12470. type: integer
  12471. produces:
  12472. - application/json
  12473. responses:
  12474. "200":
  12475. description: OK
  12476. schema:
  12477. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  12478. "500":
  12479. description: Internal Server Error
  12480. schema:
  12481. $ref: '#/definitions/app.Response'
  12482. security:
  12483. - ApiKeyAuth: []
  12484. summary: 查询省市信息(不包括区)
  12485. tags:
  12486. - 定制【海商报业】
  12487. /HSBY/SetHsbyMyPackagesStatus:
  12488. post:
  12489. parameters:
  12490. - description: 提货单号
  12491. in: query
  12492. name: takeOrderID
  12493. required: true
  12494. type: string
  12495. - description: 资金账号
  12496. in: query
  12497. name: accountID
  12498. required: true
  12499. type: integer
  12500. produces:
  12501. - application/json
  12502. responses:
  12503. "200":
  12504. description: OK
  12505. schema:
  12506. $ref: '#/definitions/app.Response'
  12507. "500":
  12508. description: Internal Server Error
  12509. schema:
  12510. $ref: '#/definitions/app.Response'
  12511. security:
  12512. - ApiKeyAuth: []
  12513. summary: 设置我的包裹已收货状态
  12514. tags:
  12515. - 定制【海商报业】
  12516. /Market/QueryGoodsesByLoginID:
  12517. get:
  12518. parameters:
  12519. - description: 登录账号
  12520. in: query
  12521. name: loginID
  12522. required: true
  12523. type: integer
  12524. - description: 市场ID列表,格式:1,2,3
  12525. in: query
  12526. name: marketIDs
  12527. type: string
  12528. produces:
  12529. - application/json
  12530. responses:
  12531. "200":
  12532. description: OK
  12533. schema:
  12534. $ref: '#/definitions/models.Goods'
  12535. "500":
  12536. description: Internal Server Error
  12537. schema:
  12538. $ref: '#/definitions/app.Response'
  12539. security:
  12540. - ApiKeyAuth: []
  12541. summary: 获取登录账号有权限的商品信息
  12542. tags:
  12543. - 通用市场
  12544. /Market/QueryMarketRun:
  12545. get:
  12546. parameters:
  12547. - description: 市场ID,不传返回所有
  12548. in: query
  12549. name: marketID
  12550. type: integer
  12551. produces:
  12552. - application/json
  12553. responses:
  12554. "200":
  12555. description: OK
  12556. schema:
  12557. $ref: '#/definitions/models.Marketrun'
  12558. "500":
  12559. description: Internal Server Error
  12560. schema:
  12561. $ref: '#/definitions/app.Response'
  12562. security:
  12563. - ApiKeyAuth: []
  12564. summary: 查询市场运行信息
  12565. tags:
  12566. - 通用市场
  12567. /Market/QueryMarketsByLoginID:
  12568. get:
  12569. parameters:
  12570. - description: 登录账号
  12571. in: query
  12572. name: loginID
  12573. required: true
  12574. type: integer
  12575. produces:
  12576. - application/json
  12577. responses:
  12578. "200":
  12579. description: OK
  12580. schema:
  12581. $ref: '#/definitions/models.Market'
  12582. "500":
  12583. description: Internal Server Error
  12584. schema:
  12585. $ref: '#/definitions/app.Response'
  12586. security:
  12587. - ApiKeyAuth: []
  12588. summary: 获取登录账号有权限的市场信息
  12589. tags:
  12590. - 通用市场
  12591. /Order/QueryHisTradeDetail:
  12592. get:
  12593. parameters:
  12594. - description: 资金账户 - 格式:1,2,3
  12595. in: query
  12596. name: accountID
  12597. required: true
  12598. type: string
  12599. - description: 成交单号
  12600. in: query
  12601. name: tradeID
  12602. type: integer
  12603. - description: 委托单号
  12604. in: query
  12605. name: orderID
  12606. type: integer
  12607. - description: 交易模式 - 格式:1,2,3
  12608. in: query
  12609. name: tradeMode
  12610. type: string
  12611. - description: 委托单据类型
  12612. in: query
  12613. name: buildType
  12614. type: integer
  12615. - description: 成交类别 - 格式:1,2,3
  12616. in: query
  12617. name: tradeType
  12618. type: string
  12619. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12620. in: query
  12621. name: startDate
  12622. type: string
  12623. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12624. in: query
  12625. name: endDate
  12626. type: string
  12627. produces:
  12628. - application/json
  12629. responses:
  12630. "200":
  12631. description: OK
  12632. schema:
  12633. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  12634. "500":
  12635. description: Internal Server Error
  12636. schema:
  12637. $ref: '#/definitions/app.Response'
  12638. security:
  12639. - ApiKeyAuth: []
  12640. summary: 历史成交单查询(合约市场)
  12641. tags:
  12642. - 通用单据
  12643. /Order/QueryHisTradeOrderDetail:
  12644. get:
  12645. parameters:
  12646. - description: 资金账户 - 格式:1,2,3
  12647. in: query
  12648. name: accountID
  12649. required: true
  12650. type: string
  12651. - description: 交易模式 - 格式:1,2,3
  12652. in: query
  12653. name: tradeMode
  12654. type: string
  12655. - description: 委托状态 - 格式:1,2,3
  12656. in: query
  12657. name: orderStatus
  12658. type: string
  12659. - description: 委托单号
  12660. in: query
  12661. name: orderID
  12662. type: integer
  12663. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12664. in: query
  12665. name: startDate
  12666. type: string
  12667. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12668. in: query
  12669. name: endDate
  12670. type: string
  12671. produces:
  12672. - application/json
  12673. responses:
  12674. "200":
  12675. description: OK
  12676. schema:
  12677. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  12678. "500":
  12679. description: Internal Server Error
  12680. schema:
  12681. $ref: '#/definitions/app.Response'
  12682. security:
  12683. - ApiKeyAuth: []
  12684. summary: 历史委托单查询请求(合约市场)
  12685. tags:
  12686. - 通用单据
  12687. /Order/QueryTradeDetail:
  12688. get:
  12689. parameters:
  12690. - description: 资金账户 - 格式:1,2,3
  12691. in: query
  12692. name: accountID
  12693. required: true
  12694. type: string
  12695. - description: 成交单号
  12696. in: query
  12697. name: tradeID
  12698. type: integer
  12699. - description: 委托单号
  12700. in: query
  12701. name: orderID
  12702. type: integer
  12703. - description: 交易模式 - 格式:1,2,3
  12704. in: query
  12705. name: tradeMode
  12706. type: string
  12707. - description: 委托单据类型
  12708. in: query
  12709. name: buildType
  12710. type: integer
  12711. - description: 成交类别 - 格式:1,2,3
  12712. in: query
  12713. name: tradeType
  12714. type: string
  12715. produces:
  12716. - application/json
  12717. responses:
  12718. "200":
  12719. description: OK
  12720. schema:
  12721. $ref: '#/definitions/order.QueryTradeDetailRsp'
  12722. "500":
  12723. description: Internal Server Error
  12724. schema:
  12725. $ref: '#/definitions/app.Response'
  12726. security:
  12727. - ApiKeyAuth: []
  12728. summary: 成交单查询(合约市场)
  12729. tags:
  12730. - 通用单据
  12731. /Order/QueryTradeOrderDetail:
  12732. get:
  12733. parameters:
  12734. - description: 资金账户 - 格式:1,2,3
  12735. in: query
  12736. name: accountID
  12737. required: true
  12738. type: string
  12739. - description: 交易模式 - 格式:1,2,3
  12740. in: query
  12741. name: tradeMode
  12742. type: string
  12743. - description: 委托状态 - 格式:1,2,3
  12744. in: query
  12745. name: orderStatus
  12746. type: string
  12747. - description: 委托单号
  12748. in: query
  12749. name: orderID
  12750. type: integer
  12751. produces:
  12752. - application/json
  12753. responses:
  12754. "200":
  12755. description: OK
  12756. schema:
  12757. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  12758. "500":
  12759. description: Internal Server Error
  12760. schema:
  12761. $ref: '#/definitions/app.Response'
  12762. security:
  12763. - ApiKeyAuth: []
  12764. summary: 委托单查询请求(合约市场)
  12765. tags:
  12766. - 通用单据
  12767. /Order/QueryTradePosition:
  12768. get:
  12769. parameters:
  12770. - description: 资金账户 - 格式:1,2,3
  12771. in: query
  12772. name: accountID
  12773. required: true
  12774. type: string
  12775. - description: 交易模式 - 格式:1,2,3
  12776. in: query
  12777. name: tradeMode
  12778. type: string
  12779. produces:
  12780. - application/json
  12781. responses:
  12782. "200":
  12783. description: OK
  12784. schema:
  12785. $ref: '#/definitions/order.QueryTradePositionRsp'
  12786. "500":
  12787. description: Internal Server Error
  12788. schema:
  12789. $ref: '#/definitions/app.Response'
  12790. security:
  12791. - ApiKeyAuth: []
  12792. summary: 持仓汇总查询(合约市场)
  12793. tags:
  12794. - 通用单据
  12795. /Quote/QueryHistoryDatas:
  12796. get:
  12797. parameters:
  12798. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  12799. 日线'
  12800. in: query
  12801. name: cycleType
  12802. required: true
  12803. type: integer
  12804. - description: 商品代码
  12805. in: query
  12806. name: goodsCode
  12807. required: true
  12808. type: string
  12809. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12810. in: query
  12811. name: startTime
  12812. type: string
  12813. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  12814. in: query
  12815. name: endTime
  12816. type: string
  12817. - description: 条数
  12818. in: query
  12819. name: count
  12820. type: integer
  12821. - description: 是否按时间顺序排序(默认为时间倒序排序)
  12822. in: query
  12823. name: isAsc
  12824. type: boolean
  12825. produces:
  12826. - application/json
  12827. responses:
  12828. "200":
  12829. description: OK
  12830. schema:
  12831. $ref: '#/definitions/quote.HistoryData'
  12832. "500":
  12833. description: Internal Server Error
  12834. schema:
  12835. $ref: '#/definitions/app.Response'
  12836. security:
  12837. - ApiKeyAuth: []
  12838. summary: 查询行情历史数据
  12839. tags:
  12840. - 行情服务
  12841. /Quote/QueryHistoryTikDatas:
  12842. get:
  12843. parameters:
  12844. - description: 商品代码
  12845. in: query
  12846. name: goodsCode
  12847. required: true
  12848. type: string
  12849. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12850. in: query
  12851. name: startTime
  12852. type: string
  12853. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  12854. in: query
  12855. name: endTime
  12856. type: string
  12857. - description: 条数
  12858. in: query
  12859. name: count
  12860. type: integer
  12861. - description: 是否按时间顺序排序(默认为时间倒序排序)
  12862. in: query
  12863. name: isAsc
  12864. type: boolean
  12865. produces:
  12866. - application/json
  12867. responses:
  12868. "200":
  12869. description: OK
  12870. schema:
  12871. $ref: '#/definitions/quote.HistoryTikData'
  12872. "500":
  12873. description: Internal Server Error
  12874. schema:
  12875. $ref: '#/definitions/app.Response'
  12876. security:
  12877. - ApiKeyAuth: []
  12878. summary: 查询行情Tik数据
  12879. tags:
  12880. - 行情服务
  12881. /Quote/QueryQuoteDay:
  12882. get:
  12883. parameters:
  12884. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  12885. in: query
  12886. name: goodsCodes
  12887. required: true
  12888. type: string
  12889. produces:
  12890. - application/json
  12891. responses:
  12892. "200":
  12893. description: OK
  12894. schema:
  12895. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  12896. "500":
  12897. description: Internal Server Error
  12898. schema:
  12899. $ref: '#/definitions/app.Response'
  12900. security:
  12901. - ApiKeyAuth: []
  12902. summary: 获取商品盘面信息
  12903. tags:
  12904. - 行情服务
  12905. /Quote/QueryTSData:
  12906. get:
  12907. parameters:
  12908. - description: 商品代码
  12909. in: query
  12910. name: goodsCode
  12911. required: true
  12912. type: string
  12913. produces:
  12914. - application/json
  12915. responses:
  12916. "200":
  12917. description: OK
  12918. schema:
  12919. $ref: '#/definitions/quote.QueryTSDataRsp'
  12920. "500":
  12921. description: Internal Server Error
  12922. schema:
  12923. $ref: '#/definitions/app.Response'
  12924. security:
  12925. - ApiKeyAuth: []
  12926. summary: 分时图数据查询
  12927. tags:
  12928. - 行情服务
  12929. /SZDZ/QueryConvertConfig:
  12930. get:
  12931. parameters:
  12932. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12933. 6:交易转花生米(不设置)
  12934. in: query
  12935. name: convertType
  12936. type: integer
  12937. - description: 外部商品代码[JD\PD]
  12938. in: query
  12939. name: outerGoodsCode
  12940. type: string
  12941. - description: 内部商品ID列表[交易],格式:1,2,3
  12942. in: query
  12943. name: innerGoodsIDs
  12944. type: string
  12945. produces:
  12946. - application/json
  12947. responses:
  12948. "200":
  12949. description: OK
  12950. schema:
  12951. $ref: '#/definitions/models.Szdz3convertconfig'
  12952. "500":
  12953. description: Internal Server Error
  12954. schema:
  12955. $ref: '#/definitions/app.Response'
  12956. security:
  12957. - ApiKeyAuth: []
  12958. summary: 查询交易系统转换设置
  12959. tags:
  12960. - 定制【尚志大宗】
  12961. /SZDZ/QueryConvertLog:
  12962. get:
  12963. parameters:
  12964. - description: 资金账户 - 格式:1,2,3
  12965. in: query
  12966. name: accountID
  12967. required: true
  12968. type: string
  12969. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12970. in: query
  12971. name: startDate
  12972. type: string
  12973. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12974. in: query
  12975. name: endDate
  12976. type: string
  12977. produces:
  12978. - application/json
  12979. responses:
  12980. "200":
  12981. description: OK
  12982. schema:
  12983. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  12984. "500":
  12985. description: Internal Server Error
  12986. schema:
  12987. $ref: '#/definitions/app.Response'
  12988. security:
  12989. - ApiKeyAuth: []
  12990. summary: 交易系统转换流水查询
  12991. tags:
  12992. - 定制【尚志大宗】
  12993. /SZDZ/QueryGoodsPickup:
  12994. get:
  12995. parameters:
  12996. - description: 资金账户 - 格式:1,2,3
  12997. in: query
  12998. name: accountID
  12999. required: true
  13000. type: string
  13001. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13002. in: query
  13003. name: takeOrderStatus
  13004. type: integer
  13005. produces:
  13006. - application/json
  13007. responses:
  13008. "200":
  13009. description: OK
  13010. schema:
  13011. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  13012. "500":
  13013. description: Internal Server Error
  13014. schema:
  13015. $ref: '#/definitions/app.Response'
  13016. security:
  13017. - ApiKeyAuth: []
  13018. summary: 商品提货单查询
  13019. tags:
  13020. - 定制【尚志大宗】
  13021. /SZDZ/QueryRecieptOrder:
  13022. get:
  13023. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13024. parameters:
  13025. - description: 页码
  13026. in: query
  13027. name: page
  13028. type: integer
  13029. - description: 每页条数
  13030. in: query
  13031. name: pagesize
  13032. type: integer
  13033. - description: 商品ID
  13034. in: query
  13035. name: goodsID
  13036. required: true
  13037. type: integer
  13038. - description: 所属账户名称
  13039. in: query
  13040. name: accountName
  13041. type: string
  13042. - description: 市场ID
  13043. in: query
  13044. name: marketID
  13045. type: integer
  13046. - description: 方向 - 0:买 1:卖
  13047. in: query
  13048. name: buyorsell
  13049. required: true
  13050. type: integer
  13051. produces:
  13052. - application/json
  13053. responses:
  13054. "200":
  13055. description: OK
  13056. schema:
  13057. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  13058. "500":
  13059. description: Internal Server Error
  13060. schema:
  13061. $ref: '#/definitions/app.Response'
  13062. security:
  13063. - ApiKeyAuth: []
  13064. summary: 点选挂牌委托单据查询(摘牌大厅)
  13065. tags:
  13066. - 定制【尚志大宗】
  13067. /SZDZ/QuerySZDZTradePosition:
  13068. get:
  13069. parameters:
  13070. - description: 资金账户
  13071. in: query
  13072. name: accountID
  13073. required: true
  13074. type: integer
  13075. produces:
  13076. - application/json
  13077. responses:
  13078. "200":
  13079. description: OK
  13080. schema:
  13081. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  13082. "500":
  13083. description: Internal Server Error
  13084. schema:
  13085. $ref: '#/definitions/app.Response'
  13086. security:
  13087. - ApiKeyAuth: []
  13088. summary: 持仓汇总查询(尚志大宗)
  13089. tags:
  13090. - 定制【尚志大宗】
  13091. /SZDZ/SearchWhite:
  13092. get:
  13093. parameters:
  13094. - description: 用户ID
  13095. in: query
  13096. name: userID
  13097. required: true
  13098. type: integer
  13099. produces:
  13100. - application/json
  13101. responses:
  13102. "200":
  13103. description: OK
  13104. schema:
  13105. $ref: '#/definitions/models.Szdz3searchwhitelist'
  13106. "500":
  13107. description: Internal Server Error
  13108. schema:
  13109. $ref: '#/definitions/app.Response'
  13110. security:
  13111. - ApiKeyAuth: []
  13112. summary: 搜索白名单
  13113. tags:
  13114. - 定制【尚志大宗】
  13115. /Search/SearchGoodses:
  13116. get:
  13117. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  13118. parameters:
  13119. - description: 检索内容
  13120. in: query
  13121. name: content
  13122. required: true
  13123. type: string
  13124. - description: 交易模式,格式:1,2,3
  13125. in: query
  13126. name: tradeModes
  13127. type: string
  13128. produces:
  13129. - application/json
  13130. responses:
  13131. "200":
  13132. description: OK
  13133. schema:
  13134. $ref: '#/definitions/models.SearchGoods'
  13135. "500":
  13136. description: Internal Server Error
  13137. schema:
  13138. $ref: '#/definitions/app.Response'
  13139. summary: 检索商品信息
  13140. tags:
  13141. - 检索服务
  13142. /TaAccount/GetTaAccounts:
  13143. get:
  13144. parameters:
  13145. - description: 登录账户
  13146. in: query
  13147. name: loginID
  13148. required: true
  13149. type: integer
  13150. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13151. in: query
  13152. name: taAccountType
  13153. type: integer
  13154. produces:
  13155. - application/json
  13156. responses:
  13157. "200":
  13158. description: OK
  13159. schema:
  13160. $ref: '#/definitions/models.Taaccount'
  13161. "500":
  13162. description: Internal Server Error
  13163. schema:
  13164. $ref: '#/definitions/app.Response'
  13165. security:
  13166. - ApiKeyAuth: []
  13167. summary: 获取资金账户信息
  13168. tags:
  13169. - 资金账户
  13170. /TaAccount/QueryAmountLog:
  13171. get:
  13172. parameters:
  13173. - description: 页码
  13174. in: query
  13175. name: page
  13176. type: integer
  13177. - description: 每页条数
  13178. in: query
  13179. name: pagesize
  13180. type: integer
  13181. - description: 资金账户 - 格式:1,2,3
  13182. in: query
  13183. name: accountID
  13184. required: true
  13185. type: string
  13186. - description: 资金操作类型 - 格式:1,2,3
  13187. in: query
  13188. name: OperateType
  13189. type: string
  13190. produces:
  13191. - application/json
  13192. responses:
  13193. "200":
  13194. description: OK
  13195. schema:
  13196. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  13197. "500":
  13198. description: Internal Server Error
  13199. schema:
  13200. $ref: '#/definitions/app.Response'
  13201. security:
  13202. - ApiKeyAuth: []
  13203. summary: 资金流水查询(当前)
  13204. tags:
  13205. - 资金账户
  13206. /TaAccount/QueryHisAmountLog:
  13207. get:
  13208. parameters:
  13209. - description: 页码
  13210. in: query
  13211. name: page
  13212. type: integer
  13213. - description: 每页条数
  13214. in: query
  13215. name: pagesize
  13216. type: integer
  13217. - description: 资金账户 - 格式:1,2,3
  13218. in: query
  13219. name: accountID
  13220. required: true
  13221. type: string
  13222. - description: 资金操作类型 - 格式:1,2,3
  13223. in: query
  13224. name: OperateType
  13225. type: string
  13226. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13227. in: query
  13228. name: startDate
  13229. type: string
  13230. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13231. in: query
  13232. name: endDate
  13233. type: string
  13234. produces:
  13235. - application/json
  13236. responses:
  13237. "200":
  13238. description: OK
  13239. schema:
  13240. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  13241. "500":
  13242. description: Internal Server Error
  13243. schema:
  13244. $ref: '#/definitions/app.Response'
  13245. security:
  13246. - ApiKeyAuth: []
  13247. summary: 资金流水查询(历史)
  13248. tags:
  13249. - 资金账户
  13250. /Trade/QueryRecieptOrder:
  13251. get:
  13252. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13253. parameters:
  13254. - description: 页码
  13255. in: query
  13256. name: page
  13257. type: integer
  13258. - description: 每页条数
  13259. in: query
  13260. name: pagesize
  13261. type: integer
  13262. - description: 商品ID
  13263. in: query
  13264. name: goodsID
  13265. required: true
  13266. type: integer
  13267. - description: 所属账户名称
  13268. in: query
  13269. name: accountName
  13270. type: string
  13271. - description: 市场ID
  13272. in: query
  13273. name: marketID
  13274. type: integer
  13275. - description: 方向 - 0:买 1:卖
  13276. in: query
  13277. name: buyorsell
  13278. required: true
  13279. type: integer
  13280. produces:
  13281. - application/json
  13282. responses:
  13283. "200":
  13284. description: OK
  13285. schema:
  13286. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  13287. "500":
  13288. description: Internal Server Error
  13289. schema:
  13290. $ref: '#/definitions/app.Response'
  13291. security:
  13292. - ApiKeyAuth: []
  13293. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  13294. tags:
  13295. - 通用交易
  13296. /User/AddMessageBoard:
  13297. post:
  13298. parameters:
  13299. - description: 用户ID
  13300. in: query
  13301. name: userID
  13302. required: true
  13303. type: integer
  13304. - description: 留言信息
  13305. in: query
  13306. name: message
  13307. required: true
  13308. type: string
  13309. - description: 联系电话
  13310. in: query
  13311. name: contactNum
  13312. required: true
  13313. type: string
  13314. produces:
  13315. - application/json
  13316. responses:
  13317. "200":
  13318. description: OK
  13319. schema:
  13320. $ref: '#/definitions/app.Response'
  13321. "500":
  13322. description: Internal Server Error
  13323. schema:
  13324. $ref: '#/definitions/app.Response'
  13325. security:
  13326. - ApiKeyAuth: []
  13327. summary: 添加用户留言板信息
  13328. tags:
  13329. - 用户信息
  13330. /User/AddUserFavoriteGoods:
  13331. post:
  13332. parameters:
  13333. - description: 用户ID
  13334. in: query
  13335. name: userID
  13336. required: true
  13337. type: integer
  13338. - description: 商品ID
  13339. in: query
  13340. name: goodsID
  13341. required: true
  13342. type: integer
  13343. produces:
  13344. - application/json
  13345. responses:
  13346. "200":
  13347. description: OK
  13348. schema:
  13349. $ref: '#/definitions/app.Response'
  13350. "500":
  13351. description: Internal Server Error
  13352. schema:
  13353. $ref: '#/definitions/app.Response'
  13354. security:
  13355. - ApiKeyAuth: []
  13356. summary: 添加用户商品收藏信息
  13357. tags:
  13358. - 用户信息
  13359. /User/GetLoginID:
  13360. get:
  13361. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  13362. parameters:
  13363. - description: 登录代码
  13364. in: query
  13365. name: username
  13366. required: true
  13367. type: string
  13368. produces:
  13369. - application/json
  13370. responses:
  13371. "200":
  13372. description: OK
  13373. schema:
  13374. $ref: '#/definitions/app.Response'
  13375. "500":
  13376. description: Internal Server Error
  13377. schema:
  13378. $ref: '#/definitions/app.Response'
  13379. summary: 获取登录ID
  13380. tags:
  13381. - 用户信息
  13382. /User/GetUserAccount:
  13383. get:
  13384. parameters:
  13385. - description: 用户ID
  13386. in: query
  13387. name: userID
  13388. required: true
  13389. type: integer
  13390. produces:
  13391. - application/json
  13392. responses:
  13393. "200":
  13394. description: OK
  13395. schema:
  13396. $ref: '#/definitions/models.Useraccount'
  13397. "500":
  13398. description: Internal Server Error
  13399. schema:
  13400. $ref: '#/definitions/app.Response'
  13401. security:
  13402. - ApiKeyAuth: []
  13403. summary: 获取用户账号信息
  13404. tags:
  13405. - 用户信息
  13406. /User/GetUserAuthStatus:
  13407. get:
  13408. parameters:
  13409. - description: 用户ID
  13410. in: query
  13411. name: userID
  13412. required: true
  13413. type: integer
  13414. produces:
  13415. - application/json
  13416. responses:
  13417. "200":
  13418. description: OK
  13419. schema:
  13420. $ref: '#/definitions/app.Response'
  13421. "500":
  13422. description: Internal Server Error
  13423. schema:
  13424. $ref: '#/definitions/app.Response'
  13425. security:
  13426. - ApiKeyAuth: []
  13427. summary: 获取用户实名认证状态
  13428. tags:
  13429. - 用户信息
  13430. /User/LoginQuery:
  13431. get:
  13432. parameters:
  13433. - description: 登录账号
  13434. in: query
  13435. name: loginID
  13436. required: true
  13437. type: integer
  13438. produces:
  13439. - application/json
  13440. responses:
  13441. "200":
  13442. description: OK
  13443. schema:
  13444. $ref: '#/definitions/user.LoginQueryRsp'
  13445. "500":
  13446. description: Internal Server Error
  13447. schema:
  13448. $ref: '#/definitions/app.Response'
  13449. security:
  13450. - ApiKeyAuth: []
  13451. summary: 账户登录后信息查询
  13452. tags:
  13453. - 用户信息
  13454. /User/QueryMessageBoard:
  13455. get:
  13456. parameters:
  13457. - description: 用户ID
  13458. in: query
  13459. name: userID
  13460. required: true
  13461. type: integer
  13462. produces:
  13463. - application/json
  13464. responses:
  13465. "200":
  13466. description: OK
  13467. schema:
  13468. $ref: '#/definitions/models.Messageboard'
  13469. "500":
  13470. description: Internal Server Error
  13471. schema:
  13472. $ref: '#/definitions/app.Response'
  13473. security:
  13474. - ApiKeyAuth: []
  13475. summary: 获取用户留言板信息
  13476. tags:
  13477. - 用户信息
  13478. /User/QueryUserFavoriteGoodses:
  13479. get:
  13480. parameters:
  13481. - description: 用户ID
  13482. in: query
  13483. name: userID
  13484. required: true
  13485. type: integer
  13486. produces:
  13487. - application/json
  13488. responses:
  13489. "200":
  13490. description: OK
  13491. schema:
  13492. $ref: '#/definitions/models.Userfavoritegoods'
  13493. "500":
  13494. description: Internal Server Error
  13495. schema:
  13496. $ref: '#/definitions/app.Response'
  13497. security:
  13498. - ApiKeyAuth: []
  13499. summary: 获取用户商品收藏信息
  13500. tags:
  13501. - 用户信息
  13502. /User/QueryUserInfo:
  13503. get:
  13504. parameters:
  13505. - description: 用户ID
  13506. in: query
  13507. name: userID
  13508. required: true
  13509. type: integer
  13510. produces:
  13511. - application/json
  13512. responses:
  13513. "200":
  13514. description: OK
  13515. schema:
  13516. $ref: '#/definitions/models.Userinfo'
  13517. "500":
  13518. description: Internal Server Error
  13519. schema:
  13520. $ref: '#/definitions/app.Response'
  13521. security:
  13522. - ApiKeyAuth: []
  13523. summary: 获取用户信息
  13524. tags:
  13525. - 用户信息
  13526. /User/QueryUserReferNum:
  13527. get:
  13528. parameters:
  13529. - description: 用户ID
  13530. in: query
  13531. name: userID
  13532. required: true
  13533. type: integer
  13534. produces:
  13535. - application/json
  13536. responses:
  13537. "200":
  13538. description: OK
  13539. schema:
  13540. $ref: '#/definitions/app.Response'
  13541. "500":
  13542. description: Internal Server Error
  13543. schema:
  13544. $ref: '#/definitions/app.Response'
  13545. summary: 获取用户邀请码
  13546. tags:
  13547. - 用户信息
  13548. /User/RemoveUserFavoriteGoods:
  13549. post:
  13550. parameters:
  13551. - description: 用户ID
  13552. in: query
  13553. name: userID
  13554. required: true
  13555. type: integer
  13556. - description: 商品ID
  13557. in: query
  13558. name: goodsID
  13559. required: true
  13560. type: integer
  13561. produces:
  13562. - application/json
  13563. responses:
  13564. "200":
  13565. description: OK
  13566. schema:
  13567. $ref: '#/definitions/app.Response'
  13568. "500":
  13569. description: Internal Server Error
  13570. schema:
  13571. $ref: '#/definitions/app.Response'
  13572. security:
  13573. - ApiKeyAuth: []
  13574. summary: 移除用户商品收藏信息
  13575. tags:
  13576. - 用户信息
  13577. /User/UpdateUserAccountStatus:
  13578. post:
  13579. parameters:
  13580. - description: 用户ID
  13581. in: query
  13582. name: userID
  13583. required: true
  13584. type: integer
  13585. - description: 账户状态 - 4:正常 6:注销(停用)
  13586. in: query
  13587. name: accountStatus
  13588. required: true
  13589. type: integer
  13590. produces:
  13591. - application/json
  13592. responses:
  13593. "200":
  13594. description: OK
  13595. schema:
  13596. $ref: '#/definitions/app.Response'
  13597. "500":
  13598. description: Internal Server Error
  13599. schema:
  13600. $ref: '#/definitions/app.Response'
  13601. security:
  13602. - ApiKeyAuth: []
  13603. summary: 更新用户状态
  13604. tags:
  13605. - 用户信息
  13606. /WR/GetWRCategoryInfo:
  13607. get:
  13608. produces:
  13609. - application/json
  13610. responses:
  13611. "200":
  13612. description: OK
  13613. schema:
  13614. $ref: '#/definitions/models.WRCategoryTree'
  13615. "500":
  13616. description: Internal Server Error
  13617. schema:
  13618. $ref: '#/definitions/app.Response'
  13619. summary: 获取现货分类信息
  13620. tags:
  13621. - 仓单服务
  13622. /WRTrade/GetAllDeliveryGoods:
  13623. get:
  13624. produces:
  13625. - application/json
  13626. - application/json
  13627. responses:
  13628. "200":
  13629. description: OK
  13630. schema:
  13631. $ref: '#/definitions/app.Response'
  13632. "500":
  13633. description: Internal Server Error
  13634. schema:
  13635. $ref: '#/definitions/app.Response'
  13636. security:
  13637. - ApiKeyAuth: []
  13638. - ApiKeyAuth: []
  13639. summary: 获取带仓单分类的种类信息
  13640. tags:
  13641. - 仓单贸易
  13642. - 仓单贸易
  13643. securityDefinitions:
  13644. ApiKeyAuth:
  13645. in: header
  13646. name: Authorization
  13647. type: apiKey
  13648. swagger: "2.0"