swagger.yaml 305 KB

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