docs.go 1023 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "用户id",
  593. "name": "userId",
  594. "in": "query"
  595. },
  596. {
  597. "type": "integer",
  598. "description": "类型 - 1:App首页轮播 2:我的",
  599. "name": "imageType",
  600. "in": "query"
  601. }
  602. ],
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/QueryNotice": {
  620. "get": {
  621. "security": [
  622. {
  623. "ApiKeyAuth": []
  624. }
  625. ],
  626. "produces": [
  627. "application/json"
  628. ],
  629. "tags": [
  630. "通用服务"
  631. ],
  632. "summary": "通知公告系统消息查询",
  633. "parameters": [
  634. {
  635. "type": "integer",
  636. "description": "页码",
  637. "name": "page",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "每页条数",
  643. "name": "pagesize",
  644. "in": "query"
  645. },
  646. {
  647. "type": "integer",
  648. "description": "登录账号",
  649. "name": "loginID",
  650. "in": "query",
  651. "required": true
  652. },
  653. {
  654. "type": "integer",
  655. "description": "消息类型 - 1:公告通知 2:系统消息",
  656. "name": "msgType",
  657. "in": "query"
  658. },
  659. {
  660. "type": "boolean",
  661. "description": "是否只获取未读信息",
  662. "name": "onlyUnRead",
  663. "in": "query"
  664. },
  665. {
  666. "type": "integer",
  667. "description": "自增ID,传入后会返回这个ID后面的记录",
  668. "name": "lastID",
  669. "in": "query"
  670. }
  671. ],
  672. "responses": {
  673. "200": {
  674. "description": "OK",
  675. "schema": {
  676. "$ref": "#/definitions/common.QueryNoticeRsp"
  677. }
  678. },
  679. "500": {
  680. "description": "Internal Server Error",
  681. "schema": {
  682. "$ref": "#/definitions/app.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/Common/QueryProvincesAndCities": {
  689. "get": {
  690. "produces": [
  691. "application/json"
  692. ],
  693. "tags": [
  694. "通用服务"
  695. ],
  696. "summary": "查询省市信息(不包括区)",
  697. "parameters": [
  698. {
  699. "type": "integer",
  700. "description": "省ID",
  701. "name": "provinceID",
  702. "in": "query"
  703. }
  704. ],
  705. "responses": {
  706. "200": {
  707. "description": "OK",
  708. "schema": {
  709. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  710. }
  711. },
  712. "500": {
  713. "description": "Internal Server Error",
  714. "schema": {
  715. "$ref": "#/definitions/app.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/Common/QueryTableDefine": {
  722. "get": {
  723. "produces": [
  724. "application/json"
  725. ],
  726. "tags": [
  727. "通用服务"
  728. ],
  729. "summary": "查询交易端列表头信息",
  730. "parameters": [
  731. {
  732. "type": "string",
  733. "description": "表key",
  734. "name": "tableKey",
  735. "in": "query"
  736. },
  737. {
  738. "type": "integer",
  739. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  740. "name": "tableType",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "$ref": "#/definitions/common.QueryTableDefineRsp"
  749. }
  750. },
  751. "500": {
  752. "description": "Internal Server Error",
  753. "schema": {
  754. "$ref": "#/definitions/app.Response"
  755. }
  756. }
  757. }
  758. }
  759. },
  760. "/Common/QueryTraderMenu": {
  761. "get": {
  762. "produces": [
  763. "application/json"
  764. ],
  765. "tags": [
  766. "通用服务"
  767. ],
  768. "summary": "查询交易端菜单",
  769. "parameters": [
  770. {
  771. "type": "integer",
  772. "description": "登录账号",
  773. "name": "loginid",
  774. "in": "query",
  775. "required": true
  776. }
  777. ],
  778. "responses": {
  779. "200": {
  780. "description": "OK",
  781. "schema": {
  782. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  783. }
  784. },
  785. "500": {
  786. "description": "Internal Server Error",
  787. "schema": {
  788. "$ref": "#/definitions/app.Response"
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "/Delivery/QueryDeliveryRelation": {
  795. "get": {
  796. "security": [
  797. {
  798. "ApiKeyAuth": []
  799. }
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "交割服务"
  806. ],
  807. "summary": "查询商品交割关系表",
  808. "parameters": [
  809. {
  810. "type": "integer",
  811. "description": "商品ID",
  812. "name": "goodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "品种ID",
  818. "name": "deliverygoodsid",
  819. "in": "query"
  820. },
  821. {
  822. "type": "integer",
  823. "description": "市场ID",
  824. "name": "marketid",
  825. "in": "query"
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "OK",
  831. "schema": {
  832. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  833. }
  834. },
  835. "500": {
  836. "description": "Internal Server Error",
  837. "schema": {
  838. "$ref": "#/definitions/app.Response"
  839. }
  840. }
  841. }
  842. }
  843. },
  844. "/Ermcp/GetErmcpGoods": {
  845. "get": {
  846. "security": [
  847. {
  848. "ApiKeyAuth": []
  849. }
  850. ],
  851. "produces": [
  852. "application/json"
  853. ],
  854. "tags": [
  855. "企业风险管理(app)"
  856. ],
  857. "summary": "查询企业风管期货商品信息",
  858. "parameters": [
  859. {
  860. "type": "string",
  861. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  862. "name": "lastUpdateTime",
  863. "in": "query"
  864. }
  865. ],
  866. "responses": {
  867. "200": {
  868. "description": "OK",
  869. "schema": {
  870. "$ref": "#/definitions/models.ErmcpGoods"
  871. }
  872. },
  873. "500": {
  874. "description": "Internal Server Error",
  875. "schema": {
  876. "$ref": "#/definitions/app.Response"
  877. }
  878. }
  879. }
  880. }
  881. },
  882. "/Ermcp/GetErmcpGoodsSortByPosition": {
  883. "get": {
  884. "security": [
  885. {
  886. "ApiKeyAuth": []
  887. }
  888. ],
  889. "produces": [
  890. "application/json"
  891. ],
  892. "tags": [
  893. "企业风险管理(app)"
  894. ],
  895. "summary": "查询企业风管期货主力、次主力商品信息",
  896. "parameters": [
  897. {
  898. "type": "string",
  899. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  900. "name": "sortIndex",
  901. "in": "query"
  902. }
  903. ],
  904. "responses": {
  905. "200": {
  906. "description": "OK",
  907. "schema": {
  908. "$ref": "#/definitions/models.Goodssortbypreposition"
  909. }
  910. },
  911. "500": {
  912. "description": "Internal Server Error",
  913. "schema": {
  914. "$ref": "#/definitions/app.Response"
  915. }
  916. }
  917. }
  918. }
  919. },
  920. "/Ermcp/GetErmcpOutAccountStatus": {
  921. "get": {
  922. "security": [
  923. {
  924. "ApiKeyAuth": []
  925. }
  926. ],
  927. "produces": [
  928. "application/json"
  929. ],
  930. "tags": [
  931. "企业风险管理(app)"
  932. ],
  933. "summary": "获取目标登录账号当前对冲账号在线状态",
  934. "parameters": [
  935. {
  936. "type": "integer",
  937. "description": "登录账号",
  938. "name": "loginID",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "$ref": "#/definitions/models.Hedgemarketopenlog"
  948. }
  949. },
  950. "500": {
  951. "description": "Internal Server Error",
  952. "schema": {
  953. "$ref": "#/definitions/app.Response"
  954. }
  955. }
  956. }
  957. }
  958. },
  959. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  960. "get": {
  961. "security": [
  962. {
  963. "ApiKeyAuth": []
  964. }
  965. ],
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "企业风险管理(app)"
  971. ],
  972. "summary": "获取企业风管终端权限",
  973. "parameters": [
  974. {
  975. "type": "integer",
  976. "description": "登录账号",
  977. "name": "loginID",
  978. "in": "query",
  979. "required": true
  980. }
  981. ],
  982. "responses": {
  983. "200": {
  984. "description": "OK",
  985. "schema": {
  986. "$ref": "#/definitions/models.Funcmenulist"
  987. }
  988. },
  989. "500": {
  990. "description": "Internal Server Error",
  991. "schema": {
  992. "$ref": "#/definitions/app.Response"
  993. }
  994. }
  995. }
  996. }
  997. },
  998. "/Ermcp/QueryAccMgrBizGroupSet": {
  999. "get": {
  1000. "security": [
  1001. {
  1002. "ApiKeyAuth": []
  1003. }
  1004. ],
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "企业风险管理(app)"
  1010. ],
  1011. "summary": "查询业务类型分组(账户管理/账户设置)",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "用户ID",
  1016. "name": "userid",
  1017. "in": "query",
  1018. "required": true
  1019. },
  1020. {
  1021. "type": "integer",
  1022. "description": "现货商品id",
  1023. "name": "deliverygoodsid",
  1024. "in": "query"
  1025. }
  1026. ],
  1027. "responses": {
  1028. "200": {
  1029. "description": "OK",
  1030. "schema": {
  1031. "type": "array",
  1032. "items": {
  1033. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1034. }
  1035. }
  1036. },
  1037. "500": {
  1038. "description": "Internal Server Error",
  1039. "schema": {
  1040. "$ref": "#/definitions/app.Response"
  1041. }
  1042. }
  1043. }
  1044. }
  1045. },
  1046. "/Ermcp/QueryAccMgrLoginUser": {
  1047. "get": {
  1048. "security": [
  1049. {
  1050. "ApiKeyAuth": []
  1051. }
  1052. ],
  1053. "produces": [
  1054. "application/json"
  1055. ],
  1056. "tags": [
  1057. "企业风险管理(app)"
  1058. ],
  1059. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1060. "parameters": [
  1061. {
  1062. "type": "integer",
  1063. "description": "用户ID",
  1064. "name": "userid",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "用户类型 2-机构 7-企业成员",
  1071. "name": "usertype",
  1072. "in": "query"
  1073. },
  1074. {
  1075. "type": "integer",
  1076. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1077. "name": "querytype",
  1078. "in": "query",
  1079. "required": true
  1080. }
  1081. ],
  1082. "responses": {
  1083. "200": {
  1084. "description": "OK",
  1085. "schema": {
  1086. "type": "array",
  1087. "items": {
  1088. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1089. }
  1090. }
  1091. },
  1092. "500": {
  1093. "description": "Internal Server Error",
  1094. "schema": {
  1095. "$ref": "#/definitions/app.Response"
  1096. }
  1097. }
  1098. }
  1099. }
  1100. },
  1101. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1102. "get": {
  1103. "security": [
  1104. {
  1105. "ApiKeyAuth": []
  1106. }
  1107. ],
  1108. "produces": [
  1109. "application/json"
  1110. ],
  1111. "tags": [
  1112. "企业风险管理(app)"
  1113. ],
  1114. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1115. "parameters": [
  1116. {
  1117. "type": "integer",
  1118. "description": "用户ID",
  1119. "name": "userid",
  1120. "in": "query"
  1121. },
  1122. {
  1123. "type": "integer",
  1124. "description": "主账号id",
  1125. "name": "accountid",
  1126. "in": "query"
  1127. }
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "type": "array",
  1134. "items": {
  1135. "$ref": "#/definitions/models.MainAccountInfo"
  1136. }
  1137. }
  1138. },
  1139. "500": {
  1140. "description": "Internal Server Error",
  1141. "schema": {
  1142. "$ref": "#/definitions/app.Response"
  1143. }
  1144. }
  1145. }
  1146. }
  1147. },
  1148. "/Ermcp/QueryAccMgrRole": {
  1149. "get": {
  1150. "security": [
  1151. {
  1152. "ApiKeyAuth": []
  1153. }
  1154. ],
  1155. "produces": [
  1156. "application/json"
  1157. ],
  1158. "tags": [
  1159. "企业风险管理(app)"
  1160. ],
  1161. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1162. "parameters": [
  1163. {
  1164. "type": "integer",
  1165. "description": "用户ID",
  1166. "name": "userid",
  1167. "in": "query",
  1168. "required": true
  1169. }
  1170. ],
  1171. "responses": {
  1172. "200": {
  1173. "description": "OK",
  1174. "schema": {
  1175. "type": "array",
  1176. "items": {
  1177. "$ref": "#/definitions/models.ErmcpRole"
  1178. }
  1179. }
  1180. },
  1181. "500": {
  1182. "description": "Internal Server Error",
  1183. "schema": {
  1184. "$ref": "#/definitions/app.Response"
  1185. }
  1186. }
  1187. }
  1188. }
  1189. },
  1190. "/Ermcp/QueryAccMgrRoleMenu": {
  1191. "get": {
  1192. "security": [
  1193. {
  1194. "ApiKeyAuth": []
  1195. }
  1196. ],
  1197. "produces": [
  1198. "application/json"
  1199. ],
  1200. "tags": [
  1201. "企业风险管理(app)"
  1202. ],
  1203. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1204. "parameters": [
  1205. {
  1206. "type": "integer",
  1207. "description": "用户ID",
  1208. "name": "userid",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "string",
  1214. "description": "角色id(可多个,逗号隔开)",
  1215. "name": "roleid",
  1216. "in": "query"
  1217. }
  1218. ],
  1219. "responses": {
  1220. "200": {
  1221. "description": "OK",
  1222. "schema": {
  1223. "type": "array",
  1224. "items": {
  1225. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1226. }
  1227. }
  1228. },
  1229. "500": {
  1230. "description": "Internal Server Error",
  1231. "schema": {
  1232. "$ref": "#/definitions/app.Response"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1239. "get": {
  1240. "security": [
  1241. {
  1242. "ApiKeyAuth": []
  1243. }
  1244. ],
  1245. "produces": [
  1246. "application/json"
  1247. ],
  1248. "tags": [
  1249. "企业风险管理(app)"
  1250. ],
  1251. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1252. "parameters": [
  1253. {
  1254. "type": "integer",
  1255. "description": "用户ID",
  1256. "name": "userid",
  1257. "in": "query",
  1258. "required": true
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "账号id",
  1263. "name": "accountid",
  1264. "in": "query"
  1265. }
  1266. ],
  1267. "responses": {
  1268. "200": {
  1269. "description": "OK",
  1270. "schema": {
  1271. "type": "array",
  1272. "items": {
  1273. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1274. }
  1275. }
  1276. },
  1277. "500": {
  1278. "description": "Internal Server Error",
  1279. "schema": {
  1280. "$ref": "#/definitions/app.Response"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. },
  1286. "/Ermcp/QueryAccMgrTaaccount": {
  1287. "get": {
  1288. "security": [
  1289. {
  1290. "ApiKeyAuth": []
  1291. }
  1292. ],
  1293. "produces": [
  1294. "application/json"
  1295. ],
  1296. "tags": [
  1297. "企业风险管理(app)"
  1298. ],
  1299. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1300. "parameters": [
  1301. {
  1302. "type": "integer",
  1303. "description": "用户ID",
  1304. "name": "userid",
  1305. "in": "query",
  1306. "required": true
  1307. }
  1308. ],
  1309. "responses": {
  1310. "200": {
  1311. "description": "OK",
  1312. "schema": {
  1313. "type": "array",
  1314. "items": {
  1315. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1316. }
  1317. }
  1318. },
  1319. "500": {
  1320. "description": "Internal Server Error",
  1321. "schema": {
  1322. "$ref": "#/definitions/app.Response"
  1323. }
  1324. }
  1325. }
  1326. }
  1327. },
  1328. "/Ermcp/QueryAvaildGoodsGroup": {
  1329. "get": {
  1330. "security": [
  1331. {
  1332. "ApiKeyAuth": []
  1333. }
  1334. ],
  1335. "produces": [
  1336. "application/json"
  1337. ],
  1338. "tags": [
  1339. "企业风险管理(app)"
  1340. ],
  1341. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1342. "parameters": [
  1343. {
  1344. "type": "integer",
  1345. "description": "所属机构ID",
  1346. "name": "userid",
  1347. "in": "query",
  1348. "required": true
  1349. }
  1350. ],
  1351. "responses": {
  1352. "200": {
  1353. "description": "OK",
  1354. "schema": {
  1355. "type": "array",
  1356. "items": {
  1357. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1358. }
  1359. }
  1360. },
  1361. "500": {
  1362. "description": "Internal Server Error",
  1363. "schema": {
  1364. "$ref": "#/definitions/app.Response"
  1365. }
  1366. }
  1367. }
  1368. }
  1369. },
  1370. "/Ermcp/QueryBusinessDj": {
  1371. "get": {
  1372. "security": [
  1373. {
  1374. "ApiKeyAuth": []
  1375. }
  1376. ],
  1377. "produces": [
  1378. "application/json"
  1379. ],
  1380. "tags": [
  1381. "企业风险管理(app)"
  1382. ],
  1383. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1384. "parameters": [
  1385. {
  1386. "type": "integer",
  1387. "description": "用户ID",
  1388. "name": "UserId",
  1389. "in": "query",
  1390. "required": true
  1391. },
  1392. {
  1393. "type": "integer",
  1394. "description": "用户类型 2-机构 7-企业成员",
  1395. "name": "usertype",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "现货合同ID, 不填则查所有",
  1401. "name": "relatedid",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1407. "name": "applystatus",
  1408. "in": "query"
  1409. }
  1410. ],
  1411. "responses": {
  1412. "200": {
  1413. "description": "OK",
  1414. "schema": {
  1415. "type": "array",
  1416. "items": {
  1417. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1418. }
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/Ermcp/QueryBusinessFp": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "produces": [
  1438. "application/json"
  1439. ],
  1440. "tags": [
  1441. "企业风险管理(app)"
  1442. ],
  1443. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1444. "parameters": [
  1445. {
  1446. "type": "integer",
  1447. "description": "用户ID",
  1448. "name": "UserId",
  1449. "in": "query",
  1450. "required": true
  1451. },
  1452. {
  1453. "type": "integer",
  1454. "description": "用户类型 2-机构 7-企业成员",
  1455. "name": "usertype",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "现货合同ID, 不填则查所有",
  1461. "name": "relatedid",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1467. "name": "applystatus",
  1468. "in": "query"
  1469. }
  1470. ],
  1471. "responses": {
  1472. "200": {
  1473. "description": "OK",
  1474. "schema": {
  1475. "type": "array",
  1476. "items": {
  1477. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1478. }
  1479. }
  1480. },
  1481. "500": {
  1482. "description": "Internal Server Error",
  1483. "schema": {
  1484. "$ref": "#/definitions/app.Response"
  1485. }
  1486. }
  1487. }
  1488. }
  1489. },
  1490. "/Ermcp/QueryBusinessJs": {
  1491. "get": {
  1492. "security": [
  1493. {
  1494. "ApiKeyAuth": []
  1495. }
  1496. ],
  1497. "produces": [
  1498. "application/json"
  1499. ],
  1500. "tags": [
  1501. "企业风险管理(app)"
  1502. ],
  1503. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1504. "parameters": [
  1505. {
  1506. "type": "integer",
  1507. "description": "用户ID",
  1508. "name": "UserId",
  1509. "in": "query",
  1510. "required": true
  1511. },
  1512. {
  1513. "type": "integer",
  1514. "description": "用户类型 2-机构 7-企业成员",
  1515. "name": "usertype",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "现货合同ID, 不填则查所有",
  1521. "name": "relatedid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "操作申请id",
  1527. "name": "operateapplyid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1533. "name": "applystatus",
  1534. "in": "query"
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "OK",
  1540. "schema": {
  1541. "type": "array",
  1542. "items": {
  1543. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1544. }
  1545. }
  1546. },
  1547. "500": {
  1548. "description": "Internal Server Error",
  1549. "schema": {
  1550. "$ref": "#/definitions/app.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/Ermcp/QueryBusinessJsEx": {
  1557. "get": {
  1558. "security": [
  1559. {
  1560. "ApiKeyAuth": []
  1561. }
  1562. ],
  1563. "produces": [
  1564. "application/json"
  1565. ],
  1566. "tags": [
  1567. "企业风险管理(app)"
  1568. ],
  1569. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1570. "parameters": [
  1571. {
  1572. "type": "integer",
  1573. "description": "用户ID",
  1574. "name": "UserId",
  1575. "in": "query",
  1576. "required": true
  1577. },
  1578. {
  1579. "type": "integer",
  1580. "description": "用户类型 2-机构 7-企业成员",
  1581. "name": "usertype",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "现货合同ID, 不填则查所有",
  1587. "name": "relatedid",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1593. "name": "applystatus",
  1594. "in": "query"
  1595. }
  1596. ],
  1597. "responses": {
  1598. "200": {
  1599. "description": "OK",
  1600. "schema": {
  1601. "type": "array",
  1602. "items": {
  1603. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1604. }
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryBusinessKx": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "用户ID",
  1634. "name": "UserId",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "用户类型 2-机构 7-企业成员",
  1641. "name": "usertype",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "现货合同ID, 不填则查所有",
  1647. "name": "relatedid",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1653. "name": "applystatus",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "type": "array",
  1662. "items": {
  1663. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1664. }
  1665. }
  1666. },
  1667. "500": {
  1668. "description": "Internal Server Error",
  1669. "schema": {
  1670. "$ref": "#/definitions/app.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/Ermcp/QueryChangeLog": {
  1677. "get": {
  1678. "security": [
  1679. {
  1680. "ApiKeyAuth": []
  1681. }
  1682. ],
  1683. "produces": [
  1684. "application/json"
  1685. ],
  1686. "tags": [
  1687. "企业风险管理(app)"
  1688. ],
  1689. "summary": "查询变更记录",
  1690. "parameters": [
  1691. {
  1692. "type": "string",
  1693. "description": "合同ID",
  1694. "name": "RelatedId",
  1695. "in": "query",
  1696. "required": true
  1697. }
  1698. ],
  1699. "responses": {
  1700. "200": {
  1701. "description": "OK",
  1702. "schema": {
  1703. "type": "array",
  1704. "items": {
  1705. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1706. }
  1707. }
  1708. },
  1709. "500": {
  1710. "description": "Internal Server Error",
  1711. "schema": {
  1712. "$ref": "#/definitions/app.Response"
  1713. }
  1714. }
  1715. }
  1716. }
  1717. },
  1718. "/Ermcp/QueryErmcpHisOrderDetails": {
  1719. "get": {
  1720. "security": [
  1721. {
  1722. "ApiKeyAuth": []
  1723. }
  1724. ],
  1725. "produces": [
  1726. "application/json"
  1727. ],
  1728. "tags": [
  1729. "企业风险管理(app)"
  1730. ],
  1731. "summary": "获取企业风管期货历史委托单信息",
  1732. "parameters": [
  1733. {
  1734. "type": "integer",
  1735. "description": "资金账户ID",
  1736. "name": "accountID",
  1737. "in": "query",
  1738. "required": true
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "startDate",
  1744. "in": "query"
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "endDate",
  1750. "in": "query"
  1751. }
  1752. ],
  1753. "responses": {
  1754. "200": {
  1755. "description": "OK",
  1756. "schema": {
  1757. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1758. }
  1759. },
  1760. "500": {
  1761. "description": "Internal Server Error",
  1762. "schema": {
  1763. "$ref": "#/definitions/app.Response"
  1764. }
  1765. }
  1766. }
  1767. }
  1768. },
  1769. "/Ermcp/QueryErmcpHisTradeDetails": {
  1770. "get": {
  1771. "security": [
  1772. {
  1773. "ApiKeyAuth": []
  1774. }
  1775. ],
  1776. "produces": [
  1777. "application/json"
  1778. ],
  1779. "tags": [
  1780. "企业风险管理(app)"
  1781. ],
  1782. "summary": "获取企业风管期货历史成交单信息",
  1783. "parameters": [
  1784. {
  1785. "type": "integer",
  1786. "description": "资金账户ID",
  1787. "name": "accountID",
  1788. "in": "query",
  1789. "required": true
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "商品ID",
  1794. "name": "goodsID",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "买卖方向,0:买 1:卖",
  1800. "name": "buyOrSell",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "关联委托单号",
  1806. "name": "orderID",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "startDate",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "endDate",
  1819. "in": "query"
  1820. }
  1821. ],
  1822. "responses": {
  1823. "200": {
  1824. "description": "OK",
  1825. "schema": {
  1826. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1827. }
  1828. },
  1829. "500": {
  1830. "description": "Internal Server Error",
  1831. "schema": {
  1832. "$ref": "#/definitions/app.Response"
  1833. }
  1834. }
  1835. }
  1836. }
  1837. },
  1838. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1839. "get": {
  1840. "security": [
  1841. {
  1842. "ApiKeyAuth": []
  1843. }
  1844. ],
  1845. "produces": [
  1846. "application/json"
  1847. ],
  1848. "tags": [
  1849. "企业风险管理(app)"
  1850. ],
  1851. "summary": "获取企业风管期货内部持仓单信息",
  1852. "parameters": [
  1853. {
  1854. "type": "integer",
  1855. "description": "资金账户ID",
  1856. "name": "accountID",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "商品ID",
  1863. "name": "goodsID",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "买卖方向,0:买 1:卖",
  1869. "name": "buyOrSell",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/Ermcp/QueryErmcpOrderDetails": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "produces": [
  1897. "application/json"
  1898. ],
  1899. "tags": [
  1900. "企业风险管理(app)"
  1901. ],
  1902. "summary": "获取企业风管期货委托单信息",
  1903. "parameters": [
  1904. {
  1905. "type": "integer",
  1906. "description": "资金账户ID",
  1907. "name": "accountID",
  1908. "in": "query",
  1909. "required": true
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/Ermcp/QueryErmcpTradeDetails": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "企业风险管理(app)"
  1940. ],
  1941. "summary": "获取企业风管期货成交单信息",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "资金账户ID",
  1946. "name": "accountID",
  1947. "in": "query",
  1948. "required": true
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "商品ID",
  1953. "name": "goodsID",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "买卖方向,0:买 1:卖",
  1959. "name": "buyOrSell",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "关联委托单号",
  1965. "name": "orderID",
  1966. "in": "query"
  1967. }
  1968. ],
  1969. "responses": {
  1970. "200": {
  1971. "description": "OK",
  1972. "schema": {
  1973. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1974. }
  1975. },
  1976. "500": {
  1977. "description": "Internal Server Error",
  1978. "schema": {
  1979. "$ref": "#/definitions/app.Response"
  1980. }
  1981. }
  1982. }
  1983. }
  1984. },
  1985. "/Ermcp/QueryErmcpTradePosition": {
  1986. "get": {
  1987. "security": [
  1988. {
  1989. "ApiKeyAuth": []
  1990. }
  1991. ],
  1992. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "获取企业风管期货持仓头寸信息",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "资金账户ID",
  2004. "name": "accountID",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "所属市场ID",
  2011. "name": "marketID",
  2012. "in": "query"
  2013. }
  2014. ],
  2015. "responses": {
  2016. "200": {
  2017. "description": "OK",
  2018. "schema": {
  2019. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2020. }
  2021. },
  2022. "500": {
  2023. "description": "Internal Server Error",
  2024. "schema": {
  2025. "$ref": "#/definitions/app.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/Ermcp/QueryExposureDetail": {
  2032. "get": {
  2033. "security": [
  2034. {
  2035. "ApiKeyAuth": []
  2036. }
  2037. ],
  2038. "produces": [
  2039. "application/json"
  2040. ],
  2041. "tags": [
  2042. "企业风险管理(app)"
  2043. ],
  2044. "summary": "查询敞口现货明细",
  2045. "parameters": [
  2046. {
  2047. "type": "integer",
  2048. "description": "所属机构ID",
  2049. "name": "areaUserId",
  2050. "in": "query",
  2051. "required": true
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "套保商品",
  2056. "name": "middleGoodsId",
  2057. "in": "query",
  2058. "required": true
  2059. }
  2060. ],
  2061. "responses": {
  2062. "200": {
  2063. "description": "OK",
  2064. "schema": {
  2065. "type": "array",
  2066. "items": {
  2067. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2068. }
  2069. }
  2070. },
  2071. "500": {
  2072. "description": "Internal Server Error",
  2073. "schema": {
  2074. "$ref": "#/definitions/app.Response"
  2075. }
  2076. }
  2077. }
  2078. }
  2079. },
  2080. "/Ermcp/QueryExposureGoods": {
  2081. "get": {
  2082. "security": [
  2083. {
  2084. "ApiKeyAuth": []
  2085. }
  2086. ],
  2087. "produces": [
  2088. "application/json"
  2089. ],
  2090. "tags": [
  2091. "企业风险管理(app)"
  2092. ],
  2093. "summary": "查询敞口主力合约",
  2094. "parameters": [
  2095. {
  2096. "type": "integer",
  2097. "description": "套保商品id",
  2098. "name": "middlegoodsid",
  2099. "in": "query",
  2100. "required": true
  2101. }
  2102. ],
  2103. "responses": {
  2104. "200": {
  2105. "description": "OK",
  2106. "schema": {
  2107. "type": "array",
  2108. "items": {
  2109. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2110. }
  2111. }
  2112. },
  2113. "500": {
  2114. "description": "Internal Server Error",
  2115. "schema": {
  2116. "$ref": "#/definitions/app.Response"
  2117. }
  2118. }
  2119. }
  2120. }
  2121. },
  2122. "/Ermcp/QueryExposureHedgePosition": {
  2123. "get": {
  2124. "security": [
  2125. {
  2126. "ApiKeyAuth": []
  2127. }
  2128. ],
  2129. "produces": [
  2130. "application/json"
  2131. ],
  2132. "tags": [
  2133. "企业风险管理(app)"
  2134. ],
  2135. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2136. "parameters": [
  2137. {
  2138. "type": "integer",
  2139. "description": "用户id",
  2140. "name": "userid",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureHedgePositionDetail": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "userid",
  2183. "in": "query",
  2184. "required": true
  2185. },
  2186. {
  2187. "type": "integer",
  2188. "description": "商品id",
  2189. "name": "goodsId",
  2190. "in": "query",
  2191. "required": true
  2192. }
  2193. ],
  2194. "responses": {
  2195. "200": {
  2196. "description": "OK",
  2197. "schema": {
  2198. "type": "array",
  2199. "items": {
  2200. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2201. }
  2202. }
  2203. },
  2204. "500": {
  2205. "description": "Internal Server Error",
  2206. "schema": {
  2207. "$ref": "#/definitions/app.Response"
  2208. }
  2209. }
  2210. }
  2211. }
  2212. },
  2213. "/Ermcp/QueryExposureSpot": {
  2214. "get": {
  2215. "security": [
  2216. {
  2217. "ApiKeyAuth": []
  2218. }
  2219. ],
  2220. "produces": [
  2221. "application/json"
  2222. ],
  2223. "tags": [
  2224. "企业风险管理(app)"
  2225. ],
  2226. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2227. "parameters": [
  2228. {
  2229. "type": "integer",
  2230. "description": "所属机构ID",
  2231. "name": "areaUserId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryExposureSpotDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "areaUserId",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "现货品种ID",
  2280. "name": "wrstandardId",
  2281. "in": "query",
  2282. "required": true
  2283. }
  2284. ],
  2285. "responses": {
  2286. "200": {
  2287. "description": "OK",
  2288. "schema": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2292. }
  2293. }
  2294. },
  2295. "500": {
  2296. "description": "Internal Server Error",
  2297. "schema": {
  2298. "$ref": "#/definitions/app.Response"
  2299. }
  2300. }
  2301. }
  2302. }
  2303. },
  2304. "/Ermcp/QueryFuturesCompany": {
  2305. "get": {
  2306. "security": [
  2307. {
  2308. "ApiKeyAuth": []
  2309. }
  2310. ],
  2311. "produces": [
  2312. "application/json"
  2313. ],
  2314. "tags": [
  2315. "企业风险管理(app)"
  2316. ],
  2317. "summary": "查询期货公司",
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "type": "array",
  2323. "items": {
  2324. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2325. }
  2326. }
  2327. },
  2328. "500": {
  2329. "description": "Internal Server Error",
  2330. "schema": {
  2331. "$ref": "#/definitions/app.Response"
  2332. }
  2333. }
  2334. }
  2335. }
  2336. },
  2337. "/Ermcp/QueryGGConvertConfig": {
  2338. "get": {
  2339. "security": [
  2340. {
  2341. "ApiKeyAuth": []
  2342. }
  2343. ],
  2344. "produces": [
  2345. "application/json"
  2346. ],
  2347. "tags": [
  2348. "企业风险管理(app)"
  2349. ],
  2350. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2351. "parameters": [
  2352. {
  2353. "type": "integer",
  2354. "description": "品种id(不填则查所有)",
  2355. "name": "goodsgroupid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsBrand": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品品牌",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. },
  2400. {
  2401. "type": "integer",
  2402. "description": "现货商品ID",
  2403. "name": "wrstandardid",
  2404. "in": "query"
  2405. }
  2406. ],
  2407. "responses": {
  2408. "200": {
  2409. "description": "OK",
  2410. "schema": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2414. }
  2415. }
  2416. },
  2417. "500": {
  2418. "description": "Internal Server Error",
  2419. "schema": {
  2420. "$ref": "#/definitions/app.Response"
  2421. }
  2422. }
  2423. }
  2424. }
  2425. },
  2426. "/Ermcp/QueryGoodsModel": {
  2427. "get": {
  2428. "security": [
  2429. {
  2430. "ApiKeyAuth": []
  2431. }
  2432. ],
  2433. "produces": [
  2434. "application/json"
  2435. ],
  2436. "tags": [
  2437. "企业风险管理(app)"
  2438. ],
  2439. "summary": "查询商品型号",
  2440. "parameters": [
  2441. {
  2442. "type": "integer",
  2443. "description": "用户ID",
  2444. "name": "userid",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryHisExposure": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "用户id",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "每个品种记录数",
  2493. "name": "lastNum",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoods": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询套保品种(菜单:套保品种)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "状态 0-停用 1-正常",
  2542. "name": "status",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "所属机构ID",
  2584. "name": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query",
  2593. "required": true
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryMiddleGoodsDetail": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "所属机构ID",
  2633. "name": "userid",
  2634. "in": "query",
  2635. "required": true
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "套保品种id",
  2640. "name": "middlegoodsid",
  2641. "in": "query"
  2642. }
  2643. ],
  2644. "responses": {
  2645. "200": {
  2646. "description": "OK",
  2647. "schema": {
  2648. "type": "array",
  2649. "items": {
  2650. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2651. }
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/app.Response"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/Ermcp/QueryPendingAuditInfo": {
  2664. "get": {
  2665. "security": [
  2666. {
  2667. "ApiKeyAuth": []
  2668. }
  2669. ],
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "企业风险管理(app)"
  2675. ],
  2676. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2677. "parameters": [
  2678. {
  2679. "type": "integer",
  2680. "description": "用户ID",
  2681. "name": "UserId",
  2682. "in": "query",
  2683. "required": true
  2684. }
  2685. ],
  2686. "responses": {
  2687. "200": {
  2688. "description": "OK",
  2689. "schema": {
  2690. "type": "array",
  2691. "items": {
  2692. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2693. }
  2694. }
  2695. },
  2696. "500": {
  2697. "description": "Internal Server Error",
  2698. "schema": {
  2699. "$ref": "#/definitions/app.Response"
  2700. }
  2701. }
  2702. }
  2703. }
  2704. },
  2705. "/Ermcp/QueryRealtimeExposure": {
  2706. "get": {
  2707. "security": [
  2708. {
  2709. "ApiKeyAuth": []
  2710. }
  2711. ],
  2712. "produces": [
  2713. "application/json"
  2714. ],
  2715. "tags": [
  2716. "企业风险管理(app)"
  2717. ],
  2718. "summary": "查询实时敞口",
  2719. "parameters": [
  2720. {
  2721. "type": "integer",
  2722. "description": "所属机构ID",
  2723. "name": "userid",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryRealtimeExposurePosition": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "用户id",
  2765. "name": "userid",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "套保商品ID",
  2772. "name": "middleGoodsId",
  2773. "in": "query",
  2774. "required": true
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryTradeConfigTMP": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询交易模板配置",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "所属机构id",
  2814. "name": "areauserid",
  2815. "in": "query"
  2816. }
  2817. ],
  2818. "responses": {
  2819. "200": {
  2820. "description": "OK",
  2821. "schema": {
  2822. "type": "array",
  2823. "items": {
  2824. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2825. }
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/Ermcp/QueryUserInfo": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "企业风险管理(app)"
  2849. ],
  2850. "summary": "查询客户资料",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "所属机构用户ID",
  2855. "name": "MemberUserID",
  2856. "in": "query",
  2857. "required": true
  2858. },
  2859. {
  2860. "type": "integer",
  2861. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2862. "name": "queryType",
  2863. "in": "query",
  2864. "required": true
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp/QueryWarehouseInfo": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理(app)"
  2898. ],
  2899. "summary": "查询仓库信息",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "string",
  2910. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2911. "name": "status",
  2912. "in": "query"
  2913. }
  2914. ],
  2915. "responses": {
  2916. "200": {
  2917. "description": "OK",
  2918. "schema": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2922. }
  2923. }
  2924. },
  2925. "500": {
  2926. "description": "Internal Server Error",
  2927. "schema": {
  2928. "$ref": "#/definitions/app.Response"
  2929. }
  2930. }
  2931. }
  2932. }
  2933. },
  2934. "/Ermcp3/QryAreaExpourseContractDetail": {
  2935. "get": {
  2936. "security": [
  2937. {
  2938. "ApiKeyAuth": []
  2939. }
  2940. ],
  2941. "produces": [
  2942. "application/json"
  2943. ],
  2944. "tags": [
  2945. "企业风险管理v3(app)"
  2946. ],
  2947. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2948. "parameters": [
  2949. {
  2950. "type": "integer",
  2951. "description": "用户ID",
  2952. "name": "userid",
  2953. "in": "query",
  2954. "required": true
  2955. },
  2956. {
  2957. "type": "integer",
  2958. "description": "套保商品id",
  2959. "name": "middlegoodsid",
  2960. "in": "query",
  2961. "required": true
  2962. },
  2963. {
  2964. "type": "integer",
  2965. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2966. "name": "cycletype",
  2967. "in": "query",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "string",
  2972. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2973. "name": "cycletime",
  2974. "in": "query",
  2975. "required": true
  2976. }
  2977. ],
  2978. "responses": {
  2979. "200": {
  2980. "description": "OK",
  2981. "schema": {
  2982. "type": "array",
  2983. "items": {
  2984. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2985. }
  2986. }
  2987. },
  2988. "500": {
  2989. "description": "Internal Server Error",
  2990. "schema": {
  2991. "$ref": "#/definitions/app.Response"
  2992. }
  2993. }
  2994. }
  2995. }
  2996. },
  2997. "/Ermcp3/QryAreaExpourseFutuDetail": {
  2998. "get": {
  2999. "security": [
  3000. {
  3001. "ApiKeyAuth": []
  3002. }
  3003. ],
  3004. "produces": [
  3005. "application/json"
  3006. ],
  3007. "tags": [
  3008. "企业风险管理v3(app)"
  3009. ],
  3010. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3011. "parameters": [
  3012. {
  3013. "type": "integer",
  3014. "description": "用户ID",
  3015. "name": "userid",
  3016. "in": "query",
  3017. "required": true
  3018. },
  3019. {
  3020. "type": "integer",
  3021. "description": "套保商品id",
  3022. "name": "middlegoodsid",
  3023. "in": "query",
  3024. "required": true
  3025. },
  3026. {
  3027. "type": "integer",
  3028. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3029. "name": "cycletype",
  3030. "in": "query",
  3031. "required": true
  3032. },
  3033. {
  3034. "type": "string",
  3035. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3036. "name": "cycletime",
  3037. "in": "query",
  3038. "required": true
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "type": "array",
  3046. "items": {
  3047. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3048. }
  3049. }
  3050. },
  3051. "500": {
  3052. "description": "Internal Server Error",
  3053. "schema": {
  3054. "$ref": "#/definitions/app.Response"
  3055. }
  3056. }
  3057. }
  3058. }
  3059. },
  3060. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3061. "get": {
  3062. "security": [
  3063. {
  3064. "ApiKeyAuth": []
  3065. }
  3066. ],
  3067. "produces": [
  3068. "application/json"
  3069. ],
  3070. "tags": [
  3071. "企业风险管理v3(app)"
  3072. ],
  3073. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3074. "parameters": [
  3075. {
  3076. "type": "integer",
  3077. "description": "用户ID",
  3078. "name": "userid",
  3079. "in": "query",
  3080. "required": true
  3081. },
  3082. {
  3083. "type": "integer",
  3084. "description": "套保商品id",
  3085. "name": "middlegoodsid",
  3086. "in": "query",
  3087. "required": true
  3088. },
  3089. {
  3090. "type": "integer",
  3091. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3092. "name": "cycletype",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "string",
  3098. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3099. "name": "cycletime",
  3100. "in": "query",
  3101. "required": true
  3102. }
  3103. ],
  3104. "responses": {
  3105. "200": {
  3106. "description": "OK",
  3107. "schema": {
  3108. "type": "array",
  3109. "items": {
  3110. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3111. }
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/app.Response"
  3118. }
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3124. "get": {
  3125. "security": [
  3126. {
  3127. "ApiKeyAuth": []
  3128. }
  3129. ],
  3130. "produces": [
  3131. "application/json"
  3132. ],
  3133. "tags": [
  3134. "企业风险管理v3(app)"
  3135. ],
  3136. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3137. "parameters": [
  3138. {
  3139. "type": "integer",
  3140. "description": "用户ID",
  3141. "name": "userid",
  3142. "in": "query",
  3143. "required": true
  3144. },
  3145. {
  3146. "type": "integer",
  3147. "description": "套保商品id",
  3148. "name": "middlegoodsid",
  3149. "in": "query",
  3150. "required": true
  3151. },
  3152. {
  3153. "type": "integer",
  3154. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3155. "name": "cycletype",
  3156. "in": "query",
  3157. "required": true
  3158. },
  3159. {
  3160. "type": "string",
  3161. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3162. "name": "cycletime",
  3163. "in": "query",
  3164. "required": true
  3165. }
  3166. ],
  3167. "responses": {
  3168. "200": {
  3169. "description": "OK",
  3170. "schema": {
  3171. "type": "array",
  3172. "items": {
  3173. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3174. }
  3175. }
  3176. },
  3177. "500": {
  3178. "description": "Internal Server Error",
  3179. "schema": {
  3180. "$ref": "#/definitions/app.Response"
  3181. }
  3182. }
  3183. }
  3184. }
  3185. },
  3186. "/Ermcp3/QryAreaExpourseReport": {
  3187. "get": {
  3188. "security": [
  3189. {
  3190. "ApiKeyAuth": []
  3191. }
  3192. ],
  3193. "produces": [
  3194. "application/json"
  3195. ],
  3196. "tags": [
  3197. "企业风险管理v3(app)"
  3198. ],
  3199. "summary": "查询敞口报表",
  3200. "parameters": [
  3201. {
  3202. "type": "integer",
  3203. "description": "用户ID",
  3204. "name": "userid",
  3205. "in": "query",
  3206. "required": true
  3207. },
  3208. {
  3209. "type": "integer",
  3210. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3211. "name": "querytype",
  3212. "in": "query",
  3213. "required": true
  3214. },
  3215. {
  3216. "type": "integer",
  3217. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3218. "name": "cycletype",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3225. "name": "cycletime",
  3226. "in": "query",
  3227. "required": true
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSpotplReport": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询现货报表",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "用户ID",
  3267. "name": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "现货品种id(明细必填)",
  3295. "name": "deliverygoodsid",
  3296. "in": "query"
  3297. },
  3298. {
  3299. "type": "integer",
  3300. "description": "币种id(明细必填)",
  3301. "name": "currencyid",
  3302. "in": "query"
  3303. }
  3304. ],
  3305. "responses": {
  3306. "200": {
  3307. "description": "OK",
  3308. "schema": {
  3309. "type": "array",
  3310. "items": {
  3311. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3312. }
  3313. }
  3314. },
  3315. "500": {
  3316. "description": "Internal Server Error",
  3317. "schema": {
  3318. "$ref": "#/definitions/app.Response"
  3319. }
  3320. }
  3321. }
  3322. }
  3323. },
  3324. "/Ermcp3/QryAreaStockReport": {
  3325. "get": {
  3326. "security": [
  3327. {
  3328. "ApiKeyAuth": []
  3329. }
  3330. ],
  3331. "produces": [
  3332. "application/json"
  3333. ],
  3334. "tags": [
  3335. "企业风险管理v3(app)"
  3336. ],
  3337. "summary": "查询库存报表",
  3338. "parameters": [
  3339. {
  3340. "type": "integer",
  3341. "description": "用户ID",
  3342. "name": "userid",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "查询类型 1-报表 2-报表明细",
  3349. "name": "querytype",
  3350. "in": "query",
  3351. "required": true
  3352. },
  3353. {
  3354. "type": "integer",
  3355. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3356. "name": "cycletype",
  3357. "in": "query",
  3358. "required": true
  3359. },
  3360. {
  3361. "type": "string",
  3362. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3363. "name": "cycletime",
  3364. "in": "query",
  3365. "required": true
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3370. "name": "sumfields",
  3371. "in": "query"
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "品种ID",
  3376. "name": "deliverygoodsid",
  3377. "in": "query"
  3378. },
  3379. {
  3380. "type": "integer",
  3381. "description": "品类ID",
  3382. "name": "wrstandardid",
  3383. "in": "query"
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "品牌ID",
  3388. "name": "spotgoodsbrandid",
  3389. "in": "query"
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "仓库ID",
  3394. "name": "warehouseinfoid",
  3395. "in": "query"
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "type": "array",
  3403. "items": {
  3404. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3405. }
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/Ermcp3/QryAreaSumPL": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "企业风险管理v3(app)"
  3429. ],
  3430. "summary": "查询汇总损益表",
  3431. "parameters": [
  3432. {
  3433. "type": "integer",
  3434. "description": "用户ID",
  3435. "name": "userid",
  3436. "in": "query",
  3437. "required": true
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "查询类型 1-报表 2-报表明细",
  3442. "name": "querytype",
  3443. "in": "query",
  3444. "required": true
  3445. },
  3446. {
  3447. "type": "integer",
  3448. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3449. "name": "cycletype",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "string",
  3455. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3456. "name": "cycletime",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "币种id(明细必填)",
  3463. "name": "currencyid",
  3464. "in": "query"
  3465. }
  3466. ],
  3467. "responses": {
  3468. "200": {
  3469. "description": "OK",
  3470. "schema": {
  3471. "type": "array",
  3472. "items": {
  3473. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3474. }
  3475. }
  3476. },
  3477. "500": {
  3478. "description": "Internal Server Error",
  3479. "schema": {
  3480. "$ref": "#/definitions/app.Response"
  3481. }
  3482. }
  3483. }
  3484. }
  3485. },
  3486. "/Ermcp3/QryFinanceReport": {
  3487. "get": {
  3488. "security": [
  3489. {
  3490. "ApiKeyAuth": []
  3491. }
  3492. ],
  3493. "produces": [
  3494. "application/json"
  3495. ],
  3496. "tags": [
  3497. "企业风险管理v3(app)"
  3498. ],
  3499. "summary": "查询财务报表",
  3500. "parameters": [
  3501. {
  3502. "type": "integer",
  3503. "description": "用户ID",
  3504. "name": "userid",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "integer",
  3510. "description": "查询类型 1-报表 2-报表明细",
  3511. "name": "querytype",
  3512. "in": "query",
  3513. "required": true
  3514. },
  3515. {
  3516. "type": "integer",
  3517. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3518. "name": "cycletype",
  3519. "in": "query",
  3520. "required": true
  3521. },
  3522. {
  3523. "type": "string",
  3524. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3525. "name": "cycletime",
  3526. "in": "query",
  3527. "required": true
  3528. },
  3529. {
  3530. "type": "integer",
  3531. "description": "币种id(报表明细必填)",
  3532. "name": "currencyid",
  3533. "in": "query"
  3534. },
  3535. {
  3536. "type": "string",
  3537. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3538. "name": "sumfields",
  3539. "in": "query"
  3540. }
  3541. ],
  3542. "responses": {
  3543. "200": {
  3544. "description": "OK",
  3545. "schema": {
  3546. "type": "array",
  3547. "items": {
  3548. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3549. }
  3550. }
  3551. },
  3552. "500": {
  3553. "description": "Internal Server Error",
  3554. "schema": {
  3555. "$ref": "#/definitions/app.Response"
  3556. }
  3557. }
  3558. }
  3559. }
  3560. },
  3561. "/Ermcp3/QryTaFutureDataReport": {
  3562. "get": {
  3563. "security": [
  3564. {
  3565. "ApiKeyAuth": []
  3566. }
  3567. ],
  3568. "produces": [
  3569. "application/json"
  3570. ],
  3571. "tags": [
  3572. "企业风险管理v3(app)"
  3573. ],
  3574. "summary": "查询期货报表",
  3575. "parameters": [
  3576. {
  3577. "type": "integer",
  3578. "description": "用户ID",
  3579. "name": "userid",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "查询类型 1-报表 2-报表明细",
  3586. "name": "querytype",
  3587. "in": "query",
  3588. "required": true
  3589. },
  3590. {
  3591. "type": "integer",
  3592. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3593. "name": "cycletype",
  3594. "in": "query",
  3595. "required": true
  3596. },
  3597. {
  3598. "type": "string",
  3599. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3600. "name": "cycletime",
  3601. "in": "query",
  3602. "required": true
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "币种id(查明细必填)",
  3607. "name": "currencyid",
  3608. "in": "query"
  3609. },
  3610. {
  3611. "type": "integer",
  3612. "description": "品种id(查明细必填)",
  3613. "name": "goodsgroupid",
  3614. "in": "query"
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "商品id(查明细必填)",
  3619. "name": "goodsid",
  3620. "in": "query"
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "买卖方向(查明细必填)",
  3625. "name": "buyorsell",
  3626. "in": "query"
  3627. }
  3628. ],
  3629. "responses": {
  3630. "200": {
  3631. "description": "OK",
  3632. "schema": {
  3633. "type": "array",
  3634. "items": {
  3635. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3636. }
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/Ermcp3/QueryAreaStock": {
  3649. "get": {
  3650. "security": [
  3651. {
  3652. "ApiKeyAuth": []
  3653. }
  3654. ],
  3655. "produces": [
  3656. "application/json"
  3657. ],
  3658. "tags": [
  3659. "企业风险管理v3(app)"
  3660. ],
  3661. "summary": "查询机构库存(库存管理/当前库存)",
  3662. "parameters": [
  3663. {
  3664. "type": "integer",
  3665. "description": "用户ID",
  3666. "name": "userid",
  3667. "in": "query",
  3668. "required": true
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "type": "array",
  3676. "items": {
  3677. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3678. }
  3679. }
  3680. },
  3681. "500": {
  3682. "description": "Internal Server Error",
  3683. "schema": {
  3684. "$ref": "#/definitions/app.Response"
  3685. }
  3686. }
  3687. }
  3688. }
  3689. },
  3690. "/Ermcp3/QueryAreaStockApply": {
  3691. "get": {
  3692. "security": [
  3693. {
  3694. "ApiKeyAuth": []
  3695. }
  3696. ],
  3697. "produces": [
  3698. "application/json"
  3699. ],
  3700. "tags": [
  3701. "企业风险管理v3(app)"
  3702. ],
  3703. "summary": "查询库存申请(出入库记录|库存审核)",
  3704. "parameters": [
  3705. {
  3706. "type": "integer",
  3707. "description": "用户ID",
  3708. "name": "userid",
  3709. "in": "query",
  3710. "required": true
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "用户类型 2-机构 7-企业成员",
  3715. "name": "usertype",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "现货商品ID",
  3721. "name": "deliverygoodsid",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "string",
  3726. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3727. "name": "inouttype",
  3728. "in": "query"
  3729. },
  3730. {
  3731. "type": "integer",
  3732. "description": "合同ID",
  3733. "name": "spotcontractid",
  3734. "in": "query"
  3735. },
  3736. {
  3737. "type": "integer",
  3738. "description": "品类ID",
  3739. "name": "wrstandardid",
  3740. "in": "query"
  3741. },
  3742. {
  3743. "type": "integer",
  3744. "description": "品牌ID",
  3745. "name": "spotgoodsbrandid",
  3746. "in": "query"
  3747. },
  3748. {
  3749. "type": "integer",
  3750. "description": "仓库ID",
  3751. "name": "warehouseinfoid",
  3752. "in": "query"
  3753. },
  3754. {
  3755. "type": "string",
  3756. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3757. "name": "applystatus",
  3758. "in": "query"
  3759. }
  3760. ],
  3761. "responses": {
  3762. "200": {
  3763. "description": "OK",
  3764. "schema": {
  3765. "type": "array",
  3766. "items": {
  3767. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3768. }
  3769. }
  3770. },
  3771. "500": {
  3772. "description": "Internal Server Error",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. }
  3777. }
  3778. }
  3779. },
  3780. "/Ermcp3/QueryAreaStockApplySum": {
  3781. "get": {
  3782. "security": [
  3783. {
  3784. "ApiKeyAuth": []
  3785. }
  3786. ],
  3787. "produces": [
  3788. "application/json"
  3789. ],
  3790. "tags": [
  3791. "企业风险管理v3(app)"
  3792. ],
  3793. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3794. "parameters": [
  3795. {
  3796. "type": "integer",
  3797. "description": "合同ID",
  3798. "name": "spotcontractid",
  3799. "in": "query"
  3800. }
  3801. ],
  3802. "responses": {
  3803. "200": {
  3804. "description": "OK",
  3805. "schema": {
  3806. "type": "array",
  3807. "items": {
  3808. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3809. }
  3810. }
  3811. },
  3812. "500": {
  3813. "description": "Internal Server Error",
  3814. "schema": {
  3815. "$ref": "#/definitions/app.Response"
  3816. }
  3817. }
  3818. }
  3819. }
  3820. },
  3821. "/Ermcp3/QueryDGFactoryItem": {
  3822. "get": {
  3823. "security": [
  3824. {
  3825. "ApiKeyAuth": []
  3826. }
  3827. ],
  3828. "produces": [
  3829. "application/json"
  3830. ],
  3831. "tags": [
  3832. "企业风险管理v3(app)"
  3833. ],
  3834. "summary": "查询品种要素定义项",
  3835. "parameters": [
  3836. {
  3837. "type": "integer",
  3838. "description": "用户id",
  3839. "name": "userid",
  3840. "in": "query"
  3841. },
  3842. {
  3843. "type": "integer",
  3844. "description": "用户类型 2-机构 7-企业成员",
  3845. "name": "usertype",
  3846. "in": "query"
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3851. "name": "dgfactoryitemid",
  3852. "in": "query"
  3853. },
  3854. {
  3855. "type": "integer",
  3856. "description": "现货品种ID",
  3857. "name": "deliverygoodsid",
  3858. "in": "query"
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "要素项类型",
  3863. "name": "dgfactoryitemtypeid",
  3864. "in": "query"
  3865. },
  3866. {
  3867. "type": "integer",
  3868. "description": "顺序",
  3869. "name": "orderindex",
  3870. "in": "query"
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "type": "array",
  3878. "items": {
  3879. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3880. }
  3881. }
  3882. },
  3883. "500": {
  3884. "description": "Internal Server Error",
  3885. "schema": {
  3886. "$ref": "#/definitions/app.Response"
  3887. }
  3888. }
  3889. }
  3890. }
  3891. },
  3892. "/Ermcp3/QueryDeliveryGoods": {
  3893. "get": {
  3894. "security": [
  3895. {
  3896. "ApiKeyAuth": []
  3897. }
  3898. ],
  3899. "produces": [
  3900. "application/json"
  3901. ],
  3902. "tags": [
  3903. "企业风险管理v3(app)"
  3904. ],
  3905. "summary": "查询现货商品",
  3906. "parameters": [
  3907. {
  3908. "type": "integer",
  3909. "description": "用户id",
  3910. "name": "userid",
  3911. "in": "query",
  3912. "required": true
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "用户类型 2-机构 7-企业成员",
  3917. "name": "usertype",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3923. "name": "excludecfg",
  3924. "in": "query"
  3925. }
  3926. ],
  3927. "responses": {
  3928. "200": {
  3929. "description": "OK",
  3930. "schema": {
  3931. "type": "array",
  3932. "items": {
  3933. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3934. }
  3935. }
  3936. },
  3937. "500": {
  3938. "description": "Internal Server Error",
  3939. "schema": {
  3940. "$ref": "#/definitions/app.Response"
  3941. }
  3942. }
  3943. }
  3944. }
  3945. },
  3946. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3947. "get": {
  3948. "security": [
  3949. {
  3950. "ApiKeyAuth": []
  3951. }
  3952. ],
  3953. "produces": [
  3954. "application/json"
  3955. ],
  3956. "tags": [
  3957. "企业风险管理v3(app)"
  3958. ],
  3959. "summary": "查询现货商品详情",
  3960. "parameters": [
  3961. {
  3962. "type": "integer",
  3963. "description": "用户id",
  3964. "name": "userid",
  3965. "in": "query",
  3966. "required": true
  3967. },
  3968. {
  3969. "type": "integer",
  3970. "description": "用户类型 2-机构 7-企业成员",
  3971. "name": "usertype",
  3972. "in": "query"
  3973. },
  3974. {
  3975. "type": "integer",
  3976. "description": "现货商品id",
  3977. "name": "deliverygoodsid",
  3978. "in": "query"
  3979. }
  3980. ],
  3981. "responses": {
  3982. "200": {
  3983. "description": "OK",
  3984. "schema": {
  3985. "type": "array",
  3986. "items": {
  3987. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3988. }
  3989. }
  3990. },
  3991. "500": {
  3992. "description": "Internal Server Error",
  3993. "schema": {
  3994. "$ref": "#/definitions/app.Response"
  3995. }
  3996. }
  3997. }
  3998. }
  3999. },
  4000. "/Ermcp3/QueryExposureDetail": {
  4001. "get": {
  4002. "security": [
  4003. {
  4004. "ApiKeyAuth": []
  4005. }
  4006. ],
  4007. "produces": [
  4008. "application/json"
  4009. ],
  4010. "tags": [
  4011. "企业风险管理v3(app)"
  4012. ],
  4013. "summary": "查询敞口现货明细",
  4014. "parameters": [
  4015. {
  4016. "type": "integer",
  4017. "description": "用户id",
  4018. "name": "userid",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "用户类型 2-机构 7-企业成员",
  4025. "name": "usertype",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保商品",
  4031. "name": "middlegoodsid",
  4032. "in": "query",
  4033. "required": true
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureSpot": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户id",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "用户类型 2-机构 7-企业成员",
  4080. "name": "usertype",
  4081. "in": "query"
  4082. }
  4083. ],
  4084. "responses": {
  4085. "200": {
  4086. "description": "OK",
  4087. "schema": {
  4088. "type": "array",
  4089. "items": {
  4090. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4091. }
  4092. }
  4093. },
  4094. "500": {
  4095. "description": "Internal Server Error",
  4096. "schema": {
  4097. "$ref": "#/definitions/app.Response"
  4098. }
  4099. }
  4100. }
  4101. }
  4102. },
  4103. "/Ermcp3/QueryExposureSpotDetail": {
  4104. "get": {
  4105. "security": [
  4106. {
  4107. "ApiKeyAuth": []
  4108. }
  4109. ],
  4110. "produces": [
  4111. "application/json"
  4112. ],
  4113. "tags": [
  4114. "企业风险管理v3(app)"
  4115. ],
  4116. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4117. "parameters": [
  4118. {
  4119. "type": "integer",
  4120. "description": "用户id",
  4121. "name": "userid",
  4122. "in": "query",
  4123. "required": true
  4124. },
  4125. {
  4126. "type": "integer",
  4127. "description": "用户类型 2-机构 7-企业成员",
  4128. "name": "usertype",
  4129. "in": "query"
  4130. },
  4131. {
  4132. "type": "integer",
  4133. "description": "现货品种ID",
  4134. "name": "deliverygoodsid",
  4135. "in": "query",
  4136. "required": true
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryGoodsGroup": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "企业风险管理v3(app)"
  4170. ],
  4171. "summary": "查询期货商品组",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户id",
  4176. "name": "userid",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "用户类型 2-机构 7-企业成员",
  4183. "name": "usertype",
  4184. "in": "query"
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "排除套保品中已关联的商品组 1-排除",
  4189. "name": "excludecfg",
  4190. "in": "query"
  4191. }
  4192. ],
  4193. "responses": {
  4194. "200": {
  4195. "description": "OK",
  4196. "schema": {
  4197. "type": "array",
  4198. "items": {
  4199. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4200. }
  4201. }
  4202. },
  4203. "500": {
  4204. "description": "Internal Server Error",
  4205. "schema": {
  4206. "$ref": "#/definitions/app.Response"
  4207. }
  4208. }
  4209. }
  4210. }
  4211. },
  4212. "/Ermcp3/QueryGoodsWrstandard": {
  4213. "get": {
  4214. "security": [
  4215. {
  4216. "ApiKeyAuth": []
  4217. }
  4218. ],
  4219. "produces": [
  4220. "application/json"
  4221. ],
  4222. "tags": [
  4223. "企业风险管理v3(app)"
  4224. ],
  4225. "summary": "查询商品品类",
  4226. "parameters": [
  4227. {
  4228. "type": "integer",
  4229. "description": "用户id",
  4230. "name": "userid",
  4231. "in": "query",
  4232. "required": true
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "用户类型 2-机构 7-企业成员",
  4237. "name": "usertype",
  4238. "in": "query"
  4239. },
  4240. {
  4241. "type": "integer",
  4242. "description": "现货商品id",
  4243. "name": "deliverygoodsid",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "type": "array",
  4252. "items": {
  4253. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4254. }
  4255. }
  4256. },
  4257. "500": {
  4258. "description": "Internal Server Error",
  4259. "schema": {
  4260. "$ref": "#/definitions/app.Response"
  4261. }
  4262. }
  4263. }
  4264. }
  4265. },
  4266. "/Ermcp3/QueryGoodsbrand": {
  4267. "get": {
  4268. "security": [
  4269. {
  4270. "ApiKeyAuth": []
  4271. }
  4272. ],
  4273. "produces": [
  4274. "application/json"
  4275. ],
  4276. "tags": [
  4277. "企业风险管理v3(app)"
  4278. ],
  4279. "summary": "查询商品品牌",
  4280. "parameters": [
  4281. {
  4282. "type": "integer",
  4283. "description": "用户id",
  4284. "name": "userid",
  4285. "in": "query",
  4286. "required": true
  4287. },
  4288. {
  4289. "type": "integer",
  4290. "description": "用户类型 2-机构 7-企业成员",
  4291. "name": "usertype",
  4292. "in": "query"
  4293. }
  4294. ],
  4295. "responses": {
  4296. "200": {
  4297. "description": "OK",
  4298. "schema": {
  4299. "type": "array",
  4300. "items": {
  4301. "$ref": "#/definitions/models.Ermcp3Brand"
  4302. }
  4303. }
  4304. },
  4305. "500": {
  4306. "description": "Internal Server Error",
  4307. "schema": {
  4308. "$ref": "#/definitions/app.Response"
  4309. }
  4310. }
  4311. }
  4312. }
  4313. },
  4314. "/Ermcp3/QueryHedgePlan": {
  4315. "get": {
  4316. "security": [
  4317. {
  4318. "ApiKeyAuth": []
  4319. }
  4320. ],
  4321. "produces": [
  4322. "application/json"
  4323. ],
  4324. "tags": [
  4325. "企业风险管理v3(app)"
  4326. ],
  4327. "summary": "查询套保计划",
  4328. "parameters": [
  4329. {
  4330. "type": "integer",
  4331. "description": "用户ID",
  4332. "name": "userid",
  4333. "in": "query",
  4334. "required": true
  4335. },
  4336. {
  4337. "type": "integer",
  4338. "description": "用户类型 2-机构 7-企业成员",
  4339. "name": "usertype",
  4340. "in": "query"
  4341. },
  4342. {
  4343. "type": "string",
  4344. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4345. "name": "hedgeplanstatus",
  4346. "in": "query",
  4347. "required": true
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryMiddleGoodsDetail": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "企业风险管理v3(app)"
  4381. ],
  4382. "summary": "查询套保品种详情(套保品种/商品详情)",
  4383. "parameters": [
  4384. {
  4385. "type": "integer",
  4386. "description": "用户id",
  4387. "name": "userid",
  4388. "in": "query",
  4389. "required": true
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "用户类型 2-机构 7-企业成员",
  4394. "name": "usertype",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "integer",
  4399. "description": "套保品种id",
  4400. "name": "middlegoodsid",
  4401. "in": "query"
  4402. }
  4403. ],
  4404. "responses": {
  4405. "200": {
  4406. "description": "OK",
  4407. "schema": {
  4408. "type": "array",
  4409. "items": {
  4410. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4411. }
  4412. }
  4413. },
  4414. "500": {
  4415. "description": "Internal Server Error",
  4416. "schema": {
  4417. "$ref": "#/definitions/app.Response"
  4418. }
  4419. }
  4420. }
  4421. }
  4422. },
  4423. "/Ermcp3/QueryRootUserAccount": {
  4424. "get": {
  4425. "security": [
  4426. {
  4427. "ApiKeyAuth": []
  4428. }
  4429. ],
  4430. "produces": [
  4431. "application/json"
  4432. ],
  4433. "tags": [
  4434. "企业风险管理v3(app)"
  4435. ],
  4436. "summary": "查询顶级用户信息",
  4437. "parameters": [
  4438. {
  4439. "type": "integer",
  4440. "description": "用户ID",
  4441. "name": "userid",
  4442. "in": "query",
  4443. "required": true
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "type": "array",
  4451. "items": {
  4452. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4453. }
  4454. }
  4455. },
  4456. "500": {
  4457. "description": "Internal Server Error",
  4458. "schema": {
  4459. "$ref": "#/definitions/app.Response"
  4460. }
  4461. }
  4462. }
  4463. }
  4464. },
  4465. "/Ermcp3/QuerySpotContract": {
  4466. "get": {
  4467. "security": [
  4468. {
  4469. "ApiKeyAuth": []
  4470. }
  4471. ],
  4472. "produces": [
  4473. "application/json"
  4474. ],
  4475. "tags": [
  4476. "企业风险管理v3(app)"
  4477. ],
  4478. "summary": "查询现货合同",
  4479. "parameters": [
  4480. {
  4481. "type": "integer",
  4482. "description": "用户id",
  4483. "name": "userid",
  4484. "in": "query",
  4485. "required": true
  4486. },
  4487. {
  4488. "type": "integer",
  4489. "description": "用户类型 2-机构 7-企业成员",
  4490. "name": "usertype",
  4491. "in": "query"
  4492. },
  4493. {
  4494. "type": "integer",
  4495. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4496. "name": "querytype",
  4497. "in": "query",
  4498. "required": true
  4499. },
  4500. {
  4501. "type": "string",
  4502. "description": "合同ID(SpotContractId)",
  4503. "name": "contractid",
  4504. "in": "query"
  4505. }
  4506. ],
  4507. "responses": {
  4508. "200": {
  4509. "description": "OK",
  4510. "schema": {
  4511. "type": "array",
  4512. "items": {
  4513. "$ref": "#/definitions/models.Ermcp3Contract"
  4514. }
  4515. }
  4516. },
  4517. "500": {
  4518. "description": "Internal Server Error",
  4519. "schema": {
  4520. "$ref": "#/definitions/app.Response"
  4521. }
  4522. }
  4523. }
  4524. }
  4525. },
  4526. "/Ermcp3/QuerySpotContractBS": {
  4527. "get": {
  4528. "security": [
  4529. {
  4530. "ApiKeyAuth": []
  4531. }
  4532. ],
  4533. "produces": [
  4534. "application/json"
  4535. ],
  4536. "tags": [
  4537. "企业风险管理v3(app)"
  4538. ],
  4539. "summary": "查询合同(采购/销售)",
  4540. "parameters": [
  4541. {
  4542. "type": "integer",
  4543. "description": "用户id",
  4544. "name": "userid",
  4545. "in": "query",
  4546. "required": true
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "用户类型 2-机构 7-企业成员",
  4551. "name": "usertype",
  4552. "in": "query"
  4553. },
  4554. {
  4555. "type": "integer",
  4556. "description": "合同类型 1-采购, -1-销售",
  4557. "name": "contracttype",
  4558. "in": "query",
  4559. "required": true
  4560. },
  4561. {
  4562. "type": "integer",
  4563. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4564. "name": "querytype",
  4565. "in": "query",
  4566. "required": true
  4567. },
  4568. {
  4569. "type": "string",
  4570. "description": "合同ID(SpotContractId)",
  4571. "name": "contractid",
  4572. "in": "query"
  4573. }
  4574. ],
  4575. "responses": {
  4576. "200": {
  4577. "description": "OK",
  4578. "schema": {
  4579. "type": "array",
  4580. "items": {
  4581. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4582. }
  4583. }
  4584. },
  4585. "500": {
  4586. "description": "Internal Server Error",
  4587. "schema": {
  4588. "$ref": "#/definitions/app.Response"
  4589. }
  4590. }
  4591. }
  4592. }
  4593. },
  4594. "/Ermcp3/QuerySpotGoodsPrice": {
  4595. "get": {
  4596. "security": [
  4597. {
  4598. "ApiKeyAuth": []
  4599. }
  4600. ],
  4601. "produces": [
  4602. "application/json"
  4603. ],
  4604. "tags": [
  4605. "企业风险管理v3(app)"
  4606. ],
  4607. "summary": "查询现货市价(现货市价)",
  4608. "parameters": [
  4609. {
  4610. "type": "integer",
  4611. "description": "用户ID",
  4612. "name": "userid",
  4613. "in": "query",
  4614. "required": true
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "type": "array",
  4622. "items": {
  4623. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4624. }
  4625. }
  4626. },
  4627. "500": {
  4628. "description": "Internal Server Error",
  4629. "schema": {
  4630. "$ref": "#/definitions/app.Response"
  4631. }
  4632. }
  4633. }
  4634. }
  4635. },
  4636. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4637. "get": {
  4638. "security": [
  4639. {
  4640. "ApiKeyAuth": []
  4641. }
  4642. ],
  4643. "produces": [
  4644. "application/json"
  4645. ],
  4646. "tags": [
  4647. "企业风险管理v3(app)"
  4648. ],
  4649. "summary": "查询现货市价详情(现货市价/详情)",
  4650. "parameters": [
  4651. {
  4652. "type": "integer",
  4653. "description": "用户ID",
  4654. "name": "userid",
  4655. "in": "query",
  4656. "required": true
  4657. },
  4658. {
  4659. "type": "integer",
  4660. "description": "现货商品ID",
  4661. "name": "deliverygoodsid",
  4662. "in": "query",
  4663. "required": true
  4664. },
  4665. {
  4666. "type": "integer",
  4667. "description": "品牌ID",
  4668. "name": "brandid",
  4669. "in": "query"
  4670. },
  4671. {
  4672. "type": "integer",
  4673. "description": "品类ID",
  4674. "name": "wrstandardid",
  4675. "in": "query"
  4676. }
  4677. ],
  4678. "responses": {
  4679. "200": {
  4680. "description": "OK",
  4681. "schema": {
  4682. "type": "array",
  4683. "items": {
  4684. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4685. }
  4686. }
  4687. },
  4688. "500": {
  4689. "description": "Internal Server Error",
  4690. "schema": {
  4691. "$ref": "#/definitions/app.Response"
  4692. }
  4693. }
  4694. }
  4695. }
  4696. },
  4697. "/Erms2/QueryArbitrageStrategy": {
  4698. "get": {
  4699. "security": [
  4700. {
  4701. "ApiKeyAuth": []
  4702. }
  4703. ],
  4704. "produces": [
  4705. "application/json"
  4706. ],
  4707. "tags": [
  4708. "风险管理"
  4709. ],
  4710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4711. "parameters": [
  4712. {
  4713. "type": "integer",
  4714. "description": "账户ID",
  4715. "name": "userid",
  4716. "in": "query",
  4717. "required": true
  4718. },
  4719. {
  4720. "type": "string",
  4721. "description": "商品组ID(品种ID)",
  4722. "name": "goodsgroupid",
  4723. "in": "query"
  4724. }
  4725. ],
  4726. "responses": {
  4727. "200": {
  4728. "description": "OK",
  4729. "schema": {
  4730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4731. }
  4732. },
  4733. "500": {
  4734. "description": "Internal Server Error",
  4735. "schema": {
  4736. "$ref": "#/definitions/app.Response"
  4737. }
  4738. }
  4739. }
  4740. }
  4741. },
  4742. "/Erms2/QueryInnerTradeDetail": {
  4743. "get": {
  4744. "security": [
  4745. {
  4746. "ApiKeyAuth": []
  4747. }
  4748. ],
  4749. "produces": [
  4750. "application/json"
  4751. ],
  4752. "tags": [
  4753. "风险管理"
  4754. ],
  4755. "summary": "查询内部成交单信息",
  4756. "parameters": [
  4757. {
  4758. "type": "integer",
  4759. "description": "资金账户",
  4760. "name": "accountid",
  4761. "in": "query",
  4762. "required": true
  4763. }
  4764. ],
  4765. "responses": {
  4766. "200": {
  4767. "description": "OK",
  4768. "schema": {
  4769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4770. }
  4771. },
  4772. "500": {
  4773. "description": "Internal Server Error",
  4774. "schema": {
  4775. "$ref": "#/definitions/app.Response"
  4776. }
  4777. }
  4778. }
  4779. }
  4780. },
  4781. "/Erms2/QuerySpotContract": {
  4782. "get": {
  4783. "security": [
  4784. {
  4785. "ApiKeyAuth": []
  4786. }
  4787. ],
  4788. "produces": [
  4789. "application/json"
  4790. ],
  4791. "tags": [
  4792. "风险管理"
  4793. ],
  4794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4795. "parameters": [
  4796. {
  4797. "type": "integer",
  4798. "description": "策略申请ID",
  4799. "name": "asapplyid",
  4800. "in": "query",
  4801. "required": true
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "现货合同ID",
  4806. "name": "spotcontractid",
  4807. "in": "query"
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Erms3/AddErms2ASApply": {
  4827. "post": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "风险管理v3"
  4838. ],
  4839. "summary": "新增期现套利业务申请",
  4840. "parameters": [
  4841. {
  4842. "description": "申请参数",
  4843. "name": "jsonBody",
  4844. "in": "body",
  4845. "required": true,
  4846. "schema": {
  4847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4848. }
  4849. }
  4850. ],
  4851. "responses": {
  4852. "200": {
  4853. "description": "OK",
  4854. "schema": {
  4855. "$ref": "#/definitions/app.Response"
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Erms3/AddErms2SpotTradeApply": {
  4868. "post": {
  4869. "security": [
  4870. {
  4871. "ApiKeyAuth": []
  4872. }
  4873. ],
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "风险管理v3"
  4879. ],
  4880. "summary": "新增现货贸易业务申请",
  4881. "parameters": [
  4882. {
  4883. "description": "申请参数",
  4884. "name": "jsonBody",
  4885. "in": "body",
  4886. "required": true,
  4887. "schema": {
  4888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4889. }
  4890. }
  4891. ],
  4892. "responses": {
  4893. "200": {
  4894. "description": "OK",
  4895. "schema": {
  4896. "$ref": "#/definitions/app.Response"
  4897. }
  4898. },
  4899. "500": {
  4900. "description": "Internal Server Error",
  4901. "schema": {
  4902. "$ref": "#/definitions/app.Response"
  4903. }
  4904. }
  4905. }
  4906. }
  4907. },
  4908. "/Erms3/AddSpotContractApply": {
  4909. "post": {
  4910. "security": [
  4911. {
  4912. "ApiKeyAuth": []
  4913. }
  4914. ],
  4915. "produces": [
  4916. "application/json"
  4917. ],
  4918. "tags": [
  4919. "风险管理v3"
  4920. ],
  4921. "summary": "新增现货合同申请",
  4922. "parameters": [
  4923. {
  4924. "description": "申请参数",
  4925. "name": "jsonBody",
  4926. "in": "body",
  4927. "required": true,
  4928. "schema": {
  4929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4930. }
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4938. }
  4939. },
  4940. "500": {
  4941. "description": "Internal Server Error",
  4942. "schema": {
  4943. "$ref": "#/definitions/app.Response"
  4944. }
  4945. }
  4946. }
  4947. }
  4948. },
  4949. "/Erms3/AddUserInfoApply": {
  4950. "post": {
  4951. "security": [
  4952. {
  4953. "ApiKeyAuth": []
  4954. }
  4955. ],
  4956. "produces": [
  4957. "application/json"
  4958. ],
  4959. "tags": [
  4960. "风险管理v3"
  4961. ],
  4962. "summary": "新增客户申请",
  4963. "parameters": [
  4964. {
  4965. "description": "用户信息",
  4966. "name": "jsonBody",
  4967. "in": "body",
  4968. "required": true,
  4969. "schema": {
  4970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4971. }
  4972. }
  4973. ],
  4974. "responses": {
  4975. "200": {
  4976. "description": "OK",
  4977. "schema": {
  4978. "$ref": "#/definitions/app.Response"
  4979. }
  4980. },
  4981. "500": {
  4982. "description": "Internal Server Error",
  4983. "schema": {
  4984. "$ref": "#/definitions/app.Response"
  4985. }
  4986. }
  4987. }
  4988. }
  4989. },
  4990. "/Erms3/DeleteUserInfoApply": {
  4991. "get": {
  4992. "security": [
  4993. {
  4994. "ApiKeyAuth": []
  4995. }
  4996. ],
  4997. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4998. "produces": [
  4999. "application/json"
  5000. ],
  5001. "tags": [
  5002. "风险管理v3"
  5003. ],
  5004. "summary": "删除客户申请",
  5005. "parameters": [
  5006. {
  5007. "type": "integer",
  5008. "description": "用户ID",
  5009. "name": "userID",
  5010. "in": "query",
  5011. "required": true
  5012. }
  5013. ],
  5014. "responses": {
  5015. "200": {
  5016. "description": "OK",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. },
  5021. "500": {
  5022. "description": "Internal Server Error",
  5023. "schema": {
  5024. "$ref": "#/definitions/app.Response"
  5025. }
  5026. }
  5027. }
  5028. }
  5029. },
  5030. "/Erms3/ModifyUserInfoApply": {
  5031. "post": {
  5032. "security": [
  5033. {
  5034. "ApiKeyAuth": []
  5035. }
  5036. ],
  5037. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5038. "produces": [
  5039. "application/json"
  5040. ],
  5041. "tags": [
  5042. "风险管理v3"
  5043. ],
  5044. "summary": "修改客户申请",
  5045. "parameters": [
  5046. {
  5047. "description": "用户信息",
  5048. "name": "jsonBody",
  5049. "in": "body",
  5050. "required": true,
  5051. "schema": {
  5052. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5053. }
  5054. }
  5055. ],
  5056. "responses": {
  5057. "200": {
  5058. "description": "OK",
  5059. "schema": {
  5060. "$ref": "#/definitions/app.Response"
  5061. }
  5062. },
  5063. "500": {
  5064. "description": "Internal Server Error",
  5065. "schema": {
  5066. "$ref": "#/definitions/app.Response"
  5067. }
  5068. }
  5069. }
  5070. }
  5071. },
  5072. "/Erms3/QueryBusinessInfo": {
  5073. "get": {
  5074. "security": [
  5075. {
  5076. "ApiKeyAuth": []
  5077. }
  5078. ],
  5079. "produces": [
  5080. "application/json"
  5081. ],
  5082. "tags": [
  5083. "风险管理v3"
  5084. ],
  5085. "summary": "查询业务表单数据",
  5086. "parameters": [
  5087. {
  5088. "type": "string",
  5089. "description": "资金账号ID列表,用逗号分隔",
  5090. "name": "accountids",
  5091. "in": "query",
  5092. "required": true
  5093. },
  5094. {
  5095. "type": "integer",
  5096. "description": "状态,0为未结束 1为已结束",
  5097. "name": "status",
  5098. "in": "query",
  5099. "required": true
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "type": "array",
  5107. "items": {
  5108. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5109. }
  5110. }
  5111. },
  5112. "500": {
  5113. "description": "Internal Server Error",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. }
  5118. }
  5119. }
  5120. },
  5121. "/Erms3/QueryPendingAuditContract": {
  5122. "get": {
  5123. "security": [
  5124. {
  5125. "ApiKeyAuth": []
  5126. }
  5127. ],
  5128. "produces": [
  5129. "application/json"
  5130. ],
  5131. "tags": [
  5132. "风险管理v3"
  5133. ],
  5134. "summary": "查询待审核合同",
  5135. "parameters": [
  5136. {
  5137. "type": "string",
  5138. "description": "资金账号ID列表,逗号隔开",
  5139. "name": "accountids",
  5140. "in": "query",
  5141. "required": true
  5142. },
  5143. {
  5144. "type": "integer",
  5145. "description": "合同类型 1-采购 -1-销售",
  5146. "name": "contracttype",
  5147. "in": "query",
  5148. "required": true
  5149. },
  5150. {
  5151. "type": "integer",
  5152. "description": "合同模式 1-普通 2-回购",
  5153. "name": "contractmode",
  5154. "in": "query",
  5155. "required": true
  5156. }
  5157. ],
  5158. "responses": {
  5159. "200": {
  5160. "description": "OK",
  5161. "schema": {
  5162. "type": "array",
  5163. "items": {
  5164. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5165. }
  5166. }
  5167. },
  5168. "500": {
  5169. "description": "Internal Server Error",
  5170. "schema": {
  5171. "$ref": "#/definitions/app.Response"
  5172. }
  5173. }
  5174. }
  5175. }
  5176. },
  5177. "/Erms3/QueryPendingBusiness": {
  5178. "get": {
  5179. "security": [
  5180. {
  5181. "ApiKeyAuth": []
  5182. }
  5183. ],
  5184. "produces": [
  5185. "application/json"
  5186. ],
  5187. "tags": [
  5188. "风险管理v3"
  5189. ],
  5190. "summary": "查询待审核基差贸易业务",
  5191. "parameters": [
  5192. {
  5193. "type": "string",
  5194. "description": "资金账号ID列表,逗号隔开",
  5195. "name": "accountids",
  5196. "in": "query",
  5197. "required": true
  5198. }
  5199. ],
  5200. "responses": {
  5201. "200": {
  5202. "description": "OK",
  5203. "schema": {
  5204. "type": "array",
  5205. "items": {
  5206. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5207. }
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "/Erms3/QuerySpotContractAppleForm": {
  5220. "get": {
  5221. "security": [
  5222. {
  5223. "ApiKeyAuth": []
  5224. }
  5225. ],
  5226. "produces": [
  5227. "application/json"
  5228. ],
  5229. "tags": [
  5230. "风险管理v3"
  5231. ],
  5232. "summary": "查询合同申请表单数据",
  5233. "parameters": [
  5234. {
  5235. "type": "integer",
  5236. "description": "登录账号",
  5237. "name": "loginID",
  5238. "in": "query",
  5239. "required": true
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5247. }
  5248. },
  5249. "500": {
  5250. "description": "Internal Server Error",
  5251. "schema": {
  5252. "$ref": "#/definitions/app.Response"
  5253. }
  5254. }
  5255. }
  5256. }
  5257. },
  5258. "/Erms3/QuerySpotContractDetail": {
  5259. "get": {
  5260. "security": [
  5261. {
  5262. "ApiKeyAuth": []
  5263. }
  5264. ],
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "风险管理v3"
  5270. ],
  5271. "summary": "查询合同详细信息",
  5272. "parameters": [
  5273. {
  5274. "type": "string",
  5275. "description": "资金账号ID列表,用逗号分隔",
  5276. "name": "accountids",
  5277. "in": "query",
  5278. "required": true
  5279. },
  5280. {
  5281. "type": "integer",
  5282. "description": "合同类型,1为采购合同 -1为销售合同",
  5283. "name": "contracttype",
  5284. "in": "query",
  5285. "required": true
  5286. },
  5287. {
  5288. "type": "integer",
  5289. "description": "合同模式,1为普通合同 2为回购销售合同",
  5290. "name": "contractmode",
  5291. "in": "query",
  5292. "required": true
  5293. },
  5294. {
  5295. "type": "integer",
  5296. "description": "状态,0为履约中 1为已完成",
  5297. "name": "status",
  5298. "in": "query",
  5299. "required": true
  5300. }
  5301. ],
  5302. "responses": {
  5303. "200": {
  5304. "description": "OK",
  5305. "schema": {
  5306. "type": "array",
  5307. "items": {
  5308. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5309. }
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/Erms3/QueryUserInfoApplies": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "风险管理v3"
  5333. ],
  5334. "summary": "客户申请信息查询",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "页码",
  5339. "name": "page",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "每页条数",
  5345. "name": "pagesize",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "string",
  5350. "description": "客户名称,支持模糊查询",
  5351. "name": "userName",
  5352. "in": "query"
  5353. }
  5354. ],
  5355. "responses": {
  5356. "200": {
  5357. "description": "OK",
  5358. "schema": {
  5359. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5360. }
  5361. },
  5362. "500": {
  5363. "description": "Internal Server Error",
  5364. "schema": {
  5365. "$ref": "#/definitions/app.Response"
  5366. }
  5367. }
  5368. }
  5369. }
  5370. },
  5371. "/Erms3/QueryUserInfos": {
  5372. "get": {
  5373. "security": [
  5374. {
  5375. "ApiKeyAuth": []
  5376. }
  5377. ],
  5378. "produces": [
  5379. "application/json"
  5380. ],
  5381. "tags": [
  5382. "风险管理v3"
  5383. ],
  5384. "summary": "客户信息查询",
  5385. "parameters": [
  5386. {
  5387. "type": "integer",
  5388. "description": "页码",
  5389. "name": "page",
  5390. "in": "query"
  5391. },
  5392. {
  5393. "type": "integer",
  5394. "description": "每页条数",
  5395. "name": "pagesize",
  5396. "in": "query"
  5397. },
  5398. {
  5399. "type": "string",
  5400. "description": "客户名称,支持模糊查询",
  5401. "name": "userName",
  5402. "in": "query"
  5403. }
  5404. ],
  5405. "responses": {
  5406. "200": {
  5407. "description": "OK",
  5408. "schema": {
  5409. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5410. }
  5411. },
  5412. "500": {
  5413. "description": "Internal Server Error",
  5414. "schema": {
  5415. "$ref": "#/definitions/app.Response"
  5416. }
  5417. }
  5418. }
  5419. }
  5420. },
  5421. "/HSBY/GetHsbyMyCount": {
  5422. "get": {
  5423. "security": [
  5424. {
  5425. "ApiKeyAuth": []
  5426. }
  5427. ],
  5428. "description": "说明: 不包括已完成的数量。",
  5429. "produces": [
  5430. "application/json"
  5431. ],
  5432. "tags": [
  5433. "定制【海商报业】"
  5434. ],
  5435. "summary": "获取我的订单与包裹数量",
  5436. "parameters": [
  5437. {
  5438. "type": "string",
  5439. "description": "资金账户列表,格式:1,2,3",
  5440. "name": "accountIDs",
  5441. "in": "query",
  5442. "required": true
  5443. }
  5444. ],
  5445. "responses": {
  5446. "200": {
  5447. "description": "OK",
  5448. "schema": {
  5449. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/app.Response"
  5456. }
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "/HSBY/QueryClientFixedADConfigs": {
  5462. "get": {
  5463. "security": [
  5464. {
  5465. "ApiKeyAuth": []
  5466. }
  5467. ],
  5468. "produces": [
  5469. "application/json"
  5470. ],
  5471. "tags": [
  5472. "定制【海商报业】"
  5473. ],
  5474. "summary": "获取终端固定广告配置",
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "$ref": "#/definitions/models.Clientfixedadconfig"
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5492. "get": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "produces": [
  5499. "application/json"
  5500. ],
  5501. "tags": [
  5502. "定制【海商报业】"
  5503. ],
  5504. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5505. "parameters": [
  5506. {
  5507. "type": "integer",
  5508. "description": "页码",
  5509. "name": "page",
  5510. "in": "query"
  5511. },
  5512. {
  5513. "type": "integer",
  5514. "description": "每页条数",
  5515. "name": "pagesize",
  5516. "in": "query"
  5517. },
  5518. {
  5519. "type": "string",
  5520. "description": "资金账户列表,格式:1,2,3",
  5521. "name": "accountIDs",
  5522. "in": "query",
  5523. "required": true
  5524. }
  5525. ],
  5526. "responses": {
  5527. "200": {
  5528. "description": "OK",
  5529. "schema": {
  5530. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5531. }
  5532. },
  5533. "500": {
  5534. "description": "Internal Server Error",
  5535. "schema": {
  5536. "$ref": "#/definitions/app.Response"
  5537. }
  5538. }
  5539. }
  5540. }
  5541. },
  5542. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5543. "get": {
  5544. "security": [
  5545. {
  5546. "ApiKeyAuth": []
  5547. }
  5548. ],
  5549. "description": "说明:查询结果已按委托价格和委托时间排序",
  5550. "produces": [
  5551. "application/json"
  5552. ],
  5553. "tags": [
  5554. "定制【海商报业】"
  5555. ],
  5556. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5557. "parameters": [
  5558. {
  5559. "type": "integer",
  5560. "description": "商品ID",
  5561. "name": "goodsID",
  5562. "in": "query",
  5563. "required": true
  5564. },
  5565. {
  5566. "type": "string",
  5567. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5568. "name": "accountIDs",
  5569. "in": "query"
  5570. },
  5571. {
  5572. "type": "integer",
  5573. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5574. "name": "buyOrSell",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "number",
  5579. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5580. "name": "price",
  5581. "in": "query"
  5582. },
  5583. {
  5584. "type": "integer",
  5585. "description": "档位,不传则默认为3档",
  5586. "name": "speed",
  5587. "in": "query"
  5588. }
  5589. ],
  5590. "responses": {
  5591. "200": {
  5592. "description": "OK",
  5593. "schema": {
  5594. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5595. }
  5596. },
  5597. "500": {
  5598. "description": "Internal Server Error",
  5599. "schema": {
  5600. "$ref": "#/definitions/app.Response"
  5601. }
  5602. }
  5603. }
  5604. }
  5605. },
  5606. "/HSBY/QueryHsbyListingGoodsDetail": {
  5607. "get": {
  5608. "security": [
  5609. {
  5610. "ApiKeyAuth": []
  5611. }
  5612. ],
  5613. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5614. "produces": [
  5615. "application/json"
  5616. ],
  5617. "tags": [
  5618. "定制【海商报业】"
  5619. ],
  5620. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5621. "parameters": [
  5622. {
  5623. "type": "integer",
  5624. "description": "商品ID",
  5625. "name": "goodsID",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5632. "name": "accountID",
  5633. "in": "query"
  5634. }
  5635. ],
  5636. "responses": {
  5637. "200": {
  5638. "description": "OK",
  5639. "schema": {
  5640. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5641. }
  5642. },
  5643. "500": {
  5644. "description": "Internal Server Error",
  5645. "schema": {
  5646. "$ref": "#/definitions/app.Response"
  5647. }
  5648. }
  5649. }
  5650. }
  5651. },
  5652. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5653. "get": {
  5654. "security": [
  5655. {
  5656. "ApiKeyAuth": []
  5657. }
  5658. ],
  5659. "produces": [
  5660. "application/json"
  5661. ],
  5662. "tags": [
  5663. "定制【海商报业】"
  5664. ],
  5665. "summary": "查询三级市场(商城)商品信息详情",
  5666. "parameters": [
  5667. {
  5668. "type": "integer",
  5669. "description": "委托单号",
  5670. "name": "orderID",
  5671. "in": "query",
  5672. "required": true
  5673. },
  5674. {
  5675. "type": "integer",
  5676. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5677. "name": "accountID",
  5678. "in": "query"
  5679. }
  5680. ],
  5681. "responses": {
  5682. "200": {
  5683. "description": "OK",
  5684. "schema": {
  5685. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5686. }
  5687. },
  5688. "500": {
  5689. "description": "Internal Server Error",
  5690. "schema": {
  5691. "$ref": "#/definitions/app.Response"
  5692. }
  5693. }
  5694. }
  5695. }
  5696. },
  5697. "/HSBY/QueryHsbyMarketGoodses": {
  5698. "get": {
  5699. "security": [
  5700. {
  5701. "ApiKeyAuth": []
  5702. }
  5703. ],
  5704. "produces": [
  5705. "application/json"
  5706. ],
  5707. "tags": [
  5708. "定制【海商报业】"
  5709. ],
  5710. "summary": "查询特卖商品列表(三级商城)",
  5711. "parameters": [
  5712. {
  5713. "type": "integer",
  5714. "description": "页码",
  5715. "name": "page",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "integer",
  5720. "description": "每页条数",
  5721. "name": "pagesize",
  5722. "in": "query"
  5723. },
  5724. {
  5725. "type": "string",
  5726. "description": "市场ID列表,格式:1,2,3",
  5727. "name": "marketIDs",
  5728. "in": "query",
  5729. "required": true
  5730. },
  5731. {
  5732. "type": "integer",
  5733. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5734. "name": "accountID",
  5735. "in": "query",
  5736. "required": true
  5737. },
  5738. {
  5739. "type": "integer",
  5740. "description": "类别ID",
  5741. "name": "categoryID",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "string",
  5746. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5747. "name": "goodsIDs",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5753. "name": "couponTypeID",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "$ref": "#/definitions/models.HsbyMarketGoods"
  5762. }
  5763. },
  5764. "500": {
  5765. "description": "Internal Server Error",
  5766. "schema": {
  5767. "$ref": "#/definitions/app.Response"
  5768. }
  5769. }
  5770. }
  5771. }
  5772. },
  5773. "/HSBY/QueryHsbyMarkets": {
  5774. "get": {
  5775. "security": [
  5776. {
  5777. "ApiKeyAuth": []
  5778. }
  5779. ],
  5780. "produces": [
  5781. "application/json"
  5782. ],
  5783. "tags": [
  5784. "定制【海商报业】"
  5785. ],
  5786. "summary": "查询海商报业相关市场信息",
  5787. "responses": {
  5788. "200": {
  5789. "description": "OK",
  5790. "schema": {
  5791. "$ref": "#/definitions/models.HsbyMarketInfo"
  5792. }
  5793. },
  5794. "500": {
  5795. "description": "Internal Server Error",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. }
  5800. }
  5801. }
  5802. },
  5803. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5804. "get": {
  5805. "security": [
  5806. {
  5807. "ApiKeyAuth": []
  5808. }
  5809. ],
  5810. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5811. "produces": [
  5812. "application/json"
  5813. ],
  5814. "tags": [
  5815. "定制【海商报业】"
  5816. ],
  5817. "summary": "查询“我的订单”信息",
  5818. "parameters": [
  5819. {
  5820. "type": "string",
  5821. "description": "资金账户列表,格式:1,2,3",
  5822. "name": "accountIDs",
  5823. "in": "query",
  5824. "required": true
  5825. }
  5826. ],
  5827. "responses": {
  5828. "200": {
  5829. "description": "OK",
  5830. "schema": {
  5831. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5832. }
  5833. },
  5834. "500": {
  5835. "description": "Internal Server Error",
  5836. "schema": {
  5837. "$ref": "#/definitions/app.Response"
  5838. }
  5839. }
  5840. }
  5841. }
  5842. },
  5843. "/HSBY/QueryHsbyMyGoods": {
  5844. "get": {
  5845. "security": [
  5846. {
  5847. "ApiKeyAuth": []
  5848. }
  5849. ],
  5850. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5851. "produces": [
  5852. "application/json"
  5853. ],
  5854. "tags": [
  5855. "定制【海商报业】"
  5856. ],
  5857. "summary": "查询“我的商品”信息",
  5858. "parameters": [
  5859. {
  5860. "type": "string",
  5861. "description": "资金账户列表,格式:1,2,3",
  5862. "name": "accountIDs",
  5863. "in": "query",
  5864. "required": true
  5865. }
  5866. ],
  5867. "responses": {
  5868. "200": {
  5869. "description": "OK",
  5870. "schema": {
  5871. "$ref": "#/definitions/models.HsbyMyGoods"
  5872. }
  5873. },
  5874. "500": {
  5875. "description": "Internal Server Error",
  5876. "schema": {
  5877. "$ref": "#/definitions/app.Response"
  5878. }
  5879. }
  5880. }
  5881. }
  5882. },
  5883. "/HSBY/QueryHsbyMyPackages": {
  5884. "get": {
  5885. "security": [
  5886. {
  5887. "ApiKeyAuth": []
  5888. }
  5889. ],
  5890. "produces": [
  5891. "application/json"
  5892. ],
  5893. "tags": [
  5894. "定制【海商报业】"
  5895. ],
  5896. "summary": "查询我的包裹信息",
  5897. "parameters": [
  5898. {
  5899. "type": "string",
  5900. "description": "资金账户列表,格式:1,2,3",
  5901. "name": "accountIDs",
  5902. "in": "query",
  5903. "required": true
  5904. },
  5905. {
  5906. "type": "integer",
  5907. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5908. "name": "takeOrderStatus",
  5909. "in": "query"
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "$ref": "#/definitions/models.HsbyMyPackage"
  5917. }
  5918. },
  5919. "500": {
  5920. "description": "Internal Server Error",
  5921. "schema": {
  5922. "$ref": "#/definitions/app.Response"
  5923. }
  5924. }
  5925. }
  5926. }
  5927. },
  5928. "/HSBY/QueryHsbyPreGoodsDetail": {
  5929. "get": {
  5930. "security": [
  5931. {
  5932. "ApiKeyAuth": []
  5933. }
  5934. ],
  5935. "produces": [
  5936. "application/json"
  5937. ],
  5938. "tags": [
  5939. "定制【海商报业】"
  5940. ],
  5941. "summary": "查询一级市场(预售)商品信息详情",
  5942. "parameters": [
  5943. {
  5944. "type": "integer",
  5945. "description": "商品ID",
  5946. "name": "goodsID",
  5947. "in": "query",
  5948. "required": true
  5949. },
  5950. {
  5951. "type": "integer",
  5952. "description": "资金账户,主要用于获取预售商品购买上限",
  5953. "name": "accountID",
  5954. "in": "query"
  5955. }
  5956. ],
  5957. "responses": {
  5958. "200": {
  5959. "description": "OK",
  5960. "schema": {
  5961. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/HSBY/QueryHsbyPreGoodses": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5981. "produces": [
  5982. "application/json"
  5983. ],
  5984. "tags": [
  5985. "定制【海商报业】"
  5986. ],
  5987. "summary": "查询新品上市商品列表(一级市场预售)",
  5988. "parameters": [
  5989. {
  5990. "type": "integer",
  5991. "description": "页码",
  5992. "name": "page",
  5993. "in": "query"
  5994. },
  5995. {
  5996. "type": "integer",
  5997. "description": "每页条数",
  5998. "name": "pagesize",
  5999. "in": "query"
  6000. },
  6001. {
  6002. "type": "string",
  6003. "description": "市场ID列表,格式:1,2,3",
  6004. "name": "marketIDs",
  6005. "in": "query",
  6006. "required": true
  6007. },
  6008. {
  6009. "type": "integer",
  6010. "description": "目的地(省)ID",
  6011. "name": "descProvinceID",
  6012. "in": "query"
  6013. },
  6014. {
  6015. "type": "integer",
  6016. "description": "目的地(市)ID",
  6017. "name": "descCityID",
  6018. "in": "query"
  6019. }
  6020. ],
  6021. "responses": {
  6022. "200": {
  6023. "description": "OK",
  6024. "schema": {
  6025. "$ref": "#/definitions/models.HsbyPreGoods"
  6026. }
  6027. },
  6028. "500": {
  6029. "description": "Internal Server Error",
  6030. "schema": {
  6031. "$ref": "#/definitions/app.Response"
  6032. }
  6033. }
  6034. }
  6035. }
  6036. },
  6037. "/HSBY/QueryHsbySellMyDetails": {
  6038. "get": {
  6039. "security": [
  6040. {
  6041. "ApiKeyAuth": []
  6042. }
  6043. ],
  6044. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6045. "produces": [
  6046. "application/json"
  6047. ],
  6048. "tags": [
  6049. "定制【海商报业】"
  6050. ],
  6051. "summary": "查询\"我的闲置\"单据信息",
  6052. "parameters": [
  6053. {
  6054. "type": "integer",
  6055. "description": "页码",
  6056. "name": "page",
  6057. "in": "query"
  6058. },
  6059. {
  6060. "type": "integer",
  6061. "description": "每页条数",
  6062. "name": "pagesize",
  6063. "in": "query"
  6064. },
  6065. {
  6066. "type": "string",
  6067. "description": "资金账户列表,格式:1,2,3",
  6068. "name": "accountIDs",
  6069. "in": "query",
  6070. "required": true
  6071. },
  6072. {
  6073. "type": "integer",
  6074. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6075. "name": "orderType",
  6076. "in": "query"
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "$ref": "#/definitions/models.HsbySellMyDetail"
  6084. }
  6085. },
  6086. "500": {
  6087. "description": "Internal Server Error",
  6088. "schema": {
  6089. "$ref": "#/definitions/app.Response"
  6090. }
  6091. }
  6092. }
  6093. }
  6094. },
  6095. "/HSBY/QueryHsbyTopGoodses": {
  6096. "get": {
  6097. "security": [
  6098. {
  6099. "ApiKeyAuth": []
  6100. }
  6101. ],
  6102. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【海商报业】"
  6108. ],
  6109. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "页码",
  6114. "name": "page",
  6115. "in": "query"
  6116. },
  6117. {
  6118. "type": "integer",
  6119. "description": "每页条数",
  6120. "name": "pagesize",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "string",
  6125. "description": "市场ID列表,格式:1,2,3",
  6126. "name": "marketIDs",
  6127. "in": "query",
  6128. "required": true
  6129. },
  6130. {
  6131. "type": "integer",
  6132. "description": "目的地(省)ID",
  6133. "name": "descProvinceID",
  6134. "in": "query"
  6135. },
  6136. {
  6137. "type": "integer",
  6138. "description": "目的地(市)ID",
  6139. "name": "descCityID",
  6140. "in": "query"
  6141. }
  6142. ],
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "$ref": "#/definitions/models.HsbyTopGoods"
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "定制【海商报业】"
  6172. ],
  6173. "summary": "查询游客三级市场(商城)商品信息详情",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "商品ID",
  6178. "name": "goodsID",
  6179. "in": "query",
  6180. "required": true
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6188. }
  6189. },
  6190. "500": {
  6191. "description": "Internal Server Error",
  6192. "schema": {
  6193. "$ref": "#/definitions/app.Response"
  6194. }
  6195. }
  6196. }
  6197. }
  6198. },
  6199. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6200. "get": {
  6201. "security": [
  6202. {
  6203. "ApiKeyAuth": []
  6204. }
  6205. ],
  6206. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "定制【海商报业】"
  6212. ],
  6213. "summary": "查询游客特卖商品列表(三级商城)",
  6214. "parameters": [
  6215. {
  6216. "type": "integer",
  6217. "description": "页码",
  6218. "name": "page",
  6219. "in": "query"
  6220. },
  6221. {
  6222. "type": "integer",
  6223. "description": "每页条数",
  6224. "name": "pagesize",
  6225. "in": "query"
  6226. },
  6227. {
  6228. "type": "string",
  6229. "description": "市场ID列表,格式:1,2,3",
  6230. "name": "marketIDs",
  6231. "in": "query",
  6232. "required": true
  6233. },
  6234. {
  6235. "type": "integer",
  6236. "description": "类别ID",
  6237. "name": "categoryID",
  6238. "in": "query"
  6239. },
  6240. {
  6241. "type": "string",
  6242. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6243. "name": "goodsIDs",
  6244. "in": "query"
  6245. }
  6246. ],
  6247. "responses": {
  6248. "200": {
  6249. "description": "OK",
  6250. "schema": {
  6251. "$ref": "#/definitions/models.HsbyMarketGoods"
  6252. }
  6253. },
  6254. "500": {
  6255. "description": "Internal Server Error",
  6256. "schema": {
  6257. "$ref": "#/definitions/app.Response"
  6258. }
  6259. }
  6260. }
  6261. }
  6262. },
  6263. "/HSBY/QueryMyCollectionOrders": {
  6264. "get": {
  6265. "security": [
  6266. {
  6267. "ApiKeyAuth": []
  6268. }
  6269. ],
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "定制【海商报业】"
  6275. ],
  6276. "summary": "我的闲置中收款信息查询",
  6277. "parameters": [
  6278. {
  6279. "type": "integer",
  6280. "description": "页码",
  6281. "name": "page",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "integer",
  6286. "description": "每页条数",
  6287. "name": "pagesize",
  6288. "in": "query"
  6289. },
  6290. {
  6291. "type": "string",
  6292. "description": "资金账户,格式:1,2,3",
  6293. "name": "accountIDs",
  6294. "in": "query",
  6295. "required": true
  6296. }
  6297. ],
  6298. "responses": {
  6299. "200": {
  6300. "description": "OK",
  6301. "schema": {
  6302. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6303. }
  6304. },
  6305. "500": {
  6306. "description": "Internal Server Error",
  6307. "schema": {
  6308. "$ref": "#/definitions/app.Response"
  6309. }
  6310. }
  6311. }
  6312. }
  6313. },
  6314. "/HSBY/QueryMyCouponHolds": {
  6315. "get": {
  6316. "security": [
  6317. {
  6318. "ApiKeyAuth": []
  6319. }
  6320. ],
  6321. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6322. "produces": [
  6323. "application/json"
  6324. ],
  6325. "tags": [
  6326. "定制【海商报业】"
  6327. ],
  6328. "summary": "我的优惠卷持仓查询",
  6329. "parameters": [
  6330. {
  6331. "type": "string",
  6332. "description": "资金账户列表,格式:1,2,3",
  6333. "name": "accountIDs",
  6334. "in": "query",
  6335. "required": true
  6336. },
  6337. {
  6338. "type": "string",
  6339. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6340. "name": "holdStatus",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "$ref": "#/definitions/models.MyCouponHold"
  6349. }
  6350. },
  6351. "500": {
  6352. "description": "Internal Server Error",
  6353. "schema": {
  6354. "$ref": "#/definitions/app.Response"
  6355. }
  6356. }
  6357. }
  6358. }
  6359. },
  6360. "/HSBY/QueryMyCoupons": {
  6361. "get": {
  6362. "security": [
  6363. {
  6364. "ApiKeyAuth": []
  6365. }
  6366. ],
  6367. "produces": [
  6368. "application/json"
  6369. ],
  6370. "tags": [
  6371. "定制【海商报业】"
  6372. ],
  6373. "summary": "我的优惠卷查询",
  6374. "parameters": [
  6375. {
  6376. "type": "string",
  6377. "description": "资金账户列表,格式:1,2,3",
  6378. "name": "accountIDs",
  6379. "in": "query",
  6380. "required": true
  6381. },
  6382. {
  6383. "type": "integer",
  6384. "description": "商品ID, 一般与sellUserID配套传入",
  6385. "name": "goodsID",
  6386. "in": "query"
  6387. },
  6388. {
  6389. "type": "integer",
  6390. "description": "卖方UserID",
  6391. "name": "sellUserID",
  6392. "in": "query"
  6393. }
  6394. ],
  6395. "responses": {
  6396. "200": {
  6397. "description": "OK",
  6398. "schema": {
  6399. "$ref": "#/definitions/models.MyCoupon"
  6400. }
  6401. },
  6402. "500": {
  6403. "description": "Internal Server Error",
  6404. "schema": {
  6405. "$ref": "#/definitions/app.Response"
  6406. }
  6407. }
  6408. }
  6409. }
  6410. },
  6411. "/HSBY/QueryMyPayOrders": {
  6412. "get": {
  6413. "security": [
  6414. {
  6415. "ApiKeyAuth": []
  6416. }
  6417. ],
  6418. "produces": [
  6419. "application/json"
  6420. ],
  6421. "tags": [
  6422. "定制【海商报业】"
  6423. ],
  6424. "summary": "获取我的订单中待付款信息",
  6425. "parameters": [
  6426. {
  6427. "type": "integer",
  6428. "description": "页码",
  6429. "name": "page",
  6430. "in": "query"
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "每页条数",
  6435. "name": "pagesize",
  6436. "in": "query"
  6437. },
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户列表,格式:1,2,3",
  6441. "name": "accountIDs",
  6442. "in": "query",
  6443. "required": true
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "买方委托单号",
  6448. "name": "buyOrderID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "卖方委托单号",
  6454. "name": "sellOrderID",
  6455. "in": "query"
  6456. }
  6457. ],
  6458. "responses": {
  6459. "200": {
  6460. "description": "OK",
  6461. "schema": {
  6462. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6463. }
  6464. },
  6465. "500": {
  6466. "description": "Internal Server Error",
  6467. "schema": {
  6468. "$ref": "#/definitions/app.Response"
  6469. }
  6470. }
  6471. }
  6472. }
  6473. },
  6474. "/HSBY/QueryMyUsedCoupon": {
  6475. "get": {
  6476. "security": [
  6477. {
  6478. "ApiKeyAuth": []
  6479. }
  6480. ],
  6481. "produces": [
  6482. "application/json"
  6483. ],
  6484. "tags": [
  6485. "定制【海商报业】"
  6486. ],
  6487. "summary": "已使用优惠卷查询",
  6488. "parameters": [
  6489. {
  6490. "type": "string",
  6491. "description": "资金账户列表,格式:1,2,3",
  6492. "name": "accountIDs",
  6493. "in": "query",
  6494. "required": true
  6495. }
  6496. ],
  6497. "responses": {
  6498. "200": {
  6499. "description": "OK",
  6500. "schema": {
  6501. "$ref": "#/definitions/models.MyUsedCoupon"
  6502. }
  6503. },
  6504. "500": {
  6505. "description": "Internal Server Error",
  6506. "schema": {
  6507. "$ref": "#/definitions/app.Response"
  6508. }
  6509. }
  6510. }
  6511. }
  6512. },
  6513. "/HSBY/QueryProvincesAndCities": {
  6514. "get": {
  6515. "security": [
  6516. {
  6517. "ApiKeyAuth": []
  6518. }
  6519. ],
  6520. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "定制【海商报业】"
  6526. ],
  6527. "summary": "查询省市信息(不包括区)",
  6528. "parameters": [
  6529. {
  6530. "type": "integer",
  6531. "description": "省ID",
  6532. "name": "provinceID",
  6533. "in": "query"
  6534. }
  6535. ],
  6536. "responses": {
  6537. "200": {
  6538. "description": "OK",
  6539. "schema": {
  6540. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6541. }
  6542. },
  6543. "500": {
  6544. "description": "Internal Server Error",
  6545. "schema": {
  6546. "$ref": "#/definitions/app.Response"
  6547. }
  6548. }
  6549. }
  6550. }
  6551. },
  6552. "/HSBY/SetHsbyMyPackagesStatus": {
  6553. "post": {
  6554. "security": [
  6555. {
  6556. "ApiKeyAuth": []
  6557. }
  6558. ],
  6559. "produces": [
  6560. "application/json"
  6561. ],
  6562. "tags": [
  6563. "定制【海商报业】"
  6564. ],
  6565. "summary": "设置我的包裹已收货状态",
  6566. "parameters": [
  6567. {
  6568. "type": "string",
  6569. "description": "提货单号",
  6570. "name": "takeOrderID",
  6571. "in": "query",
  6572. "required": true
  6573. },
  6574. {
  6575. "type": "integer",
  6576. "description": "资金账号",
  6577. "name": "accountID",
  6578. "in": "query",
  6579. "required": true
  6580. }
  6581. ],
  6582. "responses": {
  6583. "200": {
  6584. "description": "OK",
  6585. "schema": {
  6586. "$ref": "#/definitions/app.Response"
  6587. }
  6588. },
  6589. "500": {
  6590. "description": "Internal Server Error",
  6591. "schema": {
  6592. "$ref": "#/definitions/app.Response"
  6593. }
  6594. }
  6595. }
  6596. }
  6597. },
  6598. "/Market/QueryGoodsesByLoginID": {
  6599. "get": {
  6600. "security": [
  6601. {
  6602. "ApiKeyAuth": []
  6603. }
  6604. ],
  6605. "produces": [
  6606. "application/json"
  6607. ],
  6608. "tags": [
  6609. "通用市场"
  6610. ],
  6611. "summary": "获取登录账号有权限的商品信息",
  6612. "parameters": [
  6613. {
  6614. "type": "integer",
  6615. "description": "登录账号",
  6616. "name": "loginID",
  6617. "in": "query",
  6618. "required": true
  6619. },
  6620. {
  6621. "type": "string",
  6622. "description": "市场ID列表,格式:1,2,3",
  6623. "name": "marketIDs",
  6624. "in": "query"
  6625. }
  6626. ],
  6627. "responses": {
  6628. "200": {
  6629. "description": "OK",
  6630. "schema": {
  6631. "$ref": "#/definitions/models.Goods"
  6632. }
  6633. },
  6634. "500": {
  6635. "description": "Internal Server Error",
  6636. "schema": {
  6637. "$ref": "#/definitions/app.Response"
  6638. }
  6639. }
  6640. }
  6641. }
  6642. },
  6643. "/Market/QueryMarketRun": {
  6644. "get": {
  6645. "security": [
  6646. {
  6647. "ApiKeyAuth": []
  6648. }
  6649. ],
  6650. "produces": [
  6651. "application/json"
  6652. ],
  6653. "tags": [
  6654. "通用市场"
  6655. ],
  6656. "summary": "查询市场运行信息",
  6657. "parameters": [
  6658. {
  6659. "type": "integer",
  6660. "description": "市场ID,不传返回所有",
  6661. "name": "marketID",
  6662. "in": "query"
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/models.Marketrun"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/Market/QueryMarketsByLoginID": {
  6682. "get": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "produces": [
  6689. "application/json"
  6690. ],
  6691. "tags": [
  6692. "通用市场"
  6693. ],
  6694. "summary": "获取登录账号有权限的市场信息",
  6695. "parameters": [
  6696. {
  6697. "type": "integer",
  6698. "description": "登录账号",
  6699. "name": "loginID",
  6700. "in": "query",
  6701. "required": true
  6702. }
  6703. ],
  6704. "responses": {
  6705. "200": {
  6706. "description": "OK",
  6707. "schema": {
  6708. "$ref": "#/definitions/models.Market"
  6709. }
  6710. },
  6711. "500": {
  6712. "description": "Internal Server Error",
  6713. "schema": {
  6714. "$ref": "#/definitions/app.Response"
  6715. }
  6716. }
  6717. }
  6718. }
  6719. },
  6720. "/Order/QueryHisTradeDetail": {
  6721. "get": {
  6722. "security": [
  6723. {
  6724. "ApiKeyAuth": []
  6725. }
  6726. ],
  6727. "produces": [
  6728. "application/json"
  6729. ],
  6730. "tags": [
  6731. "通用单据"
  6732. ],
  6733. "summary": "历史成交单查询(合约市场)",
  6734. "parameters": [
  6735. {
  6736. "type": "string",
  6737. "description": "资金账户 - 格式:1,2,3",
  6738. "name": "accountID",
  6739. "in": "query",
  6740. "required": true
  6741. },
  6742. {
  6743. "type": "integer",
  6744. "description": "成交单号",
  6745. "name": "tradeID",
  6746. "in": "query"
  6747. },
  6748. {
  6749. "type": "integer",
  6750. "description": "委托单号",
  6751. "name": "orderID",
  6752. "in": "query"
  6753. },
  6754. {
  6755. "type": "integer",
  6756. "description": "商品ID",
  6757. "name": "goodsID",
  6758. "in": "query"
  6759. },
  6760. {
  6761. "type": "string",
  6762. "description": "交易模式 - 格式:1,2,3",
  6763. "name": "tradeMode",
  6764. "in": "query"
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "委托单据类型",
  6769. "name": "buildType",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "string",
  6774. "description": "成交类别 - 格式:1,2,3",
  6775. "name": "tradeType",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "string",
  6780. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6781. "name": "startDate",
  6782. "in": "query"
  6783. },
  6784. {
  6785. "type": "string",
  6786. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6787. "name": "endDate",
  6788. "in": "query"
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/app.Response"
  6802. }
  6803. }
  6804. }
  6805. }
  6806. },
  6807. "/Order/QueryHisTradeOrderDetail": {
  6808. "get": {
  6809. "security": [
  6810. {
  6811. "ApiKeyAuth": []
  6812. }
  6813. ],
  6814. "produces": [
  6815. "application/json"
  6816. ],
  6817. "tags": [
  6818. "通用单据"
  6819. ],
  6820. "summary": "历史委托单查询请求(合约市场)",
  6821. "parameters": [
  6822. {
  6823. "type": "string",
  6824. "description": "资金账户 - 格式:1,2,3",
  6825. "name": "accountID",
  6826. "in": "query",
  6827. "required": true
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "交易模式 - 格式:1,2,3",
  6832. "name": "tradeMode",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "委托状态 - 格式:1,2,3",
  6838. "name": "orderStatus",
  6839. "in": "query"
  6840. },
  6841. {
  6842. "type": "integer",
  6843. "description": "委托单号",
  6844. "name": "orderID",
  6845. "in": "query"
  6846. },
  6847. {
  6848. "type": "string",
  6849. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6850. "name": "startDate",
  6851. "in": "query"
  6852. },
  6853. {
  6854. "type": "string",
  6855. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6856. "name": "endDate",
  6857. "in": "query"
  6858. }
  6859. ],
  6860. "responses": {
  6861. "200": {
  6862. "description": "OK",
  6863. "schema": {
  6864. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6865. }
  6866. },
  6867. "500": {
  6868. "description": "Internal Server Error",
  6869. "schema": {
  6870. "$ref": "#/definitions/app.Response"
  6871. }
  6872. }
  6873. }
  6874. }
  6875. },
  6876. "/Order/QueryTradeDetail": {
  6877. "get": {
  6878. "security": [
  6879. {
  6880. "ApiKeyAuth": []
  6881. }
  6882. ],
  6883. "produces": [
  6884. "application/json"
  6885. ],
  6886. "tags": [
  6887. "通用单据"
  6888. ],
  6889. "summary": "成交单查询(合约市场)",
  6890. "parameters": [
  6891. {
  6892. "type": "string",
  6893. "description": "资金账户 - 格式:1,2,3",
  6894. "name": "accountID",
  6895. "in": "query",
  6896. "required": true
  6897. },
  6898. {
  6899. "type": "integer",
  6900. "description": "成交单号",
  6901. "name": "tradeID",
  6902. "in": "query"
  6903. },
  6904. {
  6905. "type": "integer",
  6906. "description": "委托单号",
  6907. "name": "orderID",
  6908. "in": "query"
  6909. },
  6910. {
  6911. "type": "string",
  6912. "description": "交易模式 - 格式:1,2,3",
  6913. "name": "tradeMode",
  6914. "in": "query"
  6915. },
  6916. {
  6917. "type": "integer",
  6918. "description": "委托单据类型",
  6919. "name": "buildType",
  6920. "in": "query"
  6921. },
  6922. {
  6923. "type": "string",
  6924. "description": "成交类别 - 格式:1,2,3",
  6925. "name": "tradeType",
  6926. "in": "query"
  6927. },
  6928. {
  6929. "type": "integer",
  6930. "description": "商品ID",
  6931. "name": "goodsID",
  6932. "in": "query"
  6933. }
  6934. ],
  6935. "responses": {
  6936. "200": {
  6937. "description": "OK",
  6938. "schema": {
  6939. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6940. }
  6941. },
  6942. "500": {
  6943. "description": "Internal Server Error",
  6944. "schema": {
  6945. "$ref": "#/definitions/app.Response"
  6946. }
  6947. }
  6948. }
  6949. }
  6950. },
  6951. "/Order/QueryTradeOrderDetail": {
  6952. "get": {
  6953. "security": [
  6954. {
  6955. "ApiKeyAuth": []
  6956. }
  6957. ],
  6958. "produces": [
  6959. "application/json"
  6960. ],
  6961. "tags": [
  6962. "通用单据"
  6963. ],
  6964. "summary": "委托单查询请求(合约市场)",
  6965. "parameters": [
  6966. {
  6967. "type": "string",
  6968. "description": "资金账户 - 格式:1,2,3",
  6969. "name": "accountID",
  6970. "in": "query",
  6971. "required": true
  6972. },
  6973. {
  6974. "type": "string",
  6975. "description": "交易模式 - 格式:1,2,3",
  6976. "name": "tradeMode",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "string",
  6981. "description": "委托状态 - 格式:1,2,3",
  6982. "name": "orderStatus",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "委托单号",
  6988. "name": "orderID",
  6989. "in": "query"
  6990. }
  6991. ],
  6992. "responses": {
  6993. "200": {
  6994. "description": "OK",
  6995. "schema": {
  6996. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6997. }
  6998. },
  6999. "500": {
  7000. "description": "Internal Server Error",
  7001. "schema": {
  7002. "$ref": "#/definitions/app.Response"
  7003. }
  7004. }
  7005. }
  7006. }
  7007. },
  7008. "/Order/QueryTradePosition": {
  7009. "get": {
  7010. "security": [
  7011. {
  7012. "ApiKeyAuth": []
  7013. }
  7014. ],
  7015. "produces": [
  7016. "application/json"
  7017. ],
  7018. "tags": [
  7019. "通用单据"
  7020. ],
  7021. "summary": "持仓汇总查询(合约市场)",
  7022. "parameters": [
  7023. {
  7024. "type": "string",
  7025. "description": "资金账户 - 格式:1,2,3",
  7026. "name": "accountID",
  7027. "in": "query",
  7028. "required": true
  7029. },
  7030. {
  7031. "type": "string",
  7032. "description": "交易模式 - 格式:1,2,3",
  7033. "name": "tradeMode",
  7034. "in": "query"
  7035. }
  7036. ],
  7037. "responses": {
  7038. "200": {
  7039. "description": "OK",
  7040. "schema": {
  7041. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7042. }
  7043. },
  7044. "500": {
  7045. "description": "Internal Server Error",
  7046. "schema": {
  7047. "$ref": "#/definitions/app.Response"
  7048. }
  7049. }
  7050. }
  7051. }
  7052. },
  7053. "/Qhj/QueryAccountInOutApply": {
  7054. "get": {
  7055. "security": [
  7056. {
  7057. "ApiKeyAuth": []
  7058. }
  7059. ],
  7060. "produces": [
  7061. "application/json"
  7062. ],
  7063. "tags": [
  7064. "大连千海金"
  7065. ],
  7066. "summary": "查询充值提现",
  7067. "parameters": [
  7068. {
  7069. "type": "string",
  7070. "description": "申请起始日期(格式yyyymmdd)",
  7071. "name": "begindate",
  7072. "in": "query"
  7073. },
  7074. {
  7075. "type": "string",
  7076. "description": "申请截止日期(格式yyyymmdd)",
  7077. "name": "enddate",
  7078. "in": "query"
  7079. },
  7080. {
  7081. "type": "string",
  7082. "description": "模糊搜索名称",
  7083. "name": "likename",
  7084. "in": "query"
  7085. }
  7086. ],
  7087. "responses": {
  7088. "200": {
  7089. "description": "OK",
  7090. "schema": {
  7091. "type": "array",
  7092. "items": {
  7093. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7094. }
  7095. }
  7096. },
  7097. "500": {
  7098. "description": "Internal Server Error",
  7099. "schema": {
  7100. "$ref": "#/definitions/app.Response"
  7101. }
  7102. }
  7103. }
  7104. }
  7105. },
  7106. "/Qhj/QueryBankAccountSign": {
  7107. "get": {
  7108. "security": [
  7109. {
  7110. "ApiKeyAuth": []
  7111. }
  7112. ],
  7113. "produces": [
  7114. "application/json"
  7115. ],
  7116. "tags": [
  7117. "大连千海金"
  7118. ],
  7119. "summary": "查询签约银行信息(提现账户管理)",
  7120. "parameters": [
  7121. {
  7122. "type": "integer",
  7123. "description": "用户ID",
  7124. "name": "userid",
  7125. "in": "query",
  7126. "required": true
  7127. }
  7128. ],
  7129. "responses": {
  7130. "200": {
  7131. "description": "OK",
  7132. "schema": {
  7133. "type": "array",
  7134. "items": {
  7135. "$ref": "#/definitions/models.QhjBankAccountSign"
  7136. }
  7137. }
  7138. },
  7139. "500": {
  7140. "description": "Internal Server Error",
  7141. "schema": {
  7142. "$ref": "#/definitions/app.Response"
  7143. }
  7144. }
  7145. }
  7146. }
  7147. },
  7148. "/Qhj/QueryBankInfo": {
  7149. "get": {
  7150. "security": [
  7151. {
  7152. "ApiKeyAuth": []
  7153. }
  7154. ],
  7155. "produces": [
  7156. "application/json"
  7157. ],
  7158. "tags": [
  7159. "大连千海金"
  7160. ],
  7161. "summary": "查询开户行",
  7162. "responses": {
  7163. "200": {
  7164. "description": "OK",
  7165. "schema": {
  7166. "type": "array",
  7167. "items": {
  7168. "$ref": "#/definitions/models.QhjBankInfo"
  7169. }
  7170. }
  7171. },
  7172. "500": {
  7173. "description": "Internal Server Error",
  7174. "schema": {
  7175. "$ref": "#/definitions/app.Response"
  7176. }
  7177. }
  7178. }
  7179. }
  7180. },
  7181. "/Qhj/QueryContract": {
  7182. "get": {
  7183. "security": [
  7184. {
  7185. "ApiKeyAuth": []
  7186. }
  7187. ],
  7188. "produces": [
  7189. "application/json"
  7190. ],
  7191. "tags": [
  7192. "大连千海金"
  7193. ],
  7194. "summary": "查询融资明细(合同)",
  7195. "parameters": [
  7196. {
  7197. "type": "integer",
  7198. "description": "用户ID",
  7199. "name": "userid",
  7200. "in": "query"
  7201. },
  7202. {
  7203. "type": "integer",
  7204. "description": "scf合同id",
  7205. "name": "scfcontractid",
  7206. "in": "query"
  7207. }
  7208. ],
  7209. "responses": {
  7210. "200": {
  7211. "description": "OK",
  7212. "schema": {
  7213. "type": "array",
  7214. "items": {
  7215. "$ref": "#/definitions/models.QhjContract"
  7216. }
  7217. }
  7218. },
  7219. "500": {
  7220. "description": "Internal Server Error",
  7221. "schema": {
  7222. "$ref": "#/definitions/app.Response"
  7223. }
  7224. }
  7225. }
  7226. }
  7227. },
  7228. "/Qhj/QueryContractLog": {
  7229. "get": {
  7230. "security": [
  7231. {
  7232. "ApiKeyAuth": []
  7233. }
  7234. ],
  7235. "produces": [
  7236. "application/json"
  7237. ],
  7238. "tags": [
  7239. "大连千海金"
  7240. ],
  7241. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7242. "parameters": [
  7243. {
  7244. "type": "integer",
  7245. "description": "scf合同id",
  7246. "name": "scfcontractid",
  7247. "in": "query",
  7248. "required": true
  7249. },
  7250. {
  7251. "type": "string",
  7252. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7253. "name": "amounttype",
  7254. "in": "query"
  7255. }
  7256. ],
  7257. "responses": {
  7258. "200": {
  7259. "description": "OK",
  7260. "schema": {
  7261. "type": "array",
  7262. "items": {
  7263. "$ref": "#/definitions/models.QhjContractLog"
  7264. }
  7265. }
  7266. },
  7267. "500": {
  7268. "description": "Internal Server Error",
  7269. "schema": {
  7270. "$ref": "#/definitions/app.Response"
  7271. }
  7272. }
  7273. }
  7274. }
  7275. },
  7276. "/Qhj/QueryCusBankSignBank": {
  7277. "get": {
  7278. "security": [
  7279. {
  7280. "ApiKeyAuth": []
  7281. }
  7282. ],
  7283. "produces": [
  7284. "application/json"
  7285. ],
  7286. "tags": [
  7287. "大连千海金"
  7288. ],
  7289. "summary": "查询托管银行",
  7290. "responses": {
  7291. "200": {
  7292. "description": "OK",
  7293. "schema": {
  7294. "type": "array",
  7295. "items": {
  7296. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7297. }
  7298. }
  7299. },
  7300. "500": {
  7301. "description": "Internal Server Error",
  7302. "schema": {
  7303. "$ref": "#/definitions/app.Response"
  7304. }
  7305. }
  7306. }
  7307. }
  7308. },
  7309. "/Qhj/QueryCustomerInfo": {
  7310. "get": {
  7311. "security": [
  7312. {
  7313. "ApiKeyAuth": []
  7314. }
  7315. ],
  7316. "produces": [
  7317. "application/json"
  7318. ],
  7319. "tags": [
  7320. "大连千海金"
  7321. ],
  7322. "summary": "查询客户资料",
  7323. "parameters": [
  7324. {
  7325. "type": "integer",
  7326. "description": "用户ID",
  7327. "name": "userid",
  7328. "in": "query",
  7329. "required": true
  7330. },
  7331. {
  7332. "type": "integer",
  7333. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7334. "name": "querytype",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "客户类型 1-个人 2-企业",
  7341. "name": "userinfotype",
  7342. "in": "query"
  7343. },
  7344. {
  7345. "type": "string",
  7346. "description": "客户名称(模糊匹配)",
  7347. "name": "customername",
  7348. "in": "query"
  7349. },
  7350. {
  7351. "type": "string",
  7352. "description": "昵称(模糊匹配)",
  7353. "name": "nickname",
  7354. "in": "query"
  7355. },
  7356. {
  7357. "type": "integer",
  7358. "description": "是否包含子级 1-包含",
  7359. "name": "includesub",
  7360. "in": "query"
  7361. }
  7362. ],
  7363. "responses": {
  7364. "200": {
  7365. "description": "OK",
  7366. "schema": {
  7367. "type": "array",
  7368. "items": {
  7369. "$ref": "#/definitions/models.QhjCustomer"
  7370. }
  7371. }
  7372. },
  7373. "500": {
  7374. "description": "Internal Server Error",
  7375. "schema": {
  7376. "$ref": "#/definitions/app.Response"
  7377. }
  7378. }
  7379. }
  7380. }
  7381. },
  7382. "/Qhj/QueryGoodsEx": {
  7383. "get": {
  7384. "security": [
  7385. {
  7386. "ApiKeyAuth": []
  7387. }
  7388. ],
  7389. "produces": [
  7390. "application/json"
  7391. ],
  7392. "tags": [
  7393. "大连千海金"
  7394. ],
  7395. "summary": "交易商品扩展表",
  7396. "parameters": [
  7397. {
  7398. "type": "integer",
  7399. "description": "商品id",
  7400. "name": "goodsid",
  7401. "in": "query"
  7402. }
  7403. ],
  7404. "responses": {
  7405. "200": {
  7406. "description": "OK",
  7407. "schema": {
  7408. "type": "array",
  7409. "items": {
  7410. "$ref": "#/definitions/models.Qhjgoodsex"
  7411. }
  7412. }
  7413. },
  7414. "500": {
  7415. "description": "Internal Server Error",
  7416. "schema": {
  7417. "$ref": "#/definitions/app.Response"
  7418. }
  7419. }
  7420. }
  7421. }
  7422. },
  7423. "/Qhj/QueryParentAreaList": {
  7424. "get": {
  7425. "security": [
  7426. {
  7427. "ApiKeyAuth": []
  7428. }
  7429. ],
  7430. "produces": [
  7431. "application/json"
  7432. ],
  7433. "tags": [
  7434. "大连千海金"
  7435. ],
  7436. "summary": "查询所属机构列表",
  7437. "parameters": [
  7438. {
  7439. "type": "integer",
  7440. "description": "用户ID",
  7441. "name": "userid",
  7442. "in": "query",
  7443. "required": true
  7444. }
  7445. ],
  7446. "responses": {
  7447. "200": {
  7448. "description": "OK",
  7449. "schema": {
  7450. "type": "array",
  7451. "items": {
  7452. "$ref": "#/definitions/models.QhjParentAreaList"
  7453. }
  7454. }
  7455. },
  7456. "500": {
  7457. "description": "Internal Server Error",
  7458. "schema": {
  7459. "$ref": "#/definitions/app.Response"
  7460. }
  7461. }
  7462. }
  7463. }
  7464. },
  7465. "/Qhj/QueryPayOrder": {
  7466. "get": {
  7467. "security": [
  7468. {
  7469. "ApiKeyAuth": []
  7470. }
  7471. ],
  7472. "produces": [
  7473. "application/json"
  7474. ],
  7475. "tags": [
  7476. "大连千海金"
  7477. ],
  7478. "summary": "查询待付款单据",
  7479. "parameters": [
  7480. {
  7481. "type": "integer",
  7482. "description": "资金账号id",
  7483. "name": "accountid",
  7484. "in": "query",
  7485. "required": true
  7486. },
  7487. {
  7488. "type": "integer",
  7489. "description": "成交单号",
  7490. "name": "tradeid",
  7491. "in": "query"
  7492. },
  7493. {
  7494. "type": "integer",
  7495. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7496. "name": "payflag",
  7497. "in": "query"
  7498. }
  7499. ],
  7500. "responses": {
  7501. "200": {
  7502. "description": "OK",
  7503. "schema": {
  7504. "type": "array",
  7505. "items": {
  7506. "$ref": "#/definitions/models.QhjPayOrder"
  7507. }
  7508. }
  7509. },
  7510. "500": {
  7511. "description": "Internal Server Error",
  7512. "schema": {
  7513. "$ref": "#/definitions/app.Response"
  7514. }
  7515. }
  7516. }
  7517. }
  7518. },
  7519. "/Qhj/QueryPickArea": {
  7520. "get": {
  7521. "security": [
  7522. {
  7523. "ApiKeyAuth": []
  7524. }
  7525. ],
  7526. "produces": [
  7527. "application/json"
  7528. ],
  7529. "tags": [
  7530. "大连千海金"
  7531. ],
  7532. "summary": "查询提货门店",
  7533. "parameters": [
  7534. {
  7535. "type": "integer",
  7536. "description": "用户ID",
  7537. "name": "userid",
  7538. "in": "query"
  7539. }
  7540. ],
  7541. "responses": {
  7542. "200": {
  7543. "description": "OK",
  7544. "schema": {
  7545. "type": "array",
  7546. "items": {
  7547. "$ref": "#/definitions/models.QhjPickArea"
  7548. }
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Qhj/QueryPickGoods": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "大连千海金"
  7572. ],
  7573. "summary": "查询提货商品",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "交易商品id",
  7578. "name": "goodsid",
  7579. "in": "query",
  7580. "required": true
  7581. },
  7582. {
  7583. "type": "string",
  7584. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7585. "name": "status",
  7586. "in": "query"
  7587. }
  7588. ],
  7589. "responses": {
  7590. "200": {
  7591. "description": "OK",
  7592. "schema": {
  7593. "type": "array",
  7594. "items": {
  7595. "$ref": "#/definitions/models.QhjPickGoods"
  7596. }
  7597. }
  7598. },
  7599. "500": {
  7600. "description": "Internal Server Error",
  7601. "schema": {
  7602. "$ref": "#/definitions/app.Response"
  7603. }
  7604. }
  7605. }
  7606. }
  7607. },
  7608. "/Qhj/QueryRSTriggerLog": {
  7609. "get": {
  7610. "security": [
  7611. {
  7612. "ApiKeyAuth": []
  7613. }
  7614. ],
  7615. "produces": [
  7616. "application/json"
  7617. ],
  7618. "tags": [
  7619. "大连千海金"
  7620. ],
  7621. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7622. "parameters": [
  7623. {
  7624. "type": "integer",
  7625. "description": "用户ID",
  7626. "name": "userid",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "integer",
  7631. "description": "定投策略id",
  7632. "name": "regularlystrategyid",
  7633. "in": "query"
  7634. }
  7635. ],
  7636. "responses": {
  7637. "200": {
  7638. "description": "OK",
  7639. "schema": {
  7640. "type": "array",
  7641. "items": {
  7642. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7643. }
  7644. }
  7645. },
  7646. "500": {
  7647. "description": "Internal Server Error",
  7648. "schema": {
  7649. "$ref": "#/definitions/app.Response"
  7650. }
  7651. }
  7652. }
  7653. }
  7654. },
  7655. "/Qhj/QueryRStrategy": {
  7656. "get": {
  7657. "security": [
  7658. {
  7659. "ApiKeyAuth": []
  7660. }
  7661. ],
  7662. "produces": [
  7663. "application/json"
  7664. ],
  7665. "tags": [
  7666. "大连千海金"
  7667. ],
  7668. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7669. "parameters": [
  7670. {
  7671. "type": "integer",
  7672. "description": "用户ID",
  7673. "name": "userid",
  7674. "in": "query"
  7675. },
  7676. {
  7677. "type": "string",
  7678. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7679. "name": "status",
  7680. "in": "query"
  7681. }
  7682. ],
  7683. "responses": {
  7684. "200": {
  7685. "description": "OK",
  7686. "schema": {
  7687. "type": "array",
  7688. "items": {
  7689. "$ref": "#/definitions/models.QhjRStrategy"
  7690. }
  7691. }
  7692. },
  7693. "500": {
  7694. "description": "Internal Server Error",
  7695. "schema": {
  7696. "$ref": "#/definitions/app.Response"
  7697. }
  7698. }
  7699. }
  7700. }
  7701. },
  7702. "/Qhj/QueryReckonPriceLog": {
  7703. "get": {
  7704. "security": [
  7705. {
  7706. "ApiKeyAuth": []
  7707. }
  7708. ],
  7709. "produces": [
  7710. "application/json"
  7711. ],
  7712. "tags": [
  7713. "大连千海金"
  7714. ],
  7715. "summary": "查询定投价(结算价)",
  7716. "parameters": [
  7717. {
  7718. "type": "integer",
  7719. "description": "商品ID",
  7720. "name": "goodsid",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "string",
  7725. "description": "交易日 格式(yyyymmdd)",
  7726. "name": "tradedate",
  7727. "in": "query"
  7728. }
  7729. ],
  7730. "responses": {
  7731. "200": {
  7732. "description": "OK",
  7733. "schema": {
  7734. "type": "array",
  7735. "items": {
  7736. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7737. }
  7738. }
  7739. },
  7740. "500": {
  7741. "description": "Internal Server Error",
  7742. "schema": {
  7743. "$ref": "#/definitions/app.Response"
  7744. }
  7745. }
  7746. }
  7747. }
  7748. },
  7749. "/Qhj/QuerySiteColumnDetail": {
  7750. "get": {
  7751. "security": [
  7752. {
  7753. "ApiKeyAuth": []
  7754. }
  7755. ],
  7756. "produces": [
  7757. "application/json"
  7758. ],
  7759. "tags": [
  7760. "大连千海金"
  7761. ],
  7762. "summary": "查询资讯",
  7763. "parameters": [
  7764. {
  7765. "type": "integer",
  7766. "description": "用户ID",
  7767. "name": "userid",
  7768. "in": "query",
  7769. "required": true
  7770. }
  7771. ],
  7772. "responses": {
  7773. "200": {
  7774. "description": "OK",
  7775. "schema": {
  7776. "type": "array",
  7777. "items": {
  7778. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7779. }
  7780. }
  7781. },
  7782. "500": {
  7783. "description": "Internal Server Error",
  7784. "schema": {
  7785. "$ref": "#/definitions/app.Response"
  7786. }
  7787. }
  7788. }
  7789. }
  7790. },
  7791. "/Qhj/QueryTradeGoodsPickup": {
  7792. "get": {
  7793. "security": [
  7794. {
  7795. "ApiKeyAuth": []
  7796. }
  7797. ],
  7798. "produces": [
  7799. "application/json"
  7800. ],
  7801. "tags": [
  7802. "大连千海金"
  7803. ],
  7804. "summary": "查询提货",
  7805. "parameters": [
  7806. {
  7807. "type": "integer",
  7808. "description": "用户ID",
  7809. "name": "userid",
  7810. "in": "query",
  7811. "required": true
  7812. },
  7813. {
  7814. "type": "integer",
  7815. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7816. "name": "takeorderstatus",
  7817. "in": "query"
  7818. }
  7819. ],
  7820. "responses": {
  7821. "200": {
  7822. "description": "OK",
  7823. "schema": {
  7824. "type": "array",
  7825. "items": {
  7826. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7827. }
  7828. }
  7829. },
  7830. "500": {
  7831. "description": "Internal Server Error",
  7832. "schema": {
  7833. "$ref": "#/definitions/app.Response"
  7834. }
  7835. }
  7836. }
  7837. }
  7838. },
  7839. "/Qhj/QueryUserCollectConfig": {
  7840. "get": {
  7841. "security": [
  7842. {
  7843. "ApiKeyAuth": []
  7844. }
  7845. ],
  7846. "produces": [
  7847. "application/json"
  7848. ],
  7849. "tags": [
  7850. "大连千海金"
  7851. ],
  7852. "summary": "查询提现账户设置",
  7853. "parameters": [
  7854. {
  7855. "type": "integer",
  7856. "description": "用户ID",
  7857. "name": "userid",
  7858. "in": "query",
  7859. "required": true
  7860. }
  7861. ],
  7862. "responses": {
  7863. "200": {
  7864. "description": "OK",
  7865. "schema": {
  7866. "type": "array",
  7867. "items": {
  7868. "$ref": "#/definitions/models.UserCollectConfig"
  7869. }
  7870. }
  7871. },
  7872. "500": {
  7873. "description": "Internal Server Error",
  7874. "schema": {
  7875. "$ref": "#/definitions/app.Response"
  7876. }
  7877. }
  7878. }
  7879. }
  7880. },
  7881. "/Qhj/QueryUserReceiveInfo": {
  7882. "get": {
  7883. "security": [
  7884. {
  7885. "ApiKeyAuth": []
  7886. }
  7887. ],
  7888. "produces": [
  7889. "application/json"
  7890. ],
  7891. "tags": [
  7892. "大连千海金"
  7893. ],
  7894. "summary": "查询收货地址信息",
  7895. "parameters": [
  7896. {
  7897. "type": "integer",
  7898. "description": "用户ID",
  7899. "name": "userid",
  7900. "in": "query",
  7901. "required": true
  7902. }
  7903. ],
  7904. "responses": {
  7905. "200": {
  7906. "description": "OK",
  7907. "schema": {
  7908. "type": "array",
  7909. "items": {
  7910. "$ref": "#/definitions/models.UserReceiveInfo"
  7911. }
  7912. }
  7913. },
  7914. "500": {
  7915. "description": "Internal Server Error",
  7916. "schema": {
  7917. "$ref": "#/definitions/app.Response"
  7918. }
  7919. }
  7920. }
  7921. }
  7922. },
  7923. "/QhjMgr/QueryAccountInOutApply": {
  7924. "get": {
  7925. "security": [
  7926. {
  7927. "ApiKeyAuth": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "大连千海金(PCWeb)"
  7935. ],
  7936. "summary": "查询充值提现",
  7937. "parameters": [
  7938. {
  7939. "type": "integer",
  7940. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  7941. "name": "querytype",
  7942. "in": "query",
  7943. "required": true
  7944. },
  7945. {
  7946. "type": "integer",
  7947. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  7948. "name": "applystatus",
  7949. "in": "query"
  7950. },
  7951. {
  7952. "type": "string",
  7953. "description": "申请起始日期(格式yyyymmdd)",
  7954. "name": "begindate",
  7955. "in": "query"
  7956. },
  7957. {
  7958. "type": "string",
  7959. "description": "申请截止日期(格式yyyymmdd)",
  7960. "name": "enddate",
  7961. "in": "query"
  7962. },
  7963. {
  7964. "type": "string",
  7965. "description": "模糊搜索名称",
  7966. "name": "likename",
  7967. "in": "query"
  7968. }
  7969. ],
  7970. "responses": {
  7971. "200": {
  7972. "description": "OK",
  7973. "schema": {
  7974. "type": "array",
  7975. "items": {
  7976. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7977. }
  7978. }
  7979. },
  7980. "500": {
  7981. "description": "Internal Server Error",
  7982. "schema": {
  7983. "$ref": "#/definitions/app.Response"
  7984. }
  7985. }
  7986. }
  7987. }
  7988. },
  7989. "/QhjMgr/QueryCustomerInfo": {
  7990. "get": {
  7991. "security": [
  7992. {
  7993. "ApiKeyAuth": []
  7994. }
  7995. ],
  7996. "produces": [
  7997. "application/json"
  7998. ],
  7999. "tags": [
  8000. "大连千海金(PCWeb)"
  8001. ],
  8002. "summary": "查询客户资料",
  8003. "parameters": [
  8004. {
  8005. "type": "integer",
  8006. "description": "用户ID",
  8007. "name": "userid",
  8008. "in": "query",
  8009. "required": true
  8010. },
  8011. {
  8012. "type": "integer",
  8013. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8014. "name": "querytype",
  8015. "in": "query",
  8016. "required": true
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "客户类型 1-个人 2-企业",
  8021. "name": "userinfotype",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "客户名称(模糊匹配)",
  8027. "name": "customername",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "昵称(模糊匹配)",
  8033. "name": "nickname",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "手机号码(模糊匹配)",
  8039. "name": "mobile",
  8040. "in": "query"
  8041. },
  8042. {
  8043. "type": "integer",
  8044. "description": "是否包含子级 1-包含",
  8045. "name": "includesub",
  8046. "in": "query"
  8047. }
  8048. ],
  8049. "responses": {
  8050. "200": {
  8051. "description": "OK",
  8052. "schema": {
  8053. "type": "array",
  8054. "items": {
  8055. "$ref": "#/definitions/models.QhjCustomer"
  8056. }
  8057. }
  8058. },
  8059. "500": {
  8060. "description": "Internal Server Error",
  8061. "schema": {
  8062. "$ref": "#/definitions/app.Response"
  8063. }
  8064. }
  8065. }
  8066. }
  8067. },
  8068. "/QhjMgr/QuerySubArea": {
  8069. "get": {
  8070. "security": [
  8071. {
  8072. "ApiKeyAuth": []
  8073. }
  8074. ],
  8075. "produces": [
  8076. "application/json"
  8077. ],
  8078. "tags": [
  8079. "大连千海金(PCWeb)"
  8080. ],
  8081. "summary": "查询子机构列表",
  8082. "parameters": [
  8083. {
  8084. "type": "integer",
  8085. "description": "用户ID",
  8086. "name": "userid",
  8087. "in": "query",
  8088. "required": true
  8089. }
  8090. ],
  8091. "responses": {
  8092. "200": {
  8093. "description": "OK",
  8094. "schema": {
  8095. "type": "array",
  8096. "items": {
  8097. "$ref": "#/definitions/models.QhjMgrSubArea"
  8098. }
  8099. }
  8100. },
  8101. "500": {
  8102. "description": "Internal Server Error",
  8103. "schema": {
  8104. "$ref": "#/definitions/app.Response"
  8105. }
  8106. }
  8107. }
  8108. }
  8109. },
  8110. "/QhjMgr/QueryTradeDetail": {
  8111. "get": {
  8112. "security": [
  8113. {
  8114. "ApiKeyAuth": []
  8115. }
  8116. ],
  8117. "produces": [
  8118. "application/json"
  8119. ],
  8120. "tags": [
  8121. "大连千海金(PCWeb)"
  8122. ],
  8123. "summary": "查询成交明细",
  8124. "parameters": [
  8125. {
  8126. "type": "integer",
  8127. "description": "用户ID",
  8128. "name": "userid",
  8129. "in": "query",
  8130. "required": true
  8131. },
  8132. {
  8133. "type": "integer",
  8134. "description": "用户类型 1-个人 2-企业",
  8135. "name": "userinfotype",
  8136. "in": "query"
  8137. },
  8138. {
  8139. "type": "integer",
  8140. "description": "交易模式",
  8141. "name": "trademode",
  8142. "in": "query"
  8143. },
  8144. {
  8145. "type": "integer",
  8146. "description": "商品id",
  8147. "name": "goodsid",
  8148. "in": "query"
  8149. },
  8150. {
  8151. "type": "string",
  8152. "description": "名称(模糊搜索账户)",
  8153. "name": "filtername",
  8154. "in": "query"
  8155. },
  8156. {
  8157. "type": "string",
  8158. "description": "开始交易日(yyyymmdd)",
  8159. "name": "begindate",
  8160. "in": "query"
  8161. },
  8162. {
  8163. "type": "string",
  8164. "description": "结束交易日(yyyymmdd)",
  8165. "name": "enddate",
  8166. "in": "query"
  8167. },
  8168. {
  8169. "type": "integer",
  8170. "description": "是否包含子级 1-包含",
  8171. "name": "includesub",
  8172. "in": "query"
  8173. }
  8174. ],
  8175. "responses": {
  8176. "200": {
  8177. "description": "OK",
  8178. "schema": {
  8179. "type": "array",
  8180. "items": {
  8181. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8182. }
  8183. }
  8184. },
  8185. "500": {
  8186. "description": "Internal Server Error",
  8187. "schema": {
  8188. "$ref": "#/definitions/app.Response"
  8189. }
  8190. }
  8191. }
  8192. }
  8193. },
  8194. "/QhjMgr/QueryTradeOrderDetail": {
  8195. "get": {
  8196. "security": [
  8197. {
  8198. "ApiKeyAuth": []
  8199. }
  8200. ],
  8201. "produces": [
  8202. "application/json"
  8203. ],
  8204. "tags": [
  8205. "大连千海金(PCWeb)"
  8206. ],
  8207. "summary": "查询委托明细",
  8208. "parameters": [
  8209. {
  8210. "type": "integer",
  8211. "description": "用户ID",
  8212. "name": "userid",
  8213. "in": "query",
  8214. "required": true
  8215. },
  8216. {
  8217. "type": "integer",
  8218. "description": "用户类型 1-个人 2-企业",
  8219. "name": "userinfotype",
  8220. "in": "query"
  8221. },
  8222. {
  8223. "type": "integer",
  8224. "description": "交易模式",
  8225. "name": "trademode",
  8226. "in": "query"
  8227. },
  8228. {
  8229. "type": "integer",
  8230. "description": "商品id",
  8231. "name": "goodsid",
  8232. "in": "query"
  8233. },
  8234. {
  8235. "type": "string",
  8236. "description": "名称(模糊搜索账户)",
  8237. "name": "filtername",
  8238. "in": "query"
  8239. },
  8240. {
  8241. "type": "string",
  8242. "description": "开始交易日(yyyymmdd)",
  8243. "name": "begindate",
  8244. "in": "query"
  8245. },
  8246. {
  8247. "type": "string",
  8248. "description": "结束交易日(yyyymmdd)",
  8249. "name": "enddate",
  8250. "in": "query"
  8251. },
  8252. {
  8253. "type": "integer",
  8254. "description": "是否包含子级 1-包含",
  8255. "name": "includesub",
  8256. "in": "query"
  8257. }
  8258. ],
  8259. "responses": {
  8260. "200": {
  8261. "description": "OK",
  8262. "schema": {
  8263. "type": "array",
  8264. "items": {
  8265. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8266. }
  8267. }
  8268. },
  8269. "500": {
  8270. "description": "Internal Server Error",
  8271. "schema": {
  8272. "$ref": "#/definitions/app.Response"
  8273. }
  8274. }
  8275. }
  8276. }
  8277. },
  8278. "/QhjMgr/QueryTradePayOrder": {
  8279. "get": {
  8280. "security": [
  8281. {
  8282. "ApiKeyAuth": []
  8283. }
  8284. ],
  8285. "produces": [
  8286. "application/json"
  8287. ],
  8288. "tags": [
  8289. "大连千海金(PCWeb)"
  8290. ],
  8291. "summary": "查询待付款单",
  8292. "parameters": [
  8293. {
  8294. "type": "integer",
  8295. "description": "用户ID",
  8296. "name": "userid",
  8297. "in": "query",
  8298. "required": true
  8299. },
  8300. {
  8301. "type": "string",
  8302. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8303. "name": "payflag",
  8304. "in": "query"
  8305. },
  8306. {
  8307. "type": "integer",
  8308. "description": "用户类型 1-个人 2-企业",
  8309. "name": "userinfotype",
  8310. "in": "query"
  8311. },
  8312. {
  8313. "type": "integer",
  8314. "description": "交易模式",
  8315. "name": "trademode",
  8316. "in": "query"
  8317. },
  8318. {
  8319. "type": "integer",
  8320. "description": "商品id",
  8321. "name": "goodsid",
  8322. "in": "query"
  8323. },
  8324. {
  8325. "type": "string",
  8326. "description": "名称(模糊搜索账户)",
  8327. "name": "filtername",
  8328. "in": "query"
  8329. },
  8330. {
  8331. "type": "string",
  8332. "description": "开始交易日(yyyymmdd)",
  8333. "name": "begindate",
  8334. "in": "query"
  8335. },
  8336. {
  8337. "type": "string",
  8338. "description": "结束交易日(yyyymmdd)",
  8339. "name": "enddate",
  8340. "in": "query"
  8341. },
  8342. {
  8343. "type": "integer",
  8344. "description": "是否包含子级 1-包含",
  8345. "name": "includesub",
  8346. "in": "query"
  8347. }
  8348. ],
  8349. "responses": {
  8350. "200": {
  8351. "description": "OK",
  8352. "schema": {
  8353. "type": "array",
  8354. "items": {
  8355. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8356. }
  8357. }
  8358. },
  8359. "500": {
  8360. "description": "Internal Server Error",
  8361. "schema": {
  8362. "$ref": "#/definitions/app.Response"
  8363. }
  8364. }
  8365. }
  8366. }
  8367. },
  8368. "/QhjMgr/QueryTradePosition": {
  8369. "get": {
  8370. "security": [
  8371. {
  8372. "ApiKeyAuth": []
  8373. }
  8374. ],
  8375. "produces": [
  8376. "application/json"
  8377. ],
  8378. "tags": [
  8379. "大连千海金(PCWeb)"
  8380. ],
  8381. "summary": "查询持仓汇总",
  8382. "parameters": [
  8383. {
  8384. "type": "integer",
  8385. "description": "用户ID",
  8386. "name": "userid",
  8387. "in": "query",
  8388. "required": true
  8389. },
  8390. {
  8391. "type": "integer",
  8392. "description": "用户类型 1-个人 2-企业",
  8393. "name": "userinfotype",
  8394. "in": "query"
  8395. },
  8396. {
  8397. "type": "integer",
  8398. "description": "交易模式",
  8399. "name": "trademode",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "integer",
  8404. "description": "商品id",
  8405. "name": "goodsid",
  8406. "in": "query"
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "名称(模糊搜索账户)",
  8411. "name": "filtername",
  8412. "in": "query"
  8413. },
  8414. {
  8415. "type": "integer",
  8416. "description": "是否包含子级 1-包含",
  8417. "name": "includesub",
  8418. "in": "query"
  8419. }
  8420. ],
  8421. "responses": {
  8422. "200": {
  8423. "description": "OK",
  8424. "schema": {
  8425. "type": "array",
  8426. "items": {
  8427. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8428. }
  8429. }
  8430. },
  8431. "500": {
  8432. "description": "Internal Server Error",
  8433. "schema": {
  8434. "$ref": "#/definitions/app.Response"
  8435. }
  8436. }
  8437. }
  8438. }
  8439. },
  8440. "/Quote/QueryHistoryDatas": {
  8441. "get": {
  8442. "security": [
  8443. {
  8444. "ApiKeyAuth": []
  8445. }
  8446. ],
  8447. "produces": [
  8448. "application/json"
  8449. ],
  8450. "tags": [
  8451. "行情服务"
  8452. ],
  8453. "summary": "查询行情历史数据",
  8454. "parameters": [
  8455. {
  8456. "type": "integer",
  8457. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  8458. "name": "cycleType",
  8459. "in": "query",
  8460. "required": true
  8461. },
  8462. {
  8463. "type": "string",
  8464. "description": "商品代码",
  8465. "name": "goodsCode",
  8466. "in": "query",
  8467. "required": true
  8468. },
  8469. {
  8470. "type": "string",
  8471. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8472. "name": "startTime",
  8473. "in": "query"
  8474. },
  8475. {
  8476. "type": "string",
  8477. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8478. "name": "endTime",
  8479. "in": "query"
  8480. },
  8481. {
  8482. "type": "integer",
  8483. "description": "条数",
  8484. "name": "count",
  8485. "in": "query"
  8486. },
  8487. {
  8488. "type": "boolean",
  8489. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8490. "name": "isAsc",
  8491. "in": "query"
  8492. }
  8493. ],
  8494. "responses": {
  8495. "200": {
  8496. "description": "OK",
  8497. "schema": {
  8498. "$ref": "#/definitions/quote.HistoryData"
  8499. }
  8500. },
  8501. "500": {
  8502. "description": "Internal Server Error",
  8503. "schema": {
  8504. "$ref": "#/definitions/app.Response"
  8505. }
  8506. }
  8507. }
  8508. }
  8509. },
  8510. "/Quote/QueryHistoryTikDatas": {
  8511. "get": {
  8512. "security": [
  8513. {
  8514. "ApiKeyAuth": []
  8515. }
  8516. ],
  8517. "produces": [
  8518. "application/json"
  8519. ],
  8520. "tags": [
  8521. "行情服务"
  8522. ],
  8523. "summary": "查询行情Tik数据",
  8524. "parameters": [
  8525. {
  8526. "type": "string",
  8527. "description": "商品代码",
  8528. "name": "goodsCode",
  8529. "in": "query",
  8530. "required": true
  8531. },
  8532. {
  8533. "type": "string",
  8534. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  8535. "name": "startTime",
  8536. "in": "query"
  8537. },
  8538. {
  8539. "type": "string",
  8540. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  8541. "name": "endTime",
  8542. "in": "query"
  8543. },
  8544. {
  8545. "type": "integer",
  8546. "description": "条数",
  8547. "name": "count",
  8548. "in": "query"
  8549. },
  8550. {
  8551. "type": "boolean",
  8552. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  8553. "name": "isAsc",
  8554. "in": "query"
  8555. }
  8556. ],
  8557. "responses": {
  8558. "200": {
  8559. "description": "OK",
  8560. "schema": {
  8561. "$ref": "#/definitions/quote.HistoryTikData"
  8562. }
  8563. },
  8564. "500": {
  8565. "description": "Internal Server Error",
  8566. "schema": {
  8567. "$ref": "#/definitions/app.Response"
  8568. }
  8569. }
  8570. }
  8571. }
  8572. },
  8573. "/Quote/QueryQuoteDay": {
  8574. "get": {
  8575. "security": [
  8576. {
  8577. "ApiKeyAuth": []
  8578. }
  8579. ],
  8580. "produces": [
  8581. "application/json"
  8582. ],
  8583. "tags": [
  8584. "行情服务"
  8585. ],
  8586. "summary": "获取商品盘面信息",
  8587. "parameters": [
  8588. {
  8589. "type": "string",
  8590. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  8591. "name": "goodsCodes",
  8592. "in": "query",
  8593. "required": true
  8594. }
  8595. ],
  8596. "responses": {
  8597. "200": {
  8598. "description": "OK",
  8599. "schema": {
  8600. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  8601. }
  8602. },
  8603. "500": {
  8604. "description": "Internal Server Error",
  8605. "schema": {
  8606. "$ref": "#/definitions/app.Response"
  8607. }
  8608. }
  8609. }
  8610. }
  8611. },
  8612. "/Quote/QueryTSData": {
  8613. "get": {
  8614. "security": [
  8615. {
  8616. "ApiKeyAuth": []
  8617. }
  8618. ],
  8619. "produces": [
  8620. "application/json"
  8621. ],
  8622. "tags": [
  8623. "行情服务"
  8624. ],
  8625. "summary": "分时图数据查询",
  8626. "parameters": [
  8627. {
  8628. "type": "string",
  8629. "description": "商品代码",
  8630. "name": "goodsCode",
  8631. "in": "query",
  8632. "required": true
  8633. }
  8634. ],
  8635. "responses": {
  8636. "200": {
  8637. "description": "OK",
  8638. "schema": {
  8639. "$ref": "#/definitions/quote.QueryTSDataRsp"
  8640. }
  8641. },
  8642. "500": {
  8643. "description": "Internal Server Error",
  8644. "schema": {
  8645. "$ref": "#/definitions/app.Response"
  8646. }
  8647. }
  8648. }
  8649. }
  8650. },
  8651. "/SZDZ/QueryConvertConfig": {
  8652. "get": {
  8653. "security": [
  8654. {
  8655. "ApiKeyAuth": []
  8656. }
  8657. ],
  8658. "produces": [
  8659. "application/json"
  8660. ],
  8661. "tags": [
  8662. "定制【尚志大宗】"
  8663. ],
  8664. "summary": "查询交易系统转换设置",
  8665. "parameters": [
  8666. {
  8667. "type": "integer",
  8668. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8669. "name": "convertType",
  8670. "in": "query"
  8671. },
  8672. {
  8673. "type": "string",
  8674. "description": "外部商品代码[JD\\PD]",
  8675. "name": "outerGoodsCode",
  8676. "in": "query"
  8677. },
  8678. {
  8679. "type": "string",
  8680. "description": "内部商品ID列表[交易],格式:1,2,3",
  8681. "name": "innerGoodsIDs",
  8682. "in": "query"
  8683. }
  8684. ],
  8685. "responses": {
  8686. "200": {
  8687. "description": "OK",
  8688. "schema": {
  8689. "$ref": "#/definitions/models.Szdz3convertconfig"
  8690. }
  8691. },
  8692. "500": {
  8693. "description": "Internal Server Error",
  8694. "schema": {
  8695. "$ref": "#/definitions/app.Response"
  8696. }
  8697. }
  8698. }
  8699. }
  8700. },
  8701. "/SZDZ/QueryConvertLog": {
  8702. "get": {
  8703. "security": [
  8704. {
  8705. "ApiKeyAuth": []
  8706. }
  8707. ],
  8708. "produces": [
  8709. "application/json"
  8710. ],
  8711. "tags": [
  8712. "定制【尚志大宗】"
  8713. ],
  8714. "summary": "交易系统转换流水查询",
  8715. "parameters": [
  8716. {
  8717. "type": "string",
  8718. "description": "资金账户 - 格式:1,2,3",
  8719. "name": "accountID",
  8720. "in": "query",
  8721. "required": true
  8722. },
  8723. {
  8724. "type": "string",
  8725. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8726. "name": "startDate",
  8727. "in": "query"
  8728. },
  8729. {
  8730. "type": "string",
  8731. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  8732. "name": "endDate",
  8733. "in": "query"
  8734. }
  8735. ],
  8736. "responses": {
  8737. "200": {
  8738. "description": "OK",
  8739. "schema": {
  8740. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  8741. }
  8742. },
  8743. "500": {
  8744. "description": "Internal Server Error",
  8745. "schema": {
  8746. "$ref": "#/definitions/app.Response"
  8747. }
  8748. }
  8749. }
  8750. }
  8751. },
  8752. "/SZDZ/QueryGoodsPickup": {
  8753. "get": {
  8754. "security": [
  8755. {
  8756. "ApiKeyAuth": []
  8757. }
  8758. ],
  8759. "produces": [
  8760. "application/json"
  8761. ],
  8762. "tags": [
  8763. "定制【尚志大宗】"
  8764. ],
  8765. "summary": "商品提货单查询",
  8766. "parameters": [
  8767. {
  8768. "type": "string",
  8769. "description": "资金账户 - 格式:1,2,3",
  8770. "name": "accountID",
  8771. "in": "query",
  8772. "required": true
  8773. },
  8774. {
  8775. "type": "integer",
  8776. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8777. "name": "takeOrderStatus",
  8778. "in": "query"
  8779. }
  8780. ],
  8781. "responses": {
  8782. "200": {
  8783. "description": "OK",
  8784. "schema": {
  8785. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  8786. }
  8787. },
  8788. "500": {
  8789. "description": "Internal Server Error",
  8790. "schema": {
  8791. "$ref": "#/definitions/app.Response"
  8792. }
  8793. }
  8794. }
  8795. }
  8796. },
  8797. "/SZDZ/QueryRecieptOrder": {
  8798. "get": {
  8799. "security": [
  8800. {
  8801. "ApiKeyAuth": []
  8802. }
  8803. ],
  8804. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  8805. "produces": [
  8806. "application/json"
  8807. ],
  8808. "tags": [
  8809. "定制【尚志大宗】"
  8810. ],
  8811. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  8812. "parameters": [
  8813. {
  8814. "type": "integer",
  8815. "description": "页码",
  8816. "name": "page",
  8817. "in": "query"
  8818. },
  8819. {
  8820. "type": "integer",
  8821. "description": "每页条数",
  8822. "name": "pagesize",
  8823. "in": "query"
  8824. },
  8825. {
  8826. "type": "integer",
  8827. "description": "商品ID",
  8828. "name": "goodsID",
  8829. "in": "query",
  8830. "required": true
  8831. },
  8832. {
  8833. "type": "string",
  8834. "description": "所属账户名称",
  8835. "name": "accountName",
  8836. "in": "query"
  8837. },
  8838. {
  8839. "type": "integer",
  8840. "description": "市场ID",
  8841. "name": "marketID",
  8842. "in": "query"
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "方向 - 0:买 1:卖",
  8847. "name": "buyorsell",
  8848. "in": "query",
  8849. "required": true
  8850. }
  8851. ],
  8852. "responses": {
  8853. "200": {
  8854. "description": "OK",
  8855. "schema": {
  8856. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  8857. }
  8858. },
  8859. "500": {
  8860. "description": "Internal Server Error",
  8861. "schema": {
  8862. "$ref": "#/definitions/app.Response"
  8863. }
  8864. }
  8865. }
  8866. }
  8867. },
  8868. "/SZDZ/QuerySZDZTradePosition": {
  8869. "get": {
  8870. "security": [
  8871. {
  8872. "ApiKeyAuth": []
  8873. }
  8874. ],
  8875. "produces": [
  8876. "application/json"
  8877. ],
  8878. "tags": [
  8879. "定制【尚志大宗】"
  8880. ],
  8881. "summary": "持仓汇总查询(尚志大宗)",
  8882. "parameters": [
  8883. {
  8884. "type": "integer",
  8885. "description": "资金账户",
  8886. "name": "accountID",
  8887. "in": "query",
  8888. "required": true
  8889. }
  8890. ],
  8891. "responses": {
  8892. "200": {
  8893. "description": "OK",
  8894. "schema": {
  8895. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  8896. }
  8897. },
  8898. "500": {
  8899. "description": "Internal Server Error",
  8900. "schema": {
  8901. "$ref": "#/definitions/app.Response"
  8902. }
  8903. }
  8904. }
  8905. }
  8906. },
  8907. "/SZDZ/SearchWhite": {
  8908. "get": {
  8909. "security": [
  8910. {
  8911. "ApiKeyAuth": []
  8912. }
  8913. ],
  8914. "produces": [
  8915. "application/json"
  8916. ],
  8917. "tags": [
  8918. "定制【尚志大宗】"
  8919. ],
  8920. "summary": "搜索白名单",
  8921. "parameters": [
  8922. {
  8923. "type": "integer",
  8924. "description": "用户ID",
  8925. "name": "userID",
  8926. "in": "query",
  8927. "required": true
  8928. }
  8929. ],
  8930. "responses": {
  8931. "200": {
  8932. "description": "OK",
  8933. "schema": {
  8934. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  8935. }
  8936. },
  8937. "500": {
  8938. "description": "Internal Server Error",
  8939. "schema": {
  8940. "$ref": "#/definitions/app.Response"
  8941. }
  8942. }
  8943. }
  8944. }
  8945. },
  8946. "/Search/SearchGoodses": {
  8947. "get": {
  8948. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "检索服务"
  8954. ],
  8955. "summary": "检索商品信息",
  8956. "parameters": [
  8957. {
  8958. "type": "string",
  8959. "description": "检索内容",
  8960. "name": "content",
  8961. "in": "query",
  8962. "required": true
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "交易模式,格式:1,2,3",
  8967. "name": "tradeModes",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "$ref": "#/definitions/models.SearchGoods"
  8976. }
  8977. },
  8978. "500": {
  8979. "description": "Internal Server Error",
  8980. "schema": {
  8981. "$ref": "#/definitions/app.Response"
  8982. }
  8983. }
  8984. }
  8985. }
  8986. },
  8987. "/TaAccount/GetTaAccounts": {
  8988. "get": {
  8989. "security": [
  8990. {
  8991. "ApiKeyAuth": []
  8992. }
  8993. ],
  8994. "produces": [
  8995. "application/json"
  8996. ],
  8997. "tags": [
  8998. "资金账户"
  8999. ],
  9000. "summary": "获取资金账户信息",
  9001. "parameters": [
  9002. {
  9003. "type": "integer",
  9004. "description": "登录账户",
  9005. "name": "loginID",
  9006. "in": "query",
  9007. "required": true
  9008. },
  9009. {
  9010. "type": "integer",
  9011. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9012. "name": "taAccountType",
  9013. "in": "query"
  9014. }
  9015. ],
  9016. "responses": {
  9017. "200": {
  9018. "description": "OK",
  9019. "schema": {
  9020. "$ref": "#/definitions/models.Taaccount"
  9021. }
  9022. },
  9023. "500": {
  9024. "description": "Internal Server Error",
  9025. "schema": {
  9026. "$ref": "#/definitions/app.Response"
  9027. }
  9028. }
  9029. }
  9030. }
  9031. },
  9032. "/TaAccount/QueryAmountLog": {
  9033. "get": {
  9034. "security": [
  9035. {
  9036. "ApiKeyAuth": []
  9037. }
  9038. ],
  9039. "produces": [
  9040. "application/json"
  9041. ],
  9042. "tags": [
  9043. "资金账户"
  9044. ],
  9045. "summary": "资金流水查询(当前)",
  9046. "parameters": [
  9047. {
  9048. "type": "integer",
  9049. "description": "页码",
  9050. "name": "page",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "integer",
  9055. "description": "每页条数",
  9056. "name": "pagesize",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "资金账户 - 格式:1,2,3",
  9062. "name": "accountID",
  9063. "in": "query",
  9064. "required": true
  9065. },
  9066. {
  9067. "type": "string",
  9068. "description": "资金操作类型 - 格式:1,2,3",
  9069. "name": "OperateType",
  9070. "in": "query"
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9078. }
  9079. },
  9080. "500": {
  9081. "description": "Internal Server Error",
  9082. "schema": {
  9083. "$ref": "#/definitions/app.Response"
  9084. }
  9085. }
  9086. }
  9087. }
  9088. },
  9089. "/TaAccount/QueryHisAmountLog": {
  9090. "get": {
  9091. "security": [
  9092. {
  9093. "ApiKeyAuth": []
  9094. }
  9095. ],
  9096. "produces": [
  9097. "application/json"
  9098. ],
  9099. "tags": [
  9100. "资金账户"
  9101. ],
  9102. "summary": "资金流水查询(历史)",
  9103. "parameters": [
  9104. {
  9105. "type": "integer",
  9106. "description": "页码",
  9107. "name": "page",
  9108. "in": "query"
  9109. },
  9110. {
  9111. "type": "integer",
  9112. "description": "每页条数",
  9113. "name": "pagesize",
  9114. "in": "query"
  9115. },
  9116. {
  9117. "type": "string",
  9118. "description": "资金账户 - 格式:1,2,3",
  9119. "name": "accountID",
  9120. "in": "query",
  9121. "required": true
  9122. },
  9123. {
  9124. "type": "string",
  9125. "description": "资金操作类型 - 格式:1,2,3",
  9126. "name": "OperateType",
  9127. "in": "query"
  9128. },
  9129. {
  9130. "type": "string",
  9131. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9132. "name": "startDate",
  9133. "in": "query"
  9134. },
  9135. {
  9136. "type": "string",
  9137. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9138. "name": "endDate",
  9139. "in": "query"
  9140. }
  9141. ],
  9142. "responses": {
  9143. "200": {
  9144. "description": "OK",
  9145. "schema": {
  9146. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  9147. }
  9148. },
  9149. "500": {
  9150. "description": "Internal Server Error",
  9151. "schema": {
  9152. "$ref": "#/definitions/app.Response"
  9153. }
  9154. }
  9155. }
  9156. }
  9157. },
  9158. "/Trade/QueryRecieptOrder": {
  9159. "get": {
  9160. "security": [
  9161. {
  9162. "ApiKeyAuth": []
  9163. }
  9164. ],
  9165. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9166. "produces": [
  9167. "application/json"
  9168. ],
  9169. "tags": [
  9170. "通用交易"
  9171. ],
  9172. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  9173. "parameters": [
  9174. {
  9175. "type": "integer",
  9176. "description": "页码",
  9177. "name": "page",
  9178. "in": "query"
  9179. },
  9180. {
  9181. "type": "integer",
  9182. "description": "每页条数",
  9183. "name": "pagesize",
  9184. "in": "query"
  9185. },
  9186. {
  9187. "type": "integer",
  9188. "description": "商品ID",
  9189. "name": "goodsID",
  9190. "in": "query",
  9191. "required": true
  9192. },
  9193. {
  9194. "type": "string",
  9195. "description": "所属账户名称",
  9196. "name": "accountName",
  9197. "in": "query"
  9198. },
  9199. {
  9200. "type": "integer",
  9201. "description": "市场ID",
  9202. "name": "marketID",
  9203. "in": "query"
  9204. },
  9205. {
  9206. "type": "integer",
  9207. "description": "方向 - 0:买 1:卖",
  9208. "name": "buyorsell",
  9209. "in": "query",
  9210. "required": true
  9211. }
  9212. ],
  9213. "responses": {
  9214. "200": {
  9215. "description": "OK",
  9216. "schema": {
  9217. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  9218. }
  9219. },
  9220. "500": {
  9221. "description": "Internal Server Error",
  9222. "schema": {
  9223. "$ref": "#/definitions/app.Response"
  9224. }
  9225. }
  9226. }
  9227. }
  9228. },
  9229. "/User/AddMessageBoard": {
  9230. "post": {
  9231. "security": [
  9232. {
  9233. "ApiKeyAuth": []
  9234. }
  9235. ],
  9236. "produces": [
  9237. "application/json"
  9238. ],
  9239. "tags": [
  9240. "用户信息"
  9241. ],
  9242. "summary": "添加用户留言板信息",
  9243. "parameters": [
  9244. {
  9245. "type": "integer",
  9246. "description": "用户ID",
  9247. "name": "userID",
  9248. "in": "query",
  9249. "required": true
  9250. },
  9251. {
  9252. "type": "string",
  9253. "description": "留言信息",
  9254. "name": "message",
  9255. "in": "query",
  9256. "required": true
  9257. },
  9258. {
  9259. "type": "string",
  9260. "description": "联系电话",
  9261. "name": "contactNum",
  9262. "in": "query",
  9263. "required": true
  9264. }
  9265. ],
  9266. "responses": {
  9267. "200": {
  9268. "description": "OK",
  9269. "schema": {
  9270. "$ref": "#/definitions/app.Response"
  9271. }
  9272. },
  9273. "500": {
  9274. "description": "Internal Server Error",
  9275. "schema": {
  9276. "$ref": "#/definitions/app.Response"
  9277. }
  9278. }
  9279. }
  9280. }
  9281. },
  9282. "/User/AddUserFavoriteGoods": {
  9283. "post": {
  9284. "security": [
  9285. {
  9286. "ApiKeyAuth": []
  9287. }
  9288. ],
  9289. "produces": [
  9290. "application/json"
  9291. ],
  9292. "tags": [
  9293. "用户信息"
  9294. ],
  9295. "summary": "添加用户商品收藏信息",
  9296. "parameters": [
  9297. {
  9298. "type": "integer",
  9299. "description": "用户ID",
  9300. "name": "userID",
  9301. "in": "query",
  9302. "required": true
  9303. },
  9304. {
  9305. "type": "integer",
  9306. "description": "商品ID",
  9307. "name": "goodsID",
  9308. "in": "query",
  9309. "required": true
  9310. }
  9311. ],
  9312. "responses": {
  9313. "200": {
  9314. "description": "OK",
  9315. "schema": {
  9316. "$ref": "#/definitions/app.Response"
  9317. }
  9318. },
  9319. "500": {
  9320. "description": "Internal Server Error",
  9321. "schema": {
  9322. "$ref": "#/definitions/app.Response"
  9323. }
  9324. }
  9325. }
  9326. }
  9327. },
  9328. "/User/GetLoginID": {
  9329. "get": {
  9330. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  9331. "produces": [
  9332. "application/json"
  9333. ],
  9334. "tags": [
  9335. "用户信息"
  9336. ],
  9337. "summary": "获取登录ID",
  9338. "parameters": [
  9339. {
  9340. "type": "string",
  9341. "description": "登录代码",
  9342. "name": "username",
  9343. "in": "query",
  9344. "required": true
  9345. }
  9346. ],
  9347. "responses": {
  9348. "200": {
  9349. "description": "OK",
  9350. "schema": {
  9351. "$ref": "#/definitions/app.Response"
  9352. }
  9353. },
  9354. "500": {
  9355. "description": "Internal Server Error",
  9356. "schema": {
  9357. "$ref": "#/definitions/app.Response"
  9358. }
  9359. }
  9360. }
  9361. }
  9362. },
  9363. "/User/GetUserAccount": {
  9364. "get": {
  9365. "security": [
  9366. {
  9367. "ApiKeyAuth": []
  9368. }
  9369. ],
  9370. "produces": [
  9371. "application/json"
  9372. ],
  9373. "tags": [
  9374. "用户信息"
  9375. ],
  9376. "summary": "获取用户账号信息",
  9377. "parameters": [
  9378. {
  9379. "type": "integer",
  9380. "description": "用户ID",
  9381. "name": "userID",
  9382. "in": "query",
  9383. "required": true
  9384. }
  9385. ],
  9386. "responses": {
  9387. "200": {
  9388. "description": "OK",
  9389. "schema": {
  9390. "$ref": "#/definitions/models.Useraccount"
  9391. }
  9392. },
  9393. "500": {
  9394. "description": "Internal Server Error",
  9395. "schema": {
  9396. "$ref": "#/definitions/app.Response"
  9397. }
  9398. }
  9399. }
  9400. }
  9401. },
  9402. "/User/GetUserAuthStatus": {
  9403. "get": {
  9404. "security": [
  9405. {
  9406. "ApiKeyAuth": []
  9407. }
  9408. ],
  9409. "produces": [
  9410. "application/json"
  9411. ],
  9412. "tags": [
  9413. "用户信息"
  9414. ],
  9415. "summary": "获取用户实名认证状态",
  9416. "parameters": [
  9417. {
  9418. "type": "integer",
  9419. "description": "用户ID",
  9420. "name": "userID",
  9421. "in": "query",
  9422. "required": true
  9423. }
  9424. ],
  9425. "responses": {
  9426. "200": {
  9427. "description": "OK",
  9428. "schema": {
  9429. "$ref": "#/definitions/app.Response"
  9430. }
  9431. },
  9432. "500": {
  9433. "description": "Internal Server Error",
  9434. "schema": {
  9435. "$ref": "#/definitions/app.Response"
  9436. }
  9437. }
  9438. }
  9439. }
  9440. },
  9441. "/User/LoginQuery": {
  9442. "get": {
  9443. "security": [
  9444. {
  9445. "ApiKeyAuth": []
  9446. }
  9447. ],
  9448. "produces": [
  9449. "application/json"
  9450. ],
  9451. "tags": [
  9452. "用户信息"
  9453. ],
  9454. "summary": "账户登录后信息查询",
  9455. "parameters": [
  9456. {
  9457. "type": "integer",
  9458. "description": "登录账号",
  9459. "name": "loginID",
  9460. "in": "query",
  9461. "required": true
  9462. }
  9463. ],
  9464. "responses": {
  9465. "200": {
  9466. "description": "OK",
  9467. "schema": {
  9468. "$ref": "#/definitions/user.LoginQueryRsp"
  9469. }
  9470. },
  9471. "500": {
  9472. "description": "Internal Server Error",
  9473. "schema": {
  9474. "$ref": "#/definitions/app.Response"
  9475. }
  9476. }
  9477. }
  9478. }
  9479. },
  9480. "/User/QueryMessageBoard": {
  9481. "get": {
  9482. "security": [
  9483. {
  9484. "ApiKeyAuth": []
  9485. }
  9486. ],
  9487. "produces": [
  9488. "application/json"
  9489. ],
  9490. "tags": [
  9491. "用户信息"
  9492. ],
  9493. "summary": "获取用户留言板信息",
  9494. "parameters": [
  9495. {
  9496. "type": "integer",
  9497. "description": "用户ID",
  9498. "name": "userID",
  9499. "in": "query",
  9500. "required": true
  9501. }
  9502. ],
  9503. "responses": {
  9504. "200": {
  9505. "description": "OK",
  9506. "schema": {
  9507. "$ref": "#/definitions/models.Messageboard"
  9508. }
  9509. },
  9510. "500": {
  9511. "description": "Internal Server Error",
  9512. "schema": {
  9513. "$ref": "#/definitions/app.Response"
  9514. }
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "/User/QueryUserFavoriteGoodses": {
  9520. "get": {
  9521. "security": [
  9522. {
  9523. "ApiKeyAuth": []
  9524. }
  9525. ],
  9526. "produces": [
  9527. "application/json"
  9528. ],
  9529. "tags": [
  9530. "用户信息"
  9531. ],
  9532. "summary": "获取用户商品收藏信息",
  9533. "parameters": [
  9534. {
  9535. "type": "integer",
  9536. "description": "用户ID",
  9537. "name": "userID",
  9538. "in": "query",
  9539. "required": true
  9540. }
  9541. ],
  9542. "responses": {
  9543. "200": {
  9544. "description": "OK",
  9545. "schema": {
  9546. "$ref": "#/definitions/models.Userfavoritegoods"
  9547. }
  9548. },
  9549. "500": {
  9550. "description": "Internal Server Error",
  9551. "schema": {
  9552. "$ref": "#/definitions/app.Response"
  9553. }
  9554. }
  9555. }
  9556. }
  9557. },
  9558. "/User/QueryUserInfo": {
  9559. "get": {
  9560. "security": [
  9561. {
  9562. "ApiKeyAuth": []
  9563. }
  9564. ],
  9565. "produces": [
  9566. "application/json"
  9567. ],
  9568. "tags": [
  9569. "用户信息"
  9570. ],
  9571. "summary": "获取用户信息",
  9572. "parameters": [
  9573. {
  9574. "type": "integer",
  9575. "description": "用户ID",
  9576. "name": "userID",
  9577. "in": "query",
  9578. "required": true
  9579. },
  9580. {
  9581. "type": "boolean",
  9582. "description": "是否解密",
  9583. "name": "isDecrypt",
  9584. "in": "query"
  9585. }
  9586. ],
  9587. "responses": {
  9588. "200": {
  9589. "description": "OK",
  9590. "schema": {
  9591. "$ref": "#/definitions/models.Userinfo"
  9592. }
  9593. },
  9594. "500": {
  9595. "description": "Internal Server Error",
  9596. "schema": {
  9597. "$ref": "#/definitions/app.Response"
  9598. }
  9599. }
  9600. }
  9601. }
  9602. },
  9603. "/User/QueryUserReferNum": {
  9604. "get": {
  9605. "produces": [
  9606. "application/json"
  9607. ],
  9608. "tags": [
  9609. "用户信息"
  9610. ],
  9611. "summary": "获取用户邀请码",
  9612. "parameters": [
  9613. {
  9614. "type": "integer",
  9615. "description": "用户ID",
  9616. "name": "userID",
  9617. "in": "query",
  9618. "required": true
  9619. }
  9620. ],
  9621. "responses": {
  9622. "200": {
  9623. "description": "OK",
  9624. "schema": {
  9625. "$ref": "#/definitions/app.Response"
  9626. }
  9627. },
  9628. "500": {
  9629. "description": "Internal Server Error",
  9630. "schema": {
  9631. "$ref": "#/definitions/app.Response"
  9632. }
  9633. }
  9634. }
  9635. }
  9636. },
  9637. "/User/RemoveUserFavoriteGoods": {
  9638. "post": {
  9639. "security": [
  9640. {
  9641. "ApiKeyAuth": []
  9642. }
  9643. ],
  9644. "produces": [
  9645. "application/json"
  9646. ],
  9647. "tags": [
  9648. "用户信息"
  9649. ],
  9650. "summary": "移除用户商品收藏信息",
  9651. "parameters": [
  9652. {
  9653. "type": "integer",
  9654. "description": "用户ID",
  9655. "name": "userID",
  9656. "in": "query",
  9657. "required": true
  9658. },
  9659. {
  9660. "type": "integer",
  9661. "description": "商品ID",
  9662. "name": "goodsID",
  9663. "in": "query",
  9664. "required": true
  9665. }
  9666. ],
  9667. "responses": {
  9668. "200": {
  9669. "description": "OK",
  9670. "schema": {
  9671. "$ref": "#/definitions/app.Response"
  9672. }
  9673. },
  9674. "500": {
  9675. "description": "Internal Server Error",
  9676. "schema": {
  9677. "$ref": "#/definitions/app.Response"
  9678. }
  9679. }
  9680. }
  9681. }
  9682. },
  9683. "/User/UpdateUserAccountStatus": {
  9684. "post": {
  9685. "security": [
  9686. {
  9687. "ApiKeyAuth": []
  9688. }
  9689. ],
  9690. "produces": [
  9691. "application/json"
  9692. ],
  9693. "tags": [
  9694. "用户信息"
  9695. ],
  9696. "summary": "更新用户状态",
  9697. "parameters": [
  9698. {
  9699. "type": "integer",
  9700. "description": "用户ID",
  9701. "name": "userID",
  9702. "in": "query",
  9703. "required": true
  9704. },
  9705. {
  9706. "type": "integer",
  9707. "description": "账户状态 - 4:正常 6:注销(停用)",
  9708. "name": "accountStatus",
  9709. "in": "query",
  9710. "required": true
  9711. }
  9712. ],
  9713. "responses": {
  9714. "200": {
  9715. "description": "OK",
  9716. "schema": {
  9717. "$ref": "#/definitions/app.Response"
  9718. }
  9719. },
  9720. "500": {
  9721. "description": "Internal Server Error",
  9722. "schema": {
  9723. "$ref": "#/definitions/app.Response"
  9724. }
  9725. }
  9726. }
  9727. }
  9728. },
  9729. "/WRTrade/GetAllDeliveryGoods": {
  9730. "get": {
  9731. "security": [
  9732. {
  9733. "ApiKeyAuth": []
  9734. },
  9735. {
  9736. "ApiKeyAuth": []
  9737. }
  9738. ],
  9739. "produces": [
  9740. "application/json",
  9741. "application/json"
  9742. ],
  9743. "tags": [
  9744. "仓单贸易",
  9745. "仓单贸易"
  9746. ],
  9747. "summary": "获取带仓单分类的种类信息",
  9748. "responses": {
  9749. "200": {
  9750. "description": "OK",
  9751. "schema": {
  9752. "$ref": "#/definitions/app.Response"
  9753. }
  9754. },
  9755. "500": {
  9756. "description": "Internal Server Error",
  9757. "schema": {
  9758. "$ref": "#/definitions/app.Response"
  9759. }
  9760. }
  9761. }
  9762. }
  9763. }
  9764. },
  9765. "definitions": {
  9766. "app.Response": {
  9767. "type": "object",
  9768. "properties": {
  9769. "code": {
  9770. "type": "integer"
  9771. },
  9772. "data": {
  9773. "type": "object"
  9774. },
  9775. "msg": {
  9776. "type": "string"
  9777. },
  9778. "page": {
  9779. "description": "页码",
  9780. "type": "integer"
  9781. },
  9782. "pagesize": {
  9783. "description": "每页条数",
  9784. "type": "integer"
  9785. },
  9786. "total": {
  9787. "description": "总条数",
  9788. "type": "integer"
  9789. }
  9790. }
  9791. },
  9792. "common.ClientMenu": {
  9793. "type": "object",
  9794. "properties": {
  9795. "children": {
  9796. "description": "子菜单列表",
  9797. "type": "array",
  9798. "items": {
  9799. "$ref": "#/definitions/common.ClientMenu"
  9800. }
  9801. },
  9802. "code": {
  9803. "description": "ID",
  9804. "type": "string"
  9805. },
  9806. "isshow": {
  9807. "description": "是否显示",
  9808. "type": "boolean"
  9809. },
  9810. "rulekey": {
  9811. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  9812. "type": "string"
  9813. },
  9814. "sort": {
  9815. "description": "排序",
  9816. "type": "integer"
  9817. },
  9818. "title": {
  9819. "description": "标题",
  9820. "type": "string"
  9821. },
  9822. "type": {
  9823. "description": "类型,1:菜单 2:按钮",
  9824. "type": "integer"
  9825. }
  9826. }
  9827. },
  9828. "common.QueryImageConfigsRsp": {
  9829. "type": "object",
  9830. "required": [
  9831. "configid"
  9832. ],
  9833. "properties": {
  9834. "areauserid": {
  9835. "description": "所属机构ID",
  9836. "type": "integer"
  9837. },
  9838. "configid": {
  9839. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9840. "type": "integer"
  9841. },
  9842. "createdate": {
  9843. "description": "创建时间",
  9844. "type": "string"
  9845. },
  9846. "creatorid": {
  9847. "description": "创建人",
  9848. "type": "integer"
  9849. },
  9850. "imagepath": {
  9851. "description": "图片",
  9852. "type": "string"
  9853. },
  9854. "imagetype": {
  9855. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  9856. "type": "integer"
  9857. },
  9858. "isshow": {
  9859. "description": "是否展示 - 0:不展示 1:展示",
  9860. "type": "integer"
  9861. },
  9862. "marketid": {
  9863. "description": "市场ID",
  9864. "type": "integer"
  9865. },
  9866. "modifierid": {
  9867. "description": "操作人",
  9868. "type": "integer"
  9869. },
  9870. "sort": {
  9871. "description": "排序",
  9872. "type": "integer"
  9873. },
  9874. "title": {
  9875. "description": "标题",
  9876. "type": "string"
  9877. },
  9878. "trademode": {
  9879. "description": "交易模式",
  9880. "type": "integer"
  9881. },
  9882. "updatedate": {
  9883. "description": "修改时间",
  9884. "type": "string"
  9885. },
  9886. "url": {
  9887. "description": "链接(地址或商品ID)",
  9888. "type": "string"
  9889. },
  9890. "urltype": {
  9891. "description": "链接类型 - 1:直接地址 2:商品ID",
  9892. "type": "integer"
  9893. }
  9894. }
  9895. },
  9896. "common.QueryNoticeRsp": {
  9897. "type": "object",
  9898. "required": [
  9899. "autoid"
  9900. ],
  9901. "properties": {
  9902. "auditoruserid": {
  9903. "description": "审核人",
  9904. "type": "integer"
  9905. },
  9906. "auditremark": {
  9907. "description": "审核备注",
  9908. "type": "string"
  9909. },
  9910. "audittime": {
  9911. "description": "审核日期",
  9912. "type": "string"
  9913. },
  9914. "autoid": {
  9915. "description": "自增ID",
  9916. "type": "integer"
  9917. },
  9918. "content": {
  9919. "description": "内容",
  9920. "type": "string"
  9921. },
  9922. "createtime": {
  9923. "description": "创建时间",
  9924. "type": "string"
  9925. },
  9926. "creatorid": {
  9927. "description": "建仓人",
  9928. "type": "integer"
  9929. },
  9930. "endtime": {
  9931. "description": "结束时间",
  9932. "type": "string"
  9933. },
  9934. "istop": {
  9935. "description": "是否置顶 - 0:不置顶 1:置顶",
  9936. "type": "integer"
  9937. },
  9938. "msgiconurl": {
  9939. "description": "消息图标Url",
  9940. "type": "string"
  9941. },
  9942. "msgtype": {
  9943. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  9944. "type": "integer"
  9945. },
  9946. "publisher": {
  9947. "description": "消息发布者",
  9948. "type": "string"
  9949. },
  9950. "readed": {
  9951. "description": "是否已读",
  9952. "type": "boolean"
  9953. },
  9954. "scheduletime": {
  9955. "description": "计划发送时间",
  9956. "type": "string"
  9957. },
  9958. "sendtype": {
  9959. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  9960. "type": "integer"
  9961. },
  9962. "sentstatus": {
  9963. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  9964. "type": "integer"
  9965. },
  9966. "title": {
  9967. "description": "标题",
  9968. "type": "string"
  9969. },
  9970. "userid": {
  9971. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  9972. "type": "integer"
  9973. }
  9974. }
  9975. },
  9976. "common.QueryProvincesAndCitiesRsp": {
  9977. "type": "object",
  9978. "properties": {
  9979. "cities": {
  9980. "description": "市",
  9981. "type": "array",
  9982. "items": {
  9983. "$ref": "#/definitions/models.Division"
  9984. }
  9985. },
  9986. "province": {
  9987. "description": "省",
  9988. "type": "object",
  9989. "$ref": "#/definitions/models.Division"
  9990. }
  9991. }
  9992. },
  9993. "common.QueryTableDefineRsp": {
  9994. "type": "object",
  9995. "required": [
  9996. "tablekey"
  9997. ],
  9998. "properties": {
  9999. "columns": {
  10000. "description": "列头信息数组",
  10001. "type": "array",
  10002. "items": {
  10003. "$ref": "#/definitions/models.Tablecolumnconfig"
  10004. }
  10005. },
  10006. "remark": {
  10007. "description": "Remark",
  10008. "type": "string"
  10009. },
  10010. "tabelmenu": {
  10011. "description": "列表菜单",
  10012. "type": "string"
  10013. },
  10014. "tablekey": {
  10015. "description": "列表Key",
  10016. "type": "string"
  10017. },
  10018. "tablename": {
  10019. "description": "列表名称",
  10020. "type": "string"
  10021. },
  10022. "tabletype": {
  10023. "description": "列表类型 - 1:管理端 2:终端",
  10024. "type": "integer"
  10025. }
  10026. }
  10027. },
  10028. "common.QueryTraderMenuRsp": {
  10029. "type": "object",
  10030. "properties": {
  10031. "OperationMenu": {
  10032. "description": "功能菜单",
  10033. "type": "array",
  10034. "items": {
  10035. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10036. }
  10037. },
  10038. "QuoteMenu": {
  10039. "description": "报价牌分类菜单",
  10040. "type": "array",
  10041. "items": {
  10042. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10043. }
  10044. }
  10045. }
  10046. },
  10047. "cptrade.Cptradepositioncancel": {
  10048. "type": "object",
  10049. "required": [
  10050. "cancelid"
  10051. ],
  10052. "properties": {
  10053. "accountid": {
  10054. "description": "申请人账户ID",
  10055. "type": "integer"
  10056. },
  10057. "applystatus": {
  10058. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10059. "type": "integer"
  10060. },
  10061. "applytime": {
  10062. "description": "申请时间",
  10063. "type": "string"
  10064. },
  10065. "cancelid": {
  10066. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10067. "type": "integer"
  10068. },
  10069. "cancelqty": {
  10070. "description": "注销数量",
  10071. "type": "integer"
  10072. },
  10073. "createtime": {
  10074. "description": "创建时间",
  10075. "type": "string"
  10076. },
  10077. "creatorid": {
  10078. "description": "创建人ID",
  10079. "type": "integer"
  10080. },
  10081. "creatorname": {
  10082. "description": "创建人",
  10083. "type": "string"
  10084. },
  10085. "goodscode": {
  10086. "description": "订单商品代码",
  10087. "type": "string"
  10088. },
  10089. "goodsid": {
  10090. "description": "商品ID",
  10091. "type": "integer"
  10092. },
  10093. "goodsname": {
  10094. "description": "订单商品名称",
  10095. "type": "string"
  10096. },
  10097. "goodunit": {
  10098. "description": "报价单位",
  10099. "type": "string"
  10100. },
  10101. "handlestatus": {
  10102. "description": "处理状态",
  10103. "type": "integer"
  10104. },
  10105. "marketid": {
  10106. "description": "市场ID",
  10107. "type": "integer"
  10108. },
  10109. "marketname": {
  10110. "description": "市场名称",
  10111. "type": "string"
  10112. },
  10113. "tradedate": {
  10114. "description": "交易日(yyyyMMdd)",
  10115. "type": "string"
  10116. },
  10117. "userid": {
  10118. "description": "申请人ID",
  10119. "type": "integer"
  10120. }
  10121. }
  10122. },
  10123. "cptrade.Cptradepresaleapply": {
  10124. "type": "object",
  10125. "required": [
  10126. "applyid"
  10127. ],
  10128. "properties": {
  10129. "accountid": {
  10130. "description": "申请人账户ID",
  10131. "type": "integer"
  10132. },
  10133. "applyid": {
  10134. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  10135. "type": "integer"
  10136. },
  10137. "applyremark": {
  10138. "description": "申请备注",
  10139. "type": "string"
  10140. },
  10141. "applystatus": {
  10142. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10143. "type": "integer"
  10144. },
  10145. "applytime": {
  10146. "description": "申请时间",
  10147. "type": "string"
  10148. },
  10149. "attachmenturl": {
  10150. "description": "附件地址",
  10151. "type": "string"
  10152. },
  10153. "endtime": {
  10154. "description": "预售结束时间",
  10155. "type": "string"
  10156. },
  10157. "goodscode": {
  10158. "description": "商品代码",
  10159. "type": "string"
  10160. },
  10161. "goodsid": {
  10162. "description": "商品ID",
  10163. "type": "integer"
  10164. },
  10165. "goodsname": {
  10166. "description": "商品名称",
  10167. "type": "string"
  10168. },
  10169. "goodunit": {
  10170. "description": "报价单位",
  10171. "type": "string"
  10172. },
  10173. "handlestatus": {
  10174. "description": "处理状态",
  10175. "type": "integer"
  10176. },
  10177. "marketid": {
  10178. "description": "预售市场ID",
  10179. "type": "integer"
  10180. },
  10181. "marketname": {
  10182. "description": "预售市场名称",
  10183. "type": "string"
  10184. },
  10185. "presaleqty": {
  10186. "description": "预售数量",
  10187. "type": "integer"
  10188. },
  10189. "relatedgoodscode": {
  10190. "description": "关联交易合约代码",
  10191. "type": "string"
  10192. },
  10193. "relatedgoodsid": {
  10194. "description": "关联交易合约ID",
  10195. "type": "integer"
  10196. },
  10197. "relatedgoodsname": {
  10198. "description": "关联交易合约名称",
  10199. "type": "string"
  10200. },
  10201. "starttime": {
  10202. "description": "预售开始时间",
  10203. "type": "string"
  10204. },
  10205. "tradedate": {
  10206. "description": "交易日(yyyyMMdd)",
  10207. "type": "string"
  10208. },
  10209. "trademode": {
  10210. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  10211. "type": "integer"
  10212. },
  10213. "userid": {
  10214. "description": "申请人ID",
  10215. "type": "integer"
  10216. }
  10217. }
  10218. },
  10219. "cptrade.Cptradeusergoodsdata": {
  10220. "type": "object",
  10221. "required": [
  10222. "accountid",
  10223. "goodsid"
  10224. ],
  10225. "properties": {
  10226. "EnabledQty": {
  10227. "description": "可用量",
  10228. "type": "integer"
  10229. },
  10230. "GoodsCode": {
  10231. "description": "订单商品代码",
  10232. "type": "string"
  10233. },
  10234. "GoodsName": {
  10235. "description": "订单商品名称",
  10236. "type": "string"
  10237. },
  10238. "WRStandardCode": {
  10239. "description": "仓单标准代码",
  10240. "type": "string"
  10241. },
  10242. "WRStandardName": {
  10243. "description": "仓单标准名称",
  10244. "type": "string"
  10245. },
  10246. "accountid": {
  10247. "description": "账户ID",
  10248. "type": "integer"
  10249. },
  10250. "cancelqty": {
  10251. "description": "注销量",
  10252. "type": "integer"
  10253. },
  10254. "curpresaleqty": {
  10255. "description": "当前预售量",
  10256. "type": "integer"
  10257. },
  10258. "deliveryqty": {
  10259. "description": "交割量",
  10260. "type": "integer"
  10261. },
  10262. "freezeamount": {
  10263. "description": "冻结金额",
  10264. "type": "number"
  10265. },
  10266. "goodsid": {
  10267. "description": "商品ID",
  10268. "type": "integer"
  10269. },
  10270. "goodunit": {
  10271. "description": "报价单位",
  10272. "type": "string"
  10273. },
  10274. "hasspotfreeze": {
  10275. "description": "是否有现货冻结 - 0:否 1:有",
  10276. "type": "integer"
  10277. },
  10278. "inqty": {
  10279. "description": "转入量(总数量)",
  10280. "type": "integer"
  10281. },
  10282. "marketid": {
  10283. "description": "市场ID",
  10284. "type": "integer"
  10285. },
  10286. "presaledamount": {
  10287. "description": "已预售总金额",
  10288. "type": "integer"
  10289. },
  10290. "presaledqty": {
  10291. "description": "已预售量",
  10292. "type": "integer"
  10293. },
  10294. "userid": {
  10295. "description": "用户ID",
  10296. "type": "integer"
  10297. },
  10298. "wrstandardid": {
  10299. "description": "仓单标准ID",
  10300. "type": "integer"
  10301. }
  10302. }
  10303. },
  10304. "cptrade.QueryCPTradeMyBidRsp": {
  10305. "type": "object",
  10306. "required": [
  10307. "accountid",
  10308. "goodsid",
  10309. "marketid",
  10310. "orderid",
  10311. "orderqty",
  10312. "ordertime",
  10313. "tradeprice",
  10314. "tradeqty"
  10315. ],
  10316. "properties": {
  10317. "accountid": {
  10318. "description": "账户ID[报价币种]",
  10319. "type": "integer"
  10320. },
  10321. "goodsid": {
  10322. "description": "商品ID",
  10323. "type": "integer"
  10324. },
  10325. "goodunit": {
  10326. "description": "报价单位",
  10327. "type": "string"
  10328. },
  10329. "marketid": {
  10330. "description": "市场ID",
  10331. "type": "integer"
  10332. },
  10333. "orderid": {
  10334. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10335. "type": "integer"
  10336. },
  10337. "orderprice": {
  10338. "description": "委托价格",
  10339. "type": "number"
  10340. },
  10341. "orderqty": {
  10342. "description": "委托数量",
  10343. "type": "integer"
  10344. },
  10345. "ordertime": {
  10346. "description": "委托时间",
  10347. "type": "string"
  10348. },
  10349. "ordertotalprice": {
  10350. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  10351. "type": "number"
  10352. },
  10353. "ordertotalweight": {
  10354. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  10355. "type": "integer"
  10356. },
  10357. "totaltotalprice": {
  10358. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  10359. "type": "number"
  10360. },
  10361. "tradeprice": {
  10362. "description": "成交价格",
  10363. "type": "number"
  10364. },
  10365. "tradeqty": {
  10366. "description": "成交数量",
  10367. "type": "integer"
  10368. }
  10369. }
  10370. },
  10371. "cptrade.QueryCPTradeOrderDetailRsq": {
  10372. "type": "object",
  10373. "required": [
  10374. "accountid",
  10375. "buildtype",
  10376. "buyorsell",
  10377. "goodsid",
  10378. "marketid",
  10379. "memberuserid",
  10380. "operatetype",
  10381. "orderqty",
  10382. "ordertime",
  10383. "pricemode",
  10384. "strorderid",
  10385. "tradedate",
  10386. "validtype"
  10387. ],
  10388. "properties": {
  10389. "accountid": {
  10390. "description": "账户ID[报价币种]",
  10391. "type": "integer"
  10392. },
  10393. "buildtype": {
  10394. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10395. "type": "integer"
  10396. },
  10397. "buyorsell": {
  10398. "description": "买卖 - 0:买 1:卖",
  10399. "type": "integer"
  10400. },
  10401. "cancelorderid": {
  10402. "description": "撤单单号(撤单时填写)",
  10403. "type": "integer"
  10404. },
  10405. "cancelqty": {
  10406. "description": "撤单数量",
  10407. "type": "integer"
  10408. },
  10409. "clientordertime": {
  10410. "description": "客户端委托时间",
  10411. "type": "string"
  10412. },
  10413. "clientticket": {
  10414. "description": "客户端流水号",
  10415. "type": "string"
  10416. },
  10417. "clienttype": {
  10418. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10419. "type": "integer"
  10420. },
  10421. "closeexchagechargevalue": {
  10422. "description": "平仓交易所手续费设置值",
  10423. "type": "number"
  10424. },
  10425. "closefeealgorithm": {
  10426. "description": "平仓手续费收取方式 1:比率 2:固定",
  10427. "type": "integer"
  10428. },
  10429. "closefreezecharge": {
  10430. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10431. "type": "number"
  10432. },
  10433. "closememberchargevalue": {
  10434. "description": "平仓会员手续费设置值",
  10435. "type": "number"
  10436. },
  10437. "closeqty": {
  10438. "description": "平仓数量(先建后平操作 需要记录)",
  10439. "type": "integer"
  10440. },
  10441. "closetradeqty": {
  10442. "description": "平仓成交数量(先建后平操作,需要记录)",
  10443. "type": "integer"
  10444. },
  10445. "closeunfreezecharge": {
  10446. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10447. "type": "number"
  10448. },
  10449. "delistingtype": {
  10450. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10451. "type": "integer"
  10452. },
  10453. "freezecharge": {
  10454. "description": "冻结手续费",
  10455. "type": "number"
  10456. },
  10457. "freezemargin": {
  10458. "description": "冻结保证金(冻结交易金额)",
  10459. "type": "number"
  10460. },
  10461. "gcaccountid": {
  10462. "description": "账户ID[合约币种]",
  10463. "type": "integer"
  10464. },
  10465. "goodsid": {
  10466. "description": "商品ID",
  10467. "type": "integer"
  10468. },
  10469. "isconfirmexercise": {
  10470. "description": "是否确认行权- 0:否 1:是",
  10471. "type": "integer"
  10472. },
  10473. "ispreexercise": {
  10474. "description": "是否预申报- 0:否 1:是",
  10475. "type": "integer"
  10476. },
  10477. "listingselecttype": {
  10478. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10479. "type": "integer"
  10480. },
  10481. "marginalgorithm": {
  10482. "description": "保证金收取方式 1:比率 2:固定",
  10483. "type": "integer"
  10484. },
  10485. "marginvalue": {
  10486. "description": "即市保证金设置值",
  10487. "type": "number"
  10488. },
  10489. "marketid": {
  10490. "description": "市场ID",
  10491. "type": "integer"
  10492. },
  10493. "marketmaxsub": {
  10494. "description": "市价最大偏移范围",
  10495. "type": "number"
  10496. },
  10497. "memberuserid": {
  10498. "description": "所属会员UserID",
  10499. "type": "integer"
  10500. },
  10501. "openexchagechargevalue": {
  10502. "description": "建仓交易所手续费设置值",
  10503. "type": "number"
  10504. },
  10505. "openfeealgorithm": {
  10506. "description": "建仓手续费收取方式 1:比率 2:固定",
  10507. "type": "integer"
  10508. },
  10509. "openfreezecharge": {
  10510. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10511. "type": "number"
  10512. },
  10513. "openmemberchargevalue": {
  10514. "description": "建仓会员手续费设置值",
  10515. "type": "number"
  10516. },
  10517. "openqty": {
  10518. "description": "开仓数量(先建后平操作,需要记录)",
  10519. "type": "integer"
  10520. },
  10521. "opentradeqty": {
  10522. "description": "开仓成交数量(先建后平操作,需要记录)",
  10523. "type": "integer"
  10524. },
  10525. "openunfreezecharge": {
  10526. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10527. "type": "number"
  10528. },
  10529. "operatetype": {
  10530. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10531. "type": "integer"
  10532. },
  10533. "operatorid": {
  10534. "description": "登录账号(LoginID)",
  10535. "type": "integer"
  10536. },
  10537. "optiontype": {
  10538. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10539. "type": "integer"
  10540. },
  10541. "orderprice": {
  10542. "description": "委托价格",
  10543. "type": "number"
  10544. },
  10545. "orderqty": {
  10546. "description": "委托数量",
  10547. "type": "integer"
  10548. },
  10549. "ordersrc": {
  10550. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10551. "type": "integer"
  10552. },
  10553. "orderstatus": {
  10554. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10555. "type": "integer"
  10556. },
  10557. "ordertime": {
  10558. "description": "委托时间",
  10559. "type": "string"
  10560. },
  10561. "preexerciseprice": {
  10562. "description": "预申报价格",
  10563. "type": "number"
  10564. },
  10565. "premium": {
  10566. "description": "权利金",
  10567. "type": "number"
  10568. },
  10569. "preorderid": {
  10570. "description": "关联预埋单号(止盈止损单时填写)",
  10571. "type": "integer"
  10572. },
  10573. "pricemode": {
  10574. "description": "取价方式 - 1:市价 2: 限价",
  10575. "type": "integer"
  10576. },
  10577. "quoteid": {
  10578. "description": "报价单ID",
  10579. "type": "integer"
  10580. },
  10581. "relatedid": {
  10582. "description": "关联单号(交割单)",
  10583. "type": "integer"
  10584. },
  10585. "retcode": {
  10586. "description": "错误代码",
  10587. "type": "integer"
  10588. },
  10589. "sessionid": {
  10590. "description": "会话ID",
  10591. "type": "integer"
  10592. },
  10593. "strorderid": {
  10594. "description": "委托单号",
  10595. "type": "string"
  10596. },
  10597. "tradedate": {
  10598. "description": "交易日(yyyyMMdd)",
  10599. "type": "string"
  10600. },
  10601. "tradeproperty": {
  10602. "description": "交易属性",
  10603. "type": "integer"
  10604. },
  10605. "tradeqty": {
  10606. "description": "成交数量",
  10607. "type": "integer"
  10608. },
  10609. "unfreezecharge": {
  10610. "description": "解冻手续费",
  10611. "type": "number"
  10612. },
  10613. "unfreezemargin": {
  10614. "description": "解冻保证金",
  10615. "type": "number"
  10616. },
  10617. "updatetime": {
  10618. "description": "更新时间",
  10619. "type": "string"
  10620. },
  10621. "uuid": {
  10622. "description": "发起端唯一id",
  10623. "type": "string"
  10624. },
  10625. "validtime": {
  10626. "description": "有效期限",
  10627. "type": "string"
  10628. },
  10629. "validtype": {
  10630. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10631. "type": "integer"
  10632. },
  10633. "volumetype": {
  10634. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10635. "type": "integer"
  10636. }
  10637. }
  10638. },
  10639. "cptrade.QueryMyCPTradeGoodsRsp": {
  10640. "type": "object",
  10641. "required": [
  10642. "goodscode",
  10643. "goodsid",
  10644. "goodsname",
  10645. "marketid",
  10646. "relatedgoodscode",
  10647. "relatedgoodsname"
  10648. ],
  10649. "properties": {
  10650. "accountid": {
  10651. "description": "卖方账户ID",
  10652. "type": "integer"
  10653. },
  10654. "agreeunit": {
  10655. "description": "合约单位",
  10656. "type": "number"
  10657. },
  10658. "applyid": {
  10659. "description": "关联申请ID",
  10660. "type": "integer"
  10661. },
  10662. "attachmenturl": {
  10663. "description": "附件地址",
  10664. "type": "string"
  10665. },
  10666. "createtime": {
  10667. "description": "创建时间",
  10668. "type": "string"
  10669. },
  10670. "currencyid": {
  10671. "description": "报价货币ID",
  10672. "type": "integer"
  10673. },
  10674. "decimalplace": {
  10675. "description": "报价小数位",
  10676. "type": "integer"
  10677. },
  10678. "endtime": {
  10679. "description": "预售结束时间",
  10680. "type": "string"
  10681. },
  10682. "floorprice": {
  10683. "description": "底价[大宗式竞拍]",
  10684. "type": "number"
  10685. },
  10686. "goodscode": {
  10687. "description": "商品代码(预售)",
  10688. "type": "string"
  10689. },
  10690. "goodsdetail": {
  10691. "description": "详情[大宗]",
  10692. "type": "string"
  10693. },
  10694. "goodsid": {
  10695. "description": "商品ID(自增ID SEQ_GOODS)",
  10696. "type": "integer"
  10697. },
  10698. "goodsname": {
  10699. "description": "商品名称(预售)",
  10700. "type": "string"
  10701. },
  10702. "goodunit": {
  10703. "description": "报价单位",
  10704. "type": "string"
  10705. },
  10706. "goodunitid": {
  10707. "description": "报价单位ID",
  10708. "type": "integer"
  10709. },
  10710. "marketid": {
  10711. "description": "所属市场ID",
  10712. "type": "integer"
  10713. },
  10714. "marketname": {
  10715. "description": "预售市场名称",
  10716. "type": "string"
  10717. },
  10718. "presaledamount": {
  10719. "description": "已预售总金额(预售结束时更新)",
  10720. "type": "number"
  10721. },
  10722. "presaledqty": {
  10723. "description": "已预售量(预售结束时更新)",
  10724. "type": "integer"
  10725. },
  10726. "presalemode": {
  10727. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10728. "type": "integer"
  10729. },
  10730. "presaleqty": {
  10731. "description": "预售数量",
  10732. "type": "integer"
  10733. },
  10734. "refprice": {
  10735. "description": "参考价格[一口价]",
  10736. "type": "number"
  10737. },
  10738. "relatedgoodscode": {
  10739. "description": "商品代码(订单)",
  10740. "type": "string"
  10741. },
  10742. "relatedgoodsid": {
  10743. "description": "关联交易合约ID",
  10744. "type": "integer"
  10745. },
  10746. "relatedgoodsname": {
  10747. "description": "商品名称(订单)",
  10748. "type": "string"
  10749. },
  10750. "relatedmarketid": {
  10751. "description": "关联交易合约市场ID",
  10752. "type": "integer"
  10753. },
  10754. "sellstatus": {
  10755. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10756. "type": "integer"
  10757. },
  10758. "startprice": {
  10759. "description": "起拍价[大宗式竞拍]",
  10760. "type": "number"
  10761. },
  10762. "starttime": {
  10763. "description": "预售开始时间",
  10764. "type": "string"
  10765. },
  10766. "tradedate": {
  10767. "description": "交易日(yyyyMMdd)",
  10768. "type": "string"
  10769. },
  10770. "tradeprice": {
  10771. "description": "成交价[大宗]",
  10772. "type": "number"
  10773. },
  10774. "userid": {
  10775. "description": "卖方用户ID",
  10776. "type": "integer"
  10777. }
  10778. }
  10779. },
  10780. "cptrade.QueryPresaleGoodsExRsp": {
  10781. "type": "object",
  10782. "required": [
  10783. "goodsid"
  10784. ],
  10785. "properties": {
  10786. "attachmenturl": {
  10787. "description": "附件地址",
  10788. "type": "string"
  10789. },
  10790. "createtime": {
  10791. "description": "创建时间",
  10792. "type": "string"
  10793. },
  10794. "endtime": {
  10795. "description": "预售结束时间",
  10796. "type": "string"
  10797. },
  10798. "floorprice": {
  10799. "description": "底价[大宗式竞拍]",
  10800. "type": "number"
  10801. },
  10802. "goodsdetail": {
  10803. "description": "详情[大宗]",
  10804. "type": "string"
  10805. },
  10806. "goodsid": {
  10807. "description": "商品ID(预售)",
  10808. "type": "integer"
  10809. },
  10810. "goodunit": {
  10811. "description": "报价单位",
  10812. "type": "string"
  10813. },
  10814. "marketid": {
  10815. "description": "预售市场ID - 根据预售模式选择市场",
  10816. "type": "integer"
  10817. },
  10818. "presaledamount": {
  10819. "description": "已预售总金额(预售结束时更新)",
  10820. "type": "number"
  10821. },
  10822. "presaledqty": {
  10823. "description": "已预售量(预售结束时更新)",
  10824. "type": "integer"
  10825. },
  10826. "presalemode": {
  10827. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  10828. "type": "integer"
  10829. },
  10830. "presaleqty": {
  10831. "description": "预售数量",
  10832. "type": "integer"
  10833. },
  10834. "refprice": {
  10835. "description": "参考价格[一口价]",
  10836. "type": "number"
  10837. },
  10838. "relatedgoodsid": {
  10839. "description": "关联交易合约ID",
  10840. "type": "integer"
  10841. },
  10842. "relatedmarketid": {
  10843. "description": "关联交易合约市场ID",
  10844. "type": "integer"
  10845. },
  10846. "sellstatus": {
  10847. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  10848. "type": "integer"
  10849. },
  10850. "startprice": {
  10851. "description": "起拍价[大宗式竞拍]",
  10852. "type": "number"
  10853. },
  10854. "starttime": {
  10855. "description": "预售开始时间",
  10856. "type": "string"
  10857. },
  10858. "tradedate": {
  10859. "description": "交易日(yyyyMMdd)",
  10860. "type": "string"
  10861. },
  10862. "tradeprice": {
  10863. "description": "成交价[大宗]",
  10864. "type": "number"
  10865. }
  10866. }
  10867. },
  10868. "delivery.QueryDeliveryRelationRsp": {
  10869. "type": "object",
  10870. "required": [
  10871. "begindate",
  10872. "enddate",
  10873. "goodsid",
  10874. "mindeliveryqty",
  10875. "xdeliveryratio"
  10876. ],
  10877. "properties": {
  10878. "begindate": {
  10879. "description": "起始日期(yyyyMMdd)",
  10880. "type": "string"
  10881. },
  10882. "buytemplateid": {
  10883. "description": "买履约计划模板ID",
  10884. "type": "integer"
  10885. },
  10886. "deliverygoodscode": {
  10887. "description": "品种代码",
  10888. "type": "string"
  10889. },
  10890. "deliverygoodsid": {
  10891. "description": "交割商品",
  10892. "type": "integer"
  10893. },
  10894. "deliverygoodsname": {
  10895. "description": "品种名称",
  10896. "type": "string"
  10897. },
  10898. "deliverymode": {
  10899. "description": "交割方式 - 1:点选式 2:申报式",
  10900. "type": "integer"
  10901. },
  10902. "deliverypricerule": {
  10903. "description": "交割价规则- 1:行情价 2:建仓价",
  10904. "type": "integer"
  10905. },
  10906. "deliverytype": {
  10907. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  10908. "type": "integer"
  10909. },
  10910. "enddate": {
  10911. "description": "结束日期(yyyyMMdd)",
  10912. "type": "string"
  10913. },
  10914. "goodscode": {
  10915. "description": "商品代码",
  10916. "type": "string"
  10917. },
  10918. "goodsid": {
  10919. "description": "交易合约ID",
  10920. "type": "integer"
  10921. },
  10922. "goodsname": {
  10923. "description": "商品名称",
  10924. "type": "string"
  10925. },
  10926. "marketid": {
  10927. "description": "市场ID",
  10928. "type": "integer"
  10929. },
  10930. "mindeliveryqty": {
  10931. "description": "最小交割系数(K)",
  10932. "type": "integer"
  10933. },
  10934. "p2deliveryprice": {
  10935. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  10936. "type": "number"
  10937. },
  10938. "p2deliveryratio": {
  10939. "description": "P2合约系数(p)",
  10940. "type": "integer"
  10941. },
  10942. "p2goodsid": {
  10943. "description": "P2合约ID",
  10944. "type": "integer"
  10945. },
  10946. "p2pricemode": {
  10947. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  10948. "type": "integer"
  10949. },
  10950. "pdeliveryprice": {
  10951. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  10952. "type": "number"
  10953. },
  10954. "pdeliveryratio": {
  10955. "description": "P合约系数(n)",
  10956. "type": "integer"
  10957. },
  10958. "pgoodsid": {
  10959. "description": "P合约ID",
  10960. "type": "integer"
  10961. },
  10962. "ppricemode": {
  10963. "description": "P合约价格方式 - 1:商品价 2:固定值",
  10964. "type": "integer"
  10965. },
  10966. "rratio": {
  10967. "description": "兑换系数(R)",
  10968. "type": "integer"
  10969. },
  10970. "rratio1": {
  10971. "description": "兑换系数(交易合约)(R1)",
  10972. "type": "integer"
  10973. },
  10974. "rratio2": {
  10975. "description": "兑换系数(仓单标准)(R2)",
  10976. "type": "integer"
  10977. },
  10978. "selltemplateid": {
  10979. "description": "卖履约计划模板ID",
  10980. "type": "integer"
  10981. },
  10982. "wrstandardid": {
  10983. "description": "仓单标准ID",
  10984. "type": "integer"
  10985. },
  10986. "xdeliveryratio": {
  10987. "description": "交易合约系数(m)",
  10988. "type": "integer"
  10989. }
  10990. }
  10991. },
  10992. "ermcp.ExposureDetailRsp": {
  10993. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  10994. },
  10995. "ermcp.ExposureHedgePosDetailRsp": {
  10996. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  10997. },
  10998. "ermcp.ExposureHedgePositionRsp": {
  10999. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11000. },
  11001. "ermcp.ExposureSpotDetailRsp": {
  11002. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11003. },
  11004. "ermcp.ExposureSpotRsp": {
  11005. "$ref": "#/definitions/models.AreaSpotModel"
  11006. },
  11007. "ermcp.HisExposureRsp": {
  11008. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11009. },
  11010. "ermcp.PendingAuditCntRsp": {
  11011. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11012. },
  11013. "ermcp.QryAvalidGPRsp": {
  11014. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11015. },
  11016. "ermcp.QryBusinessDjRsp": {
  11017. "type": "object",
  11018. "properties": {
  11019. "amount": {
  11020. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11021. "type": "number"
  11022. },
  11023. "applyid": {
  11024. "description": "申请人",
  11025. "type": "string"
  11026. },
  11027. "applyname": {
  11028. "description": "申请人名称",
  11029. "type": "string"
  11030. },
  11031. "applystatus": {
  11032. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11033. "type": "integer"
  11034. },
  11035. "applytime": {
  11036. "description": "申请时间",
  11037. "type": "string"
  11038. },
  11039. "attachurl": {
  11040. "description": "附件",
  11041. "type": "string"
  11042. },
  11043. "auditid": {
  11044. "description": "审核人ID",
  11045. "type": "string"
  11046. },
  11047. "auditname": {
  11048. "description": "审核人名称",
  11049. "type": "string"
  11050. },
  11051. "audittime": {
  11052. "description": "审核时间",
  11053. "type": "string"
  11054. },
  11055. "buyusername": {
  11056. "description": "采购方名称",
  11057. "type": "string"
  11058. },
  11059. "contractno": {
  11060. "description": "合同编号",
  11061. "type": "string"
  11062. },
  11063. "contractstatus": {
  11064. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11065. "type": "integer"
  11066. },
  11067. "contracttype": {
  11068. "description": "现货合同类型 - 1:采购 -1:销售",
  11069. "type": "integer"
  11070. },
  11071. "deliverygoodscode": {
  11072. "description": "现货品种代码",
  11073. "type": "string"
  11074. },
  11075. "deliverygoodsid": {
  11076. "description": "现货商品ID",
  11077. "type": "integer"
  11078. },
  11079. "deliverygoodsname": {
  11080. "description": "现货品种名称",
  11081. "type": "string"
  11082. },
  11083. "enumdicname": {
  11084. "description": "单位名称",
  11085. "type": "string"
  11086. },
  11087. "goodscode": {
  11088. "description": "点价合约",
  11089. "type": "string"
  11090. },
  11091. "goodsname": {
  11092. "description": "商品名称",
  11093. "type": "string"
  11094. },
  11095. "operateapplyid": {
  11096. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11097. "type": "string"
  11098. },
  11099. "operateapplytype": {
  11100. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11101. "type": "integer"
  11102. },
  11103. "pricedPrice": {
  11104. "description": "点价价格(非必填)",
  11105. "type": "number"
  11106. },
  11107. "pricedQty": {
  11108. "description": "点价数量(非必填)",
  11109. "type": "number"
  11110. },
  11111. "pricemove": {
  11112. "description": "升贴水",
  11113. "type": "number"
  11114. },
  11115. "pricetype": {
  11116. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11117. "type": "integer"
  11118. },
  11119. "relatedid": {
  11120. "description": "现货合同ID",
  11121. "type": "string"
  11122. },
  11123. "sellusername": {
  11124. "description": "销售方名字",
  11125. "type": "string"
  11126. },
  11127. "userid": {
  11128. "description": "用户ID",
  11129. "type": "integer"
  11130. },
  11131. "wrstandardcode": {
  11132. "description": "品类代码",
  11133. "type": "string"
  11134. },
  11135. "wrstandardid": {
  11136. "description": "品类id",
  11137. "type": "integer"
  11138. },
  11139. "wrstandardname": {
  11140. "description": "品类名称",
  11141. "type": "string"
  11142. }
  11143. }
  11144. },
  11145. "ermcp.QryBussinessFpRsp": {
  11146. "type": "object",
  11147. "properties": {
  11148. "applyid": {
  11149. "description": "申请人",
  11150. "type": "string"
  11151. },
  11152. "applyname": {
  11153. "description": "申请人名称",
  11154. "type": "string"
  11155. },
  11156. "applystatus": {
  11157. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11158. "type": "integer"
  11159. },
  11160. "applytime": {
  11161. "description": "申请时间",
  11162. "type": "string"
  11163. },
  11164. "attachurl": {
  11165. "description": "附件",
  11166. "type": "string"
  11167. },
  11168. "auditid": {
  11169. "description": "审核人ID",
  11170. "type": "string"
  11171. },
  11172. "auditname": {
  11173. "description": "审核人名称",
  11174. "type": "string"
  11175. },
  11176. "audittime": {
  11177. "description": "审核时间",
  11178. "type": "string"
  11179. },
  11180. "buyusername": {
  11181. "description": "采购方名称",
  11182. "type": "string"
  11183. },
  11184. "contractno": {
  11185. "description": "合同编号",
  11186. "type": "string"
  11187. },
  11188. "contractstatus": {
  11189. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11190. "type": "integer"
  11191. },
  11192. "contracttype": {
  11193. "description": "现货合同类型 - 1:采购 -1:销售",
  11194. "type": "integer"
  11195. },
  11196. "deliverygoodscode": {
  11197. "description": "现货品种代码",
  11198. "type": "string"
  11199. },
  11200. "deliverygoodsid": {
  11201. "description": "现货商品ID",
  11202. "type": "integer"
  11203. },
  11204. "deliverygoodsname": {
  11205. "description": "现货品种名称",
  11206. "type": "string"
  11207. },
  11208. "enumdicname": {
  11209. "description": "单位名称",
  11210. "type": "string"
  11211. },
  11212. "goodscode": {
  11213. "description": "点价合约",
  11214. "type": "string"
  11215. },
  11216. "goodsname": {
  11217. "description": "商品名称",
  11218. "type": "string"
  11219. },
  11220. "invoiceAmount": {
  11221. "description": "已开收票金额(销售为开票,采购为收票)",
  11222. "type": "number"
  11223. },
  11224. "operateapplyid": {
  11225. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11226. "type": "string"
  11227. },
  11228. "operateapplytype": {
  11229. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11230. "type": "integer"
  11231. },
  11232. "pricemove": {
  11233. "description": "升贴水",
  11234. "type": "number"
  11235. },
  11236. "pricetype": {
  11237. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11238. "type": "integer"
  11239. },
  11240. "relatedid": {
  11241. "description": "现货合同ID",
  11242. "type": "string"
  11243. },
  11244. "sellusername": {
  11245. "description": "销售方名字",
  11246. "type": "string"
  11247. },
  11248. "userid": {
  11249. "description": "用户ID",
  11250. "type": "integer"
  11251. },
  11252. "wrstandardcode": {
  11253. "description": "品类代码",
  11254. "type": "string"
  11255. },
  11256. "wrstandardid": {
  11257. "description": "品类id",
  11258. "type": "integer"
  11259. },
  11260. "wrstandardname": {
  11261. "description": "品类名称",
  11262. "type": "string"
  11263. }
  11264. }
  11265. },
  11266. "ermcp.QryBussinessJsExRsp": {
  11267. "type": "object",
  11268. "properties": {
  11269. "applyid": {
  11270. "description": "申请人",
  11271. "type": "string"
  11272. },
  11273. "applyname": {
  11274. "description": "申请人名称",
  11275. "type": "string"
  11276. },
  11277. "applystatus": {
  11278. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11279. "type": "integer"
  11280. },
  11281. "applytime": {
  11282. "description": "申请时间",
  11283. "type": "string"
  11284. },
  11285. "attachurl": {
  11286. "description": "附件",
  11287. "type": "string"
  11288. },
  11289. "auditid": {
  11290. "description": "审核人ID",
  11291. "type": "string"
  11292. },
  11293. "auditname": {
  11294. "description": "审核人名称",
  11295. "type": "string"
  11296. },
  11297. "audittime": {
  11298. "description": "审核时间",
  11299. "type": "string"
  11300. },
  11301. "buyusername": {
  11302. "description": "采购方名称",
  11303. "type": "string"
  11304. },
  11305. "contractno": {
  11306. "description": "合同编号",
  11307. "type": "string"
  11308. },
  11309. "contractstatus": {
  11310. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11311. "type": "integer"
  11312. },
  11313. "contracttype": {
  11314. "description": "现货合同类型 - 1:采购 -1:销售",
  11315. "type": "integer"
  11316. },
  11317. "deliverygoodscode": {
  11318. "description": "现货品种代码",
  11319. "type": "string"
  11320. },
  11321. "deliverygoodsid": {
  11322. "description": "现货商品ID",
  11323. "type": "integer"
  11324. },
  11325. "deliverygoodsname": {
  11326. "description": "现货品种名称",
  11327. "type": "string"
  11328. },
  11329. "enumdicname": {
  11330. "description": "单位名称",
  11331. "type": "string"
  11332. },
  11333. "goodscode": {
  11334. "description": "点价合约",
  11335. "type": "string"
  11336. },
  11337. "goodsname": {
  11338. "description": "商品名称",
  11339. "type": "string"
  11340. },
  11341. "operateapplyid": {
  11342. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11343. "type": "string"
  11344. },
  11345. "operateapplytype": {
  11346. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11347. "type": "integer"
  11348. },
  11349. "pricemove": {
  11350. "description": "升贴水",
  11351. "type": "number"
  11352. },
  11353. "pricetype": {
  11354. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11355. "type": "integer"
  11356. },
  11357. "reckontype": {
  11358. "description": "结算类型",
  11359. "type": "string"
  11360. },
  11361. "reckonvalue": {
  11362. "description": "值",
  11363. "type": "number"
  11364. },
  11365. "relatedid": {
  11366. "description": "现货合同ID",
  11367. "type": "string"
  11368. },
  11369. "sellusername": {
  11370. "description": "销售方名字",
  11371. "type": "string"
  11372. },
  11373. "userid": {
  11374. "description": "用户ID",
  11375. "type": "integer"
  11376. },
  11377. "wrstandardcode": {
  11378. "description": "品类代码",
  11379. "type": "string"
  11380. },
  11381. "wrstandardid": {
  11382. "description": "品类id",
  11383. "type": "integer"
  11384. },
  11385. "wrstandardname": {
  11386. "description": "品类名称",
  11387. "type": "string"
  11388. }
  11389. }
  11390. },
  11391. "ermcp.QryBussinessJsRsp": {
  11392. "type": "object",
  11393. "properties": {
  11394. "addmargin": {
  11395. "description": "追加保证金(非必填)",
  11396. "type": "number"
  11397. },
  11398. "applyid": {
  11399. "description": "申请人",
  11400. "type": "string"
  11401. },
  11402. "applyname": {
  11403. "description": "申请人名称",
  11404. "type": "string"
  11405. },
  11406. "applystatus": {
  11407. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11408. "type": "integer"
  11409. },
  11410. "applytime": {
  11411. "description": "申请时间",
  11412. "type": "string"
  11413. },
  11414. "attachurl": {
  11415. "description": "附件",
  11416. "type": "string"
  11417. },
  11418. "auditid": {
  11419. "description": "审核人ID",
  11420. "type": "string"
  11421. },
  11422. "auditname": {
  11423. "description": "审核人名称",
  11424. "type": "string"
  11425. },
  11426. "audittime": {
  11427. "description": "审核时间",
  11428. "type": "string"
  11429. },
  11430. "buyusername": {
  11431. "description": "采购方名称",
  11432. "type": "string"
  11433. },
  11434. "contractno": {
  11435. "description": "合同编号",
  11436. "type": "string"
  11437. },
  11438. "contractstatus": {
  11439. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11440. "type": "integer"
  11441. },
  11442. "contracttype": {
  11443. "description": "现货合同类型 - 1:采购 -1:销售",
  11444. "type": "integer"
  11445. },
  11446. "decmargin": {
  11447. "description": "减少保证金(非必填)",
  11448. "type": "number"
  11449. },
  11450. "deliverygoodscode": {
  11451. "description": "现货品种代码",
  11452. "type": "string"
  11453. },
  11454. "deliverygoodsid": {
  11455. "description": "现货商品ID",
  11456. "type": "integer"
  11457. },
  11458. "deliverygoodsname": {
  11459. "description": "现货品种名称",
  11460. "type": "string"
  11461. },
  11462. "enumdicname": {
  11463. "description": "单位名称",
  11464. "type": "string"
  11465. },
  11466. "goodscode": {
  11467. "description": "点价合约",
  11468. "type": "string"
  11469. },
  11470. "goodsname": {
  11471. "description": "商品名称",
  11472. "type": "string"
  11473. },
  11474. "operateapplyid": {
  11475. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11476. "type": "string"
  11477. },
  11478. "operateapplytype": {
  11479. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11480. "type": "integer"
  11481. },
  11482. "pricemove": {
  11483. "description": "升贴水",
  11484. "type": "number"
  11485. },
  11486. "pricetype": {
  11487. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11488. "type": "integer"
  11489. },
  11490. "reckonadjustamount": {
  11491. "description": "结算调整金额(非必填)",
  11492. "type": "number"
  11493. },
  11494. "reckonosamount": {
  11495. "description": "结算溢短金额(非必填)",
  11496. "type": "number"
  11497. },
  11498. "reckonotheramount": {
  11499. "description": "结算其他费用(非必填)",
  11500. "type": "number"
  11501. },
  11502. "reckonrealqty": {
  11503. "description": "结算实际数量(非必填)",
  11504. "type": "number"
  11505. },
  11506. "relatedid": {
  11507. "description": "现货合同ID",
  11508. "type": "string"
  11509. },
  11510. "sellusername": {
  11511. "description": "销售方名字",
  11512. "type": "string"
  11513. },
  11514. "userid": {
  11515. "description": "用户ID",
  11516. "type": "integer"
  11517. },
  11518. "wrstandardcode": {
  11519. "description": "品类代码",
  11520. "type": "string"
  11521. },
  11522. "wrstandardid": {
  11523. "description": "品类id",
  11524. "type": "integer"
  11525. },
  11526. "wrstandardname": {
  11527. "description": "品类名称",
  11528. "type": "string"
  11529. }
  11530. }
  11531. },
  11532. "ermcp.QryBussinessKxRsp": {
  11533. "type": "object",
  11534. "properties": {
  11535. "applyid": {
  11536. "description": "申请人",
  11537. "type": "string"
  11538. },
  11539. "applyname": {
  11540. "description": "申请人名称",
  11541. "type": "string"
  11542. },
  11543. "applystatus": {
  11544. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11545. "type": "integer"
  11546. },
  11547. "applytime": {
  11548. "description": "申请时间",
  11549. "type": "string"
  11550. },
  11551. "attachurl": {
  11552. "description": "附件",
  11553. "type": "string"
  11554. },
  11555. "auditid": {
  11556. "description": "审核人ID",
  11557. "type": "string"
  11558. },
  11559. "auditname": {
  11560. "description": "审核人名称",
  11561. "type": "string"
  11562. },
  11563. "audittime": {
  11564. "description": "审核时间",
  11565. "type": "string"
  11566. },
  11567. "buyusername": {
  11568. "description": "采购方名称",
  11569. "type": "string"
  11570. },
  11571. "contractno": {
  11572. "description": "合同编号",
  11573. "type": "string"
  11574. },
  11575. "contractstatus": {
  11576. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11577. "type": "integer"
  11578. },
  11579. "contracttype": {
  11580. "description": "现货合同类型 - 1:采购 -1:销售",
  11581. "type": "integer"
  11582. },
  11583. "deductamount": {
  11584. "description": "退款(非必填)",
  11585. "type": "number"
  11586. },
  11587. "deliverygoodscode": {
  11588. "description": "现货品种代码",
  11589. "type": "string"
  11590. },
  11591. "deliverygoodsid": {
  11592. "description": "现货商品ID",
  11593. "type": "integer"
  11594. },
  11595. "deliverygoodsname": {
  11596. "description": "现货品种名称",
  11597. "type": "string"
  11598. },
  11599. "enumdicname": {
  11600. "description": "单位名称",
  11601. "type": "string"
  11602. },
  11603. "goodscode": {
  11604. "description": "点价合约",
  11605. "type": "string"
  11606. },
  11607. "goodsname": {
  11608. "description": "商品名称",
  11609. "type": "string"
  11610. },
  11611. "kxtype": {
  11612. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  11613. "type": "integer"
  11614. },
  11615. "operateapplyid": {
  11616. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11617. "type": "string"
  11618. },
  11619. "operateapplytype": {
  11620. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11621. "type": "integer"
  11622. },
  11623. "payamount": {
  11624. "description": "收付款(非必填)",
  11625. "type": "number"
  11626. },
  11627. "pricemove": {
  11628. "description": "升贴水",
  11629. "type": "number"
  11630. },
  11631. "pricetype": {
  11632. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11633. "type": "integer"
  11634. },
  11635. "relatedid": {
  11636. "description": "现货合同ID",
  11637. "type": "string"
  11638. },
  11639. "sellusername": {
  11640. "description": "销售方名字",
  11641. "type": "string"
  11642. },
  11643. "userid": {
  11644. "description": "用户ID",
  11645. "type": "integer"
  11646. },
  11647. "wrstandardcode": {
  11648. "description": "品类代码",
  11649. "type": "string"
  11650. },
  11651. "wrstandardid": {
  11652. "description": "品类id",
  11653. "type": "integer"
  11654. },
  11655. "wrstandardname": {
  11656. "description": "品类名称",
  11657. "type": "string"
  11658. }
  11659. }
  11660. },
  11661. "ermcp.QryGGCovertCfgRsp": {
  11662. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  11663. },
  11664. "ermcp.QryMGChangeLogRsp": {
  11665. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  11666. },
  11667. "ermcp.QryMiddleGoodsDetailRsp": {
  11668. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  11669. },
  11670. "ermcp.QryMiddleGoodsRsp": {
  11671. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  11672. },
  11673. "ermcp.QryOPLogRsp": {
  11674. "$ref": "#/definitions/models.ErmcpOPLogModel"
  11675. },
  11676. "ermcp.QryUserInfoRsp": {
  11677. "$ref": "#/definitions/models.ErmcpUserModel"
  11678. },
  11679. "ermcp.QryWarehouseRsp": {
  11680. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  11681. },
  11682. "ermcp.QueryErmcpTradePositionRsp": {
  11683. "type": "object",
  11684. "properties": {
  11685. "agreeunit": {
  11686. "description": "合约单位",
  11687. "type": "number"
  11688. },
  11689. "buyorsell": {
  11690. "description": "方向 - 0:买 1:卖",
  11691. "type": "integer"
  11692. },
  11693. "curpositionqty": {
  11694. "description": "持仓(总仓数量, 期末头寸)",
  11695. "type": "integer"
  11696. },
  11697. "curtdposition": {
  11698. "description": "今仓数量(期末今日头寸)",
  11699. "type": "integer"
  11700. },
  11701. "curtdpositionenabled": {
  11702. "description": "今仓可用",
  11703. "type": "integer"
  11704. },
  11705. "decimalplace": {
  11706. "description": "报价小数位",
  11707. "type": "integer"
  11708. },
  11709. "enableqty": {
  11710. "description": "可用(总仓可用)",
  11711. "type": "integer"
  11712. },
  11713. "exexchangename": {
  11714. "description": "外部交易所名称",
  11715. "type": "string"
  11716. },
  11717. "goodscode": {
  11718. "description": "商品代码(内部)",
  11719. "type": "string"
  11720. },
  11721. "goodsid": {
  11722. "description": "商品ID(自增ID SEQ_GOODS)",
  11723. "type": "integer"
  11724. },
  11725. "goodsname": {
  11726. "description": "商品名称",
  11727. "type": "string"
  11728. },
  11729. "last": {
  11730. "description": "现价",
  11731. "type": "number"
  11732. },
  11733. "marketid": {
  11734. "description": "所属市场ID",
  11735. "type": "integer"
  11736. },
  11737. "openaverageprice": {
  11738. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11739. "type": "number"
  11740. },
  11741. "opencost": {
  11742. "description": "开仓成本",
  11743. "type": "number"
  11744. },
  11745. "openpl": {
  11746. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11747. "type": "number"
  11748. },
  11749. "outgoodscode": {
  11750. "description": "商品代码(外部)",
  11751. "type": "string"
  11752. },
  11753. "positionaverageprice": {
  11754. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11755. "type": "number"
  11756. },
  11757. "positioncost": {
  11758. "description": "持仓成本",
  11759. "type": "number"
  11760. },
  11761. "positionpl": {
  11762. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11763. "type": "number"
  11764. },
  11765. "positionplrate": {
  11766. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11767. "type": "number"
  11768. },
  11769. "usedmargin": {
  11770. "description": "占用保证金",
  11771. "type": "number"
  11772. }
  11773. }
  11774. },
  11775. "ermcp.RealtimeExposurePositionRsp": {
  11776. "$ref": "#/definitions/models.ErmcpExposurePostion"
  11777. },
  11778. "ermcp.RealtimeExposureRsp": {
  11779. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  11780. },
  11781. "erms2.QueryArbitrageStrategyRsp": {
  11782. "type": "object",
  11783. "required": [
  11784. "asapplyid"
  11785. ],
  11786. "properties": {
  11787. "applybasis": {
  11788. "description": "申请基差",
  11789. "type": "number"
  11790. },
  11791. "asapplyid": {
  11792. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11793. "type": "string"
  11794. },
  11795. "asname": {
  11796. "description": "策略名称",
  11797. "type": "string"
  11798. },
  11799. "asno": {
  11800. "description": "策略编号",
  11801. "type": "string"
  11802. },
  11803. "basischangepl": {
  11804. "description": "基差变动损益[结算更新]",
  11805. "type": "number"
  11806. },
  11807. "biztype": {
  11808. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11809. "type": "integer"
  11810. },
  11811. "closetradedate": {
  11812. "description": "完结交易日(yyyyMMdd)",
  11813. "type": "string"
  11814. },
  11815. "curbasis": {
  11816. "description": "当前基差[结算更新]",
  11817. "type": "number"
  11818. },
  11819. "deliverygoodsid": {
  11820. "description": "现货品种ID",
  11821. "type": "integer"
  11822. },
  11823. "futureavgprice": {
  11824. "description": "期货建仓均价",
  11825. "type": "number"
  11826. },
  11827. "futurecloseamount": {
  11828. "description": "期货平仓金额",
  11829. "type": "number"
  11830. },
  11831. "futurecloseqty": {
  11832. "description": "期货平仓数量",
  11833. "type": "number"
  11834. },
  11835. "futureopenamount": {
  11836. "description": "期货开仓金额",
  11837. "type": "number"
  11838. },
  11839. "futureopenqty": {
  11840. "description": "期货开仓数量",
  11841. "type": "number"
  11842. },
  11843. "futurepl": {
  11844. "description": "期货总盈亏[结算更新]",
  11845. "type": "number"
  11846. },
  11847. "futureqty": {
  11848. "description": "期货持仓数量",
  11849. "type": "number"
  11850. },
  11851. "futurequote": {
  11852. "description": "期货额度",
  11853. "type": "number"
  11854. },
  11855. "goodsgroupid": {
  11856. "description": "期货品种ID",
  11857. "type": "integer"
  11858. },
  11859. "marketid": {
  11860. "description": "市场ID",
  11861. "type": "integer"
  11862. },
  11863. "netexposure": {
  11864. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11865. "type": "number"
  11866. },
  11867. "netexposurepl": {
  11868. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11869. "type": "number"
  11870. },
  11871. "netexposurerate": {
  11872. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11873. "type": "number"
  11874. },
  11875. "openbasis": {
  11876. "description": "建仓基差",
  11877. "type": "number"
  11878. },
  11879. "pricedspotqty": {
  11880. "description": "已定价现货数量",
  11881. "type": "number"
  11882. },
  11883. "pricedspotqtynotax": {
  11884. "description": "已定价现货不含税数量",
  11885. "type": "number"
  11886. },
  11887. "remark": {
  11888. "description": "备注",
  11889. "type": "string"
  11890. },
  11891. "spotavgprice": {
  11892. "description": "现货均价",
  11893. "type": "number"
  11894. },
  11895. "spotbuyamount": {
  11896. "description": "现货采购金额",
  11897. "type": "number"
  11898. },
  11899. "spotbuyqty": {
  11900. "description": "现货采购数量",
  11901. "type": "number"
  11902. },
  11903. "spotpl": {
  11904. "description": "现货总盈亏[结算更新]",
  11905. "type": "number"
  11906. },
  11907. "spotquota": {
  11908. "description": "现货额度",
  11909. "type": "number"
  11910. },
  11911. "spotsellamount": {
  11912. "description": "现货销售金额",
  11913. "type": "number"
  11914. },
  11915. "spotsellqty": {
  11916. "description": "现货销售数量",
  11917. "type": "number"
  11918. },
  11919. "spotusedquota": {
  11920. "description": "现货占用资金",
  11921. "type": "number"
  11922. },
  11923. "strategystatus": {
  11924. "description": "策略状态 - 0:未结束 1:已结束",
  11925. "type": "integer"
  11926. },
  11927. "totalpl": {
  11928. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11929. "type": "number"
  11930. },
  11931. "tradedate": {
  11932. "description": "交易日(yyyyMMdd)",
  11933. "type": "string"
  11934. },
  11935. "updatetime": {
  11936. "description": "更新时间",
  11937. "type": "string"
  11938. },
  11939. "usedquota": {
  11940. "description": "已占用资金",
  11941. "type": "number"
  11942. },
  11943. "userid": {
  11944. "description": "所属机构",
  11945. "type": "integer"
  11946. }
  11947. }
  11948. },
  11949. "erms2.QueryInnerTradeDetailRsp": {
  11950. "type": "object",
  11951. "required": [
  11952. "asapplyid",
  11953. "buyorsell",
  11954. "goodscode",
  11955. "goodsgroupid",
  11956. "goodsgroupname",
  11957. "goodsname",
  11958. "tradeid"
  11959. ],
  11960. "properties": {
  11961. "accountid": {
  11962. "description": "账号ID",
  11963. "type": "integer"
  11964. },
  11965. "agreeunit": {
  11966. "description": "合约单位",
  11967. "type": "number"
  11968. },
  11969. "asapplyid": {
  11970. "description": "策略申请ID",
  11971. "type": "integer"
  11972. },
  11973. "asname": {
  11974. "description": "策略名称",
  11975. "type": "string"
  11976. },
  11977. "asno": {
  11978. "description": "策略编号",
  11979. "type": "string"
  11980. },
  11981. "buyorsell": {
  11982. "description": "方向 - 0:买 1:卖",
  11983. "type": "integer"
  11984. },
  11985. "channelbuildtype": {
  11986. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11987. "type": "integer"
  11988. },
  11989. "closetype": {
  11990. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11991. "type": "integer"
  11992. },
  11993. "decimalplace": {
  11994. "description": "报价小数位",
  11995. "type": "integer"
  11996. },
  11997. "detailtype": {
  11998. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11999. "type": "integer"
  12000. },
  12001. "exexchangecode": {
  12002. "description": "外部交易所代码",
  12003. "type": "string"
  12004. },
  12005. "exexchangename": {
  12006. "description": "外部交易所名称",
  12007. "type": "string"
  12008. },
  12009. "goodscode": {
  12010. "description": "商品代码(合约)",
  12011. "type": "string"
  12012. },
  12013. "goodsgroupid": {
  12014. "description": "商品组ID(品种ID)",
  12015. "type": "integer"
  12016. },
  12017. "goodsgroupname": {
  12018. "description": "商品组名称(品种)",
  12019. "type": "string"
  12020. },
  12021. "goodsid": {
  12022. "description": "商品ID",
  12023. "type": "integer"
  12024. },
  12025. "goodsname": {
  12026. "description": "商品名称(合约)",
  12027. "type": "string"
  12028. },
  12029. "goodunit": {
  12030. "description": "报价单位",
  12031. "type": "string"
  12032. },
  12033. "marketid": {
  12034. "description": "市场ID",
  12035. "type": "integer"
  12036. },
  12037. "orderid": {
  12038. "description": "委托单号",
  12039. "type": "string"
  12040. },
  12041. "outgoodscode": {
  12042. "description": "商品代码(外部)",
  12043. "type": "string"
  12044. },
  12045. "relatedouttradeid": {
  12046. "description": "关联外部成交单ID",
  12047. "type": "string"
  12048. },
  12049. "remark": {
  12050. "description": "备注",
  12051. "type": "string"
  12052. },
  12053. "spotcontractid": {
  12054. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12055. "type": "integer"
  12056. },
  12057. "spotcontractno": {
  12058. "description": "现货合同编号",
  12059. "type": "string"
  12060. },
  12061. "tradeid": {
  12062. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12063. "type": "string"
  12064. },
  12065. "tradeprice": {
  12066. "description": "成交价格",
  12067. "type": "number"
  12068. },
  12069. "tradeqty": {
  12070. "description": "成交数量",
  12071. "type": "integer"
  12072. },
  12073. "tradetime": {
  12074. "description": "成交时间",
  12075. "type": "string"
  12076. },
  12077. "updatetime": {
  12078. "description": "更新时间",
  12079. "type": "string"
  12080. }
  12081. }
  12082. },
  12083. "erms2.QuerySpotContractRsp": {
  12084. "type": "object",
  12085. "required": [
  12086. "spotcontractid"
  12087. ],
  12088. "properties": {
  12089. "accountid": {
  12090. "description": "资金账户ID",
  12091. "type": "integer"
  12092. },
  12093. "areauserid": {
  12094. "description": "所属机构",
  12095. "type": "integer"
  12096. },
  12097. "closedate": {
  12098. "description": "终止日期",
  12099. "type": "string"
  12100. },
  12101. "closeremark": {
  12102. "description": "结束备注",
  12103. "type": "string"
  12104. },
  12105. "closetradedate": {
  12106. "description": "完结交易日(yyyyMMdd)",
  12107. "type": "string"
  12108. },
  12109. "closetype": {
  12110. "description": "终止类型 - 1:违约 2:提前终止",
  12111. "type": "integer"
  12112. },
  12113. "contractamount": {
  12114. "description": "合同金额",
  12115. "type": "number"
  12116. },
  12117. "contractattachment": {
  12118. "description": "合同附件",
  12119. "type": "string"
  12120. },
  12121. "contractno": {
  12122. "description": "现货合同编号",
  12123. "type": "string"
  12124. },
  12125. "contractqty": {
  12126. "description": "合同数量(数值) (用于计算)",
  12127. "type": "number"
  12128. },
  12129. "contractqtychar": {
  12130. "description": "合同数量\\已订价数量 (用于显示)",
  12131. "type": "string"
  12132. },
  12133. "contractstatus": {
  12134. "description": "合同状态 - 0:未结束 1:已结束",
  12135. "type": "integer"
  12136. },
  12137. "contracttype": {
  12138. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  12139. "type": "integer"
  12140. },
  12141. "customeraccountid": {
  12142. "description": "客户资金账户ID",
  12143. "type": "integer"
  12144. },
  12145. "customeruserid": {
  12146. "description": "客户ID",
  12147. "type": "integer"
  12148. },
  12149. "deliverygoodsdesc": {
  12150. "description": "品种说明",
  12151. "type": "string"
  12152. },
  12153. "deliverygoodsid": {
  12154. "description": "现货品种ID",
  12155. "type": "integer"
  12156. },
  12157. "handlestatus": {
  12158. "description": "处理状态",
  12159. "type": "integer"
  12160. },
  12161. "invoiceatt": {
  12162. "description": "发票附件",
  12163. "type": "string"
  12164. },
  12165. "invoicedatetime": {
  12166. "description": "开收票更新时间",
  12167. "type": "string"
  12168. },
  12169. "invoiceopentime": {
  12170. "description": "开票时间",
  12171. "type": "string"
  12172. },
  12173. "invoiceremark": {
  12174. "description": "发票备注",
  12175. "type": "string"
  12176. },
  12177. "invoicestatus": {
  12178. "description": "开收票状态 - 0:未开票 1:已开票",
  12179. "type": "integer"
  12180. },
  12181. "lastdate": {
  12182. "description": "交货时间",
  12183. "type": "string"
  12184. },
  12185. "marketid": {
  12186. "description": "市场ID",
  12187. "type": "integer"
  12188. },
  12189. "paydatetime": {
  12190. "description": "收付款更新时间",
  12191. "type": "string"
  12192. },
  12193. "payremark": {
  12194. "description": "收付款备注",
  12195. "type": "string"
  12196. },
  12197. "paystatus": {
  12198. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12199. "type": "integer"
  12200. },
  12201. "positionqty": {
  12202. "description": "头寸数量 - 合同数量去小数部分",
  12203. "type": "integer"
  12204. },
  12205. "producttype": {
  12206. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12207. "type": "integer"
  12208. },
  12209. "relatedqty": {
  12210. "description": "已关联数量",
  12211. "type": "number"
  12212. },
  12213. "relatedstatus": {
  12214. "description": "关联完结状态 - 0:未结束 1:已结束",
  12215. "type": "integer"
  12216. },
  12217. "remark": {
  12218. "description": "备注",
  12219. "type": "string"
  12220. },
  12221. "signdate": {
  12222. "description": "签订日期",
  12223. "type": "string"
  12224. },
  12225. "spotcontractid": {
  12226. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12227. "type": "string"
  12228. },
  12229. "spotdatetime": {
  12230. "description": "收发货更新时间",
  12231. "type": "string"
  12232. },
  12233. "spotprice": {
  12234. "description": "价格",
  12235. "type": "number"
  12236. },
  12237. "spotremark": {
  12238. "description": "收发货备注",
  12239. "type": "string"
  12240. },
  12241. "spotstatus": {
  12242. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12243. "type": "integer"
  12244. },
  12245. "tradedate": {
  12246. "description": "交易日(yyyyMMdd)",
  12247. "type": "string"
  12248. },
  12249. "userid": {
  12250. "description": "业务员用户ID",
  12251. "type": "integer"
  12252. },
  12253. "warehouseid": {
  12254. "description": "仓库ID",
  12255. "type": "integer"
  12256. },
  12257. "wrfactortypeid": {
  12258. "description": "仓单要素类型ID",
  12259. "type": "integer"
  12260. },
  12261. "wrstandardid": {
  12262. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12263. "type": "integer"
  12264. }
  12265. }
  12266. },
  12267. "erms3.AddErms2ASApplyReq": {
  12268. "type": "object",
  12269. "required": [
  12270. "asapplyid"
  12271. ],
  12272. "properties": {
  12273. "applybasis": {
  12274. "description": "申请基差",
  12275. "type": "number"
  12276. },
  12277. "applystatus": {
  12278. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12279. "type": "integer"
  12280. },
  12281. "asapplyid": {
  12282. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12283. "type": "integer"
  12284. },
  12285. "asname": {
  12286. "description": "策略名称",
  12287. "type": "string"
  12288. },
  12289. "asno": {
  12290. "description": "策略编号",
  12291. "type": "string"
  12292. },
  12293. "auditid": {
  12294. "description": "审核人",
  12295. "type": "integer"
  12296. },
  12297. "auditremark": {
  12298. "description": "审核备注",
  12299. "type": "string"
  12300. },
  12301. "audittime": {
  12302. "description": "审核时间",
  12303. "type": "string"
  12304. },
  12305. "biztype": {
  12306. "description": "业务类型 - 1:正向套利 2:反向套利",
  12307. "type": "integer"
  12308. },
  12309. "createtime": {
  12310. "description": "创建时间",
  12311. "type": "string"
  12312. },
  12313. "creatorid": {
  12314. "description": "创建人",
  12315. "type": "integer"
  12316. },
  12317. "deliverygoodsid": {
  12318. "description": "现货品种ID",
  12319. "type": "integer"
  12320. },
  12321. "futurequote": {
  12322. "description": "期货额度",
  12323. "type": "number"
  12324. },
  12325. "goodsgroupid": {
  12326. "description": "期货品种ID",
  12327. "type": "integer"
  12328. },
  12329. "marketid": {
  12330. "description": "市场ID",
  12331. "type": "integer"
  12332. },
  12333. "remark": {
  12334. "description": "备注",
  12335. "type": "string"
  12336. },
  12337. "spotquota": {
  12338. "description": "现货额度",
  12339. "type": "number"
  12340. },
  12341. "tradedate": {
  12342. "description": "交易日(yyyyMMdd)",
  12343. "type": "string"
  12344. },
  12345. "userid": {
  12346. "description": "所属机构",
  12347. "type": "integer"
  12348. }
  12349. }
  12350. },
  12351. "erms3.AddErms2SpotTradeApplyReq": {
  12352. "type": "object",
  12353. "required": [
  12354. "spottradeid"
  12355. ],
  12356. "properties": {
  12357. "applyjsondetail": {
  12358. "description": "申请明细(JSON)",
  12359. "type": "string"
  12360. },
  12361. "applystatus": {
  12362. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12363. "type": "integer"
  12364. },
  12365. "areauserid": {
  12366. "description": "所属机构",
  12367. "type": "integer"
  12368. },
  12369. "auditid": {
  12370. "description": "审核人",
  12371. "type": "integer"
  12372. },
  12373. "auditremark": {
  12374. "description": "审核备注",
  12375. "type": "string"
  12376. },
  12377. "audittime": {
  12378. "description": "审核时间",
  12379. "type": "string"
  12380. },
  12381. "createtime": {
  12382. "description": "创建时间",
  12383. "type": "string"
  12384. },
  12385. "creatorid": {
  12386. "description": "创建人",
  12387. "type": "integer"
  12388. },
  12389. "deliverygoodsid": {
  12390. "description": "现货品种ID",
  12391. "type": "integer"
  12392. },
  12393. "futureaccountid": {
  12394. "description": "期货资金账户",
  12395. "type": "integer"
  12396. },
  12397. "goodsgroupid": {
  12398. "description": "期货品种",
  12399. "type": "integer"
  12400. },
  12401. "marketid": {
  12402. "description": "市场ID",
  12403. "type": "integer"
  12404. },
  12405. "remark": {
  12406. "description": "备注",
  12407. "type": "string"
  12408. },
  12409. "spotaccountid": {
  12410. "description": "现货资金账户",
  12411. "type": "integer"
  12412. },
  12413. "spottradeid": {
  12414. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12415. "type": "integer"
  12416. },
  12417. "spottradename": {
  12418. "description": "业务名称",
  12419. "type": "string"
  12420. },
  12421. "spottradeno": {
  12422. "description": "业务编号",
  12423. "type": "string"
  12424. },
  12425. "tradedate": {
  12426. "description": "交易日(yyyyMMdd)",
  12427. "type": "string"
  12428. },
  12429. "wrstandardid": {
  12430. "description": "仓单标准ID",
  12431. "type": "integer"
  12432. }
  12433. }
  12434. },
  12435. "erms3.AddSpotContractApplyReq": {
  12436. "type": "object",
  12437. "required": [
  12438. "accountid",
  12439. "areauserid",
  12440. "contractno",
  12441. "contracttype",
  12442. "customeraccountid",
  12443. "customeruserid",
  12444. "details",
  12445. "orimargin",
  12446. "signdate"
  12447. ],
  12448. "properties": {
  12449. "accountid": {
  12450. "description": "资金账户ID",
  12451. "type": "integer"
  12452. },
  12453. "areauserid": {
  12454. "description": "所属机构",
  12455. "type": "integer"
  12456. },
  12457. "contractattachment": {
  12458. "description": "合同附件",
  12459. "type": "string"
  12460. },
  12461. "contractno": {
  12462. "description": "现货合同编号",
  12463. "type": "string"
  12464. },
  12465. "contracttype": {
  12466. "description": "现货合同类型 - 1:采购 -1:销售",
  12467. "type": "integer"
  12468. },
  12469. "creatorid": {
  12470. "description": "申请人",
  12471. "type": "integer"
  12472. },
  12473. "customeraccountid": {
  12474. "description": "客户资金账户ID",
  12475. "type": "integer"
  12476. },
  12477. "customeruserid": {
  12478. "description": "客户ID",
  12479. "type": "integer"
  12480. },
  12481. "details": {
  12482. "description": "明细",
  12483. "type": "array",
  12484. "items": {
  12485. "$ref": "#/definitions/erms3.SoptContractDetail"
  12486. }
  12487. },
  12488. "orimargin": {
  12489. "description": "初始保证金",
  12490. "type": "number"
  12491. },
  12492. "remark": {
  12493. "description": "备注",
  12494. "type": "string"
  12495. },
  12496. "signdate": {
  12497. "description": "签订日期",
  12498. "type": "string"
  12499. }
  12500. }
  12501. },
  12502. "erms3.AddSpotContractApplyRsp": {
  12503. "type": "object",
  12504. "required": [
  12505. "contractno"
  12506. ],
  12507. "properties": {
  12508. "contractno": {
  12509. "description": "现货合同编号",
  12510. "type": "string"
  12511. },
  12512. "spotcontractid": {
  12513. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12514. "type": "integer"
  12515. }
  12516. }
  12517. },
  12518. "erms3.AddUserInfoApplyReq": {
  12519. "type": "object",
  12520. "required": [
  12521. "userid"
  12522. ],
  12523. "properties": {
  12524. "accountid": {
  12525. "description": "交易系统帐号Id (加密存储)",
  12526. "type": "integer"
  12527. },
  12528. "areacode": {
  12529. "description": "机构代码",
  12530. "type": "string"
  12531. },
  12532. "areaid": {
  12533. "description": "机构Id",
  12534. "type": "integer"
  12535. },
  12536. "attachment1": {
  12537. "description": "附件1",
  12538. "type": "string"
  12539. },
  12540. "attachment2": {
  12541. "description": "附件2",
  12542. "type": "string"
  12543. },
  12544. "attachment3": {
  12545. "description": "附件3",
  12546. "type": "string"
  12547. },
  12548. "attachment4": {
  12549. "description": "附件4",
  12550. "type": "string"
  12551. },
  12552. "attachment5": {
  12553. "description": "附件5",
  12554. "type": "string"
  12555. },
  12556. "auditedby": {
  12557. "description": "审核人",
  12558. "type": "string"
  12559. },
  12560. "auditime": {
  12561. "description": "审核时间",
  12562. "type": "string"
  12563. },
  12564. "auditsrc": {
  12565. "description": "审核来源 - 1:管理端 2:终端",
  12566. "type": "integer"
  12567. },
  12568. "bankaccount": {
  12569. "description": "银行帐号 (加密存储)",
  12570. "type": "string"
  12571. },
  12572. "bankaccountname": {
  12573. "description": "收款人名称",
  12574. "type": "string"
  12575. },
  12576. "bankcardbackphotourl": {
  12577. "description": "银行卡背面照地址",
  12578. "type": "string"
  12579. },
  12580. "bankcardfrontphotourl": {
  12581. "description": "银行卡正面照地址",
  12582. "type": "string"
  12583. },
  12584. "bankid": {
  12585. "description": "银行编码",
  12586. "type": "string"
  12587. },
  12588. "bankname": {
  12589. "description": "银行名称",
  12590. "type": "string"
  12591. },
  12592. "bankpictureurl": {
  12593. "description": "银行卡正面地址",
  12594. "type": "string"
  12595. },
  12596. "biznature": {
  12597. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12598. "type": "integer"
  12599. },
  12600. "bizscope": {
  12601. "description": "企业经营范围(企业)",
  12602. "type": "string"
  12603. },
  12604. "biztype": {
  12605. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12606. "type": "integer"
  12607. },
  12608. "brokerid": {
  12609. "description": "经纪人ID(加密存储)",
  12610. "type": "string"
  12611. },
  12612. "cardaddress": {
  12613. "description": "证件地址 (加密存储)",
  12614. "type": "string"
  12615. },
  12616. "cardbackphotourl": {
  12617. "description": "背面证件照地址",
  12618. "type": "string"
  12619. },
  12620. "cardfrontphotourl": {
  12621. "description": "正面证件照地址",
  12622. "type": "string"
  12623. },
  12624. "cardnum": {
  12625. "description": "证件号码 (加密存储)",
  12626. "type": "string"
  12627. },
  12628. "cardtype": {
  12629. "description": "证件类型",
  12630. "type": "integer"
  12631. },
  12632. "cityid": {
  12633. "description": "市",
  12634. "type": "integer"
  12635. },
  12636. "company": {
  12637. "description": "公司(个人)",
  12638. "type": "string"
  12639. },
  12640. "contactcardbackphotourl": {
  12641. "description": "联系人证件背面图片地址",
  12642. "type": "string"
  12643. },
  12644. "contactcardfrontphotourl": {
  12645. "description": "联系人证件正面图片地址",
  12646. "type": "string"
  12647. },
  12648. "contactname": {
  12649. "description": "联系人",
  12650. "type": "string"
  12651. },
  12652. "countryid": {
  12653. "description": "国家",
  12654. "type": "integer"
  12655. },
  12656. "createtime": {
  12657. "description": "开户申请时间",
  12658. "type": "string"
  12659. },
  12660. "cusbankid": {
  12661. "description": "签约类型",
  12662. "type": "string"
  12663. },
  12664. "cusbankname": {
  12665. "description": "签约类型名称",
  12666. "type": "string"
  12667. },
  12668. "customername": {
  12669. "description": "客户名称(企业名称)",
  12670. "type": "string"
  12671. },
  12672. "districtid": {
  12673. "description": "地区",
  12674. "type": "integer"
  12675. },
  12676. "email": {
  12677. "description": "Email地址(加密存储)",
  12678. "type": "string"
  12679. },
  12680. "halfbodyphotourl": {
  12681. "description": "半身照地址",
  12682. "type": "string"
  12683. },
  12684. "headurl": {
  12685. "description": "头像地址",
  12686. "type": "string"
  12687. },
  12688. "ipaddress": {
  12689. "description": "IP地址",
  12690. "type": "string"
  12691. },
  12692. "isvalidate": {
  12693. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12694. "type": "string"
  12695. },
  12696. "legalcardbackphotourl": {
  12697. "description": "法人身份证背面照地址",
  12698. "type": "string"
  12699. },
  12700. "legalcardfrontphotourl": {
  12701. "description": "法人身份证正面照地址",
  12702. "type": "string"
  12703. },
  12704. "legalpersonname": {
  12705. "description": "法人姓名(企业)",
  12706. "type": "string"
  12707. },
  12708. "logincode": {
  12709. "description": "登录帐号 (加密存储)",
  12710. "type": "string"
  12711. },
  12712. "memberareaid": {
  12713. "description": "所属会员ID",
  12714. "type": "integer"
  12715. },
  12716. "mobile2": {
  12717. "description": "手机号码[明文-尚志]",
  12718. "type": "string"
  12719. },
  12720. "mobilephone": {
  12721. "description": "手机号码 (加密存储)",
  12722. "type": "string"
  12723. },
  12724. "modifiedby": {
  12725. "description": "修改人帐号",
  12726. "type": "integer"
  12727. },
  12728. "modifiedtime": {
  12729. "description": "修改时间",
  12730. "type": "string"
  12731. },
  12732. "nickname": {
  12733. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12734. "type": "string"
  12735. },
  12736. "openmode": {
  12737. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12738. "type": "integer"
  12739. },
  12740. "otherurl": {
  12741. "description": "其它图片地址[使用分号分隔]",
  12742. "type": "string"
  12743. },
  12744. "postalcode": {
  12745. "description": "邮政编码",
  12746. "type": "string"
  12747. },
  12748. "provinceid": {
  12749. "description": "省",
  12750. "type": "integer"
  12751. },
  12752. "proxystatementurl": {
  12753. "description": "授权委托书",
  12754. "type": "string"
  12755. },
  12756. "qq": {
  12757. "description": "QQ(加密存储",
  12758. "type": "string"
  12759. },
  12760. "referral": {
  12761. "description": "推荐人编码",
  12762. "type": "string"
  12763. },
  12764. "remark": {
  12765. "description": "备注",
  12766. "type": "string"
  12767. },
  12768. "removebeforestatus": {
  12769. "description": "REMOVEBEFORESTATUS",
  12770. "type": "integer"
  12771. },
  12772. "sex": {
  12773. "description": "性别 - 0:女 1:男",
  12774. "type": "integer"
  12775. },
  12776. "signedstatus": {
  12777. "description": "账户一号签签约状态",
  12778. "type": "integer"
  12779. },
  12780. "signpdfurl": {
  12781. "description": "签约pdf文件",
  12782. "type": "string"
  12783. },
  12784. "subbranch": {
  12785. "description": "开户支行",
  12786. "type": "string"
  12787. },
  12788. "taxpayernum": {
  12789. "description": "纳税人识别号",
  12790. "type": "string"
  12791. },
  12792. "telphone": {
  12793. "description": "联系电话(加密存储)",
  12794. "type": "string"
  12795. },
  12796. "userid": {
  12797. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12798. "type": "integer"
  12799. },
  12800. "userinfotype": {
  12801. "description": "用户信息类型 - 1:个人 2:企业",
  12802. "type": "integer"
  12803. },
  12804. "username": {
  12805. "description": "用户姓名",
  12806. "type": "string"
  12807. },
  12808. "userstate": {
  12809. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12810. "type": "integer"
  12811. },
  12812. "usertype": {
  12813. "description": "用户类型 - 1:投资者 2:机构",
  12814. "type": "integer"
  12815. },
  12816. "videourl": {
  12817. "description": "视频地址",
  12818. "type": "string"
  12819. },
  12820. "wechat": {
  12821. "description": "微信号 (加密存储)",
  12822. "type": "string"
  12823. }
  12824. }
  12825. },
  12826. "erms3.CustomerInfo": {
  12827. "type": "object",
  12828. "required": [
  12829. "userid"
  12830. ],
  12831. "properties": {
  12832. "accountids": {
  12833. "description": "资金账户ID列表",
  12834. "type": "array",
  12835. "items": {
  12836. "type": "integer"
  12837. }
  12838. },
  12839. "customername": {
  12840. "description": "名称(企业名称)",
  12841. "type": "string"
  12842. },
  12843. "mobile": {
  12844. "description": "手机号码",
  12845. "type": "string"
  12846. },
  12847. "userid": {
  12848. "description": "用户ID",
  12849. "type": "integer"
  12850. }
  12851. }
  12852. },
  12853. "erms3.ModifyUserInfoApplyReq": {
  12854. "type": "object",
  12855. "required": [
  12856. "userid"
  12857. ],
  12858. "properties": {
  12859. "accountid": {
  12860. "description": "交易系统帐号Id (加密存储)",
  12861. "type": "integer"
  12862. },
  12863. "areacode": {
  12864. "description": "机构代码",
  12865. "type": "string"
  12866. },
  12867. "areaid": {
  12868. "description": "机构Id",
  12869. "type": "integer"
  12870. },
  12871. "attachment1": {
  12872. "description": "附件1",
  12873. "type": "string"
  12874. },
  12875. "attachment2": {
  12876. "description": "附件2",
  12877. "type": "string"
  12878. },
  12879. "attachment3": {
  12880. "description": "附件3",
  12881. "type": "string"
  12882. },
  12883. "attachment4": {
  12884. "description": "附件4",
  12885. "type": "string"
  12886. },
  12887. "attachment5": {
  12888. "description": "附件5",
  12889. "type": "string"
  12890. },
  12891. "auditedby": {
  12892. "description": "审核人",
  12893. "type": "string"
  12894. },
  12895. "auditime": {
  12896. "description": "审核时间",
  12897. "type": "string"
  12898. },
  12899. "auditsrc": {
  12900. "description": "审核来源 - 1:管理端 2:终端",
  12901. "type": "integer"
  12902. },
  12903. "bankaccount": {
  12904. "description": "银行帐号 (加密存储)",
  12905. "type": "string"
  12906. },
  12907. "bankaccountname": {
  12908. "description": "收款人名称",
  12909. "type": "string"
  12910. },
  12911. "bankcardbackphotourl": {
  12912. "description": "银行卡背面照地址",
  12913. "type": "string"
  12914. },
  12915. "bankcardfrontphotourl": {
  12916. "description": "银行卡正面照地址",
  12917. "type": "string"
  12918. },
  12919. "bankid": {
  12920. "description": "银行编码",
  12921. "type": "string"
  12922. },
  12923. "bankname": {
  12924. "description": "银行名称",
  12925. "type": "string"
  12926. },
  12927. "bankpictureurl": {
  12928. "description": "银行卡正面地址",
  12929. "type": "string"
  12930. },
  12931. "biznature": {
  12932. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12933. "type": "integer"
  12934. },
  12935. "bizscope": {
  12936. "description": "企业经营范围(企业)",
  12937. "type": "string"
  12938. },
  12939. "biztype": {
  12940. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12941. "type": "integer"
  12942. },
  12943. "brokerid": {
  12944. "description": "经纪人ID(加密存储)",
  12945. "type": "string"
  12946. },
  12947. "cardaddress": {
  12948. "description": "证件地址 (加密存储)",
  12949. "type": "string"
  12950. },
  12951. "cardbackphotourl": {
  12952. "description": "背面证件照地址",
  12953. "type": "string"
  12954. },
  12955. "cardfrontphotourl": {
  12956. "description": "正面证件照地址",
  12957. "type": "string"
  12958. },
  12959. "cardnum": {
  12960. "description": "证件号码 (加密存储)",
  12961. "type": "string"
  12962. },
  12963. "cardtype": {
  12964. "description": "证件类型",
  12965. "type": "integer"
  12966. },
  12967. "cityid": {
  12968. "description": "市",
  12969. "type": "integer"
  12970. },
  12971. "company": {
  12972. "description": "公司(个人)",
  12973. "type": "string"
  12974. },
  12975. "contactcardbackphotourl": {
  12976. "description": "联系人证件背面图片地址",
  12977. "type": "string"
  12978. },
  12979. "contactcardfrontphotourl": {
  12980. "description": "联系人证件正面图片地址",
  12981. "type": "string"
  12982. },
  12983. "contactname": {
  12984. "description": "联系人",
  12985. "type": "string"
  12986. },
  12987. "countryid": {
  12988. "description": "国家",
  12989. "type": "integer"
  12990. },
  12991. "createtime": {
  12992. "description": "开户申请时间",
  12993. "type": "string"
  12994. },
  12995. "cusbankid": {
  12996. "description": "签约类型",
  12997. "type": "string"
  12998. },
  12999. "cusbankname": {
  13000. "description": "签约类型名称",
  13001. "type": "string"
  13002. },
  13003. "customername": {
  13004. "description": "客户名称(企业名称)",
  13005. "type": "string"
  13006. },
  13007. "districtid": {
  13008. "description": "地区",
  13009. "type": "integer"
  13010. },
  13011. "email": {
  13012. "description": "Email地址(加密存储)",
  13013. "type": "string"
  13014. },
  13015. "halfbodyphotourl": {
  13016. "description": "半身照地址",
  13017. "type": "string"
  13018. },
  13019. "headurl": {
  13020. "description": "头像地址",
  13021. "type": "string"
  13022. },
  13023. "ipaddress": {
  13024. "description": "IP地址",
  13025. "type": "string"
  13026. },
  13027. "isvalidate": {
  13028. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13029. "type": "string"
  13030. },
  13031. "legalcardbackphotourl": {
  13032. "description": "法人身份证背面照地址",
  13033. "type": "string"
  13034. },
  13035. "legalcardfrontphotourl": {
  13036. "description": "法人身份证正面照地址",
  13037. "type": "string"
  13038. },
  13039. "legalpersonname": {
  13040. "description": "法人姓名(企业)",
  13041. "type": "string"
  13042. },
  13043. "logincode": {
  13044. "description": "登录帐号 (加密存储)",
  13045. "type": "string"
  13046. },
  13047. "memberareaid": {
  13048. "description": "所属会员ID",
  13049. "type": "integer"
  13050. },
  13051. "mobile2": {
  13052. "description": "手机号码[明文-尚志]",
  13053. "type": "string"
  13054. },
  13055. "mobilephone": {
  13056. "description": "手机号码 (加密存储)",
  13057. "type": "string"
  13058. },
  13059. "modifiedby": {
  13060. "description": "修改人帐号",
  13061. "type": "integer"
  13062. },
  13063. "modifiedtime": {
  13064. "description": "修改时间",
  13065. "type": "string"
  13066. },
  13067. "nickname": {
  13068. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13069. "type": "string"
  13070. },
  13071. "openmode": {
  13072. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13073. "type": "integer"
  13074. },
  13075. "otherurl": {
  13076. "description": "其它图片地址[使用分号分隔]",
  13077. "type": "string"
  13078. },
  13079. "postalcode": {
  13080. "description": "邮政编码",
  13081. "type": "string"
  13082. },
  13083. "provinceid": {
  13084. "description": "省",
  13085. "type": "integer"
  13086. },
  13087. "proxystatementurl": {
  13088. "description": "授权委托书",
  13089. "type": "string"
  13090. },
  13091. "qq": {
  13092. "description": "QQ(加密存储",
  13093. "type": "string"
  13094. },
  13095. "referral": {
  13096. "description": "推荐人编码",
  13097. "type": "string"
  13098. },
  13099. "remark": {
  13100. "description": "备注",
  13101. "type": "string"
  13102. },
  13103. "removebeforestatus": {
  13104. "description": "REMOVEBEFORESTATUS",
  13105. "type": "integer"
  13106. },
  13107. "sex": {
  13108. "description": "性别 - 0:女 1:男",
  13109. "type": "integer"
  13110. },
  13111. "signedstatus": {
  13112. "description": "账户一号签签约状态",
  13113. "type": "integer"
  13114. },
  13115. "signpdfurl": {
  13116. "description": "签约pdf文件",
  13117. "type": "string"
  13118. },
  13119. "subbranch": {
  13120. "description": "开户支行",
  13121. "type": "string"
  13122. },
  13123. "taxpayernum": {
  13124. "description": "纳税人识别号",
  13125. "type": "string"
  13126. },
  13127. "telphone": {
  13128. "description": "联系电话(加密存储)",
  13129. "type": "string"
  13130. },
  13131. "userid": {
  13132. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13133. "type": "integer"
  13134. },
  13135. "userinfotype": {
  13136. "description": "用户信息类型 - 1:个人 2:企业",
  13137. "type": "integer"
  13138. },
  13139. "username": {
  13140. "description": "用户姓名",
  13141. "type": "string"
  13142. },
  13143. "userstate": {
  13144. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13145. "type": "integer"
  13146. },
  13147. "usertype": {
  13148. "description": "用户类型 - 1:投资者 2:机构",
  13149. "type": "integer"
  13150. },
  13151. "videourl": {
  13152. "description": "视频地址",
  13153. "type": "string"
  13154. },
  13155. "wechat": {
  13156. "description": "微信号 (加密存储)",
  13157. "type": "string"
  13158. }
  13159. }
  13160. },
  13161. "erms3.QryAuditContractRsp": {
  13162. "type": "object",
  13163. "required": [
  13164. "matchcustomername",
  13165. "spotcontractid"
  13166. ],
  13167. "properties": {
  13168. "accountid": {
  13169. "description": "交易员ID",
  13170. "type": "string"
  13171. },
  13172. "applystatus": {
  13173. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13174. "type": "integer"
  13175. },
  13176. "curdeliveryqty": {
  13177. "description": "未交收量",
  13178. "type": "integer"
  13179. },
  13180. "customername": {
  13181. "description": "采购方ID",
  13182. "type": "string"
  13183. },
  13184. "deliverygoodsid": {
  13185. "description": "品种ID",
  13186. "type": "string"
  13187. },
  13188. "deliveryqty": {
  13189. "description": "交收量",
  13190. "type": "integer"
  13191. },
  13192. "enumdicname": {
  13193. "description": "单位名称",
  13194. "type": "string"
  13195. },
  13196. "matchaccountid": {
  13197. "description": "业务员ID",
  13198. "type": "string"
  13199. },
  13200. "matchcustomername": {
  13201. "description": "销售方ID",
  13202. "type": "string"
  13203. },
  13204. "pricedqty": {
  13205. "description": "定价量",
  13206. "type": "number"
  13207. },
  13208. "signdate": {
  13209. "description": "签订日期",
  13210. "type": "string"
  13211. },
  13212. "spotcontractid": {
  13213. "description": "合同ID",
  13214. "type": "string"
  13215. },
  13216. "totaldqty": {
  13217. "description": "合同量",
  13218. "type": "number"
  13219. },
  13220. "unpricedqty": {
  13221. "description": "未定价量",
  13222. "type": "number"
  13223. },
  13224. "wrstandardname": {
  13225. "description": "商品名称",
  13226. "type": "string"
  13227. }
  13228. }
  13229. },
  13230. "erms3.QryPendingBizRsp": {
  13231. "$ref": "#/definitions/models.PendingAuditBizModel"
  13232. },
  13233. "erms3.QueryBusinessInfoRsp": {
  13234. "type": "object",
  13235. "properties": {
  13236. "businessid": {
  13237. "description": "业务ID.",
  13238. "type": "integer"
  13239. },
  13240. "buyamount": {
  13241. "description": "采购额.",
  13242. "type": "number"
  13243. },
  13244. "buyqty": {
  13245. "description": "采购量.",
  13246. "type": "string"
  13247. },
  13248. "futurepl": {
  13249. "description": "期货盈亏.",
  13250. "type": "number"
  13251. },
  13252. "futureqty": {
  13253. "description": "期货敞口.",
  13254. "type": "string"
  13255. },
  13256. "goodsid": {
  13257. "description": "商品名称/商品代码.",
  13258. "type": "string"
  13259. },
  13260. "hedgingqty": {
  13261. "description": "套保量.",
  13262. "type": "string"
  13263. },
  13264. "sellamount": {
  13265. "description": "销售额.",
  13266. "type": "number"
  13267. },
  13268. "sellqty": {
  13269. "description": "销售量.",
  13270. "type": "string"
  13271. },
  13272. "spotmarketvalue": {
  13273. "description": "现货市值.",
  13274. "type": "number"
  13275. },
  13276. "spotpl": {
  13277. "description": "浮动权益.",
  13278. "type": "number"
  13279. },
  13280. "spotqty": {
  13281. "description": "现货量.",
  13282. "type": "string"
  13283. },
  13284. "statu": {
  13285. "description": "状态,0-未结束 1-已结束.",
  13286. "type": "integer"
  13287. },
  13288. "totalpl": {
  13289. "description": "总盈亏.",
  13290. "type": "number"
  13291. },
  13292. "totalqty": {
  13293. "description": "总敞口.",
  13294. "type": "string"
  13295. },
  13296. "type": {
  13297. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13298. "type": "integer"
  13299. }
  13300. }
  13301. },
  13302. "erms3.QuerySpotContractAppleFormRsp": {
  13303. "type": "object",
  13304. "properties": {
  13305. "goodses": {
  13306. "description": "合约列表",
  13307. "type": "array",
  13308. "items": {
  13309. "$ref": "#/definitions/models.GoodsIDAndName"
  13310. }
  13311. },
  13312. "oppositeusers": {
  13313. "description": "对方账号列表",
  13314. "type": "array",
  13315. "items": {
  13316. "$ref": "#/definitions/erms3.CustomerInfo"
  13317. }
  13318. },
  13319. "ouruser": {
  13320. "description": "我方账号",
  13321. "type": "object",
  13322. "$ref": "#/definitions/erms3.CustomerInfo"
  13323. },
  13324. "warehouseinfos": {
  13325. "description": "仓库信息列表",
  13326. "type": "array",
  13327. "items": {
  13328. "$ref": "#/definitions/models.Warehouseinfo"
  13329. }
  13330. },
  13331. "wrstandards": {
  13332. "description": "仓单标准列表",
  13333. "type": "array",
  13334. "items": {
  13335. "$ref": "#/definitions/models.WRStandardInfo"
  13336. }
  13337. }
  13338. }
  13339. },
  13340. "erms3.QuerySpotContractInfoRsp": {
  13341. "type": "object",
  13342. "properties": {
  13343. "accountid": {
  13344. "description": "表示交易员ID.",
  13345. "type": "integer"
  13346. },
  13347. "curdeliveryqty": {
  13348. "description": "表示未交收量.",
  13349. "type": "number"
  13350. },
  13351. "customername": {
  13352. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13353. "type": "string"
  13354. },
  13355. "deliverygoodsid": {
  13356. "description": "表示品种ID.",
  13357. "type": "string"
  13358. },
  13359. "deliveryqty": {
  13360. "description": "表示交收量.",
  13361. "type": "number"
  13362. },
  13363. "matchaccountid": {
  13364. "description": "表示业务员ID.",
  13365. "type": "integer"
  13366. },
  13367. "matchcustomername": {
  13368. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13369. "type": "string"
  13370. },
  13371. "priceqty": {
  13372. "description": "表示定价量.",
  13373. "type": "number"
  13374. },
  13375. "relatedbizid": {
  13376. "description": "表示业务ID.",
  13377. "type": "string"
  13378. },
  13379. "signdate": {
  13380. "description": "表示签订日期.",
  13381. "type": "string"
  13382. },
  13383. "spotcontractid": {
  13384. "description": "合同ID",
  13385. "type": "string"
  13386. },
  13387. "status": {
  13388. "description": "表示状态,0-履约中 1-已完成.",
  13389. "type": "integer"
  13390. },
  13391. "totalqty": {
  13392. "description": "表示合同量.",
  13393. "type": "number"
  13394. },
  13395. "unpricedqty": {
  13396. "description": "表示未定价量.",
  13397. "type": "number"
  13398. },
  13399. "wrstandardname": {
  13400. "description": "表示商品ID.",
  13401. "type": "string"
  13402. }
  13403. }
  13404. },
  13405. "erms3.QueryUserInfoAppliesRsp": {
  13406. "type": "object",
  13407. "required": [
  13408. "userid"
  13409. ],
  13410. "properties": {
  13411. "biznature": {
  13412. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13413. "type": "integer"
  13414. },
  13415. "contactname": {
  13416. "description": "联系人",
  13417. "type": "string"
  13418. },
  13419. "createtime": {
  13420. "description": "开户申请时间",
  13421. "type": "string"
  13422. },
  13423. "userid": {
  13424. "description": "用户ID(自增ID)",
  13425. "type": "integer"
  13426. },
  13427. "userinfotype": {
  13428. "description": "用户信息类型 - 1:个人 2:企业",
  13429. "type": "integer"
  13430. },
  13431. "username": {
  13432. "description": "用户姓名",
  13433. "type": "string"
  13434. },
  13435. "userstate": {
  13436. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13437. "type": "integer"
  13438. }
  13439. }
  13440. },
  13441. "erms3.QueryUserInfosRsp": {
  13442. "type": "object",
  13443. "required": [
  13444. "userid"
  13445. ],
  13446. "properties": {
  13447. "biznature": {
  13448. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13449. "type": "integer"
  13450. },
  13451. "contactname": {
  13452. "description": "联系人",
  13453. "type": "string"
  13454. },
  13455. "customername": {
  13456. "description": "客户名称(企业名称)",
  13457. "type": "string"
  13458. },
  13459. "userid": {
  13460. "description": "用户ID",
  13461. "type": "integer"
  13462. },
  13463. "userinfotype": {
  13464. "description": "用户信息类型 - 1:个人 2:企业",
  13465. "type": "integer"
  13466. },
  13467. "userstatus": {
  13468. "description": "用户状态 - 1:正常 2:注销",
  13469. "type": "integer"
  13470. }
  13471. }
  13472. },
  13473. "erms3.SoptContractDetail": {
  13474. "type": "object",
  13475. "required": [
  13476. "deliverygoodsid",
  13477. "producttype",
  13478. "unitname",
  13479. "warehouseid",
  13480. "wrstandardid",
  13481. "wrstandardname"
  13482. ],
  13483. "properties": {
  13484. "deliverygoodsdesc": {
  13485. "description": "现货品种说明",
  13486. "type": "string"
  13487. },
  13488. "deliverygoodsid": {
  13489. "description": "现货品种ID",
  13490. "type": "integer"
  13491. },
  13492. "deliverygoodsname": {
  13493. "description": "现货品种名称",
  13494. "type": "string"
  13495. },
  13496. "pointdesc": {
  13497. "description": "点价描述",
  13498. "type": "string"
  13499. },
  13500. "producttype": {
  13501. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13502. "type": "integer"
  13503. },
  13504. "producttypename": {
  13505. "description": "产品类型名称",
  13506. "type": "string"
  13507. },
  13508. "spotPointOrderVoList": {
  13509. "description": "点价列表",
  13510. "type": "array",
  13511. "items": {
  13512. "$ref": "#/definitions/erms3.SpotPointOrder"
  13513. }
  13514. },
  13515. "spotPriceOrderList": {
  13516. "description": "定价列表",
  13517. "type": "array",
  13518. "items": {
  13519. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13520. }
  13521. },
  13522. "unitname": {
  13523. "description": "单位名称",
  13524. "type": "string"
  13525. },
  13526. "warehouseid": {
  13527. "description": "仓库ID",
  13528. "type": "integer"
  13529. },
  13530. "warehousename": {
  13531. "description": "仓库名称",
  13532. "type": "string"
  13533. },
  13534. "wrstandardid": {
  13535. "description": "交易标的ID",
  13536. "type": "integer"
  13537. },
  13538. "wrstandardname": {
  13539. "description": "交易标的名称",
  13540. "type": "string"
  13541. }
  13542. }
  13543. },
  13544. "erms3.SpotPointOrder": {
  13545. "type": "object",
  13546. "required": [
  13547. "basic",
  13548. "goodsid",
  13549. "qty"
  13550. ],
  13551. "properties": {
  13552. "basic": {
  13553. "description": "基差",
  13554. "type": "number"
  13555. },
  13556. "deliveryenddate": {
  13557. "description": "交收结束日期",
  13558. "type": "string"
  13559. },
  13560. "deliverystartdate": {
  13561. "description": "交收开始日期",
  13562. "type": "string"
  13563. },
  13564. "enddate": {
  13565. "description": "点价结束日期",
  13566. "type": "string"
  13567. },
  13568. "goodsid": {
  13569. "description": "商品ID",
  13570. "type": "integer"
  13571. },
  13572. "goodsname": {
  13573. "description": "商品名称",
  13574. "type": "string"
  13575. },
  13576. "qty": {
  13577. "description": "数量",
  13578. "type": "number"
  13579. },
  13580. "startdate": {
  13581. "description": "点价开始日期",
  13582. "type": "string"
  13583. }
  13584. }
  13585. },
  13586. "erms3.SpotPriceOrder": {
  13587. "type": "object",
  13588. "required": [
  13589. "amount",
  13590. "price",
  13591. "qty"
  13592. ],
  13593. "properties": {
  13594. "amount": {
  13595. "description": "金额",
  13596. "type": "number"
  13597. },
  13598. "deliveryenddate": {
  13599. "description": "交收结束日期",
  13600. "type": "string"
  13601. },
  13602. "deliverystartdate": {
  13603. "description": "交收开始日期",
  13604. "type": "string"
  13605. },
  13606. "price": {
  13607. "description": "价格",
  13608. "type": "number"
  13609. },
  13610. "qty": {
  13611. "description": "数量",
  13612. "type": "number"
  13613. }
  13614. }
  13615. },
  13616. "hsby.GetHsbyMyCountRsp": {
  13617. "type": "object",
  13618. "properties": {
  13619. "myCouponCount": {
  13620. "description": "我的优惠卷数量",
  13621. "type": "integer"
  13622. },
  13623. "myOrderDetailListingCount": {
  13624. "description": "我的订单求购中数量",
  13625. "type": "integer"
  13626. },
  13627. "myOrderDetailPreCount": {
  13628. "description": "我的订单抢购中数量",
  13629. "type": "integer"
  13630. },
  13631. "myPackageUnReceiveCount": {
  13632. "description": "我的包裹待收货数量",
  13633. "type": "integer"
  13634. },
  13635. "myPackageUnSendCount": {
  13636. "description": "我的包裹待发货数量",
  13637. "type": "integer"
  13638. },
  13639. "myPayOrderCount": {
  13640. "description": "我的订单待付款数量",
  13641. "type": "integer"
  13642. }
  13643. }
  13644. },
  13645. "hsby.QueryProvincesAndCitiesRsp": {
  13646. "type": "object",
  13647. "properties": {
  13648. "cities": {
  13649. "description": "市",
  13650. "type": "array",
  13651. "items": {
  13652. "$ref": "#/definitions/models.Division"
  13653. }
  13654. },
  13655. "province": {
  13656. "description": "省",
  13657. "type": "object",
  13658. "$ref": "#/definitions/models.Division"
  13659. }
  13660. }
  13661. },
  13662. "models.AreaSpotModel": {
  13663. "type": "object",
  13664. "properties": {
  13665. "areauserid": {
  13666. "description": "所属机构",
  13667. "type": "integer"
  13668. },
  13669. "decreaseqty": {
  13670. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13671. "type": "number"
  13672. },
  13673. "increaseqty": {
  13674. "description": "增加数量=销售计划数量+采购已定价数量",
  13675. "type": "number"
  13676. },
  13677. "oritoalspotqty": {
  13678. "description": "昨日数量",
  13679. "type": "number"
  13680. },
  13681. "totalspotqty": {
  13682. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13683. "type": "number"
  13684. },
  13685. "updatetime": {
  13686. "description": "更新时间",
  13687. "type": "string"
  13688. },
  13689. "wrstandardcode": {
  13690. "description": "现货品种代码",
  13691. "type": "string"
  13692. },
  13693. "wrstandardid": {
  13694. "description": "现货商品ID",
  13695. "type": "integer"
  13696. },
  13697. "wrstandardname": {
  13698. "description": "现货品种",
  13699. "type": "string"
  13700. }
  13701. }
  13702. },
  13703. "models.Arearole": {
  13704. "type": "object",
  13705. "required": [
  13706. "roletype",
  13707. "userid"
  13708. ],
  13709. "properties": {
  13710. "createtime": {
  13711. "description": "创建时间",
  13712. "type": "string"
  13713. },
  13714. "creatorid": {
  13715. "description": "创建人ID",
  13716. "type": "integer"
  13717. },
  13718. "fromuserid": {
  13719. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  13720. "type": "integer"
  13721. },
  13722. "isreturnscore": {
  13723. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13724. "type": "integer"
  13725. },
  13726. "modifierid": {
  13727. "description": "修改人ID",
  13728. "type": "integer"
  13729. },
  13730. "modifytime": {
  13731. "description": "修改时间",
  13732. "type": "string"
  13733. },
  13734. "orgtype": {
  13735. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  13736. "type": "integer"
  13737. },
  13738. "outuserid": {
  13739. "description": "外部账户[场外期权做市商]",
  13740. "type": "string"
  13741. },
  13742. "parentuserid": {
  13743. "description": "上级组织机构(组织机构)",
  13744. "type": "integer"
  13745. },
  13746. "roletype": {
  13747. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  13748. "type": "integer"
  13749. },
  13750. "rootuserid": {
  13751. "description": "顶级组织机构用户ID(组织机构)",
  13752. "type": "integer"
  13753. },
  13754. "shoppassword": {
  13755. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13756. "type": "string"
  13757. },
  13758. "sublevelpath": {
  13759. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13760. "type": "string"
  13761. },
  13762. "suborgtype": {
  13763. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  13764. "type": "integer"
  13765. },
  13766. "tradeaccountid": {
  13767. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13768. "type": "integer"
  13769. },
  13770. "transurl": {
  13771. "description": "物流地址(物流机构)",
  13772. "type": "string"
  13773. },
  13774. "userid": {
  13775. "description": "机构用户ID其他做市关系,都设置为 1",
  13776. "type": "integer"
  13777. }
  13778. }
  13779. },
  13780. "models.Clientfixedadconfig": {
  13781. "type": "object",
  13782. "required": [
  13783. "adsort",
  13784. "adtype"
  13785. ],
  13786. "properties": {
  13787. "adsort": {
  13788. "description": "排序",
  13789. "type": "integer"
  13790. },
  13791. "adtype": {
  13792. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13793. "type": "integer"
  13794. },
  13795. "areauserid": {
  13796. "description": "所属机构ID",
  13797. "type": "integer"
  13798. },
  13799. "createdate": {
  13800. "description": "创建时间",
  13801. "type": "string"
  13802. },
  13803. "creatorid": {
  13804. "description": "创建人",
  13805. "type": "integer"
  13806. },
  13807. "imagepath": {
  13808. "description": "图片",
  13809. "type": "string"
  13810. },
  13811. "isshow": {
  13812. "description": "是否展示 - 0:不展示 1:展示",
  13813. "type": "integer"
  13814. },
  13815. "modifierid": {
  13816. "description": "操作人",
  13817. "type": "integer"
  13818. },
  13819. "recsize": {
  13820. "description": "推荐尺寸",
  13821. "type": "string"
  13822. },
  13823. "title": {
  13824. "description": "标题",
  13825. "type": "string"
  13826. },
  13827. "updatedate": {
  13828. "description": "更新时间",
  13829. "type": "string"
  13830. },
  13831. "urlcontent": {
  13832. "description": "链接(地址或商品ID)",
  13833. "type": "string"
  13834. },
  13835. "urltype": {
  13836. "description": "链接类型 - 1:直接地址 2:商品ID",
  13837. "type": "integer"
  13838. }
  13839. }
  13840. },
  13841. "models.Division": {
  13842. "type": "object",
  13843. "required": [
  13844. "autoid",
  13845. "divisioncode"
  13846. ],
  13847. "properties": {
  13848. "autoid": {
  13849. "description": "自增ID",
  13850. "type": "integer"
  13851. },
  13852. "divisioncode": {
  13853. "description": "行政代码",
  13854. "type": "string"
  13855. },
  13856. "divisionlevel": {
  13857. "description": "行政级别",
  13858. "type": "string"
  13859. },
  13860. "divisionname": {
  13861. "description": "行政名称",
  13862. "type": "string"
  13863. },
  13864. "modifierid": {
  13865. "description": "修改人",
  13866. "type": "integer"
  13867. },
  13868. "modifytime": {
  13869. "description": "修改时间",
  13870. "type": "string"
  13871. },
  13872. "parentcode": {
  13873. "description": "上级行政代码",
  13874. "type": "string"
  13875. },
  13876. "pathname": {
  13877. "description": "路径名称",
  13878. "type": "string"
  13879. },
  13880. "postcode": {
  13881. "description": "邮政编码",
  13882. "type": "string"
  13883. },
  13884. "separablename": {
  13885. "description": "可拆分的全称",
  13886. "type": "string"
  13887. },
  13888. "shortcode": {
  13889. "description": "地区简码",
  13890. "type": "string"
  13891. }
  13892. }
  13893. },
  13894. "models.Enumdicitem": {
  13895. "type": "object",
  13896. "required": [
  13897. "autoid",
  13898. "enumdiccode",
  13899. "enumdicid",
  13900. "enumitemname"
  13901. ],
  13902. "properties": {
  13903. "autoid": {
  13904. "description": "自增ID",
  13905. "type": "integer"
  13906. },
  13907. "bankmappedvalue": {
  13908. "description": "银行服务对应值",
  13909. "type": "string"
  13910. },
  13911. "enumdiccode": {
  13912. "description": "所属枚举代码",
  13913. "type": "string"
  13914. },
  13915. "enumdicid": {
  13916. "description": "所属枚举ID",
  13917. "type": "integer"
  13918. },
  13919. "enumdicname": {
  13920. "description": "枚举项名称",
  13921. "type": "string"
  13922. },
  13923. "enumitemname": {
  13924. "description": "枚举项值",
  13925. "type": "integer"
  13926. },
  13927. "enumitemstatus": {
  13928. "description": "枚举项状态 - 1.启用 2.不启用",
  13929. "type": "integer"
  13930. },
  13931. "enumitemvalue": {
  13932. "description": "通用值 - [币种通用简写]",
  13933. "type": "string"
  13934. },
  13935. "param1": {
  13936. "description": "参数1[币种:币种小数位]",
  13937. "type": "string"
  13938. },
  13939. "param2": {
  13940. "description": "参数1[币种:币种显示单位]",
  13941. "type": "string"
  13942. },
  13943. "remark": {
  13944. "description": "备注",
  13945. "type": "string"
  13946. }
  13947. }
  13948. },
  13949. "models.Ermcp3AreaSpot": {
  13950. "type": "object",
  13951. "properties": {
  13952. "areauserid": {
  13953. "description": "所属机构",
  13954. "type": "integer"
  13955. },
  13956. "decreaseqty": {
  13957. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13958. "type": "number"
  13959. },
  13960. "deliverygoodscode": {
  13961. "description": "现货品种代码",
  13962. "type": "string"
  13963. },
  13964. "deliverygoodsid": {
  13965. "description": "现货品种id",
  13966. "type": "integer"
  13967. },
  13968. "deliverygoodsname": {
  13969. "description": "现货品种名称",
  13970. "type": "string"
  13971. },
  13972. "enumdicname": {
  13973. "description": "单位名称",
  13974. "type": "string"
  13975. },
  13976. "goodsunitid": {
  13977. "description": "现货品种单位id",
  13978. "type": "integer"
  13979. },
  13980. "increaseqty": {
  13981. "description": "增加数量=销售计划数量+采购已定价数量",
  13982. "type": "number"
  13983. },
  13984. "oritoalspotqty": {
  13985. "description": "昨日数量",
  13986. "type": "number"
  13987. },
  13988. "totalspotqty": {
  13989. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13990. "type": "number"
  13991. },
  13992. "updatetime": {
  13993. "description": "更新时间",
  13994. "type": "string"
  13995. }
  13996. }
  13997. },
  13998. "models.Ermcp3AreaSpotDetail": {
  13999. "type": "object",
  14000. "properties": {
  14001. "contracttype": {
  14002. "description": "合同类型 1-采购 -1-销售",
  14003. "type": "integer"
  14004. },
  14005. "createtime": {
  14006. "description": "创建时间",
  14007. "type": "string"
  14008. },
  14009. "deliverygoodscode": {
  14010. "description": "现货品种代码",
  14011. "type": "string"
  14012. },
  14013. "deliverygoodsid": {
  14014. "description": "现货品种id",
  14015. "type": "integer"
  14016. },
  14017. "deliverygoodsname": {
  14018. "description": "现货品种名称",
  14019. "type": "string"
  14020. },
  14021. "enumdicname": {
  14022. "description": "现货商品单位名称",
  14023. "type": "string"
  14024. },
  14025. "logtype": {
  14026. "description": "记录类型 1-套保 2-现货合同",
  14027. "type": "integer"
  14028. },
  14029. "qty": {
  14030. "description": "数量",
  14031. "type": "number"
  14032. },
  14033. "recordname": {
  14034. "description": "类型名称",
  14035. "type": "string"
  14036. },
  14037. "relatedid": {
  14038. "description": "套保计划ID/现货合同ID",
  14039. "type": "string"
  14040. },
  14041. "relatedno": {
  14042. "description": "编号",
  14043. "type": "string"
  14044. },
  14045. "strtime": {
  14046. "description": "时间",
  14047. "type": "string"
  14048. }
  14049. }
  14050. },
  14051. "models.Ermcp3AreaSpotPLReport": {
  14052. "type": "object",
  14053. "properties": {
  14054. "accountid": {
  14055. "description": "期货账户ID (作废, 默认为0)",
  14056. "type": "integer"
  14057. },
  14058. "accountname": {
  14059. "description": "机构名称",
  14060. "type": "string"
  14061. },
  14062. "actualpl": {
  14063. "description": "现货损益",
  14064. "type": "number"
  14065. },
  14066. "areauserid": {
  14067. "description": "所属机构\\交易用户ID",
  14068. "type": "integer"
  14069. },
  14070. "begindate": {
  14071. "description": "开始交易日",
  14072. "type": "string"
  14073. },
  14074. "biztype": {
  14075. "description": "业务类型 - 1:套保 2:套利",
  14076. "type": "integer"
  14077. },
  14078. "brandname": {
  14079. "description": "品牌名称",
  14080. "type": "string"
  14081. },
  14082. "curamount": {
  14083. "description": "期末额",
  14084. "type": "number"
  14085. },
  14086. "curaverageprice": {
  14087. "description": "期末均价",
  14088. "type": "number"
  14089. },
  14090. "curbuyamount": {
  14091. "description": "期末采购总额",
  14092. "type": "number"
  14093. },
  14094. "curbuyqty": {
  14095. "description": "期末采购总量",
  14096. "type": "number"
  14097. },
  14098. "curmarketvalue": {
  14099. "description": "参考市值(期末市值)",
  14100. "type": "number"
  14101. },
  14102. "curqty": {
  14103. "description": "期末量",
  14104. "type": "number"
  14105. },
  14106. "currencyid": {
  14107. "description": "结算币种ID【原值】",
  14108. "type": "integer"
  14109. },
  14110. "currencyname": {
  14111. "description": "币种名称",
  14112. "type": "string"
  14113. },
  14114. "cursellamount": {
  14115. "description": "期末销售总额",
  14116. "type": "number"
  14117. },
  14118. "cursellqty": {
  14119. "description": "期末销售总量",
  14120. "type": "number"
  14121. },
  14122. "curspotprice": {
  14123. "description": "参考市价(最新价)",
  14124. "type": "number"
  14125. },
  14126. "cycletime": {
  14127. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14128. "type": "string"
  14129. },
  14130. "cycletype": {
  14131. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14132. "type": "integer"
  14133. },
  14134. "deliverygoodscode": {
  14135. "description": "现货商品代码",
  14136. "type": "string"
  14137. },
  14138. "deliverygoodsid": {
  14139. "description": "现货品种ID",
  14140. "type": "integer"
  14141. },
  14142. "deliverygoodsname": {
  14143. "description": "现货商品名称",
  14144. "type": "string"
  14145. },
  14146. "enddate": {
  14147. "description": "结束交易日",
  14148. "type": "string"
  14149. },
  14150. "enumdicname": {
  14151. "description": "现货商品单位名称",
  14152. "type": "string"
  14153. },
  14154. "floatpl": {
  14155. "description": "浮动损益",
  14156. "type": "number"
  14157. },
  14158. "goodsunitid": {
  14159. "description": "现货商品单位id",
  14160. "type": "integer"
  14161. },
  14162. "oriamount": {
  14163. "description": "期初额",
  14164. "type": "number"
  14165. },
  14166. "oriaverageprice": {
  14167. "description": "期初均价",
  14168. "type": "number"
  14169. },
  14170. "oribuyamount": {
  14171. "description": "期初采购总额",
  14172. "type": "number"
  14173. },
  14174. "oribuyqty": {
  14175. "description": "期初采购总量",
  14176. "type": "number"
  14177. },
  14178. "oriqty": {
  14179. "description": "期初量",
  14180. "type": "number"
  14181. },
  14182. "orisellamount": {
  14183. "description": "期初销售总额",
  14184. "type": "number"
  14185. },
  14186. "orisellqty": {
  14187. "description": "期初销售总量",
  14188. "type": "number"
  14189. },
  14190. "reckondate": {
  14191. "description": "日照时期(yyyyMMdd)",
  14192. "type": "string"
  14193. },
  14194. "spotgoodsbrandid": {
  14195. "description": "现货品牌ID",
  14196. "type": "integer"
  14197. },
  14198. "todaybuyamount": {
  14199. "description": "今日采购额(今采购额)",
  14200. "type": "number"
  14201. },
  14202. "todaybuyaverageprice": {
  14203. "description": "今日采购均价",
  14204. "type": "number"
  14205. },
  14206. "todaybuyqty": {
  14207. "description": "今日采购量(今采购量)",
  14208. "type": "number"
  14209. },
  14210. "todayinqty": {
  14211. "description": "今日入库量(今入库量)",
  14212. "type": "number"
  14213. },
  14214. "todayoutqty": {
  14215. "description": "今日出库量(今出库量)",
  14216. "type": "number"
  14217. },
  14218. "todaysellamount": {
  14219. "description": "今日销售额(今销售额)",
  14220. "type": "number"
  14221. },
  14222. "todaysellaverageprice": {
  14223. "description": "今日销售均价",
  14224. "type": "number"
  14225. },
  14226. "todaysellqty": {
  14227. "description": "今日销售量(今销售量)",
  14228. "type": "number"
  14229. },
  14230. "unitid": {
  14231. "description": "品类单位id",
  14232. "type": "integer"
  14233. },
  14234. "unitidname": {
  14235. "description": "品类单位名称",
  14236. "type": "string"
  14237. },
  14238. "updatetime": {
  14239. "description": "更新时间",
  14240. "type": "string"
  14241. },
  14242. "wrfactortypeid": {
  14243. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14244. "type": "integer"
  14245. },
  14246. "wrstandardcode": {
  14247. "description": "品类代码",
  14248. "type": "string"
  14249. },
  14250. "wrstandardid": {
  14251. "description": "现货品类ID",
  14252. "type": "integer"
  14253. },
  14254. "wrstandardname": {
  14255. "description": "品类名称",
  14256. "type": "string"
  14257. }
  14258. }
  14259. },
  14260. "models.Ermcp3AreaStock": {
  14261. "type": "object",
  14262. "required": [
  14263. "userid"
  14264. ],
  14265. "properties": {
  14266. "brandname": {
  14267. "description": "品牌名称",
  14268. "type": "string"
  14269. },
  14270. "curstock": {
  14271. "description": "期末库存量(今日量)",
  14272. "type": "number"
  14273. },
  14274. "deliverygoodscode": {
  14275. "description": "现货品种代码",
  14276. "type": "string"
  14277. },
  14278. "deliverygoodsid": {
  14279. "description": "现货品种id",
  14280. "type": "integer"
  14281. },
  14282. "deliverygoodsname": {
  14283. "description": "现货品种名称",
  14284. "type": "string"
  14285. },
  14286. "enumdicname": {
  14287. "description": "单位名称",
  14288. "type": "string"
  14289. },
  14290. "goodsunitid": {
  14291. "description": "现货商品单位id",
  14292. "type": "integer"
  14293. },
  14294. "oristock": {
  14295. "description": "期初库存量(昨日量)",
  14296. "type": "number"
  14297. },
  14298. "spotgoodsbrandid": {
  14299. "description": "现货品牌ID",
  14300. "type": "integer"
  14301. },
  14302. "todaybuyinqty": {
  14303. "description": "今日采购入库量",
  14304. "type": "number"
  14305. },
  14306. "todayproduceinqty": {
  14307. "description": "今日生产入库量",
  14308. "type": "number"
  14309. },
  14310. "todayproduceoutqty": {
  14311. "description": "今日生产出库量",
  14312. "type": "number"
  14313. },
  14314. "todayselloutqty": {
  14315. "description": "今日销售出库量",
  14316. "type": "number"
  14317. },
  14318. "unitid": {
  14319. "description": "单位id",
  14320. "type": "integer"
  14321. },
  14322. "updatetime": {
  14323. "description": "更新时间",
  14324. "type": "string"
  14325. },
  14326. "userid": {
  14327. "description": "机构ID",
  14328. "type": "integer"
  14329. },
  14330. "username": {
  14331. "description": "机构名称",
  14332. "type": "string"
  14333. },
  14334. "warehousecode": {
  14335. "description": "仓库代码",
  14336. "type": "string"
  14337. },
  14338. "warehouseinfoid": {
  14339. "description": "仓库ID",
  14340. "type": "string"
  14341. },
  14342. "warehousename": {
  14343. "description": "仓库名称",
  14344. "type": "string"
  14345. },
  14346. "warehousetype": {
  14347. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14348. "type": "integer"
  14349. },
  14350. "wrstandardcode": {
  14351. "description": "品类代码",
  14352. "type": "string"
  14353. },
  14354. "wrstandardid": {
  14355. "description": "品类ID",
  14356. "type": "string"
  14357. },
  14358. "wrstandardname": {
  14359. "description": "品类名称",
  14360. "type": "string"
  14361. }
  14362. }
  14363. },
  14364. "models.Ermcp3AreaStockApply": {
  14365. "type": "object",
  14366. "properties": {
  14367. "applyid": {
  14368. "description": "申请人",
  14369. "type": "integer"
  14370. },
  14371. "applyname": {
  14372. "description": "申请人名称",
  14373. "type": "string"
  14374. },
  14375. "applyremark": {
  14376. "description": "申请备注",
  14377. "type": "string"
  14378. },
  14379. "applysrc": {
  14380. "description": "申请来源 - 1:管理端 2:终端",
  14381. "type": "integer"
  14382. },
  14383. "applystatus": {
  14384. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14385. "type": "integer"
  14386. },
  14387. "applytime": {
  14388. "description": "申请时间",
  14389. "type": "string"
  14390. },
  14391. "auditid": {
  14392. "description": "审核人",
  14393. "type": "integer"
  14394. },
  14395. "auditname": {
  14396. "description": "审核人名称",
  14397. "type": "string"
  14398. },
  14399. "auditremark": {
  14400. "description": "审核备注",
  14401. "type": "string"
  14402. },
  14403. "auditsrc": {
  14404. "description": "审核来源 - 1:管理端 2:终端",
  14405. "type": "integer"
  14406. },
  14407. "audittime": {
  14408. "description": "审核时间",
  14409. "type": "string"
  14410. },
  14411. "audittradedate": {
  14412. "description": "审核交易日(yyyyMMdd)",
  14413. "type": "string"
  14414. },
  14415. "brandname": {
  14416. "description": "品牌名称",
  14417. "type": "string"
  14418. },
  14419. "buynickname": {
  14420. "description": "采购方昵称",
  14421. "type": "string"
  14422. },
  14423. "buyuserid": {
  14424. "description": "采购方userid",
  14425. "type": "integer"
  14426. },
  14427. "buyusername": {
  14428. "description": "采购方名称",
  14429. "type": "string"
  14430. },
  14431. "contractno": {
  14432. "description": "合同编号",
  14433. "type": "string"
  14434. },
  14435. "contractqty": {
  14436. "description": "合同量",
  14437. "type": "number"
  14438. },
  14439. "contracttype": {
  14440. "description": "现货合同类型 - 1:采购 -1:销售",
  14441. "type": "integer"
  14442. },
  14443. "deliverygoodscode": {
  14444. "description": "现货品种代码",
  14445. "type": "string"
  14446. },
  14447. "deliverygoodsid": {
  14448. "description": "现货品种id",
  14449. "type": "integer"
  14450. },
  14451. "deliverygoodsname": {
  14452. "description": "现货品种名称",
  14453. "type": "string"
  14454. },
  14455. "detailjson": {
  14456. "description": "明细数据",
  14457. "type": "string"
  14458. },
  14459. "enumdicname": {
  14460. "description": "现货商品单位名称",
  14461. "type": "string"
  14462. },
  14463. "inoutapplyid": {
  14464. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14465. "type": "string"
  14466. },
  14467. "inouttype": {
  14468. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14469. "type": "integer"
  14470. },
  14471. "pricetype": {
  14472. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14473. "type": "integer"
  14474. },
  14475. "qty": {
  14476. "description": "数量",
  14477. "type": "number"
  14478. },
  14479. "sellnickname": {
  14480. "description": "销售方昵称",
  14481. "type": "string"
  14482. },
  14483. "selluserid": {
  14484. "description": "销售方userid",
  14485. "type": "integer"
  14486. },
  14487. "sellusername": {
  14488. "description": "销售方名称",
  14489. "type": "string"
  14490. },
  14491. "spotcontractid": {
  14492. "description": "关联现货合同ID",
  14493. "type": "string"
  14494. },
  14495. "spotgoodsbrandid": {
  14496. "description": "现货品牌ID",
  14497. "type": "integer"
  14498. },
  14499. "unitid": {
  14500. "description": "单位id",
  14501. "type": "integer"
  14502. },
  14503. "userid": {
  14504. "description": "机构ID",
  14505. "type": "integer"
  14506. },
  14507. "warehousecode": {
  14508. "description": "仓库代码",
  14509. "type": "string"
  14510. },
  14511. "warehouseinfoid": {
  14512. "description": "现货仓库ID",
  14513. "type": "string"
  14514. },
  14515. "warehousename": {
  14516. "description": "仓库名称",
  14517. "type": "string"
  14518. },
  14519. "warehousetype": {
  14520. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14521. "type": "integer"
  14522. },
  14523. "wrstandardcode": {
  14524. "description": "品类代码",
  14525. "type": "string"
  14526. },
  14527. "wrstandardid": {
  14528. "description": "品类ID",
  14529. "type": "integer"
  14530. },
  14531. "wrstandardname": {
  14532. "description": "品类名称",
  14533. "type": "string"
  14534. }
  14535. }
  14536. },
  14537. "models.Ermcp3AreaStockApplySum": {
  14538. "type": "object",
  14539. "properties": {
  14540. "brandname": {
  14541. "description": "品牌名称",
  14542. "type": "string"
  14543. },
  14544. "inouttype": {
  14545. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14546. "type": "integer"
  14547. },
  14548. "spotcontractid": {
  14549. "description": "关联现货合同ID",
  14550. "type": "string"
  14551. },
  14552. "spotgoodsbrandid": {
  14553. "description": "品牌id",
  14554. "type": "integer"
  14555. },
  14556. "totalqty": {
  14557. "description": "总数量",
  14558. "type": "number"
  14559. },
  14560. "wrstandardid": {
  14561. "description": "品类id",
  14562. "type": "integer"
  14563. },
  14564. "wrstandardname": {
  14565. "description": "品类名称",
  14566. "type": "string"
  14567. }
  14568. }
  14569. },
  14570. "models.Ermcp3AreaStockReportEx": {
  14571. "type": "object",
  14572. "properties": {
  14573. "begindate": {
  14574. "description": "开始交易日",
  14575. "type": "string"
  14576. },
  14577. "brandname": {
  14578. "description": "品牌名称",
  14579. "type": "string"
  14580. },
  14581. "curstock": {
  14582. "description": "期末库存量",
  14583. "type": "number"
  14584. },
  14585. "cycletime": {
  14586. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14587. "type": "string"
  14588. },
  14589. "cycletype": {
  14590. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14591. "type": "integer"
  14592. },
  14593. "deliverygoodscode": {
  14594. "description": "现货品种代码",
  14595. "type": "string"
  14596. },
  14597. "deliverygoodsid": {
  14598. "description": "现货品种id",
  14599. "type": "integer"
  14600. },
  14601. "deliverygoodsname": {
  14602. "description": "现货品种名称",
  14603. "type": "string"
  14604. },
  14605. "diffqty": {
  14606. "description": "库存变化量 = 期末 - 期初",
  14607. "type": "number"
  14608. },
  14609. "enddate": {
  14610. "description": "结束交易日",
  14611. "type": "string"
  14612. },
  14613. "enumdicname": {
  14614. "description": "单位名称",
  14615. "type": "string"
  14616. },
  14617. "goodsunitid": {
  14618. "description": "现货单位id",
  14619. "type": "integer"
  14620. },
  14621. "oristock": {
  14622. "description": "期初库存量",
  14623. "type": "number"
  14624. },
  14625. "reckondate": {
  14626. "description": "日照时期(yyyyMMdd)",
  14627. "type": "string"
  14628. },
  14629. "spotgoodsbrandid": {
  14630. "description": "现货品牌ID",
  14631. "type": "integer"
  14632. },
  14633. "todaybuyinqty": {
  14634. "description": "今采购入库量",
  14635. "type": "number"
  14636. },
  14637. "todayproduceinqty": {
  14638. "description": "今内部入库量",
  14639. "type": "number"
  14640. },
  14641. "todayproduceoutqty": {
  14642. "description": "今内部出库量",
  14643. "type": "number"
  14644. },
  14645. "todayselloutqty": {
  14646. "description": "今销售出库量",
  14647. "type": "number"
  14648. },
  14649. "unbuyinqty": {
  14650. "description": "采购未入库量(数据库未找到相关字段?)",
  14651. "type": "number"
  14652. },
  14653. "unitid": {
  14654. "description": "品类单位id",
  14655. "type": "integer"
  14656. },
  14657. "unselloutqty": {
  14658. "description": "销售未出库量(数据库未找到相关字段?)",
  14659. "type": "number"
  14660. },
  14661. "updatetime": {
  14662. "description": "更新时间",
  14663. "type": "string"
  14664. },
  14665. "userid": {
  14666. "description": "机构ID",
  14667. "type": "integer"
  14668. },
  14669. "username": {
  14670. "description": "机构名称",
  14671. "type": "string"
  14672. },
  14673. "warehousecode": {
  14674. "description": "仓库代码",
  14675. "type": "string"
  14676. },
  14677. "warehouseinfoid": {
  14678. "description": "仓库ID",
  14679. "type": "string"
  14680. },
  14681. "warehousename": {
  14682. "description": "仓库名称",
  14683. "type": "string"
  14684. },
  14685. "warehousetype": {
  14686. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14687. "type": "integer"
  14688. },
  14689. "wrstandardcode": {
  14690. "description": "品类代码",
  14691. "type": "string"
  14692. },
  14693. "wrstandardid": {
  14694. "description": "品类ID",
  14695. "type": "integer"
  14696. },
  14697. "wrstandardname": {
  14698. "description": "品类名称",
  14699. "type": "string"
  14700. }
  14701. }
  14702. },
  14703. "models.Ermcp3ArealSumPL": {
  14704. "type": "object",
  14705. "properties": {
  14706. "accountname": {
  14707. "description": "机构名称",
  14708. "type": "string"
  14709. },
  14710. "areauserid": {
  14711. "description": "所属机构\\交易用户ID",
  14712. "type": "integer"
  14713. },
  14714. "begindate": {
  14715. "description": "开始交易日",
  14716. "type": "string"
  14717. },
  14718. "currencyid": {
  14719. "description": "结算币种ID",
  14720. "type": "integer"
  14721. },
  14722. "currencyname": {
  14723. "description": "币种名称",
  14724. "type": "string"
  14725. },
  14726. "cycletime": {
  14727. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14728. "type": "string"
  14729. },
  14730. "cycletype": {
  14731. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14732. "type": "integer"
  14733. },
  14734. "enddate": {
  14735. "description": "结束交易日",
  14736. "type": "string"
  14737. },
  14738. "enumdicname": {
  14739. "description": "单位名称(套保品种)",
  14740. "type": "string"
  14741. },
  14742. "futureactualpl": {
  14743. "description": "期货损益",
  14744. "type": "number"
  14745. },
  14746. "futurefloatpl": {
  14747. "description": "期货浮动损益",
  14748. "type": "number"
  14749. },
  14750. "goodsunitid": {
  14751. "description": "套保品种单位id",
  14752. "type": "integer"
  14753. },
  14754. "middlegoodscode": {
  14755. "description": "套保品种代码",
  14756. "type": "string"
  14757. },
  14758. "middlegoodsid": {
  14759. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14760. "type": "integer"
  14761. },
  14762. "middlegoodsname": {
  14763. "description": "套保品种名称",
  14764. "type": "string"
  14765. },
  14766. "reckondate": {
  14767. "description": "日照时期(yyyyMMdd)",
  14768. "type": "string"
  14769. },
  14770. "spotactualpl": {
  14771. "description": "现货损益",
  14772. "type": "number"
  14773. },
  14774. "spotfloatpl": {
  14775. "description": "现货浮动损益",
  14776. "type": "number"
  14777. },
  14778. "sumactualpl": {
  14779. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14780. "type": "number"
  14781. },
  14782. "sumpl": {
  14783. "description": "汇总损益",
  14784. "type": "number"
  14785. },
  14786. "updatetime": {
  14787. "description": "更新时间",
  14788. "type": "string"
  14789. }
  14790. }
  14791. },
  14792. "models.Ermcp3Brand": {
  14793. "type": "object",
  14794. "properties": {
  14795. "areauserid": {
  14796. "description": "用户id",
  14797. "type": "integer"
  14798. },
  14799. "brandid": {
  14800. "description": "品牌id",
  14801. "type": "integer"
  14802. },
  14803. "brandname": {
  14804. "description": "品牌名称",
  14805. "type": "string"
  14806. },
  14807. "deliverygoodsid": {
  14808. "description": "品种ID",
  14809. "type": "integer"
  14810. }
  14811. }
  14812. },
  14813. "models.Ermcp3Contract": {
  14814. "type": "object",
  14815. "properties": {
  14816. "accountid": {
  14817. "description": "期货账户id",
  14818. "type": "string"
  14819. },
  14820. "amount": {
  14821. "description": "金额 [1:一口价、3:暂定价]",
  14822. "type": "number"
  14823. },
  14824. "attachment": {
  14825. "description": "附件",
  14826. "type": "string"
  14827. },
  14828. "auditremark": {
  14829. "description": "审核意见",
  14830. "type": "string"
  14831. },
  14832. "audittime": {
  14833. "description": "审核时间",
  14834. "type": "string"
  14835. },
  14836. "biztype": {
  14837. "description": "业务类型 1-套保 2-套利",
  14838. "type": "integer"
  14839. },
  14840. "brandname": {
  14841. "description": "品牌名称",
  14842. "type": "string"
  14843. },
  14844. "buynickname": {
  14845. "description": "销售方昵称",
  14846. "type": "string"
  14847. },
  14848. "buyuserid": {
  14849. "description": "采购方ID",
  14850. "type": "integer"
  14851. },
  14852. "buyusername": {
  14853. "description": "采购方名称",
  14854. "type": "string"
  14855. },
  14856. "contracctstatus": {
  14857. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14858. "type": "integer"
  14859. },
  14860. "contractmargin": {
  14861. "description": "合同保证金",
  14862. "type": "number"
  14863. },
  14864. "contractno": {
  14865. "description": "现货合同编号",
  14866. "type": "string"
  14867. },
  14868. "contracttype": {
  14869. "description": "现货合同类型 - 1:采购 -1:销售",
  14870. "type": "integer"
  14871. },
  14872. "convertfactor": {
  14873. "description": "标仓系数(品类)",
  14874. "type": "number"
  14875. },
  14876. "createtime": {
  14877. "description": "创建时间",
  14878. "type": "string"
  14879. },
  14880. "currencyid": {
  14881. "description": "币种id",
  14882. "type": "integer"
  14883. },
  14884. "currencyname": {
  14885. "description": "币种名称",
  14886. "type": "string"
  14887. },
  14888. "deliveryenddate": {
  14889. "description": "交收期(结束)",
  14890. "type": "string"
  14891. },
  14892. "deliverygoodscode": {
  14893. "description": "现货品种代码",
  14894. "type": "string"
  14895. },
  14896. "deliverygoodsid": {
  14897. "description": "现货品种ID",
  14898. "type": "integer"
  14899. },
  14900. "deliverygoodsname": {
  14901. "description": "现货品种名称",
  14902. "type": "string"
  14903. },
  14904. "deliverystartdate": {
  14905. "description": "交收期(开始)",
  14906. "type": "string"
  14907. },
  14908. "enddate": {
  14909. "description": "点价结束日期 [2:点价 3:暂定价]",
  14910. "type": "string"
  14911. },
  14912. "enumdicname": {
  14913. "description": "单位名称",
  14914. "type": "string"
  14915. },
  14916. "goodscode": {
  14917. "description": "点价合约代码",
  14918. "type": "string"
  14919. },
  14920. "goodsid": {
  14921. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14922. "type": "integer"
  14923. },
  14924. "goodsname": {
  14925. "description": "点价商品名称",
  14926. "type": "string"
  14927. },
  14928. "margin": {
  14929. "description": "当前保证金",
  14930. "type": "number"
  14931. },
  14932. "meruserid": {
  14933. "description": "跟单员id",
  14934. "type": "integer"
  14935. },
  14936. "meruserlogincode": {
  14937. "description": "跟单员登录代码",
  14938. "type": "string"
  14939. },
  14940. "price": {
  14941. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14942. "type": "number"
  14943. },
  14944. "pricemove": {
  14945. "description": "升贴水 [2:点价 3:暂定价]",
  14946. "type": "number"
  14947. },
  14948. "pricetype": {
  14949. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14950. "type": "integer"
  14951. },
  14952. "producttype": {
  14953. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14954. "type": "integer"
  14955. },
  14956. "qty": {
  14957. "description": "数量",
  14958. "type": "number"
  14959. },
  14960. "remark": {
  14961. "description": "备注",
  14962. "type": "string"
  14963. },
  14964. "saleuserid": {
  14965. "description": "业务员id",
  14966. "type": "integer"
  14967. },
  14968. "saleuserlogincode": {
  14969. "description": "业务员登录代码",
  14970. "type": "string"
  14971. },
  14972. "sellnickname": {
  14973. "description": "采购方昵称",
  14974. "type": "string"
  14975. },
  14976. "selluserid": {
  14977. "description": "销售方ID",
  14978. "type": "integer"
  14979. },
  14980. "sellusername": {
  14981. "description": "销售方名称",
  14982. "type": "string"
  14983. },
  14984. "spotcontractid": {
  14985. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14986. "type": "string"
  14987. },
  14988. "spotgoodsbrandid": {
  14989. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14990. "type": "integer"
  14991. },
  14992. "spotgoodsdesc": {
  14993. "description": "商品型号",
  14994. "type": "string"
  14995. },
  14996. "startdate": {
  14997. "description": "点价开始日期 [2:点价 3:暂定价]",
  14998. "type": "string"
  14999. },
  15000. "tradeuserid": {
  15001. "description": "交易员id",
  15002. "type": "integer"
  15003. },
  15004. "tradeuserlogincode": {
  15005. "description": "交易员登录代码",
  15006. "type": "string"
  15007. },
  15008. "tradeusername": {
  15009. "description": "交易员名称",
  15010. "type": "string"
  15011. },
  15012. "unitid": {
  15013. "description": "单位id(取品类上的单位id)",
  15014. "type": "integer"
  15015. },
  15016. "updatetime": {
  15017. "description": "更新时间",
  15018. "type": "string"
  15019. },
  15020. "userid": {
  15021. "description": "所属机构ID",
  15022. "type": "integer"
  15023. },
  15024. "wrstandardcode": {
  15025. "description": "品类代码",
  15026. "type": "string"
  15027. },
  15028. "wrstandardid": {
  15029. "description": "品类ID",
  15030. "type": "integer"
  15031. },
  15032. "wrstandardname": {
  15033. "description": "品类名称",
  15034. "type": "string"
  15035. }
  15036. }
  15037. },
  15038. "models.Ermcp3ExposureContractDetail": {
  15039. "type": "object",
  15040. "properties": {
  15041. "biztype": {
  15042. "description": "业务类型 1-套保 2-套利",
  15043. "type": "integer"
  15044. },
  15045. "brandname": {
  15046. "description": "品牌名称",
  15047. "type": "string"
  15048. },
  15049. "buyuserid": {
  15050. "description": "采购方id",
  15051. "type": "integer"
  15052. },
  15053. "buyusername": {
  15054. "description": "采购方名称",
  15055. "type": "string"
  15056. },
  15057. "contractno": {
  15058. "description": "合同编号",
  15059. "type": "string"
  15060. },
  15061. "contracttype": {
  15062. "description": "现货合同类型 - 1:采购 -1:销售",
  15063. "type": "integer"
  15064. },
  15065. "convertfactor": {
  15066. "description": "标仓系数",
  15067. "type": "number"
  15068. },
  15069. "convertratio": {
  15070. "description": "折算系数(套保品种)",
  15071. "type": "number"
  15072. },
  15073. "curqty": {
  15074. "description": "今定价量",
  15075. "type": "number"
  15076. },
  15077. "deliverygoodscode": {
  15078. "description": "现货商品代码",
  15079. "type": "string"
  15080. },
  15081. "deliverygoodsid": {
  15082. "description": "现货商品id",
  15083. "type": "integer"
  15084. },
  15085. "deliverygoodsname": {
  15086. "description": "现货商品名称",
  15087. "type": "string"
  15088. },
  15089. "diffhedgeqty": {
  15090. "description": "套保变动量",
  15091. "type": "number"
  15092. },
  15093. "diffneedhedgeqty": {
  15094. "description": "应套保变动量",
  15095. "type": "number"
  15096. },
  15097. "diffqty": {
  15098. "description": "套保品种今变动量",
  15099. "type": "number"
  15100. },
  15101. "enumdicname": {
  15102. "description": "单位名称",
  15103. "type": "string"
  15104. },
  15105. "middlegoodscode": {
  15106. "description": "套保品种代码",
  15107. "type": "string"
  15108. },
  15109. "middlegoodsid": {
  15110. "description": "套保品种id",
  15111. "type": "integer"
  15112. },
  15113. "middlegoodsname": {
  15114. "description": "套保品种名称",
  15115. "type": "string"
  15116. },
  15117. "needarbitrageratio": {
  15118. "description": "应套利比例",
  15119. "type": "number"
  15120. },
  15121. "needhedgeratio": {
  15122. "description": "应套保比例",
  15123. "type": "number"
  15124. },
  15125. "pricedqty": {
  15126. "description": "已定价量",
  15127. "type": "number"
  15128. },
  15129. "qty": {
  15130. "description": "合同量",
  15131. "type": "number"
  15132. },
  15133. "selluserid": {
  15134. "description": "销售方id",
  15135. "type": "integer"
  15136. },
  15137. "sellusername": {
  15138. "description": "销售方名称",
  15139. "type": "string"
  15140. },
  15141. "spotcontractid": {
  15142. "description": "合同id",
  15143. "type": "string"
  15144. },
  15145. "todaypricedqty": {
  15146. "description": "今定价量",
  15147. "type": "number"
  15148. },
  15149. "tradedate": {
  15150. "description": "交易日",
  15151. "type": "string"
  15152. },
  15153. "unitid": {
  15154. "description": "品类单位id",
  15155. "type": "integer"
  15156. },
  15157. "userid": {
  15158. "description": "机构id",
  15159. "type": "integer"
  15160. },
  15161. "wrstandardcode": {
  15162. "description": "品类代码",
  15163. "type": "string"
  15164. },
  15165. "wrstandardid": {
  15166. "description": "品类id",
  15167. "type": "integer"
  15168. },
  15169. "wrstandardname": {
  15170. "description": "品类名称",
  15171. "type": "string"
  15172. }
  15173. }
  15174. },
  15175. "models.Ermcp3ExposureDetail": {
  15176. "type": "object",
  15177. "properties": {
  15178. "areauserid": {
  15179. "description": "机构ID",
  15180. "type": "integer"
  15181. },
  15182. "changeQty": {
  15183. "description": "套保变动量",
  15184. "type": "number"
  15185. },
  15186. "contracttype": {
  15187. "description": "现货合同类型 - 1:采购 -1:销售",
  15188. "type": "integer"
  15189. },
  15190. "convertfactor": {
  15191. "description": "标仓系数",
  15192. "type": "number"
  15193. },
  15194. "convertratio": {
  15195. "description": "套保系数",
  15196. "type": "number"
  15197. },
  15198. "createtime": {
  15199. "description": "时间",
  15200. "type": "string"
  15201. },
  15202. "deliverygoodscode": {
  15203. "description": "现货品种代码",
  15204. "type": "string"
  15205. },
  15206. "deliverygoodsid": {
  15207. "description": "现货品种id",
  15208. "type": "integer"
  15209. },
  15210. "deliverygoodsname": {
  15211. "description": "现货品种名称",
  15212. "type": "string"
  15213. },
  15214. "enumdicname": {
  15215. "description": "现货商品单位名称",
  15216. "type": "string"
  15217. },
  15218. "logtype": {
  15219. "description": "类型 - 1:套保计划 2:现货合同",
  15220. "type": "integer"
  15221. },
  15222. "mgunitid": {
  15223. "description": "套保品种单位id",
  15224. "type": "integer"
  15225. },
  15226. "mgunitidname": {
  15227. "description": "套保品种单位名称",
  15228. "type": "string"
  15229. },
  15230. "middlegoodsId": {
  15231. "description": "套保商品id",
  15232. "type": "integer"
  15233. },
  15234. "middlegoodscode": {
  15235. "description": "套保商品代码",
  15236. "type": "string"
  15237. },
  15238. "middlegoodsname": {
  15239. "description": "套保商品名称",
  15240. "type": "string"
  15241. },
  15242. "qty": {
  15243. "description": "数量",
  15244. "type": "number"
  15245. },
  15246. "relateNo": {
  15247. "description": "现货合同/套保计划编号",
  15248. "type": "string"
  15249. }
  15250. }
  15251. },
  15252. "models.Ermcp3ExposureFutuDetail": {
  15253. "type": "object",
  15254. "properties": {
  15255. "accountid": {
  15256. "description": "交易账户id",
  15257. "type": "integer"
  15258. },
  15259. "accountname": {
  15260. "description": "交易账户",
  15261. "type": "string"
  15262. },
  15263. "begindate": {
  15264. "description": "开始交易日",
  15265. "type": "string"
  15266. },
  15267. "buyorsell": {
  15268. "description": "方向 0-买 1-卖",
  15269. "type": "integer"
  15270. },
  15271. "diffmgqty": {
  15272. "description": "套保品种今变化量",
  15273. "type": "number"
  15274. },
  15275. "diffneedqty": {
  15276. "description": "应套保总量变化量",
  15277. "type": "number"
  15278. },
  15279. "difftradeqty": {
  15280. "description": "交易品种今变化量",
  15281. "type": "number"
  15282. },
  15283. "enddate": {
  15284. "description": "结束交易日",
  15285. "type": "string"
  15286. },
  15287. "enumdicname": {
  15288. "description": "单位名称",
  15289. "type": "string"
  15290. },
  15291. "goodscode": {
  15292. "description": "商品代码",
  15293. "type": "string"
  15294. },
  15295. "goodsid": {
  15296. "description": "商品id",
  15297. "type": "integer"
  15298. },
  15299. "goodsname": {
  15300. "description": "商品名称",
  15301. "type": "string"
  15302. },
  15303. "holdqty": {
  15304. "description": "期末持仓量",
  15305. "type": "number"
  15306. },
  15307. "middlegoodscode": {
  15308. "description": "套保商品代码",
  15309. "type": "string"
  15310. },
  15311. "middlegoodsid": {
  15312. "description": "套保商品id",
  15313. "type": "integer"
  15314. },
  15315. "middlegoodsname": {
  15316. "description": "套保商品名称",
  15317. "type": "string"
  15318. },
  15319. "oriholdqty": {
  15320. "description": "期初持仓量",
  15321. "type": "number"
  15322. },
  15323. "todaycloseqty": {
  15324. "description": "今平仓量",
  15325. "type": "number"
  15326. },
  15327. "todayopenqty": {
  15328. "description": "今开仓量",
  15329. "type": "number"
  15330. },
  15331. "tradedate": {
  15332. "description": "交易日",
  15333. "type": "string"
  15334. }
  15335. }
  15336. },
  15337. "models.Ermcp3ExposureHedgeplanDetail": {
  15338. "type": "object",
  15339. "properties": {
  15340. "biztype": {
  15341. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15342. "type": "integer"
  15343. },
  15344. "changqty": {
  15345. "description": "应套保总量变化量",
  15346. "type": "number"
  15347. },
  15348. "contracttype": {
  15349. "description": "计划类型 - 1:采购 -1:销售",
  15350. "type": "integer"
  15351. },
  15352. "convertratio": {
  15353. "description": "折算系数(套保品种)",
  15354. "type": "number"
  15355. },
  15356. "deliverygoodscode": {
  15357. "description": "现货商品代码",
  15358. "type": "string"
  15359. },
  15360. "deliverygoodsid": {
  15361. "description": "现货商品id",
  15362. "type": "integer"
  15363. },
  15364. "deliverygoodsname": {
  15365. "description": "现货商吕名称",
  15366. "type": "string"
  15367. },
  15368. "dgunitid": {
  15369. "description": "现货商品单位id",
  15370. "type": "integer"
  15371. },
  15372. "dgunitidname": {
  15373. "description": "单位名称(现货商品)",
  15374. "type": "string"
  15375. },
  15376. "diffqty": {
  15377. "description": "套保品种今变动量",
  15378. "type": "number"
  15379. },
  15380. "enumdicname": {
  15381. "description": "单位名称(品类)",
  15382. "type": "string"
  15383. },
  15384. "hedgeplanid": {
  15385. "description": "套保计划id",
  15386. "type": "string"
  15387. },
  15388. "hedgeplanno": {
  15389. "description": "套保计划名称",
  15390. "type": "string"
  15391. },
  15392. "hedgeplanstatus": {
  15393. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15394. "type": "integer"
  15395. },
  15396. "mgunitidname": {
  15397. "description": "单位名称(套保商品)",
  15398. "type": "string"
  15399. },
  15400. "middlegoodscode": {
  15401. "description": "套保品种代码",
  15402. "type": "string"
  15403. },
  15404. "middlegoodsid": {
  15405. "description": "套保品种id",
  15406. "type": "integer"
  15407. },
  15408. "middlegoodsname": {
  15409. "description": "套保品种名称",
  15410. "type": "string"
  15411. },
  15412. "needarbitrageratio": {
  15413. "description": "应套利比例",
  15414. "type": "number"
  15415. },
  15416. "needhedgeratio": {
  15417. "description": "应套保比例",
  15418. "type": "number"
  15419. },
  15420. "pricedqty": {
  15421. "description": "已定价量",
  15422. "type": "number"
  15423. },
  15424. "qty": {
  15425. "description": "合同量",
  15426. "type": "number"
  15427. },
  15428. "tradedate": {
  15429. "description": "交易日(登记日)",
  15430. "type": "string"
  15431. },
  15432. "unitid": {
  15433. "description": "品类单位id",
  15434. "type": "integer"
  15435. },
  15436. "userid": {
  15437. "description": "机构id",
  15438. "type": "integer"
  15439. },
  15440. "wrstandardcode": {
  15441. "description": "品类代码",
  15442. "type": "string"
  15443. },
  15444. "wrstandardid": {
  15445. "description": "品类id",
  15446. "type": "integer"
  15447. },
  15448. "wrstandardname": {
  15449. "description": "品类名称",
  15450. "type": "string"
  15451. }
  15452. }
  15453. },
  15454. "models.Ermcp3ExpourseReport": {
  15455. "type": "object",
  15456. "properties": {
  15457. "accountid": {
  15458. "description": "期货账户ID (作废, 默认为0)",
  15459. "type": "integer"
  15460. },
  15461. "accountname": {
  15462. "description": "机构名称",
  15463. "type": "string"
  15464. },
  15465. "arbitrageqty": {
  15466. "description": "套利量",
  15467. "type": "number"
  15468. },
  15469. "areauserid": {
  15470. "description": "所属机构\\交易用户ID",
  15471. "type": "integer"
  15472. },
  15473. "begindate": {
  15474. "description": "开始交易日",
  15475. "type": "string"
  15476. },
  15477. "buyfutureqty": {
  15478. "description": "买入期货数量",
  15479. "type": "number"
  15480. },
  15481. "buyplanqty": {
  15482. "description": "采购计划数量",
  15483. "type": "number"
  15484. },
  15485. "buypricedqty": {
  15486. "description": "采购合同已定价数量",
  15487. "type": "number"
  15488. },
  15489. "cycletime": {
  15490. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15491. "type": "string"
  15492. },
  15493. "cycletype": {
  15494. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15495. "type": "integer"
  15496. },
  15497. "diffexposure": {
  15498. "description": "变动量(套保敞口)",
  15499. "type": "number"
  15500. },
  15501. "difffutuqty": {
  15502. "description": "变动量(期货)",
  15503. "type": "number"
  15504. },
  15505. "diffhedgeqty": {
  15506. "description": "变动量(现货应套保总量)",
  15507. "type": "number"
  15508. },
  15509. "diffmgqtya": {
  15510. "description": "套保变动量",
  15511. "type": "number"
  15512. },
  15513. "diffmgqtyb": {
  15514. "description": "套利变动量",
  15515. "type": "number"
  15516. },
  15517. "diffqty": {
  15518. "description": "变动量(总敞口)",
  15519. "type": "number"
  15520. },
  15521. "diffspotqty": {
  15522. "description": "变动量(现货)",
  15523. "type": "number"
  15524. },
  15525. "enddate": {
  15526. "description": "结束交易日",
  15527. "type": "string"
  15528. },
  15529. "enumdicname": {
  15530. "description": "单位名称",
  15531. "type": "string"
  15532. },
  15533. "hedgeqty": {
  15534. "description": "套保量",
  15535. "type": "number"
  15536. },
  15537. "mgneedhedgeratio": {
  15538. "description": "套保比例(套保品的)",
  15539. "type": "number"
  15540. },
  15541. "middlegoodsid": {
  15542. "description": "套保品种ID",
  15543. "type": "integer"
  15544. },
  15545. "middlegoodsname": {
  15546. "description": "套保商品名称",
  15547. "type": "string"
  15548. },
  15549. "middlgoodscode": {
  15550. "description": "套保商品代码",
  15551. "type": "string"
  15552. },
  15553. "needarbitrageqty": {
  15554. "description": "应套利量",
  15555. "type": "number"
  15556. },
  15557. "needarbitrageratio": {
  15558. "description": "套利比例(套保品的)",
  15559. "type": "number"
  15560. },
  15561. "needhedgeexposoure": {
  15562. "description": "应套保敞口(套保敞口)",
  15563. "type": "number"
  15564. },
  15565. "needhedgeqty": {
  15566. "description": "应套保量",
  15567. "type": "number"
  15568. },
  15569. "needhedgeratio": {
  15570. "description": "应套保敞口比例",
  15571. "type": "number"
  15572. },
  15573. "oriarbitrageqty": {
  15574. "description": "期初套利量",
  15575. "type": "number"
  15576. },
  15577. "oribuyfutureqty": {
  15578. "description": "期初买入期货数量",
  15579. "type": "number"
  15580. },
  15581. "oribuyplanqty": {
  15582. "description": "期初采购计划数量",
  15583. "type": "number"
  15584. },
  15585. "oribuypricedqty": {
  15586. "description": "期初采购合同已定价数量",
  15587. "type": "number"
  15588. },
  15589. "orihedgeqty": {
  15590. "description": "期初套保量",
  15591. "type": "number"
  15592. },
  15593. "orineedarbitrageqty": {
  15594. "description": "期初应套利量",
  15595. "type": "number"
  15596. },
  15597. "orineedhedgeexposoure": {
  15598. "description": "期初应套保敞口",
  15599. "type": "number"
  15600. },
  15601. "orineedhedgeqty": {
  15602. "description": "期初应套保量",
  15603. "type": "number"
  15604. },
  15605. "orisellfutureqty": {
  15606. "description": "期初卖出期货数量",
  15607. "type": "number"
  15608. },
  15609. "orisellplanqty": {
  15610. "description": "期初销售计划数量",
  15611. "type": "number"
  15612. },
  15613. "orisellpricedqty": {
  15614. "description": "期初销售合同已定价数量",
  15615. "type": "number"
  15616. },
  15617. "oritotalexposure": {
  15618. "description": "期初实时总敞口",
  15619. "type": "number"
  15620. },
  15621. "oritotalfutureqty": {
  15622. "description": "期初期货头寸总量",
  15623. "type": "number"
  15624. },
  15625. "oritotalneedhedgeqty": {
  15626. "description": "期初应套保总量",
  15627. "type": "number"
  15628. },
  15629. "oritotalspotqty": {
  15630. "description": "期初现货头寸总量",
  15631. "type": "number"
  15632. },
  15633. "reckondate": {
  15634. "description": "日照时期(yyyyMMdd)",
  15635. "type": "string"
  15636. },
  15637. "sellfutureqty": {
  15638. "description": "卖出期货数量",
  15639. "type": "number"
  15640. },
  15641. "sellplanqty": {
  15642. "description": "销售计划数量",
  15643. "type": "number"
  15644. },
  15645. "sellpricedqty": {
  15646. "description": "销售合同已定价数量",
  15647. "type": "number"
  15648. },
  15649. "totalexposure": {
  15650. "description": "实时总敞口(总敞口)",
  15651. "type": "number"
  15652. },
  15653. "totalfutureqty": {
  15654. "description": "期货头寸总量(期货总量)",
  15655. "type": "number"
  15656. },
  15657. "totalhedgeratio": {
  15658. "description": "敞口比例",
  15659. "type": "number"
  15660. },
  15661. "totalneedhedgeqty": {
  15662. "description": "应套保总量(现货应套保总量)",
  15663. "type": "number"
  15664. },
  15665. "totalspotqty": {
  15666. "description": "现货头寸总量",
  15667. "type": "number"
  15668. },
  15669. "unitid": {
  15670. "description": "单位id",
  15671. "type": "integer"
  15672. },
  15673. "updatetime": {
  15674. "description": "更新时间",
  15675. "type": "string"
  15676. }
  15677. }
  15678. },
  15679. "models.Ermcp3FinanceReport": {
  15680. "type": "object",
  15681. "properties": {
  15682. "accountname": {
  15683. "description": "机构名称",
  15684. "type": "string"
  15685. },
  15686. "areauserid": {
  15687. "description": "所属机构\\交易用户ID",
  15688. "type": "integer"
  15689. },
  15690. "begindate": {
  15691. "description": "开始交易日",
  15692. "type": "string"
  15693. },
  15694. "biztype": {
  15695. "description": "业务类型 - 1:套保 2:套利",
  15696. "type": "integer"
  15697. },
  15698. "brandname": {
  15699. "description": "品牌名称",
  15700. "type": "string"
  15701. },
  15702. "buypreinvoicedamount": {
  15703. "description": "采购预收票额(预收票额)",
  15704. "type": "number"
  15705. },
  15706. "buyprepaidamount": {
  15707. "description": "采购预付款额(预付货款额)",
  15708. "type": "number"
  15709. },
  15710. "buytodayinvoiceamount": {
  15711. "description": "采购今收票额(今收票额)",
  15712. "type": "number"
  15713. },
  15714. "buytodayrefundamount": {
  15715. "description": "采购今收退款额(今收退款额)",
  15716. "type": "number"
  15717. },
  15718. "buytodaysettleamount": {
  15719. "description": "采购今付款额(今付货款额)",
  15720. "type": "number"
  15721. },
  15722. "buyuninvoicedamount": {
  15723. "description": "采购应收票额(应收票额)",
  15724. "type": "number"
  15725. },
  15726. "buyunpaidamount": {
  15727. "description": "采购应付款额(应付货款额)",
  15728. "type": "number"
  15729. },
  15730. "currencyid": {
  15731. "description": "结算币种ID",
  15732. "type": "integer"
  15733. },
  15734. "currencyname": {
  15735. "description": "币种名称",
  15736. "type": "string"
  15737. },
  15738. "cycletime": {
  15739. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15740. "type": "string"
  15741. },
  15742. "cycletype": {
  15743. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15744. "type": "integer"
  15745. },
  15746. "deliverygoodscode": {
  15747. "description": "现货品种代码",
  15748. "type": "string"
  15749. },
  15750. "deliverygoodsid": {
  15751. "description": "现货品种ID",
  15752. "type": "integer"
  15753. },
  15754. "deliverygoodsname": {
  15755. "description": "现货品种名称",
  15756. "type": "string"
  15757. },
  15758. "enddate": {
  15759. "description": "结束交易日",
  15760. "type": "string"
  15761. },
  15762. "reckondate": {
  15763. "description": "日照时期(yyyyMMdd)",
  15764. "type": "string"
  15765. },
  15766. "sellpreinvoicedamount": {
  15767. "description": "销售预开票额(预开票额)",
  15768. "type": "number"
  15769. },
  15770. "sellprepaidamount": {
  15771. "description": "销售预收款额(预收货款额)",
  15772. "type": "number"
  15773. },
  15774. "selltodayinvoiceamount": {
  15775. "description": "销售今开票额(今开票额)",
  15776. "type": "number"
  15777. },
  15778. "selltodayrefundamount": {
  15779. "description": "销售今付退款额(今付退款额)",
  15780. "type": "number"
  15781. },
  15782. "selltodaysettleamount": {
  15783. "description": "销售今收款额(今收货款额)",
  15784. "type": "number"
  15785. },
  15786. "selluninvoicedamount": {
  15787. "description": "销售应开票额(应开票额)",
  15788. "type": "number"
  15789. },
  15790. "sellunpaidamount": {
  15791. "description": "销售应收款额(应收货款额)",
  15792. "type": "number"
  15793. },
  15794. "spotgoodsbrandid": {
  15795. "description": "现货品牌ID",
  15796. "type": "integer"
  15797. },
  15798. "todaypaysum": {
  15799. "description": "今付款合计",
  15800. "type": "number"
  15801. },
  15802. "todayreceivesum": {
  15803. "description": "今收款合计",
  15804. "type": "number"
  15805. },
  15806. "updatetime": {
  15807. "description": "更新时间",
  15808. "type": "string"
  15809. },
  15810. "wrfactortypeid": {
  15811. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15812. "type": "integer"
  15813. },
  15814. "wrstandardcode": {
  15815. "description": "品类代码",
  15816. "type": "string"
  15817. },
  15818. "wrstandardid": {
  15819. "description": "现货商品ID",
  15820. "type": "integer"
  15821. },
  15822. "wrstandardname": {
  15823. "description": "品类名称",
  15824. "type": "string"
  15825. }
  15826. }
  15827. },
  15828. "models.Ermcp3Goods": {
  15829. "type": "object",
  15830. "properties": {
  15831. "agreeunit": {
  15832. "description": "合约单位(合约乘数)",
  15833. "type": "number"
  15834. },
  15835. "enumdicname": {
  15836. "description": "单位名称",
  15837. "type": "string"
  15838. },
  15839. "exexchangecode": {
  15840. "description": "交易所代码",
  15841. "type": "string"
  15842. },
  15843. "goodscode": {
  15844. "description": "期货商品代码",
  15845. "type": "string"
  15846. },
  15847. "goodsid": {
  15848. "description": "期货商品id",
  15849. "type": "integer"
  15850. },
  15851. "goodsname": {
  15852. "description": "期货商品名称",
  15853. "type": "string"
  15854. }
  15855. }
  15856. },
  15857. "models.Ermcp3GoodsGroup": {
  15858. "type": "object",
  15859. "required": [
  15860. "areauserid"
  15861. ],
  15862. "properties": {
  15863. "agreeunit": {
  15864. "description": "合约单位",
  15865. "type": "number"
  15866. },
  15867. "areauserid": {
  15868. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15869. "type": "integer"
  15870. },
  15871. "canshort": {
  15872. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15873. "type": "integer"
  15874. },
  15875. "closepricemode": {
  15876. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15877. "type": "integer"
  15878. },
  15879. "createtime": {
  15880. "description": "创建时间",
  15881. "type": "string"
  15882. },
  15883. "creatorid": {
  15884. "description": "创建人",
  15885. "type": "integer"
  15886. },
  15887. "currencyid": {
  15888. "description": "报价货币ID",
  15889. "type": "integer"
  15890. },
  15891. "decimalplace": {
  15892. "description": "报价小数位",
  15893. "type": "integer"
  15894. },
  15895. "enumdicname": {
  15896. "description": "单位名称",
  15897. "type": "string"
  15898. },
  15899. "exchangefullname": {
  15900. "description": "交易所全称",
  15901. "type": "string"
  15902. },
  15903. "excludecfg": {
  15904. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15905. "type": "integer"
  15906. },
  15907. "exexchangecode": {
  15908. "description": "交易所代码",
  15909. "type": "string"
  15910. },
  15911. "exexchangeid": {
  15912. "description": "外部交易所ID[通道交易]",
  15913. "type": "integer"
  15914. },
  15915. "exexchangename": {
  15916. "description": "交易所名称",
  15917. "type": "string"
  15918. },
  15919. "goodsgroupid": {
  15920. "description": "商品组ID(自增ID)",
  15921. "type": "integer"
  15922. },
  15923. "goodsgroupname": {
  15924. "description": "商品组名称",
  15925. "type": "string"
  15926. },
  15927. "goodsgroupstatus": {
  15928. "description": "商品组状态 - 1:正常 2:注销",
  15929. "type": "integer"
  15930. },
  15931. "goodunitid": {
  15932. "description": "报价单位ID",
  15933. "type": "integer"
  15934. },
  15935. "groupcategroyid": {
  15936. "description": "品种分类ID",
  15937. "type": "integer"
  15938. },
  15939. "innerdealmode": {
  15940. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15941. "type": "integer"
  15942. },
  15943. "marketid": {
  15944. "description": "所属市场ID",
  15945. "type": "integer"
  15946. },
  15947. "modifierid": {
  15948. "description": "修改人",
  15949. "type": "integer"
  15950. },
  15951. "modifytime": {
  15952. "description": "修改时间",
  15953. "type": "string"
  15954. },
  15955. "outerdealmode": {
  15956. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15957. "type": "integer"
  15958. },
  15959. "outergroupcode": {
  15960. "description": "外部商品组代码[通道交易]",
  15961. "type": "string"
  15962. },
  15963. "quoteminunit": {
  15964. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15965. "type": "integer"
  15966. },
  15967. "quotesourcegroupid": {
  15968. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15969. "type": "integer"
  15970. },
  15971. "syncgoodsqty": {
  15972. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15973. "type": "integer"
  15974. }
  15975. }
  15976. },
  15977. "models.Ermcp3GoodsGroupEx": {
  15978. "type": "object",
  15979. "properties": {
  15980. "convertratio": {
  15981. "description": "折算系数(品种系数)",
  15982. "type": "number"
  15983. },
  15984. "enumdicname": {
  15985. "description": "单位名称",
  15986. "type": "string"
  15987. },
  15988. "exexchangecode": {
  15989. "description": "交易所代码",
  15990. "type": "string"
  15991. },
  15992. "glist": {
  15993. "description": "合约列表",
  15994. "type": "array",
  15995. "items": {
  15996. "$ref": "#/definitions/models.Ermcp3Goods"
  15997. }
  15998. },
  15999. "goodsgroupid": {
  16000. "description": "商品组id",
  16001. "type": "integer"
  16002. },
  16003. "goodsgroupname": {
  16004. "description": "商品组名称",
  16005. "type": "string"
  16006. },
  16007. "goodsunitid": {
  16008. "description": "单位id",
  16009. "type": "integer"
  16010. },
  16011. "middlegoodsid": {
  16012. "description": "套保商品id",
  16013. "type": "integer"
  16014. }
  16015. }
  16016. },
  16017. "models.Ermcp3HedgePlan": {
  16018. "type": "object",
  16019. "properties": {
  16020. "accountid": {
  16021. "description": "资金账号",
  16022. "type": "integer"
  16023. },
  16024. "areauserid": {
  16025. "description": "用户ID",
  16026. "type": "integer"
  16027. },
  16028. "audittime": {
  16029. "description": "审核时间",
  16030. "type": "string"
  16031. },
  16032. "contracttype": {
  16033. "description": "计划类型 - 1:采购 -1:销售",
  16034. "type": "integer"
  16035. },
  16036. "convertfactor": {
  16037. "description": "标仓系数",
  16038. "type": "number"
  16039. },
  16040. "createtime": {
  16041. "description": "创建时间",
  16042. "type": "string"
  16043. },
  16044. "currencyid": {
  16045. "description": "币种id",
  16046. "type": "integer"
  16047. },
  16048. "currencyname": {
  16049. "description": "币种名称",
  16050. "type": "string"
  16051. },
  16052. "deliverygoodscode": {
  16053. "description": "现货品种代码",
  16054. "type": "string"
  16055. },
  16056. "deliverygoodsid": {
  16057. "description": "现货品种ID",
  16058. "type": "integer"
  16059. },
  16060. "deliverygoodsname": {
  16061. "description": "现货品种名称",
  16062. "type": "string"
  16063. },
  16064. "enumdicname": {
  16065. "description": "单位名称(现货商品)",
  16066. "type": "string"
  16067. },
  16068. "hedgeplanid": {
  16069. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  16070. "type": "string"
  16071. },
  16072. "hedgeplanno": {
  16073. "description": "套保计划编号(名称)",
  16074. "type": "string"
  16075. },
  16076. "hedgeplanstatus": {
  16077. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16078. "type": "integer"
  16079. },
  16080. "planqty": {
  16081. "description": "计划数量",
  16082. "type": "number"
  16083. },
  16084. "plantime": {
  16085. "description": "计划时间",
  16086. "type": "string"
  16087. },
  16088. "producttype": {
  16089. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16090. "type": "integer"
  16091. },
  16092. "remark": {
  16093. "description": "备注",
  16094. "type": "string"
  16095. },
  16096. "spotgoodsdesc": {
  16097. "description": "商品型号",
  16098. "type": "string"
  16099. },
  16100. "taaccountname": {
  16101. "description": "资金账号名称",
  16102. "type": "string"
  16103. },
  16104. "tradeuserid": {
  16105. "description": "交易用户id",
  16106. "type": "integer"
  16107. },
  16108. "tradeusername": {
  16109. "description": "交易用户名称",
  16110. "type": "string"
  16111. },
  16112. "unitid": {
  16113. "description": "单位id(现货商品)",
  16114. "type": "integer"
  16115. },
  16116. "updatetime": {
  16117. "description": "更新时间",
  16118. "type": "string"
  16119. },
  16120. "wrstandardcode": {
  16121. "description": "品类代码",
  16122. "type": "string"
  16123. },
  16124. "wrstandardid": {
  16125. "description": "品类id",
  16126. "type": "integer"
  16127. },
  16128. "wrstandardname": {
  16129. "description": "品类名称",
  16130. "type": "string"
  16131. },
  16132. "wrunitid": {
  16133. "description": "品类单位id",
  16134. "type": "integer"
  16135. },
  16136. "wrunitidame": {
  16137. "description": "品类单位名称",
  16138. "type": "string"
  16139. }
  16140. }
  16141. },
  16142. "models.Ermcp3MiddleGoodsDetail2": {
  16143. "type": "object",
  16144. "properties": {
  16145. "convertratio": {
  16146. "description": "套保系数(折算系数)",
  16147. "type": "number"
  16148. },
  16149. "gplist": {
  16150. "description": "关联商品组列表",
  16151. "type": "array",
  16152. "items": {
  16153. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16154. }
  16155. },
  16156. "mg": {
  16157. "description": "套保商品信息",
  16158. "type": "object",
  16159. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16160. }
  16161. }
  16162. },
  16163. "models.Ermcp3MiddleGoodsDetailEx": {
  16164. "type": "object",
  16165. "properties": {
  16166. "dglist": {
  16167. "description": "关联的现货品种列表",
  16168. "type": "array",
  16169. "items": {
  16170. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  16171. }
  16172. },
  16173. "gplist": {
  16174. "description": "关联商品组列表",
  16175. "type": "array",
  16176. "items": {
  16177. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  16178. }
  16179. },
  16180. "mg": {
  16181. "description": "套保商品信息",
  16182. "type": "object",
  16183. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16184. }
  16185. }
  16186. },
  16187. "models.Ermcp3RootUserAccount": {
  16188. "type": "object",
  16189. "properties": {
  16190. "accountname": {
  16191. "description": "账户名称(机构名称)",
  16192. "type": "string"
  16193. },
  16194. "accountstatus": {
  16195. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16196. "type": "integer"
  16197. },
  16198. "applysrc": {
  16199. "description": "申请来源 - 1:管理端 2:终端",
  16200. "type": "integer"
  16201. },
  16202. "auditremark": {
  16203. "description": "审核备注",
  16204. "type": "string"
  16205. },
  16206. "auditsrc": {
  16207. "description": "审核来源 - 1:管理端 2:终端",
  16208. "type": "integer"
  16209. },
  16210. "audittime": {
  16211. "description": "审核时间",
  16212. "type": "string"
  16213. },
  16214. "audituserid": {
  16215. "description": "审核人",
  16216. "type": "integer"
  16217. },
  16218. "broker": {
  16219. "description": "所属经纪人ID",
  16220. "type": "integer"
  16221. },
  16222. "canceltime": {
  16223. "description": "销户时间",
  16224. "type": "string"
  16225. },
  16226. "canceluserid": {
  16227. "description": "销户人",
  16228. "type": "integer"
  16229. },
  16230. "canrecommend": {
  16231. "description": "是否可推荐 - 0:不可 1;可",
  16232. "type": "integer"
  16233. },
  16234. "createtime": {
  16235. "description": "创建时间",
  16236. "type": "string"
  16237. },
  16238. "creatorid": {
  16239. "description": "创建人",
  16240. "type": "integer"
  16241. },
  16242. "hasauth": {
  16243. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  16244. "type": "integer"
  16245. },
  16246. "isanonymous": {
  16247. "description": "是否匿名下单 - 0:否 1:是",
  16248. "type": "integer"
  16249. },
  16250. "maxinvestornum": {
  16251. "description": "最大用户数(经纪会员下投资者个数)",
  16252. "type": "integer"
  16253. },
  16254. "memberuserid": {
  16255. "description": "所属会员ID",
  16256. "type": "integer"
  16257. },
  16258. "modifierid": {
  16259. "description": "修改人",
  16260. "type": "integer"
  16261. },
  16262. "modifyremark": {
  16263. "description": "变更备注",
  16264. "type": "string"
  16265. },
  16266. "modifystatus": {
  16267. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  16268. "type": "integer"
  16269. },
  16270. "modifytime": {
  16271. "description": "修改时间",
  16272. "type": "string"
  16273. },
  16274. "parenttopuser": {
  16275. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  16276. "type": "string"
  16277. },
  16278. "parentuserid": {
  16279. "description": "所属机构ID",
  16280. "type": "integer"
  16281. },
  16282. "reckonaccountid": {
  16283. "description": "默认结算资金账号ID(机构分润使用) 作废",
  16284. "type": "integer"
  16285. },
  16286. "refercount": {
  16287. "description": "推荐总人数",
  16288. "type": "integer"
  16289. },
  16290. "refereeuserid": {
  16291. "description": "推荐人ID",
  16292. "type": "integer"
  16293. },
  16294. "refernum": {
  16295. "description": "推荐码",
  16296. "type": "string"
  16297. },
  16298. "rootuserid": {
  16299. "description": "根用户ID",
  16300. "type": "integer"
  16301. },
  16302. "subaccountlevel": {
  16303. "description": "子账户层数",
  16304. "type": "integer"
  16305. },
  16306. "subarealevelpath": {
  16307. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  16308. "type": "string"
  16309. },
  16310. "userid": {
  16311. "description": "用户ID",
  16312. "type": "integer"
  16313. },
  16314. "usertype": {
  16315. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16316. "type": "integer"
  16317. }
  16318. }
  16319. },
  16320. "models.Ermcp3SellBuyContract": {
  16321. "type": "object",
  16322. "properties": {
  16323. "accountid": {
  16324. "description": "期货账户id",
  16325. "type": "string"
  16326. },
  16327. "accountname": {
  16328. "description": "账户名称",
  16329. "type": "string"
  16330. },
  16331. "attachment": {
  16332. "description": "附件",
  16333. "type": "string"
  16334. },
  16335. "audittime": {
  16336. "description": "审核时间",
  16337. "type": "string"
  16338. },
  16339. "biztype": {
  16340. "description": "业务类型 1-套保 2-套利",
  16341. "type": "integer"
  16342. },
  16343. "brandname": {
  16344. "description": "品牌名称",
  16345. "type": "string"
  16346. },
  16347. "contracctstatus": {
  16348. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16349. "type": "integer"
  16350. },
  16351. "contractmargin": {
  16352. "description": "合同保证金",
  16353. "type": "number"
  16354. },
  16355. "contractno": {
  16356. "description": "合同编号",
  16357. "type": "string"
  16358. },
  16359. "contracttype": {
  16360. "description": "合同类型 1-采购, -1-销售",
  16361. "type": "integer"
  16362. },
  16363. "convertfactor": {
  16364. "description": "标仓系数(品类)",
  16365. "type": "number"
  16366. },
  16367. "createtime": {
  16368. "description": "创建时间",
  16369. "type": "string"
  16370. },
  16371. "currencyid": {
  16372. "description": "币种id",
  16373. "type": "integer"
  16374. },
  16375. "currencyname": {
  16376. "description": "币种名称",
  16377. "type": "string"
  16378. },
  16379. "daikaiamount": {
  16380. "description": "应收(开)票额",
  16381. "type": "number"
  16382. },
  16383. "deliveryenddate": {
  16384. "description": "交割结束日",
  16385. "type": "string"
  16386. },
  16387. "deliverygoodscode": {
  16388. "description": "现货品种代码",
  16389. "type": "string"
  16390. },
  16391. "deliverygoodsid": {
  16392. "description": "现货商品ID",
  16393. "type": "integer"
  16394. },
  16395. "deliverygoodsname": {
  16396. "description": "现货品种名称",
  16397. "type": "string"
  16398. },
  16399. "deliverystartdate": {
  16400. "description": "交割开始日",
  16401. "type": "string"
  16402. },
  16403. "enddate": {
  16404. "description": "点价结束日",
  16405. "type": "string"
  16406. },
  16407. "enumdicname": {
  16408. "description": "单位名称",
  16409. "type": "string"
  16410. },
  16411. "goodscode": {
  16412. "description": "点价商品代码",
  16413. "type": "string"
  16414. },
  16415. "goodsid": {
  16416. "description": "点价商品ID",
  16417. "type": "integer"
  16418. },
  16419. "goodsname": {
  16420. "description": "点价商品名称",
  16421. "type": "string"
  16422. },
  16423. "invoiceamount": {
  16424. "description": "已开票额",
  16425. "type": "number"
  16426. },
  16427. "loanamount": {
  16428. "description": "贷款总额=已定价额+调整金额",
  16429. "type": "number"
  16430. },
  16431. "margin": {
  16432. "description": "保证金",
  16433. "type": "number"
  16434. },
  16435. "meruserid": {
  16436. "description": "跟单员id",
  16437. "type": "integer"
  16438. },
  16439. "meruserlogincode": {
  16440. "description": "跟单员登录代码",
  16441. "type": "string"
  16442. },
  16443. "nickname": {
  16444. "description": "账户昵称",
  16445. "type": "string"
  16446. },
  16447. "payamount": {
  16448. "description": "已收付额(收款或付款)",
  16449. "type": "number"
  16450. },
  16451. "preinvoiceamount": {
  16452. "description": "预收(开)票额",
  16453. "type": "number"
  16454. },
  16455. "prepayamount": {
  16456. "description": "预收付额",
  16457. "type": "number"
  16458. },
  16459. "price": {
  16460. "description": "价格",
  16461. "type": "number"
  16462. },
  16463. "pricedamount": {
  16464. "description": "已定价额",
  16465. "type": "number"
  16466. },
  16467. "pricedavg": {
  16468. "description": "已点均价",
  16469. "type": "number"
  16470. },
  16471. "pricedqty": {
  16472. "description": "已定价量",
  16473. "type": "number"
  16474. },
  16475. "pricemove": {
  16476. "description": "升贴水",
  16477. "type": "number"
  16478. },
  16479. "pricetype": {
  16480. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16481. "type": "integer"
  16482. },
  16483. "producttype": {
  16484. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16485. "type": "integer"
  16486. },
  16487. "qty": {
  16488. "description": "合同量",
  16489. "type": "number"
  16490. },
  16491. "reckonadjustamount": {
  16492. "description": "调整金额",
  16493. "type": "number"
  16494. },
  16495. "reckonedamount": {
  16496. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16497. "type": "number"
  16498. },
  16499. "reckonotheramount": {
  16500. "description": "其它费用",
  16501. "type": "number"
  16502. },
  16503. "reckonrealqty": {
  16504. "description": "已确定量",
  16505. "type": "number"
  16506. },
  16507. "remark": {
  16508. "description": "备注",
  16509. "type": "string"
  16510. },
  16511. "saleuserid": {
  16512. "description": "业务员id",
  16513. "type": "integer"
  16514. },
  16515. "saleuserlogincode": {
  16516. "description": "业务员登录代码",
  16517. "type": "string"
  16518. },
  16519. "spotcontractid": {
  16520. "description": "合同ID",
  16521. "type": "string"
  16522. },
  16523. "spotgoodsbrandid": {
  16524. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16525. "type": "integer"
  16526. },
  16527. "spotgoodsdesc": {
  16528. "description": "商品型号(商品规格)",
  16529. "type": "string"
  16530. },
  16531. "startdate": {
  16532. "description": "点价开始日",
  16533. "type": "string"
  16534. },
  16535. "totalamount": {
  16536. "description": "合计总额",
  16537. "type": "number"
  16538. },
  16539. "tradeuserid": {
  16540. "description": "交易员id",
  16541. "type": "integer"
  16542. },
  16543. "tradeuserlogincode": {
  16544. "description": "交易员登录代码",
  16545. "type": "string"
  16546. },
  16547. "tradeusername": {
  16548. "description": "交易员名称",
  16549. "type": "string"
  16550. },
  16551. "unpayamount": {
  16552. "description": "应收付款额(应支付或应收款)",
  16553. "type": "number"
  16554. },
  16555. "unpricedqty": {
  16556. "description": "未定价量",
  16557. "type": "number"
  16558. },
  16559. "unsureqty": {
  16560. "description": "未确定量",
  16561. "type": "number"
  16562. },
  16563. "userid": {
  16564. "description": "机构ID",
  16565. "type": "integer"
  16566. },
  16567. "wrstandardcode": {
  16568. "description": "品类代码",
  16569. "type": "string"
  16570. },
  16571. "wrstandardid": {
  16572. "description": "品类ID",
  16573. "type": "integer"
  16574. },
  16575. "wrstandardname": {
  16576. "description": "品类名称",
  16577. "type": "string"
  16578. }
  16579. }
  16580. },
  16581. "models.Ermcp3SpotGoodsPrice": {
  16582. "type": "object",
  16583. "properties": {
  16584. "areauserid": {
  16585. "description": "所属机构id",
  16586. "type": "integer"
  16587. },
  16588. "brandname": {
  16589. "description": "品牌名称",
  16590. "type": "string"
  16591. },
  16592. "currencyid": {
  16593. "description": "报价货币ID",
  16594. "type": "integer"
  16595. },
  16596. "currencyname": {
  16597. "description": "币种名称",
  16598. "type": "string"
  16599. },
  16600. "deliverygoodscode": {
  16601. "description": "现货商品代码",
  16602. "type": "string"
  16603. },
  16604. "deliverygoodsid": {
  16605. "description": "现货商品id",
  16606. "type": "integer"
  16607. },
  16608. "deliverygoodsname": {
  16609. "description": "现货商品名称",
  16610. "type": "string"
  16611. },
  16612. "enumdicname": {
  16613. "description": "现货商品单位名称",
  16614. "type": "string"
  16615. },
  16616. "gbenumdicname": {
  16617. "description": "品类单位名称",
  16618. "type": "string"
  16619. },
  16620. "gmunitid": {
  16621. "description": "品类单位id",
  16622. "type": "integer"
  16623. },
  16624. "isvalid": {
  16625. "description": "是否有效 - 0:无效 1:有效",
  16626. "type": "integer"
  16627. },
  16628. "operateid": {
  16629. "description": "最后操作人",
  16630. "type": "integer"
  16631. },
  16632. "operatesrc": {
  16633. "description": "最后操作来源 - 1:管理端 2:终端",
  16634. "type": "integer"
  16635. },
  16636. "operatetime": {
  16637. "description": "最后操作时间",
  16638. "type": "string"
  16639. },
  16640. "operatorname": {
  16641. "description": "操作人名称",
  16642. "type": "string"
  16643. },
  16644. "spotgoodsbrandid": {
  16645. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16646. "type": "integer"
  16647. },
  16648. "spotgoodsprice": {
  16649. "description": "现货价格",
  16650. "type": "number"
  16651. },
  16652. "tradedate": {
  16653. "description": "交易日(yyyyMMdd)",
  16654. "type": "string"
  16655. },
  16656. "unitid": {
  16657. "description": "现货商品单位id",
  16658. "type": "integer"
  16659. },
  16660. "wrstandardcode": {
  16661. "description": "品类代码",
  16662. "type": "string"
  16663. },
  16664. "wrstandardid": {
  16665. "description": "现货品类ID(通用则为0)",
  16666. "type": "integer"
  16667. },
  16668. "wrstandardname": {
  16669. "description": "品类名称",
  16670. "type": "string"
  16671. }
  16672. }
  16673. },
  16674. "models.Ermcp3SpotGoodsPriceLog": {
  16675. "type": "object",
  16676. "properties": {
  16677. "areauserid": {
  16678. "description": "所属机构id",
  16679. "type": "integer"
  16680. },
  16681. "brandname": {
  16682. "description": "品牌名称",
  16683. "type": "string"
  16684. },
  16685. "currencyid": {
  16686. "description": "报价货币ID",
  16687. "type": "integer"
  16688. },
  16689. "deliverygoodscode": {
  16690. "description": "现货商品代码",
  16691. "type": "string"
  16692. },
  16693. "deliverygoodsid": {
  16694. "description": "现货商品id",
  16695. "type": "integer"
  16696. },
  16697. "deliverygoodsname": {
  16698. "description": "现货商品名称",
  16699. "type": "string"
  16700. },
  16701. "enumdicname": {
  16702. "description": "现货商品单位名称",
  16703. "type": "string"
  16704. },
  16705. "gbenumdicname": {
  16706. "description": "品类单位名称",
  16707. "type": "string"
  16708. },
  16709. "gmunitid": {
  16710. "description": "品类单位id",
  16711. "type": "integer"
  16712. },
  16713. "logid": {
  16714. "description": "日志id",
  16715. "type": "integer"
  16716. },
  16717. "operateid": {
  16718. "description": "最后操作人",
  16719. "type": "integer"
  16720. },
  16721. "operatesrc": {
  16722. "description": "最后操作来源 - 1:管理端 2:终端",
  16723. "type": "integer"
  16724. },
  16725. "operatetime": {
  16726. "description": "最后操作时间",
  16727. "type": "string"
  16728. },
  16729. "operatorname": {
  16730. "description": "操作人名称",
  16731. "type": "string"
  16732. },
  16733. "spotgoodsbrandid": {
  16734. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16735. "type": "integer"
  16736. },
  16737. "spotgoodsprice": {
  16738. "description": "现货价格",
  16739. "type": "number"
  16740. },
  16741. "tradedate": {
  16742. "description": "交易日(yyyyMMdd)",
  16743. "type": "string"
  16744. },
  16745. "unitid": {
  16746. "description": "现货商品单位id",
  16747. "type": "integer"
  16748. },
  16749. "wrstandardcode": {
  16750. "description": "品类代码",
  16751. "type": "string"
  16752. },
  16753. "wrstandardid": {
  16754. "description": "现货品类ID(通用则为0)",
  16755. "type": "integer"
  16756. },
  16757. "wrstandardname": {
  16758. "description": "品类名称",
  16759. "type": "string"
  16760. }
  16761. }
  16762. },
  16763. "models.Ermcp3TaFutuReDataReport": {
  16764. "type": "object",
  16765. "properties": {
  16766. "accountid": {
  16767. "description": "交易账户",
  16768. "type": "integer"
  16769. },
  16770. "accountname": {
  16771. "description": "交易账号名称",
  16772. "type": "string"
  16773. },
  16774. "begindate": {
  16775. "description": "开始交易日",
  16776. "type": "string"
  16777. },
  16778. "buyorsell": {
  16779. "description": "持仓方向",
  16780. "type": "integer"
  16781. },
  16782. "charge": {
  16783. "description": "手续费",
  16784. "type": "number"
  16785. },
  16786. "closeavgprice": {
  16787. "description": "平仓均价",
  16788. "type": "number"
  16789. },
  16790. "closepl": {
  16791. "description": "平仓损益",
  16792. "type": "number"
  16793. },
  16794. "currencyid": {
  16795. "description": "结算币种ID",
  16796. "type": "integer"
  16797. },
  16798. "cycletime": {
  16799. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16800. "type": "string"
  16801. },
  16802. "cycletype": {
  16803. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16804. "type": "integer"
  16805. },
  16806. "enddate": {
  16807. "description": "结束交易日",
  16808. "type": "string"
  16809. },
  16810. "enumdicname": {
  16811. "description": "单位名称(现货商品)",
  16812. "type": "string"
  16813. },
  16814. "floatpl": {
  16815. "description": "浮动损益",
  16816. "type": "number"
  16817. },
  16818. "goodscode": {
  16819. "description": "交易合约代码",
  16820. "type": "string"
  16821. },
  16822. "goodsgroupid": {
  16823. "description": "交易品种",
  16824. "type": "integer"
  16825. },
  16826. "goodsgroupname": {
  16827. "description": "交易品种名称",
  16828. "type": "string"
  16829. },
  16830. "goodsgroupspotqty": {
  16831. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  16832. "type": "number"
  16833. },
  16834. "goodsid": {
  16835. "description": "交易合约",
  16836. "type": "integer"
  16837. },
  16838. "goodsname": {
  16839. "description": "交易合约名称",
  16840. "type": "string"
  16841. },
  16842. "goodunitid": {
  16843. "description": "交易合约单位id",
  16844. "type": "integer"
  16845. },
  16846. "holdamount": {
  16847. "description": "期末持仓额",
  16848. "type": "number"
  16849. },
  16850. "holdqty": {
  16851. "description": "期末持仓量",
  16852. "type": "number"
  16853. },
  16854. "lastholdamount": {
  16855. "description": "当前持仓额",
  16856. "type": "number"
  16857. },
  16858. "lastprice": {
  16859. "description": "最新价",
  16860. "type": "number"
  16861. },
  16862. "middlegoodsqty": {
  16863. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  16864. "type": "number"
  16865. },
  16866. "openamount": {
  16867. "description": "期末开仓额",
  16868. "type": "number"
  16869. },
  16870. "openavgprice": {
  16871. "description": "开仓均价",
  16872. "type": "number"
  16873. },
  16874. "oriholdamount": {
  16875. "description": "期初持仓额",
  16876. "type": "number"
  16877. },
  16878. "oriholdqty": {
  16879. "description": "期初持仓量",
  16880. "type": "number"
  16881. },
  16882. "oriopenamount": {
  16883. "description": "期初开仓额",
  16884. "type": "number"
  16885. },
  16886. "outergroupcode": {
  16887. "description": "交易品种代码",
  16888. "type": "string"
  16889. },
  16890. "reckondate": {
  16891. "description": "日照时期(yyyyMMdd)",
  16892. "type": "string"
  16893. },
  16894. "reckonholdamount": {
  16895. "description": "结算持仓额",
  16896. "type": "number"
  16897. },
  16898. "reckonpl": {
  16899. "description": "结算损益",
  16900. "type": "number"
  16901. },
  16902. "reckonpl2": {
  16903. "description": "结算逐笔盈亏",
  16904. "type": "number"
  16905. },
  16906. "reckonprice": {
  16907. "description": "结算价",
  16908. "type": "number"
  16909. },
  16910. "relateduserid": {
  16911. "description": "账户关联用户ID",
  16912. "type": "integer"
  16913. },
  16914. "todaycloseamount": {
  16915. "description": "今平仓额",
  16916. "type": "number"
  16917. },
  16918. "todaycloseqty": {
  16919. "description": "今平仓量",
  16920. "type": "number"
  16921. },
  16922. "todaygoodsgroupspotqty": {
  16923. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  16924. "type": "number"
  16925. },
  16926. "todaymiddlegoodsqty": {
  16927. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  16928. "type": "number"
  16929. },
  16930. "todayopenamount": {
  16931. "description": "今开仓额",
  16932. "type": "number"
  16933. },
  16934. "todayopenqty": {
  16935. "description": "今开仓量",
  16936. "type": "number"
  16937. },
  16938. "userid": {
  16939. "description": "账户所属用户ID",
  16940. "type": "integer"
  16941. }
  16942. }
  16943. },
  16944. "models.Ermcp3Wrstandard": {
  16945. "type": "object",
  16946. "properties": {
  16947. "areauserid": {
  16948. "description": "所属机构",
  16949. "type": "integer"
  16950. },
  16951. "convertfactor": {
  16952. "description": "标仓系数",
  16953. "type": "number"
  16954. },
  16955. "createtime": {
  16956. "description": "创建时间",
  16957. "type": "string"
  16958. },
  16959. "creatorid": {
  16960. "description": "创建人",
  16961. "type": "integer"
  16962. },
  16963. "deliverygoodsid": {
  16964. "description": "现货品种ID",
  16965. "type": "integer"
  16966. },
  16967. "enumdicname": {
  16968. "description": "品类单位名称",
  16969. "type": "string"
  16970. },
  16971. "isvalid": {
  16972. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16973. "type": "integer"
  16974. },
  16975. "minivalue": {
  16976. "description": "最小变动值",
  16977. "type": "integer"
  16978. },
  16979. "minivaluedp": {
  16980. "description": "最小变动值小数位",
  16981. "type": "integer"
  16982. },
  16983. "realminivalue": {
  16984. "description": "实际最小变动值",
  16985. "type": "integer"
  16986. },
  16987. "realminivaluedp": {
  16988. "description": "实际最小变动值小数位",
  16989. "type": "integer"
  16990. },
  16991. "remark": {
  16992. "description": "备注",
  16993. "type": "string"
  16994. },
  16995. "unitid": {
  16996. "description": "品类单位ID",
  16997. "type": "integer"
  16998. },
  16999. "updatetime": {
  17000. "description": "更新时间",
  17001. "type": "string"
  17002. },
  17003. "wrstandardcode": {
  17004. "description": "品类代码",
  17005. "type": "string"
  17006. },
  17007. "wrstandardid": {
  17008. "description": "品类ID(SEQ_WRSTANDARD)",
  17009. "type": "integer"
  17010. },
  17011. "wrstandardname": {
  17012. "description": "品类名称",
  17013. "type": "string"
  17014. }
  17015. }
  17016. },
  17017. "models.ErmcpAreaSpotDetailModel": {
  17018. "type": "object",
  17019. "properties": {
  17020. "contracttype": {
  17021. "description": "合同类型 1-采购 -1-销售",
  17022. "type": "integer"
  17023. },
  17024. "createtime": {
  17025. "description": "创建时间",
  17026. "type": "string"
  17027. },
  17028. "enumdicname": {
  17029. "description": "现货商品单位名称",
  17030. "type": "string"
  17031. },
  17032. "logtype": {
  17033. "description": "记录类型 1-套保 2-现货合同",
  17034. "type": "integer"
  17035. },
  17036. "qty": {
  17037. "description": "数量",
  17038. "type": "number"
  17039. },
  17040. "recordname": {
  17041. "description": "类型名称",
  17042. "type": "string"
  17043. },
  17044. "relatedid": {
  17045. "description": "套保计划ID/现货合同ID",
  17046. "type": "string"
  17047. },
  17048. "relatedno": {
  17049. "description": "编号",
  17050. "type": "string"
  17051. },
  17052. "strtime": {
  17053. "description": "时间",
  17054. "type": "string"
  17055. },
  17056. "wrstandardcode": {
  17057. "description": "现货商品代码",
  17058. "type": "string"
  17059. },
  17060. "wrstandardname": {
  17061. "description": "现货商品名称",
  17062. "type": "string"
  17063. }
  17064. }
  17065. },
  17066. "models.ErmcpAvalidGoodsGroupModel": {
  17067. "type": "object",
  17068. "properties": {
  17069. "goodsgroupid": {
  17070. "description": "期货品种id",
  17071. "type": "integer"
  17072. },
  17073. "goodsgroupname": {
  17074. "description": "期货品种名称",
  17075. "type": "string"
  17076. },
  17077. "goodunitid": {
  17078. "description": "品种单位id",
  17079. "type": "integer"
  17080. },
  17081. "goodunitname": {
  17082. "description": "品种单位名称",
  17083. "type": "string"
  17084. },
  17085. "outergroupcode": {
  17086. "description": "期货品种代码",
  17087. "type": "string"
  17088. }
  17089. }
  17090. },
  17091. "models.ErmcpBizGroupEx": {
  17092. "type": "object",
  17093. "properties": {
  17094. "acclist": {
  17095. "description": "账号列表",
  17096. "type": "array",
  17097. "items": {
  17098. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  17099. }
  17100. },
  17101. "bizgroupid": {
  17102. "description": "业务分组id",
  17103. "type": "integer"
  17104. },
  17105. "biztype": {
  17106. "description": "业务类型 1-套保 2-套利",
  17107. "type": "integer"
  17108. },
  17109. "wrlist": {
  17110. "description": "现货商品表",
  17111. "type": "array",
  17112. "items": {
  17113. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  17114. }
  17115. }
  17116. }
  17117. },
  17118. "models.ErmcpBizGroupSpotGoods": {
  17119. "type": "object",
  17120. "properties": {
  17121. "areauserid": {
  17122. "description": "所属机构id",
  17123. "type": "integer"
  17124. },
  17125. "bizgroupid": {
  17126. "description": "分组id",
  17127. "type": "integer"
  17128. },
  17129. "biztype": {
  17130. "description": "业务类型 1-套保 2-套利",
  17131. "type": "integer"
  17132. },
  17133. "deliverygoodscode": {
  17134. "description": "现货商品代码",
  17135. "type": "string"
  17136. },
  17137. "deliverygoodsid": {
  17138. "description": "现货商品id",
  17139. "type": "integer"
  17140. },
  17141. "deliverygoodsname": {
  17142. "description": "现货商品名称",
  17143. "type": "string"
  17144. },
  17145. "unitid": {
  17146. "description": "现货商品单位id",
  17147. "type": "integer"
  17148. }
  17149. }
  17150. },
  17151. "models.ErmcpBizGroupTaAccount": {
  17152. "type": "object",
  17153. "properties": {
  17154. "accountid": {
  17155. "description": "账号id",
  17156. "type": "integer"
  17157. },
  17158. "accountname": {
  17159. "description": "账号名称",
  17160. "type": "string"
  17161. },
  17162. "areauserid": {
  17163. "description": "所属机构id",
  17164. "type": "integer"
  17165. },
  17166. "bizgroupid": {
  17167. "description": "业务分组id",
  17168. "type": "integer"
  17169. },
  17170. "ismain": {
  17171. "description": "是否主账号 1-是 0-否",
  17172. "type": "integer"
  17173. }
  17174. }
  17175. },
  17176. "models.ErmcpDGFactoryItem": {
  17177. "type": "object",
  17178. "properties": {
  17179. "areauserid": {
  17180. "description": "用户id",
  17181. "type": "integer"
  17182. },
  17183. "deliverygoodsid": {
  17184. "description": "现货品种ID",
  17185. "type": "integer"
  17186. },
  17187. "dgfactoryitemid": {
  17188. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  17189. "type": "integer"
  17190. },
  17191. "dgfactoryitemtypeid": {
  17192. "description": "要素项类型",
  17193. "type": "integer"
  17194. },
  17195. "dgfactoryitemvalue": {
  17196. "description": "要素项值(类型为仓库时填写仓库名称)",
  17197. "type": "string"
  17198. },
  17199. "isvalid": {
  17200. "description": "是否有效 - 0:无效 1:有效",
  17201. "type": "integer"
  17202. },
  17203. "orderindex": {
  17204. "description": "顺序",
  17205. "type": "integer"
  17206. },
  17207. "warehouseid": {
  17208. "description": "仓库ID(类型为仓库时填写)",
  17209. "type": "integer"
  17210. }
  17211. }
  17212. },
  17213. "models.ErmcpDeliveryGoods": {
  17214. "type": "object",
  17215. "properties": {
  17216. "agreeunit": {
  17217. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  17218. "type": "integer"
  17219. },
  17220. "areauserid": {
  17221. "description": "所属机构",
  17222. "type": "integer"
  17223. },
  17224. "auditflag": {
  17225. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  17226. "type": "integer"
  17227. },
  17228. "categoryid": {
  17229. "description": "类别ID(SEQ_WRCATEGORY)",
  17230. "type": "integer"
  17231. },
  17232. "deliverygoodscode": {
  17233. "description": "现货品种代码",
  17234. "type": "string"
  17235. },
  17236. "deliverygoodsid": {
  17237. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  17238. "type": "integer"
  17239. },
  17240. "deliverygoodsname": {
  17241. "description": "现货品种名称",
  17242. "type": "string"
  17243. },
  17244. "deliverygoodstype": {
  17245. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  17246. "type": "integer"
  17247. },
  17248. "dgstatus": {
  17249. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  17250. "type": "integer"
  17251. },
  17252. "enumdicname": {
  17253. "description": "现货品种单位名称",
  17254. "type": "string"
  17255. },
  17256. "goodsunitid": {
  17257. "description": "现货品种单位ID",
  17258. "type": "integer"
  17259. },
  17260. "isvalid": {
  17261. "description": "是否有效 - 0:无效 1:有效",
  17262. "type": "integer"
  17263. },
  17264. "qtydecimalplace": {
  17265. "description": "成交量小数位",
  17266. "type": "integer"
  17267. },
  17268. "remark": {
  17269. "description": "备注",
  17270. "type": "string"
  17271. },
  17272. "standardqty": {
  17273. "description": "标准数量(库位数量) [标准品特有]",
  17274. "type": "integer"
  17275. },
  17276. "standardqtyrange": {
  17277. "description": "标准数量偏差范围 [标准品特有]",
  17278. "type": "integer"
  17279. }
  17280. }
  17281. },
  17282. "models.ErmcpDeliveryGoodsDetail2": {
  17283. "type": "object",
  17284. "properties": {
  17285. "convertratio": {
  17286. "description": "套保系数(折算系数)",
  17287. "type": "number"
  17288. },
  17289. "data": {
  17290. "description": "现货商品基本信息(交割品种)",
  17291. "type": "object",
  17292. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17293. },
  17294. "gblist": {
  17295. "description": "品牌列表",
  17296. "type": "array",
  17297. "items": {
  17298. "$ref": "#/definitions/models.Ermcp3Brand"
  17299. }
  17300. },
  17301. "gmlist": {
  17302. "description": "品类列表(仓单标准)",
  17303. "type": "array",
  17304. "items": {
  17305. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17306. }
  17307. }
  17308. }
  17309. },
  17310. "models.ErmcpDeliveryGoodsDetailEx": {
  17311. "type": "object",
  17312. "properties": {
  17313. "data": {
  17314. "description": "现货商品基本信息(交割品种)",
  17315. "type": "object",
  17316. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  17317. },
  17318. "gblist": {
  17319. "description": "品牌列表",
  17320. "type": "array",
  17321. "items": {
  17322. "$ref": "#/definitions/models.Ermcp3Brand"
  17323. }
  17324. },
  17325. "gmlist": {
  17326. "description": "品类列表(仓单标准)",
  17327. "type": "array",
  17328. "items": {
  17329. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  17330. }
  17331. },
  17332. "mgList": {
  17333. "description": "套保列表",
  17334. "type": "array",
  17335. "items": {
  17336. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  17337. }
  17338. }
  17339. }
  17340. },
  17341. "models.ErmcpExposureDetailModel": {
  17342. "type": "object",
  17343. "properties": {
  17344. "areauserid": {
  17345. "description": "机构ID",
  17346. "type": "integer"
  17347. },
  17348. "changeQty": {
  17349. "description": "套保变动量",
  17350. "type": "number"
  17351. },
  17352. "contracttype": {
  17353. "description": "现货合同类型 - 1:采购 -1:销售",
  17354. "type": "integer"
  17355. },
  17356. "convertfactor": {
  17357. "description": "标仓系数",
  17358. "type": "number"
  17359. },
  17360. "convertratio": {
  17361. "description": "套保系数",
  17362. "type": "number"
  17363. },
  17364. "createtime": {
  17365. "description": "时间",
  17366. "type": "string"
  17367. },
  17368. "enumdicname": {
  17369. "description": "现货商品单位名称",
  17370. "type": "string"
  17371. },
  17372. "logtype": {
  17373. "description": "类型 - 1:套保计划 2:现货合同",
  17374. "type": "integer"
  17375. },
  17376. "middlegoodsId": {
  17377. "description": "套保商品id",
  17378. "type": "integer"
  17379. },
  17380. "middlegoodscode": {
  17381. "description": "套保商品代码",
  17382. "type": "string"
  17383. },
  17384. "middlegoodsname": {
  17385. "description": "套保商品名称",
  17386. "type": "string"
  17387. },
  17388. "qty": {
  17389. "description": "数量",
  17390. "type": "number"
  17391. },
  17392. "relateNo": {
  17393. "description": "现货合同/套保计划编号",
  17394. "type": "string"
  17395. },
  17396. "wrstandardcode": {
  17397. "description": "现货商品代码",
  17398. "type": "string"
  17399. },
  17400. "wrstandardid": {
  17401. "description": "现货商品ID",
  17402. "type": "integer"
  17403. },
  17404. "wrstandardname": {
  17405. "description": "现货商品名称",
  17406. "type": "string"
  17407. }
  17408. }
  17409. },
  17410. "models.ErmcpExposurePostion": {
  17411. "type": "object",
  17412. "properties": {
  17413. "agreeunit": {
  17414. "description": "合约单位",
  17415. "type": "string"
  17416. },
  17417. "areauserid": {
  17418. "description": "所属机构id",
  17419. "type": "integer"
  17420. },
  17421. "convertratio": {
  17422. "description": "期货品种系数(折算系数)",
  17423. "type": "number"
  17424. },
  17425. "curqty": {
  17426. "description": "当前持仓",
  17427. "type": "integer"
  17428. },
  17429. "diffhedgeqty": {
  17430. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17431. "type": "number"
  17432. },
  17433. "diffqty": {
  17434. "description": "持仓变动量=当前持仓-昨日持仓",
  17435. "type": "integer"
  17436. },
  17437. "goodscode": {
  17438. "description": "商品代码",
  17439. "type": "string"
  17440. },
  17441. "goodsid": {
  17442. "description": "商品id",
  17443. "type": "integer"
  17444. },
  17445. "goodsname": {
  17446. "description": "商品名称",
  17447. "type": "string"
  17448. },
  17449. "middlegoodsid": {
  17450. "description": "套保商品id",
  17451. "type": "integer"
  17452. },
  17453. "ydqty": {
  17454. "description": "昨日持仓",
  17455. "type": "integer"
  17456. }
  17457. }
  17458. },
  17459. "models.ErmcpFuturesCompany": {
  17460. "type": "object",
  17461. "properties": {
  17462. "brokerid": {
  17463. "description": "经纪公司代码",
  17464. "type": "string"
  17465. },
  17466. "channeladdress": {
  17467. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  17468. "type": "string"
  17469. },
  17470. "channelid": {
  17471. "description": "对冲渠道ID",
  17472. "type": "string"
  17473. },
  17474. "createtime": {
  17475. "description": "创建时间",
  17476. "type": "string"
  17477. },
  17478. "creatorid": {
  17479. "description": "创建人",
  17480. "type": "string"
  17481. },
  17482. "fcid": {
  17483. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  17484. "type": "integer"
  17485. },
  17486. "fcname": {
  17487. "description": "期货公司名称",
  17488. "type": "string"
  17489. },
  17490. "isvalid": {
  17491. "description": "是否有效 - 0:无效 1:有效",
  17492. "type": "integer"
  17493. },
  17494. "mhpaddress": {
  17495. "description": "MHP服务地址(IP:Port)",
  17496. "type": "string"
  17497. },
  17498. "riskrulegroupid": {
  17499. "description": "风控规则组ID",
  17500. "type": "string"
  17501. },
  17502. "tradefeetmpid": {
  17503. "description": "手续费模板ID[TradeConfigTmpType为2]",
  17504. "type": "string"
  17505. },
  17506. "trademargintmpid": {
  17507. "description": "保证金模板ID [TradeConfigTmpType为1]",
  17508. "type": "string"
  17509. },
  17510. "traderatetmpid": {
  17511. "description": "汇率模板ID[TradeConfigTmpType为3]",
  17512. "type": "string"
  17513. },
  17514. "updatetime": {
  17515. "description": "更新时间",
  17516. "type": "string"
  17517. },
  17518. "updatorid": {
  17519. "description": "更新人",
  17520. "type": "string"
  17521. }
  17522. }
  17523. },
  17524. "models.ErmcpGGConvertCfg": {
  17525. "type": "object",
  17526. "properties": {
  17527. "convertratio": {
  17528. "description": "折算系数",
  17529. "type": "number"
  17530. },
  17531. "destgoodsgroupid": {
  17532. "description": "目标品种ID",
  17533. "type": "integer"
  17534. },
  17535. "dstcode": {
  17536. "description": "目录品种代码",
  17537. "type": "string"
  17538. },
  17539. "dstexchangecode": {
  17540. "description": "目标期货交易所",
  17541. "type": "string"
  17542. },
  17543. "dstname": {
  17544. "description": "目标品种名称",
  17545. "type": "string"
  17546. },
  17547. "dstunitid": {
  17548. "description": "目标品种单位ID",
  17549. "type": "integer"
  17550. },
  17551. "dstunitidname": {
  17552. "description": "目标品种单位名称",
  17553. "type": "string"
  17554. },
  17555. "modifytime": {
  17556. "description": "修改时间",
  17557. "type": "string"
  17558. },
  17559. "srccode": {
  17560. "description": "源品种代码",
  17561. "type": "string"
  17562. },
  17563. "srcexchangecode": {
  17564. "description": "源期货交易所",
  17565. "type": "string"
  17566. },
  17567. "srcgoodsgroupid": {
  17568. "description": "源品种ID",
  17569. "type": "integer"
  17570. },
  17571. "srcname": {
  17572. "description": "源品种名称",
  17573. "type": "string"
  17574. },
  17575. "srcunitid": {
  17576. "description": "源品种单位ID",
  17577. "type": "integer"
  17578. },
  17579. "srcunitidname": {
  17580. "description": "源品种单位名称",
  17581. "type": "string"
  17582. }
  17583. }
  17584. },
  17585. "models.ErmcpGoods": {
  17586. "type": "object",
  17587. "required": [
  17588. "goodscode",
  17589. "goodsid",
  17590. "goodsname",
  17591. "marketid"
  17592. ],
  17593. "properties": {
  17594. "agreeunit": {
  17595. "description": "合约单位",
  17596. "type": "number"
  17597. },
  17598. "areauserid": {
  17599. "description": "所属机构",
  17600. "type": "integer"
  17601. },
  17602. "auditaccountid": {
  17603. "description": "审核操作员账号",
  17604. "type": "integer"
  17605. },
  17606. "audittime": {
  17607. "description": "审核时间",
  17608. "type": "string"
  17609. },
  17610. "cancelaccountid": {
  17611. "description": "注销操作员账号",
  17612. "type": "integer"
  17613. },
  17614. "canceltime": {
  17615. "description": "注销时间",
  17616. "type": "string"
  17617. },
  17618. "closepricemode": {
  17619. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17620. "type": "integer"
  17621. },
  17622. "closepriceparam": {
  17623. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17624. "type": "number"
  17625. },
  17626. "createtime": {
  17627. "description": "创建时间",
  17628. "type": "string"
  17629. },
  17630. "creatorid": {
  17631. "description": "创建人",
  17632. "type": "integer"
  17633. },
  17634. "currencyid": {
  17635. "description": "报价货币ID",
  17636. "type": "integer"
  17637. },
  17638. "cutmode": {
  17639. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17640. "type": "integer"
  17641. },
  17642. "decimalplace": {
  17643. "description": "报价小数位",
  17644. "type": "integer"
  17645. },
  17646. "delistingdate": {
  17647. "description": "商品退市时间(状态:退市) -- 已作废",
  17648. "type": "string"
  17649. },
  17650. "delistingmode": {
  17651. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17652. "type": "integer"
  17653. },
  17654. "deliveryflag": {
  17655. "description": "交割标志 - 0:不可交割 1:可交割",
  17656. "type": "integer"
  17657. },
  17658. "enumdicname": {
  17659. "description": "单位名称",
  17660. "type": "string"
  17661. },
  17662. "forceclosemode": {
  17663. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17664. "type": "integer"
  17665. },
  17666. "forceclosevalue": {
  17667. "description": "定期强平参数 [收益权]",
  17668. "type": "integer"
  17669. },
  17670. "goodscode": {
  17671. "description": "商品代码(内部)",
  17672. "type": "string"
  17673. },
  17674. "goodscurrencyid": {
  17675. "description": "合约货币ID",
  17676. "type": "integer"
  17677. },
  17678. "goodsgroupid": {
  17679. "description": "所属商品组ID",
  17680. "type": "integer"
  17681. },
  17682. "goodsid": {
  17683. "description": "商品ID(自增ID SEQ_GOODS)",
  17684. "type": "integer"
  17685. },
  17686. "goodsname": {
  17687. "description": "商品名称",
  17688. "type": "string"
  17689. },
  17690. "goodsquotetype": {
  17691. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17692. "type": "integer"
  17693. },
  17694. "goodsstatus": {
  17695. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17696. "type": "integer"
  17697. },
  17698. "goodstradetype": {
  17699. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17700. "type": "integer"
  17701. },
  17702. "goodunitid": {
  17703. "description": "报价单位ID",
  17704. "type": "integer"
  17705. },
  17706. "hasquoter": {
  17707. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17708. "type": "integer"
  17709. },
  17710. "hqprotecttime": {
  17711. "description": "行情保护时间(秒)",
  17712. "type": "integer"
  17713. },
  17714. "innerdealmode": {
  17715. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17716. "type": "integer"
  17717. },
  17718. "isbuylimited": {
  17719. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17720. "type": "integer"
  17721. },
  17722. "isvisible": {
  17723. "description": "游客是否可见 - 0:不可见 1:可见",
  17724. "type": "integer"
  17725. },
  17726. "lasttradedate": {
  17727. "description": "最后交易日期(状态:待退市)",
  17728. "type": "string"
  17729. },
  17730. "listingdate": {
  17731. "description": "交易开始日期",
  17732. "type": "string"
  17733. },
  17734. "marketid": {
  17735. "description": "所属市场ID",
  17736. "type": "integer"
  17737. },
  17738. "modifierid": {
  17739. "description": "修改人",
  17740. "type": "integer"
  17741. },
  17742. "modifystatus": {
  17743. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17744. "type": "integer"
  17745. },
  17746. "modifytime": {
  17747. "description": "修改时间",
  17748. "type": "string"
  17749. },
  17750. "outerdealmode": {
  17751. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17752. "type": "integer"
  17753. },
  17754. "outgoodscode": {
  17755. "description": "商品代码(外部)",
  17756. "type": "string"
  17757. },
  17758. "pictureurl": {
  17759. "description": "商品图片",
  17760. "type": "string"
  17761. },
  17762. "qtydecimalplace": {
  17763. "description": "成交量小数位",
  17764. "type": "integer"
  17765. },
  17766. "quotegear": {
  17767. "description": "行情档位(1-10)",
  17768. "type": "integer"
  17769. },
  17770. "quoteminunit": {
  17771. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17772. "type": "integer"
  17773. },
  17774. "quoteshowtype": {
  17775. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17776. "type": "integer"
  17777. },
  17778. "quoteshowtypeinterval": {
  17779. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17780. "type": "integer"
  17781. },
  17782. "relatedgoodsid": {
  17783. "description": "关联参考商品ID",
  17784. "type": "integer"
  17785. },
  17786. "remark": {
  17787. "description": "备注",
  17788. "type": "string"
  17789. },
  17790. "trademode": {
  17791. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17792. "type": "integer"
  17793. }
  17794. }
  17795. },
  17796. "models.ErmcpGoodsBrand": {
  17797. "type": "object",
  17798. "properties": {
  17799. "areauserid": {
  17800. "description": "所属机构",
  17801. "type": "integer"
  17802. },
  17803. "brandid": {
  17804. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  17805. "type": "integer"
  17806. },
  17807. "brandname": {
  17808. "description": "品牌名称",
  17809. "type": "string"
  17810. },
  17811. "createtime": {
  17812. "description": "创建时间",
  17813. "type": "string"
  17814. },
  17815. "creatorid": {
  17816. "description": "创建人",
  17817. "type": "integer"
  17818. },
  17819. "creatorsrc": {
  17820. "description": "创建人来源 - 1:管理端 2:终端",
  17821. "type": "integer"
  17822. },
  17823. "deliverygoodsid": {
  17824. "description": "现货品种ID",
  17825. "type": "integer"
  17826. },
  17827. "isvalid": {
  17828. "description": "是否有效 - 0:无效 1:有效",
  17829. "type": "integer"
  17830. },
  17831. "updatetime": {
  17832. "description": "更新时间",
  17833. "type": "string"
  17834. },
  17835. "updatorid": {
  17836. "description": "更新人",
  17837. "type": "integer"
  17838. },
  17839. "updatorsrc": {
  17840. "description": "更新人来源 - 1:管理端 2:终端",
  17841. "type": "integer"
  17842. },
  17843. "wrstandardid": {
  17844. "description": "现货商品ID",
  17845. "type": "integer"
  17846. }
  17847. }
  17848. },
  17849. "models.ErmcpGoodsModel": {
  17850. "type": "object",
  17851. "properties": {
  17852. "areauserid": {
  17853. "description": "所属机构",
  17854. "type": "integer"
  17855. },
  17856. "convertfactor": {
  17857. "description": "标仓系数",
  17858. "type": "number"
  17859. },
  17860. "createtime": {
  17861. "description": "创建时间",
  17862. "type": "string"
  17863. },
  17864. "creatorid": {
  17865. "description": "创建人",
  17866. "type": "integer"
  17867. },
  17868. "creatorsrc": {
  17869. "description": "创建人来源 - 1:管理端 2:终端",
  17870. "type": "integer"
  17871. },
  17872. "deliverygoodsid": {
  17873. "description": "现货品种ID",
  17874. "type": "integer"
  17875. },
  17876. "isvalid": {
  17877. "description": "是否有效 - 0:无效 1:有效",
  17878. "type": "integer"
  17879. },
  17880. "modelid": {
  17881. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17882. "type": "integer"
  17883. },
  17884. "modelname": {
  17885. "description": "型号名称",
  17886. "type": "string"
  17887. },
  17888. "updatetime": {
  17889. "description": "更新时间",
  17890. "type": "string"
  17891. },
  17892. "updatorid": {
  17893. "description": "更新人",
  17894. "type": "integer"
  17895. },
  17896. "updatorsrc": {
  17897. "description": "更新人来源 - 1:管理端 2:终端",
  17898. "type": "integer"
  17899. },
  17900. "wrstandardid": {
  17901. "description": "现货商品ID",
  17902. "type": "integer"
  17903. }
  17904. }
  17905. },
  17906. "models.ErmcpHedgePosition": {
  17907. "type": "object",
  17908. "properties": {
  17909. "accountid": {
  17910. "description": "资金账号[外部母账户]",
  17911. "type": "integer"
  17912. },
  17913. "curbuyposition": {
  17914. "description": "期末买头寸",
  17915. "type": "integer"
  17916. },
  17917. "cursellposition": {
  17918. "description": "期末卖头寸",
  17919. "type": "integer"
  17920. },
  17921. "curtdbuyposition": {
  17922. "description": "期末今日买头寸",
  17923. "type": "integer"
  17924. },
  17925. "curtdsellposition": {
  17926. "description": "期末今日卖头寸",
  17927. "type": "integer"
  17928. },
  17929. "curydbuyposition": {
  17930. "description": "期末上日买头寸",
  17931. "type": "integer"
  17932. },
  17933. "curydsellposition": {
  17934. "description": "期末上日卖头寸",
  17935. "type": "integer"
  17936. },
  17937. "decreaseqty": {
  17938. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17939. "type": "integer"
  17940. },
  17941. "fretdbuyposition": {
  17942. "description": "冻结今日买头寸",
  17943. "type": "integer"
  17944. },
  17945. "fretdsellposition": {
  17946. "description": "冻结今日卖头寸",
  17947. "type": "integer"
  17948. },
  17949. "freydbuyposition": {
  17950. "description": "冻结上日买头寸",
  17951. "type": "integer"
  17952. },
  17953. "freydsellposition": {
  17954. "description": "冻结上日卖头寸",
  17955. "type": "integer"
  17956. },
  17957. "goodscode": {
  17958. "description": "商品代码",
  17959. "type": "string"
  17960. },
  17961. "goodsid": {
  17962. "description": "商品id",
  17963. "type": "integer"
  17964. },
  17965. "goodsname": {
  17966. "description": "商品名称",
  17967. "type": "string"
  17968. },
  17969. "hedgeaccountcode": {
  17970. "description": "对冲账号",
  17971. "type": "string"
  17972. },
  17973. "hedgegoodsid": {
  17974. "description": "对冲合约ID",
  17975. "type": "integer"
  17976. },
  17977. "increaseqty": {
  17978. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17979. "type": "integer"
  17980. },
  17981. "marketid": {
  17982. "description": "市场ID",
  17983. "type": "integer"
  17984. },
  17985. "relateduserid": {
  17986. "description": "关联用户id",
  17987. "type": "integer"
  17988. },
  17989. "totalcurqty": {
  17990. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17991. "type": "integer"
  17992. },
  17993. "totalydqty": {
  17994. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17995. "type": "integer"
  17996. },
  17997. "tradedate": {
  17998. "description": "交易日(yyyyMMdd)",
  17999. "type": "string"
  18000. },
  18001. "ydbuyposition": {
  18002. "description": "期初买头寸",
  18003. "type": "integer"
  18004. },
  18005. "ydsellposition": {
  18006. "description": "期初卖头寸",
  18007. "type": "integer"
  18008. }
  18009. }
  18010. },
  18011. "models.ErmcpHedgePositionDetail": {
  18012. "type": "object",
  18013. "properties": {
  18014. "buyorsell": {
  18015. "description": "买卖方向 0-买 1-卖",
  18016. "type": "integer"
  18017. },
  18018. "channelbuildtype": {
  18019. "description": "开平方向 1-建仓 2-平仓",
  18020. "type": "integer"
  18021. },
  18022. "goodscode": {
  18023. "description": "商品代码",
  18024. "type": "string"
  18025. },
  18026. "goodsname": {
  18027. "description": "商品名称",
  18028. "type": "string"
  18029. },
  18030. "hedgegoodsid": {
  18031. "description": "商品id",
  18032. "type": "integer"
  18033. },
  18034. "tradeqty": {
  18035. "description": "数量(成交数量)",
  18036. "type": "integer"
  18037. },
  18038. "tradetime": {
  18039. "description": "时间(成交时间)",
  18040. "type": "string"
  18041. }
  18042. }
  18043. },
  18044. "models.ErmcpHisExposure": {
  18045. "type": "object",
  18046. "properties": {
  18047. "needhedgeexposoure": {
  18048. "description": "应套保敞口",
  18049. "type": "number"
  18050. },
  18051. "reckondate": {
  18052. "description": "日照时期(yyyyMMdd)",
  18053. "type": "string"
  18054. },
  18055. "totalexposure": {
  18056. "description": "总敞口",
  18057. "type": "number"
  18058. }
  18059. }
  18060. },
  18061. "models.ErmcpHisExposureS": {
  18062. "type": "object",
  18063. "properties": {
  18064. "data": {
  18065. "description": "历史敞口",
  18066. "type": "array",
  18067. "items": {
  18068. "$ref": "#/definitions/models.ErmcpHisExposure"
  18069. }
  18070. },
  18071. "enumdicname": {
  18072. "description": "单位名称",
  18073. "type": "string"
  18074. },
  18075. "middlegoodscode": {
  18076. "description": "套保品种代码",
  18077. "type": "string"
  18078. },
  18079. "middlegoodsid": {
  18080. "description": "套保品种ID",
  18081. "type": "integer"
  18082. },
  18083. "middlegoodsname": {
  18084. "description": "套保品种名称",
  18085. "type": "string"
  18086. }
  18087. }
  18088. },
  18089. "models.ErmcpLoginTaAccount": {
  18090. "type": "object",
  18091. "properties": {
  18092. "accountid": {
  18093. "description": "账号id",
  18094. "type": "integer"
  18095. },
  18096. "accountname": {
  18097. "description": "账号名称",
  18098. "type": "string"
  18099. }
  18100. }
  18101. },
  18102. "models.ErmcpLoginUser": {
  18103. "type": "object",
  18104. "properties": {
  18105. "acclist": {
  18106. "description": "关联资金账号",
  18107. "type": "array",
  18108. "items": {
  18109. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  18110. }
  18111. },
  18112. "accountname": {
  18113. "description": "用户名称",
  18114. "type": "string"
  18115. },
  18116. "clientroleid": {
  18117. "description": "角色id(usertype=2)",
  18118. "type": "integer"
  18119. },
  18120. "createtime": {
  18121. "description": "创建时间",
  18122. "type": "string"
  18123. },
  18124. "logincode": {
  18125. "description": "登录代码",
  18126. "type": "string"
  18127. },
  18128. "loginid": {
  18129. "description": "登录id(LOGINID)",
  18130. "type": "integer"
  18131. },
  18132. "loginname": {
  18133. "description": "登录名称(loginaccount表中的accountname字段)",
  18134. "type": "string"
  18135. },
  18136. "loginstatus": {
  18137. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  18138. "type": "integer"
  18139. },
  18140. "memberuserid": {
  18141. "description": "所属会员id",
  18142. "type": "integer"
  18143. },
  18144. "mobile": {
  18145. "description": "手机号",
  18146. "type": "string"
  18147. },
  18148. "modifytime": {
  18149. "description": "修改时间",
  18150. "type": "string"
  18151. },
  18152. "password": {
  18153. "description": "密码(不可解密)",
  18154. "type": "string"
  18155. },
  18156. "rolename": {
  18157. "description": "角色名称",
  18158. "type": "string"
  18159. },
  18160. "rolestatus": {
  18161. "description": "角色状态 1-启用 2-停用",
  18162. "type": "integer"
  18163. },
  18164. "roletype": {
  18165. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  18166. "type": "string"
  18167. },
  18168. "userid": {
  18169. "description": "用户id",
  18170. "type": "integer"
  18171. },
  18172. "usertype": {
  18173. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18174. "type": "integer"
  18175. }
  18176. }
  18177. },
  18178. "models.ErmcpLoginUserEx": {
  18179. "type": "object",
  18180. "properties": {
  18181. "accountstatus": {
  18182. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18183. "type": "integer"
  18184. },
  18185. "mobile": {
  18186. "description": "手机号",
  18187. "type": "string"
  18188. },
  18189. "querytype": {
  18190. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  18191. "type": "integer"
  18192. },
  18193. "roleid": {
  18194. "description": "角色id(交易账户-\u003e用户id)",
  18195. "type": "integer"
  18196. },
  18197. "rolename": {
  18198. "description": "角色名称(交易账户-\u003e用户名称)",
  18199. "type": "string"
  18200. },
  18201. "userlist": {
  18202. "description": "用户列表",
  18203. "type": "array",
  18204. "items": {
  18205. "$ref": "#/definitions/models.ErmcpLoginUser"
  18206. }
  18207. },
  18208. "usertype": {
  18209. "description": "用户类型 2-机构 7-企业成员(云平台)",
  18210. "type": "integer"
  18211. }
  18212. }
  18213. },
  18214. "models.ErmcpMiddleGoodsChangeLog": {
  18215. "type": "object",
  18216. "properties": {
  18217. "aftervalue": {
  18218. "description": "变更后",
  18219. "type": "number"
  18220. },
  18221. "applyid": {
  18222. "description": "操作人",
  18223. "type": "integer"
  18224. },
  18225. "applyname": {
  18226. "description": "操作人名称",
  18227. "type": "string"
  18228. },
  18229. "applysrc": {
  18230. "description": "操作来源 - 1:管理端 2:终端",
  18231. "type": "integer"
  18232. },
  18233. "beforevalue": {
  18234. "description": "变更前",
  18235. "type": "number"
  18236. },
  18237. "changelogtype": {
  18238. "description": "变更流水类型 - 1:套保比率变更",
  18239. "type": "integer"
  18240. },
  18241. "handlestatus": {
  18242. "description": "处理状态",
  18243. "type": "integer"
  18244. },
  18245. "logdatetime": {
  18246. "description": "流水日期",
  18247. "type": "string"
  18248. },
  18249. "logid": {
  18250. "description": "流水ID",
  18251. "type": "integer"
  18252. },
  18253. "logremark": {
  18254. "description": "流水备注",
  18255. "type": "string"
  18256. },
  18257. "middlegoodsid": {
  18258. "description": "套保品种ID",
  18259. "type": "integer"
  18260. },
  18261. "tradedate": {
  18262. "description": "交易日(yyyyMMdd)",
  18263. "type": "string"
  18264. },
  18265. "updatetime": {
  18266. "description": "更新时间",
  18267. "type": "string"
  18268. }
  18269. }
  18270. },
  18271. "models.ErmcpMiddleGoodsDetail": {
  18272. "type": "object",
  18273. "properties": {
  18274. "cvList": {
  18275. "description": "期货品种折算列表",
  18276. "type": "array",
  18277. "items": {
  18278. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18279. }
  18280. },
  18281. "mg": {
  18282. "description": "套保品种基本信息",
  18283. "type": "object",
  18284. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18285. },
  18286. "wrcList": {
  18287. "description": "现货品种列表(现货商品折算配置)",
  18288. "type": "array",
  18289. "items": {
  18290. "$ref": "#/definitions/models.WRSConverTDetail"
  18291. }
  18292. }
  18293. }
  18294. },
  18295. "models.ErmcpMiddleGoodsModel": {
  18296. "type": "object",
  18297. "properties": {
  18298. "areauserid": {
  18299. "description": "机构用户ID",
  18300. "type": "integer"
  18301. },
  18302. "createtime": {
  18303. "description": "修改时间",
  18304. "type": "string"
  18305. },
  18306. "enumdicname": {
  18307. "description": "单位名称",
  18308. "type": "string"
  18309. },
  18310. "evaluateratio": {
  18311. "description": "估价系数",
  18312. "type": "number"
  18313. },
  18314. "goodsgroupid": {
  18315. "description": "关联期货品种ID",
  18316. "type": "integer"
  18317. },
  18318. "goodsunitid": {
  18319. "description": "单位ID",
  18320. "type": "integer"
  18321. },
  18322. "isvalid": {
  18323. "description": "状态 0-无效(停用) 1-有效(正常)",
  18324. "type": "integer"
  18325. },
  18326. "middlegoodscode": {
  18327. "description": "套保品种代码",
  18328. "type": "string"
  18329. },
  18330. "middlegoodsid": {
  18331. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18332. "type": "integer"
  18333. },
  18334. "middlegoodsname": {
  18335. "description": "套保品种名称",
  18336. "type": "string"
  18337. },
  18338. "modifytime": {
  18339. "description": "修改时间",
  18340. "type": "string"
  18341. },
  18342. "needarbitrageratio": {
  18343. "description": "套利比例",
  18344. "type": "number"
  18345. },
  18346. "needhedgeratio": {
  18347. "description": "套保比率",
  18348. "type": "number"
  18349. },
  18350. "qtydecimalplace": {
  18351. "description": "数量小数位",
  18352. "type": "integer"
  18353. },
  18354. "relatedgoodsid": {
  18355. "description": "关联交易商品ID",
  18356. "type": "integer"
  18357. },
  18358. "relatedgoodstype": {
  18359. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18360. "type": "integer"
  18361. },
  18362. "remark": {
  18363. "description": "备注",
  18364. "type": "string"
  18365. }
  18366. }
  18367. },
  18368. "models.ErmcpMiddlegoodsRelateGoods": {
  18369. "type": "object",
  18370. "properties": {
  18371. "agreeunit": {
  18372. "description": "合约乘数",
  18373. "type": "number"
  18374. },
  18375. "convertratio": {
  18376. "description": "折算系数",
  18377. "type": "number"
  18378. },
  18379. "enumdicname": {
  18380. "description": "单位名称(交易商品)",
  18381. "type": "string"
  18382. },
  18383. "goodscode": {
  18384. "description": "交易商品代码",
  18385. "type": "string"
  18386. },
  18387. "goodsgroupid": {
  18388. "description": "交易品种id",
  18389. "type": "integer"
  18390. },
  18391. "goodsid": {
  18392. "description": "商品Id",
  18393. "type": "integer"
  18394. },
  18395. "goodsname": {
  18396. "description": "交易商品名称",
  18397. "type": "string"
  18398. },
  18399. "goodunitid": {
  18400. "description": "交易商品单位id",
  18401. "type": "integer"
  18402. },
  18403. "middlegoodsid": {
  18404. "description": "套保商品id",
  18405. "type": "integer"
  18406. },
  18407. "middlegoodsname": {
  18408. "description": "套保商品名称",
  18409. "type": "string"
  18410. },
  18411. "middlegoodsswcode": {
  18412. "description": "套保商品代码",
  18413. "type": "string"
  18414. },
  18415. "needarbitrageratio": {
  18416. "description": "应套利比例",
  18417. "type": "number"
  18418. },
  18419. "needhedgeratio": {
  18420. "description": "应套保比例",
  18421. "type": "number"
  18422. }
  18423. }
  18424. },
  18425. "models.ErmcpOPLogModel": {
  18426. "type": "object",
  18427. "properties": {
  18428. "aftervalue": {
  18429. "description": "变更后",
  18430. "type": "number"
  18431. },
  18432. "applyid": {
  18433. "description": "操作人ID",
  18434. "type": "string"
  18435. },
  18436. "applyname": {
  18437. "description": "操作人名称",
  18438. "type": "string"
  18439. },
  18440. "beforevalue": {
  18441. "description": "变更前",
  18442. "type": "number"
  18443. },
  18444. "biztype": {
  18445. "description": "业务类型 - 1:套保计划 2:现货合同",
  18446. "type": "integer"
  18447. },
  18448. "contracttype": {
  18449. "description": "现货合同类型 - 1:采购 -1:销售",
  18450. "type": "integer"
  18451. },
  18452. "logvalue": {
  18453. "description": "数值",
  18454. "type": "number"
  18455. },
  18456. "operatelogtype": {
  18457. "description": "操作流水类型",
  18458. "type": "integer"
  18459. },
  18460. "operatelogtypedesc": {
  18461. "description": "操作流水类型名称",
  18462. "type": "string"
  18463. },
  18464. "relatedid": {
  18465. "description": "现货合同ID\\套保计划",
  18466. "type": "string"
  18467. },
  18468. "updatetime": {
  18469. "description": "更新时间",
  18470. "type": "string"
  18471. }
  18472. }
  18473. },
  18474. "models.ErmcpPendingAudit": {
  18475. "type": "object",
  18476. "properties": {
  18477. "areastockqty": {
  18478. "description": "待审核数量: 库存申请",
  18479. "type": "integer"
  18480. },
  18481. "businessdjqty": {
  18482. "description": "待审核数量: 点价",
  18483. "type": "integer"
  18484. },
  18485. "businessfpqty": {
  18486. "description": "待审核数量: 发票",
  18487. "type": "integer"
  18488. },
  18489. "businessjsqty": {
  18490. "description": "待审核数量: 结算",
  18491. "type": "integer"
  18492. },
  18493. "businesskxqty": {
  18494. "description": "待审核数量: 款项",
  18495. "type": "integer"
  18496. },
  18497. "hedgeplanqty": {
  18498. "description": "待审核数量: 套保计划",
  18499. "type": "integer"
  18500. },
  18501. "spotcontractqty": {
  18502. "description": "待审核数量: 现货合同",
  18503. "type": "integer"
  18504. },
  18505. "userqty": {
  18506. "description": "待审核数量: 用户",
  18507. "type": "integer"
  18508. }
  18509. }
  18510. },
  18511. "models.ErmcpRealExposureModel": {
  18512. "type": "object",
  18513. "properties": {
  18514. "AreaUserID": {
  18515. "description": "所属机构",
  18516. "type": "integer"
  18517. },
  18518. "BuyFutureQty": {
  18519. "description": "买入期货数量",
  18520. "type": "number"
  18521. },
  18522. "BuyPlanQty": {
  18523. "description": "采购计划数量",
  18524. "type": "number"
  18525. },
  18526. "BuyPricedQty": {
  18527. "description": "采购合同已定价数量",
  18528. "type": "number"
  18529. },
  18530. "MiddleGoodsCode": {
  18531. "description": "套保品种代码",
  18532. "type": "string"
  18533. },
  18534. "MiddleGoodsHedgeRatio": {
  18535. "description": "套保比例",
  18536. "type": "number"
  18537. },
  18538. "MiddleGoodsID": {
  18539. "description": "套保品种",
  18540. "type": "integer"
  18541. },
  18542. "MiddleGoodsName": {
  18543. "description": "套保品种名称",
  18544. "type": "string"
  18545. },
  18546. "NeedHedgeExposoure": {
  18547. "description": "应套保敞口(套保敞口)",
  18548. "type": "number"
  18549. },
  18550. "NeedHedgeRatio": {
  18551. "description": "应套保敞口比例",
  18552. "type": "number"
  18553. },
  18554. "OriBuyFutureQty": {
  18555. "description": "期初买入期货数量",
  18556. "type": "number"
  18557. },
  18558. "OriBuyPlanQty": {
  18559. "description": "期初采购计划数量",
  18560. "type": "number"
  18561. },
  18562. "OriBuyPricedQty": {
  18563. "description": "期初采购合同已定价数量",
  18564. "type": "number"
  18565. },
  18566. "OriSellFutureQty": {
  18567. "description": "期初卖出期货数量",
  18568. "type": "number"
  18569. },
  18570. "OriSellPlanQty": {
  18571. "description": "期初销售计划数量",
  18572. "type": "number"
  18573. },
  18574. "OriSellPricedQty": {
  18575. "description": "期初销售合同已定价数量",
  18576. "type": "number"
  18577. },
  18578. "SellFutureQty": {
  18579. "description": "卖出期货数量",
  18580. "type": "number"
  18581. },
  18582. "SellPlanQty": {
  18583. "description": "销售计划数量",
  18584. "type": "number"
  18585. },
  18586. "SellPricedQty": {
  18587. "description": "销售合同已定价数量",
  18588. "type": "number"
  18589. },
  18590. "TotalExposure": {
  18591. "description": "总敞口",
  18592. "type": "number"
  18593. },
  18594. "TotalFutureQty": {
  18595. "description": "期货总量",
  18596. "type": "number"
  18597. },
  18598. "TotalHedgeRatio": {
  18599. "description": "敞口比例",
  18600. "type": "number"
  18601. },
  18602. "TotalNeedHedgeQty": {
  18603. "description": "应套保总量(现货应套保总量)",
  18604. "type": "number"
  18605. },
  18606. "TotalSpotQty": {
  18607. "description": "现货总量",
  18608. "type": "number"
  18609. },
  18610. "arbitrageqty": {
  18611. "description": "套利量",
  18612. "type": "number"
  18613. },
  18614. "diffArbitrageQty": {
  18615. "description": "套利变动量",
  18616. "type": "number"
  18617. },
  18618. "diffExposoureQty": {
  18619. "description": "变动量(套保敞口)",
  18620. "type": "number"
  18621. },
  18622. "diffFutuQty": {
  18623. "description": "变动量(期货总量)",
  18624. "type": "number"
  18625. },
  18626. "diffHedgeQty": {
  18627. "description": "套保变动量",
  18628. "type": "number"
  18629. },
  18630. "diffQty": {
  18631. "description": "变动量(总敞口)",
  18632. "type": "number"
  18633. },
  18634. "diffSpotHedgeQty": {
  18635. "description": "变动量(现货应套保总量)",
  18636. "type": "number"
  18637. },
  18638. "diffSpotQty": {
  18639. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  18640. "type": "number"
  18641. },
  18642. "enumdicname": {
  18643. "description": "单位名称",
  18644. "type": "string"
  18645. },
  18646. "hedgeqty": {
  18647. "description": "套保量",
  18648. "type": "number"
  18649. },
  18650. "needarbitrageqty": {
  18651. "description": "应套利量",
  18652. "type": "number"
  18653. },
  18654. "needarbitrageratio": {
  18655. "description": "套利比例",
  18656. "type": "number"
  18657. },
  18658. "needhedgeqty": {
  18659. "description": "应套保量",
  18660. "type": "number"
  18661. },
  18662. "oriTotalFutuQty": {
  18663. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  18664. "type": "number"
  18665. },
  18666. "oriTotalSpotQty": {
  18667. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  18668. "type": "number"
  18669. },
  18670. "oriarbitrageqty": {
  18671. "description": "期初套利量",
  18672. "type": "number"
  18673. },
  18674. "orihedgeqty": {
  18675. "description": "期初套保量",
  18676. "type": "number"
  18677. },
  18678. "orineedhedgeexposoure": {
  18679. "description": "期初套保敞口",
  18680. "type": "number"
  18681. },
  18682. "oritotalexposure": {
  18683. "description": "期初总敞口",
  18684. "type": "number"
  18685. },
  18686. "oritotalfutureqty": {
  18687. "description": "期初期货总量",
  18688. "type": "number"
  18689. },
  18690. "oritotalneedhedgeqty": {
  18691. "description": "期初现货应套保量",
  18692. "type": "number"
  18693. }
  18694. }
  18695. },
  18696. "models.ErmcpRole": {
  18697. "type": "object",
  18698. "properties": {
  18699. "areauserid": {
  18700. "description": "所属机构",
  18701. "type": "integer"
  18702. },
  18703. "autoid": {
  18704. "description": "角色ID(自增ID)",
  18705. "type": "integer"
  18706. },
  18707. "modifierid": {
  18708. "description": "修改人(创建人)",
  18709. "type": "integer"
  18710. },
  18711. "modifiername": {
  18712. "description": "修改人名称",
  18713. "type": "string"
  18714. },
  18715. "modifytime": {
  18716. "description": "修改时间(创建时间)",
  18717. "type": "string"
  18718. },
  18719. "rolename": {
  18720. "description": "角色名称",
  18721. "type": "string"
  18722. },
  18723. "rolestatus": {
  18724. "description": "角色状态 - 1:启用 2:停用",
  18725. "type": "integer"
  18726. },
  18727. "roletype": {
  18728. "description": "角色类型 - 1- 管理端 2- 交易端",
  18729. "type": "integer"
  18730. }
  18731. }
  18732. },
  18733. "models.ErmcpRoleMenu": {
  18734. "type": "object",
  18735. "properties": {
  18736. "iconame": {
  18737. "description": "菜单图标",
  18738. "type": "string"
  18739. },
  18740. "ishadrole": {
  18741. "description": "是否有权限",
  18742. "type": "boolean"
  18743. },
  18744. "menutype": {
  18745. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  18746. "type": "integer"
  18747. },
  18748. "parentcode": {
  18749. "description": "上级资源代码",
  18750. "type": "string"
  18751. },
  18752. "remark": {
  18753. "description": "菜单备注",
  18754. "type": "string"
  18755. },
  18756. "resourcecode": {
  18757. "description": "菜单代码",
  18758. "type": "string"
  18759. },
  18760. "resourcelevel": {
  18761. "description": "级别",
  18762. "type": "integer"
  18763. },
  18764. "resourcename": {
  18765. "description": "菜单名称",
  18766. "type": "string"
  18767. },
  18768. "roleid": {
  18769. "description": "角色id",
  18770. "type": "integer"
  18771. },
  18772. "sort": {
  18773. "description": "排序",
  18774. "type": "integer"
  18775. },
  18776. "url": {
  18777. "description": "URL",
  18778. "type": "string"
  18779. },
  18780. "userid": {
  18781. "description": "用户id",
  18782. "type": "integer"
  18783. }
  18784. }
  18785. },
  18786. "models.ErmcpRoleMenuEx": {
  18787. "type": "object",
  18788. "properties": {
  18789. "menu": {
  18790. "description": "父级菜单",
  18791. "type": "object",
  18792. "$ref": "#/definitions/models.ErmcpRoleMenu"
  18793. },
  18794. "subMenu": {
  18795. "description": "子级菜单",
  18796. "type": "array",
  18797. "items": {
  18798. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  18799. }
  18800. }
  18801. }
  18802. },
  18803. "models.ErmcpTaAccount": {
  18804. "type": "object",
  18805. "properties": {
  18806. "accountid": {
  18807. "description": "账户id",
  18808. "type": "integer"
  18809. },
  18810. "accountname": {
  18811. "description": "账户名称",
  18812. "type": "string"
  18813. },
  18814. "currencyid": {
  18815. "description": "币种id",
  18816. "type": "integer"
  18817. },
  18818. "hedgeaccountcode": {
  18819. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  18820. "type": "string"
  18821. },
  18822. "ismain": {
  18823. "description": "是否主账户 0-否 1-是",
  18824. "type": "integer"
  18825. },
  18826. "parentaccountid": {
  18827. "description": "父账户id",
  18828. "type": "integer"
  18829. },
  18830. "relateduserid": {
  18831. "description": "关联userid",
  18832. "type": "integer"
  18833. },
  18834. "tradefeetmpid": {
  18835. "description": "手续费模板id",
  18836. "type": "integer"
  18837. },
  18838. "tradefeetmpname": {
  18839. "description": "手续费模板名称",
  18840. "type": "string"
  18841. },
  18842. "trademargintmpid": {
  18843. "description": "保证金模板id",
  18844. "type": "integer"
  18845. },
  18846. "trademargintmpname": {
  18847. "description": "保证金模板名称",
  18848. "type": "string"
  18849. },
  18850. "traderatetmpid": {
  18851. "description": "汇率模板id",
  18852. "type": "integer"
  18853. },
  18854. "traderatetmpname": {
  18855. "description": "汇率模板名称",
  18856. "type": "string"
  18857. },
  18858. "tradestatus": {
  18859. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18860. "type": "integer"
  18861. },
  18862. "userid": {
  18863. "description": "用户id",
  18864. "type": "integer"
  18865. }
  18866. }
  18867. },
  18868. "models.ErmcpTaAccountEx": {
  18869. "type": "object",
  18870. "properties": {
  18871. "mainAcc": {
  18872. "description": "主账号",
  18873. "type": "object",
  18874. "$ref": "#/definitions/models.ErmcpTaAccountM"
  18875. },
  18876. "subacclist": {
  18877. "description": "子账号列表",
  18878. "type": "array",
  18879. "items": {
  18880. "$ref": "#/definitions/models.ErmcpTaAccount"
  18881. }
  18882. }
  18883. }
  18884. },
  18885. "models.ErmcpTaAccountInfo": {
  18886. "type": "object",
  18887. "properties": {
  18888. "accountid": {
  18889. "description": "资金账户ID",
  18890. "type": "integer"
  18891. },
  18892. "accountname": {
  18893. "description": "账户名称",
  18894. "type": "string"
  18895. },
  18896. "balance": {
  18897. "description": "期初余额",
  18898. "type": "number"
  18899. },
  18900. "capitalbalance": {
  18901. "description": "本金余额[外部子账户实际出入金余额]",
  18902. "type": "number"
  18903. },
  18904. "closepl": {
  18905. "description": "今日平仓盈亏",
  18906. "type": "number"
  18907. },
  18908. "creditdecrease": {
  18909. "description": "今日授信减少",
  18910. "type": "number"
  18911. },
  18912. "creditincrease": {
  18913. "description": "今日授信增加",
  18914. "type": "number"
  18915. },
  18916. "curdebt": {
  18917. "description": "期末欠款",
  18918. "type": "number"
  18919. },
  18920. "currencyid": {
  18921. "description": "货币ID",
  18922. "type": "integer"
  18923. },
  18924. "currentbalance": {
  18925. "description": "期末余额",
  18926. "type": "number"
  18927. },
  18928. "freezecharge": {
  18929. "description": "手续费冻结",
  18930. "type": "number"
  18931. },
  18932. "freezemargin": {
  18933. "description": "冻结保证金",
  18934. "type": "number"
  18935. },
  18936. "fromaccountid": {
  18937. "description": "所属上级账户",
  18938. "type": "integer"
  18939. },
  18940. "inamount": {
  18941. "description": "今日入金金额(包括三方入金)",
  18942. "type": "number"
  18943. },
  18944. "ismain": {
  18945. "description": "是否母账号 0:不是母账户 1:是母账户",
  18946. "type": "integer"
  18947. },
  18948. "mortgagecredit": {
  18949. "description": "授信金额",
  18950. "type": "number"
  18951. },
  18952. "oridebt": {
  18953. "description": "期初欠款",
  18954. "type": "number"
  18955. },
  18956. "orifreezecharge": {
  18957. "description": "期初手续费冻结",
  18958. "type": "number"
  18959. },
  18960. "orifreezemargin": {
  18961. "description": "期初冻结保证金",
  18962. "type": "number"
  18963. },
  18964. "orimortgagecredit": {
  18965. "description": "期初授信金额",
  18966. "type": "number"
  18967. },
  18968. "oriothercredit": {
  18969. "description": "期初其它授信金额",
  18970. "type": "number"
  18971. },
  18972. "oriotherfreezemargin": {
  18973. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18974. "type": "number"
  18975. },
  18976. "orioutamountfreeze": {
  18977. "description": "期初出金冻结",
  18978. "type": "number"
  18979. },
  18980. "oriusedmargin": {
  18981. "description": "期初占用保证金",
  18982. "type": "number"
  18983. },
  18984. "othercredit": {
  18985. "description": "其它授信金额",
  18986. "type": "number"
  18987. },
  18988. "othercreditdecrease": {
  18989. "description": "今日其它授信减少",
  18990. "type": "number"
  18991. },
  18992. "othercreditincrease": {
  18993. "description": "今日其它授信增加",
  18994. "type": "number"
  18995. },
  18996. "otherfreezemargin": {
  18997. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18998. "type": "number"
  18999. },
  19000. "outamount": {
  19001. "description": "今日出金金额(包括三方出金)",
  19002. "type": "number"
  19003. },
  19004. "outamountfreeze": {
  19005. "description": "出金冻结",
  19006. "type": "number"
  19007. },
  19008. "outthreshold": {
  19009. "description": "出金阈值",
  19010. "type": "number"
  19011. },
  19012. "parentaccountid": {
  19013. "description": "所属根账号",
  19014. "type": "integer"
  19015. },
  19016. "paycharge": {
  19017. "description": "今日手续费支出",
  19018. "type": "number"
  19019. },
  19020. "relateduserid": {
  19021. "description": "关联用户",
  19022. "type": "integer"
  19023. },
  19024. "signstatus": {
  19025. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19026. "type": "integer"
  19027. },
  19028. "sublevelpath": {
  19029. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19030. "type": "string"
  19031. },
  19032. "taaccounttype": {
  19033. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19034. "type": "integer"
  19035. },
  19036. "thirdinamount": {
  19037. "description": "今日三方入金",
  19038. "type": "number"
  19039. },
  19040. "thirdoutamount": {
  19041. "description": "今日三方出金",
  19042. "type": "number"
  19043. },
  19044. "tradestatus": {
  19045. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19046. "type": "integer"
  19047. },
  19048. "transferamount": {
  19049. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19050. "type": "number"
  19051. },
  19052. "usedmargin": {
  19053. "description": "占用保证金",
  19054. "type": "number"
  19055. },
  19056. "userid": {
  19057. "description": "用户ID",
  19058. "type": "integer"
  19059. }
  19060. }
  19061. },
  19062. "models.ErmcpTaAccountM": {
  19063. "type": "object",
  19064. "properties": {
  19065. "accountid": {
  19066. "description": "账户id",
  19067. "type": "integer"
  19068. },
  19069. "accountname": {
  19070. "description": "账户名称",
  19071. "type": "string"
  19072. },
  19073. "currencyid": {
  19074. "description": "币种id",
  19075. "type": "integer"
  19076. },
  19077. "fcid": {
  19078. "description": "期货公司id",
  19079. "type": "integer"
  19080. },
  19081. "fcname": {
  19082. "description": "期货公司代码",
  19083. "type": "string"
  19084. },
  19085. "hedgeaccountcode": {
  19086. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19087. "type": "string"
  19088. },
  19089. "ismain": {
  19090. "description": "是否主账户 0-否 1-是",
  19091. "type": "integer"
  19092. },
  19093. "parentaccountid": {
  19094. "description": "父账户id",
  19095. "type": "integer"
  19096. },
  19097. "relateduserid": {
  19098. "description": "关联userid",
  19099. "type": "integer"
  19100. },
  19101. "tradefeetmpid": {
  19102. "description": "手续费模板id",
  19103. "type": "integer"
  19104. },
  19105. "tradefeetmpname": {
  19106. "description": "手续费模板名称",
  19107. "type": "string"
  19108. },
  19109. "trademargintmpid": {
  19110. "description": "保证金模板id",
  19111. "type": "integer"
  19112. },
  19113. "trademargintmpname": {
  19114. "description": "保证金模板名称",
  19115. "type": "string"
  19116. },
  19117. "traderatetmpid": {
  19118. "description": "汇率模板id",
  19119. "type": "integer"
  19120. },
  19121. "traderatetmpname": {
  19122. "description": "汇率模板名称",
  19123. "type": "string"
  19124. },
  19125. "tradestatus": {
  19126. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19127. "type": "integer"
  19128. },
  19129. "userid": {
  19130. "description": "用户id",
  19131. "type": "integer"
  19132. }
  19133. }
  19134. },
  19135. "models.ErmcpTradeConfigTMP": {
  19136. "type": "object",
  19137. "properties": {
  19138. "areauserid": {
  19139. "description": "所属机构",
  19140. "type": "integer"
  19141. },
  19142. "basiccurrencyid": {
  19143. "description": "基本币种ID[汇率] - 目标币种",
  19144. "type": "integer"
  19145. },
  19146. "mainaccountid": {
  19147. "description": "主账户ID",
  19148. "type": "integer"
  19149. },
  19150. "modifierid": {
  19151. "description": "修改人",
  19152. "type": "integer"
  19153. },
  19154. "remark": {
  19155. "description": "备注",
  19156. "type": "string"
  19157. },
  19158. "tradeconfigtmpid": {
  19159. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  19160. "type": "integer"
  19161. },
  19162. "tradeconfigtmpname": {
  19163. "description": "交易配置模板名称",
  19164. "type": "string"
  19165. },
  19166. "tradeconfigtmptype": {
  19167. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  19168. "type": "integer"
  19169. },
  19170. "updatetime": {
  19171. "description": "更新时间",
  19172. "type": "string"
  19173. }
  19174. }
  19175. },
  19176. "models.ErmcpUserModel": {
  19177. "type": "object",
  19178. "properties": {
  19179. "address": {
  19180. "description": "通讯地址",
  19181. "type": "string"
  19182. },
  19183. "attachment1": {
  19184. "description": "附件1",
  19185. "type": "string"
  19186. },
  19187. "audittime": {
  19188. "description": "审核时间",
  19189. "type": "string"
  19190. },
  19191. "cardbackphotourl": {
  19192. "description": "证件反面图片地址",
  19193. "type": "string"
  19194. },
  19195. "cardfrontphotourl": {
  19196. "description": "证件正面图片地址",
  19197. "type": "string"
  19198. },
  19199. "cardnum": {
  19200. "description": "证件号码",
  19201. "type": "string"
  19202. },
  19203. "cardtype": {
  19204. "description": "证件类型",
  19205. "type": "integer"
  19206. },
  19207. "cardtypename": {
  19208. "description": "证件类型名称",
  19209. "type": "string"
  19210. },
  19211. "cityid": {
  19212. "description": "市",
  19213. "type": "integer"
  19214. },
  19215. "contactname": {
  19216. "description": "联系人",
  19217. "type": "string"
  19218. },
  19219. "countryid": {
  19220. "description": "国家",
  19221. "type": "integer"
  19222. },
  19223. "createtime": {
  19224. "description": "创建时间",
  19225. "type": "string"
  19226. },
  19227. "customername": {
  19228. "description": "企业名称",
  19229. "type": "string"
  19230. },
  19231. "districtid": {
  19232. "description": "区域",
  19233. "type": "integer"
  19234. },
  19235. "email": {
  19236. "description": "邮件",
  19237. "type": "string"
  19238. },
  19239. "legalpersonname": {
  19240. "description": "法人姓名(企业)",
  19241. "type": "string"
  19242. },
  19243. "memberuserid": {
  19244. "description": "所属机构ID",
  19245. "type": "integer"
  19246. },
  19247. "mobile": {
  19248. "description": "手机号码",
  19249. "type": "string"
  19250. },
  19251. "modifytime": {
  19252. "description": "修改时间",
  19253. "type": "string"
  19254. },
  19255. "nickname": {
  19256. "description": "昵称",
  19257. "type": "string"
  19258. },
  19259. "provinceid": {
  19260. "description": "省",
  19261. "type": "integer"
  19262. },
  19263. "remark": {
  19264. "description": "备注",
  19265. "type": "string"
  19266. },
  19267. "status": {
  19268. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19269. "type": "integer"
  19270. },
  19271. "statusdesc": {
  19272. "description": "账户状态中文描述",
  19273. "type": "string"
  19274. },
  19275. "taxpayernum": {
  19276. "description": "纳税人识别号",
  19277. "type": "string"
  19278. },
  19279. "telphone": {
  19280. "description": "联系电话",
  19281. "type": "string"
  19282. },
  19283. "userid": {
  19284. "description": "用户ID",
  19285. "type": "integer"
  19286. },
  19287. "userinfotype": {
  19288. "description": "客户类型",
  19289. "type": "string"
  19290. }
  19291. }
  19292. },
  19293. "models.ErmcpWareHouseInfo": {
  19294. "type": "object",
  19295. "properties": {
  19296. "address": {
  19297. "description": "详细地址",
  19298. "type": "string"
  19299. },
  19300. "areauserid": {
  19301. "description": "所属机构",
  19302. "type": "integer"
  19303. },
  19304. "autoid": {
  19305. "description": "自增ID(仓库ID)",
  19306. "type": "integer"
  19307. },
  19308. "cityid": {
  19309. "description": "市",
  19310. "type": "integer"
  19311. },
  19312. "contactname": {
  19313. "description": "联系人",
  19314. "type": "string"
  19315. },
  19316. "contactnum": {
  19317. "description": "联系电话",
  19318. "type": "string"
  19319. },
  19320. "countryid": {
  19321. "description": "国家",
  19322. "type": "integer"
  19323. },
  19324. "createtime": {
  19325. "description": "创建时间",
  19326. "type": "string"
  19327. },
  19328. "districtid": {
  19329. "description": "区",
  19330. "type": "integer"
  19331. },
  19332. "hasvideo": {
  19333. "description": "是否有视频 - 0:无 1:有",
  19334. "type": "integer"
  19335. },
  19336. "provinceid": {
  19337. "description": "省",
  19338. "type": "integer"
  19339. },
  19340. "remark": {
  19341. "description": "审核备注",
  19342. "type": "string"
  19343. },
  19344. "videourl": {
  19345. "description": "视频地址",
  19346. "type": "string"
  19347. },
  19348. "warehousecode": {
  19349. "description": "仓库代码",
  19350. "type": "string"
  19351. },
  19352. "warehousename": {
  19353. "description": "仓库名称",
  19354. "type": "string"
  19355. },
  19356. "warehousestatus": {
  19357. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19358. "type": "integer"
  19359. },
  19360. "warehousetype": {
  19361. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19362. "type": "integer"
  19363. }
  19364. }
  19365. },
  19366. "models.Externalexchange": {
  19367. "type": "object",
  19368. "required": [
  19369. "autoid"
  19370. ],
  19371. "properties": {
  19372. "autoid": {
  19373. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  19374. "type": "integer"
  19375. },
  19376. "exchangefullname": {
  19377. "description": "外部交易所全称",
  19378. "type": "string"
  19379. },
  19380. "exexchangecode": {
  19381. "description": "外部交易所代码",
  19382. "type": "string"
  19383. },
  19384. "exexchangename": {
  19385. "description": "外部交易所名称(简称)",
  19386. "type": "string"
  19387. },
  19388. "ismarketprice": {
  19389. "description": "是否支持市价 - 0:不支持 1:支持",
  19390. "type": "integer"
  19391. },
  19392. "quotegear": {
  19393. "description": "行情档位(1-10)",
  19394. "type": "integer"
  19395. },
  19396. "showbrokerflag": {
  19397. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  19398. "type": "integer"
  19399. },
  19400. "updatetime": {
  19401. "description": "更新时间",
  19402. "type": "string"
  19403. }
  19404. }
  19405. },
  19406. "models.Funcmenulist": {
  19407. "type": "object",
  19408. "required": [
  19409. "resourcecode"
  19410. ],
  19411. "properties": {
  19412. "iconame": {
  19413. "description": "菜单图标",
  19414. "type": "string"
  19415. },
  19416. "menutype": {
  19417. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  19418. "type": "integer"
  19419. },
  19420. "parentcode": {
  19421. "description": "上级资源代码",
  19422. "type": "string"
  19423. },
  19424. "remark": {
  19425. "description": "备注",
  19426. "type": "string"
  19427. },
  19428. "resourcecode": {
  19429. "description": "资源代码",
  19430. "type": "string"
  19431. },
  19432. "resourcelevel": {
  19433. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  19434. "type": "integer"
  19435. },
  19436. "resourcename": {
  19437. "description": "资源名",
  19438. "type": "string"
  19439. },
  19440. "sort": {
  19441. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  19442. "type": "integer"
  19443. },
  19444. "url": {
  19445. "description": "URL",
  19446. "type": "string"
  19447. }
  19448. }
  19449. },
  19450. "models.Goods": {
  19451. "type": "object",
  19452. "required": [
  19453. "goodscode",
  19454. "goodsid",
  19455. "goodsname",
  19456. "marketid"
  19457. ],
  19458. "properties": {
  19459. "agreeunit": {
  19460. "description": "合约单位",
  19461. "type": "number"
  19462. },
  19463. "areauserid": {
  19464. "description": "所属机构",
  19465. "type": "integer"
  19466. },
  19467. "auditaccountid": {
  19468. "description": "审核操作员账号",
  19469. "type": "integer"
  19470. },
  19471. "audittime": {
  19472. "description": "审核时间",
  19473. "type": "string"
  19474. },
  19475. "cancelaccountid": {
  19476. "description": "注销操作员账号",
  19477. "type": "integer"
  19478. },
  19479. "canceltime": {
  19480. "description": "注销时间",
  19481. "type": "string"
  19482. },
  19483. "closepricemode": {
  19484. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19485. "type": "integer"
  19486. },
  19487. "closepriceparam": {
  19488. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19489. "type": "number"
  19490. },
  19491. "createtime": {
  19492. "description": "创建时间",
  19493. "type": "string"
  19494. },
  19495. "creatorid": {
  19496. "description": "创建人",
  19497. "type": "integer"
  19498. },
  19499. "currencyid": {
  19500. "description": "报价货币ID",
  19501. "type": "integer"
  19502. },
  19503. "cutmode": {
  19504. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19505. "type": "integer"
  19506. },
  19507. "decimalplace": {
  19508. "description": "报价小数位",
  19509. "type": "integer"
  19510. },
  19511. "delistingdate": {
  19512. "description": "商品退市时间(状态:退市) -- 已作废",
  19513. "type": "string"
  19514. },
  19515. "delistingmode": {
  19516. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19517. "type": "integer"
  19518. },
  19519. "deliveryflag": {
  19520. "description": "交割标志 - 0:不可交割 1:可交割",
  19521. "type": "integer"
  19522. },
  19523. "forceclosemode": {
  19524. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19525. "type": "integer"
  19526. },
  19527. "forceclosevalue": {
  19528. "description": "定期强平参数 [收益权]",
  19529. "type": "integer"
  19530. },
  19531. "goodscode": {
  19532. "description": "商品代码(内部)",
  19533. "type": "string"
  19534. },
  19535. "goodscurrencyid": {
  19536. "description": "合约货币ID",
  19537. "type": "integer"
  19538. },
  19539. "goodsgroupid": {
  19540. "description": "所属商品组ID",
  19541. "type": "integer"
  19542. },
  19543. "goodsid": {
  19544. "description": "商品ID(自增ID SEQ_GOODS)",
  19545. "type": "integer"
  19546. },
  19547. "goodsname": {
  19548. "description": "商品名称",
  19549. "type": "string"
  19550. },
  19551. "goodsquotetype": {
  19552. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19553. "type": "integer"
  19554. },
  19555. "goodsstatus": {
  19556. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19557. "type": "integer"
  19558. },
  19559. "goodstradetype": {
  19560. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19561. "type": "integer"
  19562. },
  19563. "goodunitid": {
  19564. "description": "报价单位ID",
  19565. "type": "integer"
  19566. },
  19567. "hasquoter": {
  19568. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19569. "type": "integer"
  19570. },
  19571. "hqprotecttime": {
  19572. "description": "行情保护时间(秒)",
  19573. "type": "integer"
  19574. },
  19575. "innerdealmode": {
  19576. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19577. "type": "integer"
  19578. },
  19579. "isbuylimited": {
  19580. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19581. "type": "integer"
  19582. },
  19583. "isvisible": {
  19584. "description": "游客是否可见 - 0:不可见 1:可见",
  19585. "type": "integer"
  19586. },
  19587. "lasttradedate": {
  19588. "description": "最后交易日期(状态:待退市)",
  19589. "type": "string"
  19590. },
  19591. "listingdate": {
  19592. "description": "交易开始日期",
  19593. "type": "string"
  19594. },
  19595. "marketid": {
  19596. "description": "所属市场ID",
  19597. "type": "integer"
  19598. },
  19599. "modifierid": {
  19600. "description": "修改人",
  19601. "type": "integer"
  19602. },
  19603. "modifystatus": {
  19604. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19605. "type": "integer"
  19606. },
  19607. "modifytime": {
  19608. "description": "修改时间",
  19609. "type": "string"
  19610. },
  19611. "outerdealmode": {
  19612. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19613. "type": "integer"
  19614. },
  19615. "outgoodscode": {
  19616. "description": "商品代码(外部)",
  19617. "type": "string"
  19618. },
  19619. "pictureurl": {
  19620. "description": "商品图片",
  19621. "type": "string"
  19622. },
  19623. "qtydecimalplace": {
  19624. "description": "成交量小数位",
  19625. "type": "integer"
  19626. },
  19627. "quotegear": {
  19628. "description": "行情档位(1-10)",
  19629. "type": "integer"
  19630. },
  19631. "quoteminunit": {
  19632. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19633. "type": "integer"
  19634. },
  19635. "quoteshowtype": {
  19636. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19637. "type": "integer"
  19638. },
  19639. "quoteshowtypeinterval": {
  19640. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19641. "type": "integer"
  19642. },
  19643. "remark": {
  19644. "description": "备注",
  19645. "type": "string"
  19646. }
  19647. }
  19648. },
  19649. "models.GoodsIDAndName": {
  19650. "type": "object",
  19651. "required": [
  19652. "goodscode",
  19653. "goodsid",
  19654. "goodsname",
  19655. "marketid"
  19656. ],
  19657. "properties": {
  19658. "goodscode": {
  19659. "description": "商品代码(内部)",
  19660. "type": "string"
  19661. },
  19662. "goodsid": {
  19663. "description": "商品ID(自增ID SEQ_GOODS)",
  19664. "type": "integer"
  19665. },
  19666. "goodsname": {
  19667. "description": "商品名称",
  19668. "type": "string"
  19669. },
  19670. "marketid": {
  19671. "description": "所属市场ID",
  19672. "type": "integer"
  19673. }
  19674. }
  19675. },
  19676. "models.Goodsgroup": {
  19677. "type": "object",
  19678. "required": [
  19679. "goodsgroupid",
  19680. "goodsgroupname",
  19681. "goodsgroupstatus",
  19682. "marketid"
  19683. ],
  19684. "properties": {
  19685. "agreeunit": {
  19686. "description": "合约单位",
  19687. "type": "number"
  19688. },
  19689. "canshort": {
  19690. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  19691. "type": "integer"
  19692. },
  19693. "closepricemode": {
  19694. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19695. "type": "integer"
  19696. },
  19697. "closepriceparam": {
  19698. "description": "强平最新价浮动比例 - 方式为2时使用",
  19699. "type": "number"
  19700. },
  19701. "createtime": {
  19702. "description": "创建时间",
  19703. "type": "string"
  19704. },
  19705. "creatorid": {
  19706. "description": "创建人",
  19707. "type": "integer"
  19708. },
  19709. "currencyid": {
  19710. "description": "报价货币ID",
  19711. "type": "integer"
  19712. },
  19713. "decimalplace": {
  19714. "description": "报价小数位",
  19715. "type": "integer"
  19716. },
  19717. "exercisetype": {
  19718. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  19719. "type": "integer"
  19720. },
  19721. "exexchangeid": {
  19722. "description": "外部交易所ID[通道交易]",
  19723. "type": "integer"
  19724. },
  19725. "goodsgroupid": {
  19726. "description": "商品组ID(自增ID)",
  19727. "type": "integer"
  19728. },
  19729. "goodsgroupname": {
  19730. "description": "商品组名称",
  19731. "type": "string"
  19732. },
  19733. "goodsgroupstatus": {
  19734. "description": "商品组状态 - 1:正常 2:注销",
  19735. "type": "integer"
  19736. },
  19737. "goodunitid": {
  19738. "description": "报价单位ID",
  19739. "type": "integer"
  19740. },
  19741. "innerdealmode": {
  19742. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19743. "type": "integer"
  19744. },
  19745. "isbuylimited": {
  19746. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19747. "type": "integer"
  19748. },
  19749. "marketid": {
  19750. "description": "所属市场ID",
  19751. "type": "integer"
  19752. },
  19753. "modifierid": {
  19754. "description": "修改人",
  19755. "type": "integer"
  19756. },
  19757. "modifytime": {
  19758. "description": "修改时间",
  19759. "type": "string"
  19760. },
  19761. "outerdealmode": {
  19762. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19763. "type": "integer"
  19764. },
  19765. "outergroupcode": {
  19766. "description": "外部商品组代码[通道交易]",
  19767. "type": "string"
  19768. },
  19769. "premiumdecimalplace": {
  19770. "description": "权利金小数位[场外期权]",
  19771. "type": "integer"
  19772. },
  19773. "premiumspreadalgorithm": {
  19774. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  19775. "type": "integer"
  19776. },
  19777. "premiumspreadvalue": {
  19778. "description": "权利金点差值[场外期权]",
  19779. "type": "number"
  19780. },
  19781. "qtydecimalplace": {
  19782. "description": "成交量小数位",
  19783. "type": "integer"
  19784. },
  19785. "quotegear": {
  19786. "description": "行情档位(1-10)",
  19787. "type": "integer"
  19788. },
  19789. "quoteminunit": {
  19790. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19791. "type": "integer"
  19792. },
  19793. "quoterid": {
  19794. "description": "报价商ID[场外期权]",
  19795. "type": "integer"
  19796. },
  19797. "quotesourcegroupid": {
  19798. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  19799. "type": "integer"
  19800. },
  19801. "syncgoodsqty": {
  19802. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  19803. "type": "integer"
  19804. }
  19805. }
  19806. },
  19807. "models.Goodssortbypreposition": {
  19808. "type": "object",
  19809. "required": [
  19810. "goodscode",
  19811. "tradedate"
  19812. ],
  19813. "properties": {
  19814. "goodscode": {
  19815. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  19816. "type": "string"
  19817. },
  19818. "goodsgroupcode": {
  19819. "description": "品种代码",
  19820. "type": "string"
  19821. },
  19822. "prepositionqty": {
  19823. "description": "昨持仓量",
  19824. "type": "integer"
  19825. },
  19826. "sortindex": {
  19827. "description": "排序",
  19828. "type": "integer"
  19829. },
  19830. "tradedate": {
  19831. "description": "交易日",
  19832. "type": "string"
  19833. },
  19834. "updatetime": {
  19835. "description": "更新时间",
  19836. "type": "string"
  19837. }
  19838. }
  19839. },
  19840. "models.Hedgeinnerholderdetail": {
  19841. "type": "object",
  19842. "required": [
  19843. "buyorsell",
  19844. "tradeid"
  19845. ],
  19846. "properties": {
  19847. "accountid": {
  19848. "description": "账号ID",
  19849. "type": "integer"
  19850. },
  19851. "buyorsell": {
  19852. "description": "方向 - 0:买 1:卖",
  19853. "type": "integer"
  19854. },
  19855. "freezeqty": {
  19856. "description": "冻结数量 - 按单平使用",
  19857. "type": "integer"
  19858. },
  19859. "goodsid": {
  19860. "description": "商品ID",
  19861. "type": "integer"
  19862. },
  19863. "holderamount": {
  19864. "description": "持仓金额 [商品币种]",
  19865. "type": "number"
  19866. },
  19867. "holderdays": {
  19868. "description": "剩余冻结天数",
  19869. "type": "integer"
  19870. },
  19871. "holderprice": {
  19872. "description": "持仓价格",
  19873. "type": "number"
  19874. },
  19875. "holderqty": {
  19876. "description": "持仓数量",
  19877. "type": "integer"
  19878. },
  19879. "marketid": {
  19880. "description": "市场ID",
  19881. "type": "integer"
  19882. },
  19883. "openprice": {
  19884. "description": "建仓价格",
  19885. "type": "number"
  19886. },
  19887. "openqty": {
  19888. "description": "建仓数量",
  19889. "type": "integer"
  19890. },
  19891. "parentaccountid": {
  19892. "description": "所属母账户",
  19893. "type": "integer"
  19894. },
  19895. "releaseamount": {
  19896. "description": "释放持仓金额[商品币种]",
  19897. "type": "number"
  19898. },
  19899. "tradeamount": {
  19900. "description": "成交金额[账户]",
  19901. "type": "number"
  19902. },
  19903. "tradedate": {
  19904. "description": "交易日(yyyyMMdd)",
  19905. "type": "string"
  19906. },
  19907. "tradeid": {
  19908. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19909. "type": "string"
  19910. },
  19911. "tradetime": {
  19912. "description": "交易时间",
  19913. "type": "string"
  19914. }
  19915. }
  19916. },
  19917. "models.Hedgemarketopenlog": {
  19918. "type": "object",
  19919. "required": [
  19920. "accountid"
  19921. ],
  19922. "properties": {
  19923. "accountid": {
  19924. "description": "资金账号[外部母账户]",
  19925. "type": "integer"
  19926. },
  19927. "fcname": {
  19928. "description": "期货公司名称",
  19929. "type": "string"
  19930. },
  19931. "handlestatus": {
  19932. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  19933. "type": "integer"
  19934. },
  19935. "marketid": {
  19936. "description": "市场ID",
  19937. "type": "integer"
  19938. },
  19939. "status": {
  19940. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  19941. "type": "integer"
  19942. },
  19943. "tradedate": {
  19944. "description": "交易日(yyyyMMdd)",
  19945. "type": "string"
  19946. },
  19947. "updatetime": {
  19948. "description": "更新时间",
  19949. "type": "string"
  19950. }
  19951. }
  19952. },
  19953. "models.HsbyBuyMyPayOrder": {
  19954. "type": "object",
  19955. "required": [
  19956. "goodscode",
  19957. "goodsname",
  19958. "tradeid",
  19959. "trademode"
  19960. ],
  19961. "properties": {
  19962. "agreeunit": {
  19963. "description": "合约单位",
  19964. "type": "number"
  19965. },
  19966. "buyaccountid": {
  19967. "description": "买方账号ID[报价币种]",
  19968. "type": "integer"
  19969. },
  19970. "buyorderid": {
  19971. "description": "买方委托单号",
  19972. "type": "string"
  19973. },
  19974. "createtime": {
  19975. "description": "创建时间",
  19976. "type": "string"
  19977. },
  19978. "currencysign": {
  19979. "description": "货币符号",
  19980. "type": "string"
  19981. },
  19982. "decimalplace": {
  19983. "description": "报价小数位",
  19984. "type": "integer"
  19985. },
  19986. "goodscode": {
  19987. "description": "商品代码(内部)",
  19988. "type": "string"
  19989. },
  19990. "goodsid": {
  19991. "description": "商品ID",
  19992. "type": "integer"
  19993. },
  19994. "goodsname": {
  19995. "description": "商品名称",
  19996. "type": "string"
  19997. },
  19998. "marketid": {
  19999. "description": "市场ID",
  20000. "type": "integer"
  20001. },
  20002. "offamount": {
  20003. "description": "优惠金额",
  20004. "type": "number"
  20005. },
  20006. "originalamount": {
  20007. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20008. "type": "number"
  20009. },
  20010. "payamount": {
  20011. "description": "支付金额 = TradeAmount + TradeCharge",
  20012. "type": "number"
  20013. },
  20014. "payflag": {
  20015. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20016. "type": "integer"
  20017. },
  20018. "paylimitedtime": {
  20019. "description": "支付期限",
  20020. "type": "string"
  20021. },
  20022. "paytime": {
  20023. "description": "付款时间",
  20024. "type": "string"
  20025. },
  20026. "picurls1": {
  20027. "description": "预售商品介绍图片[多张用逗号分隔]",
  20028. "type": "string"
  20029. },
  20030. "picurls2": {
  20031. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20032. "type": "string"
  20033. },
  20034. "sellaccountid": {
  20035. "description": "卖方账号ID[报价币种]",
  20036. "type": "integer"
  20037. },
  20038. "sellorderid": {
  20039. "description": "卖方委托单号",
  20040. "type": "string"
  20041. },
  20042. "tradeamount": {
  20043. "description": "成交金额",
  20044. "type": "number"
  20045. },
  20046. "tradecharge": {
  20047. "description": "成交手续费(买方)",
  20048. "type": "number"
  20049. },
  20050. "tradedate": {
  20051. "description": "交易日(yyyyMMdd)",
  20052. "type": "string"
  20053. },
  20054. "tradeid": {
  20055. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20056. "type": "string"
  20057. },
  20058. "trademode": {
  20059. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20060. "type": "integer"
  20061. },
  20062. "tradeprice": {
  20063. "description": "成交价格",
  20064. "type": "number"
  20065. },
  20066. "tradeqty": {
  20067. "description": "成交数量",
  20068. "type": "integer"
  20069. },
  20070. "vendorname1": {
  20071. "description": "预售商品供应商名称",
  20072. "type": "string"
  20073. },
  20074. "vendorname2": {
  20075. "description": "挂牌商品供应商名称",
  20076. "type": "string"
  20077. }
  20078. }
  20079. },
  20080. "models.HsbyBuyMyTradeDetail": {
  20081. "type": "object",
  20082. "required": [
  20083. "accountid",
  20084. "buyorsell",
  20085. "goodscode",
  20086. "goodsid",
  20087. "goodsname",
  20088. "marketid",
  20089. "orderid",
  20090. "qty",
  20091. "time",
  20092. "trademode"
  20093. ],
  20094. "properties": {
  20095. "accountid": {
  20096. "description": "账户ID[报价币种]",
  20097. "type": "integer"
  20098. },
  20099. "agreeunit": {
  20100. "description": "合约单位",
  20101. "type": "number"
  20102. },
  20103. "amount": {
  20104. "description": "金额 = 价格 * 数量 * 合约单位",
  20105. "type": "number"
  20106. },
  20107. "buyorsell": {
  20108. "description": "买卖 - 0:买 1:卖",
  20109. "type": "integer"
  20110. },
  20111. "currencysign": {
  20112. "description": "货币符号",
  20113. "type": "string"
  20114. },
  20115. "decimalplace": {
  20116. "description": "报价小数位",
  20117. "type": "integer"
  20118. },
  20119. "goodscode": {
  20120. "description": "商品代码(内部)",
  20121. "type": "string"
  20122. },
  20123. "goodsid": {
  20124. "description": "商品ID",
  20125. "type": "integer"
  20126. },
  20127. "goodsname": {
  20128. "description": "商品名称",
  20129. "type": "string"
  20130. },
  20131. "marketid": {
  20132. "description": "市场ID",
  20133. "type": "integer"
  20134. },
  20135. "orderamount": {
  20136. "description": "委托金额",
  20137. "type": "number"
  20138. },
  20139. "orderid": {
  20140. "description": "单号(成交单号)",
  20141. "type": "string"
  20142. },
  20143. "picurls1": {
  20144. "description": "预售商品介绍图片[多张用逗号分隔]",
  20145. "type": "string"
  20146. },
  20147. "picurls2": {
  20148. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20149. "type": "string"
  20150. },
  20151. "price": {
  20152. "description": "价格",
  20153. "type": "number"
  20154. },
  20155. "qty": {
  20156. "description": "数量",
  20157. "type": "integer"
  20158. },
  20159. "time": {
  20160. "description": "时间",
  20161. "type": "string"
  20162. },
  20163. "trademode": {
  20164. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20165. "type": "integer"
  20166. },
  20167. "vendorname1": {
  20168. "description": "预售商品供应商名称",
  20169. "type": "string"
  20170. },
  20171. "vendorname2": {
  20172. "description": "挂牌商品供应商名称",
  20173. "type": "string"
  20174. }
  20175. }
  20176. },
  20177. "models.HsbyGoodsOrderDetail": {
  20178. "type": "object",
  20179. "required": [
  20180. "buyorsell",
  20181. "orderid",
  20182. "ordertime"
  20183. ],
  20184. "properties": {
  20185. "buyorsell": {
  20186. "description": "买卖 - 0:买 1:卖",
  20187. "type": "integer"
  20188. },
  20189. "currencysign": {
  20190. "description": "货币符号",
  20191. "type": "string"
  20192. },
  20193. "customername": {
  20194. "description": "客户名称(企业名称),已脱敏",
  20195. "type": "string"
  20196. },
  20197. "enableqty": {
  20198. "description": "可用数量",
  20199. "type": "integer"
  20200. },
  20201. "goodunit": {
  20202. "description": "报价单位",
  20203. "type": "string"
  20204. },
  20205. "orderid": {
  20206. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20207. "type": "string"
  20208. },
  20209. "orderprice": {
  20210. "description": "委托价格",
  20211. "type": "number"
  20212. },
  20213. "ordertime": {
  20214. "description": "委托时间",
  20215. "type": "string"
  20216. }
  20217. }
  20218. },
  20219. "models.HsbyListingGoodsDetail": {
  20220. "type": "object",
  20221. "required": [
  20222. "goodscode",
  20223. "goodsid",
  20224. "goodsname",
  20225. "marketid",
  20226. "trademode"
  20227. ],
  20228. "properties": {
  20229. "agreeunit": {
  20230. "description": "合约单位",
  20231. "type": "number"
  20232. },
  20233. "buymaxqty": {
  20234. "description": "购买上限 [71] - 0为不限",
  20235. "type": "integer"
  20236. },
  20237. "currency": {
  20238. "description": "货币",
  20239. "type": "string"
  20240. },
  20241. "currencysign": {
  20242. "description": "货币符号",
  20243. "type": "string"
  20244. },
  20245. "decimalplace": {
  20246. "description": "报价小数位",
  20247. "type": "integer"
  20248. },
  20249. "desccityid": {
  20250. "description": "目的地(市)ID",
  20251. "type": "integer"
  20252. },
  20253. "descprovinceid": {
  20254. "description": "目的地(省)ID",
  20255. "type": "integer"
  20256. },
  20257. "goodscode": {
  20258. "description": "商品代码(内部)",
  20259. "type": "string"
  20260. },
  20261. "goodsdesc": {
  20262. "description": "商品详情",
  20263. "type": "string"
  20264. },
  20265. "goodsid": {
  20266. "description": "商品ID(自增ID SEQ_GOODS)",
  20267. "type": "integer"
  20268. },
  20269. "goodsname": {
  20270. "description": "商品名称",
  20271. "type": "string"
  20272. },
  20273. "goodsprice": {
  20274. "description": "商品价格",
  20275. "type": "number"
  20276. },
  20277. "hotindex": {
  20278. "description": "景点热度",
  20279. "type": "integer"
  20280. },
  20281. "last": {
  20282. "description": "现价",
  20283. "type": "number"
  20284. },
  20285. "limitdown": {
  20286. "description": "跌停价",
  20287. "type": "number"
  20288. },
  20289. "limitup": {
  20290. "description": "涨停价",
  20291. "type": "number"
  20292. },
  20293. "lotsize": {
  20294. "description": "手数最小变动单位",
  20295. "type": "integer"
  20296. },
  20297. "marketid": {
  20298. "description": "所属市场ID",
  20299. "type": "integer"
  20300. },
  20301. "picurls": {
  20302. "description": "介绍图片[多张用逗号分隔]",
  20303. "type": "string"
  20304. },
  20305. "quoteminunit": {
  20306. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20307. "type": "integer"
  20308. },
  20309. "stepvalue": {
  20310. "description": "价格最小变动单位",
  20311. "type": "number"
  20312. },
  20313. "trademode": {
  20314. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20315. "type": "integer"
  20316. },
  20317. "vendorattr": {
  20318. "description": "供应商附件(多张,逗号分隔)",
  20319. "type": "string"
  20320. },
  20321. "vendorname": {
  20322. "description": "供应商名称",
  20323. "type": "string"
  20324. },
  20325. "vendorphone": {
  20326. "description": "供应商客服电话",
  20327. "type": "string"
  20328. },
  20329. "videourls": {
  20330. "description": "介绍视频[多张用逗号分隔]",
  20331. "type": "string"
  20332. }
  20333. }
  20334. },
  20335. "models.HsbyMarketGoods": {
  20336. "type": "object",
  20337. "required": [
  20338. "accountid",
  20339. "buyorsell",
  20340. "goodscode",
  20341. "goodsid",
  20342. "goodsname",
  20343. "marketid",
  20344. "orderid",
  20345. "trademode"
  20346. ],
  20347. "properties": {
  20348. "accountid": {
  20349. "description": "账户ID[报价币种]",
  20350. "type": "integer"
  20351. },
  20352. "agreeunit": {
  20353. "description": "合约单位",
  20354. "type": "number"
  20355. },
  20356. "buyorsell": {
  20357. "description": "买卖 - 0:买 1:卖",
  20358. "type": "integer"
  20359. },
  20360. "categoryid": {
  20361. "description": "类别ID(WRCATEGORY)",
  20362. "type": "integer"
  20363. },
  20364. "currency": {
  20365. "description": "货币",
  20366. "type": "string"
  20367. },
  20368. "currencysign": {
  20369. "description": "货币符号",
  20370. "type": "string"
  20371. },
  20372. "customername": {
  20373. "description": "卖家名称",
  20374. "type": "string"
  20375. },
  20376. "decimalplace": {
  20377. "description": "报价小数位",
  20378. "type": "integer"
  20379. },
  20380. "goodscode": {
  20381. "description": "商品代码(内部)",
  20382. "type": "string"
  20383. },
  20384. "goodsid": {
  20385. "description": "商品ID",
  20386. "type": "integer"
  20387. },
  20388. "goodsname": {
  20389. "description": "商品名称",
  20390. "type": "string"
  20391. },
  20392. "goodsprice": {
  20393. "description": "商品价格",
  20394. "type": "number"
  20395. },
  20396. "hascoupon": {
  20397. "description": "是否可用优惠卷",
  20398. "type": "boolean"
  20399. },
  20400. "hotindex": {
  20401. "description": "景点热度",
  20402. "type": "integer"
  20403. },
  20404. "marketid": {
  20405. "description": "市场ID",
  20406. "type": "integer"
  20407. },
  20408. "orderid": {
  20409. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20410. "type": "string"
  20411. },
  20412. "orderprice": {
  20413. "description": "委托价格",
  20414. "type": "number"
  20415. },
  20416. "orderstatus": {
  20417. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20418. "type": "integer"
  20419. },
  20420. "picurls": {
  20421. "description": "介绍图片[多张用逗号分隔]",
  20422. "type": "string"
  20423. },
  20424. "quoteminunit": {
  20425. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20426. "type": "integer"
  20427. },
  20428. "sellUserID": {
  20429. "description": "卖方UserID",
  20430. "type": "integer"
  20431. },
  20432. "trademode": {
  20433. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20434. "type": "integer"
  20435. },
  20436. "videourls": {
  20437. "description": "介绍视频[多张用逗号分隔]",
  20438. "type": "string"
  20439. }
  20440. }
  20441. },
  20442. "models.HsbyMarketGoodsDetail": {
  20443. "type": "object",
  20444. "required": [
  20445. "accountid",
  20446. "buyorsell",
  20447. "goodscode",
  20448. "goodsid",
  20449. "goodsname",
  20450. "marketid",
  20451. "orderid",
  20452. "orderqty",
  20453. "trademode"
  20454. ],
  20455. "properties": {
  20456. "accountid": {
  20457. "description": "账户ID[报价币种]",
  20458. "type": "integer"
  20459. },
  20460. "agreeunit": {
  20461. "description": "合约单位",
  20462. "type": "number"
  20463. },
  20464. "buymaxqty": {
  20465. "description": "购买上限 [71] - 0为不限",
  20466. "type": "integer"
  20467. },
  20468. "buyorsell": {
  20469. "description": "买卖 - 0:买 1:卖",
  20470. "type": "integer"
  20471. },
  20472. "cancelqty": {
  20473. "description": "撤单数量",
  20474. "type": "integer"
  20475. },
  20476. "categoryid": {
  20477. "description": "类别ID(WRCATEGORY)",
  20478. "type": "integer"
  20479. },
  20480. "currency": {
  20481. "description": "货币",
  20482. "type": "string"
  20483. },
  20484. "currencysign": {
  20485. "description": "货币符号",
  20486. "type": "string"
  20487. },
  20488. "customername": {
  20489. "description": "卖家名称",
  20490. "type": "string"
  20491. },
  20492. "decimalplace": {
  20493. "description": "报价小数位",
  20494. "type": "integer"
  20495. },
  20496. "goodscode": {
  20497. "description": "商品代码(内部)",
  20498. "type": "string"
  20499. },
  20500. "goodsdesc": {
  20501. "description": "商品详情",
  20502. "type": "string"
  20503. },
  20504. "goodsid": {
  20505. "description": "商品ID",
  20506. "type": "integer"
  20507. },
  20508. "goodsname": {
  20509. "description": "商品名称",
  20510. "type": "string"
  20511. },
  20512. "goodsprice": {
  20513. "description": "商品价格",
  20514. "type": "number"
  20515. },
  20516. "hotindex": {
  20517. "description": "景点热度",
  20518. "type": "integer"
  20519. },
  20520. "lotsize": {
  20521. "description": "手数最小变动单位",
  20522. "type": "integer"
  20523. },
  20524. "marketid": {
  20525. "description": "市场ID",
  20526. "type": "integer"
  20527. },
  20528. "orderid": {
  20529. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20530. "type": "string"
  20531. },
  20532. "orderprice": {
  20533. "description": "委托价格",
  20534. "type": "number"
  20535. },
  20536. "orderqty": {
  20537. "description": "委托数量",
  20538. "type": "integer"
  20539. },
  20540. "orderstatus": {
  20541. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20542. "type": "integer"
  20543. },
  20544. "picurls": {
  20545. "description": "介绍图片[多张用逗号分隔]",
  20546. "type": "string"
  20547. },
  20548. "quoteminunit": {
  20549. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20550. "type": "integer"
  20551. },
  20552. "sellUserID": {
  20553. "description": "卖方UserID",
  20554. "type": "integer"
  20555. },
  20556. "trademode": {
  20557. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20558. "type": "integer"
  20559. },
  20560. "tradeqty": {
  20561. "description": "成交数量",
  20562. "type": "integer"
  20563. },
  20564. "vendorattr": {
  20565. "description": "供应商附件(多张,逗号分隔)",
  20566. "type": "string"
  20567. },
  20568. "vendorname": {
  20569. "description": "供应商名称",
  20570. "type": "string"
  20571. },
  20572. "vendorphone": {
  20573. "description": "供应商客服电话",
  20574. "type": "string"
  20575. },
  20576. "videourls": {
  20577. "description": "介绍视频[多张用逗号分隔]",
  20578. "type": "string"
  20579. }
  20580. }
  20581. },
  20582. "models.HsbyMarketInfo": {
  20583. "type": "object",
  20584. "required": [
  20585. "marketid",
  20586. "marketstatus",
  20587. "trademode"
  20588. ],
  20589. "properties": {
  20590. "marketid": {
  20591. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20592. "type": "integer"
  20593. },
  20594. "marketname": {
  20595. "description": "市场名称",
  20596. "type": "string"
  20597. },
  20598. "marketstatus": {
  20599. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20600. "type": "integer"
  20601. },
  20602. "trademode": {
  20603. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20604. "type": "integer"
  20605. }
  20606. }
  20607. },
  20608. "models.HsbyMyGoods": {
  20609. "type": "object",
  20610. "required": [
  20611. "accountid",
  20612. "goodscode",
  20613. "goodsid",
  20614. "goodsname",
  20615. "marketid",
  20616. "trademode"
  20617. ],
  20618. "properties": {
  20619. "accountid": {
  20620. "description": "账号Id",
  20621. "type": "integer"
  20622. },
  20623. "agreeunit": {
  20624. "description": "合约单位",
  20625. "type": "number"
  20626. },
  20627. "buyaverageprice": {
  20628. "description": "持仓均价",
  20629. "type": "number"
  20630. },
  20631. "buycurholderamount": {
  20632. "description": "买当前持仓总金额[商品币种]",
  20633. "type": "number"
  20634. },
  20635. "buycurpositionqty": {
  20636. "description": "买当前持仓总数量",
  20637. "type": "integer"
  20638. },
  20639. "buymaxqty": {
  20640. "description": "购买上限 [71] - 0为不限",
  20641. "type": "integer"
  20642. },
  20643. "currencysign": {
  20644. "description": "货币符号",
  20645. "type": "string"
  20646. },
  20647. "decimalplace": {
  20648. "description": "报价小数位",
  20649. "type": "integer"
  20650. },
  20651. "enableqty": {
  20652. "description": "可用数量",
  20653. "type": "integer"
  20654. },
  20655. "goodscode": {
  20656. "description": "商品代码(内部)",
  20657. "type": "string"
  20658. },
  20659. "goodsid": {
  20660. "description": "商品Id",
  20661. "type": "integer"
  20662. },
  20663. "goodsname": {
  20664. "description": "商品名称",
  20665. "type": "string"
  20666. },
  20667. "goodsprice": {
  20668. "description": "商品价格",
  20669. "type": "number"
  20670. },
  20671. "goodsstatus": {
  20672. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20673. "type": "integer"
  20674. },
  20675. "last": {
  20676. "description": "现价(仅使用于挂牌点选)",
  20677. "type": "number"
  20678. },
  20679. "limitdown": {
  20680. "description": "跌停价(仅使用于挂牌点选)",
  20681. "type": "number"
  20682. },
  20683. "limitup": {
  20684. "description": "涨停价(仅使用于挂牌点选)",
  20685. "type": "number"
  20686. },
  20687. "lotsize": {
  20688. "description": "手数最小变动单位",
  20689. "type": "integer"
  20690. },
  20691. "marketid": {
  20692. "description": "所属市场ID",
  20693. "type": "integer"
  20694. },
  20695. "picurls": {
  20696. "description": "介绍图片[多张用逗号分隔]",
  20697. "type": "string"
  20698. },
  20699. "quoteminunit": {
  20700. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20701. "type": "integer"
  20702. },
  20703. "stepvalue": {
  20704. "description": "价格最小变动单位",
  20705. "type": "number"
  20706. },
  20707. "trademode": {
  20708. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20709. "type": "integer"
  20710. }
  20711. }
  20712. },
  20713. "models.HsbyMyPackage": {
  20714. "type": "object",
  20715. "required": [
  20716. "goodscode",
  20717. "goodsname",
  20718. "takeorderid",
  20719. "trademode"
  20720. ],
  20721. "properties": {
  20722. "accountid": {
  20723. "description": "账户ID",
  20724. "type": "integer"
  20725. },
  20726. "address": {
  20727. "description": "提货人详细地址",
  20728. "type": "string"
  20729. },
  20730. "agreeunit": {
  20731. "description": "合约单位",
  20732. "type": "number"
  20733. },
  20734. "amount": {
  20735. "description": "提货金额",
  20736. "type": "number"
  20737. },
  20738. "auditer": {
  20739. "description": "审核人",
  20740. "type": "integer"
  20741. },
  20742. "audittime": {
  20743. "description": "审核时间",
  20744. "type": "string"
  20745. },
  20746. "averageprice": {
  20747. "description": "均价",
  20748. "type": "number"
  20749. },
  20750. "cardnum": {
  20751. "description": "提货人证件号码",
  20752. "type": "string"
  20753. },
  20754. "cardtypeid": {
  20755. "description": "提货人证件类型",
  20756. "type": "integer"
  20757. },
  20758. "checkremark": {
  20759. "description": "审核备注",
  20760. "type": "string"
  20761. },
  20762. "currencysign": {
  20763. "description": "货币符号",
  20764. "type": "string"
  20765. },
  20766. "decimalplace": {
  20767. "description": "报价小数位",
  20768. "type": "integer"
  20769. },
  20770. "goodscode": {
  20771. "description": "商品代码(内部)",
  20772. "type": "string"
  20773. },
  20774. "goodsid": {
  20775. "description": "商品ID",
  20776. "type": "integer"
  20777. },
  20778. "goodsname": {
  20779. "description": "商品名称",
  20780. "type": "string"
  20781. },
  20782. "handlestatus": {
  20783. "description": "处理状态",
  20784. "type": "integer"
  20785. },
  20786. "marketid": {
  20787. "description": "市场ID",
  20788. "type": "integer"
  20789. },
  20790. "phonenum": {
  20791. "description": "提货人联系方式",
  20792. "type": "string"
  20793. },
  20794. "picurls": {
  20795. "description": "介绍图片[多张用逗号分隔]",
  20796. "type": "string"
  20797. },
  20798. "qty": {
  20799. "description": "提货数量",
  20800. "type": "number"
  20801. },
  20802. "recivername": {
  20803. "description": "提货人姓名",
  20804. "type": "string"
  20805. },
  20806. "reqtime": {
  20807. "description": "更新时间",
  20808. "type": "string"
  20809. },
  20810. "takemode": {
  20811. "description": "提货方式 - 2:自提 3:配送",
  20812. "type": "integer"
  20813. },
  20814. "takeorderid": {
  20815. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20816. "type": "string"
  20817. },
  20818. "takeorderstatus": {
  20819. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  20820. "type": "integer"
  20821. },
  20822. "takeremark": {
  20823. "description": "提货备注",
  20824. "type": "string"
  20825. },
  20826. "tradedate": {
  20827. "description": "交易日(yyyyMMdd)",
  20828. "type": "string"
  20829. },
  20830. "trademode": {
  20831. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20832. "type": "integer"
  20833. },
  20834. "userid": {
  20835. "description": "用户ID",
  20836. "type": "integer"
  20837. },
  20838. "vendorname": {
  20839. "description": "供应商名称",
  20840. "type": "string"
  20841. }
  20842. }
  20843. },
  20844. "models.HsbyPreGoods": {
  20845. "type": "object",
  20846. "required": [
  20847. "goodscode",
  20848. "goodsid",
  20849. "goodsname",
  20850. "marketid",
  20851. "trademode"
  20852. ],
  20853. "properties": {
  20854. "agreeunit": {
  20855. "description": "合约单位",
  20856. "type": "number"
  20857. },
  20858. "currency": {
  20859. "description": "货币",
  20860. "type": "string"
  20861. },
  20862. "currencysign": {
  20863. "description": "货币符号",
  20864. "type": "string"
  20865. },
  20866. "decimalplace": {
  20867. "description": "报价小数位",
  20868. "type": "integer"
  20869. },
  20870. "desccityid": {
  20871. "description": "目的地(市)",
  20872. "type": "integer"
  20873. },
  20874. "descprovinceid": {
  20875. "description": "目的地(省)",
  20876. "type": "integer"
  20877. },
  20878. "enableqty": {
  20879. "description": "剩余数量",
  20880. "type": "integer"
  20881. },
  20882. "goodscode": {
  20883. "description": "商品代码(内部)",
  20884. "type": "string"
  20885. },
  20886. "goodsid": {
  20887. "description": "商品ID(自增ID SEQ_GOODS)",
  20888. "type": "integer"
  20889. },
  20890. "goodsname": {
  20891. "description": "商品名称",
  20892. "type": "string"
  20893. },
  20894. "goodsstatus": {
  20895. "description": "商品状态- 2:未上市 3:上市",
  20896. "type": "integer"
  20897. },
  20898. "lasttradedate": {
  20899. "description": "最后交易日期(状态:待退市)",
  20900. "type": "string"
  20901. },
  20902. "listingdate": {
  20903. "description": "交易开始日期",
  20904. "type": "string"
  20905. },
  20906. "marketid": {
  20907. "description": "所属市场ID",
  20908. "type": "integer"
  20909. },
  20910. "picurls": {
  20911. "description": "介绍图片[多张用逗号分隔]",
  20912. "type": "string"
  20913. },
  20914. "presaledqty": {
  20915. "description": "已预售量(预售结束时更新)",
  20916. "type": "integer"
  20917. },
  20918. "presaleqty": {
  20919. "description": "预售数量",
  20920. "type": "integer"
  20921. },
  20922. "quoteminunit": {
  20923. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20924. "type": "integer"
  20925. },
  20926. "refprice": {
  20927. "description": "参考价格[一口价]",
  20928. "type": "number"
  20929. },
  20930. "relatedgoodsid": {
  20931. "description": "关联交易合约ID",
  20932. "type": "integer"
  20933. },
  20934. "trademode": {
  20935. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20936. "type": "integer"
  20937. },
  20938. "videourls": {
  20939. "description": "介绍视频[多张用逗号分隔]",
  20940. "type": "string"
  20941. }
  20942. }
  20943. },
  20944. "models.HsbyPreGoodsDetail": {
  20945. "type": "object",
  20946. "required": [
  20947. "goodscode",
  20948. "goodsid",
  20949. "goodsname",
  20950. "marketid",
  20951. "trademode"
  20952. ],
  20953. "properties": {
  20954. "agreeunit": {
  20955. "description": "合约单位",
  20956. "type": "number"
  20957. },
  20958. "buymaxqty": {
  20959. "description": "购买上限 [71] - 0为不限",
  20960. "type": "integer"
  20961. },
  20962. "currency": {
  20963. "description": "货币",
  20964. "type": "string"
  20965. },
  20966. "currencysign": {
  20967. "description": "货币符号",
  20968. "type": "string"
  20969. },
  20970. "customername": {
  20971. "description": "发行单位",
  20972. "type": "string"
  20973. },
  20974. "decimalplace": {
  20975. "description": "报价小数位",
  20976. "type": "integer"
  20977. },
  20978. "desccityid": {
  20979. "description": "目的地(市)ID",
  20980. "type": "integer"
  20981. },
  20982. "descprovinceid": {
  20983. "description": "目的地(省)ID",
  20984. "type": "integer"
  20985. },
  20986. "enableqty": {
  20987. "description": "剩余数量",
  20988. "type": "integer"
  20989. },
  20990. "goodscode": {
  20991. "description": "商品代码(内部)",
  20992. "type": "string"
  20993. },
  20994. "goodsdesc": {
  20995. "description": "商品详情",
  20996. "type": "string"
  20997. },
  20998. "goodsid": {
  20999. "description": "商品ID(自增ID SEQ_GOODS)",
  21000. "type": "integer"
  21001. },
  21002. "goodsname": {
  21003. "description": "商品名称",
  21004. "type": "string"
  21005. },
  21006. "goodsstatus": {
  21007. "description": "商品状态- 2:未上市 3:上市",
  21008. "type": "integer"
  21009. },
  21010. "goodunit": {
  21011. "description": "报价单位",
  21012. "type": "string"
  21013. },
  21014. "lasttradedate": {
  21015. "description": "最后交易日期(状态:待退市)",
  21016. "type": "string"
  21017. },
  21018. "listingdate": {
  21019. "description": "交易开始日期",
  21020. "type": "string"
  21021. },
  21022. "lotsize": {
  21023. "description": "手数最小变动单位",
  21024. "type": "integer"
  21025. },
  21026. "marketid": {
  21027. "description": "所属市场ID",
  21028. "type": "integer"
  21029. },
  21030. "picurls": {
  21031. "description": "介绍图片[多张用逗号分隔]",
  21032. "type": "string"
  21033. },
  21034. "presaledqty": {
  21035. "description": "已预售量(预售结束时更新)",
  21036. "type": "integer"
  21037. },
  21038. "presaleqty": {
  21039. "description": "预售数量",
  21040. "type": "integer"
  21041. },
  21042. "quoteminunit": {
  21043. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21044. "type": "integer"
  21045. },
  21046. "refprice": {
  21047. "description": "参考价格[一口价]",
  21048. "type": "number"
  21049. },
  21050. "relatedgoodsid": {
  21051. "description": "关联交易合约ID",
  21052. "type": "integer"
  21053. },
  21054. "stepvalue": {
  21055. "description": "价格最小变动单位",
  21056. "type": "number"
  21057. },
  21058. "trademode": {
  21059. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21060. "type": "integer"
  21061. },
  21062. "vendorattr": {
  21063. "description": "供应商附件(多张,逗号分隔)",
  21064. "type": "string"
  21065. },
  21066. "vendorname": {
  21067. "description": "供应商名称",
  21068. "type": "string"
  21069. },
  21070. "vendorphone": {
  21071. "description": "供应商客服电话",
  21072. "type": "string"
  21073. },
  21074. "videourls": {
  21075. "description": "介绍视频[多张用逗号分隔]",
  21076. "type": "string"
  21077. }
  21078. }
  21079. },
  21080. "models.HsbySellCollectionOrder": {
  21081. "type": "object",
  21082. "required": [
  21083. "goodscode",
  21084. "goodsname",
  21085. "tradeid",
  21086. "trademode"
  21087. ],
  21088. "properties": {
  21089. "agreeunit": {
  21090. "description": "合约单位",
  21091. "type": "number"
  21092. },
  21093. "buyaccountid": {
  21094. "description": "买方账号ID[报价币种]",
  21095. "type": "integer"
  21096. },
  21097. "buyorderid": {
  21098. "description": "买方委托单号",
  21099. "type": "string"
  21100. },
  21101. "createtime": {
  21102. "description": "创建时间",
  21103. "type": "string"
  21104. },
  21105. "currencysign": {
  21106. "description": "货币符号",
  21107. "type": "string"
  21108. },
  21109. "decimalplace": {
  21110. "description": "报价小数位",
  21111. "type": "integer"
  21112. },
  21113. "goodscode": {
  21114. "description": "商品代码(内部)",
  21115. "type": "string"
  21116. },
  21117. "goodsid": {
  21118. "description": "商品ID",
  21119. "type": "integer"
  21120. },
  21121. "goodsname": {
  21122. "description": "商品名称",
  21123. "type": "string"
  21124. },
  21125. "marketid": {
  21126. "description": "市场ID",
  21127. "type": "integer"
  21128. },
  21129. "offamount": {
  21130. "description": "优惠金额",
  21131. "type": "number"
  21132. },
  21133. "payamount": {
  21134. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  21135. "type": "number"
  21136. },
  21137. "payflag": {
  21138. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21139. "type": "integer"
  21140. },
  21141. "paylimitedtime": {
  21142. "description": "支付期限",
  21143. "type": "string"
  21144. },
  21145. "paytime": {
  21146. "description": "付款时间",
  21147. "type": "string"
  21148. },
  21149. "picurls": {
  21150. "description": "商品介绍图片[多张用逗号分隔]",
  21151. "type": "string"
  21152. },
  21153. "sellaccountid": {
  21154. "description": "卖方账号ID[报价币种]",
  21155. "type": "integer"
  21156. },
  21157. "sellorderid": {
  21158. "description": "卖方委托单号",
  21159. "type": "string"
  21160. },
  21161. "tradeamount": {
  21162. "description": "成交金额",
  21163. "type": "number"
  21164. },
  21165. "tradecharge": {
  21166. "description": "成交手续费(买方)",
  21167. "type": "number"
  21168. },
  21169. "tradedate": {
  21170. "description": "交易日(yyyyMMdd)",
  21171. "type": "string"
  21172. },
  21173. "tradeid": {
  21174. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21175. "type": "string"
  21176. },
  21177. "trademode": {
  21178. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21179. "type": "integer"
  21180. },
  21181. "tradeprice": {
  21182. "description": "成交价格",
  21183. "type": "number"
  21184. },
  21185. "tradeqty": {
  21186. "description": "成交数量",
  21187. "type": "integer"
  21188. }
  21189. }
  21190. },
  21191. "models.HsbySellMyDetail": {
  21192. "type": "object",
  21193. "required": [
  21194. "accountid",
  21195. "buyorsell",
  21196. "goodscode",
  21197. "goodsid",
  21198. "goodsname",
  21199. "marketid",
  21200. "orderid",
  21201. "time",
  21202. "trademode"
  21203. ],
  21204. "properties": {
  21205. "accountid": {
  21206. "description": "账户ID[报价币种]",
  21207. "type": "integer"
  21208. },
  21209. "agreeunit": {
  21210. "description": "合约单位",
  21211. "type": "number"
  21212. },
  21213. "buyorsell": {
  21214. "description": "买卖 - 0:买 1:卖",
  21215. "type": "integer"
  21216. },
  21217. "currencysign": {
  21218. "description": "货币符号",
  21219. "type": "string"
  21220. },
  21221. "decimalplace": {
  21222. "description": "报价小数位",
  21223. "type": "integer"
  21224. },
  21225. "goodscode": {
  21226. "description": "商品代码(内部)",
  21227. "type": "string"
  21228. },
  21229. "goodsid": {
  21230. "description": "商品ID",
  21231. "type": "integer"
  21232. },
  21233. "goodsname": {
  21234. "description": "商品名称",
  21235. "type": "string"
  21236. },
  21237. "marketid": {
  21238. "description": "市场ID",
  21239. "type": "integer"
  21240. },
  21241. "orderid": {
  21242. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  21243. "type": "string"
  21244. },
  21245. "ordertype": {
  21246. "description": "单据类型:0 - 发布中, 1 - 已完成",
  21247. "type": "integer"
  21248. },
  21249. "picurls": {
  21250. "description": "介绍图片[多张用逗号分隔]",
  21251. "type": "string"
  21252. },
  21253. "price": {
  21254. "description": "价格",
  21255. "type": "number"
  21256. },
  21257. "qty": {
  21258. "description": "数量",
  21259. "type": "integer"
  21260. },
  21261. "time": {
  21262. "description": "时间",
  21263. "type": "string"
  21264. },
  21265. "trademode": {
  21266. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21267. "type": "integer"
  21268. },
  21269. "vendorname": {
  21270. "description": "供应商名称",
  21271. "type": "string"
  21272. }
  21273. }
  21274. },
  21275. "models.HsbyTopGoods": {
  21276. "type": "object",
  21277. "required": [
  21278. "goodscode",
  21279. "goodsid",
  21280. "goodsname",
  21281. "marketid",
  21282. "trademode"
  21283. ],
  21284. "properties": {
  21285. "agreeunit": {
  21286. "description": "合约单位",
  21287. "type": "number"
  21288. },
  21289. "currency": {
  21290. "description": "货币",
  21291. "type": "string"
  21292. },
  21293. "currencysign": {
  21294. "description": "货币符号",
  21295. "type": "string"
  21296. },
  21297. "decimalplace": {
  21298. "description": "报价小数位",
  21299. "type": "integer"
  21300. },
  21301. "desccityid": {
  21302. "description": "目的地(市)",
  21303. "type": "integer"
  21304. },
  21305. "descprovinceid": {
  21306. "description": "目的地(省)",
  21307. "type": "integer"
  21308. },
  21309. "goodscode": {
  21310. "description": "商品代码(内部)",
  21311. "type": "string"
  21312. },
  21313. "goodsid": {
  21314. "description": "商品ID(自增ID SEQ_GOODS)",
  21315. "type": "integer"
  21316. },
  21317. "goodsname": {
  21318. "description": "商品名称",
  21319. "type": "string"
  21320. },
  21321. "hotindex": {
  21322. "description": "景点热度",
  21323. "type": "integer"
  21324. },
  21325. "last": {
  21326. "description": "现价",
  21327. "type": "number"
  21328. },
  21329. "marketid": {
  21330. "description": "所属市场ID",
  21331. "type": "integer"
  21332. },
  21333. "picurls": {
  21334. "description": "介绍图片[多张用逗号分隔]",
  21335. "type": "string"
  21336. },
  21337. "quoteminunit": {
  21338. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21339. "type": "integer"
  21340. },
  21341. "trademode": {
  21342. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21343. "type": "integer"
  21344. },
  21345. "videourls": {
  21346. "description": "介绍视频[多张用逗号分隔]",
  21347. "type": "string"
  21348. }
  21349. }
  21350. },
  21351. "models.HybsMyBuyOrderDetail": {
  21352. "type": "object",
  21353. "required": [
  21354. "accountid",
  21355. "buyorsell",
  21356. "goodscode",
  21357. "goodsid",
  21358. "goodsname",
  21359. "marketid",
  21360. "orderid",
  21361. "orderqty",
  21362. "ordertime",
  21363. "trademode"
  21364. ],
  21365. "properties": {
  21366. "accountid": {
  21367. "description": "账户ID[报价币种]",
  21368. "type": "integer"
  21369. },
  21370. "agreeunit": {
  21371. "description": "合约单位",
  21372. "type": "number"
  21373. },
  21374. "buyorsell": {
  21375. "description": "买卖 - 0:买 1:卖",
  21376. "type": "integer"
  21377. },
  21378. "cancelqty": {
  21379. "description": "撤单数量",
  21380. "type": "integer"
  21381. },
  21382. "currencysign": {
  21383. "description": "货币符号",
  21384. "type": "string"
  21385. },
  21386. "decimalplace": {
  21387. "description": "报价小数位",
  21388. "type": "integer"
  21389. },
  21390. "goodscode": {
  21391. "description": "商品代码(内部)",
  21392. "type": "string"
  21393. },
  21394. "goodsid": {
  21395. "description": "商品ID",
  21396. "type": "integer"
  21397. },
  21398. "goodsname": {
  21399. "description": "商品名称",
  21400. "type": "string"
  21401. },
  21402. "listingselecttype": {
  21403. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21404. "type": "integer"
  21405. },
  21406. "marketid": {
  21407. "description": "市场ID",
  21408. "type": "integer"
  21409. },
  21410. "mybuystatus": {
  21411. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  21412. "type": "integer"
  21413. },
  21414. "orderamount": {
  21415. "description": "委托金额",
  21416. "type": "number"
  21417. },
  21418. "orderid": {
  21419. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21420. "type": "string"
  21421. },
  21422. "orderprice": {
  21423. "description": "委托价格",
  21424. "type": "number"
  21425. },
  21426. "orderqty": {
  21427. "description": "委托数量",
  21428. "type": "integer"
  21429. },
  21430. "orderstatus": {
  21431. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21432. "type": "integer"
  21433. },
  21434. "ordertime": {
  21435. "description": "委托时间",
  21436. "type": "string"
  21437. },
  21438. "picurls1": {
  21439. "description": "预售商品介绍图片[多张用逗号分隔]",
  21440. "type": "string"
  21441. },
  21442. "picurls2": {
  21443. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21444. "type": "string"
  21445. },
  21446. "trademode": {
  21447. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21448. "type": "integer"
  21449. },
  21450. "tradeqty": {
  21451. "description": "成交数量",
  21452. "type": "integer"
  21453. },
  21454. "vendorname1": {
  21455. "description": "预售商品供应商名称",
  21456. "type": "string"
  21457. },
  21458. "vendorname2": {
  21459. "description": "挂牌商品供应商名称",
  21460. "type": "string"
  21461. }
  21462. }
  21463. },
  21464. "models.Loginaccount": {
  21465. "type": "object",
  21466. "required": [
  21467. "loginid"
  21468. ],
  21469. "properties": {
  21470. "canoutin": {
  21471. "description": "是否可出入金 - 0:不可 1:可",
  21472. "type": "integer"
  21473. },
  21474. "clientroleid": {
  21475. "description": "终端角色ID",
  21476. "type": "integer"
  21477. },
  21478. "haslogined": {
  21479. "description": "是否已登录 - 0:未登录 1:已登录",
  21480. "type": "integer"
  21481. },
  21482. "hasupdatedpwd": {
  21483. "description": "是否已更改密码 - 0:未修改 1:已修改",
  21484. "type": "integer"
  21485. },
  21486. "lastloginip": {
  21487. "description": "最新登录地址",
  21488. "type": "string"
  21489. },
  21490. "lastloginmode": {
  21491. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21492. "type": "integer"
  21493. },
  21494. "lastloginremark": {
  21495. "description": "最新登录描述",
  21496. "type": "string"
  21497. },
  21498. "lastlogintime": {
  21499. "description": "最新登录时间",
  21500. "type": "string"
  21501. },
  21502. "logincode": {
  21503. "description": "登录代码",
  21504. "type": "string"
  21505. },
  21506. "loginfailnum": {
  21507. "description": "连续登录失败次数(登录成功时清零)",
  21508. "type": "integer"
  21509. },
  21510. "loginid": {
  21511. "description": "登陆账号",
  21512. "type": "integer"
  21513. },
  21514. "loginport": {
  21515. "description": "最新登录端口",
  21516. "type": "integer"
  21517. },
  21518. "loginstatus": {
  21519. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  21520. "type": "integer"
  21521. },
  21522. "loginusertype": {
  21523. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  21524. "type": "integer"
  21525. },
  21526. "modifierid": {
  21527. "description": "修改人",
  21528. "type": "integer"
  21529. },
  21530. "modifytime": {
  21531. "description": "修改时间",
  21532. "type": "string"
  21533. },
  21534. "pwdwrongcount": {
  21535. "description": "密码错误次数",
  21536. "type": "integer"
  21537. },
  21538. "taaccountrighttype": {
  21539. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  21540. "type": "integer"
  21541. },
  21542. "unfreezetime": {
  21543. "description": "账户解冻时间",
  21544. "type": "string"
  21545. },
  21546. "userid": {
  21547. "description": "用户ID",
  21548. "type": "integer"
  21549. }
  21550. }
  21551. },
  21552. "models.MainAccountInfo": {
  21553. "type": "object",
  21554. "properties": {
  21555. "accountid": {
  21556. "description": "账号id",
  21557. "type": "integer"
  21558. },
  21559. "accountname": {
  21560. "description": "账号名称(taaccount表中的名称)",
  21561. "type": "string"
  21562. },
  21563. "appid": {
  21564. "description": "AppID",
  21565. "type": "string"
  21566. },
  21567. "authcode": {
  21568. "description": "授权码",
  21569. "type": "string"
  21570. },
  21571. "brokerid": {
  21572. "description": "经纪商id",
  21573. "type": "string"
  21574. },
  21575. "fcid": {
  21576. "description": "期货公司id",
  21577. "type": "integer"
  21578. },
  21579. "fcname": {
  21580. "description": "期货公司代码",
  21581. "type": "string"
  21582. },
  21583. "hedgeaccountcode": {
  21584. "description": "外部账号代码(主账号登录代码)",
  21585. "type": "string"
  21586. },
  21587. "hedgeaccountpwd": {
  21588. "description": "密码",
  21589. "type": "string"
  21590. },
  21591. "ismain": {
  21592. "description": "是否主账号",
  21593. "type": "integer"
  21594. },
  21595. "relateduserid": {
  21596. "description": "关联用户id",
  21597. "type": "integer"
  21598. },
  21599. "userid": {
  21600. "description": "关联用户id",
  21601. "type": "integer"
  21602. }
  21603. }
  21604. },
  21605. "models.Market": {
  21606. "type": "object",
  21607. "required": [
  21608. "marketid",
  21609. "marketstatus",
  21610. "openmethod",
  21611. "reckonpricealgorithm",
  21612. "trademode",
  21613. "tradeproperty"
  21614. ],
  21615. "properties": {
  21616. "auctionwrtype": {
  21617. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  21618. "type": "integer"
  21619. },
  21620. "canacceptquote": {
  21621. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  21622. "type": "integer"
  21623. },
  21624. "cangoodsexercise": {
  21625. "description": "[期权]是否可现货行权- 0:否 1:是",
  21626. "type": "integer"
  21627. },
  21628. "cangoodsexercisetype": {
  21629. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  21630. "type": "integer"
  21631. },
  21632. "canmanualquotestrike": {
  21633. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  21634. "type": "integer"
  21635. },
  21636. "canmutistage": {
  21637. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  21638. "type": "integer"
  21639. },
  21640. "canpreexercise": {
  21641. "description": "[期权]是否可预申报- 0:否 1:是",
  21642. "type": "integer"
  21643. },
  21644. "clearinterval": {
  21645. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  21646. "type": "integer"
  21647. },
  21648. "contracttmp": {
  21649. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  21650. "type": "string"
  21651. },
  21652. "exchareaid": {
  21653. "description": "所属交易所,可以没有",
  21654. "type": "integer"
  21655. },
  21656. "goodstype": {
  21657. "description": "商品类型 - 1:交易商品 2:仓单商品",
  21658. "type": "integer"
  21659. },
  21660. "hasrebate": {
  21661. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  21662. "type": "integer"
  21663. },
  21664. "hastradecredit": {
  21665. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  21666. "type": "integer"
  21667. },
  21668. "haswr": {
  21669. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  21670. "type": "integer"
  21671. },
  21672. "isdeductmargin": {
  21673. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  21674. "type": "integer"
  21675. },
  21676. "isrecordsource": {
  21677. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  21678. "type": "integer"
  21679. },
  21680. "isreleasemargin": {
  21681. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  21682. "type": "integer"
  21683. },
  21684. "marginformula": {
  21685. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21686. "type": "integer"
  21687. },
  21688. "marginformula2": {
  21689. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  21690. "type": "integer"
  21691. },
  21692. "marketid": {
  21693. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21694. "type": "integer"
  21695. },
  21696. "marketname": {
  21697. "description": "市场名称",
  21698. "type": "string"
  21699. },
  21700. "marketserviceid": {
  21701. "description": "市场服务ID",
  21702. "type": "integer"
  21703. },
  21704. "marketstatus": {
  21705. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21706. "type": "integer"
  21707. },
  21708. "markettype": {
  21709. "description": "市场类型- 1:非交易服务 2:交易服务",
  21710. "type": "integer"
  21711. },
  21712. "matchermode": {
  21713. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  21714. "type": "integer"
  21715. },
  21716. "openmethod": {
  21717. "description": "开盘模式 - 0 自动 1手动",
  21718. "type": "integer"
  21719. },
  21720. "otcuserid": {
  21721. "description": "场外期权做市商[场外期权]",
  21722. "type": "integer"
  21723. },
  21724. "outersynctime": {
  21725. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  21726. "type": "string"
  21727. },
  21728. "pendingflag": {
  21729. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  21730. "type": "integer"
  21731. },
  21732. "pendingtime": {
  21733. "description": "待开市时间[通道交易-对冲](HH:mm)",
  21734. "type": "string"
  21735. },
  21736. "performancetempid": {
  21737. "description": "履约计划模板ID - 作废",
  21738. "type": "integer"
  21739. },
  21740. "premiumquotemode": {
  21741. "description": "权利金报价方式 - 1:自动 2:手动",
  21742. "type": "integer"
  21743. },
  21744. "rebateratio": {
  21745. "description": "返利比率[竞价式]",
  21746. "type": "number"
  21747. },
  21748. "reckonorder": {
  21749. "description": "结算顺序",
  21750. "type": "integer"
  21751. },
  21752. "reckonpricealgorithm": {
  21753. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  21754. "type": "integer"
  21755. },
  21756. "reckonpriceparam": {
  21757. "description": "结算价参数",
  21758. "type": "integer"
  21759. },
  21760. "reckontime": {
  21761. "description": "结算时间[通道交易-对冲](HH:mm)",
  21762. "type": "string"
  21763. },
  21764. "roleprioritytype": {
  21765. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  21766. "type": "integer"
  21767. },
  21768. "selllistingauditflag": {
  21769. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  21770. "type": "integer"
  21771. },
  21772. "trademarkettype": {
  21773. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  21774. "type": "integer"
  21775. },
  21776. "trademode": {
  21777. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21778. "type": "integer"
  21779. },
  21780. "tradeproperty": {
  21781. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  21782. "type": "integer"
  21783. },
  21784. "tradetype": {
  21785. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  21786. "type": "integer"
  21787. }
  21788. }
  21789. },
  21790. "models.Marketrun": {
  21791. "type": "object",
  21792. "required": [
  21793. "marketid",
  21794. "nexttradedate",
  21795. "reckonflag",
  21796. "runstatus",
  21797. "tradedate",
  21798. "tradedate2"
  21799. ],
  21800. "properties": {
  21801. "afternexttradedate": {
  21802. "description": "下下交易日",
  21803. "type": "string"
  21804. },
  21805. "clearquoteflag": {
  21806. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  21807. "type": "integer"
  21808. },
  21809. "lastreckondate": {
  21810. "description": "最新交易日(结算成功)",
  21811. "type": "string"
  21812. },
  21813. "machinedate": {
  21814. "description": "机器时间",
  21815. "type": "string"
  21816. },
  21817. "manualflag": {
  21818. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  21819. "type": "integer"
  21820. },
  21821. "marketid": {
  21822. "description": "市场ID",
  21823. "type": "integer"
  21824. },
  21825. "nexttradedate": {
  21826. "description": "下一交易日",
  21827. "type": "string"
  21828. },
  21829. "pretradedate": {
  21830. "description": "上一交易日",
  21831. "type": "string"
  21832. },
  21833. "reckonflag": {
  21834. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  21835. "type": "integer"
  21836. },
  21837. "runstatus": {
  21838. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  21839. "type": "integer"
  21840. },
  21841. "sectionid": {
  21842. "description": "时间段号[多时段时用]",
  21843. "type": "integer"
  21844. },
  21845. "tradedate": {
  21846. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  21847. "type": "string"
  21848. },
  21849. "tradedate2": {
  21850. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  21851. "type": "string"
  21852. },
  21853. "updatetime": {
  21854. "description": "更新时间",
  21855. "type": "string"
  21856. }
  21857. }
  21858. },
  21859. "models.Messageboard": {
  21860. "type": "object",
  21861. "required": [
  21862. "messageboardid"
  21863. ],
  21864. "properties": {
  21865. "contactnum": {
  21866. "description": "联系电话",
  21867. "type": "string"
  21868. },
  21869. "createtime": {
  21870. "description": "创建时间",
  21871. "type": "string"
  21872. },
  21873. "message": {
  21874. "description": "留言信息",
  21875. "type": "string"
  21876. },
  21877. "messageboardid": {
  21878. "description": "留言簿ID(SEQ_MessageBoard)",
  21879. "type": "integer"
  21880. },
  21881. "userid": {
  21882. "description": "用户ID",
  21883. "type": "integer"
  21884. }
  21885. }
  21886. },
  21887. "models.MyCoupon": {
  21888. "type": "object",
  21889. "required": [
  21890. "accountid",
  21891. "coupontypeid"
  21892. ],
  21893. "properties": {
  21894. "accountid": {
  21895. "description": "资金账户ID",
  21896. "type": "integer"
  21897. },
  21898. "areauserid": {
  21899. "description": "所属机构",
  21900. "type": "integer"
  21901. },
  21902. "conditionvalue": {
  21903. "description": "条件阈值(可为0)",
  21904. "type": "number"
  21905. },
  21906. "couponcategroy": {
  21907. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  21908. "type": "integer"
  21909. },
  21910. "couponname": {
  21911. "description": "优惠券名称",
  21912. "type": "string"
  21913. },
  21914. "coupontypeid": {
  21915. "description": "优惠券类型ID",
  21916. "type": "string"
  21917. },
  21918. "couponvalue": {
  21919. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  21920. "type": "number"
  21921. },
  21922. "curfreezeqty": {
  21923. "description": "期末冻结数量",
  21924. "type": "integer"
  21925. },
  21926. "curqty": {
  21927. "description": "期末数量",
  21928. "type": "integer"
  21929. },
  21930. "isgeneral": {
  21931. "description": "是否通用券 - 0:否 1:是",
  21932. "type": "integer"
  21933. },
  21934. "isunusable": {
  21935. "description": "是否不可用",
  21936. "type": "boolean"
  21937. },
  21938. "limitedflag": {
  21939. "description": "是否指定商品 - 0:不限 1:限制",
  21940. "type": "integer"
  21941. },
  21942. "limitedgoodsids": {
  21943. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  21944. "type": "string"
  21945. },
  21946. "orifreezeqty": {
  21947. "description": "期初冻结数量",
  21948. "type": "integer"
  21949. },
  21950. "oriqty": {
  21951. "description": "期初数量",
  21952. "type": "integer"
  21953. },
  21954. "reasontype": {
  21955. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  21956. "type": "integer"
  21957. },
  21958. "todaydecrease": {
  21959. "description": "今日减少",
  21960. "type": "integer"
  21961. },
  21962. "todayincrease": {
  21963. "description": "今日增加",
  21964. "type": "integer"
  21965. },
  21966. "userid": {
  21967. "description": "用户ID",
  21968. "type": "integer"
  21969. },
  21970. "userscope": {
  21971. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  21972. "type": "string"
  21973. }
  21974. }
  21975. },
  21976. "models.MyCouponHold": {
  21977. "type": "object",
  21978. "required": [
  21979. "couponholdid"
  21980. ],
  21981. "properties": {
  21982. "accountid": {
  21983. "description": "资金账户ID",
  21984. "type": "integer"
  21985. },
  21986. "conditionvalue": {
  21987. "description": "条件阈值(可为0)",
  21988. "type": "number"
  21989. },
  21990. "couponcategroy": {
  21991. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  21992. "type": "integer"
  21993. },
  21994. "couponholdid": {
  21995. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  21996. "type": "string"
  21997. },
  21998. "couponname": {
  21999. "description": "优惠券名称",
  22000. "type": "string"
  22001. },
  22002. "coupontypeid": {
  22003. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22004. "type": "string"
  22005. },
  22006. "couponvalue": {
  22007. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22008. "type": "number"
  22009. },
  22010. "createtime": {
  22011. "description": "创建时间",
  22012. "type": "string"
  22013. },
  22014. "enddate": {
  22015. "description": "结束日期",
  22016. "type": "string"
  22017. },
  22018. "giveapplyid": {
  22019. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22020. "type": "integer"
  22021. },
  22022. "holdstatus": {
  22023. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22024. "type": "integer"
  22025. },
  22026. "isgeneral": {
  22027. "description": "是否通用券 - 0:否 1:是",
  22028. "type": "integer"
  22029. },
  22030. "limitedflag": {
  22031. "description": "是否指定商品 - 0:不限 1:限制",
  22032. "type": "integer"
  22033. },
  22034. "limitedgoodsids": {
  22035. "description": "指定商品IDs[逗号分隔]",
  22036. "type": "string"
  22037. },
  22038. "qty": {
  22039. "description": "数量(按1平铺)",
  22040. "type": "integer"
  22041. },
  22042. "startdate": {
  22043. "description": "开始日期",
  22044. "type": "string"
  22045. },
  22046. "userid": {
  22047. "description": "用户ID",
  22048. "type": "integer"
  22049. },
  22050. "userscope": {
  22051. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22052. "type": "string"
  22053. }
  22054. }
  22055. },
  22056. "models.MyUsedCoupon": {
  22057. "type": "object",
  22058. "required": [
  22059. "coupontypeid",
  22060. "orderid"
  22061. ],
  22062. "properties": {
  22063. "accountid": {
  22064. "description": "资金账户ID(买方)",
  22065. "type": "integer"
  22066. },
  22067. "conditionvalue": {
  22068. "description": "条件阈值(可为0)",
  22069. "type": "number"
  22070. },
  22071. "couponcategroy": {
  22072. "description": "种类 - 1:现金券 2:折扣券",
  22073. "type": "integer"
  22074. },
  22075. "couponname": {
  22076. "description": "优惠券名称",
  22077. "type": "string"
  22078. },
  22079. "coupontypeid": {
  22080. "description": "优惠券类型ID(买方)",
  22081. "type": "string"
  22082. },
  22083. "couponvalue": {
  22084. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  22085. "type": "number"
  22086. },
  22087. "createtime": {
  22088. "description": "创建时间",
  22089. "type": "string"
  22090. },
  22091. "goodsid": {
  22092. "description": "商品ID",
  22093. "type": "integer"
  22094. },
  22095. "handlestatus": {
  22096. "description": "处理状态",
  22097. "type": "integer"
  22098. },
  22099. "marketid": {
  22100. "description": "市场ID",
  22101. "type": "integer"
  22102. },
  22103. "offamount": {
  22104. "description": "优惠金额",
  22105. "type": "number"
  22106. },
  22107. "orderid": {
  22108. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22109. "type": "string"
  22110. },
  22111. "sellaccountid": {
  22112. "description": "资金账户ID(卖方)",
  22113. "type": "integer"
  22114. },
  22115. "tradeamount": {
  22116. "description": "成交金额",
  22117. "type": "number"
  22118. },
  22119. "tradeid": {
  22120. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22121. "type": "string"
  22122. },
  22123. "usedqty": {
  22124. "description": "使用数量",
  22125. "type": "integer"
  22126. }
  22127. }
  22128. },
  22129. "models.OperationPrimaryMenu": {
  22130. "type": "object",
  22131. "properties": {
  22132. "Children": {
  22133. "description": "二级功能菜单",
  22134. "type": "array",
  22135. "items": {
  22136. "$ref": "#/definitions/models.OperationSecondaryMenu"
  22137. }
  22138. },
  22139. "Key": {
  22140. "description": "菜单KEY",
  22141. "type": "string"
  22142. },
  22143. "Label": {
  22144. "description": "菜单标题",
  22145. "type": "string"
  22146. }
  22147. }
  22148. },
  22149. "models.OperationSecondaryMenu": {
  22150. "type": "object",
  22151. "properties": {
  22152. "Key": {
  22153. "description": "菜单KEY",
  22154. "type": "string"
  22155. },
  22156. "Label": {
  22157. "description": "菜单标题",
  22158. "type": "string"
  22159. },
  22160. "TabList": {
  22161. "description": "三级功能菜单",
  22162. "type": "array",
  22163. "items": {
  22164. "$ref": "#/definitions/models.OperationTabMenu"
  22165. }
  22166. }
  22167. }
  22168. },
  22169. "models.OperationTabMenu": {
  22170. "type": "object",
  22171. "properties": {
  22172. "Key": {
  22173. "description": "菜单KEY",
  22174. "type": "string"
  22175. },
  22176. "Label": {
  22177. "description": "菜单标题",
  22178. "type": "string"
  22179. }
  22180. }
  22181. },
  22182. "models.PendingAuditBizModel": {
  22183. "type": "object",
  22184. "properties": {
  22185. "accountid": {
  22186. "description": "现货账户",
  22187. "type": "string"
  22188. },
  22189. "areaname": {
  22190. "description": "所属部门",
  22191. "type": "string"
  22192. },
  22193. "bizid": {
  22194. "description": "业务ID",
  22195. "type": "string"
  22196. },
  22197. "bizname": {
  22198. "description": "业务名称",
  22199. "type": "string"
  22200. },
  22201. "status": {
  22202. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22203. "type": "integer"
  22204. },
  22205. "type": {
  22206. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22207. "type": "integer"
  22208. }
  22209. }
  22210. },
  22211. "models.QhjAccountOutInApply": {
  22212. "type": "object",
  22213. "properties": {
  22214. "accountcode": {
  22215. "description": "资金账号",
  22216. "type": "string"
  22217. },
  22218. "accountname": {
  22219. "description": "用户名称(名称)",
  22220. "type": "string"
  22221. },
  22222. "accountpwd": {
  22223. "description": "资金密码",
  22224. "type": "string"
  22225. },
  22226. "accountticket": {
  22227. "description": "最新账户服务流水号",
  22228. "type": "string"
  22229. },
  22230. "amount": {
  22231. "description": "金额",
  22232. "type": "number"
  22233. },
  22234. "applyremark": {
  22235. "description": "申请备注",
  22236. "type": "string"
  22237. },
  22238. "applystatus": {
  22239. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  22240. "type": "integer"
  22241. },
  22242. "auditid": {
  22243. "description": "审核人",
  22244. "type": "integer"
  22245. },
  22246. "audittime": {
  22247. "description": "审核时间",
  22248. "type": "string"
  22249. },
  22250. "bank_apply_ticket": {
  22251. "description": "银行申请流水",
  22252. "type": "string"
  22253. },
  22254. "bankaccountname": {
  22255. "description": "银行账户名",
  22256. "type": "string"
  22257. },
  22258. "bankaccountno": {
  22259. "description": "银行卡号",
  22260. "type": "string"
  22261. },
  22262. "bankid": {
  22263. "description": "银行编号",
  22264. "type": "string"
  22265. },
  22266. "bankticket": {
  22267. "description": "银行流水",
  22268. "type": "string"
  22269. },
  22270. "branchbankid": {
  22271. "description": "银行支行号",
  22272. "type": "string"
  22273. },
  22274. "branchbankname": {
  22275. "description": "银行支行名称",
  22276. "type": "string"
  22277. },
  22278. "capamountout": {
  22279. "description": "出金(劣后本金) - 外部子账户",
  22280. "type": "number"
  22281. },
  22282. "certificatephotourl": {
  22283. "description": "凭证地址",
  22284. "type": "string"
  22285. },
  22286. "charge": {
  22287. "description": "手续费",
  22288. "type": "number"
  22289. },
  22290. "checkerrorflag": {
  22291. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  22292. "type": "integer"
  22293. },
  22294. "currency": {
  22295. "description": "币种",
  22296. "type": "string"
  22297. },
  22298. "cusbankid": {
  22299. "description": "托管银行编号",
  22300. "type": "string"
  22301. },
  22302. "exchticket": {
  22303. "description": "银行服务流水号",
  22304. "type": "string"
  22305. },
  22306. "executetype": {
  22307. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  22308. "type": "integer"
  22309. },
  22310. "extendinfo": {
  22311. "description": "扩展信息",
  22312. "type": "string"
  22313. },
  22314. "extoperateid": {
  22315. "description": "交易服务流水号",
  22316. "type": "integer"
  22317. },
  22318. "infamount": {
  22319. "description": "劣后金额(自有)",
  22320. "type": "number"
  22321. },
  22322. "logincode": {
  22323. "description": "登录账号(账号)",
  22324. "type": "string"
  22325. },
  22326. "netaddr": {
  22327. "description": "调转网址",
  22328. "type": "string"
  22329. },
  22330. "priamount": {
  22331. "description": "优先金额(授信)",
  22332. "type": "number"
  22333. },
  22334. "reauditid": {
  22335. "description": "复审人",
  22336. "type": "integer"
  22337. },
  22338. "reauditremark": {
  22339. "description": "复审备注",
  22340. "type": "string"
  22341. },
  22342. "reaudittime": {
  22343. "description": "复审时间",
  22344. "type": "string"
  22345. },
  22346. "relatedorderid": {
  22347. "description": "三方关联ID",
  22348. "type": "string"
  22349. },
  22350. "remark": {
  22351. "description": "备注",
  22352. "type": "string"
  22353. },
  22354. "remark2": {
  22355. "description": "备注(失败原因)",
  22356. "type": "string"
  22357. },
  22358. "soucreamount": {
  22359. "description": "原始出入金金额",
  22360. "type": "number"
  22361. },
  22362. "soucrecurrencyid": {
  22363. "description": "原始出入金币种",
  22364. "type": "integer"
  22365. },
  22366. "tradedate": {
  22367. "description": "交易日(yyyyMMdd)",
  22368. "type": "string"
  22369. },
  22370. "updatetime": {
  22371. "description": "更新时间(申请时间)",
  22372. "type": "string"
  22373. },
  22374. "userid": {
  22375. "description": "用户id",
  22376. "type": "integer"
  22377. },
  22378. "userinfotype": {
  22379. "description": "账户类型 1-个人 2-企业",
  22380. "type": "integer"
  22381. }
  22382. }
  22383. },
  22384. "models.QhjBankAccountSign": {
  22385. "type": "object",
  22386. "properties": {
  22387. "accountcode": {
  22388. "description": "资金账号",
  22389. "type": "string"
  22390. },
  22391. "accountname": {
  22392. "description": "资金账号对应的账号名(UserName)",
  22393. "type": "string"
  22394. },
  22395. "accountname2": {
  22396. "description": "资金账号对应的账号名(UserName) - 密文",
  22397. "type": "string"
  22398. },
  22399. "accounttype": {
  22400. "description": "账户类型(UserType)",
  22401. "type": "integer"
  22402. },
  22403. "applicationtime": {
  22404. "description": "最后一次更新的时间",
  22405. "type": "string"
  22406. },
  22407. "applyexchticket": {
  22408. "description": "申请流水",
  22409. "type": "string"
  22410. },
  22411. "auditid": {
  22412. "description": "审核人",
  22413. "type": "integer"
  22414. },
  22415. "audittime": {
  22416. "description": "审核时间",
  22417. "type": "string"
  22418. },
  22419. "bankaccountname": {
  22420. "description": "签约银行卡账号名",
  22421. "type": "string"
  22422. },
  22423. "bankaccountname2": {
  22424. "description": "签约银行卡账号名 - 密文",
  22425. "type": "string"
  22426. },
  22427. "bankaccountno": {
  22428. "description": "银行卡号",
  22429. "type": "string"
  22430. },
  22431. "bankaccountno2": {
  22432. "description": "银行卡号 - 密文",
  22433. "type": "string"
  22434. },
  22435. "bankaccounttype": {
  22436. "description": "银行账户类型 - 1-对私; 2-对公",
  22437. "type": "integer"
  22438. },
  22439. "bankcardtype": {
  22440. "description": "银行卡类型",
  22441. "type": "integer"
  22442. },
  22443. "bankchildaccount": {
  22444. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  22445. "type": "string"
  22446. },
  22447. "bankcity": {
  22448. "description": "开户行城市",
  22449. "type": "string"
  22450. },
  22451. "bankid": {
  22452. "description": "签约银行ID",
  22453. "type": "string"
  22454. },
  22455. "bankname": {
  22456. "description": "签约银行名称",
  22457. "type": "string"
  22458. },
  22459. "bankprovince": {
  22460. "description": "开户行省份",
  22461. "type": "string"
  22462. },
  22463. "branchbankid": {
  22464. "description": "签约银行支行号",
  22465. "type": "string"
  22466. },
  22467. "branchbankname": {
  22468. "description": "签约银行支行名称",
  22469. "type": "string"
  22470. },
  22471. "cardno": {
  22472. "description": "证件号码",
  22473. "type": "string"
  22474. },
  22475. "cardno2": {
  22476. "description": "证件号码 - 密文",
  22477. "type": "string"
  22478. },
  22479. "cardtype": {
  22480. "description": "证件类型",
  22481. "type": "string"
  22482. },
  22483. "currency": {
  22484. "description": "币种",
  22485. "type": "string"
  22486. },
  22487. "cusbankid": {
  22488. "description": "托管银行编号",
  22489. "type": "string"
  22490. },
  22491. "direct": {
  22492. "description": "方向(可以判断那方先发起的签约)",
  22493. "type": "integer"
  22494. },
  22495. "exchticket": {
  22496. "description": "最后一次签约成功的流水号",
  22497. "type": "string"
  22498. },
  22499. "extendinfo": {
  22500. "description": "扩展信息(JSON字符串)",
  22501. "type": "string"
  22502. },
  22503. "mobilephone": {
  22504. "description": "手机号",
  22505. "type": "string"
  22506. },
  22507. "mobilephone2": {
  22508. "description": "手机号 - 密文",
  22509. "type": "string"
  22510. },
  22511. "netaddr": {
  22512. "description": "调转网址",
  22513. "type": "string"
  22514. },
  22515. "relateduserid": {
  22516. "description": "关联使用者userid",
  22517. "type": "integer"
  22518. },
  22519. "signstatus": {
  22520. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  22521. "type": "integer"
  22522. },
  22523. "updatetime": {
  22524. "description": "更新时间(签解约更新时间)",
  22525. "type": "string"
  22526. }
  22527. }
  22528. },
  22529. "models.QhjBankInfo": {
  22530. "type": "object",
  22531. "properties": {
  22532. "bankid": {
  22533. "description": "银行ID",
  22534. "type": "string"
  22535. },
  22536. "bankname": {
  22537. "description": "银行名称",
  22538. "type": "string"
  22539. },
  22540. "clearbankno": {
  22541. "description": "清算系统银行编号",
  22542. "type": "string"
  22543. },
  22544. "orderindex": {
  22545. "description": "排序顺序",
  22546. "type": "integer"
  22547. },
  22548. "status": {
  22549. "description": "状态 - 0:正常 1:注销",
  22550. "type": "integer"
  22551. }
  22552. }
  22553. },
  22554. "models.QhjContract": {
  22555. "type": "object",
  22556. "properties": {
  22557. "contractconfirmtime": {
  22558. "description": "合同确认时间(时间)",
  22559. "type": "string"
  22560. },
  22561. "currisklevel": {
  22562. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  22563. "type": "integer"
  22564. },
  22565. "decimalplace": {
  22566. "description": "商品报价小数位",
  22567. "type": "integer"
  22568. },
  22569. "enumdicname": {
  22570. "description": "单位名称",
  22571. "type": "string"
  22572. },
  22573. "goodscode": {
  22574. "description": "商品代码",
  22575. "type": "string"
  22576. },
  22577. "goodsid": {
  22578. "description": "商品ID [5:融资单]",
  22579. "type": "integer"
  22580. },
  22581. "goodsname": {
  22582. "description": "商品名称",
  22583. "type": "string"
  22584. },
  22585. "goodunitid": {
  22586. "description": "商品单位id",
  22587. "type": "integer"
  22588. },
  22589. "initmargin": {
  22590. "description": "初始保证金(首付款)",
  22591. "type": "number"
  22592. },
  22593. "lenderamount": {
  22594. "description": "贷款金额(总额|订单总额)",
  22595. "type": "number"
  22596. },
  22597. "marginratio": {
  22598. "description": "保证金比率(首付比例)",
  22599. "type": "number"
  22600. },
  22601. "payamount": {
  22602. "description": "已付(已付货款)",
  22603. "type": "number"
  22604. },
  22605. "reckonrecovermargin": {
  22606. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  22607. "type": "number"
  22608. },
  22609. "recoveredmargin": {
  22610. "description": "已追缴保证金",
  22611. "type": "number"
  22612. },
  22613. "remainamount": {
  22614. "description": "合同剩余金额(融资额)",
  22615. "type": "number"
  22616. },
  22617. "scfcontractid": {
  22618. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22619. "type": "string"
  22620. },
  22621. "scfcontractstatus": {
  22622. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  22623. "type": "integer"
  22624. },
  22625. "scfcontracttype": {
  22626. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  22627. "type": "integer"
  22628. },
  22629. "totalinterest": {
  22630. "description": "已计总利息(利息)",
  22631. "type": "number"
  22632. },
  22633. "tradeprice": {
  22634. "description": "成交价格(成本价格)",
  22635. "type": "number"
  22636. },
  22637. "userid": {
  22638. "description": "用户ID",
  22639. "type": "integer"
  22640. },
  22641. "username": {
  22642. "description": "用户名称",
  22643. "type": "string"
  22644. },
  22645. "wrqty": {
  22646. "description": "仓单数量(数量)",
  22647. "type": "number"
  22648. }
  22649. }
  22650. },
  22651. "models.QhjContractLog": {
  22652. "type": "object",
  22653. "properties": {
  22654. "amount": {
  22655. "description": "支付金额",
  22656. "type": "number"
  22657. },
  22658. "amounttype": {
  22659. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  22660. "type": "integer"
  22661. },
  22662. "logid": {
  22663. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22664. "type": "string"
  22665. },
  22666. "remainamount": {
  22667. "description": "剩余货款",
  22668. "type": "number"
  22669. },
  22670. "scfcontractid": {
  22671. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  22672. "type": "integer"
  22673. },
  22674. "updatetime": {
  22675. "description": "更新时间",
  22676. "type": "string"
  22677. }
  22678. }
  22679. },
  22680. "models.QhjCusBankSignBankEx": {
  22681. "type": "object",
  22682. "properties": {
  22683. "banklst": {
  22684. "description": "银行列表",
  22685. "type": "array",
  22686. "items": {
  22687. "$ref": "#/definitions/models.QhjBankInfo"
  22688. }
  22689. },
  22690. "canallot": {
  22691. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  22692. "type": "integer"
  22693. },
  22694. "canallotquery": {
  22695. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  22696. "type": "integer"
  22697. },
  22698. "canbindcard": {
  22699. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  22700. "type": "integer"
  22701. },
  22702. "caninamount": {
  22703. "description": "是否可入金 - 0:不可 1:可以",
  22704. "type": "integer"
  22705. },
  22706. "caninamount2": {
  22707. "description": "是否可入金(网银端) - 0:不可 1:可以",
  22708. "type": "integer"
  22709. },
  22710. "canmodifybankcard": {
  22711. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  22712. "type": "integer"
  22713. },
  22714. "canmodifyphone": {
  22715. "description": "是否可修改手机号 - 0:不可 1:可以",
  22716. "type": "integer"
  22717. },
  22718. "canmodifysigninfo": {
  22719. "description": "是否可修改签约信息 - 0:不可 1:可以",
  22720. "type": "integer"
  22721. },
  22722. "canoutamount": {
  22723. "description": "是否可出金 - 0:不可 1:可以",
  22724. "type": "integer"
  22725. },
  22726. "canoutamount2": {
  22727. "description": "是否可出金(网银端) - 0:不可 1:可以",
  22728. "type": "integer"
  22729. },
  22730. "canrelease": {
  22731. "description": "是否可解约 - 0:不可 1:可以",
  22732. "type": "integer"
  22733. },
  22734. "canrelease2": {
  22735. "description": "是否可解约(网银端) - 0:不可 1:可以",
  22736. "type": "integer"
  22737. },
  22738. "cansign": {
  22739. "description": "是否可签约 - 0:不可 1:可以",
  22740. "type": "integer"
  22741. },
  22742. "cansign2": {
  22743. "description": "是否可签约(网银端) - 0:不可 1:可以",
  22744. "type": "integer"
  22745. },
  22746. "currency": {
  22747. "description": "币种",
  22748. "type": "string"
  22749. },
  22750. "cusbankid": {
  22751. "description": "托管银行编号(对应清算中心TRAN_NO)",
  22752. "type": "string"
  22753. },
  22754. "cusbankname": {
  22755. "description": "银行业务名称",
  22756. "type": "string"
  22757. },
  22758. "cusbankshortname": {
  22759. "description": "银行业务简称",
  22760. "type": "string"
  22761. },
  22762. "exchbankid": {
  22763. "description": "交易所开户银行ID",
  22764. "type": "string"
  22765. },
  22766. "exchpaybankaccname": {
  22767. "description": "交易所支出结算账户户名",
  22768. "type": "string"
  22769. },
  22770. "exchpaybankaccno": {
  22771. "description": "交易所支出结算账户",
  22772. "type": "string"
  22773. },
  22774. "isneedcheck": {
  22775. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  22776. "type": "integer"
  22777. },
  22778. "isneedclear": {
  22779. "description": "是否需要清算 - 0:不需要 1:需要",
  22780. "type": "integer"
  22781. },
  22782. "lastcheckstatus": {
  22783. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  22784. "type": "integer"
  22785. },
  22786. "lastchecktime": {
  22787. "description": "最后对账时间",
  22788. "type": "string"
  22789. },
  22790. "lastclearstatus": {
  22791. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  22792. "type": "integer"
  22793. },
  22794. "lastcleartime": {
  22795. "description": "最后清算时间",
  22796. "type": "string"
  22797. },
  22798. "lastsignintime": {
  22799. "description": "最后签到时间",
  22800. "type": "string"
  22801. },
  22802. "lastsignouttime": {
  22803. "description": "最后签退时间",
  22804. "type": "string"
  22805. },
  22806. "riskinfo": {
  22807. "description": "签约风险提示书",
  22808. "type": "string"
  22809. },
  22810. "signstatus": {
  22811. "description": "当前签到/签退状态 - 1:签到 2:签退",
  22812. "type": "integer"
  22813. },
  22814. "tradedate": {
  22815. "description": "交易日(yyyyMMdd)",
  22816. "type": "string"
  22817. },
  22818. "updatetime": {
  22819. "description": "当前签到/签退更新时间",
  22820. "type": "string"
  22821. }
  22822. }
  22823. },
  22824. "models.QhjCustomer": {
  22825. "type": "object",
  22826. "properties": {
  22827. "address": {
  22828. "description": "通讯地址",
  22829. "type": "string"
  22830. },
  22831. "attachment1": {
  22832. "description": "附件1",
  22833. "type": "string"
  22834. },
  22835. "audittime": {
  22836. "description": "审核时间",
  22837. "type": "string"
  22838. },
  22839. "cardbackphotourl": {
  22840. "description": "证件反面图片地址",
  22841. "type": "string"
  22842. },
  22843. "cardfrontphotourl": {
  22844. "description": "证件正面图片地址",
  22845. "type": "string"
  22846. },
  22847. "cardnum": {
  22848. "description": "证件号码",
  22849. "type": "string"
  22850. },
  22851. "cardtype": {
  22852. "description": "证件类型",
  22853. "type": "integer"
  22854. },
  22855. "cardtypename": {
  22856. "description": "证件类型名称",
  22857. "type": "string"
  22858. },
  22859. "cityid": {
  22860. "description": "市",
  22861. "type": "integer"
  22862. },
  22863. "cityname": {
  22864. "description": "城市名称",
  22865. "type": "string"
  22866. },
  22867. "contactname": {
  22868. "description": "联系人",
  22869. "type": "string"
  22870. },
  22871. "countryid": {
  22872. "description": "国家",
  22873. "type": "integer"
  22874. },
  22875. "countryname": {
  22876. "description": "国家名称",
  22877. "type": "string"
  22878. },
  22879. "createtime": {
  22880. "description": "创建时间",
  22881. "type": "string"
  22882. },
  22883. "customername": {
  22884. "description": "客户名称",
  22885. "type": "string"
  22886. },
  22887. "districtid": {
  22888. "description": "区域",
  22889. "type": "integer"
  22890. },
  22891. "districtname": {
  22892. "description": "地区名称",
  22893. "type": "string"
  22894. },
  22895. "email": {
  22896. "description": "邮件",
  22897. "type": "string"
  22898. },
  22899. "legalpersonname": {
  22900. "description": "法人姓名(企业)",
  22901. "type": "string"
  22902. },
  22903. "logincode": {
  22904. "description": "登录账号(代码)",
  22905. "type": "string"
  22906. },
  22907. "memberuserid": {
  22908. "description": "所属机构ID(所属会员)",
  22909. "type": "integer"
  22910. },
  22911. "memberusername": {
  22912. "description": "所属会员名称",
  22913. "type": "string"
  22914. },
  22915. "mobile": {
  22916. "description": "手机号码",
  22917. "type": "string"
  22918. },
  22919. "modifytime": {
  22920. "description": "修改时间",
  22921. "type": "string"
  22922. },
  22923. "nickname": {
  22924. "description": "昵称",
  22925. "type": "string"
  22926. },
  22927. "parentuserid": {
  22928. "description": "上级机构(所属机构)",
  22929. "type": "integer"
  22930. },
  22931. "parentusername": {
  22932. "description": "所属机构名称",
  22933. "type": "string"
  22934. },
  22935. "provinceid": {
  22936. "description": "省",
  22937. "type": "integer"
  22938. },
  22939. "provincename": {
  22940. "description": "省名称",
  22941. "type": "string"
  22942. },
  22943. "remark": {
  22944. "description": "备注",
  22945. "type": "string"
  22946. },
  22947. "status": {
  22948. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  22949. "type": "integer"
  22950. },
  22951. "statusdesc": {
  22952. "description": "账户状态中文描述",
  22953. "type": "string"
  22954. },
  22955. "taxpayernum": {
  22956. "description": "纳税人识别号",
  22957. "type": "string"
  22958. },
  22959. "telphone": {
  22960. "description": "联系电话",
  22961. "type": "string"
  22962. },
  22963. "userid": {
  22964. "description": "用户ID",
  22965. "type": "integer"
  22966. },
  22967. "userinfotype": {
  22968. "description": "客户类型 1-个人 2-企业",
  22969. "type": "integer"
  22970. },
  22971. "username": {
  22972. "description": "用户名称",
  22973. "type": "string"
  22974. }
  22975. }
  22976. },
  22977. "models.QhjMgrPositionRsp": {
  22978. "type": "object",
  22979. "properties": {
  22980. "accountid": {
  22981. "description": "账号Id",
  22982. "type": "integer"
  22983. },
  22984. "accountname": {
  22985. "description": "用户名称",
  22986. "type": "string"
  22987. },
  22988. "agreeunit": {
  22989. "description": "合约乘数",
  22990. "type": "number"
  22991. },
  22992. "averageprice": {
  22993. "description": "均价",
  22994. "type": "number"
  22995. },
  22996. "avialqty": {
  22997. "description": "可用数量",
  22998. "type": "number"
  22999. },
  23000. "decimalplace": {
  23001. "description": "报价小数位",
  23002. "type": "integer"
  23003. },
  23004. "enumdicname": {
  23005. "description": "单位名称(商品)",
  23006. "type": "string"
  23007. },
  23008. "frozenqty": {
  23009. "description": "冻结数量",
  23010. "type": "number"
  23011. },
  23012. "goodscode": {
  23013. "description": "商品代码(内部)",
  23014. "type": "string"
  23015. },
  23016. "goodsid": {
  23017. "description": "商品Id",
  23018. "type": "integer"
  23019. },
  23020. "goodsname": {
  23021. "description": "商品名称",
  23022. "type": "string"
  23023. },
  23024. "goodunitid": {
  23025. "description": "报价单位ID",
  23026. "type": "integer"
  23027. },
  23028. "holderamount": {
  23029. "description": "金额",
  23030. "type": "number"
  23031. },
  23032. "holderqty": {
  23033. "description": "持有数量",
  23034. "type": "number"
  23035. },
  23036. "holdertype": {
  23037. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  23038. "type": "integer"
  23039. },
  23040. "logincode": {
  23041. "description": "登录代码(账户)",
  23042. "type": "string"
  23043. },
  23044. "marketid": {
  23045. "description": "市场id",
  23046. "type": "integer"
  23047. },
  23048. "qtydecimalplace": {
  23049. "description": "成交量小数位",
  23050. "type": "integer"
  23051. },
  23052. "trademode": {
  23053. "description": "交易模式",
  23054. "type": "integer"
  23055. },
  23056. "userid": {
  23057. "description": "用户id",
  23058. "type": "integer"
  23059. },
  23060. "userinfotype": {
  23061. "description": "账户类型 1-个人 2-企业",
  23062. "type": "integer"
  23063. }
  23064. }
  23065. },
  23066. "models.QhjMgrSubArea": {
  23067. "type": "object",
  23068. "properties": {
  23069. "accountname": {
  23070. "description": "账户名称(机构名称)",
  23071. "type": "string"
  23072. },
  23073. "memberuserid": {
  23074. "description": "所属会员ID",
  23075. "type": "integer"
  23076. },
  23077. "parenttopuser": {
  23078. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23079. "type": "string"
  23080. },
  23081. "parentuserid": {
  23082. "description": "所属机构ID",
  23083. "type": "integer"
  23084. },
  23085. "rootuserid": {
  23086. "description": "根用户ID",
  23087. "type": "string"
  23088. },
  23089. "subaccountlevel": {
  23090. "description": "子账户层数",
  23091. "type": "integer"
  23092. },
  23093. "subarealevelpath": {
  23094. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23095. "type": "string"
  23096. },
  23097. "userid": {
  23098. "description": "用户ID",
  23099. "type": "integer"
  23100. },
  23101. "usertype": {
  23102. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23103. "type": "integer"
  23104. }
  23105. }
  23106. },
  23107. "models.QhjMgrTradeDetailRsp": {
  23108. "type": "object",
  23109. "properties": {
  23110. "accountid": {
  23111. "description": "资金账号",
  23112. "type": "integer"
  23113. },
  23114. "accountname": {
  23115. "description": "用户名称",
  23116. "type": "string"
  23117. },
  23118. "agreeunit": {
  23119. "description": "合约乘数",
  23120. "type": "number"
  23121. },
  23122. "buyorsell": {
  23123. "description": "成交类型(方向) 0:买 1:卖",
  23124. "type": "integer"
  23125. },
  23126. "decimalplace": {
  23127. "description": "报价小数位",
  23128. "type": "integer"
  23129. },
  23130. "enumdicname": {
  23131. "description": "单位名称(商品)",
  23132. "type": "string"
  23133. },
  23134. "goodscode": {
  23135. "description": "商品代码(内部)",
  23136. "type": "string"
  23137. },
  23138. "goodsid": {
  23139. "description": "商品id",
  23140. "type": "integer"
  23141. },
  23142. "goodsname": {
  23143. "description": "商品名称",
  23144. "type": "string"
  23145. },
  23146. "goodunitid": {
  23147. "description": "报价单位ID",
  23148. "type": "integer"
  23149. },
  23150. "logincode": {
  23151. "description": "登录代码(账户)",
  23152. "type": "string"
  23153. },
  23154. "marketid": {
  23155. "description": "市场id",
  23156. "type": "integer"
  23157. },
  23158. "orderid": {
  23159. "description": "关联委托单号",
  23160. "type": "string"
  23161. },
  23162. "qtydecimalplace": {
  23163. "description": "成交量小数位",
  23164. "type": "integer"
  23165. },
  23166. "tradeamount": {
  23167. "description": "金额",
  23168. "type": "number"
  23169. },
  23170. "tradedate": {
  23171. "description": "交易日",
  23172. "type": "string"
  23173. },
  23174. "tradeid": {
  23175. "description": "成交单号",
  23176. "type": "string"
  23177. },
  23178. "trademode": {
  23179. "description": "交易模式",
  23180. "type": "integer"
  23181. },
  23182. "tradeprice": {
  23183. "description": "价格",
  23184. "type": "number"
  23185. },
  23186. "tradeqty": {
  23187. "description": "数量",
  23188. "type": "number"
  23189. },
  23190. "tradetime": {
  23191. "description": "成交时间",
  23192. "type": "string"
  23193. },
  23194. "userid": {
  23195. "description": "用户id",
  23196. "type": "integer"
  23197. },
  23198. "userinfotype": {
  23199. "description": "账户类型 1-个人 2-企业",
  23200. "type": "integer"
  23201. }
  23202. }
  23203. },
  23204. "models.QhjMgrTradeOrderDetailRsp": {
  23205. "type": "object",
  23206. "properties": {
  23207. "accountid": {
  23208. "description": "资金账号",
  23209. "type": "integer"
  23210. },
  23211. "accountname": {
  23212. "description": "用户名称",
  23213. "type": "string"
  23214. },
  23215. "agreeunit": {
  23216. "description": "合约乘数",
  23217. "type": "number"
  23218. },
  23219. "amount": {
  23220. "description": "金额",
  23221. "type": "number"
  23222. },
  23223. "decimalplace": {
  23224. "description": "报价小数位",
  23225. "type": "integer"
  23226. },
  23227. "enumdicname": {
  23228. "description": "单位名称(商品)",
  23229. "type": "string"
  23230. },
  23231. "goodscode": {
  23232. "description": "商品代码(内部)",
  23233. "type": "string"
  23234. },
  23235. "goodsid": {
  23236. "description": "商品id",
  23237. "type": "integer"
  23238. },
  23239. "goodsname": {
  23240. "description": "商品名称",
  23241. "type": "string"
  23242. },
  23243. "goodunitid": {
  23244. "description": "报价单位ID",
  23245. "type": "integer"
  23246. },
  23247. "logincode": {
  23248. "description": "登录代码(账户)",
  23249. "type": "string"
  23250. },
  23251. "marketid": {
  23252. "description": "市场id",
  23253. "type": "integer"
  23254. },
  23255. "orderid": {
  23256. "description": "关联委托单号",
  23257. "type": "string"
  23258. },
  23259. "orderprice": {
  23260. "description": "价格",
  23261. "type": "number"
  23262. },
  23263. "orderqty": {
  23264. "description": "数量",
  23265. "type": "number"
  23266. },
  23267. "ordertime": {
  23268. "description": "委托时间",
  23269. "type": "string"
  23270. },
  23271. "qtydecimalplace": {
  23272. "description": "成交量小数位",
  23273. "type": "integer"
  23274. },
  23275. "tradedate": {
  23276. "description": "交易日",
  23277. "type": "string"
  23278. },
  23279. "trademode": {
  23280. "description": "交易模式",
  23281. "type": "integer"
  23282. },
  23283. "userid": {
  23284. "description": "用户id",
  23285. "type": "integer"
  23286. },
  23287. "userinfotype": {
  23288. "description": "账户类型 1-个人 2-企业",
  23289. "type": "integer"
  23290. }
  23291. }
  23292. },
  23293. "models.QhjMgrTradePayOrder": {
  23294. "type": "object",
  23295. "properties": {
  23296. "accountname": {
  23297. "description": "用户名称",
  23298. "type": "string"
  23299. },
  23300. "advanceratio": {
  23301. "description": "首付比率",
  23302. "type": "number"
  23303. },
  23304. "agreeunit": {
  23305. "description": "合约乘数",
  23306. "type": "number"
  23307. },
  23308. "buyaccountid": {
  23309. "description": "买方账号ID[报价币种]",
  23310. "type": "integer"
  23311. },
  23312. "buyorderid": {
  23313. "description": "买方委托单号(关联单号)",
  23314. "type": "string"
  23315. },
  23316. "createtime": {
  23317. "description": "创建时间",
  23318. "type": "string"
  23319. },
  23320. "decimalplace": {
  23321. "description": "报价小数位",
  23322. "type": "integer"
  23323. },
  23324. "enumdicname": {
  23325. "description": "单位名称(商品)",
  23326. "type": "string"
  23327. },
  23328. "goodscode": {
  23329. "description": "商品代码(内部)",
  23330. "type": "string"
  23331. },
  23332. "goodsid": {
  23333. "description": "商品ID",
  23334. "type": "integer"
  23335. },
  23336. "goodsname": {
  23337. "description": "商品名称",
  23338. "type": "string"
  23339. },
  23340. "goodunitid": {
  23341. "description": "报价单位ID",
  23342. "type": "integer"
  23343. },
  23344. "logincode": {
  23345. "description": "登录代码(账户)",
  23346. "type": "string"
  23347. },
  23348. "marketid": {
  23349. "description": "市场id",
  23350. "type": "integer"
  23351. },
  23352. "offamount": {
  23353. "description": "优惠金额",
  23354. "type": "number"
  23355. },
  23356. "operatetype": {
  23357. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23358. "type": "integer"
  23359. },
  23360. "payamount": {
  23361. "description": "支付金额(金额)",
  23362. "type": "number"
  23363. },
  23364. "payflag": {
  23365. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23366. "type": "integer"
  23367. },
  23368. "paylimitedtime": {
  23369. "description": "支付期限",
  23370. "type": "string"
  23371. },
  23372. "paytime": {
  23373. "description": "付款时间",
  23374. "type": "string"
  23375. },
  23376. "qtydecimalplace": {
  23377. "description": "成交量小数位",
  23378. "type": "integer"
  23379. },
  23380. "sellaccountid": {
  23381. "description": "卖方账号ID[报价币种]",
  23382. "type": "integer"
  23383. },
  23384. "sellorderid": {
  23385. "description": "卖方委托单号",
  23386. "type": "string"
  23387. },
  23388. "tradeamount": {
  23389. "description": "成交金额(优惠后金额)",
  23390. "type": "number"
  23391. },
  23392. "tradecharge": {
  23393. "description": "成交手续费(买方)",
  23394. "type": "number"
  23395. },
  23396. "tradedate": {
  23397. "description": "交易日(yyyyMMdd)",
  23398. "type": "string"
  23399. },
  23400. "tradeid": {
  23401. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23402. "type": "string"
  23403. },
  23404. "trademode": {
  23405. "description": "交易模式",
  23406. "type": "integer"
  23407. },
  23408. "tradeprice": {
  23409. "description": "成交价格(价格)",
  23410. "type": "number"
  23411. },
  23412. "tradeqty": {
  23413. "description": "成交数量(数量)",
  23414. "type": "number"
  23415. },
  23416. "tradetime": {
  23417. "description": "成交时间",
  23418. "type": "string"
  23419. },
  23420. "userid": {
  23421. "description": "用户id",
  23422. "type": "integer"
  23423. },
  23424. "userinfotype": {
  23425. "description": "账户类型 1-个人 2-企业",
  23426. "type": "integer"
  23427. }
  23428. }
  23429. },
  23430. "models.QhjParentAreaList": {
  23431. "type": "object",
  23432. "properties": {
  23433. "accountname": {
  23434. "description": "账户名称(机构名称)",
  23435. "type": "string"
  23436. },
  23437. "userid": {
  23438. "description": "用户ID",
  23439. "type": "integer"
  23440. },
  23441. "usertype": {
  23442. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23443. "type": "integer"
  23444. }
  23445. }
  23446. },
  23447. "models.QhjPayOrder": {
  23448. "type": "object",
  23449. "properties": {
  23450. "buyaccountid": {
  23451. "description": "买方账号ID[报价币种]",
  23452. "type": "integer"
  23453. },
  23454. "buyorderid": {
  23455. "description": "买方委托单号",
  23456. "type": "string"
  23457. },
  23458. "createtime": {
  23459. "description": "创建时间",
  23460. "type": "string"
  23461. },
  23462. "decimalplace": {
  23463. "description": "商品报价小数位",
  23464. "type": "integer"
  23465. },
  23466. "enumdicname": {
  23467. "description": "单位名称",
  23468. "type": "string"
  23469. },
  23470. "goodscode": {
  23471. "description": "商品代码",
  23472. "type": "string"
  23473. },
  23474. "goodsid": {
  23475. "description": "商品ID",
  23476. "type": "integer"
  23477. },
  23478. "goodsname": {
  23479. "description": "商品名称",
  23480. "type": "string"
  23481. },
  23482. "goodunitid": {
  23483. "description": "商品单位id",
  23484. "type": "integer"
  23485. },
  23486. "marketid": {
  23487. "description": "市场ID",
  23488. "type": "integer"
  23489. },
  23490. "offamount": {
  23491. "description": "优惠金额",
  23492. "type": "number"
  23493. },
  23494. "operatetype": {
  23495. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  23496. "type": "integer"
  23497. },
  23498. "payamount": {
  23499. "description": "支付金额=TradeAmount + TradeCharge",
  23500. "type": "number"
  23501. },
  23502. "payflag": {
  23503. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23504. "type": "integer"
  23505. },
  23506. "paylimitedtime": {
  23507. "description": "支付期限",
  23508. "type": "string"
  23509. },
  23510. "paytime": {
  23511. "description": "付款时间",
  23512. "type": "string"
  23513. },
  23514. "qtydecimalplace": {
  23515. "description": "成交量小数位",
  23516. "type": "integer"
  23517. },
  23518. "sellaccountid": {
  23519. "description": "卖方账号ID[报价币种]",
  23520. "type": "integer"
  23521. },
  23522. "sellorderid": {
  23523. "description": "卖方委托单号",
  23524. "type": "string"
  23525. },
  23526. "tradeamount": {
  23527. "description": "成交金额(优惠后金额)",
  23528. "type": "number"
  23529. },
  23530. "tradecharge": {
  23531. "description": "成交手续费(买方)",
  23532. "type": "number"
  23533. },
  23534. "tradedate": {
  23535. "description": "交易日(yyyyMMdd)",
  23536. "type": "string"
  23537. },
  23538. "tradeid": {
  23539. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23540. "type": "string"
  23541. },
  23542. "tradeprice": {
  23543. "description": "成交价格",
  23544. "type": "number"
  23545. },
  23546. "tradeqty": {
  23547. "description": "成交数量",
  23548. "type": "number"
  23549. }
  23550. }
  23551. },
  23552. "models.QhjPickArea": {
  23553. "type": "object",
  23554. "properties": {
  23555. "address": {
  23556. "description": "详细地址",
  23557. "type": "string"
  23558. },
  23559. "cityid": {
  23560. "description": "市",
  23561. "type": "integer"
  23562. },
  23563. "cityname": {
  23564. "description": "城市名称",
  23565. "type": "string"
  23566. },
  23567. "countryid": {
  23568. "description": "国家",
  23569. "type": "integer"
  23570. },
  23571. "countryname": {
  23572. "description": "国家名称",
  23573. "type": "string"
  23574. },
  23575. "districtid": {
  23576. "description": "地区",
  23577. "type": "integer"
  23578. },
  23579. "districtname": {
  23580. "description": "地区名称",
  23581. "type": "string"
  23582. },
  23583. "fromuserid": {
  23584. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  23585. "type": "integer"
  23586. },
  23587. "fromusername": {
  23588. "description": "所属机构名称",
  23589. "type": "string"
  23590. },
  23591. "provinceid": {
  23592. "description": "省",
  23593. "type": "integer"
  23594. },
  23595. "provincename": {
  23596. "description": "省名称",
  23597. "type": "string"
  23598. },
  23599. "suborgtype": {
  23600. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  23601. "type": "integer"
  23602. },
  23603. "userid": {
  23604. "description": "机构用户ID 其他做市关系,都设置为 1",
  23605. "type": "integer"
  23606. },
  23607. "username": {
  23608. "description": "机构用户名称(门店门称)",
  23609. "type": "string"
  23610. }
  23611. }
  23612. },
  23613. "models.QhjPickGoods": {
  23614. "type": "object",
  23615. "properties": {
  23616. "enumdicname": {
  23617. "description": "单位名称(提货商品)",
  23618. "type": "string"
  23619. },
  23620. "goodsid": {
  23621. "description": "商品id",
  23622. "type": "integer"
  23623. },
  23624. "imageaddress": {
  23625. "description": "图片",
  23626. "type": "string"
  23627. },
  23628. "modifierid": {
  23629. "description": "修改人",
  23630. "type": "integer"
  23631. },
  23632. "modifiername": {
  23633. "description": "修改人名称",
  23634. "type": "string"
  23635. },
  23636. "modifysrc": {
  23637. "description": "修改来源 - 1:管理端 2:终端",
  23638. "type": "integer"
  23639. },
  23640. "pickupgoodsagreeunit": {
  23641. "description": "合约乘数",
  23642. "type": "number"
  23643. },
  23644. "pickupgoodsdesc": {
  23645. "description": "描述",
  23646. "type": "string"
  23647. },
  23648. "pickupgoodsid": {
  23649. "description": "提货商品ID",
  23650. "type": "string"
  23651. },
  23652. "pickupgoodsname": {
  23653. "description": "提货商品名称",
  23654. "type": "string"
  23655. },
  23656. "pickupgoodsstatus": {
  23657. "description": "状态 - 1:正常 2:停用 3:注销",
  23658. "type": "integer"
  23659. },
  23660. "pickupgoodsunitid": {
  23661. "description": "单位ID",
  23662. "type": "integer"
  23663. },
  23664. "pickupratio": {
  23665. "description": "提货系数",
  23666. "type": "number"
  23667. },
  23668. "preparedays": {
  23669. "description": "备货期(天)",
  23670. "type": "integer"
  23671. },
  23672. "remark": {
  23673. "description": "备注",
  23674. "type": "string"
  23675. },
  23676. "updatetime": {
  23677. "description": "更新时间",
  23678. "type": "string"
  23679. }
  23680. }
  23681. },
  23682. "models.QhjRSTriggerLog": {
  23683. "type": "object",
  23684. "properties": {
  23685. "accountid": {
  23686. "description": "用户资金账户",
  23687. "type": "integer"
  23688. },
  23689. "accountname": {
  23690. "description": "账号名称(ACCOUNTID对应的名称)",
  23691. "type": "string"
  23692. },
  23693. "currencyid": {
  23694. "description": "币种id",
  23695. "type": "integer"
  23696. },
  23697. "currencyname": {
  23698. "description": "币种名称",
  23699. "type": "string"
  23700. },
  23701. "decimalplace": {
  23702. "description": "商品报价小数位",
  23703. "type": "integer"
  23704. },
  23705. "enumdicname": {
  23706. "description": "单位名称",
  23707. "type": "string"
  23708. },
  23709. "goodscode": {
  23710. "description": "定投商品代码",
  23711. "type": "string"
  23712. },
  23713. "goodsid": {
  23714. "description": "定投商品ID",
  23715. "type": "string"
  23716. },
  23717. "goodsname": {
  23718. "description": "定投商品名称",
  23719. "type": "string"
  23720. },
  23721. "goodunitid": {
  23722. "description": "定投商品单位id",
  23723. "type": "integer"
  23724. },
  23725. "logid": {
  23726. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  23727. "type": "string"
  23728. },
  23729. "qtydecimalplace": {
  23730. "description": "成交量小数位",
  23731. "type": "integer"
  23732. },
  23733. "regularlycycle": {
  23734. "description": "定投频率 - 1:每周 2:每月",
  23735. "type": "integer"
  23736. },
  23737. "regularlycyclevalue": {
  23738. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23739. "type": "string"
  23740. },
  23741. "regularlymode": {
  23742. "description": "定投方式 - 1:按数量 2:按金额",
  23743. "type": "integer"
  23744. },
  23745. "regularlymodevalue": {
  23746. "description": "定投方式值 - 数量或金额",
  23747. "type": "number"
  23748. },
  23749. "regularlystrategyid": {
  23750. "description": "定投策略ID",
  23751. "type": "integer"
  23752. },
  23753. "retcode": {
  23754. "description": "错误码",
  23755. "type": "string"
  23756. },
  23757. "tradeid": {
  23758. "description": "成交单ID",
  23759. "type": "string"
  23760. },
  23761. "triggeramount": {
  23762. "description": "触发金额",
  23763. "type": "number"
  23764. },
  23765. "triggerqty": {
  23766. "description": "触发数量",
  23767. "type": "number"
  23768. },
  23769. "triggerstatus": {
  23770. "description": "触发状态 - 1:成功 2:失败",
  23771. "type": "integer"
  23772. },
  23773. "triggertime": {
  23774. "description": "触发时间",
  23775. "type": "string"
  23776. },
  23777. "triggertradedate": {
  23778. "description": "触发交易日",
  23779. "type": "string"
  23780. },
  23781. "userid": {
  23782. "description": "所属用户ID",
  23783. "type": "integer"
  23784. },
  23785. "username": {
  23786. "description": "用户名称(userid对应的名称)",
  23787. "type": "string"
  23788. }
  23789. }
  23790. },
  23791. "models.QhjRStrategy": {
  23792. "type": "object",
  23793. "properties": {
  23794. "accountid": {
  23795. "description": "用户资金账户",
  23796. "type": "integer"
  23797. },
  23798. "accountname": {
  23799. "description": "账号名称(ACCOUNTID对应的名称)",
  23800. "type": "string"
  23801. },
  23802. "currencyid": {
  23803. "description": "币种id",
  23804. "type": "integer"
  23805. },
  23806. "currencyname": {
  23807. "description": "币种名称",
  23808. "type": "string"
  23809. },
  23810. "decimalplace": {
  23811. "description": "商品报价小数位",
  23812. "type": "integer"
  23813. },
  23814. "enumdicname": {
  23815. "description": "单位名称",
  23816. "type": "string"
  23817. },
  23818. "goodscode": {
  23819. "description": "定投商品代码",
  23820. "type": "string"
  23821. },
  23822. "goodsid": {
  23823. "description": "定投商品ID",
  23824. "type": "string"
  23825. },
  23826. "goodsname": {
  23827. "description": "定投商品名称",
  23828. "type": "string"
  23829. },
  23830. "goodunitid": {
  23831. "description": "定投商品单位id",
  23832. "type": "integer"
  23833. },
  23834. "lasteffecttradedate": {
  23835. "description": "最新生效交易日",
  23836. "type": "string"
  23837. },
  23838. "laststoptradedate": {
  23839. "description": "最新暂停交易日",
  23840. "type": "string"
  23841. },
  23842. "lasttriggertradedate": {
  23843. "description": "最新触发交易日",
  23844. "type": "string"
  23845. },
  23846. "nexttriggeramount": {
  23847. "description": "下次触发金额",
  23848. "type": "number"
  23849. },
  23850. "nexttriggerdate": {
  23851. "description": "下次触发日期",
  23852. "type": "string"
  23853. },
  23854. "nexttriggerqty": {
  23855. "description": "下次触发数量 [按小数位放大值]",
  23856. "type": "number"
  23857. },
  23858. "qtydecimalplace": {
  23859. "description": "成交量小数位",
  23860. "type": "integer"
  23861. },
  23862. "regularlycycle": {
  23863. "description": "定投频率 - 1:每周 2:每月",
  23864. "type": "integer"
  23865. },
  23866. "regularlycyclevalue": {
  23867. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  23868. "type": "string"
  23869. },
  23870. "regularlymode": {
  23871. "description": "定投方式 - 1:按数量 2:按金额",
  23872. "type": "integer"
  23873. },
  23874. "regularlymodevalue": {
  23875. "description": "定投方式值 - 数量或金额",
  23876. "type": "number"
  23877. },
  23878. "regularlystrategyid": {
  23879. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  23880. "type": "integer"
  23881. },
  23882. "regularlystrategystatus": {
  23883. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  23884. "type": "integer"
  23885. },
  23886. "remark": {
  23887. "description": "备注",
  23888. "type": "string"
  23889. },
  23890. "triggersuccesstimes": {
  23891. "description": "累计定投成功次数",
  23892. "type": "string"
  23893. },
  23894. "triggertotalamount": {
  23895. "description": "累计定投金额(成功)",
  23896. "type": "number"
  23897. },
  23898. "triggertotalqty": {
  23899. "description": "累计定投数量(成功) [按小数位放大值]",
  23900. "type": "number"
  23901. },
  23902. "triggertotaltimes": {
  23903. "description": "累计定投总次数",
  23904. "type": "string"
  23905. },
  23906. "updatesrc": {
  23907. "description": "更新来源 - 1:管理端 2:终端",
  23908. "type": "integer"
  23909. },
  23910. "updatetime": {
  23911. "description": "更新时间",
  23912. "type": "string"
  23913. },
  23914. "updatorid": {
  23915. "description": "更新人",
  23916. "type": "string"
  23917. },
  23918. "userid": {
  23919. "description": "所属用户ID",
  23920. "type": "integer"
  23921. },
  23922. "username": {
  23923. "description": "用户名称(userid对应的名称)",
  23924. "type": "string"
  23925. }
  23926. }
  23927. },
  23928. "models.QhjReckonPriceLog": {
  23929. "type": "object",
  23930. "properties": {
  23931. "decimalplace": {
  23932. "description": "商品报价小数位",
  23933. "type": "integer"
  23934. },
  23935. "goodscode": {
  23936. "description": "商品代码",
  23937. "type": "string"
  23938. },
  23939. "goodsid": {
  23940. "description": "商品ID",
  23941. "type": "integer"
  23942. },
  23943. "goodsname": {
  23944. "description": "商品名称",
  23945. "type": "string"
  23946. },
  23947. "lastreckonprice": {
  23948. "description": "上日结算价",
  23949. "type": "number"
  23950. },
  23951. "nextdnlimitprice": {
  23952. "description": "下个交易日跌停价",
  23953. "type": "number"
  23954. },
  23955. "nexttrade": {
  23956. "description": "下个交易日",
  23957. "type": "string"
  23958. },
  23959. "nextuplimitprice": {
  23960. "description": "下个交易日涨停价",
  23961. "type": "number"
  23962. },
  23963. "reckonprice": {
  23964. "description": "今日结算价(定投价)",
  23965. "type": "number"
  23966. },
  23967. "reckontime": {
  23968. "description": "结算时间",
  23969. "type": "string"
  23970. },
  23971. "totalholderqty": {
  23972. "description": "总持仓数",
  23973. "type": "integer"
  23974. },
  23975. "totalstock": {
  23976. "description": "总库存",
  23977. "type": "integer"
  23978. },
  23979. "tradedate": {
  23980. "description": "交易日",
  23981. "type": "string"
  23982. },
  23983. "updowncount": {
  23984. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  23985. "type": "integer"
  23986. },
  23987. "updownflag": {
  23988. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  23989. "type": "integer"
  23990. },
  23991. "updownrate": {
  23992. "description": "今日涨跌幅",
  23993. "type": "number"
  23994. },
  23995. "updownrate_2d": {
  23996. "description": "连续两日涨跌幅",
  23997. "type": "number"
  23998. },
  23999. "updownrate_3d": {
  24000. "description": "连续三日涨跌幅",
  24001. "type": "number"
  24002. }
  24003. }
  24004. },
  24005. "models.QhjSiteColumnDetail": {
  24006. "type": "object",
  24007. "properties": {
  24008. "author": {
  24009. "description": "作者",
  24010. "type": "string"
  24011. },
  24012. "brief": {
  24013. "description": "简介",
  24014. "type": "string"
  24015. },
  24016. "columnid": {
  24017. "description": "所属栏目",
  24018. "type": "integer"
  24019. },
  24020. "context": {
  24021. "description": "内容",
  24022. "type": "string"
  24023. },
  24024. "coverimage": {
  24025. "description": "封面图片",
  24026. "type": "string"
  24027. },
  24028. "creaedate": {
  24029. "description": "创建时间",
  24030. "type": "string"
  24031. },
  24032. "creatorid": {
  24033. "description": "创建人",
  24034. "type": "integer"
  24035. },
  24036. "hits": {
  24037. "description": "点击数",
  24038. "type": "integer"
  24039. },
  24040. "id": {
  24041. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  24042. "type": "integer"
  24043. },
  24044. "isshow": {
  24045. "description": "是否展示 - 0:不展示 1:展示",
  24046. "type": "integer"
  24047. },
  24048. "istop": {
  24049. "description": "是否置顶 - 0:不置 1:置顶",
  24050. "type": "integer"
  24051. },
  24052. "modifierid": {
  24053. "description": "操作人",
  24054. "type": "integer"
  24055. },
  24056. "publishdate": {
  24057. "description": "发布日期",
  24058. "type": "string"
  24059. },
  24060. "status": {
  24061. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  24062. "type": "integer"
  24063. },
  24064. "title": {
  24065. "description": "标题",
  24066. "type": "string"
  24067. },
  24068. "updatedate": {
  24069. "description": "修改时间",
  24070. "type": "string"
  24071. },
  24072. "userid": {
  24073. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  24074. "type": "integer"
  24075. },
  24076. "username": {
  24077. "description": "用户名称",
  24078. "type": "string"
  24079. }
  24080. }
  24081. },
  24082. "models.QhjTradeGoodsPickup": {
  24083. "type": "object",
  24084. "properties": {
  24085. "accountid": {
  24086. "description": "账户ID",
  24087. "type": "integer"
  24088. },
  24089. "address": {
  24090. "description": "提货人详细地址",
  24091. "type": "string"
  24092. },
  24093. "amount": {
  24094. "description": "提货金额",
  24095. "type": "number"
  24096. },
  24097. "artradedate": {
  24098. "description": "自动收货交易日(yyyyMMdd)",
  24099. "type": "string"
  24100. },
  24101. "auditer": {
  24102. "description": "审核人",
  24103. "type": "integer"
  24104. },
  24105. "auditsrc": {
  24106. "description": "更新来源 - 1:管理端 2:终端",
  24107. "type": "integer"
  24108. },
  24109. "audittime": {
  24110. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  24111. "type": "string"
  24112. },
  24113. "audittradedate": {
  24114. "description": "审核交易日(yyyyMMdd)",
  24115. "type": "string"
  24116. },
  24117. "cardnum": {
  24118. "description": "提货人证件号码",
  24119. "type": "string"
  24120. },
  24121. "cardtypeid": {
  24122. "description": "提货人证件类型",
  24123. "type": "integer"
  24124. },
  24125. "checkremark": {
  24126. "description": "审核备注",
  24127. "type": "string"
  24128. },
  24129. "cityid": {
  24130. "description": "市",
  24131. "type": "integer"
  24132. },
  24133. "cityname": {
  24134. "description": "城市名称",
  24135. "type": "string"
  24136. },
  24137. "confirmtime": {
  24138. "description": "取货时间 或 收货时间",
  24139. "type": "string"
  24140. },
  24141. "countryid": {
  24142. "description": "国家",
  24143. "type": "integer"
  24144. },
  24145. "countryname": {
  24146. "description": "国家名称",
  24147. "type": "string"
  24148. },
  24149. "decimalplace": {
  24150. "description": "商品报价小数位",
  24151. "type": "integer"
  24152. },
  24153. "districtid": {
  24154. "description": "地区",
  24155. "type": "integer"
  24156. },
  24157. "districtname": {
  24158. "description": "地区名称",
  24159. "type": "string"
  24160. },
  24161. "enumdicname": {
  24162. "description": "单位名称(提货商品)",
  24163. "type": "string"
  24164. },
  24165. "expresscompany": {
  24166. "description": "物流公司",
  24167. "type": "string"
  24168. },
  24169. "expressnum": {
  24170. "description": "物流单号",
  24171. "type": "string"
  24172. },
  24173. "goodsagreeunit": {
  24174. "description": "交易商品乘数",
  24175. "type": "number"
  24176. },
  24177. "goodscode": {
  24178. "description": "商品代码",
  24179. "type": "string"
  24180. },
  24181. "goodsid": {
  24182. "description": "商品ID",
  24183. "type": "integer"
  24184. },
  24185. "goodsname": {
  24186. "description": "商品名称",
  24187. "type": "string"
  24188. },
  24189. "goodsqty": {
  24190. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  24191. "type": "number"
  24192. },
  24193. "handlestatus": {
  24194. "description": "处理状态",
  24195. "type": "integer"
  24196. },
  24197. "marketid": {
  24198. "description": "市场ID",
  24199. "type": "integer"
  24200. },
  24201. "phonenum": {
  24202. "description": "提货人联系方式",
  24203. "type": "string"
  24204. },
  24205. "pickupgoodsagreeunit": {
  24206. "description": "提货商品合约乘数",
  24207. "type": "number"
  24208. },
  24209. "pickupgoodsid": {
  24210. "description": "提货商品ID",
  24211. "type": "string"
  24212. },
  24213. "pickupgoodsname": {
  24214. "description": "提货商品名称",
  24215. "type": "string"
  24216. },
  24217. "pickupgoodsqty": {
  24218. "description": "提货商品手数(数量)",
  24219. "type": "number"
  24220. },
  24221. "pickupgoodsunitid": {
  24222. "description": "单位ID(提货商品)",
  24223. "type": "integer"
  24224. },
  24225. "pickupratio": {
  24226. "description": "提货系数",
  24227. "type": "number"
  24228. },
  24229. "preparedays": {
  24230. "description": "备货期(天)-提货单明细表",
  24231. "type": "integer"
  24232. },
  24233. "provinceid": {
  24234. "description": "省",
  24235. "type": "integer"
  24236. },
  24237. "provincename": {
  24238. "description": "省名称",
  24239. "type": "string"
  24240. },
  24241. "qty": {
  24242. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  24243. "type": "number"
  24244. },
  24245. "recivername": {
  24246. "description": "提货人姓名",
  24247. "type": "string"
  24248. },
  24249. "reqtime": {
  24250. "description": "提货申请时间",
  24251. "type": "string"
  24252. },
  24253. "storeuserid": {
  24254. "description": "门店用户ID (千海金)",
  24255. "type": "integer"
  24256. },
  24257. "storeusername": {
  24258. "description": "门店用户名称",
  24259. "type": "string"
  24260. },
  24261. "takemode": {
  24262. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  24263. "type": "integer"
  24264. },
  24265. "takeorderid": {
  24266. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24267. "type": "string"
  24268. },
  24269. "takeorderstatus": {
  24270. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  24271. "type": "integer"
  24272. },
  24273. "takeremark": {
  24274. "description": "提货备注",
  24275. "type": "string"
  24276. },
  24277. "tradedate": {
  24278. "description": "交易日(yyyyMMdd)",
  24279. "type": "string"
  24280. },
  24281. "updatetime": {
  24282. "description": "更新时间",
  24283. "type": "string"
  24284. },
  24285. "userid": {
  24286. "description": "用户ID",
  24287. "type": "integer"
  24288. },
  24289. "username": {
  24290. "description": "用户名称",
  24291. "type": "string"
  24292. }
  24293. }
  24294. },
  24295. "models.Qhjgoodsex": {
  24296. "type": "object",
  24297. "properties": {
  24298. "canfinance": {
  24299. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  24300. "type": "integer"
  24301. },
  24302. "canregularlybuy": {
  24303. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  24304. "type": "integer"
  24305. },
  24306. "defaulttradeuserid": {
  24307. "description": "默认交易用户ID",
  24308. "type": "integer"
  24309. },
  24310. "deliverygoodsid": {
  24311. "description": "现货品种ID",
  24312. "type": "integer"
  24313. },
  24314. "goodsid": {
  24315. "description": "商品ID(自增ID SEQ_GOODS)",
  24316. "type": "integer"
  24317. },
  24318. "minamount": {
  24319. "description": "最小购买金额",
  24320. "type": "number"
  24321. },
  24322. "regularlybuyminamount": {
  24323. "description": "定投最小金额",
  24324. "type": "number"
  24325. },
  24326. "regularlybuyminqty": {
  24327. "description": "定投最小数量",
  24328. "type": "number"
  24329. },
  24330. "spotgoodsbrandid": {
  24331. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  24332. "type": "integer"
  24333. },
  24334. "wrstandardid": {
  24335. "description": "现货商品ID",
  24336. "type": "integer"
  24337. }
  24338. }
  24339. },
  24340. "models.QueryErrorInfosRsp": {
  24341. "type": "object",
  24342. "required": [
  24343. "errorid"
  24344. ],
  24345. "properties": {
  24346. "description": {
  24347. "description": "异常描述",
  24348. "type": "string"
  24349. },
  24350. "errorcode": {
  24351. "description": "异常代码",
  24352. "type": "string"
  24353. },
  24354. "errorid": {
  24355. "description": "异常ID",
  24356. "type": "integer"
  24357. },
  24358. "modulecode": {
  24359. "description": "所属模块",
  24360. "type": "string"
  24361. },
  24362. "operatecode": {
  24363. "description": "所属操作",
  24364. "type": "string"
  24365. },
  24366. "rownumber": {
  24367. "description": "行号",
  24368. "type": "string"
  24369. }
  24370. }
  24371. },
  24372. "models.QueryHedgeOrderDetailRsp": {
  24373. "type": "object",
  24374. "properties": {
  24375. "accountid": {
  24376. "description": "账户ID",
  24377. "type": "integer"
  24378. },
  24379. "buyorsell": {
  24380. "description": "买卖 - 0:买 1:卖",
  24381. "type": "integer"
  24382. },
  24383. "cancellogincode": {
  24384. "description": "撤单人",
  24385. "type": "string"
  24386. },
  24387. "channelbuildtype": {
  24388. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  24389. "type": "integer"
  24390. },
  24391. "channelinnerorderstatus": {
  24392. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  24393. "type": "integer"
  24394. },
  24395. "channeloperatetype": {
  24396. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  24397. "type": "integer"
  24398. },
  24399. "closetype": {
  24400. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24401. "type": "integer"
  24402. },
  24403. "curexchangerate": {
  24404. "description": "当前汇率",
  24405. "type": "number"
  24406. },
  24407. "exchangefullname": {
  24408. "description": "外部交易所全称",
  24409. "type": "string"
  24410. },
  24411. "goodscode": {
  24412. "description": "商品代码(内部)",
  24413. "type": "string"
  24414. },
  24415. "goodsid": {
  24416. "description": "商品ID",
  24417. "type": "integer"
  24418. },
  24419. "goodsname": {
  24420. "description": "商品名称",
  24421. "type": "string"
  24422. },
  24423. "marketid": {
  24424. "description": "市场ID",
  24425. "type": "integer"
  24426. },
  24427. "openfreezemargin": {
  24428. "description": "冻结保证金(冻结交易金额)",
  24429. "type": "number"
  24430. },
  24431. "orderid": {
  24432. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24433. "type": "string"
  24434. },
  24435. "orderlogincode": {
  24436. "description": "委托人",
  24437. "type": "string"
  24438. },
  24439. "orderprice": {
  24440. "description": "委托价格(账户)",
  24441. "type": "number"
  24442. },
  24443. "orderqty": {
  24444. "description": "委托数量",
  24445. "type": "integer"
  24446. },
  24447. "ordertime": {
  24448. "description": "委托时间",
  24449. "type": "string"
  24450. },
  24451. "pricemode": {
  24452. "description": "取价方式 - 1:市价 2: 限价",
  24453. "type": "integer"
  24454. },
  24455. "tradedate": {
  24456. "description": "交易日(yyyyMMdd)",
  24457. "type": "string"
  24458. },
  24459. "tradeqty": {
  24460. "description": "成交数量",
  24461. "type": "integer"
  24462. }
  24463. }
  24464. },
  24465. "models.QueryHedgeTradeDetailRsp": {
  24466. "type": "object",
  24467. "properties": {
  24468. "accountid": {
  24469. "description": "账号ID",
  24470. "type": "integer"
  24471. },
  24472. "buyorsell": {
  24473. "description": "方向 - 0:买 1:卖",
  24474. "type": "integer"
  24475. },
  24476. "channelbuildtype": {
  24477. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24478. "type": "integer"
  24479. },
  24480. "closecharge": {
  24481. "description": "平仓手续费(账户)",
  24482. "type": "number"
  24483. },
  24484. "closecharge2": {
  24485. "description": "平仓手续费(商品)",
  24486. "type": "number"
  24487. },
  24488. "closepl": {
  24489. "description": "平仓盈亏(账户)",
  24490. "type": "number"
  24491. },
  24492. "closepl2": {
  24493. "description": "平仓盈亏(商品)",
  24494. "type": "number"
  24495. },
  24496. "closepl3": {
  24497. "description": "平仓盈亏(账户)(逐笔)",
  24498. "type": "number"
  24499. },
  24500. "closepl4": {
  24501. "description": "平仓盈亏(商品)(逐笔)",
  24502. "type": "number"
  24503. },
  24504. "closetype": {
  24505. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24506. "type": "integer"
  24507. },
  24508. "curexchangerate": {
  24509. "description": "当前汇率",
  24510. "type": "number"
  24511. },
  24512. "exchangefullname": {
  24513. "description": "外部交易所全称",
  24514. "type": "string"
  24515. },
  24516. "goodscode": {
  24517. "description": "商品代码(内部)",
  24518. "type": "string"
  24519. },
  24520. "goodsid": {
  24521. "description": "商品ID",
  24522. "type": "integer"
  24523. },
  24524. "goodsname": {
  24525. "description": "商品名称",
  24526. "type": "string"
  24527. },
  24528. "marketid": {
  24529. "description": "市场ID",
  24530. "type": "integer"
  24531. },
  24532. "opencharge": {
  24533. "description": "建仓手续费(账户)",
  24534. "type": "number"
  24535. },
  24536. "opencharge2": {
  24537. "description": "建仓手续费(商品)",
  24538. "type": "number"
  24539. },
  24540. "orderid": {
  24541. "description": "委托单号",
  24542. "type": "string"
  24543. },
  24544. "orderlogincode": {
  24545. "description": "委托人",
  24546. "type": "string"
  24547. },
  24548. "tradeamount": {
  24549. "description": "成交金额(账户)",
  24550. "type": "number"
  24551. },
  24552. "tradedate": {
  24553. "description": "交易日(yyyyMMdd)",
  24554. "type": "string"
  24555. },
  24556. "tradeid": {
  24557. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24558. "type": "string"
  24559. },
  24560. "tradeprice": {
  24561. "description": "成交价格",
  24562. "type": "number"
  24563. },
  24564. "tradeqty": {
  24565. "description": "成交数量",
  24566. "type": "integer"
  24567. },
  24568. "tradetime": {
  24569. "description": "成交时间",
  24570. "type": "string"
  24571. },
  24572. "tradetype": {
  24573. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24574. "type": "integer"
  24575. }
  24576. }
  24577. },
  24578. "models.QuotePrimaryMenu": {
  24579. "type": "object",
  24580. "properties": {
  24581. "Index": {
  24582. "description": "序号",
  24583. "type": "integer"
  24584. },
  24585. "Key": {
  24586. "description": "键名",
  24587. "type": "string"
  24588. },
  24589. "Name": {
  24590. "description": "菜单名称",
  24591. "type": "string"
  24592. },
  24593. "SubMenus": {
  24594. "description": "子菜单",
  24595. "type": "array",
  24596. "items": {
  24597. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  24598. }
  24599. },
  24600. "SubTitleType": {
  24601. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  24602. "type": "integer"
  24603. },
  24604. "TradeModes": {
  24605. "description": "包含市场交易类型",
  24606. "type": "string"
  24607. }
  24608. }
  24609. },
  24610. "models.QuoteSecondaryMenu": {
  24611. "type": "object",
  24612. "properties": {
  24613. "ExExchangeCode": {
  24614. "description": "外部交易所代码",
  24615. "type": "string"
  24616. },
  24617. "ExExchangeID": {
  24618. "description": "外部交易所ID",
  24619. "type": "integer"
  24620. },
  24621. "GoodsGroupIDs": {
  24622. "description": "商品组ID列表",
  24623. "type": "array",
  24624. "items": {
  24625. "type": "integer"
  24626. }
  24627. },
  24628. "Index": {
  24629. "description": "序号",
  24630. "type": "integer"
  24631. },
  24632. "MarketID": {
  24633. "description": "市场ID",
  24634. "type": "integer"
  24635. },
  24636. "MenuTitle": {
  24637. "description": "菜单标题(市场名称或外部交易所名称)",
  24638. "type": "string"
  24639. },
  24640. "TradeMode": {
  24641. "description": "交易模式",
  24642. "type": "integer"
  24643. }
  24644. }
  24645. },
  24646. "models.SearchGoods": {
  24647. "type": "object",
  24648. "required": [
  24649. "goodscode",
  24650. "goodsid",
  24651. "goodsname",
  24652. "marketid",
  24653. "trademode"
  24654. ],
  24655. "properties": {
  24656. "goodscode": {
  24657. "description": "商品代码(内部)",
  24658. "type": "string"
  24659. },
  24660. "goodsid": {
  24661. "description": "商品ID(自增ID SEQ_GOODS)",
  24662. "type": "integer"
  24663. },
  24664. "goodsname": {
  24665. "description": "商品名称",
  24666. "type": "string"
  24667. },
  24668. "marketid": {
  24669. "description": "所属市场ID",
  24670. "type": "integer"
  24671. },
  24672. "marketname": {
  24673. "description": "市场名称",
  24674. "type": "string"
  24675. },
  24676. "trademode": {
  24677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24678. "type": "integer"
  24679. }
  24680. }
  24681. },
  24682. "models.Systemparam": {
  24683. "type": "object",
  24684. "required": [
  24685. "paramcode"
  24686. ],
  24687. "properties": {
  24688. "loginid": {
  24689. "description": "更新用户账号,登录账号",
  24690. "type": "string"
  24691. },
  24692. "modifyflag": {
  24693. "description": "修改标志0 不允许修改 1 允许修改",
  24694. "type": "integer"
  24695. },
  24696. "paramcode": {
  24697. "description": "参数代码",
  24698. "type": "string"
  24699. },
  24700. "paramname": {
  24701. "description": "参数名",
  24702. "type": "string"
  24703. },
  24704. "paramtype": {
  24705. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  24706. "type": "integer"
  24707. },
  24708. "paramvalue": {
  24709. "description": "参数值",
  24710. "type": "string"
  24711. },
  24712. "paramvalue2": {
  24713. "description": "参数值(CLOB)",
  24714. "type": "string"
  24715. },
  24716. "regexpress": {
  24717. "description": "正则表达式",
  24718. "type": "string"
  24719. },
  24720. "remark": {
  24721. "description": "备注",
  24722. "type": "string"
  24723. },
  24724. "serverip": {
  24725. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  24726. "type": "string"
  24727. },
  24728. "showflag": {
  24729. "description": "是否显示0 不显示 1 显示",
  24730. "type": "integer"
  24731. },
  24732. "updatetime": {
  24733. "description": "更新时间",
  24734. "type": "string"
  24735. },
  24736. "userid": {
  24737. "description": "更新用户ID",
  24738. "type": "integer"
  24739. }
  24740. }
  24741. },
  24742. "models.Szdz3convertconfig": {
  24743. "type": "object",
  24744. "required": [
  24745. "converttype",
  24746. "innergoodsid",
  24747. "outergoodscode"
  24748. ],
  24749. "properties": {
  24750. "canin": {
  24751. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  24752. "type": "integer"
  24753. },
  24754. "canout": {
  24755. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  24756. "type": "integer"
  24757. },
  24758. "converttype": {
  24759. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  24760. "type": "integer"
  24761. },
  24762. "createtime": {
  24763. "description": "创建时间",
  24764. "type": "string"
  24765. },
  24766. "creatorid": {
  24767. "description": "创建人",
  24768. "type": "integer"
  24769. },
  24770. "daymaxvalue": {
  24771. "description": "当日最大转入限制",
  24772. "type": "number"
  24773. },
  24774. "freezedays": {
  24775. "description": "冻结天数 [5:花生米转交易]",
  24776. "type": "integer"
  24777. },
  24778. "innergoodsid": {
  24779. "description": "内部商品ID[交易]",
  24780. "type": "integer"
  24781. },
  24782. "inratio": {
  24783. "description": "目标值",
  24784. "type": "integer"
  24785. },
  24786. "modifierid": {
  24787. "description": "修改人",
  24788. "type": "integer"
  24789. },
  24790. "modifytime": {
  24791. "description": "修改时间",
  24792. "type": "string"
  24793. },
  24794. "outergoodscode": {
  24795. "description": "外部商品代码[JD\\PD]",
  24796. "type": "string"
  24797. },
  24798. "outratio": {
  24799. "description": "源值",
  24800. "type": "integer"
  24801. },
  24802. "pddecimalplace": {
  24803. "description": "PD小数位",
  24804. "type": "integer"
  24805. },
  24806. "timemaxvalue": {
  24807. "description": "单次最大转入限制",
  24808. "type": "number"
  24809. },
  24810. "timeminvalue": {
  24811. "description": "单次最小转入限制",
  24812. "type": "number"
  24813. }
  24814. }
  24815. },
  24816. "models.Szdz3searchwhitelist": {
  24817. "type": "object",
  24818. "required": [
  24819. "userid"
  24820. ],
  24821. "properties": {
  24822. "createtime": {
  24823. "description": "创建时间",
  24824. "type": "string"
  24825. },
  24826. "creatorid": {
  24827. "description": "创建人",
  24828. "type": "integer"
  24829. },
  24830. "modifierid": {
  24831. "description": "修改人",
  24832. "type": "integer"
  24833. },
  24834. "modifytime": {
  24835. "description": "修改时间",
  24836. "type": "string"
  24837. },
  24838. "userid": {
  24839. "description": "用户ID",
  24840. "type": "integer"
  24841. }
  24842. }
  24843. },
  24844. "models.Taaccount": {
  24845. "type": "object",
  24846. "required": [
  24847. "accountid",
  24848. "userid"
  24849. ],
  24850. "properties": {
  24851. "accountflag": {
  24852. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  24853. "type": "integer"
  24854. },
  24855. "accountid": {
  24856. "description": "资金账户ID",
  24857. "type": "integer"
  24858. },
  24859. "accountname": {
  24860. "description": "账户名称",
  24861. "type": "string"
  24862. },
  24863. "balance": {
  24864. "description": "期初余额",
  24865. "type": "number"
  24866. },
  24867. "capitalbalance": {
  24868. "description": "本金余额[外部子账户实际出入金余额]",
  24869. "type": "number"
  24870. },
  24871. "changeflag": {
  24872. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  24873. "type": "integer"
  24874. },
  24875. "changetime": {
  24876. "description": "账户状态变更时间",
  24877. "type": "string"
  24878. },
  24879. "closepl": {
  24880. "description": "今日平仓盈亏",
  24881. "type": "number"
  24882. },
  24883. "creditdecrease": {
  24884. "description": "今日授信减少",
  24885. "type": "number"
  24886. },
  24887. "creditincrease": {
  24888. "description": "今日授信增加",
  24889. "type": "number"
  24890. },
  24891. "currencyid": {
  24892. "description": "货币ID",
  24893. "type": "integer"
  24894. },
  24895. "currentbalance": {
  24896. "description": "期末余额",
  24897. "type": "number"
  24898. },
  24899. "freezecharge": {
  24900. "description": "手续费冻结",
  24901. "type": "number"
  24902. },
  24903. "freezemargin": {
  24904. "description": "冻结保证金",
  24905. "type": "number"
  24906. },
  24907. "fromaccountid": {
  24908. "description": "所属上级账户",
  24909. "type": "integer"
  24910. },
  24911. "inamount": {
  24912. "description": "今日入金金额(包括三方入金)",
  24913. "type": "number"
  24914. },
  24915. "ismain": {
  24916. "description": "是否母账号 0:不是母账户 1:是母账户",
  24917. "type": "integer"
  24918. },
  24919. "ismarketaccount": {
  24920. "description": "是否机构接单账号 0:不是 1:是",
  24921. "type": "integer"
  24922. },
  24923. "isreckonaccount": {
  24924. "description": "是否机构分润账号 0:不是 1:是",
  24925. "type": "integer"
  24926. },
  24927. "mortgagecredit": {
  24928. "description": "授信金额",
  24929. "type": "number"
  24930. },
  24931. "orifreezecharge": {
  24932. "description": "期初手续费冻结",
  24933. "type": "number"
  24934. },
  24935. "orifreezemargin": {
  24936. "description": "期初冻结保证金",
  24937. "type": "number"
  24938. },
  24939. "orimortgagecredit": {
  24940. "description": "期初授信金额",
  24941. "type": "number"
  24942. },
  24943. "oriothercredit": {
  24944. "description": "期初其它授信金额",
  24945. "type": "number"
  24946. },
  24947. "oriotherfreezemargin": {
  24948. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24949. "type": "number"
  24950. },
  24951. "orioutamountfreeze": {
  24952. "description": "期初出金冻结",
  24953. "type": "number"
  24954. },
  24955. "oriusedmargin": {
  24956. "description": "期初占用保证金",
  24957. "type": "number"
  24958. },
  24959. "othercredit": {
  24960. "description": "其它授信金额",
  24961. "type": "number"
  24962. },
  24963. "othercreditdecrease": {
  24964. "description": "今日其它授信减少",
  24965. "type": "number"
  24966. },
  24967. "othercreditincrease": {
  24968. "description": "今日其它授信增加",
  24969. "type": "number"
  24970. },
  24971. "otherfreezemargin": {
  24972. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24973. "type": "number"
  24974. },
  24975. "otherincome": {
  24976. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  24977. "type": "number"
  24978. },
  24979. "otherpay": {
  24980. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  24981. "type": "number"
  24982. },
  24983. "outamount": {
  24984. "description": "今日出金金额(包括三方出金)",
  24985. "type": "number"
  24986. },
  24987. "outamountfreeze": {
  24988. "description": "出金冻结",
  24989. "type": "number"
  24990. },
  24991. "outthreshold": {
  24992. "description": "出金阈值",
  24993. "type": "number"
  24994. },
  24995. "parentaccountid": {
  24996. "description": "所属根账号",
  24997. "type": "integer"
  24998. },
  24999. "paycharge": {
  25000. "description": "今日手续费支出",
  25001. "type": "number"
  25002. },
  25003. "relatedaccountstatus": {
  25004. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  25005. "type": "integer"
  25006. },
  25007. "relateduserid": {
  25008. "description": "关联用户",
  25009. "type": "integer"
  25010. },
  25011. "serivcegroup": {
  25012. "description": "服务分组",
  25013. "type": "integer"
  25014. },
  25015. "signstatus": {
  25016. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25017. "type": "integer"
  25018. },
  25019. "sublevelpath": {
  25020. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25021. "type": "string"
  25022. },
  25023. "taaccounttype": {
  25024. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25025. "type": "integer"
  25026. },
  25027. "thirdinamount": {
  25028. "description": "今日三方入金",
  25029. "type": "number"
  25030. },
  25031. "thirdoutamount": {
  25032. "description": "今日三方出金",
  25033. "type": "number"
  25034. },
  25035. "tradestatus": {
  25036. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25037. "type": "integer"
  25038. },
  25039. "tradestatuschangetime": {
  25040. "description": "激活时间",
  25041. "type": "string"
  25042. },
  25043. "transferamount": {
  25044. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25045. "type": "number"
  25046. },
  25047. "usedmargin": {
  25048. "description": "占用保证金",
  25049. "type": "number"
  25050. },
  25051. "userid": {
  25052. "description": "用户ID",
  25053. "type": "integer"
  25054. }
  25055. }
  25056. },
  25057. "models.Tablecolumnconfig": {
  25058. "type": "object",
  25059. "required": [
  25060. "autoid"
  25061. ],
  25062. "properties": {
  25063. "aligntype": {
  25064. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  25065. "type": "integer"
  25066. },
  25067. "autoid": {
  25068. "description": "AutoID",
  25069. "type": "integer"
  25070. },
  25071. "columnfield": {
  25072. "description": "列字段",
  25073. "type": "string"
  25074. },
  25075. "columntitle": {
  25076. "description": "列Title",
  25077. "type": "string"
  25078. },
  25079. "columnwidth": {
  25080. "description": "列宽",
  25081. "type": "string"
  25082. },
  25083. "formatterstring": {
  25084. "description": "格式化字符",
  25085. "type": "string"
  25086. },
  25087. "formattertype": {
  25088. "description": "格式化类型",
  25089. "type": "string"
  25090. },
  25091. "groupname": {
  25092. "description": "表头分组名称",
  25093. "type": "string"
  25094. },
  25095. "isshow": {
  25096. "description": "是否显示 - 0:不显示 1:显示",
  25097. "type": "integer"
  25098. },
  25099. "needsummary": {
  25100. "description": "是否需要汇总 - 0:不需要 1:需要",
  25101. "type": "integer"
  25102. },
  25103. "orderindex": {
  25104. "description": "顺序",
  25105. "type": "integer"
  25106. },
  25107. "remark": {
  25108. "description": "备注",
  25109. "type": "string"
  25110. },
  25111. "summarytype": {
  25112. "description": "汇总类型 - 1:加总 2:最后一个",
  25113. "type": "integer"
  25114. },
  25115. "tablekey": {
  25116. "description": "列表Key",
  25117. "type": "string"
  25118. }
  25119. }
  25120. },
  25121. "models.UserCollectConfig": {
  25122. "type": "object",
  25123. "properties": {
  25124. "accountstatus": {
  25125. "description": "账户状态 - 1:正常 2:停用 3:注销",
  25126. "type": "integer"
  25127. },
  25128. "collectaccountname": {
  25129. "description": "收款人账户名称",
  25130. "type": "string"
  25131. },
  25132. "collectaccountno": {
  25133. "description": "收款人账户",
  25134. "type": "string"
  25135. },
  25136. "collectbankname": {
  25137. "description": "收款人开户行",
  25138. "type": "string"
  25139. },
  25140. "collectbranchbankname": {
  25141. "description": "收款人开户支行",
  25142. "type": "string"
  25143. },
  25144. "collectconfigid": {
  25145. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  25146. "type": "string"
  25147. },
  25148. "remark": {
  25149. "description": "备注",
  25150. "type": "string"
  25151. },
  25152. "userid": {
  25153. "description": "收款人用户ID",
  25154. "type": "integer"
  25155. }
  25156. }
  25157. },
  25158. "models.UserReceiveInfo": {
  25159. "type": "object",
  25160. "properties": {
  25161. "address": {
  25162. "description": "提货人详细地址",
  25163. "type": "string"
  25164. },
  25165. "autoid": {
  25166. "description": "AutoID",
  25167. "type": "integer"
  25168. },
  25169. "cardnum": {
  25170. "description": "证件号码(加密存储)",
  25171. "type": "string"
  25172. },
  25173. "cardtypeid": {
  25174. "description": "证件类型",
  25175. "type": "integer"
  25176. },
  25177. "cityid": {
  25178. "description": "市",
  25179. "type": "integer"
  25180. },
  25181. "cityname": {
  25182. "description": "城市名称",
  25183. "type": "string"
  25184. },
  25185. "countryid": {
  25186. "description": "国家",
  25187. "type": "integer"
  25188. },
  25189. "countryname": {
  25190. "description": "国家名称",
  25191. "type": "string"
  25192. },
  25193. "districtid": {
  25194. "description": "地区",
  25195. "type": "integer"
  25196. },
  25197. "districtname": {
  25198. "description": "地区名称",
  25199. "type": "string"
  25200. },
  25201. "hasencrypt": {
  25202. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25203. "type": "integer"
  25204. },
  25205. "isdefault": {
  25206. "description": "是否默认地址 - 0:否 1:是",
  25207. "type": "integer"
  25208. },
  25209. "phonenum": {
  25210. "description": "提货人联系方式(加密存储)",
  25211. "type": "string"
  25212. },
  25213. "provinceid": {
  25214. "description": "省",
  25215. "type": "integer"
  25216. },
  25217. "provincename": {
  25218. "description": "省名称",
  25219. "type": "string"
  25220. },
  25221. "receivername": {
  25222. "description": "提货人姓名",
  25223. "type": "string"
  25224. },
  25225. "takeremark": {
  25226. "description": "提货备注",
  25227. "type": "string"
  25228. },
  25229. "userid": {
  25230. "description": "用户ID",
  25231. "type": "integer"
  25232. }
  25233. }
  25234. },
  25235. "models.Useraccount": {
  25236. "type": "object",
  25237. "required": [
  25238. "userid"
  25239. ],
  25240. "properties": {
  25241. "accountname": {
  25242. "description": "账户名称(机构名称)",
  25243. "type": "string"
  25244. },
  25245. "accountstatus": {
  25246. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25247. "type": "integer"
  25248. },
  25249. "applysrc": {
  25250. "description": "申请来源 - 1:管理端 2:终端",
  25251. "type": "integer"
  25252. },
  25253. "auditremark": {
  25254. "description": "审核备注",
  25255. "type": "string"
  25256. },
  25257. "auditsrc": {
  25258. "description": "审核来源 - 1:管理端 2:终端",
  25259. "type": "integer"
  25260. },
  25261. "audittime": {
  25262. "description": "审核时间",
  25263. "type": "string"
  25264. },
  25265. "audituserid": {
  25266. "description": "审核人",
  25267. "type": "integer"
  25268. },
  25269. "broker": {
  25270. "description": "所属经纪人ID",
  25271. "type": "integer"
  25272. },
  25273. "canceltime": {
  25274. "description": "销户时间",
  25275. "type": "string"
  25276. },
  25277. "canceluserid": {
  25278. "description": "销户人",
  25279. "type": "integer"
  25280. },
  25281. "canrecommend": {
  25282. "description": "是否可推荐 - 0:不可 1;可",
  25283. "type": "integer"
  25284. },
  25285. "createtime": {
  25286. "description": "创建时间",
  25287. "type": "string"
  25288. },
  25289. "creatorid": {
  25290. "description": "创建人",
  25291. "type": "integer"
  25292. },
  25293. "hasauth": {
  25294. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25295. "type": "integer"
  25296. },
  25297. "isanonymous": {
  25298. "description": "是否匿名下单 - 0:否 1:是",
  25299. "type": "integer"
  25300. },
  25301. "maxinvestornum": {
  25302. "description": "最大用户数(经纪会员下投资者个数)",
  25303. "type": "integer"
  25304. },
  25305. "memberuserid": {
  25306. "description": "所属会员ID",
  25307. "type": "integer"
  25308. },
  25309. "modifierid": {
  25310. "description": "修改人",
  25311. "type": "integer"
  25312. },
  25313. "modifyremark": {
  25314. "description": "变更备注",
  25315. "type": "string"
  25316. },
  25317. "modifystatus": {
  25318. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25319. "type": "integer"
  25320. },
  25321. "modifytime": {
  25322. "description": "修改时间",
  25323. "type": "string"
  25324. },
  25325. "parenttopuser": {
  25326. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25327. "type": "string"
  25328. },
  25329. "parentuserid": {
  25330. "description": "所属机构ID",
  25331. "type": "integer"
  25332. },
  25333. "reckonaccountid": {
  25334. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25335. "type": "integer"
  25336. },
  25337. "refercount": {
  25338. "description": "推荐总人数",
  25339. "type": "integer"
  25340. },
  25341. "refereeuserid": {
  25342. "description": "推荐人ID",
  25343. "type": "integer"
  25344. },
  25345. "refernum": {
  25346. "description": "推荐码",
  25347. "type": "string"
  25348. },
  25349. "rootuserid": {
  25350. "description": "根用户ID",
  25351. "type": "integer"
  25352. },
  25353. "subaccountlevel": {
  25354. "description": "子账户层数",
  25355. "type": "integer"
  25356. },
  25357. "subarealevelpath": {
  25358. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25359. "type": "string"
  25360. },
  25361. "userid": {
  25362. "description": "用户ID",
  25363. "type": "integer"
  25364. },
  25365. "usertype": {
  25366. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25367. "type": "integer"
  25368. }
  25369. }
  25370. },
  25371. "models.Userfavoritegoods": {
  25372. "type": "object",
  25373. "required": [
  25374. "goodsid"
  25375. ],
  25376. "properties": {
  25377. "goodsid": {
  25378. "description": "商品ID",
  25379. "type": "integer"
  25380. }
  25381. }
  25382. },
  25383. "models.Userinfo": {
  25384. "type": "object",
  25385. "required": [
  25386. "userid"
  25387. ],
  25388. "properties": {
  25389. "address": {
  25390. "description": "地址",
  25391. "type": "string"
  25392. },
  25393. "attachment1": {
  25394. "description": "附件1",
  25395. "type": "string"
  25396. },
  25397. "attachment2": {
  25398. "description": "附件2",
  25399. "type": "string"
  25400. },
  25401. "bankaccount": {
  25402. "description": "银行帐号 (加密存储)",
  25403. "type": "string"
  25404. },
  25405. "bankaccountname": {
  25406. "description": "收款人名称",
  25407. "type": "string"
  25408. },
  25409. "bankcardfrontphotourl": {
  25410. "description": "银行卡正面照地址",
  25411. "type": "string"
  25412. },
  25413. "bankid": {
  25414. "description": "银行编码",
  25415. "type": "string"
  25416. },
  25417. "bankname": {
  25418. "description": "银行名称",
  25419. "type": "string"
  25420. },
  25421. "biznature": {
  25422. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  25423. "type": "integer"
  25424. },
  25425. "bizscope": {
  25426. "description": "企业经营范围(企业)",
  25427. "type": "string"
  25428. },
  25429. "cardbackphotourl": {
  25430. "description": "证件背面图片地址",
  25431. "type": "string"
  25432. },
  25433. "cardfrontphotourl": {
  25434. "description": "证件正面图片地址",
  25435. "type": "string"
  25436. },
  25437. "cardnum": {
  25438. "description": "证件号码(加密存储)",
  25439. "type": "string"
  25440. },
  25441. "cardtypeid": {
  25442. "description": "证件类型ID",
  25443. "type": "integer"
  25444. },
  25445. "cityid": {
  25446. "description": "市",
  25447. "type": "integer"
  25448. },
  25449. "company": {
  25450. "description": "公司(个人)",
  25451. "type": "string"
  25452. },
  25453. "contactname": {
  25454. "description": "联系人",
  25455. "type": "string"
  25456. },
  25457. "countryid": {
  25458. "description": "国家",
  25459. "type": "integer"
  25460. },
  25461. "createtime": {
  25462. "description": "创建时间",
  25463. "type": "string"
  25464. },
  25465. "creatorid": {
  25466. "description": "创建人",
  25467. "type": "integer"
  25468. },
  25469. "customername": {
  25470. "description": "客户名称(企业名称)",
  25471. "type": "string"
  25472. },
  25473. "districtid": {
  25474. "description": "地区",
  25475. "type": "integer"
  25476. },
  25477. "email": {
  25478. "description": "邮件(加密存储)",
  25479. "type": "string"
  25480. },
  25481. "fax": {
  25482. "description": "传真(加密存储)",
  25483. "type": "string"
  25484. },
  25485. "halfbodyphotourl": {
  25486. "description": "半身照地址",
  25487. "type": "string"
  25488. },
  25489. "hasencrypt": {
  25490. "description": "数据是否已加密 - 0:未加密 1:已加密",
  25491. "type": "integer"
  25492. },
  25493. "headurl": {
  25494. "description": "头像地址",
  25495. "type": "string"
  25496. },
  25497. "legalcardbackphotourl": {
  25498. "description": "法人身份证背面照地址",
  25499. "type": "string"
  25500. },
  25501. "legalcardfrontphotourl": {
  25502. "description": "法人身份证正面照地址",
  25503. "type": "string"
  25504. },
  25505. "legalpersonname": {
  25506. "description": "法人姓名(企业)",
  25507. "type": "string"
  25508. },
  25509. "mobile": {
  25510. "description": "手机号码(加密存储)",
  25511. "type": "string"
  25512. },
  25513. "mobile2": {
  25514. "description": "手机号码[明文-尚志]",
  25515. "type": "string"
  25516. },
  25517. "modifierid": {
  25518. "description": "修改人",
  25519. "type": "integer"
  25520. },
  25521. "modifiertime": {
  25522. "description": "修改时间",
  25523. "type": "string"
  25524. },
  25525. "needinvoice": {
  25526. "description": "是否需要发票 - 0:不需要 1:需要",
  25527. "type": "integer"
  25528. },
  25529. "nickname": {
  25530. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  25531. "type": "string"
  25532. },
  25533. "openmode": {
  25534. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  25535. "type": "integer"
  25536. },
  25537. "otherurl": {
  25538. "description": "其它图片地址[使用分号分隔]",
  25539. "type": "string"
  25540. },
  25541. "postalcode": {
  25542. "description": "邮政编码",
  25543. "type": "string"
  25544. },
  25545. "provinceid": {
  25546. "description": "省",
  25547. "type": "integer"
  25548. },
  25549. "qq": {
  25550. "description": "QQ(加密存储",
  25551. "type": "string"
  25552. },
  25553. "remark": {
  25554. "description": "备注",
  25555. "type": "string"
  25556. },
  25557. "sex": {
  25558. "description": "用户性别 0: 女 1: 男",
  25559. "type": "integer"
  25560. },
  25561. "signpdfurl": {
  25562. "description": "签约pdf文件",
  25563. "type": "string"
  25564. },
  25565. "telphone": {
  25566. "description": "联系电话(加密存储)",
  25567. "type": "string"
  25568. },
  25569. "userid": {
  25570. "description": "用户ID",
  25571. "type": "integer"
  25572. },
  25573. "userinfotype": {
  25574. "description": "用户信息类型 - 1:个人 2:企业",
  25575. "type": "integer"
  25576. },
  25577. "userstatus": {
  25578. "description": "用户状态 - 1:正常 2:注销",
  25579. "type": "integer"
  25580. },
  25581. "usertype": {
  25582. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  25583. "type": "integer"
  25584. },
  25585. "wechat": {
  25586. "description": "微信(加密存储)",
  25587. "type": "string"
  25588. },
  25589. "wskhinfo": {
  25590. "description": "开户申请信息(JSON)",
  25591. "type": "string"
  25592. }
  25593. }
  25594. },
  25595. "models.WRSConverTDetail": {
  25596. "type": "object",
  25597. "properties": {
  25598. "convertratio": {
  25599. "description": "套保系数",
  25600. "type": "number"
  25601. },
  25602. "deliverygoodscode": {
  25603. "description": "现货商品代码",
  25604. "type": "string"
  25605. },
  25606. "deliverygoodsid": {
  25607. "description": "现货品种ID",
  25608. "type": "integer"
  25609. },
  25610. "deliverygoodsname": {
  25611. "description": "现货商品名称",
  25612. "type": "string"
  25613. },
  25614. "enumdicname": {
  25615. "description": "单位名称",
  25616. "type": "string"
  25617. },
  25618. "goodsunitid": {
  25619. "description": "套保品种单位id",
  25620. "type": "integer"
  25621. },
  25622. "middlegoodscode": {
  25623. "description": "套保品种代码",
  25624. "type": "string"
  25625. },
  25626. "middlegoodsid": {
  25627. "description": "套保品种ID",
  25628. "type": "integer"
  25629. },
  25630. "middlegoodsname": {
  25631. "description": "套保品种名称",
  25632. "type": "string"
  25633. },
  25634. "modifytime": {
  25635. "description": "修改时间",
  25636. "type": "string"
  25637. },
  25638. "wrstandardid": {
  25639. "description": "品类ID",
  25640. "type": "integer"
  25641. }
  25642. }
  25643. },
  25644. "models.WRStandardInfo": {
  25645. "type": "object",
  25646. "required": [
  25647. "wrstandardid"
  25648. ],
  25649. "properties": {
  25650. "areauserid": {
  25651. "description": "所属机构",
  25652. "type": "integer"
  25653. },
  25654. "convertfactor": {
  25655. "description": "标仓系数",
  25656. "type": "number"
  25657. },
  25658. "createtime": {
  25659. "description": "创建时间",
  25660. "type": "string"
  25661. },
  25662. "creatorid": {
  25663. "description": "创建人",
  25664. "type": "integer"
  25665. },
  25666. "deliverygoodsid": {
  25667. "description": "品种ID",
  25668. "type": "integer"
  25669. },
  25670. "deliverygoodsname": {
  25671. "description": "交割商品名称",
  25672. "type": "string"
  25673. },
  25674. "factoryitemjson": {
  25675. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  25676. "type": "string"
  25677. },
  25678. "isvalid": {
  25679. "description": "是否有效 - 0:无效 1:有效",
  25680. "type": "integer"
  25681. },
  25682. "minivalue": {
  25683. "description": "最小变动值",
  25684. "type": "integer"
  25685. },
  25686. "minivaluedp": {
  25687. "description": "最小变动值小数位",
  25688. "type": "integer"
  25689. },
  25690. "realminivalue": {
  25691. "description": "实际最小变动值",
  25692. "type": "integer"
  25693. },
  25694. "realminivaluedp": {
  25695. "description": "实际最小变动值小数位",
  25696. "type": "integer"
  25697. },
  25698. "remark": {
  25699. "description": "备注",
  25700. "type": "string"
  25701. },
  25702. "unitid": {
  25703. "description": "单位ID",
  25704. "type": "integer"
  25705. },
  25706. "unitname": {
  25707. "description": "单位",
  25708. "type": "string"
  25709. },
  25710. "updatetime": {
  25711. "description": "更新时间",
  25712. "type": "string"
  25713. },
  25714. "updatorid": {
  25715. "description": "更新人",
  25716. "type": "integer"
  25717. },
  25718. "wrsstatus": {
  25719. "description": "状态 - 作废 - 0:未激活 1:正常",
  25720. "type": "integer"
  25721. },
  25722. "wrstandardcode": {
  25723. "description": "现货品类代码",
  25724. "type": "string"
  25725. },
  25726. "wrstandardid": {
  25727. "description": "现货品类ID(SEQ_WRSTANDARD)",
  25728. "type": "integer"
  25729. },
  25730. "wrstandardname": {
  25731. "description": "现货品类名称",
  25732. "type": "string"
  25733. }
  25734. }
  25735. },
  25736. "models.Warehouseinfo": {
  25737. "type": "object",
  25738. "required": [
  25739. "autoid",
  25740. "warehousecode"
  25741. ],
  25742. "properties": {
  25743. "address": {
  25744. "description": "详细地址",
  25745. "type": "string"
  25746. },
  25747. "areauserid": {
  25748. "description": "所属机构",
  25749. "type": "integer"
  25750. },
  25751. "autoid": {
  25752. "description": "自增ID",
  25753. "type": "integer"
  25754. },
  25755. "cityid": {
  25756. "description": "市",
  25757. "type": "integer"
  25758. },
  25759. "contactname": {
  25760. "description": "联系人",
  25761. "type": "string"
  25762. },
  25763. "contactnum": {
  25764. "description": "联系电话",
  25765. "type": "string"
  25766. },
  25767. "countryid": {
  25768. "description": "国家",
  25769. "type": "integer"
  25770. },
  25771. "createtime": {
  25772. "description": "创建时间",
  25773. "type": "string"
  25774. },
  25775. "districtid": {
  25776. "description": "区",
  25777. "type": "integer"
  25778. },
  25779. "hasvideo": {
  25780. "description": "是否有视频 - 0:无 1:有",
  25781. "type": "integer"
  25782. },
  25783. "provinceid": {
  25784. "description": "省",
  25785. "type": "integer"
  25786. },
  25787. "remark": {
  25788. "description": "审核备注",
  25789. "type": "string"
  25790. },
  25791. "videourl": {
  25792. "description": "视频地址",
  25793. "type": "string"
  25794. },
  25795. "warehousecode": {
  25796. "description": "仓库代码",
  25797. "type": "string"
  25798. },
  25799. "warehousename": {
  25800. "description": "仓库名称",
  25801. "type": "string"
  25802. },
  25803. "warehousestatus": {
  25804. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  25805. "type": "integer"
  25806. },
  25807. "warehousetype": {
  25808. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  25809. "type": "integer"
  25810. }
  25811. }
  25812. },
  25813. "order.QueryHisTradeDetailRsp": {
  25814. "type": "object",
  25815. "required": [
  25816. "accountid",
  25817. "buyorsell",
  25818. "goodsid",
  25819. "histradedate",
  25820. "marketid",
  25821. "memberuserid",
  25822. "orderid",
  25823. "tradeamount",
  25824. "tradedate",
  25825. "tradeid",
  25826. "tradeprice",
  25827. "tradeqty",
  25828. "tradetime"
  25829. ],
  25830. "properties": {
  25831. "accountid": {
  25832. "description": "账户ID[报价币种]",
  25833. "type": "integer"
  25834. },
  25835. "buildtype": {
  25836. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  25837. "type": "integer"
  25838. },
  25839. "buyorsell": {
  25840. "description": "方向 - 0:买 1:卖",
  25841. "type": "integer"
  25842. },
  25843. "charge": {
  25844. "description": "手续费",
  25845. "type": "number"
  25846. },
  25847. "closecharge": {
  25848. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25849. "type": "number"
  25850. },
  25851. "closeexchagechargevalue": {
  25852. "description": "平仓交易所手续费设置值",
  25853. "type": "number"
  25854. },
  25855. "closefeealgorithm": {
  25856. "description": "平仓手续费收取方式 1:比率 2:固定",
  25857. "type": "integer"
  25858. },
  25859. "closememberchargevalue": {
  25860. "description": "平仓会员手续费设置值",
  25861. "type": "number"
  25862. },
  25863. "closepl": {
  25864. "description": "平仓盈亏",
  25865. "type": "number"
  25866. },
  25867. "closepl2": {
  25868. "description": "平仓盈亏[逐笔]",
  25869. "type": "number"
  25870. },
  25871. "closeqty": {
  25872. "description": "平仓数量(先建后平操作 需要记录)",
  25873. "type": "number"
  25874. },
  25875. "creditamount": {
  25876. "description": "授信金额",
  25877. "type": "number"
  25878. },
  25879. "decimalplace": {
  25880. "description": "商品报价小数位",
  25881. "type": "integer"
  25882. },
  25883. "enumdicname": {
  25884. "description": "单位名称",
  25885. "type": "string"
  25886. },
  25887. "gcaccountid": {
  25888. "description": "账户ID[合约币种]",
  25889. "type": "integer"
  25890. },
  25891. "goodscode": {
  25892. "description": "商品代码",
  25893. "type": "string"
  25894. },
  25895. "goodsid": {
  25896. "description": "商品ID",
  25897. "type": "integer"
  25898. },
  25899. "goodsname": {
  25900. "description": "商品名称",
  25901. "type": "string"
  25902. },
  25903. "goodunitid": {
  25904. "description": "商品单位id",
  25905. "type": "integer"
  25906. },
  25907. "histradedate": {
  25908. "description": "历史交易日",
  25909. "type": "string"
  25910. },
  25911. "intclosepl": {
  25912. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  25913. "type": "integer"
  25914. },
  25915. "isconfirmexercise": {
  25916. "description": "是否确认行权- 0:否 1:是",
  25917. "type": "integer"
  25918. },
  25919. "ismain": {
  25920. "description": "是否主单 - 0:不是 1:是",
  25921. "type": "integer"
  25922. },
  25923. "ispreexercise": {
  25924. "description": "是否预申报- 0:否 1:是",
  25925. "type": "integer"
  25926. },
  25927. "isreckoned": {
  25928. "description": "是否结算 - 0:未结算 1:已结算",
  25929. "type": "integer"
  25930. },
  25931. "isvaliddata": {
  25932. "description": "是否有效 - 0:无效 1:有效",
  25933. "type": "integer"
  25934. },
  25935. "listingselecttype": {
  25936. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  25937. "type": "integer"
  25938. },
  25939. "marketid": {
  25940. "description": "市场ID",
  25941. "type": "integer"
  25942. },
  25943. "marketname": {
  25944. "description": "市场名称",
  25945. "type": "string"
  25946. },
  25947. "matchaccountid": {
  25948. "description": "对手账号id",
  25949. "type": "integer"
  25950. },
  25951. "memberuserid": {
  25952. "description": "会员id 个人投资者 需要填写",
  25953. "type": "integer"
  25954. },
  25955. "opencharge": {
  25956. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  25957. "type": "number"
  25958. },
  25959. "openexchagechargevalue": {
  25960. "description": "建仓交易所手续费设置值",
  25961. "type": "number"
  25962. },
  25963. "openfeealgorithm": {
  25964. "description": "建仓手续费收取方式 1:比率 2:固定",
  25965. "type": "integer"
  25966. },
  25967. "openmemberchargevalue": {
  25968. "description": "建仓会员手续费设置值",
  25969. "type": "number"
  25970. },
  25971. "openqty": {
  25972. "description": "开仓数量(先建后平操作 需要记录)",
  25973. "type": "number"
  25974. },
  25975. "optiontype": {
  25976. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  25977. "type": "integer"
  25978. },
  25979. "orderid": {
  25980. "description": "委托单号",
  25981. "type": "string"
  25982. },
  25983. "performanceplanid": {
  25984. "description": "履约计划ID[期权]",
  25985. "type": "integer"
  25986. },
  25987. "performancestatus": {
  25988. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  25989. "type": "integer"
  25990. },
  25991. "preexerciseprice": {
  25992. "description": "预申报价格",
  25993. "type": "number"
  25994. },
  25995. "premium": {
  25996. "description": "权利金 - [持仓单的权利金]",
  25997. "type": "number"
  25998. },
  25999. "qtydecimalplace": {
  26000. "description": "商品报价小数位",
  26001. "type": "integer"
  26002. },
  26003. "relatedouttradeid": {
  26004. "description": "关联外部成交单ID",
  26005. "type": "integer"
  26006. },
  26007. "status": {
  26008. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26009. "type": "integer"
  26010. },
  26011. "tradeamount": {
  26012. "description": "成交金额[账户币种,用于所有权]",
  26013. "type": "number"
  26014. },
  26015. "tradedate": {
  26016. "description": "交易日(yyyyMMdd)",
  26017. "type": "string"
  26018. },
  26019. "tradeid": {
  26020. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26021. "type": "string"
  26022. },
  26023. "trademode": {
  26024. "description": "交易模式",
  26025. "type": "integer"
  26026. },
  26027. "tradeprice": {
  26028. "description": "成交价格",
  26029. "type": "number"
  26030. },
  26031. "tradeproperty": {
  26032. "description": "交易属性",
  26033. "type": "integer"
  26034. },
  26035. "tradeqty": {
  26036. "description": "成交数量",
  26037. "type": "number"
  26038. },
  26039. "tradetime": {
  26040. "description": "成交时间",
  26041. "type": "string"
  26042. },
  26043. "tradetype": {
  26044. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26045. "type": "integer"
  26046. }
  26047. }
  26048. },
  26049. "order.QueryHisTradeOrderDetailRsp": {
  26050. "type": "object",
  26051. "required": [
  26052. "accountid",
  26053. "buildtype",
  26054. "buyorsell",
  26055. "goodsid",
  26056. "histradedate",
  26057. "marketid",
  26058. "memberuserid",
  26059. "operatetype",
  26060. "orderid",
  26061. "orderqty",
  26062. "ordertime",
  26063. "pricemode",
  26064. "tradedate",
  26065. "validtype"
  26066. ],
  26067. "properties": {
  26068. "accountid": {
  26069. "description": "账户ID[报价币种]",
  26070. "type": "integer"
  26071. },
  26072. "buildtype": {
  26073. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26074. "type": "integer"
  26075. },
  26076. "buyorsell": {
  26077. "description": "买卖 - 0:买 1:卖",
  26078. "type": "integer"
  26079. },
  26080. "cancelorderid": {
  26081. "description": "撤单单号(撤单时填写)",
  26082. "type": "string"
  26083. },
  26084. "cancelqty": {
  26085. "description": "撤单数量",
  26086. "type": "number"
  26087. },
  26088. "clientordertime": {
  26089. "description": "客户端委托时间",
  26090. "type": "string"
  26091. },
  26092. "clientticket": {
  26093. "description": "客户端流水号",
  26094. "type": "string"
  26095. },
  26096. "clienttype": {
  26097. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26098. "type": "integer"
  26099. },
  26100. "closeexchagechargevalue": {
  26101. "description": "平仓交易所手续费设置值",
  26102. "type": "number"
  26103. },
  26104. "closefeealgorithm": {
  26105. "description": "平仓手续费收取方式 1:比率 2:固定",
  26106. "type": "integer"
  26107. },
  26108. "closefreezecharge": {
  26109. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26110. "type": "number"
  26111. },
  26112. "closememberchargevalue": {
  26113. "description": "平仓会员手续费设置值",
  26114. "type": "number"
  26115. },
  26116. "closeqty": {
  26117. "description": "平仓数量(先建后平操作 需要记录)",
  26118. "type": "number"
  26119. },
  26120. "closetradeqty": {
  26121. "description": "平仓成交数量(先建后平操作,需要记录)",
  26122. "type": "number"
  26123. },
  26124. "closeunfreezecharge": {
  26125. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26126. "type": "number"
  26127. },
  26128. "decimalplace": {
  26129. "description": "商品报价小数位",
  26130. "type": "integer"
  26131. },
  26132. "delistingtype": {
  26133. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26134. "type": "integer"
  26135. },
  26136. "enumdicname": {
  26137. "description": "单位名称",
  26138. "type": "string"
  26139. },
  26140. "freezecharge": {
  26141. "description": "冻结手续费",
  26142. "type": "number"
  26143. },
  26144. "freezemargin": {
  26145. "description": "冻结保证金(冻结交易金额)",
  26146. "type": "number"
  26147. },
  26148. "gcaccountid": {
  26149. "description": "账户ID[合约币种]",
  26150. "type": "integer"
  26151. },
  26152. "goodscode": {
  26153. "description": "商品代码",
  26154. "type": "string"
  26155. },
  26156. "goodsid": {
  26157. "description": "商品ID",
  26158. "type": "integer"
  26159. },
  26160. "goodsname": {
  26161. "description": "商品名称",
  26162. "type": "string"
  26163. },
  26164. "goodunitid": {
  26165. "description": "商品单位id",
  26166. "type": "integer"
  26167. },
  26168. "histradedate": {
  26169. "description": "历史交易日",
  26170. "type": "string"
  26171. },
  26172. "isconfirmexercise": {
  26173. "description": "是否确认行权- 0:否 1:是",
  26174. "type": "integer"
  26175. },
  26176. "ispreexercise": {
  26177. "description": "是否预申报- 0:否 1:是",
  26178. "type": "integer"
  26179. },
  26180. "isvaliddata": {
  26181. "description": "是否有效 - 0:无效 1:有效",
  26182. "type": "integer"
  26183. },
  26184. "listingselecttype": {
  26185. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26186. "type": "integer"
  26187. },
  26188. "marginalgorithm": {
  26189. "description": "保证金收取方式 1:比率 2:固定",
  26190. "type": "integer"
  26191. },
  26192. "marginvalue": {
  26193. "description": "即市保证金设置值",
  26194. "type": "number"
  26195. },
  26196. "marketid": {
  26197. "description": "市场ID",
  26198. "type": "integer"
  26199. },
  26200. "marketmaxsub": {
  26201. "description": "市价最大偏移范围",
  26202. "type": "number"
  26203. },
  26204. "marketname": {
  26205. "description": "市场名称",
  26206. "type": "string"
  26207. },
  26208. "memberuserid": {
  26209. "description": "所属会员UserID",
  26210. "type": "integer"
  26211. },
  26212. "openexchagechargevalue": {
  26213. "description": "建仓交易所手续费设置值",
  26214. "type": "number"
  26215. },
  26216. "openfeealgorithm": {
  26217. "description": "建仓手续费收取方式 1:比率 2:固定",
  26218. "type": "integer"
  26219. },
  26220. "openfreezecharge": {
  26221. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26222. "type": "number"
  26223. },
  26224. "openmemberchargevalue": {
  26225. "description": "建仓会员手续费设置值",
  26226. "type": "number"
  26227. },
  26228. "openqty": {
  26229. "description": "开仓数量(先建后平操作,需要记录)",
  26230. "type": "number"
  26231. },
  26232. "opentradeqty": {
  26233. "description": "开仓成交数量(先建后平操作,需要记录)",
  26234. "type": "number"
  26235. },
  26236. "openunfreezecharge": {
  26237. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26238. "type": "number"
  26239. },
  26240. "operatetype": {
  26241. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26242. "type": "integer"
  26243. },
  26244. "operatorid": {
  26245. "description": "登录账号(LoginID)",
  26246. "type": "integer"
  26247. },
  26248. "optiontype": {
  26249. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26250. "type": "integer"
  26251. },
  26252. "orderid": {
  26253. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26254. "type": "string"
  26255. },
  26256. "orderprice": {
  26257. "description": "委托价格",
  26258. "type": "number"
  26259. },
  26260. "orderqty": {
  26261. "description": "委托数量",
  26262. "type": "number"
  26263. },
  26264. "ordersrc": {
  26265. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26266. "type": "integer"
  26267. },
  26268. "orderstatus": {
  26269. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26270. "type": "integer"
  26271. },
  26272. "ordertime": {
  26273. "description": "委托时间",
  26274. "type": "string"
  26275. },
  26276. "preexerciseprice": {
  26277. "description": "预申报价格",
  26278. "type": "number"
  26279. },
  26280. "premium": {
  26281. "description": "权利金",
  26282. "type": "number"
  26283. },
  26284. "preorderid": {
  26285. "description": "关联预埋单号(止盈止损单时填写)",
  26286. "type": "string"
  26287. },
  26288. "pricemode": {
  26289. "description": "取价方式 - 1:市价 2: 限价",
  26290. "type": "integer"
  26291. },
  26292. "qtydecimalplace": {
  26293. "description": "成交量小数位",
  26294. "type": "integer"
  26295. },
  26296. "quoteid": {
  26297. "description": "报价单ID",
  26298. "type": "integer"
  26299. },
  26300. "relatedid": {
  26301. "description": "关联单号(交割单)",
  26302. "type": "string"
  26303. },
  26304. "retcode": {
  26305. "description": "错误代码",
  26306. "type": "integer"
  26307. },
  26308. "sessionid": {
  26309. "description": "会话ID",
  26310. "type": "integer"
  26311. },
  26312. "tradedate": {
  26313. "description": "交易日(yyyyMMdd)",
  26314. "type": "string"
  26315. },
  26316. "trademode": {
  26317. "description": "交易模式",
  26318. "type": "integer"
  26319. },
  26320. "tradeproperty": {
  26321. "description": "交易属性",
  26322. "type": "integer"
  26323. },
  26324. "tradeqty": {
  26325. "description": "成交数量",
  26326. "type": "number"
  26327. },
  26328. "unfreezecharge": {
  26329. "description": "解冻手续费",
  26330. "type": "number"
  26331. },
  26332. "unfreezemargin": {
  26333. "description": "解冻保证金",
  26334. "type": "number"
  26335. },
  26336. "updatetime": {
  26337. "description": "更新时间",
  26338. "type": "string"
  26339. },
  26340. "uuid": {
  26341. "description": "发起端唯一id",
  26342. "type": "string"
  26343. },
  26344. "validtime": {
  26345. "description": "有效期限",
  26346. "type": "string"
  26347. },
  26348. "validtype": {
  26349. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26350. "type": "integer"
  26351. },
  26352. "volumetype": {
  26353. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26354. "type": "integer"
  26355. }
  26356. }
  26357. },
  26358. "order.QueryTradeDetailRsp": {
  26359. "type": "object",
  26360. "required": [
  26361. "accountid",
  26362. "buyorsell",
  26363. "goodsid",
  26364. "marketid",
  26365. "memberuserid",
  26366. "orderid",
  26367. "tradeamount",
  26368. "tradedate",
  26369. "tradeid",
  26370. "tradeprice",
  26371. "tradeqty",
  26372. "tradetime"
  26373. ],
  26374. "properties": {
  26375. "accountid": {
  26376. "description": "账户ID[报价币种]",
  26377. "type": "integer"
  26378. },
  26379. "buildtype": {
  26380. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  26381. "type": "integer"
  26382. },
  26383. "buyorsell": {
  26384. "description": "方向 - 0:买 1:卖",
  26385. "type": "integer"
  26386. },
  26387. "charge": {
  26388. "description": "手续费",
  26389. "type": "number"
  26390. },
  26391. "closecharge": {
  26392. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26393. "type": "number"
  26394. },
  26395. "closeexchagechargevalue": {
  26396. "description": "平仓交易所手续费设置值",
  26397. "type": "number"
  26398. },
  26399. "closefeealgorithm": {
  26400. "description": "平仓手续费收取方式 1:比率 2:固定",
  26401. "type": "integer"
  26402. },
  26403. "closememberchargevalue": {
  26404. "description": "平仓会员手续费设置值",
  26405. "type": "number"
  26406. },
  26407. "closepl": {
  26408. "description": "平仓盈亏",
  26409. "type": "number"
  26410. },
  26411. "closepl2": {
  26412. "description": "平仓盈亏[逐笔]",
  26413. "type": "number"
  26414. },
  26415. "closeqty": {
  26416. "description": "平仓数量(先建后平操作 需要记录)",
  26417. "type": "number"
  26418. },
  26419. "creditamount": {
  26420. "description": "授信金额",
  26421. "type": "number"
  26422. },
  26423. "decimalplace": {
  26424. "description": "商品报价小数位",
  26425. "type": "integer"
  26426. },
  26427. "enumdicname": {
  26428. "description": "单位名称",
  26429. "type": "string"
  26430. },
  26431. "gcaccountid": {
  26432. "description": "账户ID[合约币种]",
  26433. "type": "integer"
  26434. },
  26435. "goodscode": {
  26436. "description": "商品代码",
  26437. "type": "string"
  26438. },
  26439. "goodsid": {
  26440. "description": "商品ID",
  26441. "type": "integer"
  26442. },
  26443. "goodsname": {
  26444. "description": "商品名称",
  26445. "type": "string"
  26446. },
  26447. "goodunitid": {
  26448. "description": "商品单位id",
  26449. "type": "integer"
  26450. },
  26451. "intclosepl": {
  26452. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  26453. "type": "integer"
  26454. },
  26455. "isconfirmexercise": {
  26456. "description": "是否确认行权- 0:否 1:是",
  26457. "type": "integer"
  26458. },
  26459. "ismain": {
  26460. "description": "是否主单 - 0:不是 1:是",
  26461. "type": "integer"
  26462. },
  26463. "ispreexercise": {
  26464. "description": "是否预申报- 0:否 1:是",
  26465. "type": "integer"
  26466. },
  26467. "isreckoned": {
  26468. "description": "是否结算 - 0:未结算 1:已结算",
  26469. "type": "integer"
  26470. },
  26471. "listingselecttype": {
  26472. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26473. "type": "integer"
  26474. },
  26475. "marketid": {
  26476. "description": "市场ID",
  26477. "type": "integer"
  26478. },
  26479. "marketname": {
  26480. "description": "市场名称",
  26481. "type": "string"
  26482. },
  26483. "matchaccountid": {
  26484. "description": "对手账号id",
  26485. "type": "integer"
  26486. },
  26487. "memberuserid": {
  26488. "description": "会员id 个人投资者 需要填写",
  26489. "type": "integer"
  26490. },
  26491. "opencharge": {
  26492. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  26493. "type": "number"
  26494. },
  26495. "openexchagechargevalue": {
  26496. "description": "建仓交易所手续费设置值",
  26497. "type": "number"
  26498. },
  26499. "openfeealgorithm": {
  26500. "description": "建仓手续费收取方式 1:比率 2:固定",
  26501. "type": "integer"
  26502. },
  26503. "openmemberchargevalue": {
  26504. "description": "建仓会员手续费设置值",
  26505. "type": "number"
  26506. },
  26507. "openqty": {
  26508. "description": "开仓数量(先建后平操作 需要记录)",
  26509. "type": "number"
  26510. },
  26511. "optiontype": {
  26512. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  26513. "type": "integer"
  26514. },
  26515. "orderid": {
  26516. "description": "委托单号",
  26517. "type": "string"
  26518. },
  26519. "performanceplanid": {
  26520. "description": "履约计划ID[期权]",
  26521. "type": "integer"
  26522. },
  26523. "performancestatus": {
  26524. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  26525. "type": "integer"
  26526. },
  26527. "preexerciseprice": {
  26528. "description": "预申报价格",
  26529. "type": "number"
  26530. },
  26531. "premium": {
  26532. "description": "权利金 - [持仓单的权利金]",
  26533. "type": "number"
  26534. },
  26535. "qtydecimalplace": {
  26536. "description": "商品报价小数位",
  26537. "type": "integer"
  26538. },
  26539. "relatedouttradeid": {
  26540. "description": "关联外部成交单ID",
  26541. "type": "integer"
  26542. },
  26543. "status": {
  26544. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  26545. "type": "integer"
  26546. },
  26547. "tradeamount": {
  26548. "description": "成交金额[账户币种,用于所有权]",
  26549. "type": "number"
  26550. },
  26551. "tradedate": {
  26552. "description": "交易日(yyyyMMdd)",
  26553. "type": "string"
  26554. },
  26555. "tradeid": {
  26556. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26557. "type": "string"
  26558. },
  26559. "trademode": {
  26560. "description": "交易模式",
  26561. "type": "integer"
  26562. },
  26563. "tradeprice": {
  26564. "description": "成交价格",
  26565. "type": "number"
  26566. },
  26567. "tradeproperty": {
  26568. "description": "交易属性",
  26569. "type": "integer"
  26570. },
  26571. "tradeqty": {
  26572. "description": "成交数量",
  26573. "type": "number"
  26574. },
  26575. "tradetime": {
  26576. "description": "成交时间",
  26577. "type": "string"
  26578. },
  26579. "tradetype": {
  26580. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  26581. "type": "integer"
  26582. }
  26583. }
  26584. },
  26585. "order.QueryTradeOrderDetailRsp": {
  26586. "type": "object",
  26587. "required": [
  26588. "accountid",
  26589. "buildtype",
  26590. "buyorsell",
  26591. "goodsid",
  26592. "marketid",
  26593. "operatetype",
  26594. "orderqty",
  26595. "ordertime",
  26596. "pricemode",
  26597. "tradedate",
  26598. "validtype"
  26599. ],
  26600. "properties": {
  26601. "accountid": {
  26602. "description": "账户ID[报价币种]",
  26603. "type": "integer"
  26604. },
  26605. "buildtype": {
  26606. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  26607. "type": "integer"
  26608. },
  26609. "buyorsell": {
  26610. "description": "买卖 - 0:买 1:卖",
  26611. "type": "integer"
  26612. },
  26613. "cancelorderid": {
  26614. "description": "撤单单号(撤单时填写)",
  26615. "type": "string"
  26616. },
  26617. "cancelqty": {
  26618. "description": "撤单数量",
  26619. "type": "number"
  26620. },
  26621. "clienttype": {
  26622. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  26623. "type": "integer"
  26624. },
  26625. "closefreezecharge": {
  26626. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  26627. "type": "number"
  26628. },
  26629. "closeqty": {
  26630. "description": "平仓数量(先建后平操作 需要记录)",
  26631. "type": "number"
  26632. },
  26633. "closetradeqty": {
  26634. "description": "平仓成交数量(先建后平操作,需要记录)",
  26635. "type": "number"
  26636. },
  26637. "closeunfreezecharge": {
  26638. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  26639. "type": "number"
  26640. },
  26641. "decimalplace": {
  26642. "description": "商品报价小数位",
  26643. "type": "integer"
  26644. },
  26645. "delistingtype": {
  26646. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  26647. "type": "integer"
  26648. },
  26649. "enableqty": {
  26650. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  26651. "type": "number"
  26652. },
  26653. "enumdicname": {
  26654. "description": "单位名称",
  26655. "type": "string"
  26656. },
  26657. "freezecharge": {
  26658. "description": "冻结手续费",
  26659. "type": "number"
  26660. },
  26661. "freezemargin": {
  26662. "description": "冻结保证金(冻结交易金额)",
  26663. "type": "number"
  26664. },
  26665. "goodscode": {
  26666. "description": "商品代码",
  26667. "type": "string"
  26668. },
  26669. "goodsid": {
  26670. "description": "商品ID",
  26671. "type": "integer"
  26672. },
  26673. "goodsname": {
  26674. "description": "商品名称",
  26675. "type": "string"
  26676. },
  26677. "goodunitid": {
  26678. "description": "商品单位id",
  26679. "type": "integer"
  26680. },
  26681. "listingselecttype": {
  26682. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  26683. "type": "integer"
  26684. },
  26685. "marketid": {
  26686. "description": "市场ID",
  26687. "type": "integer"
  26688. },
  26689. "marketname": {
  26690. "description": "市场名称",
  26691. "type": "string"
  26692. },
  26693. "openfreezecharge": {
  26694. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  26695. "type": "number"
  26696. },
  26697. "openqty": {
  26698. "description": "开仓数量(先建后平操作,需要记录)",
  26699. "type": "number"
  26700. },
  26701. "opentradeqty": {
  26702. "description": "开仓成交数量(先建后平操作,需要记录)",
  26703. "type": "number"
  26704. },
  26705. "openunfreezecharge": {
  26706. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  26707. "type": "number"
  26708. },
  26709. "operatetype": {
  26710. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  26711. "type": "integer"
  26712. },
  26713. "operatorid": {
  26714. "description": "登录账号(LoginID)",
  26715. "type": "integer"
  26716. },
  26717. "orderid": {
  26718. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26719. "type": "string"
  26720. },
  26721. "orderprice": {
  26722. "description": "委托价格",
  26723. "type": "number"
  26724. },
  26725. "orderqty": {
  26726. "description": "委托数量",
  26727. "type": "number"
  26728. },
  26729. "ordersrc": {
  26730. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  26731. "type": "integer"
  26732. },
  26733. "orderstatus": {
  26734. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26735. "type": "integer"
  26736. },
  26737. "ordertime": {
  26738. "description": "委托时间",
  26739. "type": "string"
  26740. },
  26741. "preorderid": {
  26742. "description": "关联预埋单号(止盈止损单时填写)",
  26743. "type": "string"
  26744. },
  26745. "pricemode": {
  26746. "description": "取价方式 - 1:市价 2: 限价",
  26747. "type": "integer"
  26748. },
  26749. "qtydecimalplace": {
  26750. "description": "商品报价小数位",
  26751. "type": "integer"
  26752. },
  26753. "relatedid": {
  26754. "description": "关联单号(交割单)",
  26755. "type": "string"
  26756. },
  26757. "tradedate": {
  26758. "description": "交易日(yyyyMMdd)",
  26759. "type": "string"
  26760. },
  26761. "trademode": {
  26762. "description": "交易模式",
  26763. "type": "integer"
  26764. },
  26765. "tradeqty": {
  26766. "description": "成交数量",
  26767. "type": "number"
  26768. },
  26769. "unfreezecharge": {
  26770. "description": "解冻手续费",
  26771. "type": "number"
  26772. },
  26773. "unfreezemargin": {
  26774. "description": "解冻保证金",
  26775. "type": "number"
  26776. },
  26777. "validtime": {
  26778. "description": "有效期限",
  26779. "type": "string"
  26780. },
  26781. "validtype": {
  26782. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  26783. "type": "integer"
  26784. },
  26785. "volumetype": {
  26786. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  26787. "type": "integer"
  26788. }
  26789. }
  26790. },
  26791. "order.QueryTradePositionRsp": {
  26792. "type": "object",
  26793. "required": [
  26794. "goodsid"
  26795. ],
  26796. "properties": {
  26797. "accountid": {
  26798. "description": "资金账户",
  26799. "type": "integer"
  26800. },
  26801. "agreeunit": {
  26802. "description": "合约单位",
  26803. "type": "number"
  26804. },
  26805. "averageprice": {
  26806. "description": "持仓均价",
  26807. "type": "number"
  26808. },
  26809. "buyorsell": {
  26810. "description": "方向 - 0:买 1:卖",
  26811. "type": "integer"
  26812. },
  26813. "closetotalqty": {
  26814. "description": "平仓总数量",
  26815. "type": "number"
  26816. },
  26817. "curholderamount": {
  26818. "description": "当前持仓总金额[商品币种]",
  26819. "type": "number"
  26820. },
  26821. "curpositionqty": {
  26822. "description": "当前持仓总数量",
  26823. "type": "number"
  26824. },
  26825. "currencyid": {
  26826. "description": "报价货币ID",
  26827. "type": "integer"
  26828. },
  26829. "curtdposition": {
  26830. "description": "期末今日头寸",
  26831. "type": "number"
  26832. },
  26833. "decimalplace": {
  26834. "description": "报价小数位",
  26835. "type": "integer"
  26836. },
  26837. "enableqty": {
  26838. "description": "可用量",
  26839. "type": "number"
  26840. },
  26841. "fretdposition": {
  26842. "description": "冻结今日头寸",
  26843. "type": "number"
  26844. },
  26845. "frozenqty": {
  26846. "description": "持仓冻结数量",
  26847. "type": "number"
  26848. },
  26849. "goodscode": {
  26850. "description": "商品代码",
  26851. "type": "string"
  26852. },
  26853. "goodsid": {
  26854. "description": "商品Id",
  26855. "type": "integer"
  26856. },
  26857. "goodsname": {
  26858. "description": "商品名称",
  26859. "type": "string"
  26860. },
  26861. "goodunit": {
  26862. "description": "报价单位",
  26863. "type": "string"
  26864. },
  26865. "goodunitid": {
  26866. "description": "报价单位ID",
  26867. "type": "integer"
  26868. },
  26869. "holderamount": {
  26870. "description": "期初持仓总金额[商品币种]",
  26871. "type": "number"
  26872. },
  26873. "marketid": {
  26874. "description": "所属市场ID",
  26875. "type": "integer"
  26876. },
  26877. "openreqqty": {
  26878. "description": "开仓申请数量(用于比较最大持仓数量)",
  26879. "type": "number"
  26880. },
  26881. "opentotalqty": {
  26882. "description": "开仓总数量",
  26883. "type": "number"
  26884. },
  26885. "otherfrozenqty": {
  26886. "description": "持仓其他冻结数量(交割冻结)",
  26887. "type": "number"
  26888. },
  26889. "positionqty": {
  26890. "description": "期初持仓数量",
  26891. "type": "number"
  26892. },
  26893. "qtydecimalplace": {
  26894. "description": "成交量小数位",
  26895. "type": "integer"
  26896. },
  26897. "tnqty": {
  26898. "description": "T+N冻结总量",
  26899. "type": "number"
  26900. },
  26901. "tnusedqty": {
  26902. "description": "T+N使用量(可以使用T+N的冻结数量)",
  26903. "type": "number"
  26904. },
  26905. "trademode": {
  26906. "description": "交易模式",
  26907. "type": "integer"
  26908. },
  26909. "usedmargin": {
  26910. "description": "占用保证金[商品币种]",
  26911. "type": "number"
  26912. }
  26913. }
  26914. },
  26915. "quote.HistoryData": {
  26916. "type": "object",
  26917. "properties": {
  26918. "c": {
  26919. "description": "收盘价",
  26920. "type": "number"
  26921. },
  26922. "f": {
  26923. "description": "是否补充数据",
  26924. "type": "boolean"
  26925. },
  26926. "h": {
  26927. "description": "最高价",
  26928. "type": "number"
  26929. },
  26930. "hv": {
  26931. "description": "持仓量",
  26932. "type": "integer"
  26933. },
  26934. "l": {
  26935. "description": "最低价",
  26936. "type": "number"
  26937. },
  26938. "o": {
  26939. "description": "开盘价",
  26940. "type": "number"
  26941. },
  26942. "s": {
  26943. "description": "结算价,日线周期(包括)以上才有",
  26944. "type": "number"
  26945. },
  26946. "ts": {
  26947. "description": "时间",
  26948. "type": "string"
  26949. },
  26950. "tt": {
  26951. "description": "总金额",
  26952. "type": "number"
  26953. },
  26954. "tv": {
  26955. "description": "总量",
  26956. "type": "integer"
  26957. }
  26958. }
  26959. },
  26960. "quote.HistoryTikData": {
  26961. "type": "object",
  26962. "properties": {
  26963. "AV": {
  26964. "description": "卖量",
  26965. "type": "integer"
  26966. },
  26967. "Ask": {
  26968. "description": "卖价",
  26969. "type": "number"
  26970. },
  26971. "BV": {
  26972. "description": "买量",
  26973. "type": "integer"
  26974. },
  26975. "Bid": {
  26976. "description": "买价",
  26977. "type": "number"
  26978. },
  26979. "HI": {
  26980. "description": "单笔持仓",
  26981. "type": "integer"
  26982. },
  26983. "HV": {
  26984. "description": "持仓量",
  26985. "type": "integer"
  26986. },
  26987. "PE": {
  26988. "description": "现价",
  26989. "type": "number"
  26990. },
  26991. "TDR": {
  26992. "description": "交易方向,0:买 1:卖",
  26993. "type": "integer"
  26994. },
  26995. "TK": {
  26996. "description": "交易类型",
  26997. "type": "integer"
  26998. },
  26999. "TS": {
  27000. "description": "行情时间文本",
  27001. "type": "string"
  27002. },
  27003. "TT": {
  27004. "description": "现金额",
  27005. "type": "number"
  27006. },
  27007. "Vol": {
  27008. "description": "现量",
  27009. "type": "integer"
  27010. }
  27011. }
  27012. },
  27013. "quote.QueryQuoteDayRsp": {
  27014. "type": "object",
  27015. "properties": {
  27016. "ask": {
  27017. "description": "卖1",
  27018. "type": "number"
  27019. },
  27020. "ask10": {
  27021. "description": "卖10",
  27022. "type": "number"
  27023. },
  27024. "ask2": {
  27025. "description": "卖2",
  27026. "type": "number"
  27027. },
  27028. "ask3": {
  27029. "description": "卖3",
  27030. "type": "number"
  27031. },
  27032. "ask4": {
  27033. "description": "卖4",
  27034. "type": "number"
  27035. },
  27036. "ask5": {
  27037. "description": "卖5",
  27038. "type": "number"
  27039. },
  27040. "ask6": {
  27041. "description": "卖6",
  27042. "type": "number"
  27043. },
  27044. "ask7": {
  27045. "description": "卖7",
  27046. "type": "number"
  27047. },
  27048. "ask8": {
  27049. "description": "卖8",
  27050. "type": "number"
  27051. },
  27052. "ask9": {
  27053. "description": "卖9",
  27054. "type": "number"
  27055. },
  27056. "askorderid": {
  27057. "description": "卖单号1",
  27058. "type": "integer"
  27059. },
  27060. "askorderid2": {
  27061. "description": "卖单号2",
  27062. "type": "integer"
  27063. },
  27064. "askorderid3": {
  27065. "description": "卖单号3",
  27066. "type": "integer"
  27067. },
  27068. "askorderid4": {
  27069. "description": "卖单号4",
  27070. "type": "integer"
  27071. },
  27072. "askorderid5": {
  27073. "description": "卖单号5",
  27074. "type": "integer"
  27075. },
  27076. "askordervolume": {
  27077. "description": "卖单量1",
  27078. "type": "integer"
  27079. },
  27080. "askordervolume10": {
  27081. "description": "卖单量10",
  27082. "type": "integer"
  27083. },
  27084. "askordervolume2": {
  27085. "description": "卖单量2",
  27086. "type": "integer"
  27087. },
  27088. "askordervolume3": {
  27089. "description": "卖单量3",
  27090. "type": "integer"
  27091. },
  27092. "askordervolume4": {
  27093. "description": "卖单量4",
  27094. "type": "integer"
  27095. },
  27096. "askordervolume5": {
  27097. "description": "卖单量5",
  27098. "type": "integer"
  27099. },
  27100. "askordervolume6": {
  27101. "description": "卖单量6",
  27102. "type": "integer"
  27103. },
  27104. "askordervolume7": {
  27105. "description": "卖单量7",
  27106. "type": "integer"
  27107. },
  27108. "askordervolume8": {
  27109. "description": "卖单量8",
  27110. "type": "integer"
  27111. },
  27112. "askordervolume9": {
  27113. "description": "卖单量9",
  27114. "type": "integer"
  27115. },
  27116. "askqueueinfo": {
  27117. "description": "大利市卖港股用",
  27118. "type": "string"
  27119. },
  27120. "askvolume": {
  27121. "description": "卖量1",
  27122. "type": "integer"
  27123. },
  27124. "askvolume10": {
  27125. "description": "卖量10",
  27126. "type": "integer"
  27127. },
  27128. "askvolume2": {
  27129. "description": "卖量2",
  27130. "type": "integer"
  27131. },
  27132. "askvolume3": {
  27133. "description": "卖量3",
  27134. "type": "integer"
  27135. },
  27136. "askvolume4": {
  27137. "description": "卖量4",
  27138. "type": "integer"
  27139. },
  27140. "askvolume5": {
  27141. "description": "卖量5",
  27142. "type": "integer"
  27143. },
  27144. "askvolume6": {
  27145. "description": "卖量6",
  27146. "type": "integer"
  27147. },
  27148. "askvolume7": {
  27149. "description": "卖量7",
  27150. "type": "integer"
  27151. },
  27152. "askvolume8": {
  27153. "description": "卖量8",
  27154. "type": "integer"
  27155. },
  27156. "askvolume9": {
  27157. "description": "卖量9",
  27158. "type": "integer"
  27159. },
  27160. "averageprice": {
  27161. "description": "均价",
  27162. "type": "number"
  27163. },
  27164. "bid": {
  27165. "description": "买1",
  27166. "type": "number"
  27167. },
  27168. "bid10": {
  27169. "description": "买10",
  27170. "type": "number"
  27171. },
  27172. "bid2": {
  27173. "description": "买2",
  27174. "type": "number"
  27175. },
  27176. "bid3": {
  27177. "description": "买3",
  27178. "type": "number"
  27179. },
  27180. "bid4": {
  27181. "description": "买4",
  27182. "type": "number"
  27183. },
  27184. "bid5": {
  27185. "description": "买5",
  27186. "type": "number"
  27187. },
  27188. "bid6": {
  27189. "description": "买6",
  27190. "type": "number"
  27191. },
  27192. "bid7": {
  27193. "description": "买7",
  27194. "type": "number"
  27195. },
  27196. "bid8": {
  27197. "description": "买8",
  27198. "type": "number"
  27199. },
  27200. "bid9": {
  27201. "description": "买9",
  27202. "type": "number"
  27203. },
  27204. "bidorderid": {
  27205. "description": "买单号1",
  27206. "type": "integer"
  27207. },
  27208. "bidorderid2": {
  27209. "description": "买单号2",
  27210. "type": "integer"
  27211. },
  27212. "bidorderid3": {
  27213. "description": "买单号3",
  27214. "type": "integer"
  27215. },
  27216. "bidorderid4": {
  27217. "description": "买单号4",
  27218. "type": "integer"
  27219. },
  27220. "bidorderid5": {
  27221. "description": "买单号5",
  27222. "type": "integer"
  27223. },
  27224. "bidordervolume": {
  27225. "description": "买单量1",
  27226. "type": "integer"
  27227. },
  27228. "bidordervolume10": {
  27229. "description": "买单量10",
  27230. "type": "integer"
  27231. },
  27232. "bidordervolume2": {
  27233. "description": "买单量2",
  27234. "type": "integer"
  27235. },
  27236. "bidordervolume3": {
  27237. "description": "买单量3",
  27238. "type": "integer"
  27239. },
  27240. "bidordervolume4": {
  27241. "description": "买单量4",
  27242. "type": "integer"
  27243. },
  27244. "bidordervolume5": {
  27245. "description": "买单量5",
  27246. "type": "integer"
  27247. },
  27248. "bidordervolume6": {
  27249. "description": "买单量6",
  27250. "type": "integer"
  27251. },
  27252. "bidordervolume7": {
  27253. "description": "买单量7",
  27254. "type": "integer"
  27255. },
  27256. "bidordervolume8": {
  27257. "description": "买单量8",
  27258. "type": "integer"
  27259. },
  27260. "bidordervolume9": {
  27261. "description": "买单量9",
  27262. "type": "integer"
  27263. },
  27264. "bidqueueinfo": {
  27265. "description": "大利市买港股用",
  27266. "type": "string"
  27267. },
  27268. "bidvolume": {
  27269. "description": "买量1",
  27270. "type": "integer"
  27271. },
  27272. "bidvolume10": {
  27273. "description": "买量10",
  27274. "type": "integer"
  27275. },
  27276. "bidvolume2": {
  27277. "description": "买量2",
  27278. "type": "integer"
  27279. },
  27280. "bidvolume3": {
  27281. "description": "买量3",
  27282. "type": "integer"
  27283. },
  27284. "bidvolume4": {
  27285. "description": "买量4",
  27286. "type": "integer"
  27287. },
  27288. "bidvolume5": {
  27289. "description": "买量5",
  27290. "type": "integer"
  27291. },
  27292. "bidvolume6": {
  27293. "description": "买量6",
  27294. "type": "integer"
  27295. },
  27296. "bidvolume7": {
  27297. "description": "买量7",
  27298. "type": "integer"
  27299. },
  27300. "bidvolume8": {
  27301. "description": "买量8",
  27302. "type": "integer"
  27303. },
  27304. "bidvolume9": {
  27305. "description": "买量9",
  27306. "type": "integer"
  27307. },
  27308. "calloptionpremiums": {
  27309. "description": "认购期权1",
  27310. "type": "integer"
  27311. },
  27312. "calloptionpremiums2": {
  27313. "description": "认购期权2",
  27314. "type": "integer"
  27315. },
  27316. "calloptionpremiums3": {
  27317. "description": "认购期权3",
  27318. "type": "integer"
  27319. },
  27320. "calloptionpremiums4": {
  27321. "description": "认购期权4",
  27322. "type": "integer"
  27323. },
  27324. "calloptionpremiums5": {
  27325. "description": "认购期权5",
  27326. "type": "integer"
  27327. },
  27328. "cleartime": {
  27329. "description": "清盘时间",
  27330. "type": "integer"
  27331. },
  27332. "exchangecode": {
  27333. "description": "交易所代码",
  27334. "type": "integer"
  27335. },
  27336. "exchangedate": {
  27337. "description": "交易日",
  27338. "type": "integer"
  27339. },
  27340. "goodscode": {
  27341. "description": "商品代码",
  27342. "type": "string"
  27343. },
  27344. "grepmarketprice": {
  27345. "description": "暗盘价 港股专用",
  27346. "type": "number"
  27347. },
  27348. "highest": {
  27349. "description": "最高价",
  27350. "type": "number"
  27351. },
  27352. "holdincrement": {
  27353. "description": "单笔持仓",
  27354. "type": "integer"
  27355. },
  27356. "holdvolume": {
  27357. "description": "持仓",
  27358. "type": "integer"
  27359. },
  27360. "iep": {
  27361. "description": "平衡价 港股专用",
  27362. "type": "number"
  27363. },
  27364. "iev": {
  27365. "description": "平衡量 港股专用",
  27366. "type": "number"
  27367. },
  27368. "inventory": {
  27369. "description": "库存",
  27370. "type": "integer"
  27371. },
  27372. "iscleared": {
  27373. "description": "是否清盘标志",
  27374. "type": "integer"
  27375. },
  27376. "issettled": {
  27377. "description": "是否结算标志",
  27378. "type": "integer"
  27379. },
  27380. "last": {
  27381. "description": "最新价",
  27382. "type": "number"
  27383. },
  27384. "lastlot": {
  27385. "description": "最新成交手数",
  27386. "type": "integer"
  27387. },
  27388. "lasttime": {
  27389. "description": "行情时间(只有现价变化行情时间才变化)",
  27390. "type": "string"
  27391. },
  27392. "lastturnover": {
  27393. "description": "最新成交金额",
  27394. "type": "number"
  27395. },
  27396. "lastvolume": {
  27397. "description": "最新成交量",
  27398. "type": "integer"
  27399. },
  27400. "limitdown": {
  27401. "description": "跌停价",
  27402. "type": "number"
  27403. },
  27404. "limitup": {
  27405. "description": "涨停价",
  27406. "type": "number"
  27407. },
  27408. "lowest": {
  27409. "description": "最低价",
  27410. "type": "number"
  27411. },
  27412. "nontotalholdervolume": {
  27413. "description": "非交易持仓量",
  27414. "type": "integer"
  27415. },
  27416. "nontotallot": {
  27417. "description": "非交易总手数",
  27418. "type": "integer"
  27419. },
  27420. "nontotalturnover": {
  27421. "description": "非交易总金额",
  27422. "type": "integer"
  27423. },
  27424. "nontotalvolume": {
  27425. "description": "非交易总量",
  27426. "type": "integer"
  27427. },
  27428. "opened": {
  27429. "description": "开盘价",
  27430. "type": "number"
  27431. },
  27432. "opentime": {
  27433. "description": "开盘时间",
  27434. "type": "string"
  27435. },
  27436. "orderid": {
  27437. "description": "序号",
  27438. "type": "integer"
  27439. },
  27440. "preclose": {
  27441. "description": "昨收",
  27442. "type": "number"
  27443. },
  27444. "preholdvolume": {
  27445. "description": "昨持仓",
  27446. "type": "integer"
  27447. },
  27448. "presettle": {
  27449. "description": "昨结价",
  27450. "type": "number"
  27451. },
  27452. "publictradetype": {
  27453. "description": "公共交易标志类型 港股专用",
  27454. "type": "string"
  27455. },
  27456. "putoptionpremiums": {
  27457. "description": "认沽期权1",
  27458. "type": "integer"
  27459. },
  27460. "putoptionpremiums2": {
  27461. "description": "认沽期权2",
  27462. "type": "integer"
  27463. },
  27464. "putoptionpremiums3": {
  27465. "description": "认沽期权3",
  27466. "type": "integer"
  27467. },
  27468. "putoptionpremiums4": {
  27469. "description": "认沽期权4",
  27470. "type": "integer"
  27471. },
  27472. "putoptionpremiums5": {
  27473. "description": "认沽期权5",
  27474. "type": "integer"
  27475. },
  27476. "settle": {
  27477. "description": "结算价",
  27478. "type": "number"
  27479. },
  27480. "strikeprice": {
  27481. "description": "发行价",
  27482. "type": "number"
  27483. },
  27484. "totalaskvolume": {
  27485. "description": "内盘",
  27486. "type": "integer"
  27487. },
  27488. "totalbidvolume": {
  27489. "description": "外盘",
  27490. "type": "integer"
  27491. },
  27492. "totallot": {
  27493. "description": "总手数",
  27494. "type": "integer"
  27495. },
  27496. "totalturnover": {
  27497. "description": "总金额",
  27498. "type": "number"
  27499. },
  27500. "totalvolume": {
  27501. "description": "总量",
  27502. "type": "integer"
  27503. },
  27504. "utclasttime": {
  27505. "description": "utc的行情时间",
  27506. "type": "string"
  27507. }
  27508. }
  27509. },
  27510. "quote.QueryTSDataRsp": {
  27511. "type": "object",
  27512. "properties": {
  27513. "Count": {
  27514. "description": "交易日应有数据个数",
  27515. "type": "integer"
  27516. },
  27517. "decimalPlace": {
  27518. "description": "小数位",
  27519. "type": "integer"
  27520. },
  27521. "endTime": {
  27522. "description": "结束时间",
  27523. "type": "string"
  27524. },
  27525. "goodsCode": {
  27526. "description": "商品代码",
  27527. "type": "string"
  27528. },
  27529. "historyDatas": {
  27530. "description": "历史数据",
  27531. "type": "array",
  27532. "items": {
  27533. "$ref": "#/definitions/quote.HistoryData"
  27534. }
  27535. },
  27536. "outGoodsCode": {
  27537. "description": "外部商品代码",
  27538. "type": "string"
  27539. },
  27540. "preSettle": {
  27541. "description": "昨结价",
  27542. "type": "number"
  27543. },
  27544. "runSteps": {
  27545. "description": "交易日开休市计划",
  27546. "type": "array",
  27547. "items": {
  27548. "$ref": "#/definitions/quote.TSDataRunStep"
  27549. }
  27550. },
  27551. "startTime": {
  27552. "description": "开始时间",
  27553. "type": "string"
  27554. },
  27555. "tradeDate": {
  27556. "description": "交易日",
  27557. "type": "string"
  27558. }
  27559. }
  27560. },
  27561. "quote.TSDataRunStep": {
  27562. "type": "object",
  27563. "properties": {
  27564. "end": {
  27565. "description": "真实结束时间",
  27566. "type": "string"
  27567. },
  27568. "endflag": {
  27569. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  27570. "type": "integer"
  27571. },
  27572. "endtime": {
  27573. "description": "结束时间(HH:mm)",
  27574. "type": "string"
  27575. },
  27576. "endweekday": {
  27577. "description": "结束周几",
  27578. "type": "integer"
  27579. },
  27580. "groupid": {
  27581. "description": "分组ID",
  27582. "type": "integer"
  27583. },
  27584. "runstep": {
  27585. "description": "运行阶段 - 2:连续交易",
  27586. "type": "integer"
  27587. },
  27588. "sectionid": {
  27589. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  27590. "type": "integer"
  27591. },
  27592. "start": {
  27593. "description": "真实开始时间",
  27594. "type": "string"
  27595. },
  27596. "startflag": {
  27597. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  27598. "type": "integer"
  27599. },
  27600. "starttime": {
  27601. "description": "起始时间(HH:mm)",
  27602. "type": "string"
  27603. },
  27604. "startweekday": {
  27605. "description": "起始周几",
  27606. "type": "integer"
  27607. },
  27608. "tradeweekday": {
  27609. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  27610. "type": "integer"
  27611. }
  27612. }
  27613. },
  27614. "szdz.QueryConvertLogRsp": {
  27615. "type": "object",
  27616. "required": [
  27617. "logid"
  27618. ],
  27619. "properties": {
  27620. "accountid": {
  27621. "description": "资金账户ID",
  27622. "type": "integer"
  27623. },
  27624. "clientticket": {
  27625. "description": "客户端流水号",
  27626. "type": "string"
  27627. },
  27628. "converttype": {
  27629. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  27630. "type": "integer"
  27631. },
  27632. "createtime": {
  27633. "description": "记账时间",
  27634. "type": "string"
  27635. },
  27636. "daymaxvalue": {
  27637. "description": "配置当日最大转入限制",
  27638. "type": "number"
  27639. },
  27640. "daymaxvalue2": {
  27641. "description": "配置当日最大转入限制(转入)",
  27642. "type": "number"
  27643. },
  27644. "goodscode": {
  27645. "description": "商品代码",
  27646. "type": "string"
  27647. },
  27648. "goodsname": {
  27649. "description": "商品名称",
  27650. "type": "string"
  27651. },
  27652. "handlestatus": {
  27653. "description": "处理状态",
  27654. "type": "integer"
  27655. },
  27656. "innergoodsid": {
  27657. "description": "内部商品ID",
  27658. "type": "integer"
  27659. },
  27660. "inratio": {
  27661. "description": "配置转入比值",
  27662. "type": "integer"
  27663. },
  27664. "invalue": {
  27665. "description": "目标值",
  27666. "type": "number"
  27667. },
  27668. "logid": {
  27669. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27670. "type": "integer"
  27671. },
  27672. "mobile": {
  27673. "description": "手机号码(加密存储)",
  27674. "type": "string"
  27675. },
  27676. "outergoodscode": {
  27677. "description": "外部商品代码[JD\\PD]",
  27678. "type": "string"
  27679. },
  27680. "outratio": {
  27681. "description": "配置转出比值",
  27682. "type": "integer"
  27683. },
  27684. "outvalue": {
  27685. "description": "源值",
  27686. "type": "number"
  27687. },
  27688. "pddecimalplace": {
  27689. "description": "PD小数位",
  27690. "type": "integer"
  27691. },
  27692. "qty": {
  27693. "description": "数量",
  27694. "type": "string"
  27695. },
  27696. "remark": {
  27697. "description": "备注",
  27698. "type": "string"
  27699. },
  27700. "sessionid": {
  27701. "description": "会话ID",
  27702. "type": "integer"
  27703. },
  27704. "timemaxvalue": {
  27705. "description": "配置单次最大转入限制",
  27706. "type": "number"
  27707. },
  27708. "timemaxvalue2": {
  27709. "description": "配置单次最大转入限制(转入)",
  27710. "type": "number"
  27711. },
  27712. "timeminvalue": {
  27713. "description": "配置单次最小数量限制",
  27714. "type": "number"
  27715. },
  27716. "timeminvalue2": {
  27717. "description": "配置单次最小数量限制(转入)",
  27718. "type": "number"
  27719. },
  27720. "tradedate": {
  27721. "description": "交易日(yyyyMMdd)",
  27722. "type": "string"
  27723. },
  27724. "userid": {
  27725. "description": "用户ID",
  27726. "type": "integer"
  27727. }
  27728. }
  27729. },
  27730. "szdz.QueryGoodsPickupRsp": {
  27731. "type": "object",
  27732. "required": [
  27733. "takeorderid"
  27734. ],
  27735. "properties": {
  27736. "accountid": {
  27737. "description": "账户ID",
  27738. "type": "integer"
  27739. },
  27740. "address": {
  27741. "description": "提货人详细地址",
  27742. "type": "string"
  27743. },
  27744. "auditer": {
  27745. "description": "审核人",
  27746. "type": "integer"
  27747. },
  27748. "audittime": {
  27749. "description": "审核时间",
  27750. "type": "string"
  27751. },
  27752. "cardnum": {
  27753. "description": "提货人证件号码",
  27754. "type": "string"
  27755. },
  27756. "cardtypeid": {
  27757. "description": "提货人证件类型",
  27758. "type": "integer"
  27759. },
  27760. "checkremark": {
  27761. "description": "审核备注",
  27762. "type": "string"
  27763. },
  27764. "goodscode": {
  27765. "description": "商品代码",
  27766. "type": "string"
  27767. },
  27768. "goodsid": {
  27769. "description": "商品ID",
  27770. "type": "integer"
  27771. },
  27772. "goodsname": {
  27773. "description": "商品名称",
  27774. "type": "string"
  27775. },
  27776. "handlestatus": {
  27777. "description": "处理状态",
  27778. "type": "integer"
  27779. },
  27780. "marketid": {
  27781. "description": "市场ID",
  27782. "type": "integer"
  27783. },
  27784. "phonenum": {
  27785. "description": "提货人联系方式",
  27786. "type": "string"
  27787. },
  27788. "qty": {
  27789. "description": "提货数量",
  27790. "type": "number"
  27791. },
  27792. "recivername": {
  27793. "description": "提货人姓名",
  27794. "type": "string"
  27795. },
  27796. "reqtime": {
  27797. "description": "更新时间",
  27798. "type": "string"
  27799. },
  27800. "takemode": {
  27801. "description": "提货方式 - 2:自提 3:配送",
  27802. "type": "integer"
  27803. },
  27804. "takeorderid": {
  27805. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27806. "type": "string"
  27807. },
  27808. "takeorderstatus": {
  27809. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  27810. "type": "integer"
  27811. },
  27812. "takeremark": {
  27813. "description": "提货备注",
  27814. "type": "string"
  27815. },
  27816. "tradedate": {
  27817. "description": "交易日(yyyyMMdd)",
  27818. "type": "string"
  27819. },
  27820. "userid": {
  27821. "description": "用户ID",
  27822. "type": "integer"
  27823. }
  27824. }
  27825. },
  27826. "szdz.QueryRecieptOrderRsp": {
  27827. "type": "object",
  27828. "required": [
  27829. "ordertime"
  27830. ],
  27831. "properties": {
  27832. "accountName": {
  27833. "description": "所属账号名称(已脱敏)",
  27834. "type": "string"
  27835. },
  27836. "accountid": {
  27837. "description": "资金账号",
  27838. "type": "integer"
  27839. },
  27840. "buyorsell": {
  27841. "description": "方向 - 0:买 1:卖",
  27842. "type": "integer"
  27843. },
  27844. "enableqty": {
  27845. "description": "可摘数量",
  27846. "type": "integer"
  27847. },
  27848. "goodscode": {
  27849. "description": "商品代码",
  27850. "type": "string"
  27851. },
  27852. "goodsid": {
  27853. "description": "商品ID",
  27854. "type": "integer"
  27855. },
  27856. "goodsname": {
  27857. "description": "商品名称",
  27858. "type": "string"
  27859. },
  27860. "orderid": {
  27861. "description": "委托单号",
  27862. "type": "string"
  27863. },
  27864. "orderprice": {
  27865. "description": "委托价格",
  27866. "type": "number"
  27867. },
  27868. "ordertime": {
  27869. "description": "委托时间",
  27870. "type": "string"
  27871. },
  27872. "tradedate": {
  27873. "description": "交易日(yyyyMMdd)",
  27874. "type": "string"
  27875. }
  27876. }
  27877. },
  27878. "szdz.QuerySZDZTradePositionRsp": {
  27879. "type": "object",
  27880. "properties": {
  27881. "accountid": {
  27882. "description": "账号Id",
  27883. "type": "integer"
  27884. },
  27885. "agreeunit": {
  27886. "description": "合约单位",
  27887. "type": "number"
  27888. },
  27889. "averageprice": {
  27890. "description": "持仓均价",
  27891. "type": "number"
  27892. },
  27893. "buyorsell": {
  27894. "description": "方向 - 0:买 1:卖",
  27895. "type": "integer"
  27896. },
  27897. "closetotalqty": {
  27898. "description": "平仓总数量",
  27899. "type": "integer"
  27900. },
  27901. "curholderamount": {
  27902. "description": "当前持仓总金额",
  27903. "type": "number"
  27904. },
  27905. "curpositionqty": {
  27906. "description": "当前持仓总数量",
  27907. "type": "integer"
  27908. },
  27909. "currencyid": {
  27910. "description": "报价货币ID",
  27911. "type": "integer"
  27912. },
  27913. "curtdposition": {
  27914. "description": "期末今日头寸",
  27915. "type": "integer"
  27916. },
  27917. "decimalplace": {
  27918. "description": "报价小数位",
  27919. "type": "integer"
  27920. },
  27921. "enableqty": {
  27922. "description": "可用量",
  27923. "type": "integer"
  27924. },
  27925. "fretdposition": {
  27926. "description": "冻结今日头寸",
  27927. "type": "integer"
  27928. },
  27929. "frozenqty": {
  27930. "description": "持仓冻结数量",
  27931. "type": "integer"
  27932. },
  27933. "goodscode": {
  27934. "description": "商品代码(内部)",
  27935. "type": "string"
  27936. },
  27937. "goodsid": {
  27938. "description": "商品Id",
  27939. "type": "integer"
  27940. },
  27941. "goodsname": {
  27942. "description": "商品名称",
  27943. "type": "string"
  27944. },
  27945. "goodunit": {
  27946. "description": "报价单位",
  27947. "type": "string"
  27948. },
  27949. "goodunitid": {
  27950. "description": "报价单位ID",
  27951. "type": "integer"
  27952. },
  27953. "holderamount": {
  27954. "description": "期初持仓总金额",
  27955. "type": "number"
  27956. },
  27957. "marketid": {
  27958. "description": "市场ID",
  27959. "type": "integer"
  27960. },
  27961. "openreqqty": {
  27962. "description": "开仓申请数量",
  27963. "type": "integer"
  27964. },
  27965. "opentotalqty": {
  27966. "description": "开仓总数量",
  27967. "type": "integer"
  27968. },
  27969. "otherfrozenqty": {
  27970. "description": "持仓其他冻结数量(交割冻结)",
  27971. "type": "integer"
  27972. },
  27973. "positionqty": {
  27974. "description": "期初持仓数量",
  27975. "type": "integer"
  27976. },
  27977. "szdz3freezqty": {
  27978. "description": "尚志大宗转换冻结总数量",
  27979. "type": "integer"
  27980. },
  27981. "tnqty": {
  27982. "description": "T+N冻结总量",
  27983. "type": "integer"
  27984. },
  27985. "tnusedqty": {
  27986. "description": "T+N使用量",
  27987. "type": "integer"
  27988. },
  27989. "trademode": {
  27990. "description": "交易模式",
  27991. "type": "integer"
  27992. },
  27993. "usedmargin": {
  27994. "description": "占用保证金",
  27995. "type": "number"
  27996. }
  27997. }
  27998. },
  27999. "taaccount.QueryAmountLogRsp": {
  28000. "type": "object",
  28001. "required": [
  28002. "accountid",
  28003. "amount",
  28004. "amountadjusttype",
  28005. "autoid",
  28006. "balance",
  28007. "createtime",
  28008. "currentbalance",
  28009. "operatetype"
  28010. ],
  28011. "properties": {
  28012. "OPERATETYPENAME": {
  28013. "description": "资金操作类型名称",
  28014. "type": "string"
  28015. },
  28016. "accountid": {
  28017. "description": "资金账户ID",
  28018. "type": "integer"
  28019. },
  28020. "agoodscode": {
  28021. "description": "竞拍商品代码",
  28022. "type": "string"
  28023. },
  28024. "agoodsname": {
  28025. "description": "竞拍商品名称",
  28026. "type": "string"
  28027. },
  28028. "amount": {
  28029. "description": "资金金额",
  28030. "type": "number"
  28031. },
  28032. "amountadjusttype": {
  28033. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28034. "type": "integer"
  28035. },
  28036. "autoid": {
  28037. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28038. "type": "integer"
  28039. },
  28040. "balance": {
  28041. "description": "期初余额",
  28042. "type": "number"
  28043. },
  28044. "businesscode": {
  28045. "description": "业务编号",
  28046. "type": "integer"
  28047. },
  28048. "createtime": {
  28049. "description": "发生时间",
  28050. "type": "string"
  28051. },
  28052. "currencyid": {
  28053. "description": "币种ID",
  28054. "type": "integer"
  28055. },
  28056. "currentbalance": {
  28057. "description": "期末余额(变动后金额)",
  28058. "type": "number"
  28059. },
  28060. "dgoodscode": {
  28061. "description": "交割商品代码",
  28062. "type": "string"
  28063. },
  28064. "dgoodsname": {
  28065. "description": "交割商品名称",
  28066. "type": "string"
  28067. },
  28068. "goodscode": {
  28069. "description": "商品代码",
  28070. "type": "string"
  28071. },
  28072. "goodsid": {
  28073. "description": "商品ID",
  28074. "type": "integer"
  28075. },
  28076. "goodsname": {
  28077. "description": "商品名称",
  28078. "type": "string"
  28079. },
  28080. "marketid": {
  28081. "description": "市场ID",
  28082. "type": "integer"
  28083. },
  28084. "marketname": {
  28085. "description": "市场名称",
  28086. "type": "string"
  28087. },
  28088. "moneyticket": {
  28089. "description": "资金流水号:银行端流水号",
  28090. "type": "integer"
  28091. },
  28092. "operatetype": {
  28093. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  28094. "type": "integer"
  28095. },
  28096. "relationorderid": {
  28097. "description": "关联单号",
  28098. "type": "string"
  28099. },
  28100. "remark": {
  28101. "description": "备注",
  28102. "type": "string"
  28103. },
  28104. "trademode": {
  28105. "description": "交易模式",
  28106. "type": "integer"
  28107. }
  28108. }
  28109. },
  28110. "taaccount.QueryHisAmountLogRsp": {
  28111. "type": "object",
  28112. "required": [
  28113. "accountid",
  28114. "amount",
  28115. "amountadjusttype",
  28116. "autoid",
  28117. "balance",
  28118. "createtime",
  28119. "currentbalance",
  28120. "histradedate",
  28121. "operatetype"
  28122. ],
  28123. "properties": {
  28124. "OPERATETYPENAME": {
  28125. "description": "资金操作类型名称",
  28126. "type": "string"
  28127. },
  28128. "accountid": {
  28129. "description": "资金账户ID",
  28130. "type": "integer"
  28131. },
  28132. "agoodscode": {
  28133. "description": "竞拍商品代码",
  28134. "type": "string"
  28135. },
  28136. "agoodsname": {
  28137. "description": "竞拍商品名称",
  28138. "type": "string"
  28139. },
  28140. "amount": {
  28141. "description": "资金金额",
  28142. "type": "number"
  28143. },
  28144. "amountadjusttype": {
  28145. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  28146. "type": "integer"
  28147. },
  28148. "autoid": {
  28149. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  28150. "type": "integer"
  28151. },
  28152. "balance": {
  28153. "description": "期初余额",
  28154. "type": "number"
  28155. },
  28156. "businesscode": {
  28157. "description": "业务编号",
  28158. "type": "integer"
  28159. },
  28160. "createtime": {
  28161. "description": "发生时间",
  28162. "type": "string"
  28163. },
  28164. "currencyid": {
  28165. "description": "币种ID",
  28166. "type": "integer"
  28167. },
  28168. "currentbalance": {
  28169. "description": "期末余额(变动后金额)",
  28170. "type": "number"
  28171. },
  28172. "dgoodscode": {
  28173. "description": "交割商品代码",
  28174. "type": "string"
  28175. },
  28176. "dgoodsname": {
  28177. "description": "交割商品名称",
  28178. "type": "string"
  28179. },
  28180. "goodscode": {
  28181. "description": "商品代码",
  28182. "type": "string"
  28183. },
  28184. "goodsid": {
  28185. "description": "商品ID",
  28186. "type": "integer"
  28187. },
  28188. "goodsname": {
  28189. "description": "商品名称",
  28190. "type": "string"
  28191. },
  28192. "histradedate": {
  28193. "description": "历史交易日",
  28194. "type": "string"
  28195. },
  28196. "isvaliddata": {
  28197. "description": "是否有效 - 0:无效 1:有效",
  28198. "type": "integer"
  28199. },
  28200. "marketid": {
  28201. "description": "市场ID",
  28202. "type": "integer"
  28203. },
  28204. "marketname": {
  28205. "description": "市场名称",
  28206. "type": "string"
  28207. },
  28208. "moneyticket": {
  28209. "description": "资金流水号:银行端流水号",
  28210. "type": "integer"
  28211. },
  28212. "operatetype": {
  28213. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  28214. "type": "integer"
  28215. },
  28216. "relationorderid": {
  28217. "description": "关联单号",
  28218. "type": "string"
  28219. },
  28220. "remark": {
  28221. "description": "备注",
  28222. "type": "string"
  28223. },
  28224. "trademode": {
  28225. "description": "交易模式",
  28226. "type": "integer"
  28227. }
  28228. }
  28229. },
  28230. "trade.QueryRecieptOrderRsp": {
  28231. "type": "object",
  28232. "required": [
  28233. "ordertime"
  28234. ],
  28235. "properties": {
  28236. "accountName": {
  28237. "description": "所属账号名称(已脱敏)",
  28238. "type": "string"
  28239. },
  28240. "accountid": {
  28241. "description": "资金账号",
  28242. "type": "integer"
  28243. },
  28244. "buyorsell": {
  28245. "description": "方向 - 0:买 1:卖",
  28246. "type": "integer"
  28247. },
  28248. "enableqty": {
  28249. "description": "可摘数量",
  28250. "type": "integer"
  28251. },
  28252. "goodscode": {
  28253. "description": "商品代码",
  28254. "type": "string"
  28255. },
  28256. "goodsid": {
  28257. "description": "商品ID",
  28258. "type": "integer"
  28259. },
  28260. "goodsname": {
  28261. "description": "商品名称",
  28262. "type": "string"
  28263. },
  28264. "orderid": {
  28265. "description": "委托单号",
  28266. "type": "string"
  28267. },
  28268. "orderprice": {
  28269. "description": "委托价格",
  28270. "type": "number"
  28271. },
  28272. "ordertime": {
  28273. "description": "委托时间",
  28274. "type": "string"
  28275. },
  28276. "tradedate": {
  28277. "description": "交易日(yyyyMMdd)",
  28278. "type": "string"
  28279. }
  28280. }
  28281. },
  28282. "user.LoginQueryRsp": {
  28283. "type": "object",
  28284. "properties": {
  28285. "areaRoles": {
  28286. "description": "所属角色信息",
  28287. "type": "array",
  28288. "items": {
  28289. "$ref": "#/definitions/models.Arearole"
  28290. }
  28291. },
  28292. "externalExchanges": {
  28293. "description": "外部交易所",
  28294. "type": "array",
  28295. "items": {
  28296. "$ref": "#/definitions/models.Externalexchange"
  28297. }
  28298. },
  28299. "goodsgroups": {
  28300. "description": "商品组",
  28301. "type": "array",
  28302. "items": {
  28303. "$ref": "#/definitions/models.Goodsgroup"
  28304. }
  28305. },
  28306. "loginAccount": {
  28307. "description": "登录账号",
  28308. "type": "object",
  28309. "$ref": "#/definitions/models.Loginaccount"
  28310. },
  28311. "markets": {
  28312. "description": "市场",
  28313. "type": "array",
  28314. "items": {
  28315. "$ref": "#/definitions/models.Market"
  28316. }
  28317. },
  28318. "systemParams": {
  28319. "description": "系统参数",
  28320. "type": "array",
  28321. "items": {
  28322. "$ref": "#/definitions/models.Systemparam"
  28323. }
  28324. },
  28325. "userAccount": {
  28326. "description": "用户账号",
  28327. "type": "object",
  28328. "$ref": "#/definitions/models.Useraccount"
  28329. },
  28330. "userInfo": {
  28331. "description": "用户信息",
  28332. "type": "object",
  28333. "$ref": "#/definitions/models.Userinfo"
  28334. },
  28335. "username": {
  28336. "description": "用户姓名",
  28337. "type": "string"
  28338. }
  28339. }
  28340. }
  28341. },
  28342. "securityDefinitions": {
  28343. "ApiKeyAuth": {
  28344. "type": "apiKey",
  28345. "name": "Authorization",
  28346. "in": "header"
  28347. }
  28348. }
  28349. }`
  28350. type swaggerInfo struct {
  28351. Version string
  28352. Host string
  28353. BasePath string
  28354. Schemes []string
  28355. Title string
  28356. Description string
  28357. }
  28358. // SwaggerInfo holds exported Swagger Info so clients can modify it
  28359. var SwaggerInfo = swaggerInfo{
  28360. Version: "1.0",
  28361. Host: "",
  28362. BasePath: "/api",
  28363. Schemes: []string{},
  28364. Title: "MTP2.0 查询服务 API",
  28365. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  28366. }
  28367. type s struct{}
  28368. func (s *s) ReadDoc() string {
  28369. sInfo := SwaggerInfo
  28370. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  28371. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  28372. "marshal": func(v interface{}) string {
  28373. a, _ := json.Marshal(v)
  28374. return string(a)
  28375. },
  28376. }).Parse(doc)
  28377. if err != nil {
  28378. return doc
  28379. }
  28380. var tpl bytes.Buffer
  28381. if err := t.Execute(&tpl, sInfo); err != nil {
  28382. return doc
  28383. }
  28384. return tpl.String()
  28385. }
  28386. func init() {
  28387. swag.Register(swag.Name, &s{})
  28388. }